Design of a DSP Based Motion Controller for CNC System

Author
YeXueHui
Advisor
LiZeXiang , LiJianGang
School
Harbin Institute of Technology
Major
Control Science and Engineering
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2008
Downloads
134
Citations
0

Request the full text

Abstract

CNC manufacturing equipment level is a concrete manifestation of the comprehensive national strength to upgrade NC manufacturing equipment level is the only way to achieve prosperity of the country. Motion control system is the core of the NC system, the motion controller is the \Currently, a new generation of motion controller based on DSP and FPGA as core processor has an open structure, with specific application requirements and rapid reorganization. Take full advantage of the computing power of the DSP and FPGA openness, complex motion planning, high-speed real-time multi-axis interpolation, error compensation, and the more complex kinematics and dynamics calculations, higher precision motion control, faster movement more stable. However, the vast majority of the motion controller on the market has closed, and only open in the application layer, can not be the underlying algorithm development, greater limitations. Interpolation algorithm and control algorithm is the core algorithm of motion control algorithm innovation requires an open experimental platform. This article will focus on research-based DSP control card hardware resources, to achieve the overall software design and features modular design of the motion controller design algorithm practice an open platform, to provide a greater degree of freedom for the motion control algorithm. Work characteristics and requirements of the numerical control system, this paper focuses on the overall design of the motion controller, put forward a motion controller design thinking and design of various functional modules. This paper studies the work are as follows: (1) describes the motion controller hardware resources and system software design, implementation of the motion controller the underlying DSP program framework, DSP and PC communication function, given some of the design ideas; (2 ) interpolation algorithm, given the speed of the single-axis motion under the trapezoidal velocity curve programming algorithm, as well as multi-axis motion linear and circular interpolation algorithm; (3) control algorithm is given a digital PID plus before feed-forward control algorithm; (4) the development of three-axis milling machine carving control software, and experiments on a three-axis milling machine carving processing, verify that the motion control function, and compare the processing effect of various control algorithms. The results of this study has been successfully applied to three-axis Engraving and Milling Machine, CNC milling machining functions, smooth running, excellent machining results, high control accuracy, with a wide range of application value.

Table of contents

Abstract 4-5 ABSTRACT 5-6 ACKNOWLEDGEMENTS 6-11 1. INTRODUCTION 11-19 1.1 CNC Machine Tool 11-12 1.2 Motion Control System 12-14 1.3 Motion Controller 14-16 1.4 Motivation and Objective 16-18 1.5 Dissertation Organization 18-19 2. DSP MOTION CONTROLLER 19-31 2.1 MC DSP Motion Control Card 19-22 2.2 DSP Development Approach 22-24 2.2.1 ADSP-BF535 22-23 2.2.2 DSP Development Tools 23-24 2.3 DSP Controller Design 24-30 2.3.1 DSP Main Program 25-27 2.3.2 Motion Function Library 27-28 2.3.3 Communication between Computer and Controller 28-30 2.4 Summary 30-31 3. TRAJECTORY GENERATION ALGORITHMS 31-46 3.1 Independent Axis Motion 31-39 3.1.1 Trapezoidal Velocity Profile 33-37 3.1.2 S-Curve Velocity Profile 37-39 3.2 Linear Interpolation 39-42 3.3 Circular Interpolation 42-45 3.3.1 Typical Circular Interpolation 42-43 3.3.2 A New Approach for Circular Interpolation 43-45 3.4 Summary 45-46 4. SERVO LOOP ALGORITHMS 46-57 4.1 Model of Motor Drive System 46-49 4.2 Position Servo Loop 49-56 4.2.1 Basic PID Control Theory 49-50 4.2.2 Digital PID Algorithms 50-51 4.2.3 Feedforward Controller 51-52 4.2.4 Digital Controller Implemented in DSP 52-56 4.3 User-Written Servo Filter 56 4.4 Summary 56-57 5. EXPERIMENTS AND CONCLUSION 57-62 5.1 CNC Milling Machine 57-58 5.2 Windows-Based User Interface and Experiment 58-59 5.3 Testify Experiment 59-61 5.4 Conclusion 61-62 REFERENCES 62-65

Related dissertations

  1. Application of Robot in Profiled Tank Welding Based on DSP Multi-axis Motion Controller
    JiaJia ·University of Jinan ·2013 ·Master's thesis
  2. The Research of CNC System of Grinder Based on Windows+RTX
    SiJinBao ·Yanshan University ·2013 ·Master's thesis
  3. Research on High-order Differentiable Algorithm of Nc Instruction Interpretation and Experiments
    SongFang ·Harbin Institute of Technology ·2010 ·Doctoral dissertation
  4. The Research on NURBS Adaptive Interpolation Technology
    WangJia ·Lanzhou University of Technology ·2010 ·Master's thesis
  5. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  6. Intelligent Video Surveillance System Based on DSP
  7. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  8. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  9. Design and Implementation of Multi-channel Data Acquisition System
  10. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  11. Wire Rope On-line Detection System Design Based on DSP
  12. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  13. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  14. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  15. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  19. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  20. Modeling and Implementation of Motor Function Module Based on PLCopen