Analysis and Development of Code Compiler for Open CNC System Based Motion Controller Card
- Author
- XuXiaoMing
- Advisor
- WangShuoGui
- School
- University of Science and Technology of China
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 196
- Citations
- 0
- Motion Control Card
- NC code compiler
- Drilling depth Variable
- Deep hole machining fixed cycle
- Cubic spline curve interpolation
Abstract
Departure from NC code compiler based on motion control card CNC system needs analysis , in-depth study of open CNC system compiler , developed a set of suitable for numerical control system based on motion control card NC code compiler , achieve the compiler function . Developed a more complete words and grammar rules , write the check function , adapt to the requirements of open CNC system code compiler input and output data structure to construct a word , syntax analysis module to meet the characteristics of the NC code the needs of the functional check . A bit operator of NC code words check , this approach to syntax analysis and subsequent expansion character , has facilitated the expansion code checking rule base , combined with the NC code instruction set , enhanced NC code compiler scalability and versatility . Change the size of the drilling depth Q value on the basis of in-depth analysis of the features of conventional deep hole machining fixed cycle instruction for its shortcomings , according to the arithmetic progression or geometric progression , define one kind of drilling depth variable - deep hole machining canned cycle G75, G76 format and rules of the compiler G75 , G76 fixed cycle . The fixed cycle is characterized by: In the early stages of drilling , the choice of the maximum drilling depth , and then gradually reduce the drilling depth , until the pre-set the minimum drilling depth until . This fixed cycle cooled sufficiently take into account the tool and smooth chip evacuation , and to ensure a certain degree of processing efficiency . Analysis of parametric cubic spline curve characteristics , determine the cubic spline curve parameters required to meet the requirements defined cubic spline curve interpolation format , coordinate points uncertainty cubic spline curve interpolation format compilation process . In order to verify the performance of the compiler , overall fixed cycle and spline interpolation function . Experimental results show that the compiler reliable performance to meet the requirements .
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter 1 Introduction 9-16
1.1 architecture numerical control system based on motion control card and trends 9-13
1.1.1 motion control card based CNC system hardware structure 9-10
1.1.2 CNC system software architecture based on motion control card 10-12
1.1.3 numerical control system based on motion control card trends 12-13
1.2 compile technical overview and development status of numerical control system based on motion control card 13-14
1.2.1 compiler technology development overview 13-14
1.2.2 NC code compiler development status of the system based on the numerical control system of the motion control card 14
1.3 of this thesis work 14-16
Chapter 2 compilation system needs analysis and critical technology 16-24
2.1 CNC system needs analysis of NC code compiler system 16-17
2.2 build system grammar described, the compilation step translation methods 17-20
syntax described in 2.2.1 compiler system 17-18
2.2.2 compiler system compilation step 18
2.2.3 NC code compiler method of analysis 18-20
2.3 compiler system module design points 20-23
2.3.1 lexical analysis module design points 20-21
the
the 2.3.2 syntax analysis module design points 21
2.3.3 Semantic Analysis Overview 21-22
the
the 2.3.4 error processing the 22
2.3.5 code conversion method 22-23
2.4 This chapter Summary 23-24
Chapter 3 NC code compiler design and development 24-44
3.1 NC code compiler format and grammar that 24-27
3.1.1 NC code program format rules Analysis 24-25
3.1.2 NC code programming language grammar described 25-27
3.2 NC code compiler data structure 27-31
3.2.1 NC code compiler input data structure 27-30
3.2.2 NC code compiler output data structures 30-31
lexical analysis module of the the 3.3 constructor NC code compiler 31-35
3.3.1 the constructor NC system program instruction set 31-32
3.3.2 lexical analysis of the concrete implementation of the module's 32-35
3.4 the constructor NC code compiler syntax analysis module 35-40
the 3.4.1 the constructor NC program grammar rules and the corresponding function 35-37
3.4.2 syntax analysis module specific process 37-40
3.5 NC code compiler module structure 40-43
3.5.1 semantic analysis module structure 40-41
3.5.2 object code generation and output processing 41-42
3.5.3 Error Handling 42-43
3.6 This chapter Summary 43-44
Chapter 4 deep hole machining fixed cycle and spline interpolation defined and compile 44-54
4.1 Universal deep hole machining fixed cycle analysis 44-45
4.2 drilling depth variable deep hole machining fixed cycle defined 45-47
4.3 compile drilling depth variable deep hole machining fixed cycle to achieve 47-48
4.4 spline interpolation 48-49
4.5 cubic parametric spline interpolation format defined 49-50
4.6 cubic parametric spline curve interpolation compile achieve 50-52
4.7 This chapter Summary 52-54
Chapter 5 instances verify 54-59
5.1 overall function of experimental 54-56
5.2 fixed cycle function experiments 56-57
5.3 cubic parametric spline interpolation function experiments 57-58
5.4 This chapter Summary 58-59
Chapter 6 Summary and Outlook 59-60
6.1 summarizes 59
6.2 Looking 59-60
Reference 60-62
Acknowledgements 62-63
the
papers published during reading the research achievements 63
Related dissertations
- The Design of Motion Controller Based on FPGA and USB
- Software Design for Motion Control System Based on LabVIEW
- Development for Open CNC Teaching Platform
- The Control System Development and Research of CNC Flame Cutting Machine Based on the Motion Control Card
- The Study of Technologies of Gear Laser Remanufacturing
- The Research of Milling NC System for Large Cylindrical Gear
- Research on Grinding Process of Discoid Parts' Side and Developing of Special Grinding Based on Motion Controller
- Design and Implentation of a PCI-based Multi-axis Motion Control Card
- Research and Design on the Control System of Wire Bending Based on PC
- Design and Implement of Control System for Electro-pattern-sewing Machine
- Research and Development of Six-axis Industrial Robot Control System Based on EtherCAT
- Visual Servo Manipulator Control System Based On Labview
- Detection Andtracking System Design for Two-Dimensional Object
- The Connector Detection System Development Based on Machine Vision and Linear Motor
- Research on the Control System of CNC Leather-cutting Machine Based on the Motion Control Card
- Design on Control Board of USB CNC System Based on ARM7
- Research on the Glasses-manufacture Numerical Control Machine
- Research and Design of CNC Automatic Bender Machine
- Research on Corner Cleaning Machine’s Open-CNC System Based on PC
- Research and Development of CNC System of Engraving Processing Unit