Next Article in Journal
Ego-Motion Estimation for Autonomous Vehicles Based on Genetic Algorithms and CUDA Parallel Processing
Previous Article in Journal
Fingerprinting Indoor Positioning Based on Improved Sequential Deep Learning
Previous Article in Special Issue
Detecting Fake Accounts on Instagram Using Machine Learning and Hybrid Optimization Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Dynamics Control in Trajectory Tracking of Industrial Robots Based on Adaptive Gaussian Pseudo-Spectral Algorithm

1
School of Mechanical, Electrical and Automotive Engineering, Xuchang Vocational Technical College, Xuchang 461000, China
2
Henan Modern Electromechanical Equipment System Integration and Digital Engineering Research Center, Xuchang Vocational Technical College, Xuchang 461000, China
3
Automotive Engineering Research Institute, Jiangsu University, Zhenjiang 212013, China
4
School of Automotive and Traffic Engineering, Jiangsu University, Zhenjiang 212013, China
*
Author to whom correspondence should be addressed.
Algorithms 2025, 18(1), 18; https://doi.org/10.3390/a18010018
Submission received: 30 November 2024 / Revised: 29 December 2024 / Accepted: 2 January 2025 / Published: 3 January 2025
(This article belongs to the Special Issue Hybrid Intelligent Algorithms)

Abstract

A pseudo-spectral control algorithm based on adaptive Gauss collocation point reconstruction is proposed to efficiently solve the optimal dynamics control problem of industrial robots. A mathematical model for the kinematic relationship and dynamic optimization control of industrial robots has been established. On the basis of deriving the Legendre–Gauss collocation formula, a two-stage adaptive Gauss collocation strategy for industrial robot dynamics control variables was designed to improve the dynamics optimization control effect of industrial robot by improving the solution efficiency of constrained optimization problems. The results show that compared with the control variable parameterization method and the traditional Gaussian pseudo-spectral method, the proposed dynamic optimal control method based on an adaptive Gaussian point reconstruction algorithm can effectively improve the solving time and efficiency of constrained optimization problems, thereby further enhancing the dynamic optimization control and trajectory tracking effect of industrial robots.

1. Introduction

The research on the optimal control of industrial robot dynamics is a cutting-edge interdisciplinary direction in robotics technology, automatic control, industrial control, and other fields. Its research aims to achieve the efficient and stable operation of industrial robots in underwater environments through effective control of their motion states [1,2]. With the continuous development of industrial robot technology, its application in underwater operations, detection, rescue, and other fields is becoming increasingly widespread. In underwater environments, due to the complexity of fluid dynamics, the stability and maneuverability of industrial robots have become crucial factors in the design process. The dynamic performance and control accuracy of industrial robots directly affect the efficiency and safety of task execution. The research on high-performance dynamic optimal control for industrial robots is of great value [3,4].
In terms of optimal control of underwater robot dynamics, the establishment of dynamic models, calculation and verification of hydrodynamic coefficients, motion stability control, and performance analysis are the most important aspects related to operational control effectiveness. During the movement of underwater robots, when subjected to external interference, it is necessary to maintain a stable motion state while achieving rapid tracking of the predetermined trajectory. At this point, underwater robots should have good posture control and trajectory tracking capabilities [5,6]. On the basis of achieving precise modeling and dynamic analysis, high-performance optimized tracking control algorithms are the key to achieving the above objectives. The core goal of optimal control theory is to seek an optimal strategy that enables industrial robots to dynamically adjust their motion state based on predetermined goals and task requirements when facing complex and changing environments. In order to achieve this goal, optimal control theory usually adopts various optimization algorithms and strategies [7,8,9]. Considering multiple factors such as the dynamic characteristics of industrial robots, environmental constraints, and task requirements, the optimal control strategy is found to ensure that industrial robots can achieve their goals at the minimum cost [10,11].
In existing research, some optimization algorithms focus on minimizing the energy consumption of industrial robots. Dynamic programming and Pontryagin’s maximum principle are two commonly used optimization algorithms [12,13,14,15]. Dynamic programming algorithms transform complex multi-stage-decision-making problems into a series of simple subproblems by constructing state transition equations, in order to find the global optimal solution. The Pontryagin maximum principle utilizes the Lagrange multiplier method to transform the constraints into additional terms to the objective function and then obtains the optimal control strategy by solving the optimization equation [16,17]. These two algorithms have their own advantages and disadvantages in practical applications and need to be selected based on specific task requirements and system characteristics. In the design process of energy consumption minimization optimization algorithms, multiple factors need to be considered, such as the dynamic characteristics of the robot and the task constraints. By considering these factors comprehensively, optimization algorithms that are more in line with practical applications can be designed to minimize energy consumption [18,19,20].
In summary, existing research on optimization control algorithms for underwater robots mostly focuses on optimizing and solving a single control objective, while research on achieving multi-objective collaborative optimization [21,22] from a global perspective is still rare. The operating environment of underwater robots is diverse and the dynamic coupling characteristics are complex. Therefore, it is of great significance to conduct research on multi-objective optimization control algorithms while considering the improvement of their comprehensive performance [23,24]. The GPM has been extensively studied and applied in solving optimal control problems in industrial control and other fields due to its advantages of high solving accuracy, low computational complexity, simple structure, and high solving efficiency [25,26]. The idea of this method is to discretize the continuous optimal control problem at orthogonal collocation points and approximate the state variables and control variables through global interpolation polynomials, thereby transforming the optimal control problem into an NLP problem for solution [27,28]. In the field of industrial robot motion control, nonlinear optimization problems have become an important research direction due to the complexity of underwater environments and the dynamic nature of robot systems. Compared to traditional linear optimization problems, nonlinear optimization problems are more complex, so they have stricter requirements for the efficiency of solving optimization control problems [29,30].
However, traditional GPM methods use a globally unified point allocation approach to discretize state variables and control variables. In order to obtain accurate control results, a large number of point allocation points are usually required, which at the same time affects the optimization calculation efficiency and leads to a decrease in the control performance of industrial robots [31,32]. On the other hand, unified positioning can easily cause oscillations in the control curve, thereby affecting the stability of the industrial robot’s driving posture. Therefore, the coordination and smoothing of the problem between increasing discrete point allocation and computational efficiency in the GPM method is an important technological breakthrough direction for improving the dynamic optimization control problem of industrial robots [33,34].
Therefore, in order to achieve an efficient solution to the dynamic optimization control and optimization constraint problems for industrial robots, this study combines the Gauss pseudo-spectral control theory and proposes a multi-objective optimal control method for industrial robots based on an adaptive Gauss point reconstruction pseudo-spectral method, which solves the problem of increasing discrete point allocation and computational efficiency in GPM and improves the comprehensive motion control performance of underwater industrial robots. Firstly, based on the kinematic coordinate transformation relationship and force analysis results of industrial robots, a mathematical model for the multi-degree of freedom dynamic control of industrial robots is established. Then, the Legendre–Gauss collocation solution formula was derived based on the Legendre polynomial, and a two-stage adaptive Gauss collocation reconstruction strategy was proposed for the problem of discrete collocation of control variables. By adaptively optimizing the collocation number of control variables, the solving efficiency was improved. Finally, a comparative simulation test was conducted on the dynamic optimization control problem of industrial robots, and the proposed control method was compared with the CVP algorithm and the traditional GPM method to effectively reflect the effectiveness of the proposed method.
The rest of this paper is organized as follows. The dynamic modeling of industrial robots is presented in Section 2. The dynamic optimal control of industrial robots is designed in Section 3. The verification and analysis are provided in Section 4, and followed by the conclusion in Section 5.

