The Research of Open Style Numerical Control System Based on Windows OS
- Author
- YangXianJin
- Advisor
- ZhangMingZhu
- School
- Henan University of Science and Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 172
- Citations
- 2
Abstract
Modern machinery manufacturing industry CNC system put forward higher requirements for the design and development of a according to user needs, the rapid establishment of an open-prototype CNC system to adapt to the market demand for product diversification, the development direction of the CNC system. Windows operating system has a multi-tasking operating characteristics, supports multi-threaded, can achieve the CNC system real-time multi-task control, research and development of open CNC system is an important development direction in the Windows operating system platform. The main research work of this are as follows: 1. Lack of comprehensive analysis of the development trend of the open CNC system and CNC systems based on Windows-based operating system platform, the use of the IPC machine motion control card mode and master-slave The structure of open CNC system research and development. GT-400-SV motion control card as the core of the crew of the CNC system, constitutes a real-time multi-axis motion control unit; IPC machine as the host computer for processing of non-real-time tasks. By bus communication and dual-port RAM means of communication, and the development of upper and lower computer data transfer communication protocol to protect the upper and lower computer real-time data communication, linear and circular interpolation movement acceleration and deceleration control and real-time motion control content. On the basis of the needs analysis, IPC hardware-based CNC system design system hierarchy model, given the topology of the system and the openness of the system to achieve the overall design of the system hardware and software. On the hardware architecture, modular approach to build and expand the hardware system. Select the IBM-PC bus as the bus standard function module is connected, select a motherboard with EISA slot hardware connected to the base plate, plug meet the standards board microcomputer (PC) and motion control card (the crew), build the the basic CNC system architecture. Users can plug in line with the functional blocks of the IBM-PC bus standard expansion CNC system hardware composition to meet the requirements of the system to achieve the openness of the hardware. On software architecture, the PC running the mainstream of the Windows operating system, the next-bit machine running uC / OS real-time embedded computer operating system. CNC system software features, according to the time constraint requirements, divided into hard real-time tasks, weak real-time tasks and non-real-time tasks; according to the operational requirements of the hardware I / O, divided into operating and non-operating class. Real-time I / O operations, the main function of arrangements to the motion controller. Category packaging for each function, the establishment of a common class library. Defined application programming interface (API), the dedicated software module by the user of the interface can be extended to a system, to enable the system to achieve a certain degree of openness. 4 multi-tasking CNC system control features, in-depth analysis of multi-threading technology under the Windows platform, the task scheduling strategy and inter-process communication. Further, according to the features of the CNC system, the system tasks are divided into a total system control process, the process of man-machine interface, trajectory planning process and motion control process, each process is divided into relatively independent sub-thread by setting the thread priority, using multi-thread scheduling policy and interrupt mechanism technology, to achieve the control of the CNC system weak real-time tasks, to take advantage of the next-bit machine CNC system hard real-time tasks. The system uses message the three communication mechanism of shared memory and named pipes, inter-process communication, and protection of the functional modules collaborative completion of the processing tasks. CNC system software development, VC development tools, object-oriented modular approach to design the man-machine interface software module, pre-processing module of processing procedures, decoder module and interpolation module, the host computer CNC machining code compiler, system parameter setting and tool compensation function; developed motion control module, the reference point of the CNC system control, jog, incremental control, movement, acceleration and deceleration control, spindle control, feed adjust basic functions. Debugging results show that the use of the motion control card IPC machine mode, friendly interface and motion control card for CNC build and design of the core of the system's real-time motion control systems, software systems, components, easy maintenance, to achieve a variety of motion control functions, The system has a certain openness.
Table of contents
Abstract 2-4
ABSTRACT 4-10
Chapter 1 Introduction 10-18
1.1 CNC system production and development 10-11
1.2 open CNC system 11-12
1.2.1 Definition of Open CNC System 11
1.2.2 open CNC system requirements analysis 11-12
1.2.3 open CNC system structure 12
1.3 Open CNC System status 12-16
1.3.1 Foreign Research 13-15
1.3.2 domestic research 15
1.3.3 open CNC system development trend 15-16 < br /> 1.4 open CNC system developed key technologies 16
1.5 The main task of this research content 16-18
Chapter 2 open CNC system design 18-32
2.1 CNC system design 18-19
2.2 system's open analysis 19-20
2.2.1 System design principles 19-20
2.2.2 system design implementation 20
2.3 platform hierarchy design 20-22
2.4 system topology design 22-23
2.5 CNC system hardware structure design 23-26
2.5.1 hardware architecture design principles 23-24
2.5.2 CNC system hardware structure 24-25
2.5.3 GT-400-SV motion control card 25-26
2.5.4 feed servo system 26 <br / > 2.6 CNC system software architecture design 26-31
2.6.1 CNC system software development platform of choice 26-27
2.6.2 CNC system software architecture 27-31
2.6.3 development tools and methods 31
2.7 Summary 31-32
Chapter 3 CNC multi-tasking real-time control and Open Implementation Method 32-46
3.1 CNC multi-task scheduling strategy 32-36
3.1.1 Windows system's multi-task scheduling mechanism 32 -33
3.1.2 CNC system and real-time multi-task scheduling strategy to achieve 33-35
3.1.3 Communication between processes 35-36
3.2 NC system design approach to achieve openness 36-40
3.2.1 Design of open CNC system ways to realize 36-38
3.2.2 open CNC system interface standard 38-39
3.2.3 CNC system software design 39-40
3.3 CNC Software Universal library establishment 40-45
3.3 .1 CNC system software function modules 40-42
3.3.2 General Class structure model 42
3.3.3 code interpreter class constructor 42 -45
3.4 system openness degree of realization 45
3.5 Summary 45-46
Chapter 4 CNC Programming 46-60
4.1 CNC system software program execution flow 46-47
4.2 NC software program function module class design 47-48
4.3 interactive interface module design 48-50
4.3.1 interactive interface design principles 48
4.3.2 interactive interface module implementation 48-50
4.4 NC program preprocessing module design 50-55
4.4.1 code composition analysis 51
4.4.2 pre-processing program module implementation 51 - 54
4.4.3 pre-processing program running interface 54-55
4.5 CNC motion control module design 55-59
4.5.1 Motion Control Card Interface Typical applications for the library 56-57
4.5.2 jog control module design 57-58
4.5.3 Automatic Processing module design 58-59 < br /> 4.6 Chapter Summary 59-60
Chapter 5 CNC system software debugging 60-66
5.1 test platform to build 60-65 <br / > 5.1.1 CNC overall system debugging 62-64
5.1.2 Test results 64-65
5.2 Chapter Summary 65-66
Chapter 6 Conclusions 66-68
6.1 Conclusion 66-67
6.2 further research 67-68
References 68-71
Thanks 71-72
During the master's degree research 72
Related dissertations
- The Development and Design of Numerical Contron System of Camshaft Grinding Machine
- Design、Research and Application on Universal CNC System Based on Windows
- The Research and Application of Open Architecture CNC System
- The Development and Design of Numerical Control System of Crankshaft Grinding Machine
- Research on Open Numerical Control System Based on GM-400 Motion Controller
- The Design of Motion Controller Based on FPGA and USB
- Software Design for Motion Control System Based on LabVIEW
- Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
- Design and Implementation of Dongying Tobacco Companies Instant Communication System
- The Design and Realization of the Networking Packets Simulation Software
- The Research and Design of Small Scale Wind Power Generation System
- 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
- Development for Open CNC Teaching Platform
- 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 Control System Development and Research of CNC Flame Cutting Machine Based on the Motion Control Card