Abstract

Space assistant robots can help astronauts or their assistants perform certain tasks. A ground microgravity simulation environment is built for the space assistant robot AAR-2. The hardware requirements of the ground simulation by the 3-DOF microgravity air flotation platform. An algorithm is designed for this simulation system. By using momentum and RMSprop methods to improve the PID neural network, the challenging problem of strong coupling between system nonlinearity and variables is solved. Firstly, the paper introduces the hardware system and deduces the dynamic model of the system. Then, the algorithm is calculated and simulated. Through simulation, the effectiveness and feasibility of the algorithm are compared and proved. Finally, the control system is simulated by MATLAB/Simulink and compared with other advanced algorithms. The simulation results show that the designed neural network controller can quickly and accurately control the 3-DOF of freedom motion of AAR-2.

1. Introduction

With the continuous development of aerospace, many countries have carried out the research and development of space robots to replace astronauts to perform some specific tasks, for example, space rendezvous and docking, space debris avoidance [1], fuel supply, on orbit maintenance [2], on orbit component reconstruction, etc. In the past, most of these tasks were completed by astronauts, mainly due to the complexity of the space environment and the arduousness of the tasks. The characteristics of space greatly limit the astronauts’ activities inside and outside the capsule, and the complex and cumbersome operations greatly increase the astronauts’ work and psychological pressure. Therefore, in recent years, more and more space operation tasks gradually turn to space robots.

For the design, manufacture, and operation of space robots, simulation experiments are required in the ground microgravity environment for overall performance evaluation, component testing, key parameter determination, and various system verifications [3]. Therefore, it directly promotes the research on building a space microgravity environment. If you want to conduct a space robot simulation experiment, you need to build a microgravity experiment environment on the ground [4].

The methods of constructing space microgravity environment mainly include tower dropping method [5, 6], water floating method, and air floating method [7, 8]. The falling tower method is a method to generate microgravity experimental environment by performing free falling motion in microgravity tower (well). It is usually carried out by building high towers or digging deep wells on the ground. Because of the special experimental environment and the limited weightlessness time, this method has great limitations, so it is not commonly used as a method to build a microgravity environment in the laboratory. The water floating method refers to a state in which when the density of the object is the same as that of the liquid. The object can be suspended at any point in the liquid. However, this method does not have real-time operability in the experimental process and needs to constantly adjust the counterweight to ensure balance and stability. On the other hand, it also requires that the experimental equipment can work normally under the liquid without affecting the accuracy. Therefore, this method will bring higher cost and experimental operation requirements to the test. However, the air flotation platform has the advantages of low cost, low operation difficulty, and sustainable real-time operation, so most experiments use the air flotation platform to simulate the microgravity environment [9, 10]. The core component of air flotation platform is gas bearing, which can be divided into plane gas bearing and spherical gas bearing. The compressed air flows out through the small hole or slit of the gas bearing and forms an air film between the workbench and the gas bearing, so as to achieve the purpose of frictionless movement. The air flotation platform has no contact with the worktable and produces a suspended effect, so it overcomes the influence of gravity to a great extent. Therefore, this paper selects the air flotation platform as the ground microgravity simulation platform of the space assistant robot and simulates the motion of the space assistant robot through the 3-DOF of air flotation platform.

Many scholars have different views and studies on the position and attitude control of spacecraft in microgravity environment. Terui et al. proposed a sliding mode control and state-dependent Riccati equation method to achieve 6-DOF position and attitude maneuverability without uncertainty and disturbance [11, 12]. In the follow-up, high-pass filter and output feedback control law are used to solve the problem of translational and attitude coupling, but the stability and convergence time are unconstrained [13]. In order to solve the problem of model uncertainty and environmental disturbance, Wu et al. proposed a finite time controller based on nonsingular terminal sliding mode control technology, which can control the translation and attitude change of spacecraft [14]. Liu et al. realized the 3-DOF free attitude control of AAR-1. In order to meet the characteristics of multivariable, strong coupling, and nonlinear systems, the traditional PIDnn controller is used to quickly achieve stability and control effect [15]. Gao et al. upgraded the functions of AAR-1, designed AAR-2, and realized high-precision control of AAR-2 by combining synovial control and fuzzy control [16]. Malladi et al. adopted the nonlinear model predictive control (NMPC) method to solve the highly coupled and nonlinear problem of position and attitude [17]. Aiming at the fast attitude dynamics and slow position dynamics caused by time scale separation, a nonlinear hierarchical control law was proposed [18].

The attitude and translational motion of spacecraft are coupled and highly nonlinear, so the model parameters of spacecraft cannot be accurately obtained, and the spacecraft is always affected by environmental disturbances. All these problems make it difficult for the spacecraft control system to achieve the desired control performance. Due to the high coupling and nonlinearity of the dynamic model, this paper uses the double closed-loop structure to solve the influence of strong coupling on the system and uses the improved PID neural network to solve the problem of nonlinear system. Because the uncertain environmental disturbance always exists in the spacecraft movement, the neural network in machine learning can better cater to the uncertainty to a certain extent and match the changing environment through continuous learning.

