Research on Control Software System of Embedded NC Engraving Machine Based on ARM Processor
- Author
- JiaTingHui
- Advisor
- GuiGuiSheng
- School
- Hefei University of Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 422
- Citations
- 5
Abstract
With the development of times, NC engraving machine which combines varioustechnique----mechanic, electronics, computer and so on has been characteristic of greatefficiency and high precision, so it has been used widely in all kinds of industries. The control system of NC engraving machine which is discussed in the paper belongs to the embedded control system. The control system which is based on the ARM processor has used μC/OS- II real-time embedded operation system to realize multitask schedule and all sources’ management.After analyzing the development status quo, the future and application of the NC engraving machine and the characteristic of embedded control system and software development of embedded system, the whole control software system of the NC engraving machine has been realized according to the factual functions. The control software systemhas 7 modules----the module of initialization, the module of keyboard scanning, themodule of LCD, the module of reading file, the module of the file translation, the module of interpolation computation and the module of servomotor control. The whole system that includes 7 modules has been separated into 3 tasks and 2 interrupt service routines (ISR) in accordance with μC/OS- II. Since adopting the global variable and the service of mailbox and semaphore which are provided by μC/OS-II, the communication among tasks or between task and ISR has come true efficiently. As a result, the parts of the control software system of the NC engraving machine can work efficiently and harmoniously.In addition, USB communication technology in the control system of the NC engraving machine has had further study. Based on comprehending the USB 1.1 protocol, USB host system has been realized successfully, including the design of USB host controller driver, USB driver and USB mass storage class driver. What’s more, a simple FAT file system has been established on the application software layer of USB host system to fulfill reading the data saved in the U disk in the process of engraving the work piece.
Table of contents
Abstract 5-6
Abstract 6-7
Acknowledgements 7-12
first chapter 12-16 <br / > 1.1 Development Status and Trends of CNC engraving machine 12-13
the 1.2 computer numerical control engraving machine application characteristics 13-14
1.3 topics, the sources and the main contents 14-16
Chapter II engraving machine control system's overall design 16-30
2.1 embedded control system features 16-17
2.2 embedded hardware system design 17-20
2.2.1 development board selection the 17-18
2.2.2 expansion circuit realization 18-20
2.3 embedded software system design 20-30
the 2.3.1 software systems overall framework 20-21
2.3.2 system initialization module nbsp to; 21 - 22
2.3.3 keyboard scanning module 22-23
2.3.4 LCD module the 23-25 ??2.3.5 file data reading module
25-26
2.3.6 file data of translation module the 26-27 2.3.7 the interpolation calculation speed control module
27-28
2.3.8 servo motor control module 28-30
Chapter μC/OS- Ⅱ engraving machine control system applications 30-39
3.1 μC/OS- Ⅱ Overview 30
3.2 μC/OS- Ⅱ on the microprocessor ARM7 transplant 30-33 in 3.2.1 on S3C44BOX
microprocessor Profile 31-32 <br / 3.2.2 transplantation conditions 32
3.2.3 migration steps 32-33 tested after
3.2.4 transplantation, transplant code 33
3.3 determine the division of tasks and interrupt service routine (ISR) 33-36
3.3.1 embedded systems, the principle of the division of tasks and features 33-34
3.3 .2 task priority allocation principles 34
3.3.3 engraving machines system of determination of the task and the function of each task 34-35
3.3.4 engraving machine of the system the task priority determination 35-36
3.3.5 engraving machine system interrupt established its design should pay attention to the problems 36
3.4 tasks and task, task and ISR communication the 36-38, 3.4.1 μ/OS- II
communication mechanism nbsp 36-37
3.4.2 engraving machine control system using the communication mechanism ; 37-38
3.5 engraving machine control system workflow between the various tasks and ISR 38-39
Chapter engraving machine control system in data communication technology research 39-71
4.1 common way of several data communications 39-42
4.1.1 serial interface 39
4.1.2 Parallel interface 39-40
4.1.3 the IEEE1394 interface 40-41
the 4.1.4 wireless communication interface 41
4.1.5 USB interface 41-42
4.2 USB application development features 42-43
4.2.1 USB and characteristics of 42-43
4.2.2 USB the application development characteristics 43
4.3 USB system model, topology and system architecture 43-46
4.3.1 USB system model 43-44
4.3.2 USB topological structure 44-45
4.3.3 USB system structure 45-46
4.4 PC machine platform USB host system and the USB device system 46-47
4.4.1 the PC machine USB host system 46-47
4.4.2 USB device system 47
4.5 USB protocol 47-57
4.5.1 USB data communication protocol the 47-52
-up standard USB device descriptor and USB device request command 52-54
4.5.3 standard USB device classes the 54-55 agreement
4.5.4 USB Mass Storage class and its subclasses UFI 55-57
4.6 USB host design
4.6.1 USB host system hierarchy 57-63 57-60
4.6.2 USB host hardware design 60-62
4.6 .3 USB host software design 62-63
4.7 USB host software implementations 63-71
4.7.1 the USB master control drivers achieve 63 - 64
4.7.2 USB core driver implementation the 64-66
4.7.3 Mass Storage Class protocol framework to achieve 66-68
4.7.4 file system 68-71
Chapter Summary and Outlook 71-73
Reference 73-76
studying for a master's degree during the Post Papers 76
Related dissertations
- Design of 3D automatic passenger counting system
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Design and Implementation of Emergency Handheld Terminal
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- Study on Embedded Sleep Monitor and Alarm System
- The Design of the Fire Alarm System Based on ARM and μC/OS-Ⅱ
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- Research and Development of Automatic Control System on Integrated Sub-packaging and Packaging Machine
- Study and Realization of the Ethernet Control System and Embeeded Intelligent Node
- The Design and Development of Embedded CNC System Based on ARM and μC/OS-II
- The Line-protectional Research Based DSP and ARM
- 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