Patent ID: 9312794
Filing Date: 2016-04-12
CPC Classification: H02P

Claim Text:
1. A motor position controller that drives a motor based on an input of a command pulse signal and a setting of a desired pulse form, comprising: a temporary setting portion configured to consecutively and temporarily set one of a plurality of said pulse form settings as a desired pulse form setting following a predetermined order; a position command generating device configured to generate a position command signal from said command pulse signal in accordance with said desired pulse form setting; a motor controlling part configured to supply power to said motor based on said position command signal; and a conformity determination portion configured to input said command pulse signal, input said pulse form setting temporarily set by said temporary setting portion, and to determine the conformity of said command pulse signal and the temporarily set pulse form setting, wherein: said command pulse signal inputted by said position command generating device includes a first pulse signal and a second pulse signal that differ from each other, where said first and second pulse signals are any one of the following signal forms of (A) to (C): (A) said first pulse signal is a sign signal that determines a rotational direction of the motor, and said second pulse signal is a pulse train signal that determines a rotation value and a rotational speed of the motor; (B) said first pulse signal is a CCW signal that determines a rotation value and a rotational speed in a forward direction of the motor, and said second pulse signal is a CW signal that determines a rotation value and a rotational speed in a reverse direction of the motor; or (C) said first pulse signal and said second pulse signal are pulse signals of an identical waveform having a predetermined phase difference, with the form of the phase difference determining a rotational direction of the motor, and a number of pulses determining a rotation value and a rotational speed of a motor; and said temporary setting portion consecutively and temporarily sets the three forms of a “sign+pulse train” setting corresponding to the form of (A), a “CW+CCW pulse train” setting corresponding to the form of (B), and a “two-phase pulse train with 90° phase differential” setting corresponding to the form of (C), following a predetermined order, and wherein: said temporary setting portion temporarily sets with priority a “two-phase pulse train with 90° phase differential” setting as said pulse form setting and, in a state where this “two-phase pulse train with 90° phase differential” setting is temporarily set: i) in a case where the setting results in a motor operating normally in both forward and reverse directions, said conformity determination portion determines that the inputted first and second pulse signals and the temporarily set pulse form setting are in conformance, and said determining portion determines that “two-phase pulse train with 90° phase differential” is a pulse form setting for ultimately driving said motor in accordance with the determination of said conformity determination portion; and (ii) in a case where the setting results in a motor operating in either the forward or reverse direction only, said conformity determination portion determines that the inputted first and second pulse signals and the temporarily set pulse form setting are not in conformance, and said temporary setting portion temporarily sets next the “sign+pulse train” setting as said pulse form setting in accordance with the determination of said conformity determination portion.