The Research and Development of DSP and FPGA Based 4-Axis Motion Controller

Author
HeShuai
Advisor
GaoXiaoRong
School
Southwest Jiaotong University
Major
Optical Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2011
Downloads
169
Citations
0

Request the full text

Abstract

With the development of microelectronics technology , automatic control technology and computer technology , motion control system continuously toward the development of high-speed , high-precision , intelligent , miniaturized and general direction . Currently, the PC as a platform , digital signal processor (DSP) and field programmable gate array (FPGA) to control the core motion control card has become the mainstream of the development of the motion controller . It combines powerful information processing capabilities of the PC and motion control card motion control capabilities , information processing ability , versatility , high degree of openness , the strong performance of motion control . In this paper, based on the comparison of the motion controller based on different hardware platforms , through in-depth study of motion control technology , design and development of a DSP and FPGA - based four-axis motion control card with a PCI bus interface , and its performance to carry out the test work . First , planning the hard axis motion control card software overall implementation of the program , then board hardware circuit design are discussed in detail , including DSP and its peripheral circuits , FPGA peripheral circuits , PCI bus interface circuit , external expansion device circuit peripheral interface circuit and so on. To board integrated high performance is stable and reliable, the design of the PCI bus controller , the hardware fine interpolation , encoder feedback signal processing circuit , I / 0 signal processing circuit , the location counter and dual-port RAM and its controller the circuit functional modules using a single FPGA hardware implementation . In addition , the design of DSP using C language , respectively, to achieve linear interpolation algorithm based on three-axis digital integration method and the two - axis circular interpolation algorithm , S-shaped speed control algorithm , trapezoidal speed control algorithms, and position error compensation to improve the accuracy of board control . WinDriver tool developed motion control card PCI bus hardware drivers , and written in the Visual Basic environment software PC PC users . Finally, the board software and hardware FBI , the four-axis motion control card for controlling the servo motor test results to verify the correctness of the axis motion control card and can be applied to achieve the desired requirements.

Table of contents

