The Software Design of Motion Control Board Based on DSP

Author
FengJuan
Advisor
WangXiaoChu
School
Guangdong University of Technology
Major
Mechanical and Electronic Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2008
Downloads
511
Citations
2

Request the full text

Abstract

With the development of micro-electronics,automatic control and microcomputor application technology,the open electromechanical product of "PC + motion control boad + stepper motor" is becoming the ideal choice of high precision and nicety motion control increasingly.The open motion control board is based upon PC bus,and it uses DSP as its core processor.It can control the calculational function of DSP sufficiently,doing complicated programming, implement high speed multi-axis interpolation in real-time. High precision,high speed and steady movement make this kind of motion control board be the dominant orientation nowadays.This thesis takes a motion control board as research object.The board is based on 16-bit fixed point DSP chip TMS320LF2407A,which was produced by company TI. After making a brief introduction of its hardware structure,the article expatiates on the software design.The software design of motion control system includes two parts:PC software design and DSP software design.There are various application situations of motion control. Compiling library function of motion control in PC,then users could use the library function to control DSP.The whole details of motion control are realized in DSP,including position control,velocity control,interpolation algorithm,etc. Using dual-port RAM to realize the communication between PC and DSP,and we need to make a bottom planning at first. The interface of this communication mode is simple and it is able to make a great data exchange.It also enhance the real-time data exchange.According to the control demands,software designing is divided into four module:bottom planning both in dual-port RAM and DSP; library function designing in PC;velocity control algorithm designing;interpolation algorithm designing.With the emulator,the motion control board could realize T-mode speed-up and speed-down controlling,S-mode speed-up and speed-down controlling,beeline interpolation and arc interpolation.The motion control board has a good performance,and it indicates that the software design scheme is feasible.

Table of contents

Abstract 4-5 ABSTRACT 5-6 directory 6-8 CONTENTS 8-10 first chapter 10-16 1.1 Introduction 10-11 The of 1.2 motion control card hardware composition 11-14 1.2.1 TMS320LF2407A features and functions 11-13 1.2.2 motion control card hardware block diagram 13-14 1.2.3 FPGA role 14 the significance and main content of 1.3 of this topic 14-16 the motion control card of the underlying planning 16-25 2.1 dual-port RAM Overview 16-17 2.2 dual-port RAM floorplanning 17-22 the DSP 2.3 of the underlying planning 22-25 Chapter library functions designed 25-33 3.1 plate and shaft set function 25-27 3.2 single-axis motion control 27-29 3.3 independent multi-axis motion function 29-31 3.4 interpolated motion function 31-32 3.5 This chapter Summary 32-33 Chapter DSP software design 33-70 4.1 software development process and development environment 34-36 4.2 main program design 36-39 4.3 stepper motor DSP control method 39-40 4.4 PWM waveform generation 40-45 4.4.1 PWM waveform generation principle 40-44 4.4.2 DSP implementation a waveform output are found; 44-45 4.5 acceleration and deceleration control 45-55 4.5.1-curve acceleration and deceleration control 46-49 4.5.2 trapezoidal acceleration and deceleration to interrupt processing subroutine Design 49-52 4.5.3 S curve mode 52-55 4.6 minimum deviation interpolation algorithm 55-63 4.6.1 Linear interpolation algorithm 57-59 4.6.2 circular interpolation algorithm 59-63 4.7 interpolation procedures designed 63-70 4.7.1 Linear interpolation algorithm in the DSP implementation 63-67 4.7.2 programming circular interpolation method 67-70 Summary and Outlook The 70-72 the References 72-75 studying for a master's degree during the thesis 75-77 Acknowledgements 77

Related dissertations

  1. Design on Motion Controller of the Underwater Vehicle
    GuoZhiJun ·Harbin Engineering University ·2013 ·Master's thesis
  2. The Research and Design of Dispensing Robot Motion Control System
    HuJiaLin ·Hunan University ·2013 ·Master's thesis
  3. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  4. Intelligent Video Surveillance System Based on DSP
  5. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  6. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  7. Design and Implementation of Multi-channel Data Acquisition System
  8. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  9. Wire Rope On-line Detection System Design Based on DSP
  10. Microprobe Automatic Test System and Performance Research
    LiuLingGang ·Central South University ·2013 ·Master's thesis
  11. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  12. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  13. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  14. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  15. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
    GuXing ·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. Study on Control System of Prostate Biopsy Robot Based on PMAC
  19. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  20. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus