A Novel Trajectory Tracking Control with Modified Supertwisting Sliding Mode for Human-Robot Cooperation Manipulator in Assembly Line

In this paper, the trajectory tracking problem of industrial manipulator with ﬁ xed periodic external force on human-robot cooperative assembly line is studied. An advanced fuzzy adaptive supertwisting sliding mode control (FASTSMC) algorithm is proposed to realize the rapid convergence and continuous control of nonlinear control system. In order to enhance the robustness of the system, an arctangent terminal sliding mode surface is designed to deal with the concentrated uncertain disturbance. The supertwisting method is used to overcome the chattering problem in the control law. The fuzzy adaptive technique is used to compensate the centralized disturbance with unknown upper bound. A sti ﬀ ness identi ﬁ cation model is designed to estimate the deviation of the manipulator under external force. Finally, the feasibility of the proposed control scheme is veri ﬁ ed by a simulation example of a 4-DOF manipulator.


Introduction
The development of Industry 4.0 has led to great changes in manufacturing specifications and aims to reduce human participation by replacing industrial robots to perform the most repetitive tasks [1]. Human-robot cooperation is a representative technology, which has become the key technology of the future factory. For example, this technology has been used in assembly lines in the automotive industry such as the Volkswagen factory in Wolfsburg, Germany. It combines the advantages of human workers and assistant robots and allows different degrees of automation in the workplace to meet the increasing flexibility needs of manufacturing systems. In the hybrid team of human and robot, the organization needs intelligent planning and control algorithms. The system must be reconfigured quickly to meet the needs of high production of different products, but human participation is inevitable [2]. Human-robot cooperative system is a nonlinear time-varying dynamic system with uncertain interference, in which the uncertainty and external interference greatly improve the complexity of the system. Many researchers have designed corresponding controllers for this technical problem, such as variable impedance control method [3], adaptive admittance controller [4], underactuated redundant low impedance method [5], and efficiency weighting strategy [6]. However, the existing methods lack ideal solutions to three main challenges: (1) the control system cannot guarantee the convergence of stable equilibrium. (2) The robustness of human-robot cooperative system is endangered by uncertainty and external interference. (3) The nature and characteristics of external interference are difficult to identify and compensate.
Although many advanced control methods, such as adaptive control [7], neural network control [8], and variable structure control [9], can be applied to human-robot cooperation manipulator control system, they all have some limitations. Deng [10] developed a novel finite-time command filter backstepping method, which allows the traditional command filter backstepping control and ensures the finite-time convergence. Figueredo et al. [11] proposed a robust dual-quaternion-based H-infinity task-space kinematic controller for robot manipulators, and this controller provides higher precision and faster response than the conventional H-infinity control. Although the above schemes have achieved some positive conclusions, the design of these controllers is complex, and the steps of adjusting parameters in practical engineering application are cumbersome, which is not conducive to wide popularization. Therefore, this paper attempts to improve the more easily realized sliding mode control and apply it to the end trajectory tracking control of human-robot cooperation manipulator.
The conventional sliding mode control principle is to use the symbolic function to make a decision on the input signal and then process the feedback, respectively, so that the control system can obtain strong robustness. The conventional linear sliding mode control can only achieve the asymptotic convergence of the state. Generally, increasing the gain to make the actuator saturate quickly is a common method to accelerate the convergence speed of tracking error [12]. In order to make the sliding mode control more in line with the needs of practical application, many improved schemes of sliding mode control have been proposed one after another. In reference [13], a terminal sliding mode control of PID type is proposed to strengthen the nonlinear relationship between state variables and control inputs. In reference [14], combining the sliding mode control method and the fast exponential convergence method, the sliding mode surface can be obtained faster, and the tracking error converges in the form of fast exponential convergence. In addition, terminal sliding mode control has the characteristics of reduced control gain, strong anti-interference ability, and finite-time convergence. It is also often used in the control of manipulator. For example, based on the terminal sliding mode control scheme proposed in reference [15], the low gain control of the manipulator system is realized. For the stabilization of underactuated robotic systems, reference [16] designed a fast terminal sliding mode control technology based on disturbance observer, estimated the external disturbance of the system by using the finite-time disturbance observer, and established the finite-time control law. In order to eliminate the singularity in the control process, a nonsingular continuous terminal sliding mode control system is designed by using the power reaching law in reference [17]. Tracking control of manipulator system can be realized by establishing reference signal and synchronizing it. Reference [18] uses neural network technology and sliding mode control method to design controller. In reference [19], the combination of sliding mode control method and fault-tolerant control is adopted. In the design of the manipulator controller, the supertwisting method is used to eliminate the control chattering and realize the finite-time tracking control. An adaptive finite-time sliding mode control is applied to chameleon chaotic systems with uncertainties and disturbances [20]. Alattas et al. [21] applied the optimal integral terminal sliding mode control based on the control Lyapunov method to the asymmetric nonholonomic robot system with external disturbances and obtained positive conclusions. In reference [22], the finite-time tracking control is realized by formulating the boundary layer. The sliding mode control method realizes quasi-sliding mode control by adjusting symbolic function and exponential function. However, this method has the disadvantage of reducing the dynamic accuracy of the system.
There are many research achievements in the end trajectory tracking control of manipulator based on sliding mode control scheme and the solution of human-robot cooperation. In reference [23], an impedance control structure for monitoring the contact force between the end effector and the environment is proposed, and the model-free fuzzy sliding mode control strategy is used to design the position controller and force controller. A fuzzy controller is proposed in reference [24]. A nonlinear model is used to track the trajectory of the micro robot in the human vascular system. In addition, the application of sliding mode control in the field of external force control of manipulator not only improves the robustness of the controller but also improves the estimation of force through sliding disturbance observer, so as to avoid the use of expensive force sensors in connecting rods and joints, such as reference [25]. The estimation of force is closely related to the stiffness identification of manipulator link and joint. Some studies identify the change of manipulator stiffness matrix and then calculate the change of external force, but it requires high accuracy of sensor for stiffness measurement [26,27]. In the above research, in addition to the research on the manipulator control system in the fixed application field, the impact of stiffness change on the end trajectory tracking control effect is rarely considered in the related research using the general manipulator dynamic model. The main difficulty is that special sensors need to be added to measure the change of stiffness, and the installation position of the sensor is difficult to determine because the trigger point of the change of manipulator link or joint stiffness is not fixed in different application environments. On the premise of considering the elastic deformation law under the influence of external force, the elastic deformation law model is introduced into the general manipulator model, and the compensation mechanism is introduced. The most common case of periodic variation of elastic deformation is the scene where the manipulator works repeatedly on the assembly line.
During the observation of the production process, it is found that in the common scene of human-robot cooperation in industrial production, the external force generated by man on the manipulator often has a periodic law, which often occurs in the assembly line. Because the operation of the workpiece in the assembly line is cyclic and unified, the physical contact rate between man and the manipulator will appear in a specific action. Therefore, this paper believes that the stiffness change caused by this external force can be summarized into the corresponding model. The main innovation of this paper is to solve the elastic deformation law of manipulator joints and links, combined with the stiffness identification model, and combined with the general dynamic model of manipulator. The trajectory deviation caused by external force contact is no longer regarded as uncertain disturbance, which improves the performance of the controller. In addition, the fuzzy adaptive supertwisting sliding mode controller proposed in this paper uses the arctangent function to replace the symbolic function, which improves the performance of the controller. In addition, 2-DOF and 4-2 Journal of Sensors DOF manipulators are used to verify the effectiveness of the proposed algorithm and control scheme. From the perspective of practical application, the scheme proposed in this paper does not need to add additional sensors on the manipulator and will not increase the economic cost of industrial production.

