Research and Implementation of Virtual CNC Turning System

Author
ZhangChao
Advisor
NiJunFang
School
Suzhou University
Major
Mechanical Design and Theory
Classification
TG519.1 Program control lathes and CNC lathes
Degree
Master's thesis
Year
2006
Downloads
175
Citations
7

Request the full text

Abstract

Virtual cutting is a technology which can implement the cutting processes on the computer. Virtual reality used to achieve the dynamic simulation of cutting processes.Nowadays, CNC machine tools are used widely in manufacturing. In order to reduce the cost of test cuts, the simulation of CNC processes is needed, CNC codes are checked on the computer in virtual cutting. On the other hand, it can also improve greatly the effect of teaching and training of CNC machine tools.The methods of CNC turning simulation in 2D and 3D are discussed in this paper. A high quality virtual CNC turning system has been developed on the platform of Windows2000/XP OS and VC++6.0.This project has been accomplished as follows:1. The structure of virtual CNC turning system is analyzed and designed by using modern software engineering, succinct and friendly system interface is developed.2. CNC code structure is analyzed and all kinds of errors in programming can be checked by using lexical analysis, syntax analysis and semantic analysis.3. The simulation module which used multithreading technology is developed. By using the code driving method, the processes of CNC turning can be simulated. The 2D process is implemented in the methods of XOR and draw-erase. The 3D simulation is based on OpenGL and implemented by double buffer technology.4. The serial communication module is designed to achieve the real time communication between this system and the CNC machine tool.5. The help system module is designed for user’s easily getting system helps. With its successful simulation, interface and communication functions, this systemwill bring great convenience not only in CNC teaching but also in practice use.

Table of contents

Chapter 1 Introduction 7-15 1.1 Virtual Manufacturing Technology Overview 7-11 1.2 virtual processing technology development and the status quo 11-13 1.3 subject sources, research content and significance 13-15 Chapter 2 system overall framework 15-26 2.1 overall system design 15-16 <br / > 2.2 system main class introduced 16-18 2.3 system interface 18-19 2.4 system development platform nbsp the; 19-25 2.4.1 the Win32 multi-threading technology 19-21 2.4.2 VC 6.0 programming methods 21 2.4.3 OpenGL About 21-22 2.4.4 MFC the the OpenGL programming mode key technology 22-24 2.4.5 system to help the development 24-25 2.5 Chapter Summary 25-26 first Chapter 3 CNC code analysis 26-41 3.1 CNC language structure and its characteristics 26-27 3.2 CNC program translation are found; 27-40 3.2 .1 lexical analysis 29-32 3.2.2 syntax analysis 32-37 3.2.2 semantic analysis 37-38 3.2.3 perform translation 38-40 3.3 Chapter Summary 40-41 Chapter 4 virtual process to achieve 41-62 4.1 geometric modeling techniques 41-44 4.1.1 three-dimensional solid modeling the 4.1.2 image space-based modeling 41-42 42-43 4.1. 3 discrete vector modeling 43-44 4.2 interpolation algorithm 44-49 4.2.1 point-by-point linear interpolation 45-46 <br / > 4.2.2 point-by-point comparison of circular interpolation 46-49 4.3 two-dimensional simulation 49-53 4.3.1 MFC graphical programming method 49 - 51 4.3.2 2D animation simulation method 51-53 4.4 three-dimensional simulation 53-59 4.4.1 modeling methods 53 - 57 4.4.2 double buffering animation technology 57-58 4.4.3 3D simulation algorithm 58-59 4.5 processing instance and effect analysis for 59-61 4.6 Chapter Summary the 61-62 Chapter 5 communication functions to achieve the 62-74 5.1 numerical control system communications 62-65 5.1.1 serial communication basic concepts 62-63 5.1.2 CNC systems commonly used serial communication interface standard 63-65 5.2 serial communication programming method the 5.3 virtual machining system communication functions to achieve 65-66 66-73 5.3.1 Serial Communications nbsp the; 66-67 5.3.2 communication line connection the 67-68 5.3.3 Protocol Settings the 68-69 5.3.4 communication program to achieve 69-73 5.4 Chapter Summary 73-74 Chapter 6 Summary and Outlook the 74-76 6.1 Full summary the 74-75 6.2 Looking 75-76 < br /> Reference 76-79 study for a master's degree during the thesis 79-80 Acknowledgements 80-81 detailed summary 81-83

Related dissertations

  1. Research and implementation of virtual NC milling system
    LvLiLi ·Suzhou University ·2012 ·Master's thesis
  2. Particle Systems’ Applied and Achieved in the Virtual Environment
  3. The Control Based on the Brain Computer Interface and Research of Virtual Scene Application
    ZhangZuoLin ·Harbin Engineering University ·2013 ·Master's thesis
  4. Natural Landscape Simulation Research Based on Particle System
  5. Development of the Key Technologies of the Virtual Assembly System of TBM
    LiWei ·Northeastern University ·2012 ·Master's thesis
  6. Development and Control Strategy Research of Upper-limb Rehabilitation Robot System
  7. The simulation of irregular objects based on particle system
    LiYinDi ·Wuyi University ·2012 ·Master's thesis
  8. The Research of Mine Roadway Visualization Based on OpenGL
    YuHuiYing ·Zhengzhou University ·2013 ·Master's thesis
  9. The Simulation of Three-dimensional Trees Based on OpenGL
  10. Design and Implement of Rehabilitation Aids Game Based on OpenGL
  11. The Design and Implement of Crawler-type Automobile Virtual Driving Training System
    YaoZuoZuo ·Shenyang Ligong University ·2012 ·Master's thesis
  12. Research on 3D Simulation System of NC Turning on the Basis of OpenGL
  13. Research on3D Laser Cutting Platform of Six-Axis Robot Based on VR
    XiangJunWei ·Chongqing University ·2012 ·Master's thesis
  14. Three-dimensional Visualization Study of the Mining Industry Square on OPENGL
  15. Basic Research of Abrasive Machining on the Virtuali Numerical Circular Grinder
    DingJianGuo ·Hebei University of Technology ·2007 ·Master's thesis
  16. Research on Master-Slave Telenano-operation System Based on Force Telepresence in SEM
  17. Design and Implementation of Hydrological Information Telemetry System Based on GSM
  18. Research on PLC remote monitoring technology based on Internet
    LiuWeiGang ·University of North ·2014 ·Master's thesis
  19. Design of an Automatic Test System for Radar
    LiangYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  20. Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
    ZhangChen ·Tianjin University ·2012 ·Master's thesis