摘要 |
PROBLEM TO BE SOLVED: To provide a motor controller configured to read error data on a resolver signal, before detecting the resolver signal, to an internal data area from an external memory in advance, to perform error correction without causing delay with respect to the detection timing of the resolver signal.SOLUTION: A motor controller for controlling rotation of a motor, on the basis of a resolver signal which is synchronized with a motor rotation angle output from a resolver, includes: a control hard block for correcting the resolver signal; and a memory which is arranged outside the control hard block, to store error data on the resolver signal. The control hard block includes: an access section which reads corresponding error data corresponding to a predetermined resolver rotation angle where the resolver signal is to be detected, from the error data stored in the memory; a data area for storing the read corresponding error data; and a correction section which corrects the resolver signal on the basis of the corresponding error data. |