Research and Design of CNC Lathe Simulation System with Panel

Author
ZhangShengCheng
Advisor
LuMoWu
School
Shenyang Institute of Aeronautical College
Major
Mechanical Design and Theory
Classification
TG519.1 Program control lathes and CNC lathes
Degree
Master's thesis
Year
2009
Downloads
114
Citations
1

Request the full text

Abstract

With the fast development and widely application of numerical control technology, the needs of staff training increased more quickly. To design a simulate NC software with high-effect emulation is just a method of enhancing security, economic and efficiency for demonstrating and staff training.Visual C++ 6.0 is used as a software development platform and the object-oriented method is used to analyze and design NC machining simulation system overall in this paper. Base on these, a modular design method is proposed. It makes the NC lathe simulation process divided into four sub-modules: operation panel, machining simulation environment, machining simulation process and simulation result examination, then completes each sub-module design separately, finally links up each sub-module to form a complete system. According to this thought, the paper explores the processing environment modeling method, NC program decoding process, interpolation method, the forming principle and process of the workpiece etc. The OpenGL technology is also used in the paper. By dint of the powerful 3D graphics programming functions provided by the OpenGL and the object-oriented modeling method, a process simulation environment can be set up.In order to get more real simulation environment, we make a real operation panel. A flexible panel adapter for CNC machine based on AT89C51 MCU is presented. The hardware and software of this adapter are described. The paper also gives the figure of structural principle of asynchronous serial port keyboard and the flow chart of soft ware. This adapter is interfaced with CNC systems via standard RS232 serial port. In this paper, it also introduces how to realize the serial communication based on MSComm of VC++6.0.This system has such characteristics as friendly interface, simple manipulation, good portability and expansion, thus accord with the latest development direction of NC technique.

Table of contents

Abstract 6-7 Abstract 7-11 Chapter 1 Introduction 11-18 1.1 Simulation Technology Overview 11-13 1.1.1 computer simulation technology 11 1.1.2 NC simulation technology concepts and classifications 11-12 1.1.3 CNC machining simulation study of the significance 12-13 1.2 NC simulation technology research situation 13-15 1.2.1 abroad NC machining simulation situation 13-14 1.2.2 domestic CNC machining simulation situation 14-15 1.2.3 There 15 1.3 topics of the background and main research 15-16 1.3.1 thesis is research background 15-16 1.3.2 main content 16 1.4 papers organizational structure 16-18 Chapter 2 CNC turning simulation system's overall design 18-26 2.1 system objectives and requirements 18 2.2 system development platform 18-19 2.2.1 object-oriented 18-19 2.2.2 system development tool VC 6.0 19 2.2.3 the MFC features 19 2.3 simulation system development process 19-20 2.4 system, the overall structure of 20-26 2.4.1 simulate the operation panel 21-22 2.4.2 actual operation panel 22-23 2.4.3 machining simulation environment 23-24 2.4.4 Processing Simulation 24-26 Chapter 3 panel design 26-38 3.1 analog panel design 26-30 3.1.1 Operation panel design choice 26 3.1.2 Operation panel design to achieve 26-27 3.1.3 Operation panel function buttons Analysis 27 3.1.4 operating button functions 27-29 3.1.5 Forms and controls the relationship between coordination 29-30 3.2 actual operation panel design 30-38 3.2.1 panel appearance and size of the design 30 3.2.2 processing unit works 30-31 3.2.3 hardware circuit design 31-34 3.2.4 microcontroller programming 34-35 3.2.5 host computer program designed 35-38 Chapter 4, OpenGL-based 3D modeling analysis and research 38-53 4.1 system, the development of graphics technology support - OpenGL 38-41 The main features of 4.1.1 OpenGL 38 4.1.2 OpenGL provide the basic functions of 38-39 The basic process of 4.1.3 OpenGL 39-40 4.1.4 OpenGL programming in MFC environment 40-41 4.2 three-dimensional geometric modeling method 41-45 4.2.1 wireframe modeling Act is 41 4.2.2 surface modeling 41 4.2.3 Entity Modeling 41-43 4.2.4 image-based spatial modeling approach 43-44 4.2.5 Discrete vector modeling method 44-45 4.3 NC simulation system geometric model overview 45-46 4.4 The system of three-dimensional modeling 46-53 4.4.1 Rotational three-dimensional model 46-49 4.4.2 rotary display of three-dimensional model 49-51 4.4.3 according to the cutting path to change the rotary model the shape of 51-53 Chapter 5 of the NC code decoding 53-69 5.1 NC program structure and format 53-55 5.1.1 CNC machining program composed of structural 53 5.1.2 block format 53-54 5.1.3 program, a description of each word 54-55 5.2 NC code decoding process 55-62 5.2.1 preconditioning is 56-57 5.2.2 lexical analysis 57 5.2.3 Parsing 57-59 5.2.4 explain module 59-62 5.3 interpolation method 62-69 5.3.1 Linear Interpolation 63-65 5.3.2 circular interpolation 65-69 Chapter 6 NC turning simulation process 69-76 6.1 real-time cutting simulation process 69-70 6.2 of collision and interference checking 70-72 6.3 NC turning simulation examples 72-76 Summary and Outlook 76-78 Appendix I part of the program list 78-91 References 91-93 thank 93-94 during the study for master (including recruitment), academic 94

Related dissertations

  1. Research and Application of3D Geological Modeling of Railway Tunnel System Based on OpenGL
    WangXueJiao ·RAILWAY ·2013 ·Master's thesis
  2. Development of Numerical Control Simulating System Based on Virtual Reality
  3. OpenGL-based CNC lathe machining simulation system research and analysis
  4. Research and Implementation of CNC skills assessment the simulation operation exam in automatic scoring method
    ZhongHongYan ·Shanghai Normal University ·2007 ·Master's thesis
  5. Innovative 3-D Interface for the Visualization of Organized Large Photograph Sets
  6. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  7. Research and Design for the Simulator and Offline-programme System of Transfer Robot Based on OPENGL
  8. A Professional Technology Institute Virtual Design and Realization of the System
  9. Particle Systems’ Applied and Achieved in the Virtual Environment
  10. Design and Implement of Visual Simulation System Based on OpenGL for Rehabilitation Training
  11. The Control Based on the Brain Computer Interface and Research of Virtual Scene Application
    ZhangZuoLin ·Harbin Engineering University ·2013 ·Master's thesis
  12. Research on Model and Roam Technology of3D Scene Based on WEB
    HeYingYing ·Harbin Engineering University ·2013 ·Master's thesis
  13. Natural Landscape Simulation Research Based on Particle System
  14. The Key Technology and Demonstration Application of3D Virtual Simulation
    XuJian ·Jiangxi Normal University ·2013 ·Master's thesis
  15. Research of3D Modeling and Virtual Cutting on Irregular Orebodies
  16. Daqing Wetland Tourism Virtual Reality System Design
  17. Research and Application of Vector Visualization Method Based on OpenGL
    LiHaiJie ·Northeastern University ·2013 ·Master's thesis
  18. The Unified Data Model of the Single and Multiple Z Value of Geological Bodies and3D Visualization、Spatial Analysis Research
  19. The Application and Research of Three-Dimensional Reconstruction Technology Based on Opengl in Medical Image System
    LuZuo ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Based on the Embedded System OpenGL Anti-aliasing Technology Research and Application