The main innovations and contributions of this paper are as follows: (a) we use a double closed-loop system to solve the problem of the strong coupling and environmental disturbance in the model. This control structure can better overcome the impact of uncertainty on the system by matching with the neural network. (b) We optimized the PID neural network algorithm to solve the variable coupling problem and nonlinear problem when the spacecraft position and attitude change, so that the microgravity air flotation system can converge faster and reach the equilibrium position, better simulate the spacecraft motion and meet the experimental needs. (c) A complete control system and algorithm are built on the microgravity air flotation platform, which makes the flight simulation experiment of ground simulation spacecraft more efficient and convenient, and promote the development of ground microgravity environment simulation equipment.

The rest of this paper is organized as follows: in Section 2, the control system of the actual microgravity air flotation platform is designed and the motion principle is analyzed. In Section 3, the dynamic model of the microgravity air flotation platform is built and its motion characteristics are analyzed. In addition, the model is optimized to a certain extent according to the ideal environment of the actual space station. In Section 4, the control algorithm of the microgravity air flotation platform is improved on the basis of PIDnn. Meanwhile, the stability of the system is proved and the feasibility of the algorithm is simulated. In Section 5, the whole improved microgravity air flotation system is simulated. The feasibility of the scheme is verified by comparing other advanced algorithms and combining the theoretical simulation with the actual platform.

2. Design of the Control System Based on Air Flotation Platform

2.1. Control System Hardware Design

The microgravity simulation air flotation platform involved in this paper is shown in Figure 1(a). It can realize two-dimensional microgravity simulation motion on the marble plane through three air flotation pads, gas cylinders, and air pressure transmission system. Four ducted fans are mounted on it to control the movement of the air flotation platform. The installation position is shown in Figure 1(b). Four ducted fans at 45° angles to the side of the air flotation platform are installed at the four corners of the platform. Microspacecraft, such as astronaut assistance robots AAR-1, AAR-2 [19, 20], etc., can be installed on the air flotation platform, as shown in Figure 2(a). By controlling the changes of the thrust of the four ducted fans, the two-dimensional plane motion of the spacecraft can be simulated in a microgravity environment.

In this paper, the actual platform is shown in Figure 2(b). The STM series chip STM32f1 is selected as the main chip, equipped with two ultrasonic ranging modules HC-SR04, a six-axis gyroscope sensor MPU6050 (built-in DMP attitude calculation), and four ducted fans (brush less motor HL3508).

Figure 3 shows the top view of the air flotation platform, is the inertial coordinate system, is the geometric coordinate system, the arrow direction is the wind direction output by the culvert fan, and the four culvert fans are combined in pairs to control the forward and rotational degrees of freedom of the air flotation platform. The system forms a closed-loop structure through sensors, so as to achieve more efficient control effect.

2.2. Principles of Movement

To correctly describe the motion of the microgravity simulated air flotation platform, the two coordinate systems involved in the system are analyzed and processed. The motion pose of the air flotation platform is determined by the angle between the base point and the axes and (the initial state is that the -axis and the -axis are parallel to each other), the coordinate of the base point is , the rigid body gestures are determined by , , and . The basic motion unit is composed of translation and rotation in the directions of and (3-DOF), and the rotation is the rotation around the center of mass. , , , and are the thrust (wind force) of the four ducted fans.

It is known that the aerial view of the actual air flotation platform is a square, is the side length, and is the radius of the ducted fan. Let clockwise to be the positive direction, and is the torque rotating around with the center of mass of the air flotation platform.

3. System Dynamics Model

3.1. Coordinate and Attitude Transformation

The pose of the air flotation platform is expressed as

The instantaneous speed is expressed as

Then, we can get

where represents the attitude of relative to the inertial system under the inertial system , represents the rotation matrix, and is the geometric position Euler angles to inertial position .

and are the results of the transformation from the inertial coordinate system to the geometric coordinate system, and there are many ways to obtain them, which are explained in the order of -- [21].

The above sine, cosine, and tangent functions are replaced by , , and . When the motion mode of the air flotation platform is fixed as translation and rotation, then

3.2. Dynamics Model

To further accurately analyze the motion state of the microgravity simulated air flotation platform, the dynamic model of the air flotation platform is deduced and simulated in this paper. The dynamic model of the air flotation platform can be deduced as follows [2224]:

Among them, represents the center of gravity and is used to represent gravity, buoyancy, and other external forces acting on an air flotation platform. is used to represent the thrust generated by the rotation of the ducted fan. is used to represent all external moments acting on the air flotation platform except the moment generated by the ducted fan. indicates the moment acting on the air flotation platform generated by the rotation of the ducted fan.

