USB-based motion control system design
- Author
- JiangWei
- Advisor
- ZhangWeiNing
- School
- Shandong University
- Major
- Signal and Information Processing
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 358
- Citations
- 3
Abstract
Motion Control, a kind of Automatic Control technique, is an important component of Numerical Control (NC) technique. It’s a precise method to control the position, velocity, acceleration and torque of the objects by digital signal. Because of the high calculation complexity of motion control, computers and control-cards have been used in most traditional motion control systems. In recent years, with the development of embedded system, more and more new micro controllers have appeared along with many advantages such as low cost, low power, high stability and real time characteristic, and they will take the place of computers to be the "heart" of NC systems gradually. A motion control system based on an embedded MCU is introduced in this thesis.This paper elaborates the principle of motion control systems. Based on analyzing of many software and hardware cases, a collective design of embedded pneumatic marker is given out as well as hardware configuration and way of realization. Besides, the paper describes the micro controller and peripheral circuits of the system, and discusses the algorithm of 3-axis motion control, then programs the algorithm and implements it on the hardware plat.The control system is uPSD3234A-40U6, which combines an 8032 micro-controller core, and expands some peripheral modules such as mass Flash memories and PLD (programmable logic device). This paper describes the memory organization, I/O ports, CPLD (complex PLD) module of the chip, then discusses the usage of the PSD soft Express software, which is used for set the chip.Data transmission between PC and this system is via USB interface. After the introduction of USB protocol, the paper discusses the usage of the general interface module USB20C, which used in the system. At last, give out a practicable communicate rule adapts to the requirement of this system, and then the high-speed and stabilized data transmission is realized.This system uses interpolation algorithm of comparison and integration to control the moving track of the cutter. After analysis of some common interpolation algorithm, principle of comparison and integration, and the programming flow of linear and circular interpolation, are expounded. Additionally, the disposal of some problem in practice, such as unified programming on four quadrants and error correction while interpolating, are also described.Besides, the thesis discusses some other issues, such as the power supply, some peripheral expander circuit, setting and connection of servo motor system. Finally, with the combination of all parts, an integrated project of pneumatic marker is constructed.Experiment proved that the collective design of the system is correct. According to the application requirements, many issues are considered in this project, such as performance figure, cost, anti-jamming capability, components layout, mechanical structure, electrical structure, and so on. While the system designing, the software and hardware have all been analyzed, demonstrated, tested, debugged and modified reiteratively, and pass the finial debug of the system, and achieve the anticipative design objective finally.This is a thesis for research and development, which serves for practical application. The design project not only adapts to a pneumatic marker, but also adapts to many other motion control systems, such as NC machine tools, robots, carving machines, plotters, and so on, and with high practical and generalized value.
Table of contents
Summary 5-7
ABSTRACT 7-9
first chapter 9-13
1.1 embedded systems rapid development 9
1.2 CNC System Overview 9-11
1.3 USB motion control system 11-12
1.4 This topic has completed 12-13
Chapter II system solutions 13-17
2.1 system design requirements 13
2.2 overall system program 13-17
2.2.1 main control unit program 13-14
2.2.2 servo motor programs 14-15 <br / > 2.2.3 Peripheral expansion program 15
2.2.4 system software solutions - interpolation algorithm 15-17
Chapter Master unit nbsp Series MCU Overview; 17-35
3.1 STμPSD3200 17
the 3.2 master unit chip-μPSD3234A-40U6 17-19
3.3 μPSD3234A -40U6 functional structure 19-31
3.3.1 memory composed 20-23
3.3.2 I / O port 23-24
3.3.3 set the system address space using the the PSD soft software the CPLD within a 24-29
3.3.4 using on-chip quadrature encoder pulse (QEP) conversion function 29-31
3.4 system protection the 31-35 3.4.1 system power saving mode
31-32
3.4. 2 reset 32-35
Chapter servo motor system 35-37
4.1 M420 stepper drive Overview 35
4 the .2 M420 interface and set 35-37
Chapter USB communication 37-49
5.1 USB Introduction 37-38 <br / > 5.1.1 USB development the characteristics 37
5.1.2 USB 37-38
5.2 USB data transmission 38 - 41
5.2.1 USB bus protocol the 38-39 the 5.2.2 data transfer bandwidth
39-40
5.2.3 data transmission Type 40-41
5.3 high-speed USB interface control module USB20C 41-43
a USB 5.4 The system design 43-49 < br /> 5.4.1 USB part of the hardware design the 43-45 5.4.2 USB part of the communication protocol design
45-49
Chapter peripheral expansion circuit 49-54
6.1 system power supply design 49-51
6.2 system clock design 51-54
Chapter VII motion control software design 54-71
7.1 Interpolation basic concept 54-55
7.1.1 pulse incremental interpolation 54
7.1.2 data sampling interpolation 54-55
7.2 several other interpolation methods of analysis and comparison 55-59
7. 2.1-by-point comparison method the 55-57 7.2.2 digital integration
57-59
7.3 Comparison and Integration 59-71
7.3.1 Comparison and Integration linear interpolation principle 59-61
7.3.2 The system of linear interpolation process 61-62 <br / 7.3.3 pulse intervals law principle of circular interpolation the 62-64
7.3.4 four-quadrant circular interpolation 64-68
7.3.5 The actual programming circular interpolation error correction 68-69
7.3.6 This system circular interpolation process nbsp the; 69-71
Summary 71-72
Appendix 72-75
Appendix 1 μPSD3234A-40U6 wiring diagram 72-73
Appendix 2 main control board and the whole figure the 73-74
Appendix 3 of the actual print nameplate effects to References 74-75
75-77
Acknowledgements 77-78
studying for a degree during the academic 78-79
thesis reviewers and the respondent table 79
Related dissertations
- Design of Continuous and Automatic Computerized Quilting Machine
- AGV car design and development of image recognition and motion control technology based on
- Research on Automatic Vision Solder Paste Printer of Embedded Ethernet Control and Communication System
- Design and development of laser gyro and USB interface frequency test system
- Research on the Embedded Motion Controller Based on OMAP-L138
- Software Design of a Motion Controller Based on DSP
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9