A control device receives a power supply current from a current sensor and
a reactor current from a current sensor and detects a maximum value and a
minimum value from the reactor current and from the detected maximum and
minimum values and the power supply current determines whether the
reactor current traverses the zero point, and if so the control device
generates and outputs a signal to an up converter which responds to the
signal by stopping switching to perform an up or down converting
operation.