Model Derivation and Control Objectives
Based on the general dynamic equation of the manipulator, the dynamic equation of the n-DOF manipulator under external disturbance can be obtained as follows [28].
where q, _ q, and € q ∈ R n are the vectors of joint positions, velocities, and accelerations, respectively. MðqÞ ∈ R n×n is the positive definite inertia matrix of the manipulator; Cðq , _ qÞ ∈ R n×n is the Coriolis force and centrifugal force matrix of the manipulator; GðqÞ ∈ R n is the gravity matrix of the manipulator; Fð _ qÞ ∈ R n is the friction matrix; τ ∈ R n is the control torque of the manipulator joint; τ d ∈ R n is the uncertain external disturbances. In practical industrial applications, the values of these physical parameters cannot be accurately obtained due to modelling errors, payload changes, external interference, other inherent factors, and human factors. Therefore, the uncertainty caused by the system parameter error can be expressed as where the subscript has the symbol of 0, such as M 0 , which means the nominal matrix of manipulator parameters, and the symbol with Δ in front means the uncertain part of the robot arm control system, such as ΔM.Combined with formulas (1) and (2), a new dynamic equation of manipulator can be obtained.
Then, through the above analysis, it can be concluded that in the presence of uncertainty and interference, the dynamic equation (3) can be expressed as In order to facilitate representation and calculation, a simplified dynamic model can be obtained according to equation (4), which is written as where DðtÞ is the uncertainty and disturbance in the manipulator control system and f 0 ðq, _ qÞ represents a nonlinear function with known boundary.
As can be seen from (1), the parameters in the manipulator control system are highly coupled and are also affected by dynamic time-varying parameters, which will affect the stability of the system. In practical engineering, it is very difficult to accurately obtain the mathematical model, such as unknown parameters, unmodeled nonlinear functions, and payload changes. However, some prior knowledge of the model can be obtained by analyzing the dynamic timevarying characteristics. Therefore, in the design of modelbased manipulator controller, we should not give up considering the influence of unknown disturbances but summarize the corresponding approximate mathematical model through the existing data. Based on the above classical model, this paper considers the cooperative work of the manipulator in the task, and this cooperation is different from the parallel manipulator in most cases. It may be human-robot cooperation or the cooperative work of multiple independent mechanical systems, so it is inevitable to have direct or indirect mutual contact and collision. In this paper, the resulting external force and influence are expressed by the following equation.
where F e is the external generalized force exerted by the manipulator on the environment and Κ ∈ R n×n is the stiffness matrix. Whilex = x r − x is the end effector tracking error with x r being the reference trajectory, it is worth noting that there is a difference in meaning between the end trajectory error here and the end position error later. The trajectory error here refers to the trajectory error generated during the execution of the task, and the end position error later refers to the signal error between the controller and the sensor.
For the end control of the manipulator, the goal is to design a robust sliding mode control to ensure highprecision tracking of the desired known trajectory of the manipulator in the presence of uncertainty and external interference.
where q d ∈ R n is a desired trajectory, e = q − q d is trajectory tracking error, and t f is finite time. Then, the controller is designed according to the control objectives mentioned in the paper. In order to ensure the rationality of the designed controller, the stability is analyzed through the following basic assumptions and lemmas. The assumptions are as follows: (i) Joint position and speed status are data that can be measured by manipulator sensors (ii) The total uncertainty ψDðtÞ satisfies the following conditions, jψDðtÞj ≤ ω 0 and jψ _ DðtÞj ≤ ω 1 , where ψ 3 Journal of Sensors is a constant diagonal matrix, which is formulated in advance. Constants ω 0 and ω 1 are unknown and positive Through the above assumptions and according to the relevant lemmas, the stability of the following invariant system can be proved.
Suppose there is a continuous function VðzÞ in the system shown in equation (7), which satisfies the following conditions, i.e., it is a positive definite function on D ⊆ R n and satisfies constraint condition: where k > 0 and λ ∈ ð0, 1Þ, it can be concluded that the system based on equation (7) is locally finite time stable. If D = R n is satisfied, the system is globally finite time stable.

