# Repetitive Control Scheme of Robotic Manipulators Based on Improved B-Spline Function

Authors: Xingyu Wang; Anna Wang; Dazhi Wang; Wenhui Wang; Bingxue Liang; Yufei Qi
Journal: Complexity
 (2021)

---

## Abstract

In this paper, a repetitive control scheme of a 2-DOF robotic manipulator based on the improved cubic B-spline curve is proposed. Firstly, a repetitive controller for robotic manipulator is designed, which is composed of an iterative controller and disturbance observer. Then, an improved B-spline optimization scheme is introduced to divide the task of the robotic manipulator into three intervals. A correction function is added to each interval of cubic spline interpolation. Finally, a variety of cases are designed and simulated by MATLAB. The experimental results show that, compared with the conventional B-spline, the improved B-spline has better performance in tracking accuracy and smoothness of motion trajectory. By changing the mechanism of the manipulator, the cases of different weights and lengths are designed. The experimental results in these cases show that the proposed scheme can be applied to most of the 2-DOF robotic manipulator control systems.


---

## Body

## 1. Introduction

Manipulators have been commonly employed in industrial manufacturing fields, including spot welding, painting, machine operation, electronic packaging, and palletizing. The robotic manipulator system will replace the traditional manual work and become the mainstream of industrial development. The robotic manipulator control system is a multi-input, multi-output, highly coupled nonlinear complex system, which is affected by many uncertainties and interference factors. In particular, the trajectory control of robot is very complex, and it is difficult to establish a dynamic model. In recent years, a practical iterative learning control method is proposed in [1, 2]. This method has the characteristics of simple structure, small amount of calculation, and no need of accurate mathematical model of the system. It is very suitable for solving the problem of control object under repetitive working mode. In the practical application of robotics and automatic machines, the tasks performed are usually repetitive or periodic. Many of these tasks merely imply a continuous repetition of a given path. From the control point of view, it is necessary to identify the periodic external signals that can be considered as known, because they refer to planned trajectories or disturbances, and their cycle times can be easily measured or known in advance. In order to improve the trajectory tracking accuracy, repetitive control (RC) is a simple design but effective method, because it eliminates the tracking error in the repetitive process by iterative learning. RC was first developed by Inoue et al. [3, 4]. It has been applied to many other proton synchrotron power supply systems. The successful applications of RC in many applications are reported in [5, 6], such as high-precision trajectory tracking of servo mechanism, torque vibration suppression in motor, noise elimination in power supply, and industrial manipulator.In recent years, many control techniques have been proposed for manipulators. Wang and Zhang proposed an adaptive neural network tracking control scheme for robotic manipulator, which achieved good performance in dealing with model uncertainty [7]. Aydin proposed a robust sliding mode control scheme to suppress model uncertainty [8]. Mu et al. proposed a PD feedback control law to deal with the parameter changes when capturing objects [9]. Dai et al. proposed a model predictive control scheme for redundant manipulators with online identification of unknown parameters [10]. Xiang and Yan analyzed the uncertainty model of the dynamic model with clearance joints [11]. In [12], an inverse dynamic control method is proposed to solve the nonlinear problem of industrial robotic manipulator. Lu and Jia proposed an Adaptive Coordinated Control for a free-floating space manipulator with uncertain kinematics and dynamics characteristics [13]. However, the above schemes do not consider the repetitive reference trajectory tracking control under model uncertainty. In fact, considering that the existence of vibration interference has a great impact on repetitive motion, repetitive reference trajectory tracking plays an important role in many cases.Industrial manipulator control has various characteristics, among which the control system with unknown parameters or uncertain model is the difficulty. Therefore, the control of complex systems such as robot manipulator system with uncertainties has become a worthy research topic. An improved funnel function feedback controller is proposed for nonlinear servo mechanism [14]. In [15], an unknown input observer and an adaptive parameter estimation method are proposed to solve the uncertainty of engine torque. Considering the uncertainty of the contact surface of the manipulator, Li et al. proposed a decentralized adaptive fuzzy control method [16]. For the manipulator system, Fang et al. proposed a fuzzy control scheme with adaptive algorithm, simplified the logic structure, and optimized the amount of calculation to adapt to the practical application [17]. Wang et al. designed a new nonsingular fast terminal sliding surface and used time delay estimation technology to eliminate the complex nonlinear effect of the manipulator [18]. In [19], adaptive control is introduced into time delay estimation to improve the accuracy and speed of nonsingular fast terminal sliding mode. In order to solve the influence of various uncertain factors in manipulator system, a variety of observers were proposed in [20] to deal with uncertain kinematics and estimate unknown torque, respectively. References [21, 22] have proposed a real-time online error compensation method for the manipulator, which avoids frequent calibration of sensors in the actual industrial application scene and reduces the complexity of the control system. By using the filter to generate uniform B-spline trajectory, the tracking error at the desired path point can be eliminated, and the trajectory error at the end of the manipulator can be compensated without modifying the core content of the controller [23]. It is especially suitable for industrial equipment that cannot modify the controller.B-spline can provide continuity of velocity and acceleration at lower order of each knot. In some literatures, the best smooth trajectory planning method of rigid manipulator based on B-spline has been adopted. In [24], higher-order B-splines are applied to the motion planning of serial manipulators. In [25], the acceleration and velocity signal trajectories of rigid link parallel robot are identified and optimized by using quintic B-spline. In [26], spline function is used to optimize the reference input signal of servo driver, and its parameters are determined by particle swarm optimization algorithm, in order to reduce tracking error. In [23], uniform B-spline curve trajectory was generated by dynamic filter to modify reference signal in real time. Qian et al. proposed a trajectory planning method for cable driven parallel robot based on improved quintic B-spline curve [27]. The control points of these B-spline trajectory compensation methods are evenly distributed, and there is no special treatment for some demanding trajectories. In practical application, too much calculation is used in the uncomplicated trajectories, but the performance is not satisfactory in the parts with more uncertain disturbances.In this paper, a new method of smoothing the trajectory of robotic manipulator by using cubic B-spline is proposed. It can reduce the flexible impact and vibration disturbance produced by the actuator when the robotic manipulator moves repeatedly. In addition, an improved B-spline trajectory compensation scheme is proposed in this paper. Compared with the conventional uniform B-spline trajectory [24], it has advantages in trajectory tracking accuracy and trajectory smoothness. This paper is arranged as follows. Section 2 introduces the structure of 2-DOF robotic manipulator and the dynamic model of the mechanism. In Section 3, a repetitive controller for robotic manipulator is designed. In Section 4, according to the task characteristics of the robotic manipulator, the characteristics of the interference signals in different stages are studied, and then the correction function is introduced to optimize the conventional B-spline. In Section 5, MATLAB is used to simulate the trajectory tracking accuracy of some cases. The simulation results show that the improved B-spline has better performance than the traditional B-spline. Conclusions are drawn in Section 6.


