In the field of industrial automation,motion control technology is an indispensable key technology for the development of the intelligent manufacturing industry.Among them,the rapid development of embedded system and development software technology has made the realization of motion control and drive system more efficient and convenient.In this application background,the FPGA-based stepper motor multi-axis motion control system design carried out by this subject has a certain engineering Value.This thesis carried out research on the current situation and development innovation of motion control technology and drive technology on the basis of consulting relevant domestic and foreign materials.Focusing on the demand for motion control system in automatic probe test,a multi-channel stepping motor drive control system based on FPGA is designed.The design gives full play to the advantages of FPGA system in programming,rich resources,fast computing speed and so on.It makes full use of the logic resources inside FPGA and adopts the top-down design idea to design each module at the top level of the system.This system describes the circuit through a programming language and downloads it to the FPGA chip.The generating circuit is used to receive and store the control instruction information sent by the upper computer.FPGA and the upper computer communicate directly through USB to serial port.Each frame of data adopts the format of a custom frame,and the data of different channels are numbered.The control module assigns it to the stepping motor pulse generation module of the corresponding channel according to the number information,sends pulses to the drive,and then controls the operation of the motor.A human-computer interaction interface is designed to send control information to the lower computer through the serial port.Based on FPGA,the linear and S-curve acceleration and deceleration algorithms,linear and circular interpolation algorithms are implemented,and their feasibility is verified by simulation and testing.Experiments show that the system can control the direction,speed,angular displacement,etc.of multiple stepper motors through the motion control algorithm,and realize the plane point and trajectory movement.It can be customized and developed according to the actual application,and has a wide range of application values. |