A charging circuit has a battery 12, switching element 14, and resistor 16
for current detection arranged on the primary side of transformer 10.
Diode 18 and capacitor 20 for storing electric power are arranged on the
secondary side of transformer 10. In a normal state, the ON/OFF states of
switching element 14 are repeated corresponding to output signals
U.sub.1, U.sub.2 of two comparators 28, 30. However, if switching element
14 stays on or off longer than a prescribed period of time for some
reason, the status of switching 14 will be switched forcibly by an
auxiliary sequence of the logic parts in control logic 42.