Patent ID: 7768224

Claim:
A control apparatus for controlling a motor for a vehicle, comprising: a driving unit configured to drive the motor for the vehicle based on a PWM signal inputted therein; a measuring unit configured to measure a duty of an output signal from the driving unit; a calculating unit configured to calculate a target duty of the PWM signal; a correcting unit configured to correct the target duty based on a difference between the target duty and the duty of the output signal from the driving unit and to output the target duty after being corrected; and a PWM signal generating unit configured to generate the PWM signal based on the target duty after being corrected which is outputted from the correcting unit, wherein the correcting unit is configured to execute setting of a correction value for correcting the target duty based on the difference and to correct the target duty based on the set correction value thereby outputting the target duty after being corrected while changing an update cycle of the correction value according to a given condition.