摘要 |
A motor control device according to the invention includes: a mode setting section that sets one of a first mode in which a charge/discharge current of a secondary battery varies according to load fluctuation of a motor and a second mode in which the charge/discharge current of the secondary battery becomes constant for a predetermined time regardless of the load fluctuation of the motor; and a drive signal generating section that generates a drive signal for driving the motor on the basis of the mode that is set by the mode setting section, a torque command value, and a motor rotation speed. |