B-Spline-Based Curve Fitting to Cam Pitch Curve Using Reinforcement Learning

被引:4
|
作者
Lin, Zhiwei [1 ]
Chen, Tianding [1 ]
Jiang, Yingtao [2 ]
Wang, Hui [1 ]
Lin, Shuqin [1 ]
Zhu, Ming [2 ]
机构
[1] Minnan Normal Univ, Sch Phys & Informat Engn, Zhang Zhou 363000, Fujian, Peoples R China
[2] Univ Nevada, Dept Elect & Comp Engn, Las Vegas, NV 89154 USA
来源
关键词
B-spline fi tting; radial error; DDQN RL algorithm; global optimal; policy;
D O I
10.32604/iasc.2023.035555
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Directly applying the B-spline interpolation function to process plate cams in a computer numerical control (CNC) system may produce verbose tool-path codes and unsmooth trajectories. This paper is devoted to addressing the problem of B-spline fitting for cam pitch curves. Considering that the B-spline curve needs to meet the motion law of the follower to approximate the pitch curve, we use the radial error to quantify the effects of the fitting B-spline curve and the pitch curve. The problem thus boils down to solving a difficult global optimization problem to find the numbers and positions of the control points or data points of the B-spline curve such that the cumulative radial error between the fitting curve and the original curve is minimized, and this problem is attempted in this paper with a double deep Q-network (DDQN) reinforcement learning (RL) algorithm with data points traceability. Specifically, the RL environment, actions set and current states set are designed to facilitate the search of the data points, along with the design of the reward function and the initialization of the neural network. The experimental results show that when the angle division value of the actions set is fixed, the proposed algorithm can maximize the number of data points of the B-spline curve, and accurately place these data points to the right positions, with the minimum average of radial errors. Our work establishes the theoretical foundation for studying spline fitting using the RL method.
引用
收藏
页码:2145 / 2164
页数:20
相关论文
共 50 条
  • [21] B-Spline Curve Fitting Based on Gradient Vector Flow Deformable Models
    Zhao, Bin
    Cheng, Siyuan
    Zhang, Xiangwei
    Zhang, Guoying
    PROCEEDINGS OF THE 2009 2ND INTERNATIONAL CONGRESS ON IMAGE AND SIGNAL PROCESSING, VOLS 1-9, 2009, : 680 - +
  • [22] B-Spline Curve Fitting Based on Adaptive Particle Swarm Optimization Algorithm
    Sun Yue-hong
    Tao Zhao-ling
    Wei Jian-xiang
    Xia De-shen
    INFORMATION TECHNOLOGY FOR MANUFACTURING SYSTEMS, PTS 1 AND 2, 2010, : 1299 - +
  • [23] A Temperature Compensation Algorithm Based on Curve Fitting and Spline Interpolation
    Xia, Shu-lan
    Wang, Ji-lin
    Wang, Ru-gang
    Zhao, Li
    3RD INTERNATIONAL CONFERENCE ON APPLIED ENGINEERING, 2016, 51 : 1345 - 1350
  • [24] Extension of B-Spline Curve Based on Similarity to Reference Curve
    Mu G.
    Zhang Z.
    Zang T.
    Dai S.
    1705, Institute of Computing Technology (30): : 1705 - 1711
  • [25] Reconstruction of the initial curve from a two-dimensional shape for the B-spline curve fitting
    Almas Jahanshahloo
    ALireza Ebrahimi
    The European Physical Journal Plus, 137
  • [26] Reconstruction of the initial curve from a two-dimensional shape for the B-spline curve fitting
    Jahanshahloo, Almas
    Ebrahimi, ALireza
    EUROPEAN PHYSICAL JOURNAL PLUS, 2022, 137 (03):
  • [27] Fast B-spline curve fitting by L-BFGS
    Zheng, Wenni
    Bo, Pengbo
    Liu, Yang
    Wang, Wenping
    COMPUTER AIDED GEOMETRIC DESIGN, 2012, 29 (07) : 448 - 462
  • [28] Weighted PIA Algorithm for Implicit B-Spline Curve Fitting
    Feng Y.
    Li Y.
    Deng C.
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2023, 35 (12): : 1887 - 1893
  • [29] B-spline Curve Fitting by Diagonal Approximation BFGS Methods
    Ebrahimi, A.
    Loghmani, G. B.
    IRANIAN JOURNAL OF SCIENCE AND TECHNOLOGY TRANSACTION A-SCIENCE, 2019, 43 (A3): : 947 - 958
  • [30] Extended Target Shape Estimation by Fitting B-Spline Curve
    Yang, Jin-long
    Li, Peng
    Ge, Hong-wei
    JOURNAL OF APPLIED MATHEMATICS, 2014,