基于S型速度曲线的B样条轨迹规划研究
Research on B-Spline Trajectory Planning Based on S-Shaped Velocity Curve
摘要: 针对三轴联动数控加工过程中存在的曲率突变、速度不连续以及由此引发的伺服冲击与振动问题,本文提出一种基于三次非均匀B样条曲线拟合与S型速度规划相结合的轨迹优化方法。首先,选取三次非均匀B样条曲线并引入复合辛普森积分实现曲线弧长的高精度数值计算。设计分段式S型速度规划,应用切向量分解法将得到曲线一维动态量投影分解至x、y、z三轴。仿真结果表明:在最大速度10 mm/s、最大加速度10 mm/s
2、最大加加速度30 mm/s
3的约束下,所规划轨迹长度为26.95 mm,总运行时间为2.66 s,速度与加速度无突变,跃度变化受控且整体连续,验证了该方法在轨迹平滑性与动态可控性方面的有效性。
Abstract: To address the issues of curvature discontinuity, velocity discontinuity, and the resulting servo shock and vibration in three-axis CNC machining, this paper proposes a trajectory optimization method combining cubic non-uniform B-spline curve fitting with S-shaped velocity planning. Firstly, cubic non-uniform B-spline curves are selected and the composite Simpson integral is introduced to achieve high-precision numerical calculation of the curve arc length. A piecewise S-shaped velocity planning is designed, and the one-dimensional dynamic quantities of the obtained curve are projected and decomposed into the x, y, and z axes using the tangent vector decomposition method. Simulation results show that under the constraints of a maximum speed of 10 mm/s, a maximum acceleration of 10 mm/s2, and a maximum jerk of 30 mm/s3, the planned trajectory length is 26.95 mm, the total running time is 2.66 s, the velocity and acceleration have no sudden changes, the jerk variation is controlled and overall continuous, verifying the effectiveness of this method in terms of trajectory smoothness and dynamic controllability.
参考文献
|
[1]
|
金鑫, 刘其广, 吕杰, 等. 数控加工中多约束进给率规划算法研究[J]. 制造技术与机床, 2022(5): 105-111.
|
|
[2]
|
李甍材, 赵东标, 冯胜利. 一种S型加减速组合的速度规划算法[J]. 机械科学与技术, 2024, 43(1): 54-63.
|
|
[3]
|
鲁毛毛, 刘宝泉, 徐梦杰, 等. NURBS曲线插补弓高误差的双向Hausdorff距离评估方法[J]. 机械科学与技术, 2022, 41(2): 253-262.
|
|
[4]
|
高翔宇, 刘晓健, 裘乐淼, 等. 基于曲率约束和位移补偿的NURBS曲线柔性高精插补方法[J]. 计算机辅助设计与图形学学报, 2018, 30(12): 2213-2223.
|
|
[5]
|
毛征宇, 刘中坚. 一种三次均匀B样条曲线的轨迹规划方法[J]. 中国机械工程, 2010, 21(21): 2569-2572+2577.
|
|
[6]
|
覃珍莹, 赵东标, 周迪琪. 一种简化计算的S型加减速NURBS插补算法[J]. 机电工程, 2017, 34(3): 219-223.
|
|
[7]
|
韩庆瑶, 赵长梅, 胡媛媛. 基于预判插补时间的S形加减速差补算法分析[J]. 电子世界, 2013(8): 202-203.
|