US005771180A [ii] Patent Number: 5,771,180 [45] Date of Patent: Jun. 23, 1998
4,922,212 5/1990 Roberts et al 331/176
5,081,431 1/1992 Kubo et al 331/176
5,428,319 6/1995 Marvin et al 331/176
5,446,696 8/1995 Ware et al 365/222
5,473,289 12/1995 Ishizaki et al 331/176
5,542,113 7/1996 Fink et al 455/4
5,546,363 8/1996 Funaki et al 368/200
Primary Examiner—-James P. Trammell
Assistant Examiner—Hien Vo
Attorney, Agent, or Firm—Beyer & Weaver, LLP
[57] ABSTRACT
A real time clock includes an oscillator, a digital counter, a temperature sensor, and a digital processor. The digital processor can read the temperature measured by the temperature sensor and utilize this information to generate an adjustment value for the digital counter. The digital counter is coupled to the digital processor and has an adjustment stage which the digital processor writes into in order to compensate for any oscillator error due to temperature variation. The digital processor may also be coupled to memory storing a temperature adjustment look-up table for use in generating the adjustment value. A method of the present invention includes the initial steps of generating an adjustment look-up table and storing it in non-volatile memory. A method of the present invention further includes the ongoing steps of measuring an ambient temperature, generating an adjustment value, adjusting the digital counter to improve the accuracy of the real time clock, and storing a new alarm time for a future adjustment.
30 Claims, 7 Drawing Sheets