## 2. Model Derivation

We refer to some novel modelling methods of robotic manipulator [11], and combining with the data of this paper, we propose the following model derivation for robotic manipulator.The dynamic equation of the N joint manipulator is(1)Mqtq¨t+Cqt,q˙tq˙t+gqt=τt.In addition, in practical application, the manipulator will bear uncertain interference such as parameter change, external disturbance, and friction. For example, due to the production process, assembly error, friction, wear, and other reasons, there are inevitable design tolerances for the parts of the mechanical arm; due to the movement, it will cause the change of the centre of gravity, which will lead to the change of the parameters of the mechanical arm; due to the fact that the elastic deformation will occur when the mechanical arm grasps and places heavy objects, there is an unmodeled dynamic; there are a lot of external disturbances in the working process. We conclude that the external disturbance is mainly caused by pitch vibration and vertical vibration. In this paper, the characteristics of two kinds of external disturbances are studied and the model is established.These factors bring about difficulties to the control of the manipulator and make it unable to track the given trajectory. Therefore, the dynamic model of the actual manipulator system should include the description of various uncertainties of the system. The mathematical model is as follows:(2)Mqtq¨t+Cqt,q˙tq˙t+gqt+fq˙t+τdt=τt.As shown in Figure1, the dynamic model of the 2-DOF manipulator using the Lagrange method can be obtained as(3)Mqt=l22m2+2l1l2m2cosθ2+l12m1+m2l22m2+l1l2m2cosθ2l22m2+l1l2m2cosθ2l22m2,(4)Cqt,q˙t=−m2l1l2θ˙22sinθ2−2m2l1l2θ˙1+θ˙2sinθ2m1l1l2θ˙1sinθ20,(5)gqt=m2l2gcosθ1+θ2+m1+m2l1gcosθ1m2l2gcosθ1+θ2.Figure 1
Simplified model of 2-DOF manipulator.Considering the pitching vibration, it is necessary to add the base angleθ0 into the gravity matrix as(6)gqt=m1+2m2gl1cosθ0+θ1+m2gl2cosθ0+θ1+θ2m2l2gcosθ0+θ1+θ2,(7)fq˙t=α1⋅sgnθ˙1α2⋅sgnθ˙2,(8)τt=τ1tτ2t.


