Study on Scheduling Theory in Real-Time NC System and Its Applications
- Author
- YaoZuoZuo
- Advisor
- PanXueZeng , ChenZiChen
- School
- Zhejiang University
- Major
- Computer Science and Technology
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Doctoral dissertation
- Year
- 2006
- Downloads
- 645
- Citations
- 13
- NC system
- real-time schedule
- fault-tolerant schedule
- Rollback Recovery
- worst-case execute time
- Path analysis
- control flow representation
- Finite state machine
- temporal constraint network
Abstract
As numerical control (NC) technique is becoming prevalent in advanced manufacturing industry, there is an increasing demand for more complex, sophisticated, and dependable hard real-time computing systems, where periodic and aperiodic tasks generally co-exist. Both periodic tasks, such as cutter compensation, interpolation, position control, etc, and aperiodic tasks created by paroxysmal events must be completed within their deadlines. Meanwhile, timing constraints are essential for the correct running of the system even if hardware or software faults occur. Therefore, real-time computing requires jointly scheduling periodic and aperiodic tasks which are always correlative in execution ordering or resource contention, and needs fault-tolerance to behave correctly despite the presence of failures. In order to meet all above new requirements, we present a real-time scheduling theory for NC system, and the effectiveness and feasibility of theory is demonstrated with simulation results. The main work and contributions in this dissertation are as follows.Firstly, the art of the state of real-time scheduling theory is researched in this thesis. The principles and ranges of application of some typical returns are analyzed especially, and the main problems of existing research are put forward.Secondly, considering the characteristics of periodic and aperiodic tasks in NC systems, a new hybrid tasks system model is presented in the thesis and the heuristic best-first (BF) algorithm is introduced to schedule tasks of this model. The design principles and pseudocode describe of BF algorithm are presented. The computation complexity of algorithm is analyzed, and simulation experiment is carried out.Thirdly, considering the bad environment of industry field which tends to cause some unexpected faults of NC machine tool, fault-tolerant technique based on rollback recovery is introduced into BF algorithm to remove transient fault of system.Fourthly, the current research station of worst-case execute time (WCET) is analyzed in detail. Then, to improve the over pessimistic result and reduce the time cost of WCET prediction, a new scheme is proposed in the thesis. Through adjusting the structure of program, using symbolic execution technology and branch-and-bound method, the scheme eliminates infeasible paths and decreases the number of paths to be analyzed. The accuracy and efficiency of WCET analysis are raised effectively with this scheme.
Table of contents
Abstract 5-7
ABSTRACT 7-9
directory 9-12
first chapter 12-24 <br / > 1.1 Background 12-17
1.1.1 CNC systems and real-time computing needs the 12-14
1.1.2 Research of real-time systems scheduling theory 14 -17
1.1.3 This study motivation 17
the 1.2 main research content 17-18
1.3 The structure of the paper 18-20 the
References 20-24
Chapter II real-time system scheduling theory 24-49
2.1 real-time tasks and their attributes 24-26
2.1.1 Tasks and task time attributes the 24-25
2.1.2 classification task 25
2.1.3 task 25 - 26
2.2 real-time scheduling algorithm 26-34
2.2.1 Real-time scheduling algorithm outlined 26-28
2.2.2 static real-time scheduling algorithm 28-30
2.2.3 dynamic real-time scheduling algorithm the
nbsp 2.2.4 hybrid tasks set scheduling algorithms; 30-34
2.3 real-time task execution time predictions are found; 34-43
2.3.1 execution time prediction principles and ideas 35-37
2.3.2 real-time program execution path analysis 37-39
2.3 the .3 machine instruction execution time the 39-42
2.3.4 impact WCET comprehensive analysis of the factors 42-43
the 2.4 issues raised 43-44 < br /> 2.5 Chapter Summary to References 44-45
45-49
Chapter heuristic best-first real-time scheduling algorithm 49-66
3.1 mixed task scheduling model the 50-52
3.1.1 task time parameters described 50-51
3.1.2 task switching 51 < br /> 3.1.3 scheduling objective 51-52
3.2 heuristic best first search strategy 52-55
3.2.1 heuristic best-first search strategy for solving problems Description 52-53
3.2.2 heuristic evaluation function constructed 53-55
3.3 mixed task set BF scheduling algorithm 55-57
3.4 algorithm example the 57-59
3.5 algorithm complexity The analysis and applicability discussed 59-62
3.6 Performance Analysis 62-63 <br / > 3.7 Chapter Summary to References 63-65
65-66
Chapter of fault-tolerant scheduling of mixed task set 66-81
4.1 fault-tolerant theory 66-70
4.1.1 fault tolerance concept 66-67
4.1.2 redundancy management 67-69
4.1.3 fault-tolerant processing technology 69-70
4.2 real-time fault-tolerant scheduling 70-73
4.2.1 permanent fault tolerant scheduling 70-71
4.2.2 the temporary fault tolerant scheduling 71-73
4.3 rollback recovery and BF algorithm-based fault-tolerant scheduling 73-76
4.3.1 Rewind recovery model 73 -74
4.3.2 BF algorithm based on rollback recovery and fault-tolerant scheduling strategy 74-76
4.4 algorithm simulation and performance analysis 76-78
4.5 This chapter Summary to References 78-79
79-81
Chapter real-time task execution time prediction 81-96
5.1 execution path analysis Overview 81-83
5.2 program structure extended control flow chart described 83-85
5.2.1 Properties extended control flow graph 83-85
5.2.2 CPU cycles absolute time estimates nbsp pretreatment to eliminate 85
5.3 branch conditions explicit conflict; 85-90
5.3.1 unreachable the path branch statements conflict 85-87
5.3.2 explicit conflict pretreatment to eliminate the 87-90 heuristic
5.4 WCET analysis algorithm 90-93
5.4 .1 symbolic execution of the program 90-91
5.4.2 WCET algorithm based on symbolic execution and branch and bound thinking 91-93
5.4.3 algorithm application instance 93
5.5 Chapter Summary 93-94
Reference 94-96
Chapter VI design and implementation of real-time numerical control system 96 - 115
6.1 design objects 96-99
6.1.1 CNC system of tasks and work process 97-99
6.1.2 multi-task parallel processing 99
the 6.2 control flow representation and design 99-106
6.2.1 control flow expression real-time finite state machine model 100-102
6.2. 2 time constraint network-based control flow schedulability analysis 102-105
6.2.3 CNC system troubleshooting process design and analysis 105-106
6.3 fault-tolerant CNC scheduling program design are found; the 106-110
6.4 real-time software CNC system to achieve 110-112
6.5 Chapter Summary to References 112-113
113-115
Chapter VII Conclusion and further work 115-118
7.1 thesis work summarizes 115-116
7.2 further work nbsp PhD; 116-118
during the Papers and to participate in the research situation 118-119
or hiring academic 118
participate in the research project 118-119
Acknowledgements 119-120
Related dissertations
- Strategies for Service Recovery in Cost-oriented E-retailing
- An Empirical Research on the Effect of State-owned Enterprises’ CSR Performance on Financial Performance
- Study on Factors Affecting Peasants’ Entrepreneurial Behavior Based on TPB Theory
- Study on the Development Model of County Economy in Henan Province
- Study on the Relationship between Regional Urbanization and Real Estate Industrial Development
- The Influence of Real Estate Level on New Urbanization in Fujian Province
- The Path Empirical Analysis of National Competitiveness Decision Factors
- Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
- Research of Hart Multiplexer and Its Software Design
- The Research of XSS Detection and Defense Based Hash Tree Matching Model
- Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
- Research and Implementation of Intelligent Decision-making System in Business Simulation Game
- Real-time Operating System Customization of Linux and Development of Device Driver
- Research of Rollback Recovery Based on Dependency Tracking and Message Counting
- Research on Message Log Recovery Algorithm Based on Message Reordering and Message Number Check
- Wireless Sensor Network Based Active Logistics Status Tracking System
- Study on indoor localization method based on radio frequency fingerprint
- Study and Research of HDCP System Based on FSM
- Motion Pattern Recognition and Control of Active Knee Prosthesis
- Study of the Internet Use and Health Anxiety in HIV Negative Test People