摘要 |
A motor controller comprises: a target current value generating part for generating a d-axis target current value and a q-axis target current value; a motor current value generating part for generating a d-axis motor current value and a q-axis motor current value of current supplied to a motor; a command voltage value generating part for generating a d-axis command voltage value from a difference between the d-axis motor current value and the d-axis target current value and a q-axis command voltage value from a difference between the q-axis motor current value and the q-axis target current value; a command voltage value converting part for converting the d-axis command voltage value and the q-axis command voltage value into three-phase command voltage values; and a command voltage value modifying part for modifying the three-phase voltage values on the basis of motor flux values and target flux values. |