Research & Development of Teaching Simulation System for NC Programme Experiment
- Author
- CaiChunGang
- Advisor
- LuHua
- School
- Harbin Institute of Technology
- Major
- Mechanical Manufacturing and Automation
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 234
- Citations
- 6
- numerical control teaching
- procession simulation
- triangular grids
- simple calculation of intersection
Abstract
With numerical control technology developing, NC machine tools as a kind of mechanical and electrical products are widely applied in the field of machine manufacture. But because of NC machine’s high cost and the breakage to NC machine by wrong operation in using it, many universities hardly buy enough NC machines for NC teaching. Besides, simplex NC simulation software is short of third dimension, so it can not meet the requirement of NC teaching well. For above reasons, we have developed a NC simulation system applying to NC teaching.This system is divided to two parts by structure, one is hardware structure, the other is software structure. By function, hardware is divided to control message input module and communication module, software is divided to show module and background process, which is also subdivided to interpolation module, tool compensation module, NC program coding module, NC process simulation module and system interface function module.The whole structure of this system is built, and the means of implement that inputting system control messages and communication module are introduced importantly.The arithmetic of linear and arc interpolation is implemented, and the arithmetic of tool compensation is talked about particularly.The way of compiling control coding is adopted, and coding data process flow is analyzed detailed, while some relevant problems such as modal instrument procession are introduced.The implemental means of NC cutting procession simulation are researched. The conception of the object-space separating modeling technique based on the triangular grids is introduced, and simplification calculation of the points of intersection between semi-finished material and cutting scanning body brings forward, which reduces calculation quantities in simulation, increases the speed of simulation and optimizes the effect of simulation.The function of system interface is introduced, and linear and arc interpolation and tool compensation arithmetic are validated by examples.
Table of contents
Summary 4-5
Abstract 5-10
Chapter 1 Introduction 10-15
1.1 topics source and the purpose and significance of the research 10
1.2 at home and abroad NC technology experimental teaching system of the status quo and the analysis the 10-12
1.2.1 abroad NC The experimental teaching system development status and Analysis 10 - 11
the 1.2.2 of domestic CNC experimental teaching system development status and Analysis the 1.3 of NC simulation technology at home and abroad 11-12
Research and Analysis 12-14 <br / > 1.3.1 abroad NC simulation technology development 13
1.3.2 domestic NC simulation technology development the 13-14
1.4 of this thesis, the main research contents 14-15
Chapter 2 NC teaching hardware structure of the simulation system to build 15-25
2.1 the the NC teaching simulation system as a whole structural design 15-16
2.2 system input module 16-21
2.2.1 NC machining program input 16-21
2.2.2 Machine operator panel reads control information and feedback signal receiver 21
2.3 PLC and CNC serial communication 21-24
2.3.1 MSComm control serial communication 22-23
2.3.2 the MDI keyboard serial programming 23
the 2.3.3 machine operator panel the serial program designed 23-24
2.4 Chapter Summary 24-25
3 Chapter NC teaching the basic functions of the simulation system software to achieve 25-46
3.1 CNC the teaching simulation system software architecture design 25-27
3.1.1 CNC the teaching simulation system work process of the
the 3.1.2 NC teaching simulation system software structure nbsp 25-26; 26-27
3.2 decoding module design 27-32
3.2 .1 NC code rules checksum 27-29
3.2.2 after each instruction characteristic values ?? the 29-32
3.2.3 eigenvalue into the team after treatment nbsp interpolation; 32
3.3 interpolation algorithm research 32-37
3.3.1 Linear interpolation are found;
3.3.2 arcs, 32-33, 33-34
3.3.3 Surface Direct Interpolation the 34-37
3.4 tool length. compensation 37-39
3.5 C tool radius compensation algorithm 39-45
3.5.1 Overview the 39-40 3.5.2 Tool radius compensation adapter type judgment
40-42
3.5. the 3 tool compensation algorithm 42-45
3.6 Chapter Summary 45-46
Chapter 4 CNC milling simulation realization 46-57
4.1 the Geometric Modeling 46-47
the 4.1.1 direct solid modeling Act 46
4.1.2 method based on image space 46-47
4.1 .3 discrete method based on the object space 47
4.2 dynamic graphical display implementations the 47-48
4.3 development environment and simulation program developed 48-50
4.3.1 OpenGL 48-49
4.3.2 OpenGL frame buffer technology and animation 49-50
4.4 data structures and algorithms to achieve the created object space discretization method based on triangular grid 50-56
4.4.1 using rough model 50
4.4.2 roughcast, and the geometry of the tool swept volume calculated intersection nbsp the tool scanning plane equation solving; 50-52
4.4.3 the the
the 4.4.4 normal vector calculation 52-53 and handling 53-56
4.5 of this chapter Summary 56-57
Chapter 5 system running instance 57-64 the
introduction of the 5.1 system running interface 57-59
5.1. system running information display column 57-58
of 5.1.2 NC program editing page, automatically run the program page, the tool the bias settings page 58
5.1.3 machining simulation area 5.1.4 system running the overall Figure 58-59
59
5.2 NC code simulation linear interpolation 59-62
5.2.1 machining simulation 59-61
5.2.2 circular interpolation processing simulation 61
5.2.3 straight line and arc interpolation comprehensive processing simulation 61-62 the
machining simulation 5.2.4 Bezier surfaces 62
5.3 Chapter Summary 62-64
conclusion 64-65
Reference 65-68
pursue a degree during the academic 68-69
original statement of the Journal of Harbin Institute of Technology 69
Harbin Institute of Technology Master dissertation using the power of attorney 69
Harbin Institute of Technology master's degree a classified thesis management 69-70
Acknowledgements 70