The Design and Development of Embedded CNC System Based on ARM and μC/OS-II
- Author
- WangTongTong
- Advisor
- ZhaoDongBiao
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 387
- Citations
- 4
Abstract
Embeded system is one of the most rapid developing technologies recently. It is a kind of special application-oriented computer system. The application of embedded system can shorten the developing cycle of products and improving the reliability and performance of products. In addition, it has other excellent features such as less system cost, tiny volume and low power consumption of single-chip devices as well as perfect developing environment, abundant resources and supporting operating system of PC platforms. Therefore, embedded system will have a good development future in the field of CNC.Supported by Natural Science Foundation of Jiangsu Province (BK2003005), and based on in-depth study of embedded system and NC system, a novel design of embedded CNC system based on microprocessor ARM is presented in this thesis. The system is designed by module, which includes microprocessor ARM module, memory module, human interface module, communication interface module, CPLD/FPGA module, input and output module. Two-step interpolation method is adopted in system in which microprocessor ARM implements rough-interpolation and FPGA system implements DDA fine-interpolation combined with an excellent accelerate/decelerate control algorithm. It ensures the continuity and stability of the CNC system. The software is developed based onμC/OS–II real-time embedded operating system. The device drivers and API functions is developed. The CNC system can control four axes and has a huge quantity of I/O ports, the spindle and handwheel signal interface. It has a friendly interface to operators. It can be used with lathe or milling machine. The CNC system has implemented and applied successfully on a lathe. The frequency of the axis output signal can reach 1MHz. The maximum feed speed of the axis can reach 60m/min. The whole performance of the CNC system has reached advanced level of CNC.
Table of contents
Abstract 4-5
ABSTRACT 5-11
first chapter 11-15
1.1 Introduction
1.2 CNC system development background 11-12
1.3 domestic and international development overview 12-13
1.4 research significance 13-14
1.5 The research main content 14-15
embedded NC system overall structure design 15-21
2.1 system requirements 15
2.2 embedded development platform of choice 15-17
2.2.1 ARM system embedded microprocessor 16
2.2.2 μC / OS-II embedded real-time operating system 16-17
2.3 embedded numerical control system hardware structure design 17-19
2.4 embedded NC system software structure 19-21
Chapter embedded numerical control system hardware circuit design and development 21-49
3.1 ARM microprocessor module 21-25
3.1.1 S3C44B0X chip peripheral About 21-23
3.1.2 S3C44B0X System Manager 23-25
3.2 memory modules 25-30
3.2.1 EPROM 25-26
3.2.2 SDRAM 26-28
3.2.3 NAND-Flash 28-29
3.2.4 SRAM 29-30
3.3 power module 30-32
3.3.1 power conversion circuits 30
3.3.2 microprocessor monitoring circuit 30-32
3.4 man-machine interaction module 32-37
3.4.1 keyboard and LED indicator interface circuit 32-33
3.4.2 liquid crystal display circuit 33-37
3.4.2.1 S3C44B0X built-in LCD controller 34-35
3.4.2.2 Kyocera KCG075VG2BE brief 35-36
3.4.2.3 KCG075VG2BE with S3C44B0X hardware circuit design 36-37
3.5 communication interface module 37-41
3.5.1 JTAG interface circuit 37-38
3.5.2 RS-232 serial interface circuit 38-39
3.5.3 USB interface circuit 39-41
3.6 D / A converter module 41-43
3.6.1 isolation 41-42
3.6.2 D / A conversion 42-43
3.6.3 enlarged 43
3.7 CPLD / FPGA module 43-47
3.7.1 devices select 44
3.7.2 CPLD and FPGA configuration 44-47
3.7.3 Parallel Interface 47
3.8 input and output modules 47-49
3.8.1 switch input and output interfaces 47-48
3.8.2 differential signal input and output interfaces 48-49
Chapter ΜC / OS-II-based system software design 49-66
4.1 embedded CNC system design of application tasks 49-51
4.1.1 μC / OS-II embedded operating system task management 49-50
4.1.2 system software architecture planning 50-51
4.2 keyboard and indicator module and D / A conversion module software design 51-53
4.2.1 S3C44B0X SIO port 51-52
4.2.2 Keyboard and lights 52-53
4.2.3 D / A converter module 53
4.3 liquid crystal display 53-58
4.3.1 S3C44B0X built-in LCD controller driver to achieve 53-55
4.3.2 LCD interface functions 55
4.3.3 汉字库 embedded 55-57
4.3.4 System Interface Overview 57-58
4.4 interpolation control 58-66
4.4.1 interpolation concept 58
4.4.2 interpolation algorithm 58
4.4.3 crude interpolation 58-61
4.4.4 fine interpolation 61
4.4.5 speed control 61-66
system debugging 66-69
5.1 ARM processor and its peripherals debugging 66-67
the
a 5.2 numerical control system signal interface debug 67-68
5.3 Conclusion 68-69
Chapter Summary and Outlook 69-71
6.1 Full Summary 69
6.2 Research Prospects 69-71
the
References 71-74
Acknowledgements 74-75
studied papers published by the Master of the period 75
Related dissertations
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
- Research on CNC System Human Interface Based on μC/OS Operating System
- The Design and Implement of Embedded CNC System Using ARM Processor
- Research on Control Software System of Embedded NC Engraving Machine Based on ARM Processor
- Study and Realization of the Ethernet Control System and Embeeded Intelligent Node
- Research on Intelligent Robot Based on Embedded System
- The Line-protectional Research Based DSP and ARM
- Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
- Design and Application of Real-time Dam Deformation Monitoring Instrument
- Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
- Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
- Design of CTD Sensor and Research of Data Processing Technology
- Research and Development of Intelligent Board Based on Multi-sensor Fusion
- Design of 3D automatic passenger counting system
- Research on the Iris Recogniton System Based on DSP
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Design of PLC Source Program Compilation and Internal Communication System Based on ARM and FPGA
- Design and Implementation of Emergency Handheld Terminal
- Design and Implementation of Industrial Gateway Device Based on ARM
- Porting of MP3Encoder Algorithm for X86and ARM Platfroms