| After years of development, stepping motor has formed many advantages. It can be easily controlled; and it can be driven by pulse to achieve speed and start stop in a wide frequency range; and it takes very little cost to consist of a reliable open-loop system. Therefore, in many control field, stepping motor is applied more and more widely.Stepping motor is different from other motor, it can not be directly driven by AC power supply, it can only be driven by the special drive system. Because the manufacturing process limitations, the stepping angle of stepping motor is not small enough. In some applications of high precision, stepping motor can only meet the requirements of resolution through subdivision strategy.This design is to achieve a high pressure phase hybrid stepping motor driver,which is based on an AT89C2051 microcontroller. Compared with the traditional two-phase hybrid stepping motor driver, this design has modified and optimized the design of power supply circuit. The optimization is ascending the traditional input voltage from 20-50 V to 24-110 V and making motor get higher output torque.In terms of the driving strategy design, We analyze the two-phase hybrid stepping motor principle, establish the mathematic analysis model, and take the constant frequency constant current chopping technology. In detail, we use the difference signal which uses phase winding current and the given current feedback to get PWM pulse by triangular wave modulation. Then, we use the PWM pulse to realize the current refined control.In terms of the specific realization, this design mainly includes two big modules,the hardware circuit realization and software realization. Hardware implementation mainly includes the design of switching power supply, the design of AT89C2051 peripheral control circuit, the design of the given signal circuit,the design of current detection circuit,the design of drive circuit composed by IR2103 and IRF640; In terms of software design, the main work is to complete the main program and interrupt program segments.Finally, some performance indexes, such as the operation stability of driver, the running accuracy and so on, have been tested. From the testing results, we can seethat the driver can run smoothly at low frequency and the output torque can keep good at high frequency. |