Adaptive neural network vibration suppression control of flexible joints space manipulator based on H ∞ theory

. Considering the control problems caused by uncertainties such as inaccurate modeling, external disturbance and joint flexibility, a neural network control method based on H ∞ is proposed. By establishing the dynamic model of the free-floating space robot with flexible joints, according to its dynamic characteristics, it is split into a slow subsystem model representing the rigid characteristics and a fast subsystem model representing the flexible characteristics. Based on the H ∞ robust control theory, a robust controller based on neural network is designed to realize the decoupling control of the rigid dynamic model, The designed weight adaptive learning rate can ensure the online and real-time adjustment of parameters. Based on Lyapunov theory, it is proved that the designed controller can ensure that the L2 gain of the system is less than the given index. A feedback controller based on velocity differential is designed to compensate the angle error caused by joint flexibility. The experimental simulation results verify that the proposed control method is effective and has good engineering application value.


Introduction
With the development of space technology, the research of space robot technology has been widely valued by scholars all over the world [1][2][3]. However, most of the research is based on the dynamics research and control algorithm design of space rigid body manipulator, that is, the space base, manipulator and joint are regarded as multi rigid body dynamic system, ignoring the influence of joint flexibility [4][5]. In fact, there is no absolute rigid connection between each manipulator joint of the robot and the driving motor at the base joint, due to the existence of the reducer, there is a certain flexibility between them. The advantage of the mechanical arm with this flexible joint is that it can absorb the impact force generated by external accidental collision and reduce the damage to the mechanical arm [6], but the disadvantage is that the damping delay in the movement process will cause the movement angle of the mechanical arm to no longer be consistent with the movement angle of the driving motor rotor, resulting in error, Its error accumulation will have an impact on the high-precision operation of space robot. Moreover, the joint flexibility of the manipulator will cause vibration in the process of motion at high speed [7][8][9].
International scholars have made a lot of useful discussions on the control of space robots with external disturbance, and have achieved some research results. [10][11][12][13] proposed their own adaptive control methods and designed adaptive learning laws to deal with the parameter uncertainties and changes of the dynamic model. However, the research objects of these achievements are rigid joint robot systems, rather than flexible joints. In fact, for space robots, the material of their manipulator is mainly carbon fiber composite, which is different from the cast iron manipulator of ground robots. Moreover, the transmission mechanism at the joint of the manipulator makes the joint show stronger flexibility, which can absorb energy in the process of collision and avoid damaging the actuator. However, the existence of joint flexibility makes a certain angle error between the rotation angle of the joint link and the motor rotor. If it is not compensated, it will seriously affect the tracking accuracy [14][15][16]. Moreover, joint flexibility will also lead to the elastic vibration of the manipulator, which will seriously affect the high-precision control of the manipulator [17][18][19].
In recent years, with the rapid development of space robots, the control of flexible manipulator has gradually attracted the attention of international scholars. Jiang et al. [20] proposed a neural network control method based on velocity feedback for a space manipulator considering joint flexibility. The experimental simulation verified the effectiveness of the control system. Akiko et al. [13] proposed a robust vibration suppression control method to solve the elastic vibration in the control process. Kawai et al. [21] proposed a hybrid control method based on dynamic boundary, which suppresses external disturbance through adaptive adjustment of the boundary. Experiments verify the effectiveness of the control method. Most of the above research is aimed at the control of flexible joint robot with fixed base on the ground, which provides a reference for the vibration suppression control of space manipulator with flexible joints.
Based on the above research, a robust control method based on adaptive neural network is proposed, taking into account the uncertainties such as external disturbance and joint flexibility in engineering practice. The purpose of the controller is to make the actual trajectory track the desired trajectory, compensate the error model caused by uncertain factors, and suppress the elastic vibration caused by joint flexibility. The main technical contributions of the proposed method are summarized below.
Based on the above research, this paper proposes an adaptive neural network control method based on H ∞ robust. The main technical contributions of the proposed method are summarized as follows.
1) Compared with the traditional dynamic model of space robot, the dynamic model of freefloating space robot with flexible joints is established by considering the unknown uncertainties caused by model inaccuracy, external disturbance and joint flexibility. It is more in line with the actual situation of the project.
2) A neural network robust controller based on H ∞ theory is designed. The unknown uncertain model is compensated by neural network, and the robust controller eliminates external disturbance and approximation error. An adaptive learning speed law of neural network weights is designed to realize online real-time adjustment.
3) A feedback compensation controller based on speed differential difference is designed to eliminate the angle error of joint angle and motor rotor, and then suppress the elastic vibration. The feedback algorithm is relatively simple, with small amount of calculation and high real-time performance, which is conducive to the rapid suppression of elastic vibration.

