Study on Five-Axis Interpolation Algorithm and Numerical Control System Multitask Dispatch
- Author
- WeiShengLi
- Advisor
- ChenZuo
- School
- Guangdong University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 606
- Citations
- 4
Abstract
Nowadays, NC system is developing to Open NC system, and more and more organizations and scholars are engaged on the research in order to develop more open, more flexible and mightier NC systems. With this trend, this paper emphasizes on a five-axis surface real-time interpolation algorithm. Also, the paper discusses the multitask dispatch of NC systems based onμC/OS-II, serial communication between PC and S3C44B0X and display on LCD of S3C44B0X.The five-axis surface real-time interpolation algorithm presented by this paper is a five-axis Surface Direct Interpolation(SDI) based on Non-Uniform Rational B-Spline (NURBS) surface. We know that a NURBS surface can be determined by two parameters, and if a series of values of one parameter are found firstly, thus a series of NURBS curves determined by another parameter can be found correspondingly. If we machine the surface along these curves orderly, the whole surface can be machined in this way. The main content of this paper includes: the theory of NURBS related with this paper, how to realize the zigzag tool path, the speed and precision control when machined along curves, smooth transition between sections when a tool traveling along a curve, how to solve the values of the two rotational axes, the remnant error control between tool paths, how to reduce the calculation complexity in terms of the property of a NURBS, and the discussion about acceleration-deceleration control and tool transition between curves.At present, NC systems are more complicated and have more tasks, so it is necessary to use a OS to manage these tasks. In our research, we use the real-time OSμC/OS-II to complete multitask dispatch. In the paper, the character, transplantation to a chip and working principium ofμC/OS-II is analyzed firstly. Then the interpolation task, surface management task and communication task etc. that will be needed in a NC system are designed. After that, we design the multitask scheduling strategy and letμC/OS-II manage and schedule these tasks. Last, we realize the five-axis surface real-time interpolation algorithm based on bi-cubic NURBS surface with C language, and simulate it in a PC with MATLAB. The results of simulation indicate that the algorithm can meet expectation. We also test the multitask dispatch based onμC/OS-II. The test is based on the platform S3CEV40 provided by Embest Company. We transplant theμC/OS-II to S3C44B0X and letμC/OS-II manage and dispatch the tasks needed by the NC system. The dispatch results satisfy our need. At the same time we realize serial communication between PC and S3C44B0X and let LCD of S3C44B0X display what we expect.
Table of contents
Abstract 4-6
ABSTRACT 6-8
directory 8-11
CONTENTS 11-14
first chapter 14-20
1.1 Background and Significance 14-17
1.1.1 CNC Technical Overview 14
1.1.2 CNC technology development status 14-15
1.1.3 CNC technology to open development 15-16
1.1.4 open CNC system CNC technology development opportunities 16
1.1.5 CNC interpolation algorithm development status 16-17
1.1.6 This research significance 17
1.2 thesis research content 17-20
program design and related technologies 20-28
2.1 Design 20-23
2.2 related technologies introduced 23-27
2.2.1 five-axis linkage CNC technology (coordinates) 23-25
2.2.2 NURBS introduced 25-26
2.2.3 μC/OS- Ⅱ introduced 26-27
2.3 Summary 27-28
Chapter NURBS curves and surfaces theory 28-35
3.1 NURBS method development process 28-29
3.2 B-spline curve and surface definition, nature and algorithm 29-32
3.2.1 B-like curves and surfaces defined 29-30
3.2.2 B-spline nature 30-31
3.2.3 seek the point on the B-spline curve de Boor algorithm 31
3.2.4 B-like curve derivative vector method 31-32
3.3 NURBS curve and surface definition and algorithm 32-34
3.3.1 NURBS curves and surfaces defined 32-33
3.3.2 NURBS curve point for France 33
3.3.3 NURBS curve derivative vector method 33-34
3.4 Summary 34-35
Chapter interpolation algorithm 35-56
4.1 interpolation algorithm thinking 35-36
4.2 NURBS curve interpolation 36-43
4.2.1 Estimated the correction methods 38-42
4.2.2 curve segments between the transition 42-43
4.3 \
4.4 seeking knife-bit file 44-47
4.5 parameter ω determine 47-49
4.6 take advantage of the local nature of the NURBS reduce computational 49-50
4.7 on the transition between the acceleration and deceleration control and tool line discussion 50-55
4.7.1 deceleration control Overview 50-51
4.7.2 Surface real-time interpolation deceleration control method 51-52
4.7.3 inter-row transition method 52-53
4.7.4 deceleration control mode 53-54
4.7.5 discuss 54-55
4.8 Summary 55-56
Fifth μC/OS- Ⅱ works and multi-task scheduling design 56-68
5.1 Overview 56
5.2 μC/OS- II transplantation 56-59
5.2.1 μC/OS- Ⅱ processor requirements 57-58
5.2.2 transplantation need to rewrite code 58-59
5.3 μC/OS- II works 59-64
5.3.1 tasks, beat the clock, ready tables and μC/OS- Ⅱ communication mechanism 59-62
the 5.3.2 μC/OS- II initialization 62-63
5.3.3 multitasking start 63-64
5.3.4 task switching 64-
5.4 multitasking scheduler design 64-66
5.4.1 CNC multi-task design 64-66
5.4.2 multi-task scheduling 66
5.5 Summary 66-68
Chapter VI algorithm simulation and multi-task scheduling test 68-85
6.1 interpolation algorithm simulation 68-75
6.1.1 MATLAB and C language mixed programming 68-69
the 6.1.2 some simulation diagram and data 69-74
6.1.3 Simulation diagram and data analysis 74-75
6.2 multi-task scheduling test 75-84
6.2.1 Introduction to hardware platforms 75
6.2.2 transplantation μC/OS- Ⅱ on S3C44BOX 75-80
6.2.3 multi-task scheduling test 80-81
6.2.4 serial communication 81-82
6.2.5 LCD display 82-84
6.3 Summary 84-85
the
conclusions and Prospects 85-87
concluded 85-86
Looking 86-87
the
References 87-92
studying for a degree during the thesis 92-94
Acknowledgements 94-95
the
Appendix part of the algorithm 95-102
Appendix II surface parameters 102-103
The
Appendix III to the task scheduling part of the code 103-107
Related dissertations
- Design and Application of Real-time Dam Deformation Monitoring Instrument
- Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
- Design of CTD Sensor and Research of Data Processing Technology
- Research on the Iris Recogniton System Based on DSP
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Design and Implementation of Industrial Gateway Device Based on ARM
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- The Research on Intelligent Monitor Equoment of Reactive Compensation in Changing Ternimal of New Rural Distribution Network
- The Research and Application of Real-time CDT Protocol in DC Screen
- Research and Design of Truck-Mounted Weighing System
- Design and Implementation of Rail Flaw Detection System
- Research and Design of Quadrotor Control System Based on the Embedded
- Development and Experimental Study of Embedded Computer System for Water Quality Monitoring
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
- Study on the Resistance Welding Power Source Based on ARM Control
- Research of Coal Mine Monitoring System Based on Wireless Sensor Network
- Design and Development of Remote ECG Monitoring System
- Study on Embedded Sleep Monitor and Alarm System
- Study on the Embedded Equipment Monitoring Platform Based on μC/OS-Ⅱ and LwIP
- The Research and Design of Monitoring System on Interior Environment and Equipment Condition