Analysis of Two-Phase Stepper Motor Driver Based on FPGA

In order to achieve both high speed and high precision for motion control, a controller with flexible algorithm and programmable logic will be expected. Based on field programmable gate array (FPGA), this paper proposes an approach to subdivide the step to microsteps with required resolution for stepper motor to improve positioning accuracy, the paper also describes the design and implementation of the microstepper motor driver with FPGA residing at the heart. In this paper, sine/cosine microstepper method is adopted to adjust current in each winding of the stepper motor with built-in sine/cosine look-up table in FPGA, hence precise and homogeneous micro steps can be obtained. In addition, the designs of the hardware and software are also proposed in detail to control the currents of the motor precisely, a simulation of FPGA logic to realize microstepper functions has been completed to verify the effectiveness of proposed approach.