Int. J. Metrol. Qual. Eng.
Volume 10, 2019
|Number of page(s)
|25 September 2019
Motion planning optimization of trajectory path of space manipulators
College of Architecture and Geomatics Engineering, Shanxi Datong University, Datong, Shanxi 037009, PR China
* Corresponding author: email@example.com
Accepted: 30 August 2019
With the development of the aerospace industry, the work carried out inside and outside the weightless space station is becoming more and more complicated. In order to ensure the safety of astronauts, space manipulators are used for operation, but it will disturb the space station that is a base during work. In order to solve the above problems, in this paper, the planning method of the motion trajectory of manipulators, the motion model of manipulators and the particle swarm optimization (PSO) algorithm used for optimizing the trajectory are briefly introduced, the multi-population co-evolution method is used to improve the PSO algorithm, and the above two algorithms are used to optimize the motion trajectory of the floating pedestal space manipulator with three free degrees of rotation in the same plane by the matrix laboratory (MATLAB) software. It is compared with genetic algorithm. The results show that the improved PSO algorithm can converge to a better global optimal fitness with fewer iterations compared with the traditional PSO algorithm and genetic algorithm. The obtained motion trajectory optimized by the improved PSO algorithm has less disturbances to the pedestal posture, and less time is required to achieve the target motion; moreover the changes of mechanical arm joint are more stable during the motion.
Key words: Space manipulator / path optimization / particle swarm optimization algorithm / co-evolution
© D. Qiao, published by EDP Sciences, 2019
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
With the development of the aerospace industry, a variety of aerospace equipment has been launched into space, especially the space station which has realized the extraterrestrial migration . However, the space environment is different from the environment on the Earth, astronauts need to face the harsh working conditions including low temperature, low pressure, weightlessness and dangerous radiation when performing space missions. Once they are negligent, they will be in danger of life, and even some tasks are impossible to complete by manpower in the space environment . Therefore, space robots, for replacing manpower, have been developed, which can perform some tasks in harsh space environment, including sample collection, article fixing, etc., and the above operations need to rely on manipulators of robots and the route plan of manipulators. The reason is that there is weightlessness in space, and the disturbance of mechanical arms to the pedestal during the movement is amplified to be nonnegligible without the constraint of gravity, thereby affecting the whole stability of robots and the completion degree of tasks. Therefore, the motion path of manipulators is needed to be optimized to reduce the disturbance to the pedestal . Chen et al.  proposed a method of fault handling strategy and fault-tolerant path planning for the problem of free-swing joint failure of space manipulators, which ensured that after joint failure, the following normal operation of mechanical arms was guaranteed by locking the optimal joint. The simulation results showed that the method was suitable for the robot arms with any free swing joint failure. Zhou et al.  proposed a new ant colony algorithm to optimize the path of manipulators. The simulation results showed that the method could effectively plan the optimal path to avoid obstacles. Zhou et al.  proposed a singular robust programming method, and the simulation experiment verified the effectiveness of the proposed method in the online adjustment of space robot posture.
In this paper, the planning method of the motion trajectory of manipulators, the motion model of manipulators and the particle swarm optimization (PSO) algorithm used for optimizing the trajectory are briefly introduced, the multi-group co-evolution method is used to improve the PSO algorithm, and the above two algorithms are used to optimize the motion trajectory of the floating pedestal space manipulator with three free degrees of rotation in the same plane by the matrix laboratory (MATLAB) software.
The basic appearance of the space manipulator is shown in Figure 1. The entire working process of space manipulators can be divided into task division, trajectory optimization and control motion . The task division is an important component of the space manipulator working system. For manipulators, the direct execution of the input work command is complicated, as it needs to consider not only the planning of the path, but also the complicated working environment in the calculation process, which greatly increases the calculation amount and the error rate. The role of task division is to split complicated operational tasks into complex simple operation tasks and then to optimize them separately to get the optimal operation mode. Then manipulators perform task actions, and the constraint condition and the target condition are also needed to be considered in the process. Therefore, there are three task sets in the manipulator working system, i.e., the action set, constraint set and target set. The action set includes operations such as movement, grabbing, release, etc. of mechanical arms; the constraint set contains rules to be followed during the movement of mechanical arms, such as joint angular velocity, range of joint angle variation, obstacles during movement, etc.; the target set is the path goal that needs to be optimized under the guarantee of following the constraint rule in the motion planning of manipulators, including the change of the angular velocity of the joint, etc. Space manipulator can be divided into manual and automatic during work. As the accuracy of manual is not high, automatic planning of trajectory is usually used. In this process, the path planning algorithm is very important for the stability of the manipulator. The PSO algorithm used in this study does not need to set complex parameters, therefore it is not difficult to achieve and the effect is low.
As described above, in the working process, space manipulators first divide the tasks of manipulators according to the input task target, then plan the movement trajectory of manipulators according to the constraint set and action set and use the relevant optimization algorithm to optimize the motion trajectory of manipulators according to the requirement of the target set. In the process of trajectory optimization, the manipulator model is simplified to some versatility in order to facilitate calculation . As shown in Figure 2, the complex manipulator structure is simplified into a structure with the composition of a rigid body and a joint: B 0 represents the rigid body of the manipulator pedestal, B 1 ∼ B n represent the links of the manipulator, J 1 ∼ J n represent the joints of the manipulator, C 0 represents the centroid of the pedestal, C 1 ∼ C n represent the centroids of the corresponding link, Σ O represents an inertial coordinate system that assumes absolutely stationary, Σ e represents the coordinate system of the manipulator pedestal, r 0 represents the position vector of the pedestal in the inertial coordinate system, r 1 ∼ r n represent the position vectors of the centroid of the corresponding link in the inertial coordinate system, p 1 ∼ p n represent the position vectors of the joint centroid in the inertial coordinate system, p e represents the position vectors of the end of the manipulator in the inertial coordinate system, a i represents the vector of J i pointing to C i , i ∈ (1, 2, …, n), and b i represents the vector of C i pointing to J i+1 , i ∈ (0, 1, …, n). According to Figure 1 and the rule of vector calculation, the position vector of the end of the manipulator in the inertial coordinate system can be obtained:(1)
The linear velocity and angular velocity at the end of the manipulator can be obtained by differentiating equation (1), and the matrix form  is:(2)where v e , v 0 represent the linear velocity of the end of the manipulator and the pedestal respectively, ω e , ω 0 represent the angular velocity of the end of the manipulator and the pedestal respectively, J 0, J m represent the Jacobian matrix of the pedestal and the whole mechanical arm, θ represents the joint angle matrix, E represents the unit matrix, and ki represents an expression of the Z-axis of the joint coordinate system relative to the inertial coordinate system. In this study, it is assumed that the space manipulator is in a free floating state while working, that is, the whole body maintains momentum conservation, and the dynamic equation of the manipulator can be obtained by combining equation (2):(3)where J g (•) represents the generalized Jacobian matrix of the space manipulator, which is also the function of ϕ 0, θ, m i , I i , the pedestal posture, joint angle, rigid body mass, and rigid body inertia, and J gv , J gω represent the line speed and angular velocity terms of J g (•), respectively.
In order to transform the problem of manipulator path planning into a mathematical problem that can be solved, in this study, the position vector at the end of the manipulator and the equivalent rotation angle are used to form a four-dimensional system variable, X i (t), and it is parameterized :(4)where i = 1, 2, 3, 4 represents the dimension, t represents a moment of the motion, T i represents the motion cycle, ϕ i represents the initial angle, a i5 ∼ a i0 represent the coefficients of the corresponding parameter item, and X i0 represents the initial system state. The boundary conditions of the motion are:(5)where t f represents the final moment of the motion, X ie represents the final position of the motion, and v i , α i represents the final speed and acceleration of the motion. In the motion path planning of the manipulator, environmental information is collected by the sensor, that is, the end target position of the manipulator, p e , end equivalent angle, ϕ(t), and v i , α i are all known. Based on equations (4) and (5), it can be seen that the path of the manipulator can be planned by simply adjusting the coefficients of the parameter item, the motion cycle and the initial angle in equation (4). In this study, the optimization problem of the manipulator path can be transformed into the optimal combination solution of calculation of the coefficients of the manipulator parameter, the motion cycle and the initial angle.
Schematic diagram of the working model of space manipulators.
The PSO algorithm which is derived from the study on bird flocking and migration behavior is also known as the “bird flocking algorithm”. The formula of calculation iteration  is:(6)where P i , V i represent the position and velocity of particle i, respectively, pbest i , gbest i represent the individual optimal position and global optimal position, respectively, c 1, c 2 are learning factors, x 1, x 2 are random numbers, which are evenly distributed between 0 and 1, and ϖrepresents the inertia weight. The iteration stops when the optimal solution is found or the set maximum number of iteration is reached. The optimization steps in this study are as follows.
① The parameters that need to be optimized are input into the particles as dimension vectors, and the particle group is initialized, including the number of particle groups, the velocity and position of the particles.
② The value of corresponding objective function is calculated according to the parameters in each particle to select the optimal particle as the temporary global optimal solution. The calculation formula of the objective function  is:
J ω = λ 1 B ωf + λ 2 B ωmax,(7)
where J ω represents the disturbance angle of the pedestal posture, B ωf represents the final offset of the pedestal posture, B ωmax represents the maximum offset of the pedestal posture, and λ 1, λ 2 represent the weight coefficients, which is used to adjust the proportion of the final offset and the maximum offset in the disturbance.
③ The position and velocity of the particle is updated according to equation (6), and the value of objective function is calculated to compare with the previous value of objective function. If it is better, the corresponding particle (including individual and global) will be replaced, otherwise the original value will be retained. This step is cycled until the preset condition is reached, and then iteration is stopped.
The above is the traditional PSO algorithm, which is easy to operate, but it is prone to falling into the local optimal solution in the calculation process. In order to solve this problem, in this study, the parasitic behavior in nature is applied into the PSO algorithm to improve it. The improved algorithm uses three populations for co-evolution in order to avoid the local optimal solution. The main principle is to replace the worst particles of the next population with the optimal particles of the previous population to form a cycle in the three populations and finally to select the optimal solution from the population consisting of the three populations.
① Firstly, similar to the traditional PSO algorithm, the parameters that need to be optimized are input into the particle as dimension vectors, and three particle groups are initialized.
② The value of objective function of each particle is calculated to select the optimal particle as the temporary global optimal solution.
③ The particles in each population are updated according to equation (6), and the value of the objective function before and after the update is compared to determine the retained particles.
④ Three populations co-evolution: the updated populations are arranged in ascending order of the values of objective function, half of the worst particle swarms are replaced with half of the best particle swarms in the previous population, and then the best particle is selected to replace the worst particle in each population.
⑤ The above steps of ②, ③ and ④ are cycled until the preset condition is met, and iteration stops to output the optimal solution.
Flow of the improved PSO algorithm.
In this study, the MATLAB software  is used to simulate the motion path optimization of manipulators. The experiment is carried out on a laboratory server with configuration of Windows7 system, I7 processor and 16 G memory.
In this study, a floating pedestal space manipulator with three free degrees of rotation lying in the same plane is simulated. The schematic diagram of the model is obtained after the number of links in Figure 1 is changed to three. The parameters of the model are shown in Table 1, the initial posture angle of the pedestal is set as 0, the initial position of the end of the manipulator in the inertial coordinate system is (1.77, −0.95, 2.50), the initial joint angle is (30°, 70°, 50°), the target position of the end of the manipulator is (9.41, 1.66, −1.75), the target speed and acceleration are 0, the motion time of the manipulator is set as 40 s, and the rotation range of the three joint angles is[ − 270∘, 270∘].
The parameters of the traditional PSO algorithm are as follows: the number of initial population is 50, the inertia weight is 0.5, the learning factors are 2, and the maximum number of iteration is 1000.
The parameters of the improved PSO algorithm are as follows: the number of initial population is 50, the inertia weight is 0.5, the learning factors are 2, and the maximum number of iteration is 1000.
Genetic algorithm also has excellent performance in path planning. Therefore, genetic algorithm is selected to compare with the PSO algorithm in this study. Genetic algorithm is a simulation of population evolution in the nature, which takes the rotation angle of the joint angle as the factor in the inherited chromosome and obtains the optimal solution after crossover and mutation operations. The parameters of the genetic algorithm are as follows: the number of initial population is 50, the crossover probability is 0.3, the mutation probability is 0.2, and the maximum time of iterations is 1000.
The three algorithms operate independently for 30 times, and the average values were taken.
Parameters of space manipulator model.
As shown in Figure 4, as the number of iterations increases, the global optimal fitness values calculated by the three algorithms decrease rapidly and converge to a stable state. The initial global optimal fitness value of the traditional PSO algorithm is close to the initial global optimal solution of the improved PSO algorithm. The reason is that the generation of populations of the both is random, after taking the average of 30 times of experiments, the randomness is greatly reduced, and moreover the initial conditions of manipulators are the same in the two algorithms, finally making the initial global optimal fitness values similar. The genetic algorithm converges to stability after iterating 700 times. The traditional PSO algorithm converges to stability after iterating 600 times, and the improved PSO algorithm converges to stability after iterating 300 times. Moreover, it can be seen intuitively from Figure 3 that the global optimal fitness value obtained by the convergence of the improved PSO algorithm is smaller than that by the traditional PSO algorithm, while the global optimal fitness value obtained by the convergence of the traditional PSO algorithm is smaller than that by the convergence of genetic algorithm, that is, the improved PSO algorithm can obtain better motion planning trajectory.
After optimization of the three algorithms, the optimization effect of the motion trajectory of the manipulator is shown in Table 2. After the motion trajectory of the manipulator optimized by the traditional PSO algorithm reaches the target position, the pedestal posture is shifted by 0.55°, the maximum pedestal offset is 2.2° in the motion process, and finally the time consumed for reaching the target position is 30.15 s. After the motion trajectory of the manipulator optimized by the improved PSO algorithm reaches the target position, the pedestal posture is shifted by 0.21°, the maximum pedestal posture offset is 1.6° during the motion process, and finally the time consumed for reaching the target position is 20.51 s. After the motion trajectory of the manipulator optimized by the genetic algorithm reaches the target position, the pedestal posture is shifted by 0.62°, the maximum pedestal posture offset is 2.5°, and the time consumed for reaching the target position is 31.22 s. It can be seen that the motion trajectory of the manipulator optimized by the improved PSO algorithm not only has less disturbance to the pedestal, but also requires less time to complete the specified target.
The changes of the three joint angles during motion of the manipulator motion trajectory optimized by the three algorithms are shown in Figure 4 (J1, J2 and J3 are joints 1, 2 and 3, respectively). Since the required time obtained by the three algorithms for achieving the motion trajectory is different, only the changes of the joint angle within 0–20 s are intercepted to compare the changes of the joint angle of the both. It can be seen from Figure 5 that joints 1 and 2 change more severely under the planning of the traditional PSO algorithm and genetic algorithm, while the changes of joints 1 and 2 under the planning of improved PSO algorithm are relatively more stable. Joint 3 changes similarly under the planning of the three algorithms, which is because that joint 3 is close to the end of the manipulator, basically acts only at the end target position of the fine adjustment and does not require a large change. In general, the changes of the joint in the motion trajectory of the manipulator under the planning of the improved PSO algorithm are more stable, and the disturbance to the pedestal is smaller.
Convergence curves of three algorithms in the iterative process.
Optimization effects of three algorithms on the motion trajectory of the manipulator.
Variation of the joint angle of the manipulator under the optimization of three algorithms.
From the experimental results above, it is seen that the traditional PSO, improved PSO and genetic algorithms can plan the trajectory of space manipulator, and the planning effect of the improved PSO algorithm is obviously better than that of traditional PSO and genetic algorithms, while the traditional PSO algorithm is slightly better than genetic algorithm. The advantages of the improved PSO algorithm include: (1) in the aspect of convergence, the improved PSO algorithm is the fastest, followed by the traditional PSO algorithm and genetic algorithm; as to the fitness value during convergence stability, the improved PSO algorithm is the smallest, followed by the traditional PSO algorithm and genetic algorithm; (2) in the final optimization result of trajectory, the disturbance of the planning result obtained by the improved PSO algorithm is the smallest, and the time consumed in completing trajectory is the shortest; (3) the variation of the joint angle of the manipulator is more stable under the trajectory planned by the improved PSO algorithm. The reason is that the optimization effect of genetic algorithm greatly depends on the probabilities of crossover and mutations in the iterative process through setting of special parameter are not needed, and moreover the initial population is generated randomly, leading to unsatisfactory optimization effect. The reason of the traditional PSO algorithm is similar to genetic algorithm; though the design is simple and the optimization effect depends on the selection of initial population and learning factor, the improper learning factor will make the algorithm not converge or fall into the local optimal solution. The improved PSO algorithm adopts population co-evolution, which not only expands the range of the initial population, but also eliminates some poor particles in the process of co-evolution, so that the convergence accelerates and the local optimal solution is avoided.
Space manipulators are more widely used in the space industry for experimental operations such as external repair or sample collection of space stations or shuttles. Due to the weightlessness of the space environment, disturbances in the motion of space manipulators will significantly affect the stability of the connection base, thereby increasing the risk of accidents. Therefore, the optimization of the trajectory of space manipulator can not only improve work efficiency, but also reduce the disturbance to the pedestal and improve safety.
In this paper, the planning method of the motion trajectory of manipulators, the motion model of manipulators and the PSO algorithm used for optimizing the trajectory are briefly introduced, the multi-population co-evolution method is used to improve the PSO algorithm to make up for the shortcomings of the PSO algorithm, and moreover simulation experiment was carried out on MATLAB software. It is also compared with genetic algorithm.
The results are as follows.
The improved PSO algorithm converges to stability faster, and the global optimal fitness after stabilization is the smallest.
The motion trajectory optimized by the improved PSO algorithm has less disturbance to the pedestal posture of the manipulator and requires less time to complete the target action.
After the improved PSO algorithm optimizes the motion trajectory, the joint changes of the manipulator are more stable, reducing the disturbance to the pedestal.
The research in this paper was supported by Datong Industrial Science and Technology Project: Development and Research on the Intelligent Three-dimensional Rescue Special Operation Equipment (NO. 2016024).
- X. Huang, Y. Jia, S. Xu, S. Lu, J. Beijing Univ. Aeron. Astron. 43, 488–496 (2017) [Google Scholar]
- S.K. Wang, L. Zhu, J.Z. Wang, Trans. Beijing Inst. Tech. 35, 186–191 (2015) [Google Scholar]
- G. Chen, P.C. Ye, Q.X. Jia, H.X. Sun, Control Decis. 30, 156–160 (2015) [Google Scholar]
- G. Chen, W. Guo, Q.X. Jia, X. Wang, Y.Z. Fu, Chin. J. Aeron. 31, 109–124 (2018) [Google Scholar]
- D. Zhou, L. Wang, Q. Zhang, SpringerPlus 5, 509 (2016) [CrossRef] [PubMed] [Google Scholar]
- C. Zhou, M.H. Jin, Y.C. Liu, Z. Zhang, Y. Liu, H.S. Liu, Int. J. Autom. Comput. 14, 169–178 (2017) [CrossRef] [Google Scholar]
- X. Ge, K. Chen, Chin. J. Theor. Appl. Mech. 48, 4 (2016) [Google Scholar]
- M. Wang, J. Luo, J. Fang, J.P. Yuan, Adv. Space Res. 61, S0273117718300346 (2018) [Google Scholar]
- G. Chen, C. Wei, Q.X. Jia, H.X. Sun, B.Y. Yu, Appl. Mech. Mater. 713–715, 800–804 (2015) [CrossRef] [Google Scholar]
- G. Misra, X. Bai, J. Guid. Control Dyn. 40, 1–8 (2017) [Google Scholar]
- H. Mo, L. Xu, Neurocomputing 148, 91–99 (2015) [Google Scholar]
- X. Wang, Y. Shi, D. Ding, X.S. Gu, Eng. Optim. 48, 299–316 (2016) [CrossRef] [Google Scholar]
- J.J. Kim, J.J. Lee, IEEE Trans. Industr. Inform. 11, 620–631 (2017) [Google Scholar]
- Z. Ehsan, F. Saeid, Modares Mech. Eng. 14, 199–210 (2015) [Google Scholar]
Cite this article as: Dong Qiao, Motion planning optimization of trajectory path of space manipulators, Int. J. Metrol. Qual. Eng. 10, 11 (2019)
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.