CNC lathe machining simulation system research and development

Author
JinJiaoTong
Advisor
SunDongMing
School
Kunming University of Science and Technology
Major
Mechanical Design and Theory
Classification
TG519.1 Program control lathes and CNC lathes
Degree
Master's thesis
Year
2007
Downloads
230
Citations
1

Request the full text

Abstract

Nowadays, in the course of the usage of NC machine, the method of checking NC program is one of important factors effecting on productivity.When NC program is being made,it is unavoidable for some errors to occur in program,because a lot of things have to be thought.These errors will result in waste of capital,manpower and time if they occur in the process of manufacturing.So NC program must be examined to assure it is right before it is used to production.There are usually some methods to examine NC program, such as Manual inspection, test-machining, etc. Obviously, the way of test machining reacts actively on such aspects as relieving programmer and enhancing using frequency of NC machine. But this course spends a long debugging time and a high cost, and moreover, is prone to accidents. Therefore, NC machining needs more effective and practical test methods.With computer simulated technology and computer graphic technology, this thesis analyzes simulation system of the NC lathe. The design principle of module is advanced in this thesis based on the Visual C++.NET developing environment. By using visible and face-object programming tools, this thesis develops a simulation system of NC lathe, and displays the simulating method of NC lathe processing. This simulation system can not only examine correctness and rationality of NC program, and prevent NC equipment being damaged, but also reduce higher waste and cost by test-machining before. So it reduces greatly the development cycle of new product. Moreover, Machining Process Simulation can also optimize producing, train programmer and so on.This thesis has mainly accomplished contents as follows:(1) By analyzing the simulation system of NC lathe, proposes the general design plan of the simulation system of NC lathe based on the characteristic of NC lathe.(2) By analyzing and comparing the principle of interpolation, realizes the program of interpolation module.(3) By studying ISO6983 NC code , realizes the translation module of NC code examined in grammar and Morphology.(4) Analyzing Multi-thread technology in detail, realizes NC lathe Machining Simulation based on Windows Multi-thread technology.(5) Designs the friendly Windows style interface of NC lathe Machining Simulation.(6) Realizes the help module of NC lathe Machining Simulation.

Table of contents

Abstract 3-5 Abstract 5-10 The first chapter 10-16 1.1 Overview of NC machining simulation technology 10 1.2 research status and problems 10-14 1.2.1 Research abroad 10-12 1.2.2 Domestic Research 12-13 1.2.3 Trends and Problems 13-14 1.3 of this thesis content and meaning 14-15 1.3.1 of the purpose and content 14-15 1.3.2 Significance of the Research 15 Summary 15-16 Chapter CNC lathe emulation system overall design 16-25 2.1 CNC lathe Profile 16 2.1.1 CNC lathe composition 16 2.1.2 CNC lathe works 16 2.2 The overall structure of simulation system design 16-19 2.2.1 overall system design principles 16-17 2.2.2 System design 17-18 2.2.3 HMI simulation system design 18-19 2.3 simulation system key technologies 19-22 2.3.1 Object-Oriented Technology Overview 19-20 2.3.2 Object-oriented design methods 20-21 2.3.3 object-oriented class establishment 21-22 2.4 simulation system development platform 22-24 2.4.1 Visual C. NET Introduction 22-23 2.4.2 Visual C programming elements 23-24 Summary 24-25 Chapter interpolation system design and implementation 25-39 3.1 Overview 25-28 3.1.1 pulse incremental interpolation algorithm 25-26 3.1.2 Data sampling interpolation algorithm 26-28 3.2 interpolation algorithm principle 28-32 3.2.1 Linear Interpolation Principle 28-30 3.2.2 Circular interpolation principle 30-32 3.3 interpolation algorithm error analysis 32-33 3.4 software interpolation process simulation in the realization 33-38 3.4.1 interpolation process design 33-37 3.4.2 interpolation procedures designed 37-38 Summary 38-39 Chapter NC program compilation system design and implementation 39-53 4.1 compiler technology overview 39-42 4.1.1 NC code address character analysis 41 4.1.2 NC code programs word analysis 41-42 4.2 lexical analysis 42-44 4.3 parser 44-48 4.3.1 Parsing Principle 44-47 4.3.2 Types of Error parsing 47-48 4.4 Error Handling Principle and Implementation 48-50 4.5 system functions to achieve 50-52 4.5.1 NC code compiler implementation 50 4.5.2 build system interface Features 50-52 Summary 52-53 Chapter simulation based on multi-threaded processing to achieve 53-69 5.1 software for real-time 53-54 5.2 processes and threads 54-63 5.2.1 Overview 54-55 5.2.2 thread creation and stop 55-59 5.2.3 Communication between threads and synchronization 59-63 5.3 CNC multi-threaded implementation 63-68 5.3.1 thread creation 63-64 5.3.2 thread priority setting 64-66 5.3.3 thread synchronization to achieve 66-68 Summary 68-69 Chapter simulation system and examples of verification 69-81 6.1 system interface overall layout 69-73 6.1.1 System Menu Introduction 70-71 6.1.2 System Toolbar 71 6.1.3 System Control Introduction 71-72 6.1.4 System Operation button function code is written 72-73 6.2 NC machining program code calls 73-75 6.3 animation shows 75-77 6.3.1 Image Processing Overview 75 6.3.2 Simulation System animation display method 75-76 6.3.3 Tool animation shows 76-77 6.4 instance validation and analysis 77-80 6.4.1 Example 77-79 6.4.2 Case Study 79-80 Summary 80-81 Chapter VII Conclusion and Outlook 81-83 7.1 Conclusion 81 7.2 Prospects 81-83 Thanks 83-84 References 84-89 Addendum: I published during the master's academic situation 89