2. Dynamic Modeling of Industrial Robot

2.1. Motion Coordinate System and Coordinate Transformation of Robot

To achieve dynamic modeling and optimal control of industrial robots, two orthogonal coordinate systems are established, including the geodetic coordinate system and the local coordinate system. As shown in Figure 1, in the geodetic coordinate system, with the starting point of motion as the origin, the Ox and Oy axes are in the horizontal plane, and the Oz axis is vertically downward along the vertical direction. To facilitate the description of the rigid body motion behavior of the robot, a local coordinate system for the industrial robot was established with the center of mass of the robot as the origin of the coordinate system. Among them, the Ox axis is along the longitudinal axis of the industrial robot, the Oy axis is perpendicular to the Ox axis and points towards the starboard direction, and the Oz axis is perpendicular to the plane of the Oxy axis, with its direction determined according to the right-hand rule. On the basis of establishing a coordinate system, the velocity and angular velocity transformation matrices of the industrial robot from the local coordinate system to the geodetic coordinate system can be obtained as follows:
T v = cos φ cos θ cos ϕ sin φ + cos φ sin ϕ sin θ sin φ sin ϕ + cos φ cos ϕ sin θ sin φ cos θ cos φ cos ϕ + sin φ sin ϕ sin θ cos φ sin ϕ + cos ϕ sin φ sin θ sin θ cos θ sin ϕ cos θ cos ϕ
T ω = 1 tan θ sin ϕ tan θ cos ϕ 0 cos ϕ sin ϕ 0 sin ϕ / cos θ cos ϕ / cos θ
where u = u v w T and Ω = ( p q r ) T .

2.2. Force Analysis of Robot

In order to achieve optimal dynamic control of an industrial robot in an underwater environment, it is necessary to first establish a dynamic model of the industrial robot. The robot system moving underwater is a nonlinear dynamic system that requires a large number of parameters to be determined. Due to limitations in technology and testing conditions, some parameters cannot be accurately measured or cannot be determined. In order to meet the needs of control, it is necessary to simplify the system and only consider the factors that have a major impact on system performance, such as gravity, buoyancy, thrust, and hydrodynamics. Firstly, the industrial robots are subject to the gravitational force of the Earth, and the resulting forces and moments need to be reflected in the local coordinate system, which can be expressed as
F τ G = G sin θ cos θ sin φ cos θ cos φ 0 0 0 T ,
where due to the coincidence of the robot’s center of mass with the origin of the coordinate system, its gravitational moment is 0. At the same time, industrial robots are subjected to buoyancy in the water, and the resulting buoyancy and buoyancy moment can be represented in the local coordinate system as
F τ B = - B sin θ cos θ sin φ cos θ cos φ z b cos θ sin φ y b cos θ cos φ x b cos θ cos φ + z b sin θ y b sin θ x b cos θ sin φ ,
where x b y b z b T is the coordinate of the center of buoyancy in the local coordinate system. In addition, it is necessary to consider the driving force and torque exerted on industrial robots. As Figure 1 shows, the direction of the thrust force is indicated by arrows, where the thrust forces FT1 and FT2 are located in the oxy plane and symmetrical with respect to the x-axis, achieving rotation around the z-axis and translation along the x-axis. The thrust forces FT3 and FT4 are located in the oyz plane and are symmetrical with respect to the y-axis, achieving rotation around the x-axis and translation along the y-axis. The thrust forces FT5 and FT6 are located in the oxz plane and are symmetrical with respect to the z-axis, achieving rotation around the y-axis and translation along the z-axis.
Assuming the resultant forces along the x, y, and z axes are Tx, Ty, and Tz, respectively, and the resultant moments acting on the x, y, and z axes are KT, MT, and NT, respectively, the resultant forces and resultant moments on each axis can be represented as T x = F T 1 + F T 2 , T x = F T 1 + F T 2 , T z = F T 5 + F T 6 , K T = R T 3 F T 3 + R T 4 F T 4 , M T = R T 5 F T 5 + R T 6 F T 6 , N T = R T 1 F T 1 + R T 2 F T 2 .
Robots also experience hydrodynamic forces in water, and the resulting forces and moments need to be reflected in the local coordinate system. Let the velocity of water flow in the geodetic coordinate system be u f = u f v f w f T , and the transformation relationship between the velocity of water flow in the local coordinate system and the geodetic coordinate system is
u f = u 1 v l w l T = T v 1 u f v f w f T .
The velocity of the water flow relative to the robot can be expressed as
u r = u r v r w r T = u u 1 .
The water flow resistance is directly proportional to the square of the relative water flow velocity of the industrial robot. Let the water flow resistance along the x, y, and z axes be Fx, Fy, and Fz, respectively, and they can be expressed as F x = 0.5 ρ C d S x | u r | u r , F y = 0.5 ρ C d S y v r v r , F z = 0.5 ρ C d S z w r w r . In the formula, ρ is the water density, C d is the dimensionless drag coefficient, and S x , S y , and S z are the cross-sectional areas of the industrial robot perpendicular to the x, y, and z axes, respectively. The resistance torque generated by water flow is proportional to the square of the robot’s angular velocity. Based on the resistance torque coefficient, K x , K y , K z , the projections of the resistance torque generated by the fluid on the x, y, and z axes of the industrial robot can be obtained as K x | p | p , K y | q | q , K z | r | r .
At the same time, when an industrial robot accelerates in a fluid, it also exerts a force on the surrounding fluid, causing acceleration. The fluid mass surrounding it that accelerates is called additional mass. It is approximately believed that industrial robots are symmetrical in terms of front, back, left, and right directions. Therefore, the additional mass of the robot along the three axes is only related to the acceleration and angular acceleration in their respective axis directions. Among them, the additional masses generated along the x, y, and z axis directions are m u , m v , and m w , respectively, and the additional masses generated along the x, y, and z axis rotation directions are m p , m q , and m r , respectively.

2.3. Assumptions and Description of Optimal Control Problem

