A power-supply device including a marginal check voltage setting circuit
that is easily adaptable to downsizing of the device and to configuration
using ICs. The power-supply device of this invention includes a marginal
check voltage setting circuit that sets a desired marginal check voltage,
an error amplifier that delivers output of an error signal, a pulse width
modulation oscillator that modulates the pulse width of the output from
the error amplifier, a driver circuit that generates driving signal from
the pulse signal originating from the pulse width modulation oscillator,
and a pair of power semiconductor switching devices that work to step
down the input voltage and generate an output voltage based on the
driving signal. Furthermore, the power-supply device is also provided
with an over-voltage detection circuit and a power-good circuit both
circuits being positioned at the output terminal of the marginal check
voltage setting circuit.