POWER SYSTEM TIME SYNCHRONIZATION DEVICE AND METHOD FOR SEQUENCE OF EVENT RECORDING
First Claim
1. A time synchronization device of a power monitor for synchronizing a time of an internal clock to a line frequency, the internal time advancing at a predetermined rate, the device comprising:
- a counter operative to count cycles of the line frequency after each elapse of a predetermined time period, said elapse of said predetermined time period defining a present window and a previous window;
a processor operative to calculate a counting error and a change in counting error, said change in counting error being the difference of a counting error calculated for said present window and a counting error calculated for said previous window;
wherein said processor detects when said change in counting error is within a predetermined range; and
adjusting means for adjusting the internal clock to the line frequency according to said counting error calculated for said present window when said change in counting error is within said predetermined range.
2 Assignments
0 Petitions
Accused Products
Abstract
A time synchronization device and method for synchronizing an internal clock of the power monitor to a periodically stable frequency. Cycles of the periodically stable frequency are counted after each elapse of a predetermined time period. The elapse of the predetermined time period defines a present window and a previous window. A counting error and a change in counting error are calculated, wherein the change in counting error is the difference of a counting error calculated for the present window and a counting error calculated for the previous window. The present method detects when a change in counting error is within a predetermined range. When the counting error is within the predetermined range, the internal clock of the power monitor is adjusted to the line frequency according to the counting error calculated for the present window.
In another embodiment, a time of the internal clock is synchronized to a universal time, the time of the internal clock advancing at a predetermined rate. First, the present device and method receives a time synchronization message from an entity at a first free running counter count. The time synchronization message contains the universal time when the time synchronization message was sent. Thereafter, the time synchronization message is processed at a second free running counter count to determine the universal time. The time of the internal clock is compared to the universal time plus a processing time which is determined by the difference between the second free running counter count and the first free running counter count. Finally, the predetermined rate of advance of the internal clock is adjusted if the internal time differs from the universal time plus the processing time.
68 Citations
8 Claims
-
1. A time synchronization device of a power monitor for synchronizing a time of an internal clock to a line frequency, the internal time advancing at a predetermined rate, the device comprising:
-
a counter operative to count cycles of the line frequency after each elapse of a predetermined time period, said elapse of said predetermined time period defining a present window and a previous window;
a processor operative to calculate a counting error and a change in counting error, said change in counting error being the difference of a counting error calculated for said present window and a counting error calculated for said previous window;
wherein said processor detects when said change in counting error is within a predetermined range; and
adjusting means for adjusting the internal clock to the line frequency according to said counting error calculated for said present window when said change in counting error is within said predetermined range.
-
-
2. The device according to claim 2, wherein said adjusting means modifies the count of a decrement counter that keeps time for the internal clock.
-
3. A method for synchronizing a time of an internal clock to a periodically stable frequency which provides accurate time intervals, the method comprising the steps of:
-
counting cycles of the periodically stable frequency after each elapse of a predetermined time period, said elapse of said predetermined time period defining a present window and a previous window;
calculating a counting error and a change in counting error, said change in counting error being the difference of a counting error calculated for said present window and a counting error calculated for said previous window;
detecting when said change in counting error is within a predetermined range; and
adjusting the internal clock to the periodically stable frequency according to said counting error calculated for said present window, when said change in counting error is within said predetermined range. - View Dependent Claims (4, 5, 6, 7, 8)
-
Specification