← Back to Patent Explorer
US4903251A Expired / Lapsed US ⏱️ 0.0 years remaining

Accuracy adjustment for time-of-day clock using a microcontroller

Assignee: Visteon Global Technologies Inc
•
Filing: 1989-09-05
•
Granted: 1990-02-20
•
Expires: 2009-09-05
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A microcontroller, software-based time-of-day clock compensates for inaccurate oscillator frequency by periodically correcting the time-of-day value using a calibration offset measured by manufacturing test equipment and permanently stored in nonvolatile memory. A high degree of time keeping accuracy is achieved without the use of trimming capacitors or presorted piezoelectric crystals in the oscillator. Furthermore, frequency error compensation is incorporated into the microcontroller system without requiring a significant amount of processing time overhead.

Inventors

  • 👤 Max C. Chapman

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-02 16:45
CPC Classifications
G; G04; G04G; G04G99/00; G04G99/006; G04G3/00; G04G3/02

Claims Analysis

Total Claims: 13
Claim 1
Independent Claim 176 words
Apparatus comprising: idle timer means for generating interrupts separated by a fixed time period which differs from an ideal time period by an error; first counting means having a first register and coupled to said idle timer means for counting said interrupts and for generating an increment signal when a number of interrupts have occurred equal to a load value loaded into said first register; reload means for storing a reload value and for (1) transferring said reload value to said first register as said load value upon the occurrence of said increment signal and 2) then resetting said reload value to a predetermined value; second counting means coupled to said idle timer means and to said reload means for counting said interrupts and for transferring an accumulated error value to said reload means as said reload value when a number of interrupts have occurred equal to a large count number relatively greater than said predetermined value; and time means coupled to said first counting means and receiving said increment signal for keeping track of time-of-day.
Claim 2
Dependent Claim 176 words
Apparatus comprising: idle timer means for generating interrupts separated by a fixed time period which differs from an ideal time period by an error; first counting means having a first register and coupled to said idle timer means for counting said interrupts and for generating an increment signal when a number of interrupts have occurred equal to a load value loaded into said first register; reload means for storing a reload value and for (1) transferring said reload value to said first register as said load value upon the occurrence of said increment signal and 2) then resetting said reload value to a predetermined value; second counting means coupled to said idle timer means and to said reload means for counting said interrupts and for transferring an accumulated error value to said reload means as said reload value when a number of interrupts have occurred equal to a large count number relatively greater than said predetermined value; and time means coupled to said first counting means and receiving said increment signal for keeping track of time-of-day.
Claim 3
Dependent Claim 52 words
The apparatus of claim 1 further comprising: non-volatile storage means coupled to said reload means for storing said accumulated error value, said accumulated error value being substantially equal to the sum of said predetermined value and the quantity of said error times said large count number divided by said ideal time period.
Claim 4
Dependent Claim 64 words
The apparatus of claim 1 further comprising: non-volatile storage means for storing an offset value; and adding means coupled to said non-volatile storage means and to said reload means for adding said offset value and said predetermined value to obtain said accumulated error value, said offset value being substantially equal to said error times said large count number divided by said ideal time period.
Claim 5
Dependent Claim 28 words
The apparatus of claim 1 further comprising: test means coupled to said idle timer for causing said idle timer to produce a test signal for measuring said error.
Claim 6
Dependent Claim 41 words
The apparatus of claim 1 wherein said first counting means, said second counting means, said idle timer means, said reload means, and said time means are implemented using a microcontroller, said apparatus further comprising a crystal oscillator coupled to said microcontroller.
Claim 7
Dependent Claim 49 words
The apparatus of claim 5 further comprising: interface means coupled to said microcontroller for interfacing said microcontroller to test equipment for measuring a test signal having a frequency dependent on said oscillator; and non-volatile storage means coupled to said microcontroller for storing a representation of said accumulated error value.
Claim 8
Dependent Claim 15 words
The apparatus of claim 6 wherein said non-volatile storage means is comprised of an EEPROM.
Claim 9
Dependent Claim 19 words
The apparatus of claim 5 further comprising a display means coupled to said time means for displaying time-of-day information.
Claim 10
Independent Claim 201 words
A method for maintaining accurate time keeping with an interrupt-driven clock, said interrupts being separated by a fixed time period, said method comprising the steps of: maintaining a first count of interrupts corresponding to a first time interval being measured and displayed by said clock; maintaining time values for display by said clock; maintaining a second count of interrupts corresponding to a second time interval equalling a large number of interrupts and containing many of said first time intervals; in response to said first count being equal to a predetermined number, performing the steps of (A) restarting said first count to count to said predetermined number;(B) updating said time values; and (C) setting said predetermined number to a first constant equalling the number of interrupts that would occur during said first time interval if the time between interrupts equalled an ideal time period; and in response to said second count being equal to said large number, performing the steps of (A) restarting said second count; and (B) setting said predetermined number to a second constant related to the difference between said fixed time period and said ideal time period multiplied by said large number and divided by said ideal time period.
Claim 11
Independent Claim 201 words
A method for maintaining accurate time keeping with an interrupt-driven clock, said interrupts being separated by a fixed time period, said method comprising the steps of: maintaining a first count of interrupts corresponding to a first time interval being measured and displayed by said clock; maintaining time values for display by said clock; maintaining a second count of interrupts corresponding to a second time interval equalling a large number of interrupts and containing many of said first time intervals; in response to said first count being equal to a predetermined number, performing the steps of (A) restarting said first count to count to said predetermined number;(B) updating said time values; and (C) setting said predetermined number to a first constant equalling the number of interrupts that would occur during said first time interval if the time between interrupts equalled an ideal time period; and in response to said second count being equal to said large number, performing the steps of (A) restarting said second count; and (B) setting said predetermined number to a second constant related to the difference between said fixed time period and said ideal time period multiplied by said large number and divided by said ideal time period.
Claim 12
Dependent Claim 27 words
The method of claim 9 wherein said first and second counts are maintained by counting down from said predetermined number and said large number, respectively, to zero.
Claim 13
Dependent Claim 45 words
The method of claim 9 further comprising the steps of: determining the error between said fixed time period and said ideal time period using test equipment; calculating said second constant; and storing a representation of said second constant in non-volatile memory associated with said clock.

References Cited (Backward Citations)

US4502790A Cited
US4321698A Cited
US4282595A Cited
US4407589A Cited
US4513259A Cited
US4448543A Cited
US4644484A Cited
US4708491A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1993-02-19 1993-08-21 1994-02-20 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1997-02-19 1997-08-21 1998-02-20 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2001-02-19 2001-08-21 2002-02-20 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag