Method and device for clock calibration
First Claim
1. A method for calibrating an interior clock generator installed inside a power monitoring unit of a rechargeable battery, the method comprising:
- providing an external clock signal from an exterior clock generator installed outside the power monitoring unit;
setting a register to output a starting signal;
activating a calibration timer control circuit by the starting signal;
activating a counter to count the outside clock signal, and a timer to count a internal clock signal generating from the interior clock generator simultaneously;
stop counting the counter and the timer when a predetermined number of counting is achieved; and
comparing a first count of the timer to the second count of the counter so as to calibrate the interior clock generator.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a device for calibrating an interior clock generator installed inside a power monitoring unit of a rechargeable battery. The device includes an input pin for inputting an external clock signal from an exterior clock generator installed outside the power monitoring unit. A calibration timer control circuit is connected to the input pin. A register is connected to the calibration timer control circuit for outputting a start signal to activate the calibration timer control circuit. A counter and a timer are controlled by the calibration timer control circuit to be activated simultaneously therewith to count the outside clock signal and an internal clock signal generated from the interior clock generator, respectively. Such that the timer stops counting while the counter stops counting, a first count of the timer is compared to a second count of the counter to calibrate the interior clock generator.
-
Citations
4 Claims
-
1. A method for calibrating an interior clock generator installed inside a power monitoring unit of a rechargeable battery, the method comprising:
-
providing an external clock signal from an exterior clock generator installed outside the power monitoring unit;
setting a register to output a starting signal;
activating a calibration timer control circuit by the starting signal;
activating a counter to count the outside clock signal, and a timer to count a internal clock signal generating from the interior clock generator simultaneously;
stop counting the counter and the timer when a predetermined number of counting is achieved; and
comparing a first count of the timer to the second count of the counter so as to calibrate the interior clock generator. - View Dependent Claims (2, 3)
-
-
4. A device for calibrating an interior clock generator installed inside a power monitoring unit of a rechargeable battery, the device comprising:
-
an input pin of the power monitoring unit for inputting an external clock signal from an exterior clock generator installed outside the power monitoring unit;
a calibration timer control circuit installed inside the power monitoring unit and connected to the input pin;
a register installed inside the power monitoring unit and connected to the calibration timer control circuit, for outputting a start signal to activate the calibration timer control circuit;
a counter installed inside the power monitoring unit and controlled by the calibration timer control circuit to be activated simultaneously therewith to count the outside clock signal; and
a timer installed inside the power monitoring unit and controlled by the calibration timer control circuit to be activated simultaneously therewith to count an internal clock signal generated from the interior clock generator, whereby the timer stops counting while the counter stops counting, and a first count of the timer is compared to a second count of the counter to calibrate the interior clock generator.
-
Specification