FASTSMC of Manipulator with External Force Prediction
3.1. Design of Sliding Surface. The nonlinear sliding surface describing the manipulator control system in equation (5) can be defined as where eðtÞ = q − q d is the joint space tracking position error with q d ∈ R n as the known desired position trajectory. From these, we can get the result that _ eðtÞ = _ q − _ q d represents the tracking speed error of the joint, _ q d means the desired speed trajectory given by the control system, ψ is a constant diagonal matrix, and λ and β are the positive coefficients. Then, the derivative of equation (10) with respect to t can be obtained.
When the uncertainty boundary ω 0 of the error is known, the parameters l 1 and l 2 can be taken according to the method of reference [17], i.e., l 1 = diag 1:5 ffiffiffiffiffi It should be added that in the above case, l 1 and l 2 are constants, and the gain l 2 must be greater than the boundary ω 0 in order to switch the term l 2 sgn ðσðtÞÞ. The uncertainty term ηðtÞ can be controlled. It is worth noting that in many cases, the control gain may be overestimated, resulting in increased chattering. Later, we will design a fuzzy adaptive compensation method to reduce chattering.
According to the conclusion in reference [18], equivalent control on the sliding surface means average control. Once the control system reaches the sliding surface, equivalent control will occur. In order to keep the system moving on the sliding surface, the sliding mode gain should not be less than the upper limit of uncertainty. Obviously, due to the switching characteristics of sliding mode control, the motion of the system on the sliding model surface is discontinuous, but the system controller needs to be continuous and equivalent approximate. Therefore, it is necessary to use a lowpass filter to obtain equivalent control.
where 0 < μ < 1/β 0 < 1 and ϵ > 0 A is a positive scalar and cannot be too large and u eq ðtÞ = ηðtÞ = l 2 sgn ðσðtÞÞ is equivalent control on the sliding surface. The proposed adaptive control law KðtÞ is defined as where k 0 , r 0 , and γ are positive constants and ϱðtÞ is a timevarying scalar.
In (15) and (16), discontinuous symbolic functions exacerbate the chattering of sliding mode control. For sliding mode control, the effective method to suppress chattering is to select the appropriate switching function to improve its continuity and smoothness. The common method is to replace the traditional symbolic function with the saturation 4 Journal of Sensors function, so that the boundary layer can be a continuous state linear feedback control, but there is a problem of uneven transition stage, resulting in drastic changes in slope.
In order to improve the smoothness of boundary layer transition stage, some recent studies use hyperbolic tangent function as switching function. As shown in the figure, the transition of hyperbolic tangent function is smooth in the boundary layer, and the curve slope in the transition stage of hyperbolic tangent function changes little near the boundary layer. In addition, it is a continuous state feedback control in the boundary layer to improve the smoothness. Different from the existing sliding mode control, this paper uses the arctangent function as the switching function. It can be seen from Figure 1 that the characteristics of the arctangent function and the hyperbolic tangent function are similar when they are used as the switching function. However, there is an exponential function in the hyperbolic tangent function. In the operation process, especially when calculating the derivative, the amount of operation is large, and the occupation of operation resources is more obvious when calculating the high-dimensional model. Therefore, considering the above reasons, equation (19) in system (17) is rewritten as Considering that the robotic manipulator system (1) satisfies the above assumptions and proposes the control equation as equation (17), it can guarantee the finite-time convergence of the error eðtÞ to zero point, and it can track even in the presence of uncertainty and external disturbances asymptotically expected known trajectory q d .
We can get the convergence of systems (15) and (16) in a finite time. Especially σðtÞ = 0, then from equation (10), we can get the following result: Then, (23) can be regarded as the solution of the following first-order differential equation: Since β > 0, θðtÞ will converge gradually to zero; therefore, it can be inferred that when t ⟶ ∞, θðtÞ ⟶ 0, and this will cause eðtÞ ⟶ 0 and q ⟶ q d . This just verifies the closed-loop stability of the controller in the manipulator system.

