Next Article in Journal
The Role of Demand-Responsive Transport Systems in Sustainable Urban Mobility: A Systematic Literature Review and Stakeholder Analysis
Previous Article in Journal
Effect of Reprocessing on the Viscosity and Mechanical Properties of PLA and PLA/MMT Nanocomposites
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Design of Gain-Scheduled Lateral Controllers for Autonomous Vehicles †

1
Systems and Control Laboratory, HUN-REN Institute for Computer Science and Control (SZTAKI), Kende utca 13-17, H-1111 Budapest, Hungary
2
Department of Control for Transportation and Vehicle Systems, Faculty of Transportation Engineering and Vehicle Engineering, Budapest University of Technology and Economics, Műegyetem rkp. 3., H-1111 Budapest, Hungary
3
Department of Plant Sciences, Széchenyi István University, Egyetem tér 1, H-9026 Győr, Hungary
*
Author to whom correspondence should be addressed.
Presented at the Sustainable Mobility and Transportation Symposium 2024, Győr, Hungary, 14–16 October 2024.
Eng. Proc. 2024, 79(1), 38; https://doi.org/10.3390/engproc2024079038
Published: 5 November 2024
(This article belongs to the Proceedings of The Sustainable Mobility and Transportation Symposium 2024)

Abstract

:
This paper focuses on the design and comparative analysis of speed-dependent lateral control systems for autonomous vehicles, focusing on optimizing vehicular dynamics and passenger comfort to ensure stability and safety. Adapting control systems to varying speeds becomes crucial for maintaining stability and maneuverability as autonomous technologies progress. This study evaluates their effectiveness in real-time navigation scenarios within a simulated environment by applying gain-scheduled linear quadratic regulators and model predictive control. The results show that while traditional controllers, such as Pure Pursuit, perform adequately under constant speed conditions, adaptive model-based algorithms significantly enhance the performance, especially in dynamic driving situations involving speed variations.

1. Introduction

The study of vehicle lateral control has been ongoing since the 1950s, driven by evolving technological demands and challenges, particularly in the development of autonomous vehicles. These vehicles aim to imitate human driving behavior, improve safety, reduce human errors, and increase the transportation efficiency. Traditional control systems, such as Pure Pursuit and Stanley controllers, have been widely used in various applications [1,2]. However, their performance decreases when handling more complex and dynamic driving tasks, leading to the development of model-based solutions. Initially based on linear dynamics, these solutions have progressively incorporated more advanced, nonlinear model-based strategies to manage the variability in system parameters [3].
Over the years, the integration of passenger comfort into the design of lateral controllers has gained attention. Providing a more human-like driving experience increases the thrust in these systems, which positively affects the marketability of the system. Therefore, more complex control algorithms are needed to handle the tightening requirements. Recent studies on model-based control development utilize nonlinear model predictive control (nMPC) algorithms. These algorithms use nonlinear predictive models to precisely describe the vehicle dynamics and optimize the control actions based on future states [4]. Furthermore, nMPC methods can also handle nonlinear constraints and time-varying dynamics, thus significantly enhancing the responsiveness and adaptability of autonomous driving systems.
Besides the tracking accuracy and computational capacity, other aspects, such as robust stability, have shaped the design of lateral controllers [5,6]. The application of Lyapunov functions in the stability analysis of dynamic systems has provided a robust mathematical background to guarantee the stability of control systems under various conditions. These methods ensure that the closed-loop system remains stable even in the presence of perturbations and converges back to a desired state without excessive oscillations or deviations [7].
A different approach is to utilize machine learning algorithms to control autonomous vehicles. For instance, Ref. [8] presents a double Q-learning-based approach to mimic human driving behavior accurately. On the other hand, Ref. [9] presents a deep reinforcement learning-based car-following model, which outperforms traditional and data-driven car-following models while also demonstrating good generalization capabilities.
In some cases, model-based algorithms are combined with machine learning to combine the advantages of both techniques. Such an example is presented in [10], where the parameters of a traditional PID controller are optimized using genetic algorithms for better performance [10].
While implementing speed-dependent controllers is crucial to mitigate the effects of varying driving conditions, the computational capacity of the algorithms must also be considered. Techniques such as gain scheduling and linear parameter varying (LPV) control offer viable solutions to high-complexity, nonlinear algorithms. In lateral vehicle controllers, controller gains are adjusted based on the velocity of the vehicle [11,12]. Despite their low computational cost, gain scheduling techniques enhance performance, comfort, and dynamic stability of the vehicle [13].