Based on the establishment of the coordinate system and force analysis mentioned above, according to Newton’s second law and the moment of momentum theorem, the matrix representation of the dynamic equation of the industrial robot can be derived
M ( h ) h ¨ + N ( h , h ˙ ) = I ( h ) F ,
where h ˙ = u v w p q r T , h ¨ = ( u ˙ v ˙ w ˙ p ˙ q ˙ r ˙ ) T , F = T x T y T z K T M T N T T , N ( h , h ˙ ) = N ( 1 ) N ( 2 ) N ( 3 ) N ( 4 ) N ( 5 ) N ( 6 ) T , N ( 1 ) = F x ( m + m u ) [ ( q w 1 v 1 r ) ( q w v r ) ]   , N ( 2 ) = F y ( m + m v ) [ ( r u 1 w 1 p ) ( r u w p ) ] , N ( 3 ) = F z ( m + m v ) [ ( p v 1 u 1 q ) ( p v u q ) ] , N ( 4 ) = K x p p + ( z b cos θ sin φ y b cos θ cos φ ) B m y b ( p v 1 u 1 q ) + m z b ( u 1 r p w 1 ) , N ( 5 ) = K y | q | q + ( x b cos θ cos φ + z b sin θ ) B + m x b ( p v 1 u 1 q ) m z b ( w 1 q v 1 r ) , N ( 6 ) = K z r r ( y b sin θ + x b cos θ sin φ ) B m x b ( r u 1 w 1 p ) + m y b ( w 1 q v 1 r ) , M ( h ) = d i a g m u + m m v + m m w + m m p + I x m q + I y m r + I z , I ( h ) is the unit matrix, and m is the mass of industrial robot.
By solving the dynamic equations, the motion laws described by the robot in the local coordinate system (i.e., u, v, w, p, q, and r) can be obtained, and then converted to the geodetic coordinate system to obtain the motion laws described by the robot in the geodetic coordinate system
x ˙ h = T x ˙ y ˙ z ˙ ϕ ˙ θ ˙ φ ˙ T = T u v w p q r T ,
where T = T v 0 0 T ω . x ˙ , y ˙ , z ˙ are the velocity of the robot along three axes in the geodetic coordinate system.
In order to ensure that the robot can track the preset trajectory as soon as possible and smoothly and avoid the phenomenon of sudden changes in the control variables of the control system that affect the continuity of the control variables, the deviation of the system state variables and the control increment are added to the objective function. In actual robot tracking and control systems, in order to ensure the smooth operation of the robot, it is necessary to limit the speed and speed increment of the robot to a certain range of variation. Therefore, it is necessary to increase the constraints on the control quantity and control increment, which are u min u u max Ω min Ω Ω max and Δ F min Δ F Δ F max Δ τ min Δ τ Δ τ max , respectively.
In the actual tasks of industrial robots, in order to shorten the attitude maneuvering time, it is inevitable to consume more energy. Therefore, it is necessary to consider both the performance improvement requirements in terms of maneuvering time and energy, and design a control system that balances efficiency and energy comprehensive indicators. Therefore, the optimal control problem for trajectory tracking of industrial robots can be expressed as: finding the control input, under certain constraint conditions, moving from the given initial state x(t0) = x0, t0 = 0 to the desired end state x(tf) = xf, and minimizing energy consumption. It is defined that x J = h x h T and u J = F , so trajectory tracking optimal control is essentially an energy optimal functional extremum problem. Therefore, the performance indicators that balance optimal energy and efficiency can be expressed as
J = t 0 t f F d t + t 0 t f d t .
At the same time, the initial value constraint that needs to be satisfied is x (t0) = x0, the state constraint is x min x J x max , the control constraint is u min u J u max , and the boundary constraint is t t f and x t f x f . Nonlinear optimal control problem refers to the optimal control problem with nonlinear function terms in performance indicators, state equations, or constraint conditions. The trajectory tracking control problem of industrial robots can be equivalent to the optimal control solution problem of the following optimization objective function
min J = ϕ x 0 , t 0 , x f , t f + t 0 t f g x t , u t , t d t .

3. Dynamic Optimal Control of Industrial Robot in Trajectory Tracking

3.1. Gauss Pseudo-Spectral Method

The Gauss pseudo-spectral method is used to solve the trajectory tracking optimization control problem of industrial robots. The main process is to discretize the state and control variables at Legendre–Gauss points and then approximate the state and control variables through Lagrange interpolation polynomials, thereby converting the system state equation and performance index function integral terms into algebraic operations. Finally, the optimization manipulation problem is transformed into an NLP problem with node state and control variables as the parameters to be optimized.

3.1.1. Lagrange Interpolation Polynomial Approximation

In this work, the discrete approximation of state variables and control variables is completed using the Lagrange interpolation method. Given N + 1 sets of discrete points and their corresponding function values are { ( τ 1 , y 1 ) , ( τ 2 , y 2 ) , , ( τ N + 1 , y N + 1 ) } , the variable can be obtained through N-degree polynomial interpolation
y ( τ ) Y ( τ ) = i = 1 N + 1 L ^ i ( τ ) y i ,
where Y ( τ ) is the N-degree polynomial approximation, L ^ i ( τ ) is the N-degree Lagrange interpolation polynomial and which can be calculated using the following formula: L ^ i ( τ ) = j = 1 , j i N + 1 τ τ j τ i τ j . It is defined that L ^ i ( τ j ) = δ i j , and analysis show that the Lagrange interpolation polynomials have the following characteristics: L ^ i ( τ j ) = δ i j = 1 , i = j 0 , i j .
Based on the above equation, it can be seen that the interpolation polynomial satisfies Y ( τ i ) = y i , i = 1 , 2 , , N + 1 at discrete points, so it is necessary to select appropriate discrete points to obtain the values of y i . However, traditional methods generally divide the time interval into N equal segments and approximate them using a linear combination of Lagrange interpolation polynomials, but this equidistant separation can easily cause the Runge phenomenon. Therefore, the Legendre polynomial with a better approximation effect is selected for discrete point selection in the [–1, 1] interval, and its Nth Legendre polynomial is
P n + 1 τ = ( τ α n ) P n τ β n 2 P n 1 τ   P 0 τ = 1 , P 1 τ = 0 , n = 0 , 1 , , N .
Furthermore, by calculating the solution of Equation (10), N discrete points located within the open interval (–1,1) can be obtained, denoted as τ i (i = 1, 2, …, N), which are called Legendre–Gauss (LG) collocation points. Analysis shows that it is the root of Equation (8). Given the Legendre polynomial of degree N is P n + 1 τ = ( τ α n ) P n τ β n 2 P n 1 τ   P 0 τ = 1 , P 1 τ = 0 , n = 0 , 1 , , N , its roots can be solved by the eigenvalues of matrix H, where H = α 0 β 1       β 1 α 1 β 2                   α n 2 β n 1       β n 1 α n 1 .
Proof. 
According to the definition, the roots of an Nth Legendre polynomial are the solutions of the following equation
P n + 1 τ = τ α n P n τ β n 2 P n 1 τ = 0 ,
when n = 0, there is P 1 τ = ( τ α 0 ) P 0 τ β 0 2 P 1 τ . And according to P 1 τ = 0 and P 0 τ = 1 , so it can be obtained that P 1 ( τ ) = ( τ α 0 ) . When n = 1, there is
P 2 τ = τ α 1 P 1 τ β 1 2 P 0 τ .
According to P 0 τ = 1 , we have P 2 τ = ( τ α 1 ) P 1 τ β 1 2 , thus the root of P 2 τ = 0 is the solution of ( τ α 1 ) ( τ α 0 ) β 1 2 = 0 . It is defined that P 0 τ = 1 and A 1 = A 0 β 1 β 1 α 1 , thus, the eigenvalue of A1 is | λ I A 1 | = ( λ A 0 ) ( λ α 1 ) β 1 2 = 0 .
Analysis shows that the root of P 2 τ = 0 is the eigenvalue of matrix A1. Similarly, the root of P 3 τ = 0 is the solution of ( τ α 2 ) | τ I A 1 | β 2 2 | τ I A 0 | = 0 . So, according to A 2 = A 1 β 2 β 2 α 2 , the eigenvalue of A2 is
| λ I A 2 | = λ I A 1 β 2 β 2 λ α 2 = λ α 0 β 1   β 1 λ α 1 β 2   β 2 λ α 2 = λ I A 0 | = 0 .
Therefore, the root of P 3 τ = 0 is the eigenvalue of matrix A2. By recursion, it can be concluded that the roots of an Nth Legendre polynomial are the eigenvalues of matrix H. □

3.1.2. Discretization of State and Control Variables