Fuzzy Adaptive Sliding Mode Controller.
Sliding mode control is an effective control technology to solve the zero dynamic problem of nonminimum phase nonlinear systems. However, in these designs, the concern about chattering has not been completely solved without reducing the robustness of the closed-loop system. High-order sliding mode control and integral sliding mode control are alternative control methods to effectively solve the chattering problem and further enhance the robustness of the closed-loop system. However, the design of these controllers still requires a priori knowledge of the uncertainty boundary. This paper adopts the construction of fuzzy rules as the formulation standard of uncertainty boundary in controller design, and these rules and membership functions often rely on empirical knowledge.
Aiming at the problem of manipulator control with unknown model uncertainty and external interference, this paper uses fuzzy logic inference algorithm to compensate for the unknown uncertainty of the system. Among them, the fuzzy function contains the adaptive parameters of sliding mode control to realize the adaptive sliding mode control.
The sliding surface θðtÞ and _ θðtÞ are selected as the inputs of the fuzzy system. Input and output fuzzy sets are defined as NL NM ZO PM PL f g , where NL represents negative large, NM represents negative medium, ZO represents zero, PM represents positive medium, and PL represents positive large. The Gaussian membership function of fuzzy system can be expressed as where Ω i is the input and output of the fuzzy system, the subscript z of the membership function represents the fuzzy rule set, α and ρ represent the center and width of the fuzzy rule set z, respectively. When the state trajectory deviates from the sliding mode surface or the approaching speed is small, the output should be increased appropriately to make it reach the sliding mode surface quickly. When the state trajectory approaches the sliding surface or the approaching speed is large, the output should be appropriately reduced to suppress chattering.

