Optimization of Online Measurement Path of CNC Lathe
In order to improve the efficiency of online inspection of CNC lathes,an improved bat algorithm is proposed to optimize the online measurement path.The system obtains the geometric information of the workpiece to be measured by reading the DXF file,plans the initial inspection path according to the characteristics of the workpiece,establishes a mathematical model for the optimization of the inspection path,uses an improved bat algorithm to optimize the measurement sequence between the measure-ment points,and design the program generates templates,automatically generates CNC codes,and drives the CNC lathe to per-form workpiece measurement.The online inspection experiment is carried out for complex stepped shafts.Compared with other opti-mization results and manual planning results,this method shortens the detection path length,and effectively improves the effi-ciency of workpiece detection.
DXFOnline MeasurementImproved Bat AlgorithmPath Optimization