摘要 |
PROBLEM TO BE SOLVED: To provide a switching power-supply device capable of preventing an overvoltage without providing a different overvoltage prevention circuit from a circuit for controlling switching elements.SOLUTION: A control section 9 of a switching power-supply device D includes a first processing section 91, a second processing section 92 located closer to switching elements 2 and 3 side than to the first processing section 91, and PWM control means 93 located closer to the switching elements 2 and 3 side than to the second processing section 92. The first processing section 91 outputs a current compensation value Icref to the second processing section 92 at the time of voltage control and at the time of current control. The second processing section 92 outputs a PWM command value VDref on the basis of the current compensation value Icref. The PWM control means 93 drives the switching elements 2 and 3 on the basis of the PWM command value VDref. |