A two-phase stepper motor is an actuator that converts electrical pulses into angular displacement. When the stepper driver receives a pulse signal, it drives the stepper motor to rotate a fixed angle (i.e., step angle) in the set direction. By controlling the number of pulses, the angular displacement can be controlled to achieve the purpose of accurate positioning; at the same time, by controlling the frequency of the pulses, the speed and acceleration of the motor rotation can be controlled to achieve the purpose of speed regulation.