21-05-2011, 08:08 AM
FPGA Based Step Motor Driving
The stepper motor is an important device that is used in the industry for the driving of the factory automatic line. DSP(digital signal procesors), PLC(programmable logic controllers), microcomputers etc have already been used for the controllomg of stepper motor. FPGA has the advantage of being a flexible operating unit with high integration and wide application. A System-on-a-Programmable-Chip (SOPC) is used in this work and it is programmed by using the NIOS II software. The software design drives the step motor. The FPGA hardware description and the interface of the FPGA device is designed by the quartus II. Using the input and output interface, the connection of the FPGA, LCD, UART and the stepper motor is easily accomplished.
A stepper motor converts a pulse into an angular rotaation by a fixed angle or equivalently into a linear displacement. The pulse frequency and number determines the motor speed, and stop location. two phase stepper motors are commonly used but three or 5 phase motors are als available.
The step motor driver has a PC unit, FPGA unit, LCD unit, and work bench unit. The PC connect with the FPGA via the UART port 9600 baud, 8-bit, and a stop-bit protocol. The control data sent includes the start bit, direction, distance and the stop bit. The NIOS II processor analyses the received data and calculates the number of pulses that need to be generated. LCD PIO is the interface of FPGA and LCD module. The STEP MOTOR PIO provides the amplified current, voltage, and control signal to driver the step motor.
Get the report here:
http://mediafirefile/5m847oecv0d4p6w/FPGA%20Soft-Core%20Based%20Step%20Motor%20Driving.pdf