摘要 |
A motor control device is provided which controls a motor by performing switching between forward rotation and reverse rotation so as to cause an object to be controlled to reciprocate, the motor control device including a lead angle map storage unit configured to store a lead angle map in which a motor rotation speed and a lead angle to be set are associated for each of the forward rotation and the reverse rotation, a target rotation speed-setting unit configured to set a target rotation speed of the motor based on an input signal from outside, a lead angle-setting unit configured to obtain the lead angle associated with the set target rotation speed by referring to the lead angle map and set the lead angle as a lead angle of the motor, and a driving control unit configured to control rotation of the motor so as to achieve the set target rotation speed and the set lead angle. |