Related dissertations

  1. Research on Text Extraction and Inpainting Algorithms in Colored Images
    ZhangXiaoLin ·Wuhan University of Technology ·2012 ·Master's thesis
  2. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  3. Research on Multi-axis Motion Controller Based on CAN Bus
    LiGang ·Xi'an University of Engineering ·2012 ·Master's thesis
  4. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  5. The Research of IPv6Transition Technology Based on Tunnel and ⅠⅥ Mechanism
  6. Research on Applications of Multiresolution Analysis in Geometry Modeling
  7. Research on Surface Reconstruction from Triangular Mesh
    LiWeiTao ·Shandong University ·2013 ·Doctoral dissertation
  8. The Interpolation and Conformal Smooth Stitching of NURBS Curves and Surfaces
    DengPeiSen ·Wuhan University of Technology ·2013 ·Master's thesis
  9. Point Spread Function Obtaining Research Based on the Linear Space Variant Image Restoration
    HaoLing ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Multi-threshold Image Segmentation Techniques Based on Intelligent Optimization Algorithm and Its Parallel Speedup
  11. Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
    LiangKaiRong ·Guangxi University ·2012 ·Master's thesis
  12. Research on mining algorithm of hierarchical clustering and frequent patterns in time series stream
  13. The Design and Optimization of Select Operation in Column-storage Database Based on Multi-core Processor
  14. Design and Implementation of the Online Learning System for the C Language Based on the J2EE
    QuXiao ·South China University of Technology ·2013 ·Master's thesis
  15. Design and Implement of Network Traffic Statistical Analysis System Based on Winpcap
  16. Design of supervisory control configuration software based on XML document
  17. Research on Shared L2Cache Management Mechanism Based on CMP
    ZhangJie ·Harbin Engineering University ·2013 ·Master's thesis
  18. Research on Pilot-Aided OFDM Channel Estimation Methods
    MaMingZhuo ·Northeastern University ·2011 ·Master's thesis
  19. Research on Pilots Based Channel Estimation Technology for Compatible Single-sideband Modulation OFDM Transmission with Direct Detection
    ShuQingLong ·Hunan University ·2013 ·Master's thesis
  20. Design and Implementation of H.265-based Software Decoding Platform