Combining the Lagrange interpolation method from the previous section, Legendre polynomials are used to discretize and approximate the state variables and control variables. Firstly, a time variable is introduced as τ , and the time interval is scaled in Equation (8) using the formula t = t f t 0 2 τ + t f + t 0 2 . In this way, the time interval [t0, tf] is transformed into the [–1, 1] interval. By substituting the scale transformation result into Equation (8), the optimized control problem of the transformed industrial robot is obtained as follows:
min J = ϕ ( x 0 , t 0 , x f , t f ) + t f t 0 2 1 1 g ( x ( τ ) , u ( τ ) , τ ) d τ s . t . d x ( τ ) d τ = t f t 0 2 f ( x ( τ ) , u ( τ ) , τ ) E ( x ( 1 ) , t 0 , x ( 1 ) , t f ) = 0 C ( x ( τ ) , u ( τ ) , τ ) 0 , τ [ 1 , 1 ] .
Furthermore, by performing Lagrange interpolation approximation on the state variables at the LG point, we can obtain
x ( τ ) X ( τ ) = i = 1 N + 1 L i ( τ ) X ( τ i ) = i = 1 N + 1 L i ( τ ) X i L i ( τ ) = j = 1 , j i N + 1 τ τ j τ i τ j = b ( τ ) ( τ τ i ) b ˙ ( τ i ) ,
where b ( τ ) = i = 1 N + 1 ( τ τ i ) . Meanwhile, by discretizing the derivative of the state variable, thus it can be obtained that x ˙ ( τ ) X ˙ ( τ ) = i = 1 N + 1 L ˙ i ( τ ) X i . Then, only considering the derivative values of the state variables at the LG distribution point and defining that τ = τ k , and substituting it into equation (16), it can be obtained that
x ˙ ( τ k ) X ˙ ( τ k ) = i = 1 N + 1 L ˙ i ( τ k ) X i = i = 1 N + 1 D k , i X i ,
D k , i = L ˙ i ( τ k ) = b ˙ ( τ k ) ( τ k τ i ) b ˙ ( τ i ) , k i b ˙ ( τ k ) 2 b ˙ ( τ k ) , k = i .
Similarly, by approximating the control variable with LG point Lagrange interpolation over the time interval [–1, 1], we can obtain
u ( τ ) U ( τ ) = i = 1 N + 1 L i ( τ ) U ( τ i ) = i = 1 N + 1 L i ( τ ) U i .
Furthermore, the state equation can be replaced by the following constraint conditions
i = 1 N + 1 D k , i X i = t f t 0 2 f ( X k , U k , τ k ) .
Meanwhile, the integral term of the Lagrange term can be approximated as
1 1 g ( x ( τ ) , u ( τ ) , τ ) d τ k = 1 N + 1 w k g ( x ( τ k ) , u ( τ k ) , τ k ) ,
where w k is the integral weight in the Gauss integral formula. Ultimately, problem (14) is transformed into the following form of NLP solution problem
min J = ϕ ( X 0 , t 0 , X f , t f ) + t f t 0 2 k = 1 N + 1 w k g ( X k , U k , τ k ) s . t . i = 1 N + 1 D k , i X i t f t 0 2 f ( X k , U k , τ k ) = 0 E ( X 1 , t 0 , X f , t f ) = 0 C ( X k , U k , τ k ) 0 X f X 1 i = 1 N + 1 X i i = 2 N + 1 w i D k , i = 0 .
Analysis shows that after LG point discretization, problem (24) is a finite dimensional NLP problem. Therefore, gradient based nonlinear optimization methods such as SQP and interior point method are used to solve this problem.

3.2. Adaptive Gauss Collocation Reconstruction Method

In the traditional Gaussian pseudo-spectral method, the state variables and control variables are both interpolated using the same LG coordinates for polynomial interpolation. Therefore, the number of parameters that need to be optimized in NLP problem (21) are
N U M = ( r u + r x ) × N ,
where r x and r u , respectively, represent the dimensions of state variables and control variables. To ensure the accuracy of solving optimization problems, it is usually necessary to increase the number of LG allocation points. However, significantly increasing the number of allocation points will exponentially increase the number of optimization parameters NUM, reduce computational efficiency, and thus affect the application of GPM method in locomotive optimization operation. In addition, unified point allocation can easily cause oscillations in the control curve, especially for optimization problems involving jump nodes. Therefore, in order to solve the above problems, a two-stage adaptive Gauss point reconstruction strategy is proposed. In the first stage, the control variables are divided into LG distribution points to reduce the number of optimization parameters and perform global optimization calculations. In the second stage, introduced slope change adaptive reconstruction control variable allocation. The two-stage adaptive Gauss point reconstruction process is shown in Figure 2.
In the first stage, the state variables are discretized using Equation (17) for LG allocation points, and the control variables are discretized using pairwise Gaussian allocation points over the time interval [–1, 1], that is
U 2 l 1 = U 2 l , l = 1 , 2 , , N + 1 2 .
Among them, N is an odd number. Thus, the number of variable allocation points are reduced to (N + 1)/2, and the approximation formula is
u ( τ ) U ( τ ) = i = 1 N + 1 L i ( τ ) U ( τ i ) = l = 1 N + 1 2 i = 1 2 l L i ( τ ) U l .
After substituting the control variables obtained from the allocation points into Equation (21), it can be analyzed that the number of optimized parameters is reduced to ( r u / 2 + r x ) × N .
In the second stage, based on the solution in the first stage, the control variable allocation is reconstructed. Firstly, define the slope change of the τ th control variable at the collocation point τ 2 l + 1 as
S r , l + 1 = U l + 1 r U l r τ 2 l + 1 τ 2 l 1 , l = 1 , 2 , , N + 1 2 1 .
Among them U l + 1 r and U l r , respectively, represent the values of the rth control variable at the collocation points τ 2 l + 1 and τ 2 l 1 . Set the upper and lower threshold parameters for slope changes as ε U and ε L , respectively, and then perform segmentation refinement and point merging judgments separately. If S r , l + 1 ε U , the control variables U l + 1 r and U l r will form a mutation, which indicate that the number of control variable allocation points are insufficient to support the control variable’s requirements for control continuity and smoothness. At this point, it is necessary to refine the number of control variable allocation points in order to increase the number of allocation points between interval [ τ 2 l 1 , τ 2 l + 1 ] . By increasing the number of control points, the slope of the incremental change in the control variable can be adjusted to achieve smoothness in the motion control of underwater robots and suppress control fluctuations. Similarly, if S r , l + 1 ε L , then the control variables U l + 1 r and U l r are smooth in the interval [ τ 2 l 1 , τ 2 l + 1 ] . At this time, by setting U l + 1 r = U l r , it is possible to reduce the number of control points in smooth regions appropriately to reduce computational complexity and improve computational efficiency. Finally, the number of control variable allocation points after refinement and merging is obtained through adaptive iteration. Furthermore, after the two-stage adaptive Gauss collocation reconstruction, the LG collocation points of the state variables and control variables in the time interval [–1, 1] can be obtained separately, thereby achieving adaptive adjustment of the collocation points. The pseudocode of the adaptive Gaussian pseudo-spectral algorithm is shown in Table 1.

4. Verification and Analysis