## 3. Controller Design

Based on the existing iterative learning control method [1, 2], an iterative control scheme combined with B-spline function is proposed for the repetitive trajectory tracking control of robotic manipulator. As illustrated in Figure 2, q0 and q˙0 are the desired angle and angular velocity, respectively. qith and q˙ith are the practical angle and angular velocity, respectively. eith and e˙ith are the angle tracking error and angular velocity tracking error, respectively.Figure 2
Configuration of iterative control scheme combined with B-spline.In Figure2, it can be observed that the BIC is designed to reject the vibration disturbances and attenuate model uncertainties. Additionally, it is designed to further improve the accuracy and repeatability for repetitive trajectory tracking.


### 3.1. Disturbance Observer Design

According to the dynamic characteristics of robotic manipulator [28], the disturbance observer is constructed as(9)τ^d=KMqq˙+v,v˙=−Kτ^d+KCq,q˙q−τ−Mqq˙,where τ^d is the estimation of disturbances τd and v is an intermediate variable. The disturbance estimation error is denoted as(10)τ˜d=τd−τ^d,and the error dynamic of disturbance observer can be described as(11)τ=ub−τ^d,where ub is the feedback controller model:(12)ub=KMqeq−e˙q+Mqq¨0+Cq,q˙q˙.Combining (10) with (2) can obtain(13)Mqq¨+Cq,q˙q˙=KMqeq+e˙q+Mqq¨0+Cq,q˙q˙−τ^d+τd,(14)Mqe¨q=KMqeq+e˙q+τ˜d.Then, the tracking error can be written as(15)e¨q=Keq+e˙q+M−1qτ˜d.Defineε=eqe˙q−1; then formula (15) can be written as(16)ε˙=Z+YKε+Dτ˜d.The augmented system can be written as follows:(17)ε˙τ˜˙d=Z+YKbD0Kdετ˜d+0DI−Kdτ˙d0τdt.


### 3.2. Iterative Controller Design

The iterative controller for trajectory tracking of robotic manipulator is proposed as(18)uli+1th=Mquli+1tht−kpeqt+Δ−kde˙qt+Δ,where kp and kd are control gains, and time shift Δ is a small positive number to be chosen. The iterative controller scheme requires Δ>0 and it can be selected small enough to specify the tracking error bounds as required, but it should be noted that the smaller Δ will slow down the convergence rate as the iteration progresses.Combining the iterative controller with aforementioned disturbance observer and feedback controller, the control input is presented as follows:(19)τi=ub+ulith−τ^d.Substituting (19) into (2), (17) can be rewritten as(20)ε˙τ˜˙d=Z+YKbD0Kdετ˜d+0DI−Kdτ˙d0τdt+D0ulith.The conventional iterative learning control scheme can only deal with repeated disturbances. The repetitive control scheme proposed in this paper is combined with disturbance observer, which can simultaneously control repetitive disturbance and uncertain dynamic disturbance.


## 3.1. Disturbance Observer Design