Dynamic modeling of space manipulator with flexible joints
The structure of free-floating planar two link space manipulators with flexible joints is established [22,23], the model is shown in Fig. 1. , , where , , are the intermediate variable function, respectively. Based on Spong model [24], we can get that its joints can be simplified as a linear torsion spring without inertia, as is shown in Fig. 2. . This will result in a continuous accumulation of errors, which will affect the final control accuracy. Based on Lagrange method in theoretical mechanics, the dynamic equation of industrial mechanical manipulator [25][26][27][28] can be derived: where , , , ∈ ℝ is the diagonally Positive definite matrix of the motor, ∈ ℝ is the symmetric positive definite matrix of the manipulator, , , ∈ ℝ is the vector containing Coriolis force, centrifugal force, , is joint stiffness coefficient matrix, Output torque by joint motor.
Define positive definite and diagonal matrices = ⋅ , is a very small normal number. Order = ( − ), then the system dynamics Eq. (4)-Eq. (5) can be written as follows:

Robust controller design based on neural network
The design idea of the proposed robust vibration suppression controller based on neural network is as follows. Based on singular perturbation theory, the dynamic model is split according to rigid and flexible characteristics. is the slow subsystem controller representing the rigid model, and is the fast subsystem controller representing the flexible model, so the total controller is designed as: In order to suppress the flexible vibration caused by the fast subsystem model, a speed differential controller (SDC) is designed as: where = ⁄ , is a positive definite diagonal matrix. Plug Eq. (9) into Eq. (7), then the dynamic equation of the fast subsystem: If the joint is rigid, then = . The equivalent rigid model is the dynamic equation of the slowly subsystem: where ( , ) replaces ( , , ), when = .
Eq. (11) is rewritten as: where ( ) = ( ) + , ( , ) ∈ ℝ . Its form is not unique, but it can be satisfied by appropriate selection Considering that in practical engineering, it is impossible to obtain an accurate mathematical model and , only its estimation model and can be obtained.
The controller is designed as follows: where acts as compensate items, is the expected value. Substituting Eq. (13) into Eq. (12), the following formula can be derived: where ( From the above formula, Eq. (14) should be rewritten as: Because radial basis function neural network (RBFNN) belongs to local generalization network and has fast operation speed, it is used to approximate the unknown model ( , ).
According to the nonlinear approximation ability of RBFNN, the following assumptions can be made [29][30][31][32][33]: Assumption: Given an arbitrary small positive constant , there exists an optimal weight vector * , so that the approximation error of neural network satisfies | | = | * ( ) − ( )| < . Then: where = ( , ), * is Neural network optimal control output. The neural network controller is designed as: where is the actual output of neural network, is the weight vector estimated value , ( , ) is Gaussian function.
That is: where and are the center value and the spread value of th basis function respectively. || − || is a norm of − .
can be used as external disturbance of the system. The form of affine nonlinear system with model error and external disturbance that Eq. (16) can be repaired and corrected is: where, and are positive constants. In order to show the ability of the control system to suppress interference, the following formula is defined as its performance index: where is the gain of system Eq. (21). The controller is designed to suppress elastic vibration and ensure the stability of the control system. That is, the controller can achieve a gain lower than the given value .
The robust controller based on neural network is designed as: The adaptive adjustment law of the weight parameters of the neural network is designed as: where the gain > 0, the parameters meets [34]: where represents given constant. Then the gain of of the closed-loop system is less than the given value .
Theorem: For the dynamic model Eq. (21), the total controller Eq. (13), neural network controller Eq. (19) and robust controller Eq. (23) are used. If there is a Lyapunov function ( ) that satisfies the following HJI (Hamilton Jacobi Issacs) inequality, given > 0, if ( ) ≥ 0 satisfy the following HJI inequality: Then the gain of is less than a given value . Proof: Defining the following function Lyapunov: where = * − represents estimation errors of the network weight. Then: where putting Eq. (9) in the above Eq. (28), the paper can reach the following new expression: Because: Then: That is, the gain of the closed-loop system of is less than a given value .

Simulation experiment
The free-floating two-links space robot as shown in Fig. 4 (Harbin Institute of Technology, Aerospace College, Aircraft Design Laboratory, 2022.5). which is used as a model to verify the effectiveness of the proposed control scheme. In order to verify the superiority of the proposed algorithm, the algorithm in this paper is compared with the classical PID control algorithm. For the convenience of expression, the neural network control algorithm based on H ∞ proposed in this paper is referred to as "NNC", and the classical PID algorithm is referred to as "PID". The simulation results are shown in Fig. 5-Fig. 10. Fig. 5-Fig. 7 shows the effect of opening the controller and using fast and slow composite controller. Fig. 8-Fig. 10 shows the effect of switching off the controller and using only the fast controller.

Switching on the controller
It can be seen from Fig. 5(a) that the PID controller can achieve good tracking effect in about 8 s. It can be seen from Fig. 5(b) that the NNC algorithm in this paper can ensure that the actual trajectory can quickly track the desired trajectory curve in about 3 s. When the initial error of joint 1 is large, its actual trajectory can accurately track the desired trajectory in less than 3 s; The actual trajectory of joint 2 can accurately track the desired trajectory in about 2 s. It can be seen from Fig. 6 that the maximum error between the angle of joint 1 and the angle of the electronic rotor is about 0.3 rad, and the minimum error between the angle of joint 2 and the angle of the electronic rotor is about 0.1 rad, but both error angles converge to 0 within 2 s; The control of elastic vibration is realized. approximately 2 s later. It can be seen from Fig. 8 that the joint torque oscillates at the initial stage, but it is not large. The maximum output torque of joint 1 control torque is 10 N.m, and the minimum output torque of joint 2 control torque is 7 N.m. This shows that the proposed algorithm is effective. The robust controller based on neural network can effectively track the desired trajectory, and the fast subsystem controller can suppress the vibration of flexible joints.

Switching off the controller
From Fig. 9(a), PID controller can achieve good tracking effect in about 10 s. It can be seen from Fig. 9(b) that when the fast-change subsystem controller is turned off, only the slow subsystem controller can still ensure that the actual trajectory can track the desired trajectory after a long period of vibration, in which joint 1 accurately tracks the desired trajectory in about 5 s and joint 2 accurately tracks the desired trajectory in about 7 s. This shows that the designed robust controller based on neural network not only realizes the gradual reduction of tracking error, but also has strong robustness to elastic vibration.   It can be seen from Fig. 10 that the maximum error between joint 1 angle and electronic rotor angle is about 1.0 rad, and the maximum error between joint 2 angle and electronic rotor angle is about 0.3 rad, but both error angles converge to 0 within 2 s, the control of elastic vibration is realized. It can be seen from Fig. 11 that the torque output of the model error controller tends to zero approximately 6 s later. From Fig. 12, it can be seen that the control torque not only increases significantly, but also the maximum torque of joint 1 is about 30 N.m. The torque of joint 2 is 20 N.m. Moreover, the vibration time of the joint torque is obviously longer, and it tends to be stable at about 7 s. It also shows that the designed controller of the fast subsystem is effective, which can effectively suppress the vibration, reduce the vibration time and improve the control accuracy.

Conclusions
Aiming at the uncertainty of modeling inaccuracy, external interference and joint flexibility in engineering practice, a neural network robust control method based on H ∞ is proposed. The dynamic model of a free-floating space robot with flexible joints is established, and a RBF neural network compensation controller based on H ∞ theory is designed to approximate the uncertain model terms. The approximation error is eliminated by a robust controller. The adaptive online learning rate of neural network weights is designed. A feedback compensation controller based on velocity difference is designed to suppress the elastic vibration for the fast subsystem model. Based on Lyapunov theory, it is proved that the designed controller can ensure that the L 2 gain of the system is less than the given index. Finally, the simulation results verify the effectiveness of the proposed method, which has a good reference value for engineering.