| Because of driving control simple, no accumulated error, stepper motors are widely used in economic positioning systems. But it has two obvious disadvantages, one is the slow speed is relatively large when vibration, another is when the frequency of mutations is too large, prone to stall, lost step or overshoot. These two shortcomings of the positioning accuracy of the system will have a greater impact.As electromechanical equipment, problems inherent in stepper motor drive or the controller can make up. This topic by sub-frequency drive technology and control technology, focused on solving the low-frequency oscillation of stepping motor and the "lost steps", "overshoot" and other issues. The stepper motor to accurately locate. The C8051F040 microcontroller to control the core, Use its own two 12-bit ADC converter are sinusoidal output voltage step change, Receiving a reference voltage driver chip A3955 SB port, To control the winding current, subdivision drive to achieve uniform amplitude. The maximum number of segments up to 256, frequency control method using index down; Discrete method to deal with the process of lifting speed, visual programming using VB language to real-time computation of discrete lifting speed curve parameters and data, The parameter calculation, modified to facilitate. The motor drive mode is divided into lower and upper single mode, the next crew to work mode. First build the hardware platform, Including RS232 serial communication interface, the control circuit, drive circuit and overcurrent protection circuit subdivision and keyboard, LCD and other parts of the hardware interface circuit. Key subdivision completed the design of driving circuit. In addition, Also designed a detection circuit, Through the rotary encoder to detect the step motor, Then design the relevant control software, Including the SCM software and PC control software visualization. Finally, each module of the system debugging and performance testing of the system.After a hardware design and the corresponding host computer, the next bit machine software programming, With BS57HB41 phase hybrid type stepping motor of the experiment, The results achieved better control effect expected. Improve the stepper motor speed and positioning accuracy. |