Font Size: a A A

Design Of Embedded Interpolation System For Laser Engraving Machine Based On ARM And FPGA

Posted on:2021-03-19Degree:MasterType:Thesis
Country:ChinaCandidate:X H XuFull Text:PDF
GTID:2370330647961354Subject:Mechanical engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of intelligence and network information,embedded technology is increasingly used in various industries due to its high automation,high scalability and low cost.Among them,the embedded CNC laser engraving machine based on the master-slave control structure is the most widely studied in the field of laser,which changes the low efficiency and low productivity of the traditional engraving process in the past,and provides an effective guarantee for the quality of the processed products.The laser engraving process is controlled by the interpolation system.The quality of the interpolation system largely determines the quality of the processed product.Aiming at the current problem that laser engraving requires multi-platform collaboration and a large error in processing natural curves,an embedded interpolation system for laser engraving machine based on ARM+FPGA is designed.The system analyzes the image file,extracts the boundary and performs preprocessing.According to the characteristics of the natural curve,use the curvature calculation to find the segmented feature points to complete the reverse engineering of the boundary,use the cubic B-spline curve to describe it mathematically,and use the particle swarm optimization algorithm to optimize the curve for rough interpolation,In order to achieve the improvement of accuracy.The main content of the paper includes:1)The driving scheme of laser engraving machine engraving is studied,and the embedded interpolation system based on ARM+FPGA is selected.With STM32 as the master control chip,FPGA as the slave control chip,cooperate with the data operation,and complete the interpolation pulse output.Mainly start from the software design,the main content includes: curve reconstruction module,interpolation calculation module and communication module.2)Reverse engineering is used to complete the reconstruction of the B-spline curve of the image boundary according to the characteristics of the image boundary.Through the acquisition and preprocessing of the boundary points,the image boundary is linearly discriminated,so that the subsequent analysis and calculation of the straight line and the curve are completed to complete the interpolation.For the curve,analyze the curvature to get the segmented feature points on the curve,and then generate a B-spline curve to complete the curve fitting of the image boundary.3)The particle swarm optimization algorithm of the spline curve rough interpolation points is studied.The optimal algorithm is used to iteratively calculate the optimal position solution of the interpolation points,so that the distribution of the interpolation points is the smallest error distribution.By analyzing the constraint conditions,constructing the error target supplementary function,and using particle swarm optimization algorithm for optimization analysis,the interpolation point on the B-spline is calculated.Mainly starting from how to construct an effective objective function to achieve the constraints of the constraints,analyze and calculate the precision control of the curve interpolation.Simulation experiment results show that the embedded interpolation system based on ARM+FPGA performs rough interpolation after curve reconstruction,and the particle swarm optimization calculation of the supplementary error objective function,the algorithm can quickly converge,compared with the traditional algorithm in accuracy There is a noticeable improvement.
Keywords/Search Tags:Interpolation system, curve reconstruction, B-spline curve, particle swarm optimization algorithm
PDF Full Text Request
Related items