Research on RTAI Task Scheduler Oriented to CNC System
- Author
- WangBaoSheng
- Advisor
- MaYue , WuWenJiang
- School
- Graduate School of Chinese Academy of Sciences (Shenyang Institute of Computing Technology)
- Major
- Applied Computer Technology
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 78
- Citations
- 0
Abstract
CNC system is mixed by various types of tasks , complex real-time control system . CNC machining performance depends not only on the real-time processing of hard real-time tasks , soft real-time and non- real-time task response time also depends on a variety of tasks in the system need to coordinate with each other . CNC system has the task of abnormal behavior , such as due to a program bug cause the task to miss the cut-off time , the task will lead to other tasks in the system miss the cut-off time , affecting the performance of CNC machining . Real-time system must not only meet the hard real- time tasks in the NC system requirements , but also to improve the response time of the soft real-time tasks , isolation between tasks . However, existing real-time system only has a single scheduling algorithm , such as RTLinux and RTAI only RM and EDF scheduling algorithms , can not solve the the mixed task scheduling problem . Therefore, this thesis on the basis of the analysis of the RTAI underlying implementation and task scheduling process in RTAI mixed task scheduler and task characteristics according to the CNC system designed CNC system scheduling model . The paper introduces the basic terminology of scheduling theory and Research , pointed out the limitations of existing scheduling algorithms . Secondly, detailed analysis and discussion RTAI the underlying implementation , task scheduling mechanism and LXRT principle , use LXRT mechanism on RTAI based resource reservation mechanism CBS mixing task scheduler on RTAI scheduler and improved the mixed task scheduler experimental comparison . The experiments show that the the mixed task scheduler not only to ensure the normal operation of the hard real-time tasks , but also improve the response time of the soft real-time tasks , isolate the hard real-time and soft real-time tasks . Finally, from the functions of the CNC system for the division of tasks , to discuss the characteristics of concurrent multi-task and real-time processing of numerical control system based on implementation of the RTAI mixed task scheduler , the design of the CNC system scheduling model .
Table of contents
Abstract 3-4
ABSTRACT 4-7
Introduction 7-9
first chapter 9-14 <br / > 1.1 Background 9-12
1.1.1 Real-Time Scheduling Research 9-11
1.1.2 CNC system task scheduling 11-12
1.2 The main research contents 12
1.3 papers organizational structure 12-14
Chapter II real-time scheduling of the basic theories and methods 14-23
2.1 basic real-time scheduling theory 14-15
2.1.1 Basic concepts and terminology 14-15
2.1.2 Classification of real-time tasks 15
2.2 real-time scheduling algorithms and strategies 15-18
2.2.1 Scheduling Algorithm classification 15-17
2.2.2 basic scheduling strategy 17 -18
2.3 Hybrid task scheduling algorithm 18-22
2.3.1 Typical scheduling algorithm 19-20
2.3.2 RM-based hybrid scheduling 20-22
2.3.3 EDF-based hybrid scheduling 22
2.4 Summary 22-23
Chapter RTAI underlying implementation and scheduling analysis 23-36
3.1 RTAI underlying implementation 23-27
3.1.1 Real-time hardware abstraction layer RTHAL 23-25 ??
3.1.2 ADEOS 25-27
3.2 RTAI scheduler analysis 27-31
3.2.1 and scheduling-related data structures 27-28
3.2.2 RTAI scheduling algorithm 28-29
3.2.3 RTAI scheduling process 29-31
3.3 LXRT 31-35
3.3.1 rtai_lxrt.ko module 31-33
3.3.2 LXRT scheduling process 33-35
3.3.3 RTAI programming compared with LXRT 35
3.4 Summary 35-36
Chapter RTAI task scheduler implementation mixed 36-50
4.1 RTAI scheduling problems 36
4.2 hybrid task scheduling to define 36-40
4.2.1 Related concepts 37
4.2.2 CBS Hybrid task scheduling algorithm 37-38
4.2.3 CBS Algorithm 38-39
4.2.4 Isolation 39-40
4.3 hybrid task scheduler designed 40-42
4.4 mix task scheduler implementation 42-44
4.4.1 key data structures 42-43
4.4.2 key technology 43-44
4.5 Experimental Test 44-49
4.5.1 software platform structures 44-47
4.5.2 Experimental Design 47-48
4.5. 3 experimental results 48-49
4.6 Chapter Summary 49-50
open CNC system Chapter scheduling 50-60
5.1 The basic structure of CNC system software 50-55
5.1.1 CNC system functions 50-52
5.1.2 CNC division of tasks 52-53
5.1.3 CNC system features 53-55
5.2 CNC system task scheduling 55-59
5.2.1 RTAI scheduling structure 55 - 56
5.2.2 scheduling model 56-59
5.3 duty cycle and priority 59
5.4 Summary 59-60 <br / > Conclusion 60-62
References 62-65
published articles 65-66
Thanks 66
Related dissertations
- Design and Implementation of the Trace and Debug Tool in RTAI-based CNC System
- Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
- Research&Realization on Key Technologies of Semi-physical Simulation Platform Based on RTAI
- The Study of Laser Processing Movement Control and NC Programming
- Research on the NC System Design and the Simulation of Aspheric Surface Fabrication Based on Tool Swing Feeding
- CNC System Hardware Design and Realization Based on Embedded Processor
- Studies in Laser-cutting Technology CNC System Based on STEP-NC
- Design and Development of Special CNC for PCB Drilling Machine
- The Tap Grinder Control Model Research Based on HNC-21CNC System
- Study on Field Bus Technology with High Speed and High Precision Multi-channel CNC System
- The Selection of Key Components and Interface Design of Pentahedral Gantry Machining Center
- Development and research of CNC system based on ARM and CPLD
- Research on Cnc System of Finishing Machine Toolfor Hemispherical Resonator Based on UMAC
- Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
- Research and Development of Interpolation Control on CNC System for Gear Machine
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
- Research and Application of the CNC System for the Fully Automatic Saw Grinding
- Micro-Nano Grinding Machine CNC System Planning and Integration of Spindle Control and Monitoring
- Research on CNC System of Precision5-axis Micro-milling Machine Tool Based on IMAC
- Reserch on Open CNC Wire Cutting Platform's Trajectory Control Technology and Decoding Module