According to the dynamic characteristics of robotic manipulator [28], the disturbance observer is constructed as(9)τ^d=KMqq˙+v,v˙=−Kτ^d+KCq,q˙q−τ−Mqq˙,where τ^d is the estimation of disturbances τd and v is an intermediate variable. The disturbance estimation error is denoted as(10)τ˜d=τd−τ^d,and the error dynamic of disturbance observer can be described as(11)τ=ub−τ^d,where ub is the feedback controller model:(12)ub=KMqeq−e˙q+Mqq¨0+Cq,q˙q˙.Combining (10) with (2) can obtain(13)Mqq¨+Cq,q˙q˙=KMqeq+e˙q+Mqq¨0+Cq,q˙q˙−τ^d+τd,(14)Mqe¨q=KMqeq+e˙q+τ˜d.Then, the tracking error can be written as(15)e¨q=Keq+e˙q+M−1qτ˜d.Defineε=eqe˙q−1; then formula (15) can be written as(16)ε˙=Z+YKε+Dτ˜d.The augmented system can be written as follows:(17)ε˙τ˜˙d=Z+YKbD0Kdετ˜d+0DI−Kdτ˙d0τdt.


## 3.2. Iterative Controller Design

The iterative controller for trajectory tracking of robotic manipulator is proposed as(18)uli+1th=Mquli+1tht−kpeqt+Δ−kde˙qt+Δ,where kp and kd are control gains, and time shift Δ is a small positive number to be chosen. The iterative controller scheme requires Δ>0 and it can be selected small enough to specify the tracking error bounds as required, but it should be noted that the smaller Δ will slow down the convergence rate as the iteration progresses.Combining the iterative controller with aforementioned disturbance observer and feedback controller, the control input is presented as follows:(19)τi=ub+ulith−τ^d.Substituting (19) into (2), (17) can be rewritten as(20)ε˙τ˜˙d=Z+YKbD0Kdετ˜d+0DI−Kdτ˙d0τdt+D0ulith.The conventional iterative learning control scheme can only deal with repeated disturbances. The repetitive control scheme proposed in this paper is combined with disturbance observer, which can simultaneously control repetitive disturbance and uncertain dynamic disturbance.


## 4. Stability Analysis

Considering the whole robotic manipulator system full of 2 parts, considering the stability of the whole closed-loop control manipulator system, the stability proof part should also include 2 parts:(21)V=V1+V2=εTP1ε+τ˜dTP2τ˜d.Computing the derivate ofV1 andV2 along the trajectories of (2), we can obtain(22)V˙1=ε˙TP1ε+εTP1ε˙=εTP1Z+P1YKbε+2εTP1Dτ˜d0+2εTP1Dτdt≤εTP1Z+P1YKb+γ2P1P1Tε+γ−1D2τd02+2εTP1Dτ˜d0,(23)V˙2=τ˜˙dTP2τ˜d+τ˜dTP2τ˜˙d=τ˙d0−Kdτ˜00−KdτtTP2τ˜d0+τ˜dTP2τ˙d0−Kdτ˜0−Kdτt=τ˜dTP2τ˙d−τ˜dTKdP2τ˜d−τ˜dTP2Kdτdt≤τ˜dTKdP2+γ2KdP2KdPT+γ2P2P2Tτ˜d+γ−2τdTτd+γ−2τ˙dTτ˙d.Then, (21) is rewritten as(24)V˙=V˙1+V˙2≤εTτ˜dTΓ1P1DDTP1Γ2+γ−2D2τd2+γ−2τd2+γ−2τ˙d2,where(25)Γ1=γ2P1P1T+P1A+P1YKb,(26)Γ2=γ2P2P2T+P2KdP2KdT−P2Kd.By using Schur complement formula, it can be concluded that there is a positive scalar satisfyingΓ1P1DDTP1Γ2<−I when Γ<0.So, we have(27)V˙<−ετ˜dT2+γ−2D2τdt2+γ−2τdt2+γ−2τd02.As the iteration increases, the input signal will converge to the specified bound. In addition, the trajectory tracking error will converge to a specific limit. It can be seen that the controller converges, and the actual value always reaches the desired value.


