摘要 |
PROBLEM TO BE SOLVED: To enhance accuracy of motor control by creating the correction data used in a motor controller, for controlling a motor based on the signal outputted from a sensor such as a resolver or an encoder, with high accuracy.SOLUTION: While driving a motor in a forward drive pattern, including a constant speed region where the rotating shaft rotates forward at a constant speed, a command signal is sampled when the rotating shaft rotates forward one revolution or more in the constant speed region, and command information during forward rotation is acquired. While driving a motor in a backward drive pattern, including a constant speed region where the rotating shaft rotates backward at a constant speed, a command signal is sampled when the rotating shaft rotates backward one revolution or more in the constant speed region, and command information during backward rotation is acquired. Correction data is created using the command information during forward rotation, and the command information during backward rotation. |