The underwater robot in the simulation example [35] has a body length of 1.33 m, an inner diameter of 0.36 m, a mass of 31.41 kg, and a rotational inertia of Iz = 1.77 × 10−1 kg·m2 around the body coordinate system, Iy = Iz = 3.45 kg·m2. The length of the y-axis and z-axis from the driver to the connected coordinate system is 0.075 m. In addition, assuming that the center of gravity and center of gravity of the robot coincide, the gravity and buoyancy of the robot are equal, and the density of water is 1000 kg/m3. Using a control moment gyroscope for attitude control of underwater vehicles, in order to avoid the loss of steering effect and reduced maneuverability caused by zero or low speed of underwater vehicles. The parameters of the control torque gyroscope are as follows: the radius of the control torque gyroscope rotor is 0.048 m, the width is 0.05 m, and the installation angle is 54.7°. The constant speed of a single control torque gyroscope rotor is about 15,000 r/min, with a moment of inertia of 3.25 × 10−3 kg·m2, and the angular momentum of a single control torque gyroscope rotor is 5 kg·m2/s. The structural parameters of the pyramid shaped gyroscope group are as follows: the bottom layout width is 0.24 m, the frame height is 0.15 m, and it can be placed inside the underwater robot to achieve attitude control of the underwater robot. Due to the fact that the driving method used in this design relies on the interaction between the driver and water, the greater the driving force, the greater the impact on the surrounding flow field. Therefore, it is necessary to consider constraining the maximum values of multiple sets of driving forces and based on this, calculate the optimal control of the underwater robot. According to the driving performance of the driver, the control constraints for the resultant force and resultant torque applied to the robot are set to 20 N and 15 Nm, respectively.
Using Simulink software to build a simulation model of the underwater robots, corresponding robot dynamics models and control system models were established based on the above model parameters and setting conditions, and comparative simulation tests and analysis of dynamic optimal control were conducted. In the simulation, the velocity of water flow in the x-axis, y-axis, and z-axis directions is set to 0.1 m/s. The industrial robot starts from the coordinate origin and ends at (20, 10, 5). The CVP method utilizes the approximate control effect of piecewise functions to transform the optimal control problem into a class of NLP problems for a solution. The CVP method is widely used and has the advantage of a relatively simple solution, but it has the disadvantage of inaccurate optimization time nodes and control parameters due to uniform time grid partitioning. In order to intuitively reflect the effectiveness of the proposed control method, optimization constraint problem solving methods based on control vector parameterization (CVP), the Gaussian pseudo-spectral method, and the adaptive Gaussian pseudo-spectral method were carried out, and simulation results were compared and analyzed.
The driving trajectories of industrial robots obtained under different control methods are shown in Figure 3. As shown in the figure, the overall trend of the trajectory curves of industrial robots under the three algorithms is relatively consistent. Among them, the trajectory curve under the CVP algorithm has relatively larger curvature changes and driving mileage, while the trajectory curve under the GPM algorithm has significantly improved in curvature changes and driving mileage compared to the CVP algorithm. In addition, the relevant indicators of the trajectory curve under the AGPM algorithm have been further improved compared to the GPM algorithm. In order to further demonstrate the comparison of the driving trajectories of industrial robots, the projected trajectories of industrial robot trajectories on different coordinate planes were compared, as shown in Figure 4. Combining the projected trajectories on the OXY plane, the OXZ plane, and the OYZ plane, it can be seen that the trajectory projection curve under the AGPM algorithm tends to be closer to the diagonal line from the starting point to the ending point, followed by the trajectory projection curve under the GPM algorithm, while the curvature change of the trajectory projection curve under the CVP algorithm is the most significant, and its overall driving mileage is relatively longer. Based on the comparison of trajectory projection curves, it can be concluded that the APGM algorithm proposed in this study can achieve optimal control of industrial robot dynamics. The optimization results show that the overall mileage of the driving trajectory is the smallest, and the curvature change is smoother, thus effectively achieving energy and efficiency optimization of overall control.
The control results of the industrial robot’s driving posture angle under different control methods are shown in Figure 5. In the comparison of yaw angles, the magnitude of the yaw angle gradually increases during the initial start-up of the robot, reaches its maximum value in the middle of the driving trajectory, and then gradually decreases. Under the three control methods, the overall yaw angle obtained by the AGPM algorithm is the smallest, while the yaw angle obtained by the CVP algorithm is relatively the largest. The change in the size of the yaw angle is also consistent with the trajectory trend of the robot. According to the comparison of the roll angles of industrial robots, it can be seen that the roll angle obtained by the AGPM algorithm is also smaller compared to the other two control methods. In the comparison of pitch angle control results, there is a significant fluctuation in the pitch angle under the CVP algorithm during the initial start-up stage. In contrast, the pitch angle under the GPM algorithm and the AGPM algorithm is generally stable in terms of variation amplitude, with the pitch angle obtained by the AGPM algorithm being the smallest in comparison. Based on the trajectory comparison results in Figure 2 and Figure 3, as well as the attitude angle comparison results in Figure 4, it can be concluded that the AGPM algorithm can achieve trajectory optimization control while reducing the yaw angle during the industrial robot’s movement, ensuring optimal driving efficiency from the starting point to the ending point.
The control results of the industrial robot’s driving attitude and angular velocity under different control methods are shown in Figure 6. In the control results of lateral angular velocity, the AGPM algorithm has the smallest overall lateral angular velocity and the fastest convergence speed, proving that the application of the AGPM algorithm effectively improves the lateral stability of industrial robots. According to the comparison results of roll angle velocity, it can be seen that there are severe fluctuations of different amplitudes and frequencies in the roll angle velocity under both the CVP algorithm and the GPM algorithm. Among them, the roll angle velocity fluctuation under the CVP algorithm is the most obvious, with the highest amplitude and frequency of the fluctuation. In contrast, the overall change in roll angle velocity under the AGPM algorithm is the smoothest, with almost no rapid amplitude fluctuations or shaking. The comparison results of pitch angular velocity obtained under the three control methods also showed similar trends of change. The pitch angular velocity under the CVP algorithm exhibits significant and severe fluctuations in amplitude during the initial start-up stage. Although the fluctuation amplitude decreases in the subsequent process, it remains the largest among the three control algorithms. In contrast, the pitch angular velocity under the GPM and the AGPM algorithms is significantly smaller overall, with the AGPM algorithm having the smallest pitch angular velocity fluctuation and the smoothest variation curve. The above comparison results reflect that the AGPM algorithm can significantly improve the attitude angular velocity control results of industrial robots, making them more stable overall and effectively ensuring the driving stability of industrial robots. The resultant control force results of an underwater industrial robot under different control methods are shown in Figure 7. As shown in the figure, the trend of the comparison results with other state variables is consistent. The control force under the CVP algorithm is correspondingly the largest, while the control force of the underwater robot under the AGPM algorithm is significantly the smallest, which helps to achieve the energy-saving goal of the underwater industrial robot.
In order to further demonstrate the optimal control performance of the underwater industrial robot dynamics under different control algorithms, a comparative analysis of optimization solution capability performance indicators was conducted, and the energy consumption performance of an underwater industrial robot under different algorithms was also compared, as shown in Table 2. All three control algorithms use the interior point method for solving optimization constraint problems. The CVP algorithm uses the unified grid method to discretize the state and control variables, while the GPM algorithm and the AGPM algorithm use the LG collocation method and adaptive LG collocation method for discretization, respectively. The three control algorithms are optimized and solved under different allocation points of control variables. Among them, the number of allocation points under the CVP algorithm is 30, the number of allocation points under the GPM algorithm is 38, and the number of allocation points under the AGPM algorithm is 17. Meanwhile, based on the optimization solution times under the three control algorithms, it can be concluded that the optimization solution times for CVP, GPM, and AGPM are 19.83 s, 11.65 s, and 5.33 s, respectively. By comparison, it can be seen that the CVP algorithm has the longest optimization solution time. Compared with the CVP algorithm, the GPM algorithm can effectively improve optimization solving time, but its number of allocation points is relatively large. In contrast, the AGPM algorithm achieves a significant reduction in optimization solution time with fewer allocation points. The comparative results show that after adopting the two-stage adaptive Gauss collocation algorithm, the number of control variable collocation points are significantly reduced, thereby effectively reducing its optimization solution time. In addition, the energy consumption in maneuvering cruise of underwater industrial robot under the CVP, the GPM, and the AGPM algorithms is 206.79 J, 186.34 J, and 173.61 J, respectively, indicating that the proposed optimization control algorithm can achieve the control goal of energy-saving for underwater industrial robots. Based on the above data, it can be concluded that compared to the CVP and the GPM algorithms, the AGPM algorithm has improved energy consumption performance by 16.04% and 6.83%, respectively.
On the basis of verifying the efficiency performance indicators of different optimization allocation algorithms and the energy consumption of underwater robots, further statistical analysis of data is used to reflect the performance of underwater robot optimization control in terms of dynamic performance. Trajectory tracking error and attitude control error are selected as indicators to characterize the dynamic performance of underwater robots. At the same time, in the process of calculating dynamic performance errors, the error suppression effect is comprehensively reflected by obtaining the average error value and root mean square error of the corresponding variables. The calculation formula [36] can be expressed as
e A V E = 1 N i = 1 N x ^ i x i e R M S E = 1 N i = 1 N x ^ i x i 2 ,
where eAVE is the error average value, eRMSE is the error root mean square, N is the sampling amount, x i is the referenced value, and x ^ i is the estimated value.
The eAVE and eRMSE results of the calculated trajectory tracking error and attitude control error are shown in Table 3 and Table 4, respectively. According to Table 3, in terms of trajectory tracking error, under the CVP algorithm, the average tracking error obtained in the projected trajectories of OXY, OXZ, and OYZ planes is relatively larger. On the contrary, the average trajectory tracking error under the AGPM algorithm is relatively small. Similarly, in terms of attitude control error of underwater robots, the average error of attitude tracking control obtained by using the AGPM algorithm is significantly smaller. The results in Table 3 further demonstrate through quantitative data comparison that the proposed AGPM algorithm can effectively improve the trajectory tracking and attitude control performance of underwater robots. Then, by comparing the root mean square values of trajectory error and attitude control error in Table 4, it can be further found that under the AGPM algorithm, the eRMSE of trajectory tracking control and attitude control errors are relatively smaller. This indicates that the proposed AGPM algorithm can achieve smoother and more stable motion control effects, reducing the attitude fluctuations of underwater robots during maneuvering, which also helps to achieve comprehensive optimization of navigation stability and energy-saving effects. Based on the above data, it can be concluded that compared to the CVP and the GPM algorithms, the trajectory tracking accuracy of the AGPM algorithm has improved by 15.76% and 8.13%, respectively, and the attitude control accuracy of the AGPM algorithm has improved by 17.29% and 8.62%, respectively.

