Development and Application of High-speed Motion Controller Based on ARM+CPLD
- Author
- LiSenLei
- Advisor
- LiXueJun , HuBinLiang
- School
- Hunan University of Science and Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 354
- Citations
- 6
Abstract
There are two main motion control types in these days, one is based on PLC and motion control module, the other is based on PC and motion control card, both have advantages and disadvantages, but there are common following shortcomings. First, because almost all of them adopt a common microcontroller (MCU and DSP) to achieve motor control, since the restrictions of the CPU’s speed, as well as a number of CPU processes need to be operated at the same time, so it can not promise the accuracy and the speed in the application of some relatively high speed of occasions. Second, the component of motion control is only a part of the whole system, if we complete a full control over the machinery and equipment, we also need other digital/analog control equipment. It is greatly increasing the system cost and also lowering the system reliability.In this dissertation, a High-speed motion controller which is based on ARM+CPLD is designed. The closed-loop control of motor is completed by a high-speed processor CPLD, the complex motion planning is achieved by the 32-bit processor LPC231X of ARM7 TDMI. it makes the motion control more precision, speed and smooth movement. At the same time. It expands the general-purpose I/O Interface for the system which the motion control card does not have. With the exception of the 8-point high-speed pulse input and 8-point high-speed pulse output which a 4-axis motion controls is required. The system also has a 24-point digital input (optional, cathode/ anode), 25-point relay outputs. And with the help of this motion controller, it is easy to complete 4-axis motion control and some essential on-off control. The software and hardware in this system are portable. The motion control components are the core of hardware. The expansion of digital input and digital output. AI) input, DA output, and some common functional modules can be easily set aside in the ARM processor resources. The software structure is composed with three parts. In the uppermost layer,μC/OS-Ⅱoperating system is used to complete the system task dispatch. In the bottom, the operation of the equipment to be packed in the form of the underlying driver, it can be directly available to users. In the middle layer, according to different user requirements, the user program is prepared , and then it is transmitted toμC/OS-Ⅱsystem.The motion controller was used in a machine which is usd to set label on the bottles. After we analysised the movements of this machine and its electrical characteristics, the After we analysised the movements of this machine and its electrical characteristics, the function of this machine was achieved by the motion controller.
Table of contents
Abstract 5-6
ABSTRACT 6-12
first chapter 12-22
1.1 Project and the background significance
1.2 research status 13-20
1.2.1 motion controller development history 13-14
1.2.2 motion controller development status 14-15
1.2.3 motion controller trends 15-20
1.3 thesis research 20-22
second overall motion controller design 22-37
2.1 Motion Control Systems 22-23
2.2 implementation of the motor control 23-26
2.2.1 stepper motor 24
2.2.2 DC servo motor control 24-25
2.2.3 AC servo motor control 25-26
the 2.3 position control system 26-31
2.3.1 position servo control model 27
2.3.2 motion controller control strategy 27-28
2.3.3 stepper motor motion controller 28-30
2.3.4 servo motor system motion controller 30-31
2.4 motion controller constitute program compare 31-33
2.4.1 PLC-based motion control 31-32
2.4.2 PC motion control card based movement control 32-33
2.4.3 ARM CPLD-based motion control 33
2.5 motion control programs to achieve 33-36
2.5.1 High-speed pulse occurred 34-35
2.5.2 high-speed counting / frequency detector 35-36
2.5.3 data processing and communication control 36
2.6 This chapter Summary 36-37
The the
motor, high-speed, closed-loop control design 37-48
3.1 high-speed pulse control principle and realization 37-41
3.1.1 High-speed pulse hardware realization 37-38
3.1.2 high-speed counting / frequency detection principle and 38-40
3.1.3 Frequency detection principle 40-41
3.2 CPLD Verilog HDL function to achieve 41-47
3.2.1 CPLD in motion control technology applications features 41-43
3.2.2 Verilog language features and main functions 43
3.2.3 CPLD functions 43-47
3.3 This chapter Summary 47-48
Chapter IV the arithmetic control system hardware design 48-62
4.1 ARM system hardware 49-54
the 4.1.1 LPC213X programming circuit 49-51
4.1.2 ARM reset circuit 51-52
4.1.3 LPC213X clock circuit 52-53
4.1.4 RTC circuit 53
4.1.5 RS232 interface circuit 53-54
4.2 CPLD minimum system design 54-55
4.2.1 GCLR interface 54-55
4.2.2 ARM and CPLD Interface 55
4.3 Other hardware circuit design 55-60
4.3.1 system power 55-56
4.3.2 High-speed pulse output circuit 56-58
4.3.3 high-speed signal input circuit 58
4.3.4 relay output control circuit 58-59
4.3.5 Digital input circuit 59
4.3.6 RS485 communication 59-60
4.4 system anti-jamming design 60-61
4.4.1 optical isolation 61
4.4.2 signal filtering and clamping 61
4.5 Chapter Summary 61-62
Chapter μC/OS- Ⅱ operating system transplant 62-84
5.1 μC/OS- II operating system 62-66
5.1.1 μC/OS- Ⅱ operating system Introduction 62-64
the 5.1.2 μC/OS- II works 64-65
5.1.3 μC/OS- Ⅱ should pay attention to the problem of 65-66
5.2 transplantation programs 66-67
5.2.1 compiler choose 66
5.2.2 task model of trade-offs 66
5.2.3 supports the instruction set 66-67
5.3 transplantation μC/OS- Ⅱ 67-81
5.3.1 Overview 67-69
5.3.2 About the header files includes.h and config.h 69
5.3.3 write OS_CPU.H CPU file 69-70
5.3.4 to write Os.cpu_c.c file 70-76
5.3.5 on interrupt and clock beats are found; 76-78
5.3.6 write applications 78-81
5.4 motion controller software design 81-83
5.4.1 system underlying applications 81-83
5.5 This chapter Summary 83-84
Chapter motion controller sleeve labeling machine 84-90
6.1 sleeve labeling machine works 84-85
6.2 sleeve labeling machine motion control decomposition 85-88
6.3 electrical design 88-89
6.4 application software written 89
6.5 This chapter Summary 89-90
Chapter VII Summary and Outlook 90-92
the
References 92-95
studying for a master's degree during research 95-96
Acknowledgements 96-97
Appendix Ⅰ motion controller physical 97-98
Appendix II main control board to the top screen Figure 98-99
Appendix III SRPU top copper Figure 99-100
the
Appendix IV control board Bottom Copper Figure 100-101
Appendix Ⅴ top of the driver board silkscreen 101-102
Appendix VI driver board top copper Figure 102-103
Appendix VII driver board Bottom Copper Figure 103
Related dissertations
- The Research on Ethernet_based Interface of Embeded Motion Control System
- Design of Visual Servo Control System Based on the ARM Crawling Robot
- AGV car design and development of image recognition and motion control technology based on
- Design and Implementation of Ethernet Transfer Based on ARM
- Design and Implementation of the Motion Control System Based on USB Interface
- Research of Superalloy Turbine Disk by Phased Array Testing System
- System Design on Portable Four-channel Data Acquisition
- Research of the Embedded Control System of High-grade Towel Loom
- ARM and CPLD-based Design and Implementation of CNC Control System
- Weld Visual Tracking System Based on DSP and CPLD Design
- Design and Research of Integrated Data Processing and Servo Control System of Telescope
- Process Monitoring and Fault Diagnosis System and Application Based on ARM
- Embedded Web Monitoring System Based on ARM and μC/OS-Ⅱ
- Research and Design of the Dormitory Safety System Based on ARM and μC/OS-Ⅱ
- Design of Linear CCD Signal Acquisition System Based on the Architecture of Processor and CPLD
- The Development of Indoor Invironment Monitoring System Based on Embedded
- Design of Portable Flue Gas Analyzer Controller Based on ARM
- Research and Application of Temperature Nolinear Control Technology Based on ARM
- Design and Implementation of Leader I-DX Service Robot Controller Based on Fractional Calculus
- The Research on Multi-Core Embedded Motion Control System