The Research of Spline Curve Interpolation Algorithm for Embedded Cnc System
- Author
- LvHongYa
- Advisor
- ZhaoDongBiao
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 193
- Citations
- 1
Abstract
Interpolation technology is the foundation of path’s control in the CNC system, and it is a crucial segment in the promotion of CNC technology. The efficiency of interpolation algorithm will directly affect the performance of the CNC system. Especially, spline interpolation is the key technology of high-speed and high-precision CNC machining. At the same time, embedded CNC system still has a broad application prospect for its miniaturization and real-time. Therefore, the development of a high-efficiency spline interpolation algorithm for embedded CNC system is of great value in application.First, through the study of spline curves widely used by CNC system, specific construction algorithms for the matrix representations of parametric cubic spline curve, B-spline curve and NURBS curve are respectively presented in this paper. The simulation is carried out in the Visual C++ environment to verify the feasibility of the algorithms. Two-dimensional and three-dimensional spline curves are extracted from MFC GDI and OpenGL by simulation.Then a novel real-time spline interpolation algorithm is designed based on the Taylor expansion. According to the requirements of machining precision, speed and acceleration, the algorithm achieves controllability of chord error, centripetal acceleration and S-shape acceleration-deceleration through the adaptive chord length. Furthermore, a spline interpolation algorithm for NURBS curve based on its representation in homogeneous coordinates is proposed. The algorithm is simulated on PC to demonstrate the efficiency through analyzing the chord error, feed rate and tangential acceleration.Finally, the construction algorithm and interpolation algorithm of NURBS curve are implemented in an independent-development embedded CNC system, and then a real-time processing is successfully conducted. In consequence, the function of NURBS direct interpolation comes true in the embedded CNC system.
Table of contents
Abstract 4-5
ABSTRACT 5-6
directory 6-9
graphs, tables list 9-11 <br / > Notes Table 11-12
first chapter 12-18
1.1 Overview of the CNC system 12-13
1.2 spline interpolation technology development 13-16
1.2.1 spline interpolation technology overview 13-14
1.2.2 spline description method development 14 - 15
1.2.3 spline interpolation development in the world 15-16
1.3 research significance and major contents of 16-18
Chapter spline in the NC system described 18-36
2.1 polynomial curve describes 18-20
2.1.1 polynomial basis 18-19 <br / > 2.1.2 discrete points parameterized 19-20
2.1.3 polynomial curve matrix Description 20
2.2 parametric cubic spline 20-24 < br /> 2.2.1 parametric cubic curve equation 20-21
2.2.2 parametric cubic spline curve constructed 21-22
2.2.3 parametric cubic spline curve construction algorithm 22-24
2.3 B -spline curve 24-32
2.3.1 B -spline curve nature 25-26 <br / > 2.3.2 node vector calculation 26-27
2.3.3 non-uniform cubic B-spline curves constructed 27-29
2.3.4 inverse control vertices 29-31
2.3.5 B -spline curve constructed algorithm 31-32
2.4 NURBS curve 32-35
2.4.1 NURBS curves are defined 33-34
2.4.2 NURBS curve constructed algorithm 34-35
2.5 Chapter Summary 35-36
first chapters spline interpolation algorithm 36-60
3.1 interpolation Principle 36-38
3.1.1 interpolation concept 36-37 <br / > 3.1.2 interpolation classification 37-38
3.2 coarse spline interpolation algorithm 38-58
3.2.1 spline interpolation calculation 38-40
3.2.2 derivative vector calculation 40-43
3.2.3 adaptive Speed ??Control 43-45
3.2.4 S -type acceleration and deceleration control 45-50
3.2.5 interpolation simulation analysis 50-56
3.2.6 Prospects velocity planning 56-58
3.3 spline curve fine interpolation algorithm 58-59
3.3.1 digital integration principle 58
3.3.2 digital integral Method tiny line segments interpolation 58-59
3.4 Summary 59-60
Chapter spline interpolation in embedded numerical control system to achieve 60-73
4.1 embedded CNC system hardware platform 60-63
4.1.1 ARM9 microprocessor module 60-61
4.1.2 human Interface Module 61-62
4.1. three memory modules 62-63
4.1.4 machine signal modules 63
4.2 embedded CNC system software 63-68
4.2.1 program editing function 65
4.2.2 manually processing functions 65
4.2.3 parameter setting function 65-66
4.2.4 diagnostic test 66
4.2.5 system alarm functions 66
4.2.6 simulation function 66
4.2.7 automatic processing function 66 -68
4.3 NURBS interpolation algorithm 68-70
4.3.1 decoding pretreatment 69
4.3.2 coarse interpolation calculation 69-70
4.4 NURBS curve interpolation instance 70-72
4.5 Chapter Summary 72-73
Chapter Summary and Outlook 73 - 75
5.1 Full Summary 73
5.2 research Prospects 73-75
References 75-78
Thanks 78 -79
master's papers published during 79
Related dissertations
- The Interpolation and Conformal Smooth Stitching of NURBS Curves and Surfaces
- Research and Design on the Sysytem of Multi-channel Data Acquisition and Surface Reconstruction
- The Research on Nurbs Curve Interpolation Algorithm of6-DOF Industrial Robot
- OpenGL-based3D Scene Simulation System of Textile
- Research on Multi-constrained Feedrate Control for5-axis Interpolation
- Research of BlAde Polishing Machine Tool Control Software Architectonic
- Research and Implement of Real-time Adaptive Nurbs Interpolation Algorithm with High Speed and High Precision Based on DSP
- Research of Three Dimensional Geological Modeling Based on Two Dimensional Sections and Gaussian Beam Forward Modeling
- Research on Freeform Surface Tool-Path Planning Algorithms of Human-Simulated Polishing
- Research on 3D Imitation for Displaying Structure and Pattern of Woven Fabric
- Three-dimensional Computer Simulation of Warp-knitted Fabrics
- Research on Real-time Algorithms of NURBS Tool-paths Interpolation
- Research on 3D Geological Modeling
- Research on the Virtual Simulation of Complex Curve Surface Process
- Investigation of the Virtual Numerical Control Machining Based on OpenGL
- The Research on Control Method during Laser Shock Forming of Metal Sheet
- Study and Development on Free-Form Surface Reconstruction Technology Based on NURBS
- Research and Application of NURBS surfaces reverse modeling key algorithm
- Surface Reconstruction in Reverse Engineering
- On the NURBS Curves and Surfaces Approximation Algorithm to Constrained Data Set