Research and Development on the Software of Open CNC Lathe System of the NC-embedded PC Structure
- Author
- FangShuWen
- Advisor
- ZhangGuiXiang
- School
- Hunan University
- Major
- Mechanical and Electronic Engineering
- Classification
- TG519.1 Program control lathes and CNC lathes
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 192
- Citations
- 8
- open architecture CNC system
- Motion Control Card
- the Object-Oriented technology
- OpenGL
- Dynamic Simulation
Abstract
With the rapid development of modern manufacturing,the traditional CNC system’s weakness, such as,compatibility, expandability of functions, immobile human-machine interfaces etc, becomes apparent increasingly, traditional NC systems can’t completely make use of the newly developed computer technology, so the development of NC technology was severely obstructed because of the closing of itself. Open architecture CNC system satisfies the development demand of modern technology, The research purpose of open CNC system is to solve the contradiction problems between the rapid changeable demands of market and the unique NC system,the close architecture etc, is to establish a universal system platform which will enforce the flexibility and adaptability of CNC system.This thesis does comprehensive research on the structure of open CNC system based on PC, taking the project "The reform of CK0625 lathe of Hunan Railway Professional-technology college" as the background of this thesis. After analyzing and comparing different structure of open CNC systems,we determined to develop an open CNC system based on the "PC+Motion control card" platform.Through the thorough function analysis of CNC system, According to OOP idea, system function modules of this control software are modularized and encapsulated.these function modules can be used in other similar CNC system.The hardware of this reform CNC system is made up of IPC、 GT-200SV Motion control Card, servo motor drivers 、 servo motors、 encoders 、 transducers etc.the soft ware of this reform CNC system includes NC code read and checkout module 、 Manually programming module、 dynamic simulation module、 real time display module、 automatic machining ect. The implementing methed and program flow chart of each modules are expatiated in this paper.In addition.a three-dimensional dynamic simulation of processing procedure for NC system is implemented using OpenGL technology.Finally, the research contents of this project have been summarized and specific suggestions for the research and development of open architecture control system are offered.The design and realization investigated by the thesis based on PC+ Motion control card platform of open control system can bring theoretical guidance and practical experience for later research on the open control system based on PC. It will lay solid foundation for our own country to develop open CNC system so that we can catch the
Table of contents
Thesis Statement of originality and copyright use the power of attorney 4-5
summary for 5-6
Abstract 6-11
Chapter 1 Introduction 11-17
1.1 the open CNC System Overview 11
1.2 Definition and advantages of open CNC system 11-13
1.2.1 open CNC system concept and characteristics 11-12
1.2.2 open CNC system has the advantage 12-13
1.3 open CNC system research and development 13 -14
1.4 made CNC system technology development 14
1.5 The origin and significance of the topic 14-15
1.6 the main content of the paper 15 -17
Chapter 2 open CNC system overall design 17-26
2.1 control system design 17-20
2.1.1 typical control system solutions and features 17-19
2.1.2 program and select 19-20
2.2 system software control to achieve 20-22
2.2. system master control software tools 20
2.2.2 Simulation rendering technology 20-21
2.2.3 system software flow
21-22 2.3 system hardware design 22-25
2.3.1 PC machine 22
2.3.2 solid motion control card 22-25
2.4 system the overall connection 25
2.5 Chapter Summary 25-26
Chapter 3 the open CNC lathes system software design 26-43
3.1 object-oriented the open CNC modeling method 26-27
3.1.1 lathe software object-oriented technology 26-27
3.1.2 object-oriented technology advantage 27
3.2 host program overall design 27-29
3.2.1 host program interface design 27-28
3.2.2 host program functional design 28-29
3.3 G instruction code data processing 29-31
340 multi-threaded use 31-33
3.5 NC program checks 33-36
3.5.1 NC code rule base to establish 33-34
3.5.2 NC code error analysis 34-36
3.6 PC machine spindle inverter communication program design 36-40
3.7 database application tool compensation 40-41
3.8 Chapter Summary 41-43
Chapter 4 system three-dimensional graphics dynamic process simulation research 43-60
4.1 Overview 43
4.2 workpiece modeling its description 43 -45
4.2.1 Turning simulation data structure 43-45
4.2.2 workpiece blank discretization 45
4.3 processing algorithms and 45-46
4.4 machine simulation module movement control 46-49
4.5 OpenGL graphics rendering technology 49-56
4.5.1 in MFC OpenGL the graphical programming 49-52
4.5.2 normal vector 52-54
4.5.3 displays a list of application 54-56
4.5 .4 double-buffering technology 56
4.6 turning simulation program demonstrates the 56-59 4.7 Chapter Summary
59-60
Chapter 5 CNC lathe structure model 60-70
5.1 simulation device model data obtained 60
5.2 virtual environment using a variety of three-dimensional modeling software simulation 60-61 < br /> 5.3 3DS file information module 61-65
5.4 3DS file read into the lathe simulation environment refactoring 65-69
5.4.1 3D the object reads the 65-68
5.4.2 3D object rendering the 68-69 5.5 Chapter Summary
69-70
Chapter 6 the system debugging the 70-78
6.1 system debugging 70
6.2 hardware debugging the 70-72
6.2.1 sports card debugging 71
6.2.2 Inverter debugging the 71-72
6.3 system software debugging the 72-76
6.3.1 pure software debugging 72-75 < br /> 6.3.2 switched servo controller, motor, inverter load software debugging 75
6.3.3 then load the software debugging 75-76
6.4 system running 76-77
6.5 Chapter Summary the 77-78
summary and the outlook 78-80
References 80-83 < br /> Appendix A (for Master during the academic catalog) 83-84
Appendix B (the return value of the defined axis motion planning of the state and the coordinate system status register) 84-86
Acknowledgements 86
Related dissertations
- Water Distribution Dynamic Simulation and Spacing Optimization System in Sprinkler System Based on C#and OpenGL
- Model Building and Dynamic Simulation of Manipulator Using OpenGL
- Development of Open CNC Lathe System Based on Windows 2000
- Software Design of a Certain Experience Platform Multi-parameter Monitoring System
- Research on Hydraulic Driving System DA Control
- The Design of Motion Controller Based on FPGA and USB
- Software Design for Motion Control System Based on LabVIEW
- Research and Design for the Simulator and Offline-programme System of Transfer Robot Based on OPENGL
- A Professional Technology Institute Virtual Design and Realization of the System
- Particle Systems’ Applied and Achieved in the Virtual Environment
- Design and Implement of Visual Simulation System Based on OpenGL for Rehabilitation Training
- The Control Based on the Brain Computer Interface and Research of Virtual Scene Application
- Natural Landscape Simulation Research Based on Particle System
- Research and Application of Vector Visualization Method Based on OpenGL
- The Unified Data Model of the Single and Multiple Z Value of Geological Bodies and3D Visualization、Spatial Analysis Research
- The Application and Research of Three-Dimensional Reconstruction Technology Based on Opengl in Medical Image System
- Based on the Embedded System OpenGL Anti-aliasing Technology Research and Application
- Implementation of3D Graphics Modeling and Displaying Based on OpenGL on the Android Platform
- The Design and Implementation of a Network Communication Game on Linux
- Design and Research of3D Visualization Microcomputer Interface of Virtual Experimental System