Since the air flotation platform is a rigid body and the additional mass is the same in all directions, the total inertia matrix about the center of gravity is

Since the air flotation platform needs to move freely on the marble tabletop, its motion mode is 3-DOF motion, and the yaw motion can be freely performed while translating on the two-dimensional marble tabletop:

When the air flotation platform rotates and flies forward at the same time, a lateral force is generated, which is represented by . This term is offset by the air resistance created when the microgravity simulated air flotation platform moves. This force can also be ignored under the assumption that the spin speed is almost zero in forward flight and almost zero in spinning motion.

In the inertia matrix, we can get , if the roll and pitch velocities are zero, no rotational moment will be generated. When the rolling and pitching moments are not zero, has little effect on the roll and pitch moments, so they are easily offset by the resistance of gravity, so they are also ignored.

The model can thus be simplified to

Among them, refers to the Coriolis torque in the direction of rotation around the -axis, refers to the average disturbance torque on the -axis, and represents the average torque coefficient in the air resistance on the -axis.

It is easy to design the controller with negligible Coriolis torque, disturbance torque, and air resistance. In the motion state, we are only interested in the dynamic equations of Euler angles in the geometric coordinate system in motion. Therefore, the dynamic model of the air flotation platform is further simplified as follows:

4. Algorithmic Controller Design

4.1. PIDnn Controller Design

PIDnn is a kind of PID-type controller that relies on the self-adaptation and learning ability of the neural network algorithm [25]. There are various neural network structures that can be designed. This paper adopts a single-layer forward propagation network, in which the input layer, hidden layer, and output layer contain two, three, and one neurons (perceptrons), respectively [26].

The input of the PID neural network system has two parts, which are the expected input and the real-time output of the system. After each iteration, the neural network outputs new values of , , and as three parameters of the PID neural network controller [27, 28]. After processing by the dynamic model, as the new input of the system continues to iterate, the system tends to stabilize after the number of sampling approaches a larger value [29]. The structure of the PIDnn control algorithm is shown in Figure 4.

4.1.1. Forward Algorithm

When iterating to the th time, the input and output of neurons in each layer are expressed as follows:

Input layer:

where is an activation function. To reduce the actual hardware system code calculation amount, it can be set as an identity activation function here, namely,

Hidden layer:

The activation function of the hidden layer is special. Considering that the neural network serves the PID system, the three neurons here perform their proportional, integral, and differential functions, respectively. After discretizing the continuous system, we get the following:

Proportion:

Integral:

Derivative:

Output layer:

4.1.2. Back-Propagation Algorithm

The back-propagation algorithm can achieve the effect of learning and memory by modifying the weight value of the neural network. First, calculate the systematic error (the ideal value minus the actual value) and then update the weight of each layer of the neural network according to the conventional gradient descent method. When taking the th sampling, the error . Let learning step size be , after the th learning, the weight value between the hidden layer and the output layer is changed to

The weight value between the input layer and the hidden layer is changed to

The weights between hidden layer neurons and output layer neurons are real-time , , and coefficients.

4.2. Momentum and RMSprop Jointly Improve the Algorithm

The iterative principle of the standard gradient descent method is

The momentum method changes the weight update law in the standard gradient descent method and introduces an intermediate quantity:

And replacing the original with can get

The value of around 0.9 can make the algorithm achieve better results. Doing so is equivalent to a weighted sum of historically processed data. From the th iteration, the farther historical data has a relatively small impact on the weight update, but the weight updated in the nearby iterations has a greater impact.

The method of adaptive adjustment of Adagrad learning rate is to convert (learning rate) in Equation (43) into .

To prevent the denominator from being zero, set to a particularly small number.

Then, we can get

If the weights are modified too much, the learning rate will decrease more. Then, in the process of gradient descent training, after a rapid change period, and then a platform area, the change of the learning rate in the platform area will be very slow. When it enters the fast period again after the plateau period, the decline is still very slow and cannot be modified, and all the historical data of the weights will be taken into account, and then, there is a problem.

So, the RMSprop method introduces Momentum on the learning rate, so that the formula becomes

It is derived from Equation (46) that the gradient descent method in the PID neural network is finally optimized as

where and have the same effect, so we let .

4.3. Proof of System Stability

The system control input of the PID neural network controller is

To analyze the stability of the system, a Lyapurov function is constructed, where .

According to the differential theorem,

According to Lyapurov function,

Because of ,

So we can come to a conclusion. The closed loop system is stable at .

Because the Lyapunov function has a lower bound and , the function monotonically decreases, then when , . Therefore, the neural network learning rate is set to a small value to make the system stable. Since the learning rate will affect the optimization speed of the gradient descent method, we have improved the neural network by momentum and RMSprop. By constantly changing the learning rate, the system can be stable and quickly reduced to the best.

