摘要:
Methods and systems consistent with the invention generate a motion profile of a motor. A reference acceleration profile, a reference velocity profile, and a reference displacement profile are first defined. Displacement-velocity data defining displacement data with respect to velocity data is then stored in a memory. A plurality of conversion constants which include a maximum velocity ratio K1, a maximum acceleration ratio K2, and a displacement conversion constant K3, are calculated, are then calculated using following equations: ##EQU1## where A.sub.max represents a maximum acceleration value in the reference acceleration profile, V.sub.max represents a maximum velocity value in the reference velocity profile, a.sub.max represents a maximum acceleration value in the generated profile, and V.sub.max represents a maximum velocity data in the profile to be generated. The system then determines a position data of the motor and maps the position data into a reference displacement data. A reference velocity data corresponding to the reference displacement data is then read from the memory. Finally, a driving velocity data is calculated from the reference velocity data.
摘要:
A method for detecting the position of a linear stepping motor which includes the steps of generating a reference clock signal for detecting the position of the linear stepping motor using an oscillator and counting the reference clock signal with a counter, generating digital values of carrier sine waves sin.omega.t and cos.omega.t by inputting the output of the counter to a ROM having sine and cosine functions, converting the digital values of the carrier sine waves sin.omega.t and cos.omega.t to analog sine wave signals sin.omega.t and cos.omega.t using a digital-to-analog converter and outputting the result, generating the signals sin.omega.tcos.theta. and cos.omega.tsin.theta. by multiplying the analog sine wave signals sin.omega.t and cos.omega.t by sine wave signals sin.theta. and cos.theta. from a linear scale in a multiplier, adding the signals sin.omega.tcos.theta. and cos.omega.tsin.theta. in an adder to form a modulated signal sin(.omega.t+.theta.), converting the a modulated signal sin(.omega.t+.theta.) to a predetermined square wave signal in a comparator so as to be synchronized with the counter, and detecting the phase difference between the square wave signal from the comparator and the sine wave signal sin.omega.t to detect the position of the linear stepping motor. The reference sine wave and square wave signals are compared twice in one period and the displacement of the linear stepping motor is detected in real time by being synchronized with the reference sine wave.