Development of Open CNC Lathe System Based on Windows 2000
- Author
- ChenDeMiao
- Advisor
- ZhangGuiXiang
- School
- Hunan University
- Major
- Mechanical and Electronic Engineering
- Classification
- TG519.1 Program control lathes and CNC lathes
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 286
- Citations
- 6
- open architecture CNC system
- Motion Control Card
- Tool Compensation Library
- Serial communication
- 3D Dynamic Simulation
Abstract
The traditional CNC systems have close control architecture. There are some disadvantages for these systems: On the one hand, it’s difficult to modify or enlarge the CNC system’s function. The producer of machine tool and customer hardly integrate their special technology into CNC system. On the other hand, it’s difficult for producer of the controller to construct CNC system rapidly on the market demands. The method to solve the problem is to establish open CNC system.Through the research of open architecture NC systems at home and abroad, the thesis analyzes and contrasts several open modes and system structures and the "NC insert PC" mode is adopted to establish the working table. On the design of hardware resource of a PC computer itself and connecting with the Motion Control Card .On the design of software, in the Windows 2000 environment, this paper realizes the DIY of software in the design method of modularization structure by the development tool of Visual C++, which materializes the basic idea of open system structure.In accordance to the thorough function analysis of the hardware structure of CNC system, we confirm the main frame of the system. And discuss a series of questions about the motion control card, convert, AC servo motor and Industrial Personal Computer. Then, researching the multitask and real time of Windows 2000 operating system, we established the software structure of this CNC system and the problem to solve of the project. On the basis of these, we finish selecting Object Oriented language-Visual C++ as develop tools, and OpenGL as the 3D graph platform; designing the system software, include of Man-machine-interface, NC code translation, serial communication control between PC and the converter, and tool compensation library. Finally, we develop 3D dynamic simulation of the system using OpenGL.In the part of debugging, we explain the environment and the purpose of debugging. From the aspects of hardware and software, we debugg the whole CNC system, then analyze the result.Combining with practice, we discussing the characteristics and development direction of the open CNC, and point out some suggestion
Table of contents
Summary 8-9
Abstract 9-11
first chapter 11-16
1.1 CNC technology development history -12
1.2 Open CNC System Overview 12-14
1.2.1 traditional numerical control system architecture 12-13
1.2.2 Open CNC System Development and Research the 13-14
1.3 The subject of the origin and significance 14
1.4 papers 14-16
first PC-based open CNC hardware component system, Cap 16-31
2.1 Introduction 16-17
2.2 basic know thinking of developing open CNC system 17 -19
2.2.1 maximize the use of PC hardware and software resources 17-18
2.2.2 Modular 18
2.2.3 portability 18
2.2.4 scalability are found; 18-19
2.2.5 dynamic configuration system 19
2.3 PC-based open CNC hardware structure the 19-22 2.3.1 hardware platforms
19-20
2.3.2 new CNC system hardware components 20-22
2.4 this numerical the hardware structure of the system; nbsp 22-29
2.4.1 motion controller 22-23
2.4.2 Inverter 23-26
2.4. 3 AC servo motor and servo drive select 26-29
2.5 Chapter Summary 29-31
Windows-based CNC system multi-task scheduling 31-40
3.1 Introduction 31
3.2 System The multi-task parallel processing 31-32
3.2.1 Resource timeshare 31 <br / > 3.2.2 time overlap water treatment 31-32
3.3 CNC system tasks divided 32-35
3.3.1 data processing method 32 - 34
3.3.2 CNC system the task divided nbsp 34-35
3.4 multi-task scheduling system; 35-37
3.4.1 Windows operating system and more task scheduling mechanism 35
3.4.2 system of multi-task scheduling strategies and 35-37
the 3.5 system real-time analysis 37-39
the 3.5.1 Windows real-time processing limitations 37
3.5.2 Windows the CNC systems under real-time implementation 37-39
3.6 Chapter Summary 39 - 40
Chapter open CNC system software design 40-69
4.1 system development process 42
4.2 open CNC software architecture choice of development tools 42-45
4.3 45-46
4.3.1 Visual C 45-46
4.3.2 OpenGL 46
4.4 interactive interface design 46-47
4.5 control software design 47-52
4.5.1 use of the motion control card function 49 - 50
4.5.2 multithreading use 50-51
the 4.5.3 manually operated panel design. 51-52
4.6 GMFTS code processing 52-62
4.6.1 code Description 53-55
4.6.2 code inspection 55-58
4.6.3 decoding 58 -59
4.6.4 two typical G-code development process 59-62
the 4.7 spindle inverter communication program design 62-64
4.7. 1 inverter protocol 4.7.2 VC 6.0 62-63
the inverter serial communication 63-64
4.8 tool compensation library establish 64- -68
4.8.1 the CNC lathes system tool compensation the 64-66
4.8.2 the NC system tool compensation Library establish 66-68
4.9 of this chapter Summary 68-69
Chapter three-dimensional graphics system dynamic simulation 69-77
5.1 Overview 69
5.2 graphical dynamic simulation display technology 69-71
5.3 OpenGL Principles and implementation the 71-75 5.3.1 OpenGL Features
71-72
5.3.2 the model drawn and observed 72-73
5.3.3 lighting applications the 73-74
5.3.4 matrix stack concept 74
5.3.5 Real-time animation 74-75
the 5.4 emulation system to achieve 75-76
5.5 Chapter Summary 76-77
Chapter VI system debugging 77-83
6.1 Introduction 77
6.2 debugging environment 77-78
6.3 hardware debugging 78-80
6.3. 1 motion controller 78
6.3.2 Inverter 78
6.3.3 AC servo drive the 78-80
6.4 system software debugging 80-81
6.4.1 cut the power under the conditions of the software debugging the software debugging connected to the power supply under the conditions of 80
6.4.2 80-81
6.5 the stability of the control system debugging 81
6.6 debug results 81-82
6.7 Chapter Summary 82-83
Summary and Outlook 83-85
Reference 85-88
Acknowledgements 88-89
Appendix A (papers published during the study for master) 89
Related dissertations
- Research and Development on the Software of Open CNC Lathe System of the NC-embedded PC Structure
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- Research on PLC remote monitoring technology based on Internet
- Design of an Automatic Test System for Radar
- Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
- Development and design of intelligent residential area centralized control system
- Development of Simple Controller Device
- Development of Automatic Towel Hemming Machine Control System
- PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
- The Design of Motion Controller Based on FPGA and USB
- Software Design for Motion Control System Based on LabVIEW
- Research on Robot Teaching-box Based on an Embedded Computer
- The Development and Application of Tobacco WMS Based on RFID
- Design and Application of Remote Meter Reading System of Shenyang Power Company
- Design and implementation of intelligent Upper West pharmacy system software
- The Research and Implementation of Adaptive Algorithm for Serial Port Parameters Based on Linux
- The Research and Design of the Wire Tracker Based on DSP
- Study on the old age security help information system
- Research of Substation Intelligent Monitoring and Diagnosis Based on LabVIEW Platform
- Development of the Key Technologies of the Virtual Assembly System of TBM