摘要 |
PROBLEM TO BE SOLVED: To provide a PWM signal output device capable of reducing distortion of a signal waveform driving a motor as much as possible, even if the operation is not completed in a predetermined time.SOLUTION: A full processing arithmetic unit 11 of a motor control ECU 8 calculates duty command values Vu, Vv, Vw for generating a PWM signal every half period of PWM control period, on the basis of the number of revolution command ωref, a phase current applied to a motor 6 via an inverter circuit 3, and the electrical angle &thetas; of the motor 6. A shortening arithmetic unit 12 simplifies the content of operation when compared with the full processing arithmetic unit 11, and calculates the duty command values Vu, Vv, Vw in a shorter time when compared with the full processing arithmetic unit 11. A timer 25 normally makes the full processing arithmetic unit 11 calculate the duty command values, monitors whether the calculation is completed until a deadline time, and if it is not completed, controls to output the duty command values calculated by the shortening arithmetic unit 12. |