The Research on Multi-axis Controllers Based on DSP
- Author
- XuHongShu
- Advisor
- WangYongQing
- School
- Dalian University of Technology
- Major
- Mechanical Design and Theory
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 831
- Citations
- 17
Abstract
The hardware and software of multi-axis controllers based on DSP have been researched and realized , finally, the board card is tested by experiment.The hardware frame of the controller based on DSP is researched and introduced in detail: This controller regards 16-Bit fixed-point DSP TMS320LF2407A as the key chip, which offers increased processing performance 40MIPS, PWM circuit, 16 channels ADC, timer, PLL, etc. function peripheral hardware and large capacity block store resource; Controller communicates data with PC through DPRAM, this is a kind of high-efficient systematic design method, which can make systematic information exchange more high-speedly and reliably, the implementation method is simple, the system is of good performance; The feedback circuit of position is finished by using multiple frequently, count chip HCTL2020, which has high noise immunity, full 4X decode and quadrature decoder output signals, using HCTL2020 has raised the quality of system designed; Using D/A and pulse output increase the alternative control of output; The whole hardware circuit adopts GAL22V10 of Lattice company to finish the Boolean calculation, which can reduce area of the board card and increase the dependability of circuit.The paper recommends in detail the method of transplanting real-time embedded system μC/OS-Ⅱ into controller, introduces the whole structural design of controller based on DSP and provides the key program module, such as interpolation program, position control program and main design program.The subject has finished the whole hardware design, and has finished the composition of the software system, including the initialize of DSP, setting up multitask, preliminary composition of each function module, has finished the hardware test job under CCS2.20 environment of TI, carried on multitask operation which has made the anticipated result.
Table of contents
0 Introduction 8-9
1 Introduction development history nbsp 9-19
1.1 numerical control system ; development 9
1.2 CNC system trend 9-11
1.3 open CNC system and its research conceptual 11-13
1.3.1 open CNC system 11 Research Status
1.3.2 open CNC system realization 11-13
1.4 open CNC system 13-15
1. 5 motion controller and its research 15-18
1.5.1 Research Status motion controller main content nbsp 16-18
1.6 thesis ; 18-19
2 DSP motion controller 's overall design 19-24
2.1 motion controller hardware system constitutes 20-22
2 .1.1 DSP real-time control chip 20
2.1.2 -speed multi-axis controller and PC , effective data communications 20-21
2.1 .3 control signal output 21-22
2.2 multi-axis controller software system constitutes 22-23
2.2.1 μC/OS- Ⅱ transplant 22
2.2.2 control system software scheduling mechanism 22-23
2.3 Summary 23-24
3 multi-axis motion control hardware architecture 24-42
3.1 TMS320LF2407A DSP -based principles outlined 24-34
3.1.1 central Processing unit (CPU) 25-26
3.1.2 DSP memory unit nbsp on-chip peripherals 26-28
3.1.3 DSP controller ; 28-30
3 .1.4 system configuration and interrupt service 30-34
3.1.4.1 system Configuration Register 30-31
3.1.4.2 DSP interrupt services extended 31-34
3.2 DSP system storage space data communications 34-35
3.3 PC and DSP motion controller 35 -36
3.4 position feedback interface circuit design 36-38
3.5 DSP motion controller external interface module design 38-39
3.5 .1 optocoupler 38-39
3.5.2 DSP external interrupt interface processing 39
3.6 motion controller outputs a control signal 39 - 40
3.7 motion controller logic control circuit 40
3.8 of this chapter subsections 40-42
software architecture 4 motion controller 42-71
4.1 embedded operating system μC/OS- Ⅱ 42-47
4.1.1 kernel structure 42-44
4.1.2 task Manager 44-45
4.1.3 time management 45-46
4.1.4 -task communication and synchronization between 46
4.1.5 memory Management 46-47
4.2 transplant based on TMS320LF2407A μC/OS- Ⅱ of 47-55
4.2 .1 transplant feasibility analysis 47-48
4.2.2 specific migration process 48-55
4.2.2.1 rewritten INCLUDES. H file 49
4.2.2.2 rewritten OS_CPU. H file 49-50
4.2.2.3 write OS_CPU_A. ASM 50-53
4.2.2.4 write OS_CPU_C. C 53-54
4.2.2.5 appropriate treatment OSMapTbl [] and OSUnMapTbl [] 54-55
4.3 control system software scheduling mechanism 55-70
4.3.1 interpolation procedures designed 57-63
4.3.1.1 interpolation pretreatment module 57
4.3.1.2 deceleration before interpolation control module 57-59
4.3.1.3 interpolation processing module 59-63
4.3 .2 position control algorithm 63-68
4.3.2.1 position control system 63-65
4.3.2.2 position Control system Works 65
4.3.2.3 position control data processing 65-66
4.3.2.4 proportional position Control System 66 - 68
4.3.2.5 analog and pulse volume interface program designed main task program ( background task program ) 68
4.3.3 DSP motion controller 68-70
4.4 Summary 70-71
5 motion controller commissioning and experimental results 71-76
5.1 multi-axis motion controller hardware debugging 71-73
5.2 multi-axis motion controller software debugging 73-74
section 5.3 of this chapter 74-76 <br / > 6 Conclusions and Outlook 76-77
6.1 Conclusion 76
6.2 Prospects 76-77
References 77-80
Appendix A 80-82
Appendix B 82-86
Appendix C 86-90
master's degree published during the academic situation 90-91
Thanks 91-92
Dalian University dissertation copyright attorney 92
Related dissertations
- The Design and Research of Embedded Multi-axis Control System
- 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
- Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- Wire Rope On-line Detection System Design Based on DSP
- Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Wireless environmental monitoring system based on multi sensor data fusion
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus