摘要
针对数控机床刀具的三维轨迹数据的实时采集造成的海量数据存储问题,提出了一种基于NC程序解析的数控机床三维轨迹数据压缩算法。该算法首先将采集数据点与解析NC程序得出的刀具理论运动轨迹相匹配,然后舍弃与理论轨迹点的欧氏距离在误差限内的数据点,并动态地自适应调整该误差限。实验结果表明,该算法针对数控机床刀具三维运动轨迹这类数据具有很好的压缩效果,并且与其他算法相比,本算法的平均误差减小了61%,同时压缩时间缩短了32%,在压缩精度和压缩效率上具有极大的优势。
Aiming at the problem of massive data storage caused by the real-time acquisition of the three-dimensional trajectory data of NC machine tool,this paper presents a compression algorithm for the 3D trajectory data of NC machine tools based on the analysis of NC program.Firstly,the collected points are matched with the theoretical trajectory analyzed from the NC program,and then the points whose Euclidean distance from the theoretical trajectory points is within the error limit are discarded,and the error limit is adjusted dynamically and adaptively.The experiment show that the algorithm has a good compression result for the data such as the three-dimensional trajectory data of NC machine tools.Compared with other algorithms,the average deviation of this algorithm is reduced by 61%,and the compression time is reduced by 32%.This algorithm has great advantages in both compression accuracy and efficiency.
作者
曹晶晶
盛步云
张燕强
金超
CAO Jing-jing;SHENG Bu-yun;ZHANG Yan-qiang;JIN Chao(School of Mechanical Engineering,Wuhan University of Technology,Hubei Wuhan 430070,China;Hubei Digital Manufacturing Key Laboratory,Wuhan University of Technology,Hubei Wuhan 430070,China)
出处
《机械设计与制造》
北大核心
2021年第6期232-235,共4页
Machinery Design & Manufacture
基金
国家重点研发计划资助项目(2016YFB1101700)
中央高校基本科研业务费专项资金资助项目(2017IVA019)。
关键词
压缩算法
理论轨迹
误差限
压缩误差
Compression Algorithm
Theoretical Trajectory
Error Limit
Compression Deviation