Claims
- 1. A method of controlling time critical functions comprising the steps of:
- generating interrupts at a predetermined interval, the reciprocal of the interval defining an interrupt frequency;
- performing the time-critical functions in response to the interrupts;
- determining a shift in the interrupt frequency using timing data from a substantially accurate source;
- defining a new interval to compensate for the frequency shift; and
- altering the interrupt frequency by increasing the time between a first number of interrupts and by decreasing the time between a second number of interrupts, the average of the time between interrupts of the first and second numbers of interrupts being indicative of the new interval.
- 2. The method of claim 1, further comprising the step of:
- adjusting the new interval using a selected damping coefficient.
- 3. The method of claim 1, wherein the interval is a number of clock pulses provided by a timing means at a fixed frequency.
- 4. The method of claim 3, further comprising the steps of:
- selecting the first number of interrupts and the second number of interrupts so that the sum of said numbers is substantially the number of interrupts in the cycle; and
- incrementing the number of clock pulses per interval for the first number of interrupts and decrementing the number of clock pulses per interval for the second number of interrupts so that the average time between interrupts of the first and second numbers of interrupts is indicative of the new interval.
- 5. The method of claim 3, wherein the step of determining the shift in the interrupt frequency comprises the steps of:
- determining a measure indicative of time maintained by the timing means; and
- comparing the measure with the timing data from the substantially accurate source, the result being related to the shift in the interrupt frequency.
- 6. The method of claim 4, wherein the new interval is a non-integer number of pulses per interval.
- 7. A system for controlling time-critical functions, comprising:
- timing means for providing a fixed frequency signal;
- counting means for counting a predetermined interval using the fixed frequency signal;
- interrupt means for generating interrupts each interval, the time-critical functions being responsive to the interrupts; and
- adjustment means for adjusting the interval using timing data from a substantially accurate source by increasing the time between a first number of interrupts and by decreasing the time between a second number of interrupts, the average of the time between interrupts of the first and second numbers of interrupts being indicative of a new interval.
- 8. The system of claim 7, wherein the adjustment means further comprises:
- error detection means for determining a shift in the fixed frequency relative to the timing data; and
- threshold means for calculating the new interval to compensate for the frequency shift.
- 9. The system of claim 7, wherein the fixed frequency signal provides pulses at a fixed frequency and the counting means counts a specified number of pulses, the number of pulses defining the interval.
- 10. The system of claim 7, wherein the adjustment means adjusts the interval using a selected damping coefficient.
- 11. A method of controlling time critical functions comprising the steps of:
- generating interrupts at a predetermined interval, the reciprocal of the interval defining an interrupt frequency;
- performing the time-critical functions in response to the interrupts;
- adjusting the interval using timing data from a substantially accurate source; and
- further adjusting the interval using a selected damping coefficient.
- 12. The method of claim 11, further comprising the steps of:
- determining a shift in the interrupt frequency with respect to the timing data;
- defining a new interval to compensate for the frequency shift; and
- altering the interrupt frequency by increasing the time between a first number of interrupts and by decreasing the time between a second number of interrupts, the average of the time between interrupts of the first and second numbers of interrupts being indicative of the new interval.
- 13. The method of claim 11, wherein the interval is a number of clock pulses provided by a timing means at a fixed frequency.
- 14. The method of claim 13, further comprising the steps of:
- selecting a number of interrupts, the number defining a cycle;
- calculating an error indicative of a frequency shift in the fixed frequency with respect to the timing data; and
- establishing a new interval having a different number of pulses per interval to compensate for the error on a per cycle basis.
- 15. The method of claim 14, wherein the step of calculating the error comprises the steps of:
- determining a measure indicative of time maintained by the timing means; and
- comparing the measure with the timing data from the substantially accurate source, the result being the error.
- 16. The method of claim 14, wherein the new interval is a non-integer number of pulses per interval.
- 17. A system for controlling time-critical functions, comprising:
- timing means for providing a fixed frequency signal;
- counting means coupled to the timing means for counting a predetermined interval using the fixed frequency signal and for generating interrupts each interval, the time-critical functions being responsive to the interrupts; and
- adjustment means coupled to the timing means and the counting means for adjusting the interval using 1) timing data from a substantially accurate source and 2) a selected damping coefficient.
- 18. The system of claim 17, wherein the adjustment means further comprises:
- error detection means for determining a shift in the fixed frequency relative to the timing data; and
- threshold means for calculating a new interval to compensate for the frequency shift.
- 19. The system of claim 17, wherein the fixed frequency signal provides pulses at a fixed frequency and the counting means counts a specified number of pulses, the number defining the interval.
- 20. The system of claim 18, wherein the adjustment means adjusts the interrupt frequency by increasing the time between a first number of interrupts and by decreasing the time between a second number of interrupts, the average of the time between interrupts of the first and second numbers of interrupts being indicative of the new interval.
Parent Case Info
This is a continuation of application Ser. No. 07/807,989, filed Dec. 16, 1991, now abandoned.
US Referenced Citations (7)
Non-Patent Literature Citations (1)
Entry |
"Existing Relay Network Interfce (ERNI)", Jun. 1991, ABB Power T&D Company Inc. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
807989 |
Dec 1991 |
|