Design and implementation of open CNC system based on RTLinux
- Author
- WuHan
- Advisor
- LiuXiongWei
- School
- Huaqiao University
- Major
- Mechanical Manufacturing and Automation
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2002
- Downloads
- 278
- Citations
- 9
Abstract
Open architecture control has been becoming the essential requirement for modern CNC system. The development of CNC technique has being influenced vitally by the technological system revolution, i.e. from the closure technological system to the open architecture. Open architecture CNC system differs greatly from traditional CNC system on both the integrated system structure and concrete algorithms. This dissertation presents a systematic theoretical frame of the open architecture CNC system, and illustrates the implementation of an open CNC system based on the operating system RTLinux.The concept of open architecture CNC system has been introduced for a few years. However, its exact definition has not yet been presented. And moreover, as a new technology, it has not yet reached the matured and applicable level. The author presents an essential idea of an open architecture CNC system, and analyzes its detailed technical features. Based on the comprehension, both of the advantage and disadvantage comparing to the traditional CNC system are addressed in this dissertation.The hardware and software platforms determine basically the system structure and characteristics of a CNC system. PC has been becoming the preferred hardware platform for CNC systems. Dos and Windows operating systems have been widely used as its software platform. However, neither of them is ideal for the software platform of an open architecture CNC system, because of their limitations for either multi-tasks or real-time control requirements. So, the real-time operating system RTLinux is used to develop the open architecture CNC system.RTLinux is a real-time operating system with excellent performance. It can be used accomplish real-time multi-tasks scheduling without secondary CPU. Its source code is open for end user. Therefore, developing an open CNC system based on RTLinux helps to improve the CNC technology in China. The author addresses the characteristics of RTLinux, describes the key programming techniques for the implementation of an open CNC system based on RTLinux.The software structure, including the logic structure and scheduling structure, of an open CNC system determines its performance. The logic structure involves the function-modules classification and the data-link relationship between the modules. The scheduling structure concerns about time-allocation for multi-tasks, i.e. to ensure the real-time tasks (e.g. interpolation) being processed on time, the non real-time tasks (e.g. display) being processed properly, and all the tasks being scheduled accurately. Quite a lot of new ideas for designing both logic structure and scheduling structure of the open architecture CNC system have been implemented, including the principles of module-classification, large buffer mechanism for data transfer between modules, principles of time-allocation scheduling, and etc.Based on the software structure, the author implemented a few function-modules, such as master-control, interface, decode, interpolation, position-control. Essential techniques about programming the modules are addressedin the dissertation.The interface between the CNC system and the servo system is an essential part of a CNC system. It is vital to select carefully a suitable interface card (hardware) for the system. The author developed an interface driver program (software) for a specific interface card, which is elaborated with laying stress on to stepping servo and digital servo system.Another important control interface of a CNC system is the switching control interface. Instead of using the traditional PLC, a kind of "soft PLC" is implemented to achieve the switching control, which efficiently reduces the cost and boosts the flexibility.IT (Information Technology) is tightly associated with CNC more and more. The application of IT in the field of CNC is explored, then the net function(e.g. far distance control) and the database function(e.g. remote database accessing) of our CNC system are demonstrated.The new CNC system has already been app
Table of contents
The first chapter 7-13 CNC technology and its development trends
1.1
7-10 1.1.1 CNC technology 7-8 < br /> 1.1.2 CNC system 8
1.1.3 CNC technology trends 8-9 1.1.4 closed technical system and open
technology system the 9-10
1.2 overview of the research of open CNC 10-11
1.3 of this topic research and innovation 11-13
Chapter II CNC system build system 13-22
2.1 user demand for open CNC system 13-14 <br / > 2.2 CNC system hardware platform 14-15
2.3 CNC system software platform and system software architecture 15-22
2.3.1 CNC system software engineering 16-17
2.3.2 system software based on the the DOS platform of NC 17-18
2.3.3 system software based on the the WINDOWS platform of NC 18-19
2.3.4 CNC system software platform based on RTLinux 19-22
Chapter RTLinux system features and software to develop key technologies 22 -29
3.1 RTLinux system principles and characteristics 22-23
3.2 RTLinux platform for real-time applications, the basic structure 23-24
3.3 RTLinux real-time software development platform key technologies 24-29
3.3.1 kernel real-time threads programming techniques 24-25
3.3.2 processes and threads on communication technology 25-27
3.3.3 interrupt technology and real-time scheduling 27-29
fourth chapter of this system architecture and software modules nbsp.; 29-49
4.1 system software structure and overall operational mechanism the 30-36
4.1.1 the system module division and the overall architecture 30-31
4.1 the the .2 system timing and scheduling mechanism 31-35
4.1.2.1 Real-time multi-tasking 31-33 front and back
4.1.2.2 type 33
4.1.2.3 This system timing and interrupt type achieve 33-35
4.1.3 data buffer mechanism 35-36
4.2 kernel space program introduced the 36-44
4.2.1 decoding module and tool compensation module 36-39
4.2.2 interpolation preprocessing module and interpolation module 39-42
4.2.2.1 CNC system \pulse incremental interpolation and digital incremental interpolation the 39-40
4.2.2.3 The interpolation realization 40-42
4.2 .3 module and output module the 42-44
4.3 user-space program introduced 44-49
4.3.1 graphical interface (GUI) design ideas technology 44-45
4.3.2 The system interface overview 45-46
the 4.3.3 interface program several-major technology 46 -49
Chapter servo interface and switch interface 49-58
5.1 Linux and RTLinux device driver brief 49-50
5. 1.1 Linux driver 49-50
5.1.2 RTLinux drive, program the the 5.2 servo drive interface 50
50-54 <br / > 5.2.1 stepper servo drive interface the 51-52
5.2.2 AC servo drive interface 52-53
5.2.3 The system servo the Interface Profile the 53-54
5.3 switch interface 54-58
5.3.1 I / O interface driver module 55-56
5.3.2 PLC core module 56-57
5.3.3 PLC-CNC Interface Module- 57-58
Chapter NC system network database development and measurement functions 58-65
6.1 networking features 58-61
6.1.1 TCP / IP Socket and network programming 58-60
6.1.2 The system network functions 60-61
6.2 database functionality 61-63
6.3 measurement function nbsp 63-65
Chapter VII Conclusion and outlook; The 65-68
7.1 system complete briefing 65
7.2 The full text of conclusions 65-66
7.3 Job Outlook 66-68
Acknowledgements and Conclusion to References 68-69
69-70
Related dissertations
- The Research and Development of RTLinux-based Open Architecture CNC System of PCB NC-drilling Machine
- Shopping Mall Business IT System Study
- Research on the Coordination Management of Large-scale Project Interface of Chemical Enterprise
- Research of Layer-model of the Long-term Preservation of Digital Information Based on OASI
- Research on Emotional Design of the Interface on Social Network Website
- The Design of Main Memory Database System Based on the Dynamic Monitoring System
- The Research and Design of the IT Classroom Teaching and Management System for Primary and Middle School
- Design of Sharing Button Widget for Mobile and Group Timeline Widget from Weibo.com
- Design and Implementation of Integrated Charging System without Parking Based on PLC
- Design and Implementation of Modern Integrated Logistics Management System
- Research and Implementation of Interface Testing System Based on JUnit Framework
- Shared Memory Based Research and Design of OLE Process Control3.0Server
- Research on the Post PC Era Strategy of Dell (China) Co.,Ltd
- Research on Smart TV System Structure Based on Interaction Design
- Interface Behavior of Organic Light-Emitting Diode and Its Effects on the Performance of Devices
- The Microstructure and Evolution of Interconnect Interface in Flexible LED Package Module
- Research of Interactive Cooperation Teaching Models in the Large Information Technology Class for Middle Schools
- Research on the Secondary Education Information Management in News Times
- The Current Human Condition and Ethics in Information Technology
- The Analysis of Martin Buber "I-You" Relationship