摘要 |
PROBLEM TO BE SOLVED: To facilitate support in designing a real motor and/or a real control system for the real motor, and facilitate control of the real motor.SOLUTION: A motor control device 10 includes: a virtual motor for simulating a real motor 12 which, when a virtual current signal is input, outputs a virtual voltage signal indicating a voltage to be input into the real motor in order for the real motor to output a current indicated by the virtual current signal; and a control section 50 for generating the virtual current signal on the basis of a command signal indicating a control command to the real motor, inputting the virtual current signal into the virtual motor, correcting the virtual voltage signal responsively output from the virtual motor on the basis of a difference between a real current of the real motor and a virtual current of the virtual motor, deciding a control signal on the basis of the corrected virtual voltage signal, and controlling the real motor on the basis of the decided control signal. |