Research on Preprocessing Technology in CNC System

Author
XuAiFen
Advisor
WangTaiYong
School
Tianjin University
Major
Mechanical Manufacturing and Automation
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Doctoral dissertation
Year
2009
Downloads
373
Citations
6

Request the full text

Abstract

Preprocessing technology, composed of error checking of NC code, decoding, tool radius compensation and acceleration & deceleration control, is the base of the motion control in CNC and determine the quality of the CNC performance to some extent. The theoretical study and practice of the preprocessing technology in CNC has important theoretical significance and practical value.The structural characteristic of NC programming language is analyzed, and the description model (regular expression) of NC programming language is constructed from the perspective of grammar, which are the theoretical basis for the recognition model of NC programming language.Based on the theory of finite automaton, Lexical recognition model, grammar recognition model and decoding model of NC code are constructed. The state transition diagram and the corresponding state transition function and its algorithm for error checking and decoding technology are constructed also, and the correctness of the models are proved according to the graph theory’s theorem. On the system platform of RTOS, the implementation of error checking and decoding technology are discussed in detail with examples.The cutter radius compensation technology is put forward based on direction vector. By introducing direction vector, the four connecting modes of liner-liner, liner-arc, arc-arc and arc-liner are simplified a kind of liner-liner, and lots of arithmetic formulae in the different connecting modes are transformed into few uniform ones, which realized the function of the C-function cutter radius compensation accurately and fast. At the same time, the concept of direction vector is applied in 3D manufacture, the theory and implementation of there-dimensional cutting tool radius compensation limited to the case of liner-liner in CNC system are studied. According to the spatial relationship of the programming outline, the algorithm for the path of cutter center of the program profile is developed, and the formula for calculating the switching point of the different transfer cases is analyzed in detail. The function of the 3D cutter radius compensation is achieved based on direction vector.The impact on parts contour error because of speed gain mismatch is discussed, and the contour error models of line and arc are built. The relationship between contour error and processing speed is drawn, which is the strong theoretical basis to choose the maximum speed in the acceleration and deceleration control. The acceleration & deceleration control technology of index rule based on least deviation is put forward, in which the motor feed frequency is controlled real-time through direct calculation method, but not consulting table method. The strategy combines the advantages of the least deviation method, index rule control method and real-time calculation method, and the acceleration and deceleration control of line interpolation, arc interpolation and screw thread interpolation is achieved. The dynamic characteristics incongruousness of each axis and position loop gains are considered as the main reasons of contour error in the thesis,The foregoing research achievements are applied in the CNC system for mill and lathe named TDNC-L4, which presents a preliminary practical verification of relevant theoretical achievements.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-9 first chapter 9-21 1.1 thesis research background and significance 9-12 1.1.1 background 9-11 1.1.2 significance 11-12 1.2 of domestic and foreign research status 12 -19 1.2.1 NC program error detection technology research status 12-14 1.2.2 NC program decoding technology research status 14-16 1.2.3 CNC cutter radius compensation research status 16-18 1.2.4 CNC machining accuracy and deceleration control research status 18-19 1.3 article the main contents of the proposed research 19-21 the second chapter is based on the theory of finite NC program error detection technology 21-42 2.1 CNC programming language to describe the model building 21-24 2.1.1 CNC programming language structure analysis 21-23 2.1.2 Description model Construction 23-24 2.2 finite state automata Theory 24-25 2.3 CNC programming language recognition model construction 25-36 2.3.1 lexical analysis of FA model 26-32 <br / > 2.3.2 parsing FA model 32-36 2.4 NC program error detection algorithm 36-39 2.4.1 lexical analysis algorithms build 36-37 2.4.2 parsing algorithms to build 37-39 2.5 experimental verification 39-41 2.6 chapter Summary 41-42 the third chapter is based on the theory of finite NC program decoding technology research 42-56 3.1 based on the theory of finite decoding model construction 42-46 <br / > 3.2 based on the theory of finite decoding algorithm to construct 46-50 3.2.1 decoding standards 46 3.2.2 NC program features word processing mechanism 46-48 3.2.3 NC program decoded data storage 48-50 3.3 multi-task coordination and information transmission mechanism 50-55 3.3.1 CNC system platform selection 50 3.3.2 CNC system running task partitioning 50-52 3.3.3 decoded information transfer 52 -55 3.4 experimental verification 55 3.5 Summary 55-56 Chapter direction vector -based tool radius compensation technology 56 - 80 4.1 Overview 56-59 4.2 based on two-dimensional direction vector tool radius compensation technology 59-66 4.2.1 tool radius vector and the direction vector 59 4.2.2 direction vector -based tool radius compensation principle 59-60 4.2.3 transfer point calculations 60-64 4.2 .4 analytic theory based on planar contour interference check 64-66 4.3 direction vector -based three-dimensional tool radius compensation 66-74 4.3.1 to determine the trajectory of the tool center 66-69 4.3.2 transfer point calculations 69-74 4.4 Case Study 74-79 4.4.1 -dimensional processing Case Study 74-75 4.4.2 analysis of three-dimensional processing examples 75-79 4.5 Chapter Summary 79-80 chapter for parts contour accuracy acceleration and deceleration control technology 80-95 5.1 contour error model construction 80-84 5.1.1 linear contour error model construction 80 -83 5.1.2 build circular contour error model 83-84 5.2 acceleration and deceleration control curve characteristic analysis 84-88 5.2.1 linear acceleration and deceleration control curve 84-86 5.2.2 exponential curve deceleration control 86-87 5.2.3 deceleration curve contour Error analysis 87-88 5.3 based on minimum Deviation exponentially automatic deceleration control technology 88-94 5.3.1 Fundamentals 88-89 5.3. 2 linear interpolation deceleration control 89-90 5.3.3 circular interpolation deceleration control 90-93 5.3.4 helical interpolation deceleration control 93-94 5.4 Summary 94-95 Chapter VI Conclusion and Outlook 95-97 References 97-104 published papers and participate in scientific research, meetings illustrate 104-107 Thanks 107