## 5. Improved B-Spline Optimization

All the classical properties of B-spline basis function can be extended to the multidegree space [20]. In order to calculate spline curves effectively, it is suggested to use multiscale equations formed by transition functions to calculate each function easily. Therefore, although the resolution of linear systems with as many spatial dimensions is involved, this method has the advantage of locality.On the basis of cubic uniform B-spline, the motion trajectories of robotic manipulators are classified according to the importance of tasks. Based on the convex hull characteristics of uniform B-spline, the distance information and motion constraint are combined to make the part of trajectory with high-precision converge to smooth, safe, and feasible trajectory in a short time. Suppose that the form of B-spline curve of trajectory can be described as follows:(28)qt=∑i=0n−1piBidt,t0≤t≤tn−1,where Bidt is a B-spline basis function of degree d and the control points pi must be computed by imposing interpolation conditions on the given data points qith.The number of control nodes, the number of times, and the number of node vectors satisfy the formula(29)F=N+d+1.Then the piecewise polynomial of B-spline basis function is shown in the equation(30)Bi−d,d+1stBi−d+1,d+1st⋯Bi,d+1st=1sts2t⋯sdtFd+1,where Fd+1 is the constant matrix determined by the degree.Then the optimized pathPst is shown in the following equation:(31)Pst=1sts2ts3tF4Qi−3Qi−2Qi−1Qi.According to the actual scene, the joint angular acceleration curve often has the situation that the starting and ending positions are not zero and the third derivative is discontinuous, which will produce vibration and mechanical impact during the movement of the manipulator and affect the stability of the controller signal. In order to solve the above problems, the constraint conditions are added to each segment to modify the signal.The function expression of cubic B-spline interpolation function can be expressed as formula (31) after adding correction function to each segment interval(32)Pit=Pst+κit,where κit is the modified function and Pit is the improved interpolation function. The motion process of the robotic manipulator can be divided into the three following parts:Part 1: the correction function in the first subsectionκit is to satisfy that the acceleration of the robotic manipulator is stationary at the beginning, and the other properties of cubic spline interpolation remain unchanged. κit should satisfy the following:(33)κ10=κ1′0=0,κ1″0=−P″s0,κ11=κ1′1=κ1″1=0.Through the constraints of formula (33), we can obtain the modified function in the first interval as(34)κ1t=Q02t2t−13.Part 2: in the second part, which represents the process of the robotic manipulator in the process of machining, we mainly consider the discontinuity of the third derivative in this part.κit should satisfy the constraints as(35)κntn−1=κn′tn−1=κn″tn−1=0,κntn=κn′tn=κn″tn=0,κn−1‴tn−0+Pn−1‴t=κn−1‴tn+0+Pn‴t.Through the constraints of formula (35), we can obtain the modified function in the second interval as(36)κmt=−Pm−1‴t+Pm‴t−3Q06t−tm−13t−tm3.Part 3: the correction factor in the last part keeps the third derivative continuous at the left end of the interval in order to make the acceleration of robotic manipulator stationary at the termination time, and other properties of cubic spline interpolation remain unchanged.κit should satisfy the constraints as(37)κiti−1=κi′ti−1=κi″ti−1=0,κiti=κi′ti,κi″ti=−P″si,κi−1‴ti−1−0+Pi−1‴t=κn−1‴tn+0+Pi‴t.Through the constraints of formula (37), we can obtain the modified function in the third interval as(38)κit=−3Q0+F6F4t−ti−13t−ti2x−3Qiti−1+F3Qi+F.


## 6. Simulation

