Patent ID: 9483011
Filing Date: 2016-11-01
CPC Classification: G03G,G05B,H02K,H02P

Claim Text:
1. A motor control device comprising: a target cycle recording portion configured to record target cycle data into one of three or more first data buffers of a first ring buffer each time a reference pulse signal is generated, thereby recording the target cycle data sequentially into the three or more first data buffers, the target cycle data representing a time period that has passed from a previous generation of a reference pulse signal; a measured cycle recording portion configured to record measured cycle data into one of three or more second data buffers of a second ring buffer each time an encoder pulse signal is generated in synchronization with rotation of a motor, thereby recording the measured cycle data sequentially into the three or more second data buffers, the measured cycle data representing a time period that has passed from a previous generation of an encoder pulse signal, the first data buffers and the second data buffers being same in number; a phase error calculating portion configured to calculate a phase error by integrating a difference between the target cycle data and the measured cycle data that are sequentially recorded in the first data buffers and the second data buffers respectively in correspondence with each other in the first ring buffer and the second ring buffer; and a power adjustment portion configured to adjust power supplied to the motor, in a direction where the phase error is reduced.