Based on DSP, CPLD motion controller design, implementation and Motion Control Algorithms
- Author
- WangYun
- Advisor
- HuangDaGui
- School
- University of Electronic Science and Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 996
- Citations
- 13
Abstract
Open CNC numerical control technology is the future one of the main directions of technological development , motion controller as a PC NC Class Open CNC technology, the key components of high technology research value. After analyzing the decision CNC system performance after a number of key technologies , focusing on the motion controller associated with the hardware and software technology for a more in -depth research. The hardware technology proposed three general motion controller implementations , various factors and the existing conditions and select the DSP CPLD ISA hardware realization form ; Then depending on the selected programs on various parts of the motion controller circuit was specific implementation analysis , completed the three-axis digital control outputs, three-way quadrature encoder feedback inputs, 48 digital I / O, dual-port RAM interface , CAN bus communication circuit design, gives a detailed and complete practical hardware solutions. Also produced a practical motion controller samples, and completed all of the hardware debugging. Detailed analysis of the technical aspects of the software by-point comparison method, numerical integration method, minimum deviation method practical interpolation algorithm composition and characteristics , focusing on a variety of interpolation algorithms discussed above in DSP software implementation. Minimum deviation method for numerical integration method with a concrete implementation of the program has been improved , we propose a hardware synchronization timer, use a high-speed linear interpolation method . Also on the motion control as well as acceleration and deceleration speed control technology for the analysis of algorithms . Presents a general framework underlying program motion controller program , in order to structure the system program has been prepared for the actual hardware can run the demo . For assembly and C language programming techniques for a more detailed discussion . Gives all the interpolation algorithm discussed flowchart of a program are listed in the appendix some utility. Motion controller drivers for the design and implementation are briefly discussed , and gives a simple and effective method of making drivers . Finally, the entire motion controller hardware and software design and debugging problems in a brief summary provides some practical experience in hardware and software debugging , and summarized the work and outlook .
Table of contents
Chapter Introduction 10-18
1.1 CNC technology status and development trend 10-12
1.1.1 CNC technology status 10-11
1.1.2 CNC technology trends 11-12
1.2 open CNC system features 12-14
1.3 motion controller features, classification and Motion Control technology development 14-16
1.3.1 Motion Controller Features 14
1.3.2 Classification of the motion controller 14-16 <br / > 1.3.3 Motion Controller Development Status and Development Direction 16
1.4 research projects tasks 16-18
Chapter CNC system and the realization of the key technologies in the form of analysis 18-30
2.1 key technology in CNC system overview 18-20
2.2 CNC interpolation motion control technology 20-27
2.2.1-by-point comparison 20-22
2.2.2 Minimum Deviation 22-23
2.2.3 digital integration method 23-27
2.3 CNC motion control speed control technology 27-30
2.3.1 running speed control method 27-28
2.3.2 deceleration control method 28-30
Chapter motion controller overall design 30-36
3.1 DSP as the core processor 30-31
3.2 alternative design program 31-33
3.2.1 Option One: Using a dedicated DSP motion control chip 31-32
3.2.2 Option Two: The General DSP chip and CPLD / FPGA chip 32-33
3.2.3 Option Three: Only use CPLD / FPGA chip 33
3.3 motion controller design program 33-34
3.4 The program's development difficulties 34-36
Chapter IV system hardware design and implementation 36-58
4.1 all major chip Selection 36-40
4.1.1 Digital Signal Processor DSP selection 36-37
4.1.2 Complex Programmable Logic Device (CPLD) Selection 37-38
4.1.3 DSP peripheral chip selection 38-40
4.2 controller and PC data interface 40-43
4.2 .1 ISA bus characteristics and performance 41
4.2.2 ISA bus commonly used in signal pin 41-43
4.2.3 Fieldbus CAN bus 43
4.3 hardware circuit design difficulties and their solutions 43-47
4.3.1 Electromagnetic Interference 43-45
4.3.2 bus load and Drive 45-47
4.4 hardware circuit implementation 47-58
4.4.1 to be completed using a dedicated DSP chip peripheral circuits 47-50
4.4.2 DSP CPLD to complete other peripheral circuits 50-58
Chapter underlying motion controller software design and implementation 58-71
5.1 TMS320LF2407 of software development environment CC4.1 Profile 58-59
5.2 The overall design of the underlying software 59-60
5.3 assembly language and C language programming 60 - 63
5.4 interpolation algorithm design and implementation 63-71
5.4.1 point by point comparison 63-65
5.4.2 Minimum Deviation 65-67
5.4.3 digital integration method 67-69
5.4.4 using a high-speed synchronous timer hardware linear interpolation method 69-71 <br / > Chapter controller driver development 71-75
6.1 DOS driver under development 71
6.2 WINDOWS driver under development 71 - 73
6.2.1 VXD driver 72
6.2.2 DLL driver 72
6.2.3 WDM driver 72-73
6.3 Motion Controller driver debugging a method of making 73-75
Chapter VII of the system assembly and commissioning 75-80
7.1 system circuit fabrication and Debugging 75-77
7.1.1 hardware assembly and commissioning of the basic principles and fundamental processes 75-76
7.1.2 hardware debugging the main problems encountered and their solutions Method 76-77
7.2 level software debugging 77-80
Chapter VIII Conclusions 80-82
8.1 project completion 80-81
8.2 topics innovation 81
8.3 follow-up 81-82
References 82-85
Thanks 85-86
appendix a DSP hardware emulator and software development environment 86-87
Appendix II motion controller development board 87-88
Appendix III DSP in the part of the underlying program excerpts 88-92
Appendix IV axis motion controller SD103-I 92-93
Related dissertations
- Application of Robot in Profiled Tank Welding Based on DSP Multi-axis Motion Controller
- 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
- 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
- Based on DSP6711Motion Controller Research NURBS Curve Interpolation Algorithm
- Study on High Performance Interpolation Algorithm and Design of Motion Control Function Library
- Software Design and Development on DSP-Based Multi-axes Motion Controller
- 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