Related dissertations

  1. Reserch on Open CNC Wire Cutting Platform's Trajectory Control Technology and Decoding Module
    TangMing ·Harbin Engineering University ·2010 ·Master's thesis
  2. Study of Error Control Technology for High Performance CNC System
    XuYue ·Tianjin University ·2009 ·Doctoral dissertation
  3. Windows economic type CNC milling system control software - based research
    ZhangRu ·Northwestern Polytechnical University ·2004 ·Master's thesis
  4. Popularization European Pattern Wood Window Numerical Control Tenoing Machine Numerical Control System
    XuDaLi ·Northeast Forestry University ·2005 ·Master's thesis
  5. Research and Development of CNC Based on DSP and FPGA
  6. Embedded open architecture CNC system software research
    YangJie ·Tianjin University ·2007 ·Master's thesis
  7. Research and Development of Numerical Control System Based on Windows
    LiuXiao ·Shandong University of Technology ·2010 ·Master's thesis
  8. Study on NC Complex Curve and Surface Interpolation Technology
    LiXiangShan ·Beijing Jiaotong University ·2010 ·Master's thesis
  9. The Research on Rtx-Based PC-NC Software
    YangTong ·Yanshan University ·2010 ·Master's thesis
  10. Research and Application Oriented Numerical Control Technology of Finish Machining
    TanBin ·Tianjin University ·2008 ·Master's thesis
  11. Scribble tracking motion control algorithm
    RaoZhi ·Harbin Institute of Technology ·2008 ·Master's thesis
  12. The Vision Measurement Research of Color Structured Light Coding
    GaoLe ·Harbin Engineering University ·2013 ·Master's thesis
  13. A Geometric Approach to Path-following Motion Control
    XuJinHua ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Modeling and Implementation of Motor Function Module Based on PLCopen
  15. Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
    LuJie ·Xiamen University ·2014 ·Master's thesis
  16. The Design and Implementation of a QR Code-based Mobile Phone Sign in System
  17. Design and Implementation of Multi-channel Audio Playback System Based on Streaming Media
  18. Study on Two-way Relaying System with Network Coding
  19. Optimization of VC-1Decoder on Cortex-A9Platform
  20. The Design and Research of Singlechannel Dvi Repeater Based on Fpga