Contribution

The main contribution of this paper lies in the development, analysis, and comparison of three speed-dependent lateral control algorithms: a linear quadratic regulator (LQ), a linear quadratic integral controller (LQ-Servo), and a model predictive controller (MPC). These algorithms are tuned in a CarMaker environment, and their performance is compared concerning tracking accuracy and passenger comfort. At the same time, a traditional Pure Pursuit (PP) algorithm is also presented as a benchmark. This paper provides a comprehensive evaluation of these control strategies under the same conditions.
This paper is organized as follows: Section 2 introduces the lateral vehicle model used for controller synthesis. Section 3 details the implemented control strategies. Section 4 presents the simulation environment and the results of the comparative analysis. Finally, Section 5 concludes the paper with remarks on the findings and suggests directions for future research.

2. Lateral Vehicle Model

The lateral dynamics of a vehicle are mainly described using the dynamic bicycle model, which represents the vehicle as a single-track system. This model describes the lateral motion and yaw rotation of the vehicle using the following differential equations:
m y ¨ + V x ψ ˙ = F y f + F y r ,
I z ψ ¨ = l f F y f l r F y r ,
where m is the vehicle mass, Iz is the yaw moment of inertia, Vx is the longitudinal velocity, y ¨ is the lateral acceleration, ψ ˙ is the yaw rate, Fyf and Fyr are the lateral tire forces, and lf and lr are the distances from the center of gravity to the front and rear axles, respectively.
While the traditional model can describe the behavior of the vehicle under various conditions, ref. [14] proposes applying a slightly modified (tracking) model. It represents the lateral deviation and orientation error of the vehicle relative to the desired path. The state-space representation of the tracking model is formulated as follows:
d d t e 1 e ˙ 1 e 2 e ˙ 2 = 0 1 0 0 0 2 C f + 2 C r m V x 2 C f + 2 C r m V x 2 C f l f + 2 C r l r m V x 0 0 0 1 0 2 C f l f 2 C r l r I z V x 2 C f l f 2 C r l r I z 2 C f l f 2 + 2 C r l r 2 I z V x e 1 e ˙ 1 e 2 e ˙ 2 + 0 2 C f m 0 2 C f l f I z δ + 0 2 C f l f + 2 C r l r m V x V x 0 2 C f l f 2 + 2 C r l r 2 I z V x ψ d e s ,
where e1 is the lateral deviation, e2 is the orientation error, Cf and Cr are the cornering stiffness coefficients of the front and rear tires, δ is the steering angle, and ψdes is the desired yaw rate.
The model is formulated using a grid-based LPV representation to incorporate the speed-dependent dynamics of the system.

3. Control Synthesis

This section details the theoretical background and implementation of the presented controllers, including the Pure Pursuit, linear quadratic regulator, linear quadratic servo, and model predictive control methods. All of the presented controllers have been implemented in discrete time with a sampling time of 1 ms.

3.1. Pure Pursuit

The Pure Pursuit method is a geometric-based approach used for path tracking problems in autonomous vehicles. The steering angle required to follow a given path is calculated by considering the current position of the vehicle and the look-ahead point on the path. The steering angle δ is determined by the following equation:
δ = arctan 2 L sin α L d ,
where L is the wheelbase, α is the angle between the heading of the vehicle and the line connecting the rear axle to the lookahead point, and Ld is the lookahead distance, which significantly affects the tracking accuracy of the algorithm.
One of the main drawbacks of Pure Pursuit is that it relies on a kinematic vehicle model. Hence, it cannot handle dynamic driving conditions.

