The Research and Design of a Digital Motion Controller Based on SoftDMC

Author
LiPan
Advisor
ZuoXiaoTian
School
South China University of Technology
Major
Pattern Recognition and Intelligent Systems
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2011
Downloads
43
Citations
0

Request the full text

Abstract

The original CNC system of our lab used software to implement all the CNC functions, Its processing speed is limit by the speed of software instruction execution, especially in the modern high-speed processing of occasions, it is difficult to meet the requirements of high speed and high precision. In addition, the system reliability problems, especially real-time scheduling problem, can not do hard real-time. With the rapid development of electronic technology and large-scale programmable logic device technology FPGA, many mainstream motion control card use a digital signal processor (DSP) plus field programmable gate array (FPGA) as the core of the design. This paper presents a new notion of softDMC motion controller, which is a soft DSP core described by VHDL , and then embedded into the FPGA as the core of the motion controller. On this basis, the motion control algorithm is implemented to move softDMC.After presenting a basic principle of the interpolation algorithm, this paper presents a space vector-based interpolation optimization algorithm. The optimization algorithm is implementid by full-hardware, that is to say, CNC interpolation algorithm (speed control, and fine interpolation) is all implemented in Mesa5I20 SoftDMC motion control card, while for the industrial control computer, it just to achieve the command parsing, task processing, data preprocessing, detection and treatment of hardware status (stroke / return to zero switch, shaft drive, all kinds of IO, etc.) and some other functions. This can make full use of hardware and software resources, reduce the interpolation cycle, and diminishe the error caused by the interpolation algorithm for approximating the outline oftrajectory, help to improve the output precision interpolation calculation and contribute to release high-speed and high-precision manufacturing.Because there is a data communication beween the industrial control computer and the motion control card, this paper introduces driver development of Mesa5I20 motion control card based on PCI bus under the Linux system at last.

Table of contents

Abstract 5-6 ABSTRACT 6-10 The first chapter 10-17 1.1 Introduction 10 1.2 Open CNC System Overview 10-12 1.2.1 open CNC system's basic features 10-11 1.2.2 Open CNC System Research 11-12 1.2.3 open CNC system development trend 12 1.3 Motion Controller Overview 12-15 1.3.1 motion controller features and research status 12-13 1.3.2 motion controller implementations 13-15 1.4 purpose of this thesis and main contents 15-17 1.4.1 of this thesis aim 15 1.4.2 The main contents of this paper 15-17 Chapter softDMC system overall program design 17-23 2.1 softDMC performance analysis 17 2.2 SoftDMC based CNC system hardware structure 17-18 2.3 CNC system software architecture 18-20 2.4 Mesa5I20 motion control card describes 20-22 2.5 Chapter Summary 22-23 Chapter CNC interpolation algorithm and optimization 23-43 3.1 digital integration interpolation 23-31 3.1.1 Numerical Integrator Fundamentals 23-24 3.1.2 Digital Integral Method linear interpolation 24-28 3.1.3 spatial linear interpolation 28-29 3.1.4 Digital integration circular interpolation 29-31 3.2 Stepper motor speed control 31-33 3.3 algorithm optimization 33-37 3.3.1 pulse equivalent 34 3.3.2 Space Vector Control 34-36 3.3.3 Speed ??control 36-37 3.4 optimization algorithm 37-41 3.4.1 industrial control computer for data preprocessing and classification 37-39 3.4.2 Mesa industrial control computer and motion control card data transfer between 39 3.4.3 in softDMC achieve speed control and interpolation algorithm 39-41 3.5 Summary 41-43 The fourth chapter is based softDMC motion controller function module design 43-61 4.1 softDMC overall functional structure 43 4.2 softDMC within each functional module design 43-60 4.2.1 industrial control computer data communication module design 43-46 4.2.2 Data Buffer dual-port RAM module design 46-48 4.2.3 Speed ??control module design 48-51 4.2.4 DDA interpolation digital integrator circuit design 51-56 4.2.5 encoder signal processing circuit design 56-60 4.3 Chapter Summary 60-61 under Chapter RTAILinux motion control card driver design 61-80 5.1 PCI bus describes 61-69 5.1.1 PCI bus signals 61-62 5.1.2 PCI bus command 62-63 5.1.3 PCI bus addressing 63-64 5.1.4 PCI bus configuration 64-67 5.1.5 PCI bus operation timing 67-69 5.2 Linux driver development related presentations 69-72 5.2.1 kernel mode and user mode 69-70 5.2.2 device classification 70-71 5.2.3 device driver is compiled 71-72 5.2.4 memory operations 72 5.3 PCI motion control card driver specific implementation 72-79 5.3.1 main data structures 73-74 5.3.2 driver processes 74-79 5.4 Summary 79-80 Chapter Summary and Outlook 80-81 References 81-84 master's degree research results achieved during the 84-85 Thanks 85

Related dissertations

  1. Reach on Graph Matching Algorithms Based on the Graph Embedded
  2. Design of100K var Dynamic Wattless Compensation Device
    PeiPengPeng ·Tianjin University of Technology ·2013 ·Master's thesis
  3. The Research and Implementation of Control Unit of the Three-phase Power Converter
    YuBin ·Tianjin University of Technology ·2013 ·Master's thesis
  4. The Research and Implement on Space Vector Modulation Method for Cascaded High-voltage Inverter
    WangFan ·Hunan University ·2013 ·Master's thesis
  5. Study on a simplified five level inverter space vector modulation algorithm
  6. Research of Direct Torque Control Based on ADI Semi-Physical Dynamic Simulation Platform for Induction Motor
    PanZhiFeng ·Anhui University ·2014 ·Master's thesis
  7. Raman Spectrum On-line Monitoring in Aspirin Synthesis Process
  8. Analysis and Design of Digital Processing Units in Wideband Radar Target Simulator
  9. Hinoc System Medium Access Control(MAC) Layer of the Design and Implementation
    YeRenHao ·Wuhan University of Technology ·2012 ·Master's thesis
  10. Research and Development of Direct Vector Control Variable Frequency Speed Regulation System
  11. Research and Design of a Novel Induction Welding Power Source
    DanChao ·Tianjin University of Technology ·2012 ·Master's thesis
  12. Control Strategy Study and Experiment of Active Power Filter Based on DSP
    HongJie ·Hubei University of Technology ·2012 ·Master's thesis
  13. The Research of Static Var Generator Based on Cascade H-Bridge System
  14. High Voltage Variable Frequency Technology Research Based on the Multi-module Cascaded Matrix Converter
    GuiZuoZuo ·Hefei University of Technology ·2013 ·Master's thesis
  15. Research of Four-quadrant Rectifier Controlling Method
    QiuZuoLin ·Beijing Jiaotong University ·2012 ·Master's thesis
  16. Design of Inverter Based on TMS320LF2407A DSP SVPWM
    JiangBin ·Harbin Engineering University ·2012 ·Master's thesis
  17. Research and Design on the Three Phase Voltage Source PWM Rectifier
  18. Research and Design on Speed Predictive Control System of PMSM Based on SVPWM
    DiDaYong ·Northeastern University ·2010 ·Master's thesis
  19. Asynchronous Motor Speed Sensorless Vector Control System Research and Design
    JiangXiWen ·Guangdong University of Technology ·2013 ·Master's thesis
  20. Research on Integrated and High Power Factor Arc-welding Inverter Power Supply