An electronic circuit is connected between input lines of an alternating
input power supply and input lines of a boost converter to limit an input
inrush current and/or an output short-circuit current supplied to the
boost converter in a power supply. The electronic circuit includes a
rectifier circuit to rectify alternating input current of the alternating
current power supply, and a feedback circuit for feeding back a switching
signal to the rectifier circuit circuit to switch the rectifier circuit
on and off.