Journal of Sensors
According to the above analysis, the determination of fuzzy rules is shown in Table 1.
In the rule base, the central average defuzzification and product reasoning methods are adopted, and the output of the fuzzy system can be expressed as where Therefore, the fuzzy function can be obtained.
where Γ T is a membership function and Ψ is an adaptive fuzzy parameter. The adaptive fuzzy parameters are formulated as follows: where δ > 0 is a scalar design parameter.

3.4.
Simulation. This part will take a 2-link manipulator as an example to complete a simple trajectory, observe the effectiveness of the proposed FASTSMC in the basic example, and compare it with the classical sliding mode control [30] and the conventional supertwisting sliding mode control [31] to reflect the application performance of the proposed method. The desired trajectory given by this simulation is q d = cos ð0:5tÞ 2 sin ð0:5tÞ ½ T . It can be seen from Figure 2 that the tracking effect of classical sliding mode control is poor, the convergence speed is slow, and it is not stable enough in the tracking process. After stabilization, some errors will still occur sometimes. Supertwisting sliding mode control is a high-order sliding mode control method. It has the advantage of realizing the finite-time convergence of sliding mode variables and their derivatives, can avoid the singularity problem existing in other sliding mode control methods, and can make the chattering in the output control signal more subtle. As shown in Figure 3, the track tracking effect of supertwisting sliding mode control is very excellent, but the convergence speed is not satisfactory, which is difficult to apply in the case of uncertainty in the system. The FASTSMC proposed in this paper can quickly and accurately maintain trajectory tracking. Compared with the above two traditional methods, as shown in Figure 4, the method proposed in this paper has better performance in convergence speed and stability.
Then, the complexity of the algorithm proposed in this paper is shown in Table 2. The computational complexity of the algorithm proposed in this paper is expressed by the time required for operation in MATLAB. The simulation is run using MATLAB 2020a on a personal computer with Intel Core, CPU i7-7700 @ 3.60 GHz, and 8 GB RAM. It is not only compared with the above sliding mode control and supertwisting sliding mode control but also with the computational complexity of quantum interference artificial neural network proposed in [8]. In order to make the test results more accurate, each scheme was tested ten times, and the calculation time was taken as their average.
It can be seen from Table 2 that the processing time of the control scheme proposed in this paper is longer than that of some conventional sliding mode control schemes, which is mainly caused by MATLAB calling fuzzy logic module. Compared with other novel schemes, the method proposed in this paper has advantages in complexity.

