1. Introduction
As a result of research into and application of a series of scientific technologies, such as autonomous driving, 5G networks, and vehicle-to-everything communication, cars are gradually evolving from a single mode of transportation and are being incorporated into an increasing number of life scenarios, moving towards intelligentization [
1]. Intelligent vehicles have significant advantages in improving driving safety and reducing traffic accidents, making their development a major research topic worldwide [
2]. As one of the core issues in intelligent vehicles, trajectory-tracking control is divided into lateral and longitudinal control [
3]. Precise control over the lateral motion of a vehicle can affect the safety, comfort, and economy of its driving process [
4]. However, the highly nonlinear dynamics characteristics and parameter uncertainties of vehicle systems increase the complexity of dynamic control. Therefore, the design and verification of reasonable trajectory-tracking-control strategies have significant research significance.
From the perspective of control algorithms, trajectory-tracking control technology needs to balance the accuracy and stability of tracking. Currently, common control methods include PID control, sliding mode controllers (SMC), model predictive control (MPC), linear quadratic regulator (LQR) control, and fuzzy control [
5,
6]. Specifically, the PID control method has a wide range of applications and has the advantages of a simple structure and a fast response speed. The traditional PID methods may require different PID parameters for different models or path conditions to achieve stable control. In comparative terms, some improved PID methods may achieve better control results, such as: fuzzy-PID, neural network adaptive PID, Q-learning adaptive PID, etc. The SMC has strong robustness and can respond quickly to changes in the system, but the discontinuity of the control may cause system oscillation, and it requires the full state information of the system, which may increase the complexity of the system. The MPC can handle multiple-input–multiple-output systems and has the ability to predict the future states of the system, but it requires the online solution of optimization problems, which may increase computational complexity and make parameter tuning difficult. Using LQR control, one can directly obtain the controller by solving the Riccati equation, which is computationally simple and fast, but the design of the LQR controller depends on the model equation of the controlled object. Therefore, it may not work well when the system’s model error is large. Fuzzy control does not require accurate system models and has strong fault tolerance. It can effectively control complex systems, but it requires the manual design of fuzzy rules and fuzzy sets, which may be difficult. Therefore, when choosing a control strategy, a trade-off should be made based on the specific situation [
7].
In recent years, improvements to traditional control algorithms in the field of autonomous driving have been studied. Bin Zhao et al. [
8] applied a genetic algorithm to design a trajectory-tracking PID controller for autonomous ground vehicles. This method may have slightly lower control accuracy and poorer robustness than some advanced controllers. Yanxin Nie et al. [
9] proposed an adaptive spiral sliding mode controller to address the chattering problem in traditional sliding mode controllers. Although this controller demonstrated superior tracking performance, it may require a significant amount of computational resources and time for parameter optimization and controller design. Haidong Wu et al. [
10] designed a linear time-varying MPC to reduce computational complexity, which locally linearizes the nonlinear vehicle model at each sampling point. However, this method may have limitations in tracking accuracy for complex road conditions or multi-vehicle cooperative driving, as it requires a high level of understanding and mastery of the algorithm. Zhejun Huang et al. [
11] established a prediction model using backward Euler integration. This paper mainly studies the calculation error generated in the discretization processes of nonlinear systems, which has certain guiding significance for the design of MPC controllers.
With the development and improvement of intelligent driving technology, the trajectory-tracking-performance requirements of intelligent vehicles are constantly increasing, and traditional control methods can no longer meet these demands. The emergence of new control algorithms provides various solutions to the trajectory-tracking problem of intelligent vehicles. For instance, Kaleb Ben Naveed et al. [
12] proposed a robust hierarchical reinforcement learning (HRL) framework for learning autonomous driving policies. Yassine Kebbati et al. [
13] presented an adaptive-parameter PID trajectory-tracking algorithm based on reinforcement learning and curvature feedforward control. Yassine Kebbati et al. [
14] also proposed an adaptive LPVMPC autonomous driving controller optimized by the genetic algorithm and a neural network. Dongdong Yuan et al. [
15] combined the dynamic characteristics of autonomous vehicles and proposed an improved model-free adaptive control algorithm. However, adaptive control algorithms are sensitive to initial conditions, have high computational complexity, and may lead to poor real-time performance. In addition, the slow convergence of parameters may result in performance degradation in the control system if the parameter estimation is inaccurate. The use of reinforcement learning, neural networks, and other methods may also lead to problems such as long training times, unstable training processes, high model complexity, and poor interpretability. It is worth noting that vehicle-planning control strategies that combine a path-planning algorithm that generates trajectories through real-time sensing with trajectory-tracking control also achieve great results. Runqi Chai et al. [
16] proposed a control framework that integrates real-time trajectory planning and tracking. A motion planner was designed based on a recurrent DNN-based (RDNN) method and then combined with two migration learning strategies to achieve real-time generation of parking trajectories for different AGVs. Next, the trajectory-tracking control of the vehicle was accomplished based on the designed adaptive learning NN-based (ALNN) control algorithm. Hye Young An et al. [
17] proposed a real-time path planning and trajectory-tracking control algorithm to generate the next position in real time using various sensors to obtain information about the detected lanes, and then the steering angle was calculated using a pure tracking algorithm based on the generated position, so that the algorithm can effectively adapt to real-time driving at different speeds.
Generalized Hamilton control systems are extensions of traditional Hamilton systems, which are dynamic systems. This type of system possesses clear structure and well-defined physical meanings, and exhibits structural integrity [
18]. The Hamilton function (total energy of the system) is its quasi-Lyapunov function, which shows significant advantages in stability analysis, stabilization control, and other issues [
19]. In addition, the Hamilton control algorithm is easy to apply and requires relatively few parameter adjustments. Currently, Hamilton system-based methods have been widely used in the control of power systems and mechanical systems, but have rarely been applied in the field of autonomous driving. Li et al. [
20] proposed a Hamilton control algorithm to address the control problem in the integrated chassis system of electric vehicles steering and suspension. They designed a Hamilton controller for the nonlinear integrated model of the vehicle’s steering and suspension, but it was not applied to trajectory-tracking control. In a study by Chen et al. [
21], based on Hamilton theory and combined with tire force optimization, the layered control of path tracking for unmanned four-wheel steering vehicles was realized, which has a certain tracking effect. However, the article did not consider problems such as stability control and model uncertainty during the vehicle driving processes, did not perform a rigorous derivation of the generalized Hamilton realization of the trajectory-tracking-control system for intelligent vehicles, and did not perform a comparative analysis with different control methods.
In this paper, a new intelligent vehicle trajectory-tracking control method based on the generalized Hamilton theory is proposed. The trajectory-tracking control of intelligent vehicles is realized by using the advantages of the complete and clear structure of the generalized Hamilton control system; fewer parameters need to be adjusted, and it has better stability.
The contributions of this work can be summarized as follows:
A trajectory-tracking control method based on a generalized Hamilton theory is proposed. According to the two system models commonly used in trajectory-tracking control of intelligent vehicles, a dynamic Hamilton dissipative controller (DHDC) and a trajectory-tracking Hamilton dissipative controller (TTHDC) are designed to obtain the feedback-dissipative Hamilton realizations of intelligent vehicle systems;
Based on the feedback-dissipative Hamilton realization of vehicle systems obtained via TTHDC, a generalized Hamilton robust controller (GHRC) is designed for the trajectory-tracking control of intelligent vehicles in conjunction with a Hamilton robust control principle, which in turn solves some problems of DHDC and TTHDC;
According to the simulation results, under the same simulation environment, compared with the traditional sliding mode controller and LQR controller, the designed GHRC can reduce the lateral error by a maximum of 84.44% and the root mean square error (RMSE) by 83.92%, which effectively improves the accuracy and robustness of vehicle-trajectory tracking and lays the foundation for subsequent further research.
3. Realization of Generalized Hamilton in Vehicle Systems and Controller Design
Due to the simplicity of the structure of the vehicle-dynamics control system, the realization of the feedback-dissipative Hamilton form is straightforward. Furthermore, in the following section, which discusses the design of the GHRC for this system, it is also necessary to have the feedback-dissipative Hamilton realization of the intelligent vehicle trajectory-tracking control system. Therefore, this section first provides a detailed derivation, explanation and validation of the feedback-dissipative Hamilton realization of the intelligent vehicle trajectory-tracking control system. Next, a brief explanation of the feedback-dissipative Hamilton realization of the vehicle-dynamics control system is given.
3.1. Intelligent Vehicle Trajectory Tracking Control System
3.1.1. Orthogonal Decomposition Hamilton Realization
In this paper, the system Hamilton realization of vehicle systems is carried out using the orthogonal decomposition method. First, the vehicle system Equation (8) is rewritten in the following form:
The selection of Hamilton Function is as follows:
Its partial derivatives are represented as:
To make the equipotential surface of
, at any point
, decompose
into the direction of the gradient vector
and tangent plane.
Let
, then in Equation (12):
Thus,
where,
and
is a
identity matrix.
Therefore, the system given by Equation (9) can be implemented as a Hamilton system:
3.1.2. Hamilton Dissipative Controller Design
In,
consider the equation
, denoted by
represented as a hypersurface. Let
be a given point. If
, then
. In this case, we decompose
as follows:
Select
where
;
;
;
symmetry.
The trajectory-tracking Hamilton dissipative controller (TTHDC) is taken:
where
is a newly introduced control parameter;
when only TTHDC acts.
Applying the controller in Equation (22) to Equation (18), we obtain:
where
As is antisymmetric and , the system in Equation (24) is strictly dissipative.
Equation (18) has a strict feedback-dissipative Hamilton realization.
Therefore, the feedback-dissipative Hamilton realization of the intelligent-vehicle- trajectory-tracking control system can be achieved through the state feedback controller , and the dissipative form is given by Equation (24). In addition, since the Hamilton function is Lyapunov function of the system and remains invariant during the control processes, the system Equation (18) will eventually converge to the origin ().
In connection with the design of the vehicle dissipation system in this section, and then from literature [
24] and literature [
25], the storage function
(
) and the supply rate
should satisfy the differential dissipation inequality.
where the supply rate
and the system output
.
According to the selection of the storage function in Equation (10) and the design of the control rate in Equation (22), substituting it into Equation (26) shows that if the differential dissipation inequality Equation (26) holds, the parameter should not be greater than 0; that is, the function . Again, since is asymptotically stable, having for the Lyapunov function makes , holding in the orthogonal decomposition realization of Equation (16), which makes the differential dissipation inequality Equation (26) hold.
3.2. Intelligent Vehicle Dynamic Control System
From a given reference trajectory corresponding to its derivative as , when is given in Equation (6), the system equation is obtained by substituting the reference value into Equation (6). According to the two degree of freedom vehicle-dynamical system model, the control objective of the vehicle-trajectory tracking is to make the deviation of the current vehicle from the desired trajectory as close to 0 as possible through the design of the appropriate Hamilton dissipative controller.
In accordance with the above control objectives and in conjunction with the difference between the vehicle system Equation (6) and the system equation
, Equation (6) can be rewritten as follows:
According to the two degree of freedom vehicle-dynamics error model (27), the Hamilton function is selected so that the tracking error converges to zero:
Its partial derivatives are represented as:
By following the calculation steps based on Equations (12)–(16), we can obtain:
In these two equations:
;
.
When
, we decompose
as follows:
Select,
where
;
;
;
symmetry.
The dynamics Hamilton dissipative controller (DHDC) is taken:
where
is a newly introduced control parameter,
when only DHDC acts.
Based on Equation (35) and in conjunction with the form of system Equation (22), we obtain:
where
As is antisymmetric and , the system in Equation (36) is strictly dissipative.
Similar to the above analysis of the dissipation inequality Equation (25) in the intelligent vehicle-trajectory tracking control system, according to the selection of the storage function in Equation (28) and the design of the control rate in Equation (35), substituting it into Equation (26) shows that, if Equation (26) is made to be valid, the parameter should not be greater than 0, i.e., the function . Again, since is asymptotically stable at the equilibrium point, for the Lyapunov function there is , which then makes it possible to realize in the orthogonal decomposition that Equation (31) holds for , which in turn makes Equation (26) hold for the differential dissipation inequality.
4. Robust Controller Design for Dissipative Hamilton System of Intelligent Vehicles
According to the aforementioned realization of a dissipative Hamilton for intelligent vehicle systems and the design of dissipative Hamilton controllers, as well as the analysis of the simulation results in
Section 5, it is imperative to further develop a robust Hamilton controller to improve the accuracy and stability of vehicle-trajectory tracking control. Like the previous two controllers, based on the predetermined reference trajectory and the output of the Carsim vehicle model, the necessary state variables and their errors are obtained. An appropriate Hamilton robust controller is then designed to minimize the derivatives of the lateral and heading errors throughout the trajectory tracking processes. The design generates the control input of the FWSA required by the vehicle systems and finally achieves a good trajectory tracking control performance.
To investigate the robust control of dissipative Hamilton system for intelligent vehicle-trajectory tracking, the following lemma is presented first [
26].
Lemma 1. Consider an intelligent vehicle trajectory-tracking control system,where the state, represents the disturbance and represents the evaluation signal. If there exists a function , such that the Hamilton–Jacobi inequality:holds, then the gain (from to ) of system (39) is no more than , i.e.,where We now investigate the robust control of the dissipative Hamilton system for intelligent vehicle-trajectory tracking proposed in this paper. Based on Equation (23), the following dissipative Hamilton system is obtained:
In this equation, ; and ; represents the disturbance; is the output; is the evaluation signal; is a full rank weight matrix; is skew symmetric; is a positive semi-definite matrix. It is assumed that reaches a local minimum at the equilibrium point .
The control design problem for the dissipative Hamilton system (41) is to find a suitable state feedback control rate for a given suppression level , such that the gain (from to ) of the closed-loop system is no greater than , i.e., Equation (40) holds and the closed-loop system is asymptotically stable when .
To design the controller, the following two assumptions are made:
, and Hessian matrix ;
In assumption 1,
ensures the existence of
and
guarantees that
is strictly concave in a neighborhood of the equilibrium point
. Assumption 2 is known as the orthogonality condition, which is a common assumption in
control [
27].
Theorem 1. Assuming 1 and 2 hold, and satisfy:the control problem for system (41) can be solved by the following control rate: In the equation, represents the disturbance attenuation level, and is a full rank weight matrix.
Proof. Substituting Equation (43) into the system Equation (41) yields:
To verify the stability of the dissipative Hamilton
controller for trajectory tracking of intelligent driving vehicles, we choose the Lyapunov function
. Combining Equation (42), Equation (44) and assumption 2, the Hamilton–Jacobi inequality of the system can be expressed as follows:
According to Lemma 1, the gain (from to ) of the system Equation is not greater than .
Next, we will prove that the system Equation
is asymptotically stable (
). When
, it can be obtained from Equations (42) and (44):
Therefore, it can be seen that the closed-loop system converges to the largest invariant set contained in the following set.
From Equation (46), it can be observed that when
,
. Combining this observation with the lateral error calculation formula in Equation (7) and the control system for intelligent vehicle-trajectory tracking in Equation (8), it can be concluded that
. According to LaSalle’s invariance principle [
28], the closed-loop system described by Equation (44) can be concluded when
, which is asymptotically stable. Therefore, the
control problem for the dissipative Hamilton system (41) of intelligent vehicle-trajectory tracking can be achieved by the control rate given by Equation (43). □
5. Simulation Analysis
Using the simulation platform built using Carsim and MATLAB/Simulink, taking the double lane-change and lane-change trajectories as the reference trajectories, the road surface friction coefficient was set to 0.85, and the trajectory-tracking control effect of each controller on the vehicle was verified via simulation at three speeds: 36 km/h, 54 km/h and 72 km/h, respectively. First, the simulation results of the two aforementioned Hamilton dissipative controllers designed based on different vehicle system models were presented and compared. Next, in order to better illustrate the superiority of the Hamilton robust control method in the trajectory-tracking accuracy and stability of intelligent vehicles, simulations and comparisons were performed with two common trajectory-tracking control algorithms, SMC [
29] and LQR [
30], as benchmarks.
Table 1 shows some parameters of the vehicle and its GHRC.
A large amount of simulation data was obtained by changing the values of (GHRC weighting coefficients) and (GHRC suppression level) when selecting the controller parameters. Furthermore, based on the observation of the trajectory tracking effect and the calculation of the optimization results, we found that when and , the lateral error of the vehicle-trajectory tracking will be larger and the vehicle-trajectory tracking effect will be slightly worse. On the contrary, the lateral error will be smaller and the trajectory-tracking effect will be slightly better, but it will make the control stability of the controller in the middle and high speeds become poor. Therefore, after comprehensive consideration of various aspects, the parameters of GHRC are finally selected as , .
5.1. Simulation Scenarios
The standard double lane-change maneuver, as shown in
Figure 3, is a closed-loop testing condition that is frequently used in practical automotive stability testing and closed-loop simulation experiments with driver models.
The expressions for the desired lateral position
and desired yaw angle
of the double lane-change maneuver used in this paper are as follows [
31]:
where
;
;
;
;
;
;
represents the longitudinal position of the vehicle at the current moment.
The lane-change trajectory is shown in
Figure 4. Currently, the widely used trajectory is the sinusoidal function-based lane-change trajectory, which is easy to calculate and has excellent smoothness characteristics.
This trajectory planning can simulate the smooth transition of steering and longitudinal control in actual lane-change scenarios. The expressions for the desired lateral position
and yaw angle
of this lane-change condition are given as follows [
32]:
5.2. Simulation Analysis of Hamilton Dissipative Control
In this section, the dynamics Hamilton dissipative controller (DHDC) and trajectory-tracking Hamilton dissipative controller (TTHDC), designed as described above, are used to carry out trajectory tracking control of the vehicle. It should be noted that in the vehicle dynamics control system, due to the simplification of the vehicle model, there may be undercompensation in the FWSA. Therefore, based on Equation (35), the steering compensation gain parameter
is introduced, such that
. In the vehicle trajectory-tracking control system, there may be internal disturbances in the vehicle systems that cause local oscillations during the control processes. Therefore, based on Equation (22), the antidisturbance gain parameter
is introduced, such that
. Through extensive simulation data, it has been found that regardless of the value of
, the DHDC cannot achieve satisfactory control performance at three different vehicle speeds. Therefore, we set
to be 0.008, 0.04, and 0.068, corresponding to vehicle speeds of 36 km/h, 54 km/h, and 72 km/h, respectively. The vehicle trajectory-tracking control system may better describe the motion state of the vehicles, so the TTHDC solves the problem of the poor adaptability of the DHDC. Therefore,
is set to 2.7 for all three different vehicle speeds.
Figure 5,
Figure 6 and
Figure 7 show the simulation results of the DHDC and TTHDC in the double lane-change road condition.
Based on the variation of the FWSA in
Figure 5, it can be observed that the DHDC demonstrates a relatively stable control performance. At a higher speed of 72 km/h, slight shaking occurs during the vehicle’s steering processes. On the other hand, the TTHDC occasionally shows noticeable shaking during straight-line driving or steering of the vehicle. This could be due to disturbances present in the internal system of the vehicle-trajectory tracking model. In addition, the higher the speed, the more pronounced the shaking during steering, resulting in poorer control performance.
Based on the lateral displacement tracking performance and the variation of the lateral error in
Figure 6a,b, it can be observed that both the DHDC and TTHDC are capable of tracking the reference trajectory. However, the DHDC shows a better tracking performance with higher accuracy. It should be noted that the steering compensation gain parameter chosen by the DHDC varies for different vehicle speeds. Therefore, although the DHDC achieves high tracking accuracy, its adaptability to different conditions is poor, and it may require a combination of other control methods to achieve better control performance. Under the influence of internal disturbances in the system, the trajectory-tracking performance of the TTHDC is not ideal, although the tracking accuracy is higher than the general accuracy requirements. The tracking performance is less stable at 36 km/h and 72 km/h than at 54 km/h, suggesting that the vehicle speeds may have some influence on its trajectory-tracking control.
Based on the variations of yaw rate and slip angle shown in
Figure 7a,b, their trends are similar. Under different gain parameters, the DHDC shows good stability. In other words, as long as the parameters are properly chosen, the DHDC can stably track the vehicle’s trajectory. As mentioned earlier, the TTHDC has poor stability, and both the yaw rate and slip angle show varying degrees of shaking. At 72 km/h, it may even affect the vehicle’s normal straight-line driving and pose unnecessary safety risks.
Overall, the DHDC with adjusted steering compensation gain can effectively control the vehicle’s trajectory tracking. With an appropriate choice of gain parameter, it can ensure better trajectory tracking accuracy and stability. On the other hand, the TTHDC with increased antidisturbance gain provides some suppression of internal disturbances in the system, but it still exhibits unstable control. Both the tracking accuracy and stability fall short of general control requirements, making its trajectory-tracking control performance less than ideal.
5.3. Comparison and Analysis of Generalized Hamilton Robust Controller (GHRC) Simulation
In this section, a simulation of the intelligent vehicle trajectory-tracking control is carried out based on the GHRC designed in
Section 4. To comprehensively test the performance of this controller, simulations are conducted for both the double lane-change trajectory and lane-change trajectory at three different vehicle speeds. In addition, the SMC and LQR controllers are selected for comparison. The GHRC has good robustness, which eliminates the need for additional control parameters.
Table 1 shows the GHRC parameter values.
5.3.1. Double Lane-Change Scenarios
Figure 8a,b illustrate the variations in lateral displacement and lateral displacement error of each controller at different speeds.
Meanwhile,
Table 2 and
Table 3 list the peak lateral error and root mean square error (RMSE) of each controller at different speeds. These graphs and tables provide a clear understanding of the performance of different controllers at different speeds, which serves as a reference for further research and optimization.
Based on
Figure 8a,b, it is evident that the GHRC performs better when tracking the reference trajectory of the double lane-change maneuver at the three different vehicle speeds. Based on the data analysis results shown in
Table 2 and
Table 3, it can be inferred that the lateral displacement peak error of the GHRC is 0.0514 m at a vehicle speed of 36 km/h, which is 82.27% and 67.90% lower than that of the SMC and LQR controllers, respectively. This shows that the GHRC has higher tracking accuracy. For vehicle speeds of 54 km/h and 72 km/h, the GHRC reduces the lateral displacement peak error by 41.24% to 75.05% compared to the SMC and LQR controllers, while the error fluctuation optimization effect is from 43.28% to 75.68%. Therefore, it can be concluded that the GHRC has a good optimization performance in terms of trajectory tracking accuracy and trajectory smoothness under a double lane-change maneuver for low, medium, and medium–high speed conditions.
Figure 9 illustrates the input of the FWSA by the three controllers at different vehicle speeds. It can be observed that at various vehicle speeds, the GHRC has better control performance on the FWSA than the SMC and LQR control. As the vehicle speed increases, the control effect of the LQR gradually approaches that of the GHRC, and the difference between them is not significant when the speed reaches 72 km/h. Through calculations, it was found that compared with the SMC, the optimization effect of the GHRC gradually increases from 4.53% to 13.87% with the increase in vehicle speed, and the optimization effect of its root mean square (RMS) value is also between 4.20% and 7.67%. This indicates that the GHRC has a better control performance and a smoother FWSA curve.
Figure 10a illustrates a comparison of the lateral yaw rate of intelligent vehicles under different vehicle speeds. The results indicate that all three controllers can maintain the lateral stability of the vehicle at different speeds. It can be observed that the lateral yaw rate amplitudes of the three controllers increase with the increase in vehicle speed. Furthermore, it was found that the lateral yaw rate amplitude of the GHRC was lower than the other two controllers at different speeds, indicating that the Hamilton control method has better stability.
Figure 10b presents the centroid sideslip angles of the three controllers at different vehicle speeds, which indicates that the difference among them is not significant, and their peak values are far below the limit of 8.91°. At the speed of 72 km/h, the centroid sideslip angles of the three controllers show small fluctuations within a reasonable range. Comparatively, the GHRC shows less fluctuation and a better overall performance. Therefore, compared with the other two controllers, the GHRC not only applies to medium and low speeds, but also provides a better tracking control performance for the vehicle at medium–high speeds.
In summary, the results have confirmed the good accuracy and stability of the GHRC in vehicle-trajectory tracking under double lane-change tests, with better overall performance than the SMC and LQR controllers. At a speed of 72 km/h, although the LQR controller’s performance is relatively close to that of the GHRC in some aspects, there is a significant difference in the lateral error, with the GHRC able to achieve an optimization effect of 43.28% over the LQR controller.
5.3.2. Lane-Changing Scenarios
Figure 11 illustrates the variations of lateral displacement and lateral displacement error of each controller at different speeds.
Meanwhile,
Table 4 and
Table 5 list the peak lateral error and RMSE of each controller at different speeds.
From the trajectory tracking effect in
Figure 11a and the comparison of lateral error in
Figure 11b, it can be observed that the GHRC has higher tracking accuracy, a smoother curve trajectory, and better robustness during lane change under three different vehicle speeds. Analysis of the data in
Table 4 and
Table 5 also shows that the peak lateral displacement error of the GHRC is 0.021 m at a vehicle speed of 36 km/h, which is reduced by 84.44% and 74.23% compared to the SMC and LQR controllers, respectively. The lateral displacement RMSE is 0.0133 m, and the optimization effect is 83.92% and 73.56% for the SMC and LQR controllers, respectively. When the vehicle speed is 54 km/h and 72 km/h, the optimization effect of the peak lateral displacement error of the GHRC is between 40.56% and 75.38% compared to the SMC and LQR controllers, and the optimization effect of the error fluctuation is between 40.16% and 74.95%. This indicates that the GHRC has good robustness while ensuring tracking accuracy, and the effect is more evident at slower speeds.
Figure 12 shows the variation in the FWSA curve for three controllers at different vehicle speeds. It can be observed from the figure that the LQR controller shows a slight oscillation in controlling the FWSA, which may be due to the unsuitability of the LQR parameters for this operating condition. Furthermore, this indicates that the adaptability of the LQR controller to the operating condition is poor under the same parameters, and therefore online parameter tuning based on road condition information may be necessary. The GHRC still shows better performance than the SMC. Although the optimization effect of FWSA-RMS value is only 0.80~1.04%, it can be seen that with the increase in vehicle speed, the control effect becomes better and better, which can better ensure the safety of the vehicle at medium and high-speed driving.
Figure 13a compares the performance of the three controllers in terms of the lateral yaw rate of intelligent vehicles at different speeds. The results indicate that the lateral yaw rate of the three controllers shows slight fluctuations with increasing speed. However, the GHRC has smaller fluctuations compared to the other two controllers. Overall, the lateral yaw rate curves of the three controllers show little difference in trend. But, as shown in the local magnified image, the lateral yaw rate amplitude of the GHRC method is smaller, indicating that it is more stable.
Figure 13b compares the centroid sideslip angle curves of the three controllers at different vehicle speeds. It can be observed that the trends of the centroid sideslip angles for all three controllers are similar, with the GHRC showing a slightly better performance compared to the other two controllers. At a speed of 72 km/h, all three controllers show reasonable fluctuations in the centroid sideslip angle. Compared to the SMC and LQR controller, the GHRC shows relatively smaller fluctuations, with optimization effects on the centroid sideslip angle RMS of 5.95% and 2.47%, respectively.
Using the real-time synchronization function in MATLAB, we obtained the average computation time for each controller in a double-shifted trajectory at different vehicle speeds, as shown in
Table 6.
In the literature [
11], the average computation time of the controllers designed using the forward Eulerian and backward Eulerian methods for a double lane-change trajectory is mentioned. Specifically, the average computation times of the controllers designed using the forward Eulerian and backward Eulerian methods are 0.0084 s and 0.0178 s, respectively, when the speed is 40 km/h; and 0.0084 s and 0.008 s, respectively, when the speed is 60 km/h. It can be seen from
Table 6 that there is not much difference in the average computation times of the controllers at the same speed. As the vehicle speed increases, the computation time gradually decreases, which is consistent with the results in the literature [
11]. It is worth noting that the computation time of the controllers designed in this paper does not differ much from the data in the literature [
11], and even improves slightly. Therefore, from these data of average computation time, it can be seen that each of the controllers designed in this paper has good real-time performance.
In summary, the comparative analysis of simulation results between the GHRC, SMC, and LQR controller verifies that the GHRC algorithm has good adaptability to simulated driving conditions, superior overall performance, strong robustness, and better tracking control accuracy. Although the LQR controller shows only minor differences in terms of the FWSA, yaw rate, and center of mass sideslip angle compared to the GHRC in the lane change and double lane change scenarios at 72 km/h, the GHRC has better adaptability to the scenarios and significantly lower lateral error, resulting in an optimization effect ranging from 40.56% to 84.44%.