5. Conclusions

In order to achieve efficient solution goals for the dynamic optimization control and optimization constraint problems of underwater robots, this paper proposes a dynamic optimization control method for underwater robots based on an improved Gaussian pseudo-spectral method, which solves the contradiction between the increase in discrete points and the decrease in computational efficiency in the GPM method. In the dynamic modeling of industrial robots, the motion coordinate system of industrial robots and the corresponding kinematic coordinate transformation relationship in the coordinate system were established. Based on the force analysis of the robot, a six degree of freedom dynamic model of industrial robots was summarized. We designed performance indicators that balance energy and efficiency for the dynamic control of industrial robots. Then, within the Gauss pseudo-spectral control framework, we provided the Legendre–Gauss collocation solution formula and proposed a two-stage adaptive Gauss collocation reconstruction strategy for control variables. The comparative simulation results show that the proposed AGPM algorithm can effectively improve the dynamic optimization control effect of industrial robots. Compared with the CVP algorithm and the GPM algorithm, the driving range, driving attitude control stability, and optimization solution time under the AGPM algorithm can be optimized. Compared to the CVP and the GPM, the AGPM algorithm has improved energy consumption performance by 16.04% and 6.83%, trajectory tracking accuracy by 15.76% and 8.13%, and attitude control accuracy by 17.29% and 8.62%, respectively.
In future research, it is expected to achieve new technological breakthroughs in model accuracy and environmental adaptability, as well as robustness and intelligence of control algorithms. The underwater robot dynamics model established in this study, although considering hydrodynamic effects, may still have limitations in simulating complex marine environments. Future research can further refine the model, improve its adaptability to extreme water quality conditions, and explore the integration of new sensor technologies and data processing algorithms, such as using machine learning and deep learning techniques to enhance perception capabilities. With the development of artificial intelligence technology, future research can explore more intelligent control strategies based on deep learning and reinforcement learning to improve the autonomous learning and adaptability of underwater robot control systems. In addition, in practical applications, research on the safety and robustness of robot control systems is also crucial.

Author Contributions

Conceptualization, J.Z., X.Z., and T.C.; methodology, J.Z. and T.C.; software, J.Z. and X.Z.; validation, J.Z., X.Z., and G.D.; writing—original draft preparation, J.Z. and T.C.; writing—review and editing, J.Z. and G.D.; visualization, J.Z. and X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by National Natural Science Foundation of China (No. 52202472), the Henan Province Science and Technology Research and Development Program Project (No. 182102210498), and the Opening Foundation of Key Laboratory of Advanced Manufacture Technology for Automobile Parts, Ministry of Education (No. 2023KLMT06).

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

GPMGaussian pseudo-spectral method
NLPNonlinear programming
CVPControl vector parameterization
LGLegendre–Gauss
SQPSequential quadratic programming
AGPMAdaptive Gaussian pseudo-spectral method
φRoll angle of the robot
θPitch angle of the robot
ϕYaw angle of the robot
u Velocity at the origin in the local coordinate system
uVelocity along the x-axis in the local coordinate system
vVelocity along the y-axis in the local coordinate system
wVelocity along the z-axis in the local coordinate system
Ω Angular velocity at the origin in the local coordinate system
pAngular velocity along the x-axis in the local coordinate system
qAngular velocity along the y-axis in the local coordinate system
rAngular velocity along the z-axis in the local coordinate system
TvVelocity transformation matrix
T ω Angular velocity transformation matrix
FThe resultant force exerted on the robot
τ The resultant moment exerted on the robot
BBuoyancy
GGravity of the industrial robot
u f Velocity of water flow in the local coordinate system
u r Velocity of water flow relative to the robot
ax/ayLongitudinal/lateral accelerations of vehicle

