Electric energy meter with power outage recovery circuit
First Claim
1. A method for recovering realtime lost during an outage of an AC energy quantity being measured by an electric energy meter, the meter having a primary DC power supply energized by the AC energy quantity and a microprocessor, energized by the primary DC power supply, for generating AC energy quantity usage information based upon a number of time-related event clock calendar times and for maintaining realtime by a realtime clock driven by the frequency of the AC energy quantity being measured, comprising the steps of:
- storing in non-volatile memory the time at which the outage occured as registered by the realtime clock;
disabling the microprocessor;
starting a ripple counter energized by a secondary DC power supply and driven by a secondary frequency source;
upon resumption of the AC energy quantity;
enabling the microprocessor;
storing the value of the ripple counter in memory;
restoring the stored time at which the outage occurred into the microprocessor realtime clock; and
thereafter,iteratively incrementing the realtime clock by progressively larger units of time while decrementing the stored value of the ripple counter by amounts corresponding to equal units of time until the stored value of the ripple counter has been decremented to zero;
comparing the incremented time registered by the realtime clock during the iterative step with the number of time-related event clock calendar times for generating AC energy quantity usage information; and
restarting the realtime clock.
8 Assignments
0 Petitions
Accused Products
Abstract
A time registering electric energy meter for measuring usage of an AC energy quantity includes primary and secondary DC power supplies and a microprocessor, having a realtime clock maintained by the 60 Hz AC energy quantity, for maintaining realtime and for generating AC energy usage information determined by a number of time-related events. The meter further includes power outage recovery circuitry for measuring the duration of an outage of the AC energy quantity and for restoring the amount of lost realtime to the realtime clock of the microprocessor upon resumption of the AC energy quantity. The power outage recovery circuitry includes apparatus for iteratively updating the microprocessor realtime clock while comparing the updated realtime with the clock calendar times of the number of time-related events to account for the occurrence of such events during the outage of the AC energy quantity.
37 Citations
15 Claims
-
1. A method for recovering realtime lost during an outage of an AC energy quantity being measured by an electric energy meter, the meter having a primary DC power supply energized by the AC energy quantity and a microprocessor, energized by the primary DC power supply, for generating AC energy quantity usage information based upon a number of time-related event clock calendar times and for maintaining realtime by a realtime clock driven by the frequency of the AC energy quantity being measured, comprising the steps of:
-
storing in non-volatile memory the time at which the outage occured as registered by the realtime clock; disabling the microprocessor; starting a ripple counter energized by a secondary DC power supply and driven by a secondary frequency source; upon resumption of the AC energy quantity; enabling the microprocessor; storing the value of the ripple counter in memory; restoring the stored time at which the outage occurred into the microprocessor realtime clock; and
thereafter,iteratively incrementing the realtime clock by progressively larger units of time while decrementing the stored value of the ripple counter by amounts corresponding to equal units of time until the stored value of the ripple counter has been decremented to zero; comparing the incremented time registered by the realtime clock during the iterative step with the number of time-related event clock calendar times for generating AC energy quantity usage information; and restarting the realtime clock. - View Dependent Claims (2, 3)
-
-
4. A power outage recovery circuit for recovery of realtime lost during an outage of an AC energy quantity for use in a time registering electric energy meter measuring usage of the AC energy quantity, the meter including a primary DC power supply energized by the AC energy quantity, a separate secondary DC power supply and a microprocessor for registering realtime and for generating AC energy usage information determined by a number of time-related event clock calendar times stored in non-volatile memory, the microprocessor having a realtime clock driven by the frequency of the AC energy quantity, the power outage recovery circuit comprising:
-
means for generating an outage signal upon detection of an outage of the AC energy quantity; means for generating a resumption signal upon resumption of the AC energy quantity; means responsive to said outage signal for storing in non-volatile memory a first time according to the realtime clock corresponding to the time when the outage occurred; secondary timer means for measuring the time duration of the outage between receptions by said secondary timer means of said outage signal and said resumption signal, said secondary timer means being energized by said secondary DC power supply; recovery means, responsive to said resumption signal, for updating the microprocessor realtime clock after resumption of the AC energy quantity to account for the time duration of the outage, said recovery means including; means for restoring said first time from said non-volatile memory into the microprocessor realtime clock; means for storing a second time corresponding to the time duration measured by said secondary timer means; updating means for iteratively updating the realtime clock by incrementing the realtime clock in progressively larger units of time and decrementing said stored second time by equal units of time until the value of said second time has been decremented to zero; means for comparing the updated realtime with the number of time-related event clock calendar times while the realtime clock is iteratively updated by said updating means; and means for restarting the microprocessor realtime clock after resumption of the AC energy quantity. - View Dependent Claims (5, 6, 7, 8, 9)
-
-
10. A time registering electric energy meter for measuring usage of an AC electric energy quantity comprising:
-
a primary DC power supply energized by the AC energy quantity; a separate secondary DC power supply; a microprocessor, energized by said primary DC power supply, for maintaining realtime clock calendar information while the AC electric energy is being measured and for generating AC energy usage information determined by a number of time-related event clock calendar times stored in a non-volatile memory, said microprocessor including a realtime clock for registering the time, said realtime clock being driven by the frequency of the AC energy quantity; detecting means for detecting an outage of the AC energy quantity and for detecting the restoration of the AC energy quantity; means responsive to detection of an outage by said detection means for storing the time of the outage registered by the realtime clock in a non-volatile memory energized by said secondary DC power supply; secondary timer means, energized by said secondary DC power supply, for measuring the time duration of the outage, said secondary timer means including; means for producing secondary time base signals; and counter means, responsive to said detecting means, for counting said secondary time base signals between detection of an outage and detection of a resumption of the AC energy quantity; recovery means, responsive to the detection of a resumption of the AC energy quantity, for updating the realtime clock to account for the time duration of the outage, said recovery means including; means for storing the value of said counter; first means for decrementing said stored value by a first amount equivalent to a number of first units of time to the nearest minute and for incrementing the realtime clock by an equal number of first units of time ; second means for decrementing said stored value by a second amount equivalent to a number of one minute units of time to the nearest hour and for incrementing the realtime clock by an equal number of one minute units of time; third means for decrementing said stored value of said counter by a third amount equivalent to a number of third units of time until the stored value has been decremented to zero and for incrementing the realtime clock by an equal number of third units of time; means for comparing the time registered by the realtime clock while the realtime clock is being incremented by said first, second and third means, with the number of time-related event clock calendar times; and means for restarting the microprocessor realtime clock after said stored value of the counter has been decremented to zero. - View Dependent Claims (11, 12, 13, 14, 15)
-
Specification