3.2. Linear Quadratic Regulator

The linear quadratic regulator (LQ) is a fundamental algorithm in control theory [15]. The LQ controller is designed to minimize a quadratic cost function that balances state deviations x(k) and the control effort u(k):
J = k = 0   x ( k ) T Q x ( k ) + u ( k ) T R u ( k ) ,
where Q and R are positive (semi-)definite weighting matrices. The state-space model is discretized, and the above criterion is defined for the discretized state equation. The optimal feedback gain K is computed by solving the Discrete-Time Algebraic Riccati Equation (DARE):
A T P A P A T P B B T P B + R 1 B T P A + Q = 0 ,
where A is the state transition matrix, B is the input matrix, and P is a positive definite matrix, the solution of the Riccati Equation. The optimal control input u(k) is given as
u k = K x k .

3.3. Linear Quadratic Servo

The LQ-Servo extends the LQ by incorporating an integrator to eliminate steady-state errors, enhancing trajectory-tracking accuracy. The augmented state-space model includes the integral of the output error z(k):
x k + 1 z k + 1 = A 0 C I x k z k + B 0 u k ,
where I is an identity matrix, B is the input, and C is the output matrix. The optimal control input is
u k = K x k K z z k ,
where K is the state feedback, and Kz is the integral action gain matrix.

3.4. Model Predictive Control

Finally, an MPC has been implemented based on [16]. At each time step, it solves a finite horizon optimization problem by considering future states and control actions. The state-space model is reformulated in terms of change in the state vector Δ x and the control input Δ u to eliminate steady-state error:
Δ x k + 1 = A Δ x k + B Δ u k .
Then, the augmented state-space equations are written as follows:
x ^ k + 1 = A ^ x k + B ^ Δ u k ,
y ^ k = C ^ x ^ k ,
where x ^ is the augmented state vector, A ^ , B ^ , and C ^ are the augmented state, input, and output matrices; and y ^ is the estimated output vector.
The MPC algorithm aims to solve the following constrained optimization problem for the augmented system:
m i n Δ U   J ( Δ U ) = k = 1 N p   y i T Q y i + k = 1 N c   Δ u i T R Δ u i ,
Δ u m i n Δ u k Δ u m a x         k N c , u m i n u k u m a x                         k N c ,
where Np is the prediction horizon, Nc is the control horizon, and ∆umin, ∆umax, umin, umax are the constraints on the gradient and magnitude of the input signal, and ∆U represents the sequence of control input changes over the control horizon. The constrained optimization problem is typically solved using quadratic programming (QP), as it effectively identifies the active constraints. By applying the receding horizon control principle of MPC, constraints are imposed only on the initial samples of the solution.
These controllers are evaluated in a simulation environment to determine their effectiveness in optimizing vehicle dynamics and passenger comfort under varying speed conditions.

3.5. Gain Scheduling

Gain Scheduling is a control technique that dynamically adjusts the controller parameters based on the operating conditions. In the presented algorithms, the control gains are scheduled based on the longitudinal velocity of the vehicle. The presented method uses precomputed gains for various operating points and interpolates between them in real time, allowing for smooth transitions and improved vehicle handling. By adapting the control gains to the vehicle’s speed, this approach provides more adaptive behavior in dynamic driving scenarios, where fixed-gain controllers may not perform well.

4. Simulation Results

The control algorithms have been implemented in the Matlab/Simulink 2022b environment. Figure 1. illustrates the trajectory that was created using the CarMaker 11.1 software package. The simulation included various driving scenarios with speed variations between 30 km/h and 100 km/h, designed to test the controllers’ performance under dynamic conditions.
Figure 2a shows that the Pure Pursuit controller had the largest deviations, especially in sharp turns, due to the chosen lookahead distance. The LQ controller demonstrated smaller errors but lacked integrating properties for steady-state error correction. Due to its integral property, the LQ-Servo controller effectively reduced steady-state errors despite larger initial deviations. However, the initial reduction and subsequent overshoot of integrated errors can lead to a delayed response from the controller. The MPC controller showcases superior tracking accuracy due to its predictive planning capabilities.
Figure 2b shows the lateral accelerations, crucial for passenger comfort. The LQ-Servo and MPC controllers show peaks due to sudden control interventions, which quickly dissipate. The LQ and Pure Pursuit controllers maintained lower accelerations. Based on [17] and the ISO 2631 standard [18], the equivalent acceleration (aeq) is selected as a metric for passenger comfort. The calculated aeq values for the controllers are as follows: 0.55993 m/s2 for PP, 0.58421 m/s2 for LQ, 0.57213 m/s2 for LQ-Servo, and 0.58357 m/s2 for MPC. The data indicate that all four controllers are in the ‘slightly uncomfortable’ category with respect to the equivalent acceleration.

5. Conclusions

This paper compares three speed-dependent lateral control strategies (LQ, LQ-Servo, and MPC) and a conventional PP control regarding reference signal tracking and passenger comfort.
Considering the dynamic test track, all controllers meet the stability and comfort requirements as expected. However, as anticipated, gain scheduling improves the controller performance significantly. Considering the overall results, the MPC performs best, with negligible position errors and acceptable acceleration values. The LQ and LQ-Servo controllers have slightly larger deviations and similar lateral acceleration. The Pure Pursuit controller has the worst performance regarding tracking accuracy, especially in sharp turns, which confirms our initial assumptions.
These results show that gain scheduling significantly improves the accuracy of all controllers and suggests that MPC is a promising choice for real vehicle tests.

Author Contributions

Conceptualization, Á.B. and Á.S.; methodology, Á.B. and Á.S.; software, Á.B.; validation, S.A.; writing—original draft preparation, Á.B. and Á.S.; writing—review and editing, S.A and L.P.; visualization, Á.B.; supervision, L.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the European Union within the framework of the National Laboratory for Autonomous Systems (RRF-2.3.1-21-2022-00002).

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Samuel, M.; Hussein, M.; Mohamad, M. A review of some pure-pursuit based path tracking techniques for control of autonomous vehicle. Int. J. Comput. Appl. 2016, 135, 35–38. [Google Scholar] [CrossRef]
  2. AbdElmoniem, A.; Osama, A.; Abdelaziz, M.; Maged, S. A path-tracking algorithm using predictive Stanley lateral controller. Int. J. Adv. Robot. Syst. 2020, 17, 1729881420974852. [Google Scholar] [CrossRef]
  3. Menhour, L.; Lechner, D.; Charara, A. Design and experimental validation of linear and nonlinear vehicle steering control strategies. Veh. Syst. Dyn. 2012, 50, 903–938. [Google Scholar] [CrossRef]
  4. Khalil, H.K. Nonlinear Systems, 3rd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 2002. [Google Scholar]
  5. Gáspár, P.; Szabó, Z.; Bokor, J.; Németh, B. Robust Control Design for Active Driver Assistance Systems; Springer: Cham, Switzerland, 2016. [Google Scholar]
  6. Tagne, G.; Talj, R.; Charara, A. Design and comparison of robust nonlinear controllers for the lateral dynamics of intelligent vehicles. IEEE Trans. Intell. Transp. Syst. 2015, 17, 796–809. [Google Scholar] [CrossRef]
  7. Sadri, S.; Wu, C. Stability analysis of a nonlinear vehicle model in plane motion using the concept of Lyapunov exponents. Veh. Syst. Dyn. 2013, 51, 906–924. [Google Scholar] [CrossRef]
  8. Zhang, Y.; Sun, P.; Yin, Y.; Lin, L.; Wang, X. Human-like autonomous vehicle speed control by deep reinforcement learning with double Q-learning. In Proceedings of the 2018 IEEE Intelligent Vehicles Symposium (IV), Changshu, China, 26–30 June 2018; pp. 1251–1256. [Google Scholar]
  9. Zhu, M.; Wang, X.; Wang, Y. Human-like autonomous car-following model with deep reinforcement learning. Transp. Res. Part C Emerg. Technol. 2018, 97, 348–368. [Google Scholar] [CrossRef]
  10. Mashadi, B.; Mahmoudi-Kaleybar, M.; Ahmadizadeh, P.; Oveisi, A. A path-following driver/vehicle model with optimized lateral dynamic controller. Lat. Am. J. Solids Struct. 2014, 11, 613–630. [Google Scholar] [CrossRef]
  11. Németh, B.; Gáspár, P. Road inclinations in the design of LPV-based adaptive cruise control. IFAC Proc. Vol. 2011, 44, 2202–2207. [Google Scholar] [CrossRef]
  12. Zin, A.; Sename, O.; Gaspar, P.; Dugard, L.; Bokor, J. Robust LPV-H ∞ control for active suspensions with performance adaptation in view of global chassis control. Veh. Syst. Dyn. 2008, 46, 889–912. [Google Scholar] [CrossRef]
  13. Poussot-Vassal, C.; Sename, O.; Dugard, L.; Savaresi, S.M. Vehicle dynamic stability improvements through gain-scheduled steering and braking control. Veh. Syst. Dyn. 2011, 49, 1597–1621. [Google Scholar] [CrossRef]
  14. Rajamani, R. Vehicle Dynamics and Control, 2nd ed.; Springer: New York, NY, USA, 2011. [Google Scholar]
  15. Athans, M.; Falb, P.L. Optimal Control: An Introduction to the Theory and Its Applications; Courier Corporation: North Chelmsford, MA, USA, 2013. [Google Scholar]
  16. Wang, L. Model Predictive Control System Design and Implementation Using MATLAB; Springer: London, UK, 2009; Volume 3. [Google Scholar]
  17. Luciani, S.; Bonfitto, A.; Amati, N.; Tonoli, A. Model predictive control for comfort optimization in assisted and driverless vehicles. Adv. Mech. Eng. 2020, 12, 1687814020974532. [Google Scholar] [CrossRef]
  18. ISO 2631-1: 1997/Amd 1: 2010; Mechanical Vibration and Shock—Evaluation of Human Exposure to Whole-Body Vibration—Part 1: General Requirements—Amendment 1. International Organization for Standardization: Geneva, Switzerland, 2010. Available online: https://www.iso.org/standard/45604.html (accessed on 25 July 2024).
Figure 1. Desired path and road curvature.
Figure 1. Desired path and road curvature.
Engproc 79 00038 g001
Figure 2. Performance comparison of the developed controllers (a) Lateral deviation; (b) Lateral acceleration.
Figure 2. Performance comparison of the developed controllers (a) Lateral deviation; (b) Lateral acceleration.
Engproc 79 00038 g002
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

Bokor, Á.; Szabó, Á.; Aradi, S.; Palkovics, L. Design of Gain-Scheduled Lateral Controllers for Autonomous Vehicles. Eng. Proc. 2024, 79, 38. https://doi.org/10.3390/engproc2024079038

AMA Style

Bokor Á, Szabó Á, Aradi S, Palkovics L. Design of Gain-Scheduled Lateral Controllers for Autonomous Vehicles. Engineering Proceedings. 2024; 79(1):38. https://doi.org/10.3390/engproc2024079038

Chicago/Turabian Style

Bokor, Ákos, Ádám Szabó, Szilárd Aradi, and László Palkovics. 2024. "Design of Gain-Scheduled Lateral Controllers for Autonomous Vehicles" Engineering Proceedings 79, no. 1: 38. https://doi.org/10.3390/engproc2024079038

APA Style

Bokor, Á., Szabó, Á., Aradi, S., & Palkovics, L. (2024). Design of Gain-Scheduled Lateral Controllers for Autonomous Vehicles. Engineering Proceedings, 79(1), 38. https://doi.org/10.3390/engproc2024079038

Article Metrics

Back to TopTop