Patent ID: 7429847

Claim:
A motor control device, comprising: a main torque control value calculation unit calculating a main torque control value; a final control torque value output unit outputting a final control torque value based on said main torque control value and a vibration-suppression torque control value for mitigating torque fluctuation that occurs when a rotating electric machine is operated at said main torque control value; and a vibration-suppression torque control value calculation unit calculating said vibration-suppression torque control value; said vibration-suppression torque control value calculation unit including an original control value calculation unit calculating an original control value serving as a source of said vibration-suppression torque control value, a guard processing unit performing guard processing for restricting said original control value by using a vibration-suppression guard value, and a smoothing unit smoothing an angular portion where rate of change is discontinuous, that is generated in a torque control value that has been subjected to said guard processing.