Predict Joint Stiffness Model.
In the manipulator control system with n rotating joints, the driving system of the joint can be regarded as a cantilever system, and its stiffness can be expressed by the spring constant k θ . On this basis, the joint stiffness of the manipulator system can be expressed as the following diagonal matrix: In the use of industrial manipulator, because the end effector of the manipulator is affected by external contact force, each joint will deform, resulting in the change of the direction of the end effector. By analyzing the mechanical characteristics of the industrial manipulator, it can be found that there is the following relationship between the elastic deformation at the joint of the manipulator and the torque applied at the joint: where e k ðtÞ is the vector representing the deformation of joint angle under the influence of joint stiffness change.
Firstly, the stiffness of each joint of the manipulator is assumed to be known, and the model between each joint is established by Jacobian matrix, and the mapping relationship with the elastic deformation of the end joint is obtained. After that, through the kinematic model of the manipulator, the law between the end deformation of the manipulator and the deformation of other joints can be obtained as follows:

Journal of Sensors
The influence of joint friction and gravity has been considered above, and these factors are ignored in this part. Therefore, the relationship between the joint torque caused by compensation deformation and the applied generalized force can be obtained: Substituting (31) and (32) into (33), respectively, we can get Assuming that the Jacobian matrix and the terminal generalized force vector are known, we can obtain the joint deformation mapping of the manipulator in the workspace and calculate the joint torque caused by the change of joint stiffness caused by external force. Therefore, we define a model predictive control, which links the deformation law of the rigid body with the sliding mode control above. The system assumption of the stiffness part has no uncertainty, and the dynamics is given by a simple integrator chain and controlled by v.
If there is no activation constraint, the nominal solution can be obtained from the model predictive control conclusion v by minimizing the square norm of the prediction derivative of the sliding vector evaluated using the nominal dynamics. Otherwise, a compromise will be reached to meet the constraints. The prediction derivative can be easily calculated from the state prediction without uncertainty [32].
The predicted values referenced by the model are direct because they are designed by the user. For external forces without high-order information, it is obvious that the longer the delay time, the less effective the assumption is, resulting in performance degradation during contact transients. The     (11)) 5 β 0 , k 0 , r 0 , γ (in equations (17)-(21)) 1.99, 3, 3, and 5 ω 0 (in equations (15) and (16)) 4 α, ρ (in equation (25)

Simulation Results
In this part, the manipulator model is established by using MATLAB 2021a, and the designed controller is simulated. The simulated manipulator adopts the practical 4-DOF manipulator. In the simulation of this paper, fixed kinematic parameters are assumed, but we introduce serious 15% uncertainty in other parameters, that is, connecting link mass, connecting link inertia, and connecting link centroid position, and periodically introduce 20% torque error to simulate periodic collision caused by human-robot cooperation. The structure diagram of the controller is shown in Figure 5.
In the simulation part, we compare the proposed scheme with sliding mode control [30], supertwisting sliding mode control [31], and model predictive control [33], which are common methods used in manipulator trajectory tracking control. And we design two case examples to illustrate the application effect of the algorithm under different conditions. In the simulation, the controller parameters and manipulator mechanical parameters of the scheme proposed in this paper are shown in Table 3 Case 1. In this case, we designed a large-area cutting scheme of the manipulator. There are no sharp turns in the whole track. In order to respond to the interference of humanrobot cooperation, a periodic external force is added at the second joint, and the trajectory tracking results are shown in Figure 6. 10 Journal of Sensors From the track tracking effect shown in Figure 6 and the tracking error shown in Figure 7, it can be seen that the adopted method does not cause obvious error under the influence of periodic external force, which shows that these classical algorithms have strong robustness, and the selected comparison scheme is suitable for manipulator control.
Case 2. In this case, we designed the cutting work of the small area sharp turning process of the manipulator. There are many turning points in the trajectory, but no external force interference is added. The track tracking results are shown in Figure 8.
As can be seen from Figure 8, the method proposed in this paper can track the desired trajectory faster than other methods after the turning of the trajectory. This shows that the proposed method still has performance advantages in trajectory tracking control even without direct external force. As shown in Figure 9, the method proposed in this paper has an advantage in convergence speed, and the trajectory can track the desired trajectory quickly after errors arise from uncertain disturbances and acute trajectories.
Case 3. In this case, the trajectory of the manipulator is the same as that in Case 2. At the same time, the same periodic external force as in Case 1 is added. The track tracking results are shown in Figure 10.
From the tracking effect of model predictive control in Figure 10, it can be seen that the error with the desired trajectory is larger than that in Figure 8, which shows that the influence of the applied external force on trajectory tracking is obvious. For other sliding mode control methods, due to the model prediction of stiffness matrix, it can actively compensate the influence caused by the external force. Therefore, it can be seen in Figure 11. In terms of error and convergence time, there is little difference between several sliding mode controls and Figure 9, which reflects the

11
Journal of Sensors effectiveness of the joint stiffness model prediction proposed in this paper.
It should be noted that since the tracking effect of the model predictive control has a large error, in order to describe the convergence process of the control method simultaneously with other methods, in Figures 9 and 11, the error of the model prediction is based on the deviation between the interpolation projection points of the nearest sampling point and the next sampling point.
In order to illustrate the performance of the scheme proposed in this paper in practical application in manipulator as much as possible, a 4-DOF manipulator model is established by using MATLAB/Simscape, and the external force is added at the joint to verify the performance of the scheme in the human-robot cooperation application of the assembly line. Because Simscape involves many variables and the coupling between parameters is strong, the simulation needs a lot of calculation. With the permission of computer performance and time, we will increase the number of simulation iterations as much as possible. The following figure shows the simulation results of the 10th iteration.
Firstly, the coordinate data of the desired trajectory of the manipulator in the motion space are read, and the constraints of the motion process are fitted according to the physical model established based on the mechanical characteristics of the manipulator. Secondly, the stiffness identification model is used to process the trajectory deviation caused by external force, which is converted into servo motor control signal and provided to the joint controller. Finally, the motion process obtained after Simscape simulation is visualized in MATLAB, and the proposed stiffness matrix compensation method will be used to correct the error before entering the next iteration. The specific process described above is shown in Figure 12.
The experiment of two closed curves is designed according to the process in Figure 12. In the application process of industrial manipulator, the requirements of closed pattern are high. It needs to overlap the starting point and terminal point, and this standard should still be maintained after repeated operations; otherwise, waste workpieces or unqualified products will be produced. The experiments of the two closed curves shown in Figure 13 take the effect after the

12
Journal of Sensors 10th iteration, and the applied periodic external force is 20 ± 2 N. The difference between the two groups of experiments is that the length of the connecting rod of the manipulator is different, but as shown in Figures 13(a) and 13(b), the starting point and end point can be kept coincident, which shows that the specification of the manipulator has little impact on the application effect of the scheme proposed in this paper.

Conclusion
In this paper, the arctangent terminal sliding mode surface and sliding mode controller are designed for the manipulator with fixed periodic external force on the assembly line applied to human-robot cooperation, so as to track the reference trajectory quickly and accurately. In order to suppress the influence of uncertain disturbance on the controller, the fuzzy logic adaptive parameters are constructed, combined with sliding mode control to enhance the robustness in the control process. Then, the supertwisting and fuzzy adaptive theory are used to reduce the chattering and compensate the concentrated disturbance of the manipulator under the action of external force. Then, because the sensor has some limitations in stiffness measurement, this paper designs a stiffness identification model to estimate the disturbance caused by the applied external force, which saves the hardware cost of the sensor and improves the control effect. The feasibility of the proposed FASTSMC is verified by the simulation of 4-DOF manipulator system. In the future, we will study the trajectory tracking control of the manipulator under the influence of external forces with more complex characteristics, so as to reduce the torque amplitude and disturbance on the premise of ensuring the convergence speed. In addition, the stiffness identification method proposed in this paper is only limited to the case that the manipulator receives the influence of strong periodic external force, which has certain limitations in practical applications. In the follow-up research, we will study a reasonable data-driven method and combine the end trajectory offset caused by deformation law with stiffness identification to improve the robustness of the controller.

Data Availability
No data were used to support this study.

Conflicts of Interest
The authors declare that there is no conflict of interest regarding the publication of this paper.