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 ...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-splinefitting 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 thefitting B-spline curve and the pitch curve.The problem thus boils down to solving a difficult global optimization problem tofind the numbers and positions of the control points or data points of the B-spline curve such that the cumulative radial error between thefitting 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 envir-onment,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 isfixed,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 splinefitting using the RL method.展开更多
The comprehensive utilization of wood is the main goal of log cutting,but knot defects increase the diffi-culty of rationally optimizing cutting.Due to the lack of real shape data of knot defects in logs,it is diffi c...The comprehensive utilization of wood is the main goal of log cutting,but knot defects increase the diffi-culty of rationally optimizing cutting.Due to the lack of real shape data of knot defects in logs,it is diffi cult for detection methods to establish a correlation between signal and defect morphology.An image-processing method is proposed for knot inversion based on distance regularized level set segmentation(DRLSE)and spatial vertex clustering,and with the inversion of the defects existing relative board position in the log,an inversion model of the knot defect is established.First,the defect edges of the top and bottom images of the boards are extracted by DRLSE and ellipse fi tting,and the major axes of the ellipses made coplanar by angle correction;second,the coordinate points of the top and bottom ellipse edges are extracted to form a spatial straight line;third,to solve the intersection dispersion of spatial straight lines and the major axis plane,K-medoids clustering is used to locate the vertex.Finally,with the vertex and the large ellipse,a 3D cone model is constructed which can be used to invert the shape of knots in the board.The experiment was conducted on ten defective larch boards,and the experimental results showed that this method can accurately invert the shapes of defects in solid wood boards with the advantages of low cost and easy operation.展开更多
针对分布式飞行仿真的时钟同步问题,在Luca Schenato等人的ATS(Average Time Synchronization)算法的基础上,提出了基于归并策略的一致性时钟同步算法。该算法会在获得系统时钟后,通过邻近原则或者极大极小原则对时钟进行排序组合,以此...针对分布式飞行仿真的时钟同步问题,在Luca Schenato等人的ATS(Average Time Synchronization)算法的基础上,提出了基于归并策略的一致性时钟同步算法。该算法会在获得系统时钟后,通过邻近原则或者极大极小原则对时钟进行排序组合,以此加快算法的收敛速度;同时通过重定义ATS算法的调节因子σij,使时钟收敛具有自适应性,进一步加快时钟收敛速度,使得该算法更佳适用于飞行仿真控制试验的数据同步过程。实验表明该算法相比于原算法在同步精度、收敛速度、稳定性都得到提升。展开更多
基金supported by Fujian Province Nature Science Foundation under Grant No.2018J01553.
文摘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-splinefitting 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 thefitting B-spline curve and the pitch curve.The problem thus boils down to solving a difficult global optimization problem tofind the numbers and positions of the control points or data points of the B-spline curve such that the cumulative radial error between thefitting 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 envir-onment,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 isfixed,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 splinefitting using the RL method.
基金supported fi nancially by the China State Forestry Administration“948”projects(2015-4-52),and Hei-longjiang Natural Science Foundation(C2017005).
文摘The comprehensive utilization of wood is the main goal of log cutting,but knot defects increase the diffi-culty of rationally optimizing cutting.Due to the lack of real shape data of knot defects in logs,it is diffi cult for detection methods to establish a correlation between signal and defect morphology.An image-processing method is proposed for knot inversion based on distance regularized level set segmentation(DRLSE)and spatial vertex clustering,and with the inversion of the defects existing relative board position in the log,an inversion model of the knot defect is established.First,the defect edges of the top and bottom images of the boards are extracted by DRLSE and ellipse fi tting,and the major axes of the ellipses made coplanar by angle correction;second,the coordinate points of the top and bottom ellipse edges are extracted to form a spatial straight line;third,to solve the intersection dispersion of spatial straight lines and the major axis plane,K-medoids clustering is used to locate the vertex.Finally,with the vertex and the large ellipse,a 3D cone model is constructed which can be used to invert the shape of knots in the board.The experiment was conducted on ten defective larch boards,and the experimental results showed that this method can accurately invert the shapes of defects in solid wood boards with the advantages of low cost and easy operation.
文摘针对分布式飞行仿真的时钟同步问题,在Luca Schenato等人的ATS(Average Time Synchronization)算法的基础上,提出了基于归并策略的一致性时钟同步算法。该算法会在获得系统时钟后,通过邻近原则或者极大极小原则对时钟进行排序组合,以此加快算法的收敛速度;同时通过重定义ATS算法的调节因子σij,使时钟收敛具有自适应性,进一步加快时钟收敛速度,使得该算法更佳适用于飞行仿真控制试验的数据同步过程。实验表明该算法相比于原算法在同步精度、收敛速度、稳定性都得到提升。