References

  1. Phung, M.D.; Ha, Q.P. Safety-enhanced UAV Path Planning with Spherical Vector-Based Particle Swarm Optimization. Appl. Soft Comput. 2021, 107, 107376. [Google Scholar] [CrossRef]
  2. Li, Y.; He, J.; Shen, H.; Zhang, W.; Li, Y. Adaptive practical prescribed-time fault-tolerant control for autonomous underwater vehicles trajectory tracking. Ocean Eng. 2023, 277, 114263. [Google Scholar] [CrossRef]
  3. Li, J.; Du, J.; Chang, W.J. Robust time-varying formation control for underactuated autonomous underwater vehicles with disturbances under input saturation. Ocean Eng. 2019, 179, 180–188. [Google Scholar] [CrossRef]
  4. Liu, H.; Lyu, Y.; Lewis, F.L.; Wan, Y. Robust time-varying formation control for multiple underwater vehicles subject to nonlinearities and uncertainties. Int. J. Robust Nonlinear Control 2019, 29, 2712–2724. [Google Scholar] [CrossRef]
  5. Liu, H.; Yan, S.C.; Shen, Y.; Li, C.H.; Zhang, Y.F.; Hussain, F. Model predictive control system based on direct yaw moment control for 4WID self-steering agriculture vehicle. Int. J. Agric. Biol. Eng. 2021, 14, 175–181. [Google Scholar] [CrossRef]
  6. Jin, Y.C.; Liu, J.Z.; Xu, Z.J.; Yuan, S.Q.; Li, P.P.; Wang, J.Z. Development status and trend of agricultural robot technology. Int. J. Agric. Biol. Eng. 2021, 14, 1–19. [Google Scholar] [CrossRef]
  7. Saravanakumar, T.; Lee, T. Hybrid-driven-based resilient control for networked T-S fuzzy systems with time-delay and cyber-attacks. Int. J. Robust Nonlinear Control 2023, 33, 7869–7891. [Google Scholar] [CrossRef]
  8. Ghrab, S.; Ahmed Ali, S.; Benamor, A.; Langlois, N.; Messaoud, H. A novel robust discrete-time integral sliding mode tracking control design for time-varying delay MIMO systems with unknown uncertainties. ISA Trans. 2024, 145, 1–18. [Google Scholar] [CrossRef] [PubMed]
  9. Liu, Y.; Cui, D. Optimal Control of Vehicle Path Tracking Problem. World Electr. Veh. J. 2024, 15, 429. [Google Scholar] [CrossRef]
  10. Cheng, S.; Li, L.; Chen, X.; Wu, J. Model-predictive-control-based path tracking controller of autonomous vehicle considering parametric uncertainties and velocity-varying. IEEE Trans. Ind. Electron. 2020, 68, 8698–8707. [Google Scholar] [CrossRef]
  11. Vimal Kumar, S.; Kim, J. Robust H Control for Autonomous Underwater Vehicle’s Time-Varying Delay Systems under Unknown Random Parameter Uncertainties and Cyber-Attacks. Appl. Sci. 2024, 14, 8827. [Google Scholar] [CrossRef]
  12. Campos-Martínez, S.-N.; Hernández-González, O.; Guerrero-Sánchez, M.-E.; Valencia-Palomo, G.; Targui, B.; López-Estrada, F.-R. Consensus Tracking Control of Multiple Unmanned Aerial Vehicles Subject to Distinct Unknown Delays. Machines 2024, 12, 337. [Google Scholar] [CrossRef]
  13. Zhang, X.; Xu, X.; Li, J.; Luo, Y.; Wang, G.; Brunauer, G.; Dustdar, S. Observer-based H fuzzy fault-tolerant switching control for ship course tracking with steering machine fault detection. ISA Trans. 2023, 140, 32–45. [Google Scholar] [CrossRef] [PubMed]
  14. Tian, Y.; Sun, J.; Zhou, X.; Wu, X.; Lu, B.; Dai, C. Research on apple origin classification based on variable iterative space shrinkage approach with stepwise regression-support vector machine algorithm and visible-near infrared hyperspectral imaging. J. Food Process Eng. 2020, 43, e13432. [Google Scholar] [CrossRef]
  15. Pan, W.; Wang, Y.; Song, F.; Peng, L.; Zhang, X. UUV-Assisted Icebreaking Application in Polar Environments Using GA-SPSO. J. Mar. Sci. Eng. 2024, 12, 1845. [Google Scholar] [CrossRef]
  16. Liu, B.; Ouyang, W.; Yan, X.; Vanierschot, M. Numerical Investigation of Hydrodynamic Characteristics of a Rim-Driven Thruster Coupled with an Underwater Vehicle. J. Mar. Sci. Eng. 2024, 12, 1838. [Google Scholar] [CrossRef]
  17. Feng, J.; Xu, W.; Dong, J.; Yao, Y.; Hu, Z. A UUV Cluster Route-Planning Method for Dynamic Target Search. Electronics 2024, 13, 4033. [Google Scholar] [CrossRef]
  18. Xu, Z.; Shen, Y.; Xie, Z.; Liu, Y. Research on Autonomous Underwater Vehicle Path Optimization Using a Field Theory-Guided A* Algorithm. J. Mar. Sci. Eng. 2024, 12, 1815. [Google Scholar] [CrossRef]
  19. Zheng, X.; Wang, Y.; Tian, Q.; Zhang, Q.; Wang, X.; Xu, W.; Wang, G.; Yang, X.; Sun, Y. An Adaptive Controller with Disturbance Observer for Underwater Vehicle Manipulator Systems. Electronics 2024, 13, 3938. [Google Scholar] [CrossRef]
  20. Rex, P.T.; Abbott, K.J.; Prezgay, R.E.; Lowe, C.G. The Effects of Depth and Altitude on Image-Based Shark Size Measurements Using UAV Surveillance. Drones 2024, 8, 547. [Google Scholar] [CrossRef]
  21. Chen, T.; Cai, Y.; Chen, L.; Xu, X. Trajectory and Velocity Planning Method of Emergency Rescue Vehicle Based on Segmented Three-Dimensional Quartic Bezier Curve. IEEE Trans. Intell. Transp. Syst. 2023, 24, 3461–3475. [Google Scholar] [CrossRef]
  22. Chen, T.; Xu, X.; Cai, Y.; Chen, L.; Li, K. QPSOMPC-based chassis coordination control of 6WIDAGV for vehicle stability and trajectory tracking. J. Frankl. Inst. 2024, 362, 107458. [Google Scholar] [CrossRef]
  23. Lu, E.; Ma, Z.; Li, Y.M.; Xu, L.Z.; Tang, Z. Adaptive backstepping control of tracked robot running trajectory based on real-time slip parameter estimation. Int. J. Agric. Biol. Eng. 2020, 13, 178–187. [Google Scholar] [CrossRef]
  24. Xu, G.; Fang, H.; Song, Y.; Du, W. Optimal Design and Analysis of Cavitating Law for Well-Cellar Cavitating Mechanism Based on MBD-DEM Bidirectional Coupling Model. Agriculture 2023, 13, 142. [Google Scholar] [CrossRef]
  25. Liu, Y.J.; Cui, D.W.; Peng, W. Optimum Control for Path Tracking Problem of Vehicle Handling Inverse Dynamics. Sensors 2023, 23, 6673. [Google Scholar] [CrossRef] [PubMed]
  26. Wang, B.; Zhang, Y.M.; Zhang, W. Integrated path planning and trajectory tracking control for quadrotor UAVs with obstacle avoidance in the presence of environmental and systematic uncertainties: Theory and experiment. Aerosp. Sci. Technol. 2022, 120, 107277–107294. [Google Scholar] [CrossRef]
  27. Zhu, C.; Chen, J.; She, J.; Zhang, H. Actuator Fault Reconstruction for Quadrotors Using Deep Learning-Based Proportional Multiple-Integral Observer. IEEE Trans. Ind. Electron. 2023, 71, 7986–7995. [Google Scholar] [CrossRef]
  28. Zuo, Y.; Chen, J.; Zhu, X.; Lee, C.H.T. Different Active Disturbance Rejection Controllers Based on the Same Order GPI Observer. IEEE Trans. Ind. Electron. 2022, 69, 10969–10983. [Google Scholar] [CrossRef]
  29. Duan, G.; Yao, L.; Zhan, Z.; Kang, T.; Guo, C. Multi-Objective Optimal Control Method for the 6-DOF Robotic Crusher. Appl. Sci. 2024, 14, 9397. [Google Scholar] [CrossRef]
  30. Thuyen, N.A.; Thanh, P.N.N.; Anh, H.P.H. Adaptive finite-time leader-follower formation control for multiple AUVs regarding uncertain dynamics and disturbances. Ocean Eng. 2023, 269, 113503. [Google Scholar] [CrossRef]
  31. Zeng, X.; Yang, L.; Zhu, Y.; Yang, F. Comparison of Two Optimal Guidance Methods for the Long-Distance Orbital Pursuit-Evasion Game. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 521–539. [Google Scholar] [CrossRef]
  32. Pérez-Alvarado, M.E.; Gómez-Espinosa, A.; González-García, J.; García-Valdovinos, L.G.; Salgado-Jiménez, T. Convolutional Long Short-Term Memory Predictor for Collaborative Remotely Operated Vehicle Trajectory Tracking in a Leader–Follower Formation Subject to Communication and Sensor Latency in the Presence of External Disturbances. Machines 2024, 12, 691. [Google Scholar] [CrossRef]
  33. Li, Z.; Wu, X.; Zhang, W.; Yu, W. Obstacle Avoidance Trajectory Planning for Autonomous Vehicles on Urban Roads Based on Gaussian Pseudo-Spectral Method. World Electr. Veh. J. 2024, 15, 7. [Google Scholar] [CrossRef]
  34. Shojaei, K.; Chatraei, A. Robust platoon control of underactuated autonomous underwater vehicles subjected to nonlinearities, uncertainties and range and angle constraints. Appl. Ocean Res. 2021, 110, 102594. [Google Scholar] [CrossRef]
  35. Prestero, T. Verification of a Six Degree of Freedom Simulation Model for the REMUS Autonomous Underwater Vehicle. Ph.D. Thesis, Massachusetts Institute of Technology/Woods Hole Oceanographic Institution, Cambridge, MA, USA, 2001. [Google Scholar]
  36. Chen, T.; Cai, Y.F.; Chen, L.; Xu, X. Sideslip angle fusion estimation method of three-axis autonomous vehicle based on composite model and adaptive cubature Kalman filter. IEEE Trans. Transp. Electrif. 2024, 10, 316–330. [Google Scholar] [CrossRef]
