Design of Multi-channel Stepper Motor Control System
- Author
- GaoYanYan
- Advisor
- WuXueJie
- School
- Southwest Jiaotong University
- Major
- Precision instruments and machinery
- Classification
- TM383.6 Stepping decline of motor
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 51
- Citations
- 0
Abstract
With the rapid development of the industrial production, the stepper motor as the implementing outfit is widely used in the automatic control system, especially the rapid development of computer, numerical control technology and permanent magnet materials in recent years, has opened up broad prospects for stepper motor applications. Stepper motor as an electromechanical component can convert electrical pulse signal into corresponding angular or linear displacement it is possible to achieve a good positioning accuracy, it have the ability to start and stop, high precision, no cumulative error, easy to control speed, has been widely used in the field of industrial process control and instrumentation. Due to the actual work and production, it needs to control the stepper motors synchronously to improve the efficiency. How to improve the efficiency with stability received extensive attention.Traditional stepper motor control system normally implemented only by a microcontroller or digital signal processor independently.in this way the system resource consumed largely, and the performance of the microcontroller impacted pulse frequency greatly, furthermore it’s difficultly to carry out multiple stepper motors synchronously. This paper designed a control system which can control eight stepper motors to operation synchronously by stepper motor drivers based on STM32and FPGA design. STM32and FPGA worked in their own way, STM32microcontroller can focus on dealing with input control information from the host computer, not to take up too much CPU resources to control the motor, reducing the interference. FPGA can generate the corresponding pulse according to the control command from the STM32, make the stepper motor run in accordance with the requirements. This control system allocated resources rationally, making the system stable, high precise and great significant for the actual production.This paper analyzes the research background of the stepper motor, the current development at home and abroad, designed a control system which can control eight stepper motors operation synchronously with the research of specific application. The control system make the motor smoothly start, accelerate, constant speed, decelerate, stop, halfway to adjust the speed, the number of steps and other parameters. The overall system design selected STM32microcontroller and Cyclone Ⅱ series FPGA chip as the core controller, using Delphi7software to complete the Human-computer interaction software of the host computer. The entire system hardware circuit is designed and the drive programme is tested based on the C language and Verilog HDL.
Table of contents
Summary 6-7
Abstract 7-10
Chapter 1 Introduction 10-14
1.1 stepper motor Overview 10 - 11
1.1.1 development of a stepper motor 10
1.1.2 stepper motor characteristics and classification 10-11
1.2 research background and significance 11-12
1.3 the main work overall program 12-14
Chapter 2 Control system design 14-20
2.1 Introduction nbsp control system ; 14-17
2.1.1 control system components and functions 14-16
2.1.2 control system relevant technical requirements 16-17
2.2 control the modular system design 17-18
2.2.1 STM32 and PC serial communication module design 17-18
2.2.2 STM32 control module design 18
2.2.3 FPGA interface module with the STM32 design 18
2.2.4 FPGA state transitions and frequency module design 18
2.3 Summary 18 - 20
Chapter 3 control system hardware design 20-28
3.1 control system hardware selection 20-24
3.1.1 STM32 family of microcontrollers 20-21
3.1.2 STM32 control module circuit 21-24
3.1.3 FPGA selection 24
3.2 STM32 circuit design and FPGA Interface 24-25
3.3 stepper motor drive 25-27
3.4 Summary 27-28
Chapter 4 control system Software Design 28-56
4.1 overall design of the control software 28-29
4.2 FPGA module software functional design 29-45
4.2.1 FPGA development Introduction 29-31
4.2.2 FPGA and software design principles divide 31-33
4.2.3 FPGA input and output software design 33-41
4.2.3.1 FPGA input and output port configuration 33-35
4.2.3.2 FPGA design and data transfer software STM32 35-39
4.2.3.3 waveform counting and counting software design grating 39-41
4.2.4 stepper motor running conversion software designed 41-45
4.2.5 eight -channel synchronous control software design 45 <br / > 4.3 STM32 control module software design 45-52
4.3.1 main analysis 46-48
4.3.2 STM32 and PC communication software design 48 -50
4.3.3 STM32 communications software and FPGA design 50-52
4.4 PC software design 52-55
4.4.1 and the next communication protocol 52-53
4.4.2 user interface for use 53-55
4.5 Summary 55-56
Chapter 5 multi-channel stepper motor control system debugging and problem debugging nbsp 56-61
5.1 system ; 56-59
5.1.1 function module debugging 56
5.1.2 communication between the module debugging issues 56-59
5.2 debug encountered 59-61
Conclusion and Outlook 61-63
Thanks 63-64
References 64-67
pursue a master's degree in published papers during 67
Related dissertations
- FPGA Auto the Doffing Car Control System Design
- Speech-recognition-based Automotive Air Conditioning Control System
- The Control System of Servo Press System Based on ARM Cortex
- The Study on the Management Control System of ZY Group Company
- Research on Modern Lighting Automation System
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Design of Monitoring Control System for Three-dimensional Steel Samples Warehouse on KingView
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- The Design of Data Monitoring and Control System Based on USB and Lab VIEW
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System