Research and Implimentaion for Key Algorithms of Motion Controller Based on DSP
- Author
- ChenWeiNa
- Advisor
- LiDi
- School
- South China University of Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 422
- Citations
- 3
Abstract
The motion controller, as the key component of Computerized Numerical Control (CNC)system, has become the research focus in the field of numerical control. This dissertation aimsat developing a controller to meet the requirements of openness, performance stability,functional integration and high reliability. The system, with DSP and FPGA as the main controlunit, communicates with PC through PCI bus. The main researches of this dissertation are asfollows:Firstly, the trapezoidal and S-shaped velocity planning algorithms, which are commonlyused in the NC system, are discussed and optimized and the dynamic prediction algorithm ofthe deceleration distance is analyzed in detail; Further more, expansion functions of motionalgorithm, including stopping before reaching destination position, pausing and continuingmovement, changing target speed and changing target position, are investigated. Meanwhile,the algorithm of speed planning,without deceleration distance forecasting, is proposed basedon digital convolution.Secondly, six motion control modes are carried out, including one-dimensional linearmotion, two-dimensional linear interpolation, three-dimensional linear interpolation,two-dimensional circular interpolation, electronic gear joining the motion of master motor andslave motor. Four kinds of back to zero algorithms, adapting to four different machinestructures, are presented. The PID closed-loop algorithms for single-axis control anddual-drive control are developed. Experiments show that the effects of all algorithmsmentioned above meet the requirements. Meanwhile, a platform with step motor and rotaryencoder is constructed, and the algorithms of system identification and PID parametersself-tuning are preliminarily tested.Finaly, according to modularization and component-based software designmethodology, the implementation framework contains several modules. Scheduling setting ofall modules is carried out with DSP/BIOS real-time embeded system. In order to make furtherdevelopment more user-friendly, software development kit in the form of dynamic link libraryand PCI driver basing on windows operating system are provided to provide better openness,adaptability and accessibility.Experiments doing on the dual-drived contructed chip mounter machine show thatmotion control algorithms have good functionality and performance. The motion controllerdesigned in this thesis has been successfully applied to PCB inspection machine, chip mountermachine and so on, and has good application prospects.
Table of contents
Summary 5-6
ABSTRACT 6-8
directory 8-11
first chapter 11-18 <br / > 1.1 Introduction 11
1.2 Status of research and development at home and abroad Current Research and development 11-16
1.2.1 motion controller 11-14 <br / > 1.2.2 key algorithms research status 14-16
1.3 Research objectives and main content 16-18
1.3.1 purpose and significance 16 <br / > the main contents of this paper 1.3.2 16-18
chapter motion controllers commonly used algorithm 18-38
2.1 interpolation algorithm 18 - 22
2.1.1 reference pulse interpolation 18-19
2.1.2 data sampling interpolation 19-22
2.2 speed planning algorithm 22 -28
2.2.1 trapezoidal velocity planning algorithm 24-25
2.2.2 S -shaped velocity planning algorithm 25-28
2.3 PID closed-loop control algorithm 28-33
2.3.1 conventional PID closed-loop control algorithm 28-30
2.3.2 PID parameter tuning 30-33
2.4 zeroing algorithm 33-37
2.5 Summary 37-38
Chapter speed planning algorithm 38-64
3.1 trapezoidal velocity planning algorithm 38-42
3.1.1 acceleration phase calculate 38
3.1.2 deceleration distance 38-40
3.1.3 trapezoidal velocity planning process 40-42
3.2 S -shaped velocity planning algorithm 42-53
3.2.1 recalculation jerk and acceleration 42-44
3.2.2 computing less acceleration phase runs from L3 44-45
3.2.3 to calculate the maximum speed Vtop 45-46
3.2.4 to calculate the distance and deceleration parameters deceleration segment 46-50
3.2.5 S -shaped velocity planning process analysis 50-52
3.2.6 S -shaped velocity planning simulation 52-53
3.3 speed plan the extensions 53-57
3.3.1 change the target location 53-55
3.3.2 change the target speed 55-57
3.4 planning discrete convolution algorithm based on velocity 57-61
3.5 S -shaped velocity planning another algorithm 61-62
3.6 Summary 62-64
Chapter IV motion controller system software design and development 64-75
4.1 motion controllers 64-65
4.2 controller system software 65-68
4.2.1 software module design 65-66
4.2.2 circular queue 66
4.2.3 data Transfer Protocol 66 -68
4.3 system scheduler 68-71
4.3.1 development Environment 68-69
4.3.2 thread scheduling system designed 69 - 71
4.4 PC test software 71-73
4.5 dynamic link library and drive 73-74
4.5.1 dynamic Link Library design 73 -74
4.5.2 PCI driver design 74
4.6 Summary 74-75
Chapter motion control algorithm and performance testing 75-88
5.1 test platform 75
5.2 speed planning algorithm test 75-78
5.3 zeroing algorithm testing 78-80 <br / > 5.4 PID algorithm testing 80-87
5.4.1 traditional PID test 80-83
5.4.2 PID parameter tuning test 83-87 <br / > 5.5 chapter Summary 87-88
summary and Outlook 88-90
References 90-94
studying for a master's degree obtained during research 94-95
Thanks 95-96
accessories 96
Related dissertations
- Research and Design on Motion Controller in Open Numerical Control System Based on DSP
- Development and Application about Data Management System of PVC Glove Production Line
- Design and Temperature Control of Adsorber in the Regeneartion Heating Stage of the Purifier
- Application Research on Industrial Ethernet Based on EtherNet/Ip for the Production of Refined KCL
- Research on Multi-axis Motion Controller Based on CAN Bus
- Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
- Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
- Research on Dedicared Multi-axis Motion Controler and the Control Method Built in
- Tracking Control System Design for Light Universal Optical-Electronic Tracking Platform
- Concrete Batching Plant Control System Design
- AC Speed System Based on Bio-inspired Optimization
- The Research of Intelligent Control System for DMF Recovery
- Research and Application on Intelligent Temperature Control System of Furnace Based on ePLC
- An unmanned vehicle path tracking control
- Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
- Coordinating Control of the Dual-stage Actuator System
- Design on Control System of Five Degrees of Freedom Prostate Biopsy Robot
- Algorithm Research on Trajectory Tracking and Route Planning Control of Wheeled Root
- Design and Experiment of a Motion Control System Based on FPGA
- Shipboard photoelectric platform servo stabilization methods of design and Realization