Embedded CNC system has many advantages,but its system resources and processing capacity are limited.The trigono-metric function acceleration/deceleration algorithm has the advantages of small flexible impact and high accuracy,but its calculation is complex,and it is difficult to meet the high real-time requirements of the system when applied to the embedded numerical control sys-tem.To solve this problem,an acceleration/deceleration algorithm was proposed.Based on the best square approximation,the polynomial function was used to approximate the trigonometric function,then the complete acceleration/deceleration equation was deduced and con-structed.Then the speed planning of the algorithm under different conditions was analyzed.Finally,the algorithm was simulated and then tested on a CNC platform controlled by MCU.The results show that the algorithm reduces the computational complexity and improves the processing efficiency while preserving the flexibility of the trigonometric function curve.
关键词
加减速算法/最佳平方逼近/嵌入式数控系统
Key words
acceleration/deceleration algorithm/least square approximation/embedded CNC system