Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Eye Movement Parameters in Children with Reading Difficulties
Previous Article in Journal
NDEExplorer: Visual Analytics for Exploring Damage Modes via Multimodal Data in the Non-Destructive Examination of Composite Materials
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Mass Estimation-Based Path Tracking Control for Autonomous Commercial Vehicles

1
Hubei Key Laboratory of Modern Auto Parts Technology, Wuhan University of Technology, Wuhan 430070, China
2
Auto Parts Technology Hubei Collaborative Innovation Center, Wuhan University of Technology, Wuhan 430070, China
3
Hubei Technology Research Center of New Energy and Intelligent Connected Vehicle Engineering, Wuhan 430070, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(2), 953; https://doi.org/10.3390/app15020953
Submission received: 3 January 2025 / Revised: 17 January 2025 / Accepted: 17 January 2025 / Published: 19 January 2025
(This article belongs to the Topic Vehicle Dynamics and Control, 2nd Edition)

Abstract

:
This paper addresses the significant variations in model parameters observed in autonomous commercial vehicles in comparison to passenger cars, with a disparity noted largely due to changes in load. Additionally, it tackles the issue of path tracking inaccuracy caused by external factors such as delays in steering system execution. The proposed solution is a hierarchical control method, grounded in mass estimation and model predictive control(MPC). Initially, to counter the variation in model parameters, a mass estimator is developed. This estimator utilizes the recursive least squares method with a forgetting factor, coupled with M-estimation, thereby enhancing the robustness of the estimation and achieving model correction. Subsequently, an upper-level MPC controller is constructed based on the error model, thereby augmenting the precision of tracking control. To address the delay in the steering system execution common in autonomous commercial vehicles, a lower-level steering angle compensator is designed to expedite the response speed of the execution. The feasibility of the vehicle’s front wheel angle is constrained via the rollover index, thereby enhancing vehicle stability during operation. The efficacy of the proposed control strategy is demonstrated with joint simulations using TruckSim/Simulink and real vehicle tests. The results indicate that this strategy can effectively manage the model mismatch caused by load changes in commercial vehicles and the delay in steering system execution, thereby exhibiting commendable tracking accuracy, adaptability, and driving stability.

1. Introduction

Over the past few years, the development of autonomous driving technology has garnered significant societal attention. In scenarios like urban logistics, docks, as well as mines, it has begun to play a real role, with autonomous commercial vehicles playing an important role [1]. Autonomous driving technology stands as one of the foremost promising research areas currently [2]. Motion control is a key technology in autonomous driving, mainly divided into decoupled lateral and longitudinal control, as well as coupled lateral and longitudinal control, primarily aimed at achieving high-precision, stable, and comfortable vehicle control.
Currently, most control strategies are designed based on models with certain accuracy, which can be mainly divided into kinematic models and dynamic models. Kinematic models primarily focus on the geometric relationships of vehicles, describing the variation rules of vehicle position and heading angle over time. Algorithms based on kinematic models, such as pure pursuit algorithms and Stanley algorithms, have good application effects in simple scenarios, but they show obvious adaptability deficiencies when dealing with roads with large curvature, making it difficult to meet the complex and variable control needs in practical applications [3]. In contrast, dynamic models can more comprehensively describe the motion characteristics of vehicles. Algorithms based on dynamic models, such as linear quadratic regulator (LQR) [4] control and model predictive control [5], theoretically provide more precise control effects. However, in actual vehicle systems, due to significant changes in vehicle parameters such as mass, delays in the vehicle actuation system, and sensor noise, challenges arise in vehicle control. Yet, the aforementioned control methods have not proposed effective solutions to these issues. To improve the precision of vehicle control, the impacts brought by the above factors need to be considered. Pan [6] proposed a feedback pure pursuit control method that takes into account the estimated vehicle speed and load to adjust the preview distance. It uses lateral error as a feedback variable for compensation, improving the traditional pure pursuit control method. Amer [7] proposed an adaptive Stanley control method, combined with fuzzy control, to enhance the control method’s responsiveness to model deviations and external disturbances. However, it has poor path adaptability, making it unsuitable for high-speed scenarios that require rapid response. Hu [8] optimized the controller using a path tracking error model. They used fuzzy logic to dynamically adjust the LQR weights, addressing the adaptability challenge of fixed weights at different vehicle speeds. However, if the model is inaccurate, the performance of the controller will significantly decrease, potentially leading to system instability or poor response. It also cannot effectively handle multiple constraint conditions. MPC can deal with optimization problems with multiple constraints, but it relies on model accuracy, is sensitive to external noise, and is prone to model mismatch issues. This is particularly prominent under varying load conditions in commercial autonomous vehicles. Peng [9] proposed robust MPC control in a finite time domain. To address the model mismatch caused by parameter uncertainty, external disturbances, and model time variation, they constructed a linear parameter-varying model and solved it using linear matrix inequalities. This approach overcomes the limitations of infinite time domain MPC control, but increases the difficulty of modeling and solving. Dai [10] proposed an adaptive preview MPC control that adaptively previews the future path curve, improving computational efficiency. Wang [11] proposed a MPC control based on fuzzy adaptive weights that utilizes a fuzzy adaptive control algorithm to dynamically adjust the weights of the cost function within the MPC framework. However, neither paper discussed the impact of parameter changes and vehicle execution delay on control effects.
The vehicle’s motion status will influence the control of autonomous driving. Commercial vehicles have a large load and complex driving conditions, and the vehicle’s mass varies with differing loads. McIntyre [12] introduced a two-phase Lyapunov-based approach to estimate the mass of heavy vehicles, utilizing standard signals accessible within the controller area network for vehicles. An adaptive least squares method is used to estimate the vehicle’s mass. Zhao [13] established suitable operating conditions and devised a confidence factor for mass estimation utilizing fuzzy logic rules and subsequently used recursive least squares for online mass estimation. However, the existing methods fail to consider uncertain factors such as sensor noise interference and error in actual vehicle scenarios. It is essential to improve the robustness of the estimation algorithm against possible disturbances, abnormal errors, and potential faults that may be encountered by the sensor during the driving process of commercial vehicles.
The load variation of vehicles is significant, and the mass parameter has a deeper impact on the control effect. Traditional control algorithms usually set the vehicle mass as a constant, which cannot meet the control requirements of corresponding working conditions well. This paper introduces a model predictive control approach equipped with a mass estimator, referred to as MFFRSL + MPC. First, considering the sensor noise and unstable parameter changes in real vehicle scenarios, the recursive least squares method with a forgetting factor is introduced to dynamically adjust the weight of historical data, reflecting the current state and environmental changes. The joint M-estimation further reduces the influence of sensor noise on the estimation results and enhances the robustness of the algorithm, achieving a robust estimation of vehicle mass. Second, based on the incremental control error model of the steering angle, a model predictive controller is established to improve the control accuracy. A steering angle compensator is established for the execution delay of the steering system. Based on the rollover index, stability constraints are applied to the front wheel steering angle. Ultimately, the efficacy of the introduced control approach is confirmed using collaborative simulations in TruckSim/Simulink under dual lane-changing scenarios and real-world vehicle trials on straight roads integrated with roundabout conditions.