In this section, the manipulator model is established by using MATLAB 2020a, and the designed controller is simulated. In order to show the effect of the proposed method in high-order iteration, the following simulations extract the data after 80 iterations. The parameters of the manipulator are shown in Table1.Table 1
Simulation parameters of the manipulator in Figure1.
m1 (kg)5.0m2 (kg)3.0l1 (m)1.0I1 (kg·m2)2.0l2 (m)1.0I2 (kg·m2)5.0Firstly, the distribution of control points is adjusted according to the importance of the task, which makes the distribution gap between the three parts larger. By showing the trajectory tracking effect before and after the improved B-spline optimization method, the application value of the improved scheme is illustrated.As shown in Figures3 and 4 , the improved B-spline optimization method can effectively improve the trajectory tracking effect of the robotic manipulator. On the premise of nonuniform distribution of control points, part 1 and part 3 with fewer control points can still keep tracking accuracy under the action of correction function. The root mean square errors (RMSE) are 3.6% and 0.5%, respectively, from the error data in Figures 3(d) and 4(d).Figure 3
Input modification scheme of manipulator controller based on conventional B-spline optimization (control points with nonuniform distribution). (a) Controller input and compensator output in part 1. (b) Controller input and compensator output in part 2. (c) Controller input and compensator output in part 3. (d) Comparison and error of reference position and measurement position.
(a)(b)(c)(d)Figure 4
Input modification scheme of manipulator controller based on improved B-spline optimization (control points with nonuniform distribution). (a) Controller input and compensator output in part 1. (b) Controller input and compensator output in part 2. (c) Controller input and compensator output in part 3. (d) Comparison and error of reference position and measurement position.
(a)(b)(c)(d)Next, the B-spline optimization scheme with uniform distribution of control points is simulated.As shown in Figures5 and 6 , the improved B-spline optimization method can also effectively improve the trajectory tracking accuracy under the condition that the common control points are evenly distributed. Due to the uniform distribution of control points, the accuracy of part 1 and part 3 is improved, so the overall error decreases. Their RMSE are 2.9% and 0.4%, respectively.Figure 5
Input modification scheme of manipulator controller based on conventional B-spline optimization. (a) Controller input and compensator output in part 1. (b) Controller input and compensator output in part 2. (c) Controller input and compensator output in part 3. (d) Comparison and error of reference position and measurement position.
(a)(b)(c)(d)Figure 6
Input modification scheme of manipulator controller based on improved B-spline optimization. (a) Controller input and compensator output in part 1. (b) Controller input and compensator output in part 2. (c) Controller input and compensator output in part 3. (d) Comparison and error of reference position and measurement position.
(a)(b)(c)(d)The above is to discuss the signal repetition accuracy and trajectory tracking error of the controller. Finally, we will show the motion effects of the robotic manipulator using the improved B-spline optimization scheme under different conditions. In this section, we set the parameters of three different robotic manipulators. Their differences are different in length and mass, as shown in Table2. The parameters not involved are the same as those in Table 1.Table 2
Simulation parameters of the manipulator in different cases.
Case 1Case 2Case 3m1 (kg)555m2 (kg)33l1 (m)111l2 (m)105Case 1 uses the same parameters as those in Table1. As shown in Figure 7, through the simulation results of the robotic manipulator’s motion trajectory, it can be seen that the improved B-spline optimization scheme can make the manipulator’s motion trajectory smoother and has better suppression effect on interference and vibration. In Case 2, the length of mechanical arm is changed, as shown in Figure 8. It can still be seen that the trajectory smoothness of the manipulator is significantly improved after using the scheme proposed in this paper. However, as shown in Figure 9, the improved B-spline optimization scheme does not achieve obvious results in example 3. Compared with the actual manipulator control system and the experiment of the Simscape model, because the stiffness of the material is not considered in the simulation, the change of the weight only affects the inertia and reduces the vibration and interference. Therefore, the optimization effect of Case 3 simulation is not obvious.Figure 7
The trajectory of 2-DOF robotic manipulator in case 1. (a) Conventional B-spline optimization. (b) Improved B-spline optimization.
(a)(b)Figure 8
The trajectory of 2-DOF robotic manipulator in case 2. (a) Conventional B-spline optimization. (b) Improved B-spline optimization.
(a)(b)Figure 9
The trajectory of 2-DOF robotic manipulator in case 3. (a) Conventional B-spline optimization. (b) Improved B-spline optimization.
(a)(b)In order to show the ability of the proposed algorithm in practical application as much as possible, a 2-DOF robot model is established by using MATLAB/Simscape to verify the performance of the proposed algorithm in repetitive control and compare with the conventional B-spline and rational B-spline optimization algorithms [29]. Due to the limitation of hardware, more parameters are introduced in Simscape, which leads to the slow operation speed. Therefore, the trajectory of the manipulator after 10 iterations is extracted.Firstly, the coordinate data of the given trajectory is extracted, and the constraint conditions are fitted according to the dynamic model of the manipulator and the physical model built in Simscape. Next, B-spline interpolation method is used to smooth the trajectory coordinates and convert them into servo motor control signals, which are provided to the joint controller. Finally, visualization processing is carried out to show the motion in MATLAB, and the proposed interpolation compensation method is used to correct the error before entering the next iteration. The process is shown in Figure10.Figure 10
Repetitive control simulation process.The parameters of joint rotation friction can be added to each joint of the quasi-physical model to make the virtual manipulator closer to the real manipulator. The quasi-physical model of manipulator based on Simscape is constructed, including all the revolute joints with rotating friction and their parameters. The model of revolute joint in Simscape is shown in Figure11.Figure 11
Revolute joint model in Simscape.The parameters of the manipulator model established in Matlab/Simscape are from the data of the spraying manipulator provided by the Vehicle Research Institute, as shown in Table3.Table 3
Parameters of revolute joint in Simscape.
JointValues of mass (kg)Breakaway friction torque (Nm)Breakaway friction velocity (rad/s)Coulomb friction torque (Nm)Viscous friction coefficient (Nm/(rad/s))14.07730 × 10−30.0124 × 10−30.00121.83210 × 10−40.015 × 10−40.001Figure12 shows the coordinates of the trajectory of the conventional B-spline interpolation method, rational B-spline optimization algorithm, and the algorithm proposed in this paper under the Simscape model. In order to highlight the performance of the algorithm more clearly, it continued to run for a period of time, and the repeated loop interval with obvious errors was selected for analysis.Figure 12
Comparison of simulation results in Simscape.As shown in Figure12, the input command is obtained by directly connecting the calibration points, and the track line is not smoothed. From the simulation data, it can be seen that the trajectory of the manipulator control output is gradually smoothed by the spline interpolation optimization method proposed in this paper. Through the Simscape simulation results, it is shown that, in the actual situation, due to the existence of interference, after 20 iterations, the tracking accuracy is reduced, but the method proposed in this paper can still ensure excellent tracking accuracy on the premise of keeping the track smooth. Although the relative error of rational B-spline optimization method is small, there is obvious trajectory breakpoint problem due to the small number of control points and not considering the control points at the turning. Due to the uniform distribution of control points and simple trajectory, the traditional B-spline interpolation method is partially optimal, but there is obvious vibration.


