Patent ID: 9523724
Filing Date: 2016-12-20
CPC Classification: G01R

Claim Text:
1. An electronic device comprising an energy tracking system, the energy tracking system including an energy transfer circuit and a control circuit, the control circuit to control switching of energy in the energy transfer circuit in order to transfer energy from a primary voltage applied at an input of the energy tracking system into a secondary voltage at an output of the energy tracking system; a compare circuit to compare the output of the energy tracking system to a reference, the compare circuit to generate an output signal based on the comparison; the control circuit including an ON-time and OFF-time generator, control logic and an accumulator, the control logic responsive to a signal from the ON-time and OFF-time generator and to the output signal from the compare circuit to generate constant ON-time pulses with a constant width ON-time, the accumulator to collect the constant ON-time pulses to determine consumed energy based on a number of constant ON-time pulses per time, the energy transfer circuit including: an inductor having a first terminal and a second terminal, the first terminal of the inductor connected to an input of the energy transfer circuit; and a first switch connected to the control circuit, to ground, and to the second terminal of the inductor.