Embedded real-time Linux -based CNC System
- Author
- WangRong
- Advisor
- YouYouPeng
- 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
- 2009
- Downloads
- 117
- Citations
- 2
Abstract
Embedded Systems Embedded CNC system is typical in industrial control applications , which combines machinery manufacturing, computer, information processing, automatic control and other technologies. This paper designs a kind S3C2410 (ARM920T core ) and FPGA hardware platform for embedded numerical control system . In embedded numerical control system development, select the appropriate operating system is essential. Based on the analysis of the characteristics common operating system , the paper select Linux as the system software platform , used as a real-time solution Xenomai . And Xenomai real-time, multi- API, user-level real-time characteristics of the study that the use of Linux Xenomai operating system as an embedded CNC system software development platform has significant advantages . The numerical control system by functional analysis , complete CNC system of embedded hardware and software building ; wherein numerical control system according to real-time multi-task and characteristics, and a user layer that Xenomai with the advantages of the detailed design of the software tasks module hierarchy. Analysis of the Qt / Embedded advantages and as a man-machine interface library ; cutter compensation algorithm in C has been derived based on the easy programming tool compensation formula ; discussed decoding acceleration and deceleration control , interpolation, position control and other basic motion control module programming methods ; Meanwhile, designed and implemented based on I2C communication input device drivers. Finally, the development of embedded software running CNC system platform build process . In addition, real-time on Xenomai tested . Test results show that under heavy load conditions , the kernel timer interrupt latency real-time tasks and less concentrated in 10μs , CNC system can satisfy the real-time requirements. Papers in complete real-time operating system migration , customization and testing , based on the development of most of the functionality of the system software for the subsequent development of numerical control system software and hardware FBI has laid a solid foundation.
Table of contents
Abstract 4-5
ABSTRACT 5-11
first chapter 11-17
1.1 Overview of CNC system 11 - 13
1.1.1 CNC system development history 11-12
1.1.2 domestic CNC system development status 12
1.1.3 Development Trend nbsp CNC system ; 12-13
1.2 Embedded Systems 13-15
1.2.1 Embedded System Overview 13-14
1.2.2 embedded systems CNC System 14-15
1.3 In this paper, the content and organizational structure 15-17
Chapter CNC system LINUX operating system real-time analysis 17-30
2.1 embedded operating system, CNC system selection 17-21
2.1.1 necessity of using an embedded operating system 17-19 <br / > 2.1.2 CNC system software platform to compare and choose 19-21
2.2 LINUX-based software platform for real-time embedded CNC system transformation 21-25
2.2.1 Linux The real transformation program 21
2.2.2 Xenomai the ARM9 platform solutions 21-25
2.2.3 software platform based on Linux Xenomai advantage 25 < br /> 2.3 ARM9 platform XENOMAI real-time performance of the test 25-29
2.3.1 Timer jitter measurement 26-28
2.3.2 using the provided test Xenomai measurement procedures 28-29
2.4 Summary 29-30
Chapter embedded CNC system architecture design 30-39
3.1 embedded CNC system design 30-31
3.2 embedded CNC system hardware platform design 31-33
3.2.1 host module 31-32
3.2.2 Expansion Interface Module 32-33
3.3 embedded CNC system software architecture design 33-38
3.3.1 CNC system's basic functions 33-34
3.3.2 CNC system software modules operating characteristics 34-36
3.3.3 CNC system software function modules 36-37
3.3 .4 NC system of communication between software modules designed 37-38
3.4 Summary 38-39
Chapter CNC system software functional modules 39-60
4.1 CNC system task scheduling analysis 39-40
4.2 Non-real-time layer is mainly functional modules 40-44
4.2.1 NC task management module 40-41
4.2.2 HCI module 41-44
4.3 real-time layer is mainly functional modules 44-59
4.3.1 Translation code module 44-47
4.3.2 cutter compensation - speed preprocessing module tool compensation thread 47-56
4.3.3 cutter compensation - the speed of the speed pre-processing module Pretreatment thread 56-57
4.3.4 interpolation module 57-58
4.3.5 Position Control Module 58-59
4.4 of this chapter Summary 59-60
Chapter embedded CNC system hardware-driven development 60-70
5.1 LINUX device driver 60-62
5.1.1 Linux device classification 61
5.1.2 Linux memory-mapped I / O 61-62
5.1.3 Linux interrupt handling 62
5.2 Embedded CNC System button device driver implementation 62-69
5.2.1 I ~ 2C bus describes 62-63
5.2.2 S3C2410 and hardware design nbsp ZLG7290 ; 63-64
5.2.3 ZLG7290 device driver implementation 64-68
5.2.4 Key Expansion device drivers test 68-69
5.3 Summary 69-70
Chapter embedded system software development platform to build 70-80
6.1 host development environment setup 70-71
6.2 BOOTLOADER transplant 71-75
6.2.1 BootLoader startup process 71-72
6.2.2 Several commonly used embedded BootLoader 72
6.2.3 U-Boot transplant 72-75
6.3 XENOMAI real-time kernel porting and cut 75-78
6.3.1 Linux kernel customization 75-76
6.3.2 Xenomai real-time kernel porting 76-78
6.4 root file system migration 78-79
6.5 Chapter Summary 79-80
Chapter Summary and Outlook 80-82
7.1 Summary 80
7.2 Prospects 80-82 <br / > References 82-84
Thanks 84-85
during the study period and the results of research papers published 85
Related dissertations
- The Design and Research of Real-time Linux CNC System's Software Based on OMAP3530
- The Operating System Transplant Based on the Xenomai and its Applications in the Soft PLC
- Lights Control and Test System Based on Qt
- Research on Control System for Pillow-style Packing Machine Based on Embedded Soft PLC
- Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
- ARM embedded video monitoring system based on compressed sensing
- Design and Implementation of Command&Control Computer with Master-Slave
- Linux operating system on the ARM hardware platform transplantation
- Research on Real-Time Performance of Linux Kernel and Network
- Application Research of Real-Time Linux in SMP System
- Online Inspection of Defects in Polymeric Film Products
- Design of Embedded Numerical Control System Based on ARM and R8C
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web