The Design of Motor Controller for Automatic Aligment System
- Author
- HuHaiBin
- Advisor
- CuiXianYu
- School
- Harbin Institute of Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 43
- Citations
- 0
Abstract
The rapid development of electronics industry and the advanced technology related prompt the rapid development of PCB industry, and also bring more and more strict requirements to the PCB manufacturing process. Advanced automatic alignment system is the important precondition of high precision and high efficiency in the PCB production line. To meet the function requirements of alignment system, this dissertation design a motion controller based on the DSP and CPLD.According to the requirements of automatic alignment system and the analysis of current motor controller formats, we design overall scheme of the system. A controller based on DSP TMS320F2812 and CPLD is proposed to control four axis’stepper motors simultaneously. CPLD is designed to decorder four channels encoder signal. The controller can be communicated with upper computer by SCI block. And this dissertation introduces both the software and hardware design of the controller in detail.Data process, signal acquisition, communication and monitor module are designed on the hardware. According to the analysis of Incremental Photoelectric Encoder’signal, four channels encoder feedback signal can be processed on single chip. It is can be proved that the designed hardware circle is reliable and this provides a good foundation for software design.For further expansion and maintenance, we choose module design on the software development. According to the analysis of the system’s function, data structure and functions library are designed. The trapezoidal curve is selected as stepper motor’s speed curves. We analyze the error during digital control, and find a way to compensate the error. To interact with upper computer, communication digital package format is defined. The controller can be controlled on the upper computer.Experiment shows that the designed controller of automatic alignment system is running well when it is powered on. Instructions can be transmitted from upper computer to controller through SCI module and the motor can run follow the instructions successfully. It is fulfill the function requirements of the system.
Table of contents
Abstract 3-4
Abstract 4-9
Chapter 1 Introduction 9-16
1.1 Background topics 9-10
1.2 Motion Control Systems Overview 10-12
1.2.1 according to the nature of the amount charged and motion control way classification 10-11
1.2.2 press motion control principle classification 11
1.2.3 Motion Control Systems basic composition 11-12
1.3 motion control system implementations 12-14
1.4 topics task 14-15
1.5 paper structure arrangements 15-16
Chapter 2 motion control system, the overall design 16-29
2.1 Motion Control Task Analysis 16-17
2.2 controller analysis 17-22
2.2.1 DSP motion control advantages 17-18
the
overall design scheme 2.2.2 choose from 18-20
2.2.3 master chip select 20-22
2.3 drive system module 22-25
2.3.1 stepper motor characteristics and classification 22-23
2.3.2 stepper motor driver program 23-24
2.3.3 Stepping Motor Subdivision Driver 24
2.3.4 stepper motor and drive selection 24-25
2.4 feedback loop 25-26
2.5 Detection and Protection 26-27
2.6 control system overall program 27-28
2.7 This chapter Summary 28-29
Chapter 3 motion controller hardware design 29-41
3.1 motion controller hardware overall structure 29-30
3.2 system core module 30-34
3.2.1 power circuit 30-31
3.2.2 reset circuit 31
3.2.3 Test (JTAG) interface 31-32
3.2.4 Communication Interface 32-34
3.2.5 clock module 34
3.3 input and output interface 34-38
the
driver module 3.3.1 34-35
3.3.2 CPLD power design 35-36
3.3.3 photoelectric isolation 36-37
3.3.4 CPLD other I / O interface design 37-38
3.4 hardware anti-jamming design and assembly debugging 38-40
3.4.1 system hardware anti-jamming design 38-39
3.4.2 hardware assembly and commissioning of the basic principles and processes 39-40
3.5 This chapter Summary 40-41
Chapter 4 encoder decoder circuit design and realization 41-54
4.1 programmable logic devices 41-43
4.1.1 programmable logic devices Overview 41-42
4.1.2 CPLD design development 42-43
4.1.3 VHDL hardware description language 43
4.2 encoder works 43-46
4.3 CPLD decoding circuit design 46-52
4.3.1 encoder quadrature signal resolution to the fourth harmonic design 46-49
4.3.2 decoding circuit and DSP2812 interface design 49-52
4.4 Simulation and Analysis 52-53
4.5 of this chapter Summary 53-54
Chapter 5 system software design 54-69
5.1 DSP software development environment and processes 54-56
5.1.1 TMS320C2XX C compiler introduced 54-55
5.1.2 DSP software development process 55-56
5.2 software architecture analysis and design 56-58
5.2.1 software overall analysis 56-57
5.2.2 system library functions designed 57-58
5.3 stepper motor lift speed curve and error compensation 58-63
5.3.1 deceleration curves and procedures to achieve 58-61
5.3.2 error analysis and compensation 61-63
5.4 motor coordination control 63-64
5.5 communication interface program 64-68
5.5.1 communication packet format defined 64-65
5.5.2 program to achieve 65-68
5.6 This chapter Summary 68-69
Chapter 6 system debugging 69-72
6.1 experimental system composed 69
6.1.1 system development tools 69
6.2 motor and its drive 69-70
6.2.1 system board 70
6.3 PC interface 70-71
6.4 This chapter Summary 71-72
concluded 72-73
the
References 73-77
Appendix 77-80
Acknowledgements 80
Related dissertations
- Modeling and Implementation of Motor Function Module Based on PLCopen
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- Design and implementation of the short range active defense system in the central controller based on DSP
- Application of Robot in Profiled Tank Welding Based on DSP Multi-axis Motion Controller
- Industrial Intelligent Camera Design Based on DSP
- Design and implementation of intelligent control system of the pellet formula of traditional Chinese medicine pharmacy
- The10kV5Mvar Cascade STATCOM Device Research and Development
- Research for Optimization Algorithm of the Power Factor Compensation and Intelligent Controller
- System Design on Portable Four-channel Data Acquisition
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System