2. Vehicle Model

2.1. Lateral Dynamics Modelling

Several assumptions are put forward as stated in [14]. Specifically, it is presumed that the combination of the car body and suspension constitutes a stiff system, and the vertical motion aspect of the vehicle is disregarded. The present study narrows its focus solely to the lateral movement and yaw motion of the vehicle for the purpose of analysis. Subsequently, a vehicle dynamics model is set up, which is illustrated in Figure 1.
In the context of planar motion, the dynamics model of the vehicle can be described as follows:
{ m y ¨ = F y r + F y f c o s δ m V x φ ˙ I z φ ¨ = l f F y f c o s δ l r F y r
In the equation,  φ ˙  represents the vehicle’s yaw rate,  I z  denotes the vehicle’s vertical rotational inertia, while  l f  and  l r  represent the distances from the vehicle’s center of gravity to the front axle and rear axle, respectively.
The lateral force exerted by a tire is directly associated with the tire’s slip angle. This relationship is of utmost importance in understanding the vehicle’s handling and stability characteristics, as the lateral force significantly influences the vehicle’s ability to maintain its intended path during maneuvers. Assuming a small-angle approximation, the formula for the tire’s lateral force can be expressed as follows:
{ F y f = 2 C f ( δ V y + l f φ ˙ V x ) F y r = 2 C r ( V y l r φ ˙ V x )
In the equation,  C f  represents the front wheel camber stiffness, and  C r  represents the rear wheel camber stiffness.

2.2. Kinematic Error Model

The vehicle dynamics model exhibits certain limitations when applied to controller design. Consequently, an error model is often incorporated to convert the vehicle dynamics model into a dynamic error model [15], as illustrated in Figure 2.
In the diagram,  e d  indicates the lateral error, and  e φ  denotes the heading error.  R  corresponds to the radius of curvature.
The control objective of the path tracking model is to make the lateral error  e d  and the heading angle error  e φ  converge to zero. Considering the small-angle assumption, combining the path tracking model with the dynamic model, one can further obtain the dynamic error model. This leads to the state–space equation of the dynamic error model.
x ˙ = A x + B u + C ς
where  x = [ e d e ˙ d e φ e ˙ φ ] T u = δ ς  is the road curvature.
A = [ 0 1 0 0 0 C f + C r m V x C f + C r m l f C f l r C r m V x 0 0 0 1 0 l f C f l r C r m V x l f C f l r C r I z l f 2 C f + l r 2 C r I z v x ] ; B = [ 0 C f m 0 l f C f I z ] ; C = [ 0 l f C f l r C r m V x 2 0 l f 2 C f + l r 2 C r I z ]

2.3. Error Model with Incremental Control

The bilinear discretization method is used, defining the discrete time as Ts. Consequently, the continuous system (3) is converted into a discrete system.
x ( k + 1 ) = A d x ( k ) + B d u ( k ) + C d ς
{ A d = ( ( I A T s ) / 2 ) 1 ( ( I + A T s ) / 2 ) B d = B T s C d = C T s
where  I  is a 4 × 4 identity matrix.
The selection of the front wheel angle increment as a control variable can effectively mitigate abrupt changes in the angle. This is particularly beneficial when there are significant variations in steering speed, as it can enhance stability during the steering process. By integrating the front wheel angle into the state variables, we can derive the state variables for the control equation.
ξ ( k + 1 ) = [ x ( k + 1 ) u ( k ) ]
ξ ( k + 1 ) = A k ξ ( k ) + B k Δ u ( k ) + C k ς
In the equation  A k = [ A d B d O 1 × 4 I 1 × 1 ] B k = [ B d I 1 × 1 ] C k = [ C d O 1 × 4 ] Δ u  denotes the incremental angle of the front wheel at time k,  O  signifies a zero matrix, and  I  represents an identity matrix.
In the instance where the road curvature equals zero, the curvature term becomes negligible. Consequently, we can derive the following linear control system:
ξ ( k + 1 ) = A k ξ ( k ) + B k Δ u ( k )

3. Path-Tracking Controller

The path-tracking controller architecture is shown in Figure 3. The error calculation module determines error information based on road data and planned trajectories. The mass estimator derives the vehicle’s mass from controlled state parameters and provides this feedback to the controller. The MPC controller calculates the front wheel steering angle, and the steering angle compensation controller computes the compensation amount for the front wheel steering angle.

3.1. Robust Mass Estimation for Commercial Vehicles

3.1.1. Vehicle Longitudinal Dynamics Model

Characterizing the vehicle as a rigid body establishes the foundation for formulating its longitudinal dynamics model. By applying the principles of Newton’s second law, this model (Figure 4) effectively encapsulates the vehicle’s motion characteristics across a range of operating conditions [16].
During the vehicle’s movement, it is subject to various forces, which can be represented by the following formula:
m V ˙ x = F T F j F w F i
Considering that the slope of the road is typically small, the following assumptions can be made: when the slope angle θ is small, the approximations  s i n α t a n α α    and  c o s α 1  may be applied. Based on these assumptions, Equation (1) can be simplified to the following [17]:
V ˙ x = T t q i 0 i g η m r g f g α C d A ρ V x 2 2 m

3.1.2. Robust Mass Estimation Algorithm

By correcting the estimated results with real-time measurement data, the longitudinal dynamics model of the vehicle can be transformed into the form of least squares. Specifically, an approximation method is employed, utilizing the estimate from time k − 1 to predict the output at time k, while assessing the error of the output in the process.
Within the framework of the vehicle’s longitudinal dynamics model, the application of least squares in the mass estimation process can be articulated as follows:
{ y = ( T t q i 0 i g η ) / r 0.5 C d A ρ V x 2 φ = a x + g f θ = m
where  y  is the output quantity,  φ  is the measurable data,  θ  is the parameter to be observed, and  a x  represents the value measured by the longitudinal acceleration sensor.
a x = V ˙ x + g α
Considering that the least squares method may lead to data saturation in the data processing stage, to mitigate the adverse effects of data saturation and improve estimation accuracy, a forgetting factor is utilized. To diminish the impact of sensor noise on the estimation results and bolster the robustness of the algorithm, M-estimation is combined with the least squares method that includes a forgetting factor. M-estimation suppresses the influence of outliers and noise by weighting the residuals, thus improving the stability and accuracy of parameter estimation [18].
The objective function can be defined as follows:
f ( θ ) = ρ ( γ )
γ = ( y ( κ ) φ T ( κ ) θ ( κ 1 ) )
Here, the loss function is defined as follows:
ρ ( γ ) = { γ 2 / 2 | γ | h h | γ | γ 2 / 2 | γ | > h
where  h  is an adjustable parameter. Differentiating the performance function gives the following:
f ( θ ) θ = d ρ ( γ ) d γ γ θ = 0
ψ = d ρ ( γ ) d γ
w = ψ γ
where  ψ  is the influence factor, and  w  is the weight value.
w = { 1 | γ | < h h | γ | | γ | > h
The application of the least squares method considering the forgetting factor and joint M-estimation in the mass estimation process can be articulated as follows [19]:
( θ ^ ( κ ) = θ ^ ( κ 1 ) + K ( κ ) w [ y ( κ ) φ T ( κ ) θ ^ ( κ 1 ) ] K ( κ ) = P ( κ 1 ) φ ( κ ) λ + φ T ( κ ) P ( κ 1 ) φ ( κ ) P ( κ ) = 1 λ [ I K ( κ ) w φ T ( κ ) ] P ( κ 1 )
K is the gain matrix, P is the covariance matrix, and  λ  is the forgetting factor.

3.2. MPC Controller

The output of the control system in the predicted time horizon can be expressed in the following form:
{ ξ ( k + 1 ) = Φ k ξ ( k ) + Θ k Δ U ( k ) Y ( k ) = C ξ ( k )
In the formula,  N p  is the prediction domain, and  N c  is the control domain.
The definition of the objective function for the MPC controller can be stated as follows:
J = min ( k = 0 N p ξ T ( k ) Q ξ ( k ) + k = 0 N c 1 Δ u T ( k ) R Δ u )
S . T . { ξ 0 = ξ ( 0 ) ξ ( k ) ξ b Δ u Δ u b
Q represents the output weight matrix,  Q = diag [ Q 1 , Q 2 ] Q 1 = diag [ q 1 , q 2 , q 3 , q 4 ] Q 2 = diag [ q 5 ] . The greater the weight of  Q 1  is, the higher the accuracy of path-tracking control; the greater the weight of  Q 2  is, the smoother the change in the front wheel angle of the vehicle. The matrix  R  represents the control weight with  R = diag [ r 1 ] . A larger value of  R  results in a more significant restriction on the increment of the front wheel angle, thereby increasing the suppression of abrupt changes in this angle.  ξ 0  is the initial state of the vehicle, and  ξ b  is the state quantity constraint matrix.  Δ u b  is the control quantity constraint matrix, which is determined by the maximum steering wheel rotation speed of the vehicle and the sampling frequency.
The objective function is transformed into the standard quadratic programming form for solving.
J = [ Φ k ξ ( k ) + Θ k Δ U ( k ) Y r e f ] T + Q ˜ [ Φ k ξ ( k ) + Θ k Δ U ( k ) Y r e f ] + Δ U T R ˜ Δ U
Obtain the standard quadratic programming as follows:
J = 1 2 U T H U + G T U + E T Q ˜ E
1 2 H = Θ k Q ˜ Θ k + R ˜
G T = 2 ( E T Q ˜ Θ k Y r e f Q ˜ Θ k )
The optimal front wheel steering angle control sequence that has been solved takes the first control quantity of the optimal control sequence at time  k  to participate in subsequent calculations.
δ ( k ) = u ( k 1 ) + Δ u ( k )
where  δ ( k )  is the front wheel corner.

3.3. Steer Compensation Controller

The goal is to enhance steering precision and mitigate the effects of system execution delay; thus, compensation is made for the steering angle. The steering system in commercial vehicles exhibits an inherent execution delay. To enhance the precision of the steering and mitigate the effects of this delay, compensation is made for the steering angle. The difference between the sensor-measured steering angle and the steering angle calculated by the MPC controller is defined as the system’s execution delay  e δ . The specific formula for steering angle compensation is provided as follows:
u f = K a e δ + K b ( e ( k ) δ e ( k 1 ) δ )
where  K a  is the proportional term, which is used to reduce deviations.  K b  is a differential term used to improve lag.
For the front wheel angle at time  k , it is composed of three parts:  u ( k 1 )  is the front wheel angle from the previous moment,  Δ u ( k )  denotes the optimal angle adjustment increment at the present moment, and  u f  is the compensation angle.
δ s = u ( k 1 ) + Δ u ( k ) + u f
The ultimate angle of the vehicle’s steering wheel input is expressed as follows:
δ f = i s δ s
In the equation, the variable  i s  denotes the steering transmission ratio.

3.4. Stability Constraints

In order to improve the lateral stability of commercial vehicles, the maximum steering angle is constrained by load and speed. The vehicle roll dynamics model is adopted, as shown in Figure 5. When the vehicle is in a steady-state turn, the risk of vehicle rollover can be represented by the rollover index  R L T .
The roll index  R L T  is expressed as follows [20]:
R L T = 2 m s m g l w [ H s ( a y h s β ¨ ) + g h s β ]
In the formula,  H s  is the distance from the sprung mass center to the ground,  h s  is the roll arm length,  L w  is the wheelbase,  β  is the roll angle, and  m s  is the load.
When the rollover index is  R L T = 0 , the vehicle has no risk of rollover. When  R L T = ± 1 , the vehicle is in a turn. The outer wheels bear all the vertical load, while the inner wheels interact with the ground. The wheels are at the critical stage of rollover. In order to ensure the safe driving of the vehicle, the rollover index is set to  | R L T | = 0.7 ; thus, the stability constraint of the vehicle is expressed as follows:
δ L = arctan ( R L T m g ( l r + l f ) + 2 m s h s ( l r + l f ) ( β ¨ L w g β ) 2 m s V x H s L w )
The roll angle is a small angle during steady-state cornering. Therefore, the maximum front wheel steering angle is mainly constrained by the vehicle’s load and speed. When it exceeds the safety limit, the vehicle stability constraint is more stringent than the actuator physical constraint, causing the feasible region of the front wheel steering angle to shrink.

4. Algorithm Verification

4.1. Simulation Verification

4.1.1. Mass Estimator Simulation Analysis

To verify the accuracy of the quality estimation algorithm, a co-simulation was executed utilizing Simulink and TruckSim. A forgetting factor  λ = 0.98  was incorporated to mitigate the impact of historical data, with an adjustable parameter  h = 150 . The vehicle employed a constant acceleration of 3 m/s2 and functioned on a level road. The vehicle used for testing was a light commercial model with a full load mass of 1000 kg. Tests were performed under three distinct conditions: unloaded (0 kg), half loaded (500 kg), and fully loaded (1000 kg). The specifications of the vehicle are presented in Table 1.
It can be observed from Figure 6 that at the beginning of the experiment, due to the large input torque and given that the acceleration has not yet reached the expected level, the experimental value deviates significantly from the real value. This phenomenon reflects the lag of the system response and the instability of initial conditions. However, as the input parameters gradually stabilize, combined with the iterative optimization of the algorithm and the introduction of the forgetting factor, the estimated value begins to slowly and gradually approach the real value of the mass at about 6 s. At 15 s, the estimation process is completed with convergence. Specifically, the vehicle mass, when empty, ultimately converges to 3042 kg, possessing an error margin of 0.39%. In the half-load scenario, the mass converges to 3554 kg, with an error of 0.67%. Under full-load conditions, the mass converges to 4067 kg, exhibiting an error of 0.91%. These results indicate that the designed mass estimator can achieve good estimation accuracy under different conditions. According to the general evaluation criteria, when the estimation error is within 5%, the estimation result can be considered accurate. Therefore, drawing from the preceding analysis, we determine that this mass estimator is capable of efficiently conducting estimations in practical applications and fulfills the genuine requirements of engineering.

4.1.2. Controller Simulation Analysis

Through the joint simulation of MATLAB/Simulink and TruckSim, the effectiveness and superiority of the introduced path tracking controller are confirmed. The simulation vehicle model selected is the large European van, with basic vehicle parameters as shown in Table 2.
The standard double-lane change test condition was selected for testing, where the road was set as a wet and slippery low-adhesion surface. In the actual control program, all controller weight parameters were the optimal parameters from simulation. To evaluate the controller’s performance under rigorous conditions, the vehicle’s speed was set to 50 km per hour within the simulation environment, and the corresponding results are illustrated in Figure 6.
Figure 7a shows the tracking effects of three different controllers on vehicle control under double-lane change conditions. From the magnified view, it can be seen that the model predictive control with mass estimator tracks most accurately and stably follows the reference curve. Both the MPC controller and LQR controller exhibit varying degrees of deviation during steering. Figure 7b represents the lateral errors of the three controllers. The MFFRSL + MPC controller has the smallest lateral error, with a maximum lateral error of only −0.03 m. In contrast, the MPC controller’s lateral error fluctuates significantly during turning, with a maximum lateral error reaching −0.07 m, which is due to inaccurate mass parameters leading to model mismatch. The LQR controller has a maximum lateral error of −0.08 and also exhibits steady-state error at the end. Figure 7c presents the heading errors of the three controllers. The MFFRSL + MPC controller performs best in terms of heading error, with the largest heading error occurring at the first peak, which is 0.04 rad. The LQR controller performs the worst, with a maximum heading error of −0.07 rad. The MPC controller’s maximum heading error is 0.05 rad. Figure 7d illustrates the performance of the steering wheel angle for the three controllers. The MFFRSL + MPC controller maintains a stable steering wheel angle with a quick response. This is because the MFFRSL + MPC controller model takes into account the disturbances caused by load changes and can also achieve feedback correction within the prediction horizon. In contrast, the MPC controller exhibits unstable steering wheel jitter, while the LQR controller responds slowly.

4.2. Real Vehicle Verification

In order to ascertain the practical efficacy of the algorithm, a real-world vehicle test was executed utilizing the EV18 platform. The vehicle under test is outfitted with a steer-by-wire chassis and a domain controller and amalgamates a variety of sensors including LiDAR, millimeter-wave radar, surround-view cameras, and an integrated inertial navigation system, as depicted in Figure 8.
The software architecture of the vehicle is illustrated in Figure 9. The microcontroller unit (MCU) low-level driver interacts with the vehicle system via controller area network (CAN) signals, while the Simulink algorithm program communicates with the MCU through the user datagram protocol (UDP). The lateral control interface is represented by the steering wheel angle, and the longitudinal control interface comprises drive motor torque and braking deceleration, both operating at a signal transmission frequency of 100 Hz. Testing was conducted on a public road in the economic development zone of Wuhan City, with the desired path defined as a sequence of discrete trajectory points post filtering and smoothing. The actual vehicle parameters are detailed in Table 2.

4.2.1. Controller Effect Comparison Experiment

To test the control effects of LQR, MPC, and MFFRLS + MPC controllers on real vehicles with load changes and execution delay issues, a complex circular path was chosen, with a test speed of 20 km/h. The weight parameters of each controller are the optimal parameters for real vehicles, and the test results are shown in Figure 10.
Figure 10a represents the tracking effect of autonomous commercial vehicles with three different controllers. The tested road is a public road, consisting of straight roads and roundabouts. Under the control of the controllers, the vehicle first passes through the straight road and then enters the roundabout, exiting at the third intersection of the roundabout. From the figure, it can be seen that at the positions where the straight road enters and exits the roundabout, the MFFRSL + MPC controller has the best tracking effect, with the least deviation from the reference path. The LQR controller has the largest deviation. Figure 10b shows the lateral error of the three controllers. The lateral error of the MFFRSL + MPC controller is better compared to the other two controllers, with the maximum lateral error occurring at the entrance to the roundabout being 0.13 m. The MPC controller’s maximum lateral error is 0.15 m, while the LQR controller performs the worst, with a maximum lateral error reaching 0.23 m. Figure 10c represents the heading error of the three controllers. The heading error of the MFFRSL + MPC controller is relatively better, with the maximum heading error being 0.085 rad. The initial lateral and heading errors of the vehicle are not zero because the starting position of the vehicle does not perfectly align with the reference path.
Figure 10d describes the output angles of the three controllers: LQR, MPC, and MFFRSL + MPC. The trends in angle changes during the control process in real vehicle experiments are basically the same, with differences in smoothness. MFFRSL + MPC has better smoothness than LQR and MPC. MFFRSL + MPC can correct model deviations and predictive functions and can converge errors through minor angle adjustments, avoiding overshoot and improving smoothness.

4.2.2. Mass Estimator Experiment

To validate the stability and accuracy of the proposed mass estimator in actual vehicles, a public straight road was chosen. The vehicle traveled at a constant speed of 20 km/h, carrying a full load of 1000 kg. Signals from sensors were collected through the vehicle’s CAN bus, including the motor’s torque, acceleration, and speed. Test results are shown in Figure 11.
The figure displays the testing effects of RSL and MFFRSL. It can be observed that the estimation result of RSL did not converge and exhibited jitters under the influence of sensor noise. It also presented a significant steady-state error. In contrast, the curve of MFFRSL smoothly and stably converged to 4071 kg. It demonstrated strong robustness against noise interference, capable of stable operation in complex environments with an error of 1.01%. Generally, errors below 5% are considered accurate, indicating that the designed mass estimator meets the demands of actual working conditions.

5. Conclusions

This paper addresses the control accuracy issue caused by the load changes in autonomous commercial vehicles and proposes a MPC equipped with a mass estimator. By incorporating a forgetting factor into the recursive least squares method, the influence of historical data on estimation is reduced. In conjunction with M-estimation, the robustness of the estimation is enhanced, suppressing the interference from sensor noise. A model predictive controller is established based on the incremental steering angle dynamic error model, improving control accuracy and increasing the smoothness of steering. To counteract the execution delay of the steering system, a steering angle compensator is introduced to enhance the response speed of steering. In real vehicle experiments, the MFFRSL + MPC tracking performance is the best, closely following the reference path, with smooth and quick steering responses, exhibiting good robustness. The maximum lateral error is 0.13 m, and the heading error is at most 0.085 rad, both of which are less than those of the MPC and LQR controllers. Both simulation and real vehicle test results indicate that this path tracking control method, while ensuring higher control accuracy, possesses better robustness and adaptability compared to LQR and MPC control methods.
This paper considers the design of a path tracking controller for autonomous commercial vehicles, taking into account changes in vehicle load and execution delay. Real-vehicle tests are conducted in low-speed scenarios for light commercial vehicles. Subsequently, tests will be carried out under high-speed conditions and for heavy commercial vehicles to further expand the research, aiming to meet the control needs of more vehicle types and scenarios.

Author Contributions

Writing—original draft preparation, Z.W. and J.Z.; writing—review and editing, J.Z., Z.Z. and W.Z.; supervision, J.H.; project administration, J.H.; visualization, J.Z. and Z.Z.; funding acquisition, J.H. and W.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Major Research Projects of Hubei Province (grant number (JD)2023BAA017).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yao, Q.; Tian, Y.; Wang, Q.; Wang, S. Control strategies on path tracking for autonomous vehicle: State of the art and future challenges. IEEE Access 2020, 8, 161211–161222. [Google Scholar] [CrossRef]
  2. Brudigam, T.; Olbrich, M.; Wollherr, D.; Leibold, M. Stochastic Model Predictive Control With a Safety Guarantee for Automated Driving. IEEE Trans. Intell. Vehicles 2023, 8, 22–36. [Google Scholar] [CrossRef]
  3. Wang, R.; Li, Y.; Fan, J.; Wang, T.; Chen, X. A Novel Pure Pursuit Algorithm for Autonomous Vehicles Based on Salp Swarm Algorithm and Velocity Controller. IEEE Access 2020, 8, 166525–166540. [Google Scholar] [CrossRef]
  4. Jung, H.; Jung, D.; Choi, S.B. LQR Control of an All-Wheel Drive Vehicle Considering Variable Input Constraint. IEEE Trans. Control Syst. Technol. 2022, 30, 85–96. [Google Scholar] [CrossRef]
  5. Choi, Y.; Lee, W.; Kim, J.; Yoo, J. A Variable-Sampling Time Model Predictive Control Algorithm for Improving Path-Tracking Performance of a Vehicle. Sensors 2021, 21, 6845. [Google Scholar] [CrossRef] [PubMed]
  6. Pan, S.J.; Li, J.S.; Li, H.; Xu, Y. Path Following Method of Intelligent Vehicles Based on Feedback Pure Tracking Method. Automot. Eng. 2023, 45, 1134–1144. [Google Scholar]
  7. Amer, N.H.; Hudha, K.; Zamzuri, H.; Aparow, V.R.; Abidin, A.F.Z.; Kadir, Z.A.; Murrad, M. Adaptive modified Stanley controller with fuzzy supervisory system for trajectory tracking of an autonomous armoured vehicle. Robot. Auton. Syst. 2018, 105, 94–111. [Google Scholar] [CrossRef]
  8. Hu, J.; Zhong, X.; Chen, R.; Zhu, L.; Xu, W.; Zhang, M. Path Tracking Control of Intelligent Vehicles Based on Fuzzy LQR. Automot. Eng. 2022, 44, 17–25+43. [Google Scholar]
  9. Peng, H.; Wang, W.; An, Q.; Xiang, C.; Li, L. Path tracking and direct yaw moment coordinated control based on robust MPC with the Finite time horizon for autonomous independent drive vehicles. IEEE Trans. Veh. Technol. 2020, 69, 6053–6066. [Google Scholar] [CrossRef]
  10. Dai, C.; Zong, C.; Chen, G. Path Tracking Control Based on Model Predictive Control With Adaptive Preview Characteristics and Speed-Assisted Constraint. IEEE Access 2020, 8, 184697–184709. [Google Scholar] [CrossRef]
  11. Wang, H.; Liu, B.; Ping, X.; An, Q. Path Tracking Control for Autonomous Vehicles Based on an Improved MPC. IEEE Access 2019, 7, 161064–161073. [Google Scholar] [CrossRef]
  12. McIntyre, M.L.; Ghotikar, T.J.; Vahidi, A.; Song, X.; Dawson, D.M. A two-stage Lyapunov based estimator for estimation of vehicle mass and road grade. IEEE Trans. Veh. Technol. 2009, 58, 3177–3185. [Google Scholar] [CrossRef]
  13. Zhao, J.; Li, Z.; Zhu, B.; Li, Y.; Sun, Y. Vehicle Mass and Road Slope Estimation Based on Interactive Multi-model. China J. Highw. Transp. 2019, 32, 58–65. [Google Scholar]
  14. Li, H.; Huang, J.; Yang, Z.; Hu, Z.; Yang, D.; Zhong, Z. Adaptive robust path tracking control for autonomous vehicles with measurement noise. Int. J. Robust Nonlinear Control 2023, 33, 5624–5644. [Google Scholar] [CrossRef]
  15. Tang, L.; Yan, F.; Zou, B.; Wang, K.; Lv, C. An improved kinematic model predictive control for high-speed path tracking of autonomous vehicles. IEEE Trans. Intell. Veh. 2020, 8, 51400–51413. [Google Scholar] [CrossRef]
  16. Zheng, Z.; Wei, H.; Yuhai, W.; Xingkun, L.; Xuguang, Z.; Yuanyuan, L. Research on Mass Estimation Algorithm for Heavy Commercial Trucks. China Mech. Eng. 2020, 31, 1360–1367. [Google Scholar]
  17. Qin, Z.; Chen, L.; Hu, M.; Chen, X. A lateral and longitudinal dynamics control framework of autonomous vehicles based on multi-parameter joint estimation. IEEE Trans. Veh. Technol. 2022, 71, 5837–5852. [Google Scholar] [CrossRef]
  18. Hao, S.; Luo, P.; Xi, J. Estimation of Vehicle Mass and Road Slope Based on Steady-state Kalman Filter. Automot. Eng. 2018, 40, 1062–1067+1075. [Google Scholar]
  19. Feng, B.; Yin, G.; Ren, Y.; Shen, T.; Wang, F. A Joint Vehicle Mass and Road Slope Estimation of Distributed Drive Electric Vehicles Considering Road Environment Factors. In Proceedings of the International Conference on Intelligent Transportation Systems (ITSC), Macau, China, 8–12 October 2022; pp. 817–824. [Google Scholar] [CrossRef]
  20. Jin, Z.L.; Yan, Z.H. Research on Vehicle Rollover Warning Based on Secondary Predictive Lateral Load Transfer Ratio. China Mech. Eng. 2019, 30, 1790–1795. [Google Scholar]
Figure 1. Vehicle dynamics model.
Figure 1. Vehicle dynamics model.
Applsci 15 00953 g001
Figure 2. Path tracking error schematic diagram.
Figure 2. Path tracking error schematic diagram.
Applsci 15 00953 g002
Figure 3. Path-tracking controller architecture.
Figure 3. Path-tracking controller architecture.
Applsci 15 00953 g003
Figure 4. Vehicle motion force diagram.
Figure 4. Vehicle motion force diagram.
Applsci 15 00953 g004
Figure 5. Vehicle roll dynamics model.
Figure 5. Vehicle roll dynamics model.
Applsci 15 00953 g005
Figure 6. Mass estimation simulation result graph; (a) Unloaded mass estimation; (b) Half-load mass estimation; (c) Full-load mass estimation.
Figure 6. Mass estimation simulation result graph; (a) Unloaded mass estimation; (b) Half-load mass estimation; (c) Full-load mass estimation.
Applsci 15 00953 g006
Figure 7. Comparison of controller simulation results: (a) Path tracking effect comparison; (b) Lateral error; (c) Heading error; and (d) Steering angle.
Figure 7. Comparison of controller simulation results: (a) Path tracking effect comparison; (b) Lateral error; (c) Heading error; and (d) Steering angle.
Applsci 15 00953 g007
Figure 8. EV18 experimental platform.
Figure 8. EV18 experimental platform.
Applsci 15 00953 g008
Figure 9. Vehicle software architecture diagram.
Figure 9. Vehicle software architecture diagram.
Applsci 15 00953 g009
Figure 10. Comparative diagram of algorithms: (a) Path tracking effect comparison; (b) Lateral error; (c) Heading error; and (d) Steering angle.
Figure 10. Comparative diagram of algorithms: (a) Path tracking effect comparison; (b) Lateral error; (c) Heading error; and (d) Steering angle.
Applsci 15 00953 g010aApplsci 15 00953 g010b
Figure 11. Actual vehicle mass estimation diagram.
Figure 11. Actual vehicle mass estimation diagram.
Applsci 15 00953 g011
Table 1. Vehicle parameters.
Table 1. Vehicle parameters.
ParameterValueUnit
Vehicle mass (unladen)  m  3030kg
Vehicle load0/500/1000kg
Gravitational acceleration  g  9.8m/s2
Air density  ρ  1.206Kg/m3
Windward area  A  6m2
Air resistance coefficient  C d  7
Transmission efficiency  η  0.9
Transmission gear ratio    i g  9.5
Table 2. Main kinematic parameters of the vehicle.
Table 2. Main kinematic parameters of the vehicle.
ParameterValueUnit
Vehicle length 5.995m
Vehicle width 2.18m
Moment   of   inertia   I z 4245kg·m2
Distance   from   center   of   mass   to   front   axle   l f 1.20m
Distance   from   center   of   mass   to   rear   axle   l r 2.108m
Front   wheel   camber   stiffness   C f 170,000N/rad
Rear   wheel   camber   stiffness   C r 170,000N/rad
Discrete   time   T s 0.01s
Steering   ratio   i 22
Prediction   domain   N p 40
Control   domain   N c 40
State vector weight matrixDiag[3,0,40,0,10]
Control weight8
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

Wang, Z.; Zhong, J.; Hu, J.; Zhang, Z.; Zhao, W. Mass Estimation-Based Path Tracking Control for Autonomous Commercial Vehicles. Appl. Sci. 2025, 15, 953. https://doi.org/10.3390/app15020953

AMA Style

Wang Z, Zhong J, Hu J, Zhang Z, Zhao W. Mass Estimation-Based Path Tracking Control for Autonomous Commercial Vehicles. Applied Sciences. 2025; 15(2):953. https://doi.org/10.3390/app15020953

Chicago/Turabian Style

Wang, Zhihong, Jiefeng Zhong, Jie Hu, Zhiling Zhang, and Wenlong Zhao. 2025. "Mass Estimation-Based Path Tracking Control for Autonomous Commercial Vehicles" Applied Sciences 15, no. 2: 953. https://doi.org/10.3390/app15020953

APA Style

Wang, Z., Zhong, J., Hu, J., Zhang, Z., & Zhao, W. (2025). Mass Estimation-Based Path Tracking Control for Autonomous Commercial Vehicles. Applied Sciences, 15(2), 953. https://doi.org/10.3390/app15020953

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