Research on stepper motor motion control based on MCU

In this paper, speed control curve of stepper motor was studied for optimizing the motion flexibility and improving the motion precision of the stepper motor under the open-loop control environment based on Microcontroller Unit (MCU). Firstly, the acceleration and deceleration control curve of trapezoidal and New S model was designed respectively. Secondly, the relationship curve between control pulse and time was discretized and the stepper motor control scheme was determined. The MCU provided drive pulse for stepper motor to realize the motion control. The contrast of running accuracy of stepper motor controlled by the two kinds of acceleration and deceleration curves was carried out. The results show that the stepper motor controlled by the new S-shape acceleration and deceleration curve has great performs of small noise, high positioning accuracy and good flexibility.