## 7. Conclusions

The application of iterative control in the control system of robotic manipulator can facilitate decision-making and adjust the gap between the repeated motion results and the expected results, so as to meet the requirements of repeated motion. However, the control process of robotic manipulator is highly nonlinear, strongly coupled, and time-varying. Therefore, the combination of iterative learning control and other intelligent control methods is used to optimize the control. It can improve the robustness and adaptability of the system and achieve good tracking error convergence and high tracking accuracy. In this paper, three methods are proposed to compensate the motion characteristics of the target in different intervals according to the motion characteristics of the target. This scheme can realize the control of the nonlinear strong coupling dynamic uncertain system in a given time range through a very simple algorithm and obtain the high-precision tracking of the given trajectory and realize the stability and robustness of the system. By combining MATLAB simulation into the iterative learning control system, the effectiveness of the improved B-spline repetitive control method can be quickly verified. Thus, the application efficiency of the new method in the actual control system can be improved. The simulation results show that the improved cubic B-spline optimization method has better tracking accuracy than the conventional cubic B-spline optimization method. However, in some cases, due to the higher order of interpolation method, the Runge phenomenon will appear near the end point, resulting in the failure to return to the end point coordinates correctly. After many iterations, this problem will gradually become serious. Some references have proposed solutions for Runge phenomenon [30, 31], and we will implement these solutions in the future robotic manipulator control system.



---

*Source: 6651105-2021-04-17.xml*