5. Control System and Simulation Experiment

5.1. Control System

According to the actual experimental requirements of fixed-point and fixed-speed, the desired air flotation platform position , angle , and speed-error curve are designed. For three control variables are designed three cascade double-loop control models. The curve is sent to the algorithm controller for processing and then sent to the algorithm controller through the dynamic model for repeated iterations. The experiment combined the sensor to form a closed loop and combined with the cascade double-loop control to realize the stable control of the air flotation platform to move freely. The air flotation platform control system and cascade control structure are illustrated in Figures 5 and 6.

Considering that the actual trajectory may have sharp turns or circular motion, the following two motion models are designed. The first is a right-angled square and the second is a circular motion. In the first one, the motion curve of the air flotation platform starts from point and returns to the origin after moving counterclockwise for a week, and the overall consumption time is 10 seconds. And the initial direction of the air flotation platform is -90°, and the angle calculation is based on the angle between the direction of the air flotation platform and the -axis. In the second one, the starting point, ending point, and elapsed time conditions of the movement curve of the air flotation platform remains unchanged. The motion curve presents a circular structure with a center of and a radius of 5.

5.2. Simulation

To verify the effectiveness of the control algorithm designed for the 3-DOF air flotation platform, MATLAB/Simulink is used for simulation in this paper, and the overall effect is shown in Figure 7. The predicted position curve of the trajectory was input into the system, and then, the algorithm was controlled by the cascade double closed-loop PIDnn system. The obtained control results are introduced into the dynamics model and then returned to the controller for further calculation.

Considering the various movement and work of space robot, there will be a variety of movement curves such as straight line, curve, or sharp angle. So, we designed two kinds of curves, one is the motion curve of the square, and the other is the motion curve of the circle.

As shown in Figures 8 and 9, for each curve, we give the system’s 3-DOF input.

After effective control by the controller, the system simulation curve is obtained as shown in Figure 10.

In the simulation experiment, as shown in Figures 11 and 12, we get the error tracking of the three degrees of freedom curve.

We can see from the error curve that the error effect of moving distance can reach the level of on average in the simulation experiment. In yaw, the maximum error in motion is only 0.17°. It can be observed that using the improved PIDnn based on momentum and RMSprop, the position and attitude control of the air flotation platform has a good control effect. It can quickly and accurately track the input signal.

5.3. Comparison of Advanced Algorithms

In order to analyze the optimality of space robot control system, we compared other advanced control algorithms according to the above two trajectory models. We can see the error comparison curve in Figures 13 and 14. We compare it with three other advanced control algorithms in recent years. The blue line represents the fuzzy slider mode control algorithm [16], the red line represents the nonlinear model predictive control algorithm (NMPC) [17], and the green line represents the robot integral terminal sliding mode control law (RITSMC) [30].

The improvement and variation of the control effect can be obtained from the error curve. The average control error of position control can reach unit distance, and the error control accuracy of yaw can reach °. The improved PID neural network using momentum and RMSprop can be proved by simulation results. It can effectively control the high-precision movement of the space robot, so that the space robot can have smaller error with the preset curve and achieve accurate control.

6. Conclusion and Future Work

In this paper, according to the needs of the ground preexperiment, the control system is designed and constructed in combination with the 3-DOF air flotation platform. The design allows it to move freely on the marble table. The design of the overall dynamic model and control algorithm is introduced, and the model is simplified and deduced according to the actual experimental environment. The control algorithm adopts the PID neural network to realize the 3-DOF motion of the air flotation platform. And the double-loop cascade control method is adopted to achieve better control effect. Finally, the designed control system is simulated by MATLAB/Simulink. The overall control effect is simulated, and it is known from the simulation effect that the system can control the air flotation platform quickly and effectively. In the era of rapid development of science and technology, the development of space operation technology and robot-assisted technology is gradually improving the hard power of human space exploration. As a ground-assisted experimental configuration, the air flotation platform plays an important role, and the improvement and research of experimental equipment will be further improved and further advance the development and progress of automation.

In the future work, we mainly improve the following contents: (a) optimize the overall control structure and specific hardware equipment of the microgravity air flotation platform and (b) optimize the computing power and sensor accuracy of the single-chip microcomputer, so that it can perform more complex control algorithms and obtain data with higher precision.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no competing interests regarding the publication of this paper.

Authors’ Contributions

Siyue Wang and Qing Gao contributed equally to this work. Qing Gao is the co-first author.

Acknowledgments

This work was supported in part by the National Key R & D Program of China (Grant No. 2018YFB1304600), the Natural Science Foundation of China (Grant Nos. 51775541 and 62006204), and CAS Interdisciplinary Innovation Team (Grant No. JCTD-2018-11).