The problem is to reduce the chances of causing a
voltage drop in a bootstrap circuit. A
control unit (60) has a first
control mode, a second
control mode, and a third
control mode. In the first control mode, the
control unit (60) controls a first switching element (Q1), a second switching element (Q2), a third switching element (Q3), and a fourth switching element (Q4) so that the first, second, third, and fourth switching elements (Q1, Q2, Q3, Q4) are ON, ON, OFF, and OFF, respectively. In the second control mode, the
control unit (60) controls the first, second, third, and fourth switching elements (Q1-Q4) so that the first, second, third, and fourth switching elements (Q1-Q4) are OFF, ON, ON, and OFF, respectively. In the third control mode, the control unit (60) controls the first, second, third, and fourth switching elements (Q1-Q4) so that the first, second, third, and fourth switching elements (Q1-Q4) are OFF, ON, OFF, and ON, respectively When the polarity of a current flowing through an output terminal (41) is positive, the control unit (60) makes a transition to the first control mode via the second control mode immediately after having gone through the third control mode.