Figure 1. Dynamic model of industrial robot.
Figure 1. Dynamic model of industrial robot.
Algorithms 18 00018 g001
Figure 2. Adaptive Gauss collocation reconstruction process.
Figure 2. Adaptive Gauss collocation reconstruction process.
Algorithms 18 00018 g002
Figure 3. Trajectory tracking results of industrial robot.
Figure 3. Trajectory tracking results of industrial robot.
Algorithms 18 00018 g003
Figure 4. The projection of the trajectory of industrial robot on different planes. (a) OXY plane, (b) OXZ plane, and (c) OYZ plane.
Figure 4. The projection of the trajectory of industrial robot on different planes. (a) OXY plane, (b) OXZ plane, and (c) OYZ plane.
Algorithms 18 00018 g004
Figure 5. The control results of the driving posture angle of industrial robot. (a) Yaw angle, (b) roll angle, and (c) pitch angle.
Figure 5. The control results of the driving posture angle of industrial robot. (a) Yaw angle, (b) roll angle, and (c) pitch angle.
Algorithms 18 00018 g005
Figure 6. The control results of the driving attitude angular rate of industrial robot. (a) Yaw rate, (b) roll rate, and (c) pitch rate.
Figure 6. The control results of the driving attitude angular rate of industrial robot. (a) Yaw rate, (b) roll rate, and (c) pitch rate.
Algorithms 18 00018 g006
Figure 7. The resultant control force of industrial robot.
Figure 7. The resultant control force of industrial robot.
Algorithms 18 00018 g007
Table 1. Pseudocode of the adaptive Gaussian pseudo-spectral algorithm.
Table 1. Pseudocode of the adaptive Gaussian pseudo-spectral algorithm.
Adaptive Gaussian Pseudo-Spectral Algorithm
(1) Step 1: Import the mathematical models for robot dynamics optimization control.
(2) Step 2: Set algorithm optimization parameters.
(3) Step 3: The state variable LG allocation and control variable pair LG allocation in the first stage are used to obtain a finite dimensional NLP optimization solution problem.
(4) Step 4: Solve the NLP problems. If the solution is successful, proceed to step 5. Otherwise, determine whether LG point reselection is needed. If so, proceed to step 3. Otherwise, the solution ends.
(5) Step 5: In the second stage of point allocation reconstruction, the slope change is calculated based on the solution results of the first stage, and the control variable LG is reconstructed to obtain a new finite dimensional NLP problem. Then, the step 6 is entered.
(6) Step 6: Solve the finite dimensional NLP problems. If the solution is successful, end the process. Otherwise, determine whether LG point reselection is needed. If it is necessary, proceed to step 3. Otherwise, end the process.
Table 2. Comparison of performance indicators of different control algorithms.
Table 2. Comparison of performance indicators of different control algorithms.
MethodCollocation PointsNLP Solution MethodDiscrete MethodSolution TimeEnergy Consumption
CVP30Interior point methodUnified grid19.83 s206.79 J
GPM38Interior point methodLG collocation11.65 s186.34 J
AGPM17Interior point methodAdaptive LG collocation5.33 s173.61 J
Table 3. eAVE of performance indicators under different control algorithms.
Table 3. eAVE of performance indicators under different control algorithms.
MethodTrajectory Tracking ErrorAttitude Control Error
OXY (m)OXZ (m)OYZ (m)Yaw Rate (deg/s)Roll Rate (deg/s)Pitch Rate (deg/s)
CVP0.19120.08390.21770.39920.12170.0691
GPM0.08650.04980.05870.23850.09320.0567
AGPM0.04620.03050.03360.16790.07680.0409
Table 4. eRMSE of performance indicators under different control algorithms.
Table 4. eRMSE of performance indicators under different control algorithms.
MethodTrajectory Tracking ErrorAttitude Control Error
OXY (m)OXZ (m)OYZ (m)Yaw Rate (deg/s)Roll Rate (deg/s)Pitch Rate (deg/s)
CVP0.02860.01870.03880.19960.29010.3967
GPM0.02370.01600.02160.15330.16490.2941
AGPM0.01950.01350.01770.11710.12080.1536
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, J.; Zhu, X.; Chen, T.; Dou, G. Optimal Dynamics Control in Trajectory Tracking of Industrial Robots Based on Adaptive Gaussian Pseudo-Spectral Algorithm. Algorithms 2025, 18, 18. https://doi.org/10.3390/a18010018

AMA Style

Zhang J, Zhu X, Chen T, Dou G. Optimal Dynamics Control in Trajectory Tracking of Industrial Robots Based on Adaptive Gaussian Pseudo-Spectral Algorithm. Algorithms. 2025; 18(1):18. https://doi.org/10.3390/a18010018

Chicago/Turabian Style

Zhang, Jing, Xiaokai Zhu, Te Chen, and Guowei Dou. 2025. "Optimal Dynamics Control in Trajectory Tracking of Industrial Robots Based on Adaptive Gaussian Pseudo-Spectral Algorithm" Algorithms 18, no. 1: 18. https://doi.org/10.3390/a18010018

APA Style

Zhang, J., Zhu, X., Chen, T., & Dou, G. (2025). Optimal Dynamics Control in Trajectory Tracking of Industrial Robots Based on Adaptive Gaussian Pseudo-Spectral Algorithm. Algorithms, 18(1), 18. https://doi.org/10.3390/a18010018

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop