为优化进给速度曲线,节约加工时间并提高加工质量,提出一种通用的前瞻速度规划算法。该算法可以在满足进给速度约束条件的前提下,对加工路径进行预读,实现进给速度的前瞻规划处理。算法以规划元为单位对加工路径进行划分,通过对加减速算法的抽象和封装实现不同种类的前瞻速度规划,以及对进给速度控制功能算法的重构。仿真和实验表明,该算法在几种不同加减速方式下都可以正确重构,实现进给速度的实时前瞻规划,改善数控机床的加工效率和运动平稳性。
The feedrate planning is a key function in Computerized Numerical Control (CNC) controller. In the high speed and high precision machining process, the look-ahead feedrate planning algorithm was essential for optimizing the feedrate curve, saving machining time and improving machining quality. Therefore, a generalized look-ahead fee- drate planning algorithm was proposed. On the premise of satisfying the constraints of feedrate, this algorithm could preread tool path and realize look-ahead feedrate planning. The planning units were used to divide the tool path, and different kinds of look-ahead feedrate planning were realized by abstracting and encapsulating the acceleration/decel- eration algorithm. Thus the reconfiguration for feedrate's control algorithm was realized. The simulation and experi- ment results showed that the proposed algorithm was correctly reconfigured with different acceleration/deceleration schemes. The real-time look-ahead planning for feedrate was realized, and the machining efficiency and motion smoothness of CNC was improved.