Summary 6-7 abstract 7-12 Chapter 1 Introduction 12-17 1.1 Introduction 1.2 CNC system development and status quo 12-13 1.3 motion controller and Research the 13-16 1.3.1 the development of the motion controller the status of the motion controller 13-15 1.3.2 the 15-16 1.4 This research purpose and contents 16-17 1.4.1 research purposes 16 1.4.2 research contents 16-17 Chapter 2 boards overall program design 17-22 2.1 axis motion control the card technical specifications 17-18 2.2 overall scheme of the hardware platform motion control card the 2.2.1 master control unit 18-20 19 2.2. 2 host communication interface 19 2.2.3 Peripheral Interface design 19-20 2.3 motion control card software platform for the overall program 20-21 2.4 Chapter Summary 21-22 Chapter 3 motion control card hardware design 22-34 3.1 DSP and its peripheral circuit design 22-25 <br / > 3.1.1 DSP power circuit design 22 the 3.1.2 DSP power monitoring and reset circuit 22-23 3.1.3 the JTAG interface circuit 23-24 the 3.1.4 DSP peripheral bus address mapping 24-25 3.2 FPGA peripheral circuit design 25-27 3.2.1 FPGA power design 25 -26 3.2.2 FPGA configuration design 26-27 3.3 PCI interface circuit design 27-29 3.3.1 PCI interface level conversion 27-28 3.3.2 PCI connector design considerations 28-29 3.4 peripheral interface circuit design 29-31 3.4.1 Differential pulse output circuits 29-30 3.4.2 encoder input circuit 30 3.4.3 General I / O interface circuit 30-31 3.5 boards the card hardware implementation Precautions 31-33 3.5.1-layer PCB board design the 31-32 3.5.2 system electromagnetic compatibility (EMC) considering 32 3.5.3 motion control card hardware implementation 32-33 3.6 Chapter Summary 33-34 Chapter 4 FPGA internal module design 34-55 4.1 FPGA internal modules General 34-35 4.2 Motion Control Function Blocks design 35-44 a 4.2.1 status and command control the register 35-36 4.2.2 the hardware fine interpolation Module design 36-39 4.2.3 encoder feedback module design 39-41 <br / > 4.2.4 special I / O module design 41-42 the 4.2.5 location counter design 42-44 4.3 the PCI bus controller design 44 - 52 4.3.1 design goals 44 4.3.2 PCI bus architecture simplifies the FPGA implementation 44-45 4.3.4 PCI bus target controller 45-50 4.3.5 PCI bus controller targeting timing simulation 50-52 4.4 dual-port RAM module design 52-54 4.4. dual-port RAM design 52-53 the 4.4.2 dual port RAM to interrupt anticollision design 53-54 4.5 Chapter Summary 54-55 <br / > Chapter 5 movement control algorithm 55-70 5.1 trajectory planning algorithm research 55-61 5.1.1 segmentation method introduced 55-56 < br /> 5.1.2 Linear interpolation algorithm 56-57 5.1.3 the arc interpolation algorithm 57-60 5.1.4 circular interpolation position error correction 60-61 5.2 speed control algorithm the 61-69 5.2.1 trapezoidal velocity control algorithm 61-63 5.2.2 S-shaped speed the control algorithm Principle 63-65 5.2.3 S-shaped curve speed control discussion the 65-68 5.2.4 encoder feedback speed calculation 68-69 < br /> 5.3 Chapter Summary 69-70 Chapter 6 motion control card software design 70-78 6.1 data communications format designed 70-74 6.1.1 dual-port RAM memory space allocation the 70-71 6.1.2 communication command Design the 71-74 6.2 User Interface Design 74-75 6.3 DSP program design the 75-77 6.3.1 DSP main program module 76 6.3.2 DSP communication module with dual-port RAM 76 -77 6.3.3 algorithm program modules 77 6.4 Chapter Summary 77-78 Chapter 7 motion control card debug and test analysis 78-87 7.1 board hardware and software debugging 78-80 7.2 PCI hardware driver developers 80-82 7.2.1 WinDriver Introduction 7.3.1 arcs, 82-86 80-81 7.2.3 the PCI hardware-driven development 81-82 of 7.3 motion control card test and results analysis interpolation S-shaped speed test 83-85 7.3.2 Linear interpolation trapezoidal variable speed test 85-86 7.4 Chapter Summary 86-87 <br / > Summary 87-89 Acknowledgements 89-90 Reference 90-94 Appendix 1, the physical picture of the Motion Control Card nbsp papers during the master's degree; 94-95 95

Related dissertations

  1. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  2. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  3. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  4. Research on Multi-axis Motion Controller Based on CAN Bus
    LiGang ·Xi'an University of Engineering ·2012 ·Master's thesis
  5. The Design and Research of Embedded Multi-axis Control System
  6. The Research on Ethernet_based Interface of Embeded Motion Control System
  7. 5D film motion experience platform motion control card design
  8. Design on Motion Controller of the Underwater Vehicle
    GuoZhiJun ·Harbin Engineering University ·2013 ·Master's thesis
  9. The Research and Design of Dispensing Robot Motion Control System
    HuJiaLin ·Hunan University ·2013 ·Master's thesis
  10. The research and design of a multi legged robot motion control system
  11. The Research on the Ptical Mirror Reflector Single CCD Panoramic Imaging System
  12. The Research and Implementation of the M-GNSS Positioning Receiver
  13. Design and implementation of universal software radio platform based on multi core DSP
  14. Research of Image Data Caching and Processing in Monitoring System
    LongChangGui ·Tianjin University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of the Hardware Platform for Broadband Digital Beamforming
    LiMingZuo ·Harbin Engineering University ·2013 ·Master's thesis
  16. Design and Realization of Multi-antenna Attitude Measurement Receiver Based on GPS
    WangBiao ·Harbin Engineering University ·2013 ·Master's thesis
  17. The Research and Realization of the Motion Control Technology of Computerized Flat Knitting Machine
  18. Research on the Servo Control Technology of Taper Micro Drill Processing Equipment
    XiongYanQing ·Harbin Institute of Technology ·2013 ·Master's thesis
  19. Research on the Embedded Motion Controller Based on OMAP-L138
    FuHao ·Guangdong University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of New Motion Controller and Its Core Algorithm