원시데이터 수집 시스템
선정목록으로

Optimal Motion Design for Autonomous Vehicles With Learning Aided Robust Control

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Attila Lelkó — Institute for Computer Science and Control, Hungarian Research Network, Budapest, Hungary|||Institue for Computer Science and Control (SZTAKI), Hungarian Research Network (HUN-REN), Kende u. 13-17, Budapest, Hungary
  2. Balázs Németh — Institute for Computer Science and Control, Hungarian Research Network, Budapest, Hungary|||Institue for Computer Science and Control (SZTAKI), Hungarian Research Network (HUN-REN), Kende u. 13-17, Budapest, Hungary
DOI
10.1109/tvt.2024.3394699
저널
IEEE Transactions on Vehicular Technology
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
12
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/tvt.2024.3394699
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4396564042

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This paper presents a control design framework for the integration of robust controller and reinforcement learning-based (RL) control agent. The proposed integration method is applied to motion control of autonomous road vehicles, providing safe motion. The RL-based control agent is used to determine the steering angle and reference velocity of the vehicle to achieve high-performance motion. The chosen reward function is used to achieve different driving behaviors, e.g. high-velocity motion with minimal lap time, path following, or the limitation of control energy. The RL-based control through Proximal Policy Optimization method during episodes is performed. Safe motion is achieved by using a supervisory control framework which is based on the robust <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$\mathcal{H}_{\infty}$</tex-math></inline-formula> control method, and able to keep limits on lateral path tracking error. The effectiveness of the proposed control through simulation examples with comparisons to predictive control methods is illustrated. Moreover, the applicability of the method through a real-life test scenario on a small-scaled test vehicle is demonstrated.

본문 82,610자

본문 펼치기
## Optimal Motion Design for Autonomous Vehicles with Learning Aided Robust Control Attila Lelk´o, Bal´azs N´emeth _Member,_ _IEEE_ _Abstract_ —This paper presents a control design framework for the integration of robust controller and reinforcement learningbased (RL) control agent. The proposed integration method is applied to motion control of autonomous road vehicles, providing safe motion. The RL-based control agent is used to determine the steering angle and reference velocity of the vehicle to achieve high-performance motion. The chosen reward function is used to achieve different driving behaviors, e.g. high-velocity motion with minimal lap time, path following, or the limitation of control energy. The RL-based control through Proximal Policy Optimization method during episodes is performed. Safe motion is achieved by using a supervisory control framework which is based on the robust _H∞_ control method, and able to keep limits on lateral path tracking error. The effectiveness of the proposed control through simulation examples with comparisons to predictive control methods is illustrated. Moreover, the applicability of the method through a real-life test scenario on a small-scaled test vehicle is demonstrated. _Index_ _Terms_ —Robust _H∞_ control with learning, autonomous vehicles, motion optimization. I. INTRODUCTION AND MOTIVATION Arious performance specifications are posed against autonomous vehicles, which must be guaranteed by the # V control systems. Usually, there are primary performance specifications, which must be kept due to safety reasons, such as guaranteeing vehicle motion stability, reliability, or keeping different traffic regulations. Moreover, several further nonsafety performance specifications can be defined, which have lower priority, e.g., providing passenger comfort, achieving economic motion, minimization of traveling times, etc. In recent years various solutions to guarantee performance requirements of autonomous vehicles with control design have been proposed. One group of the solutions is to enhance the achieved performance level using the data-driven extension of the classical control tools, e.g., Model Predictive Control Copyright (c) 20xx IEEE. Personal use of this material is permitted. However, permission to use this material for any other purposes must be obtained from the IEEE by sending a request to pubs-permissions@ieee.org. Attila Lelk´o and Bal´azs N´emeth are with the Institue for Computer Science and Control (SZTAKI), Hungarian Research Network (HUN-REN), Kende u. 13-17, H-1111 Budapest, Hungary (e-mail: attila.lelko@sztaki.hu; balazs.nemeth@sztaki.hu). Attila Lelk´o and Bal´azs N´emeth are with the Department of Control for Transportation and Vehicle Systems, Faculty of Transportation Engineering and Vehicle Engineering, Budapest University of Technology and Economics, M˝uegyetem rkp. 3., H-1111 Budapest, Hungary. The research was supported by the European Union within the framework of the National Laboratory for Autonomous Systems (RRF-2.3.1-21-202200002). The paper was partially funded by the National Research, Development and Innovation Office (NKFIH) under OTKA Grant Agreement No. K 135512. (MPC, see [1], [2], [3]), model-free control (MFC, see [4]), robust and Linear-Parameter Varying (LPV, see [5], [6], [7]) methods. Using these methods enhanced performance levels on comfort and energy consumption can be achieved, and similarly, the safety performance level of the autonomous vehicles might also be handled [8]. Robust control tools have high relevance in the context of autonomous vehicles, as various noises, disturbances, and unmodeled dynamics may arise during vehicle motion. The impacts of these unwanted effects can be handled using robust design methods, e.g., in [9] a robust controller has been designed in a Driverin-the-Loop scenario. In paper [10] robust driver assistance system for handover scenarios has been demonstrated, or [11] has proposed an MPC solution for achieving rollover prevention. The classical vehicle control solutions may have the disadvantage that generally they are based on simplified control-oriented models that result from dynamic relationships. Although robust vehicle control synthesis techniques can handle some types of uncertainties they might fall behind the data-driven methods in case of high-level performance requirements. Using a large number of measurement data on the system and applying data-based adaptive methods leads to another group of solutions. Addressing performance problems involves the implementation of learning-based techniques, particularly those utilizing neural networks and deep learning, within a control framework. The advantage of these methods is that the neural network can be trained with a large amount of data obtained from the actual operation of the vehicle, thus achieving the optimal solution of the vehicle control problem [12]. The effectiveness of neural networks in control applications has been investigated in different studies, e.g., [13], [14]. A survey on deep learning applications in vehicle control has been presented by [15]. Nevertheless, a disadvantage of using neural-network-based methods in safety critic applications is the lack of theoretical guarantees on safety performances. Neural networks are usually highly complex systems designed by a numerical optimization using a finite set of data of the problem, and the result of the training is rated statistically. All possible scenarios cannot be included in the training set and the generalization of the network is hard to validate. This challenge motivated research to provide analysis techniques on the performance evaluation of neural-network-based control systems, e.g., papers [16], [17], [18] focus on the verification of the designed networks. Despite the achieved results, the developed solutions are valid for special cases concerning the 0000–0000/00$00.00 © 2023 IEEE control problem or the structure of the neural network, i.e., limiting their applications in general. The disadvantages of the previous two groups of solutions have led to the development of integrated methods, in which classical model-based control techniques and learning-based approaches are incorporated simultaneously. The integration aims to combine these two solutions to achieve the high performance of learning-based methods, and also the robustness and reliability of classical techniques [5]. The integration on various levels of autonomous vehicle control can be achieved. Advanced vehicle modeling frameworks have been developed, which involve data processing on the step of model formulation, e.g., through closed-loop matching [19]. Focusing on the step of control design, it has been provided design frameworks, in which classical and learning-based control solutions jointly have been involved, e.g., robust [20] and LPV control with neural networks [21], or [22] has proposed a safe model-based reinforcement learning method to achieve control for LPV systems. Furthermore, data can be incorporated in the control design for coordinating multiple unmanned vehicles [23]. The benefits of data-aided control on this level are reduced energy consumption or transportation network load [24], [25]. The brief literature overview shows that lots of efficient results in the integration of classical and learning-based methods have been achieved. Nevertheless, a limitation of the results is that most of them have fixed structures on the control design or the learning process. Since modularity is a crucial aspect of control design for autonomous vehicles (see e.g., [26], [27]), the control design method is proposed to employ independent design of both learning-based and robust control. This concept achieves the integration of the two controllers through a supervisor [5]. This paper aims to present an integrated vehicle control strategy based on the previous concept, with which longitudinal and lateral controls are designed. For achieving high-performance motion of the vehicle, reinforcement learning (RL) is used. For guaranteeing safe motion, robust control based on the _H∞_ method and a supervisor based on quadratic programming are used. The result of the design process is a control system, which calculates both longitudinal and lateral control inputs of the vehicle. The control design process is presented to optimize the motion of the autonomous vehicle, focusing on minimizing lap time. This problem has been chosen because there are several methods available for its solution, which provide a basis for comparison. For example, [28] investigates the effect of allwheel drive on achievable lap time via convex optimization. Different optimal control methods for achieving minimum lap time are compared in [29], and a fast Bayesian optimization is shown in [30]. These methods are for offline calculation on a given track to be used for path tracking. Learning Model Predictive Control (LMPC) solution for small-scaled test vehicles is proposed in [31]. The aim of LMPC is to learn the terminal cost and terminal set during the motion of the vehicle for achieving enhanced motion capabilities. Paper [32] proposes a Model Predictive Contouring Controller (MPCC) solution with Gaussian Process to control miniature race cars and achieve significant lap time reduction compared to a baseline controller. In this solution, the lap time minimization is built into the MPCC optimization problem, and computes the optimal interventions online, and it is able to adapt to different racetracks. Although MPC-based solutions can improve lap time efficiency, their disadvantage is the increased computation time in the cases of nonlinear vehicle models and large prediction horizons. Consequently, in this paper a novel solution to the problem of lap time minimization is provided. The contributions of the paper to the state-of-the-art solutions and the existing own preliminary solution [33] are twofold. First, the training of learning-based and the design of modelbased controllers are independent processes, but their results are built into the control structure simultaneously. Second, the effectiveness of the integrated control through comparative simulations and demonstrations on a small-scaled indoor test vehicle is presented. The paper is organized as follows. The concept of the learning-aided robust control is introduced in Section II. The design process of the RL-based control design, together with the formulation of the applied vehicle model is found in Section III. The design of the robust _H∞_ control and the computation of the safe velocity profile are presented in Section IV. The design of the supervisor for connecting RLbased control and robust control is proposed in Section V. That section also contains the optimization process of the control loop for achieving enhanced performance level. In Section VI the proposed control method is evaluated, i.e., the enhancing process of the control loop and comparisons for existing MPCbased solutions are found. Section VII details the process of control implementation on a small-scaled test vehicle, together with the demonstration of a test scenario. Finally, the paper is summarized and the future challenges are proposed in Section VIII. Moreover, at the end of the paper, an Appendix is found that contains the list of notations. II. OVERVIEW ON THE CONCEPT OF LEARNING-AIDED ROBUST CONTROL DESIGN The goal of this overview is to briefly introduce the concept of our proposed robust control design method. The scheme of the control architecture can be found in Figure 1. The architecture contains three main elements, such as the robust control, the supervisor, and the reinforcement learning (RL) based agent. The role of the robust control and the supervisor is to guarantee safety performance requirements, i.e., these two elements together guarantee a functionality, which is similar to the safety filter. The role of the RL-based agent is to improve the safety and non-safety performance levels of the control system, which improvement is achieved through a training process. During the operation of the system, all of these elements operate simultaneously, and the control input ( _u_ ) is computed through the output of the supervisor (∆ _L_ ) and the output of the robust control ( _uR_ ), such as _u_ = _uR_ + ∆ _L,_ (1) where ∆ _L_ _∈_ [∆ _L,min_ ; ∆ _L,max_ ] is a peak-bounded addition to _uR_ . The idea behind the concept is as follows. The output of the RL-based controller ( _uL_ ) is considered to be a candidate Fig. 1. Scheme of the control architecture control input of the system. A dynamical representation of the system in the design of the robust control is incorporated, which results in the reference control input _uR_ . The reason of robustness is that _u_ is not necessarily equal to _uR_, and thus, [∆ _L,min_ ; ∆ _L,max_ ] domain of ∆ _L_ addition in the design of the robust control is considered as an uncertainty. Using _uL_, _uR_ and measurements on the system ( _yS_ ), the supervisor has to select ∆ _L_ . This selection leads to a constrained optimization task. The objective of the optimization is to minimize _∥u_ (∆ _L_ ) _−_ _uL∥_ <sup>2</sup> 2 <sup>, i.e.,</sup> <sup>_u_</sup> <sup>must be as close as possible</sup> to _uL_ for achieving high performance level in the operation. Nevertheless, this selection is constrained by the bounds of ∆ _L_, which means that _u_ is in the predefined neighborhood of _uR_ . Moreover, the selection can also be constrained by further criteria, e.g., the predicted tracking error, resulting by _u_ . The design of the proposed control architecture has the following steps. First, the robust control with predefined bounds on ∆ _L_ is designed. Second, the optimization process in the supervisor is formulated. The optimization during the operation of the control system is solved in each step. Third, the environment for the RL process is constructed, which environment contains the designed robust control, the supervisor, and the system itself. Fourth, the RL process using the constructed environment is performed. The resulting neural network after the learning process can be used, and thus, the requested computation time is reduced during the operation of the control system. The proposed control concept has some connections to the MPC-based safe learning approaches, which connections provide motivation for comparison to different existing solutions. The most important connection is the formulated constrained optimization task in the supervisor. Despite the MPC method, this optimization does not contain terminal set and terminal cost terms. Their roles are built in the robust control, which provides the reference control input. Thus, the safe set of states is determined by the controllability set of the robust control, which set is further constrained by the supervisor. From the other side, the learning task is also out of the supervisor, because this task is involved in the RL-based control. Consequently, it may require reduced real-time computation effort compared to methods relying mostly on MPC with complex nonlinear models, which is supported by the performed tests on the control framework. Moreover, the separation of different tasks into different elements, such as learning and guaranteeing safety, can provide a modular architecture. It may provide the possibility of replacing the RL-based controller or the robust controller (e.g., through an updating process) without a comprehensive redesign process on the entire control loop. Modularity also provides the possibility of separating physically each element, e.g., the RL-based agent can be implemented on the cloud, while the supervisor and the robust control on the physical device can be found [34]. Another benefit of the method is that the design of the robust control and the formulation of the supervisor are independent of the internal structure of the RL-based agent. Consequently, other types of agents can also be used, e.g., supervised learning [21]. Therefore, the proposed control structure can be compatible with the application of machine-learning-based techniques, which compatibility may increase the number of application areas of the proposed method, e.g., _yL_ can contain video frames. III. DESIGN OF RL-BASED AGENT FOR AUTONOMOUS VEHICLE CONTROL In this section, the design method of the learning-based controller is detailed for handling longitudinal and lateral dynamics. First, the vehicle model is formulated for control purposes and second, the training process is presented. Third, the impact of reward function selection on the achievable performance level of the learning-based control is analyzed. _A._ _Formulating_ _vehicle_ _model_ _for_ _integrated_ _control_ _purposes_ The design of motion control for autonomous vehicles requests the formulation of their dynamic models. The model has three purposes in the integration, and thus, it depicts the validity of the control operation, i.e., inside of the validity of the selected vehicle model. First, the motion model is used for the training of RL-based agents, i.e., it serves as a part of the learning environment. Second, the motion model can have a crucial role in the design of the robust control, due to its model-based property. Third, it can be built in the supervisor to form vehicle-safety-oriented conditions in the constrained optimization problem. All of these tasks require a limited complexity vehicle model, i.e., to avoid insufficiently long training process, numerical difficulties in the robust control design, or slow real-time running performance in the solution of the supervisory optimization process. Therefore, in this paper, a simplified dynamical two-wheel dynamical motion model is formed [35]. In the cases of robust control and supervisor design, the formulated vehicle model contains linear tire-force characteristics, such as: _mv_ ˙ _x_ = _Fdrive −_ _bvx_ + _mvyψ,_ <sup>˙</sup> (2a) _mv_ ˙ _y_ = _−C_ ( _αF_ + _αR_ ) _−_ _mvxψ,_ <sup>˙</sup> (2b) Θ _zψ_ <sup>¨</sup> = _−C_ ( _αF_ + _αR_ ) <sup>_<u>l</u>_</sup> (2c) 2 <sup>_,_</sup> where _Fdrive_ is the driving force, _b_ is a coefficient of friction in the longitudinal velocity, _C_ is the cornering stiffness, _αF_ and _αR_ are tire side-slips at the front and rear tires respectively, and _L_ is the length of the wheelbase. Tire side-slip angles and _vy_ lateral velocity can be expressed as the functions of yaw rate _ψ_ ˙, steering angle _δ_, and _vx_ . Relations in (2) can be used in the robust control design and within the supervisory optimization, resulting in local velocities in the frame of vehicle reference and the yaw angle _ψ_, which can be integrated to estimate the path tracking error. The longitudinal and lateral velocity components of the vehicle in a global coordinate system are calculated as _Vx_ = _vx_ cos _ψ −_ _vy_ sin _ψ,_ (3a) _Vy_ = _vx_ sin _ψ_ + _vy_ cos _ψ,_ (3b) which can be used for computing the position of the vehicle through the integration of _Vx, Vy_ . For learning purposes, it is possible to slightly improve the complexity of the model, i.e., steering dynamics and nonlinear tire-force characteristics are formulated. Its reason is that the training process is carried out offline, and thus, the nonlinear model is not required to run during the control process. The dynamics of the steering mechanism a simple low-pass filter is introduced on the steering angle: the rewards, collected by the agent starting from state _st_ at time step _t_ and following the policy: _R_ ( _τt_ ) = _M_ _−_ 1 _k_ =0 _γ_ d <sup>_kR_</sup> <sup>(</sup> <sup>_st_</sup> <sup>+</sup> <sup>_k, at_</sup> <sup>+</sup> <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> (6) _δ_ ˙ = <sup><u>1</u></sup> _Tδ_ ( _δref_ _−_ _δ_ ) _,_ (4) where _γ_ d is a discount factor. It is used to exponentially decrease the importance of future rewards compared to the present reward along a horizon with _M_ steps. Another term in the training is the value of a state, which is the expected return starting from state _st_ and acting according to the policy: _V_ ( _st_ ) = E [ _R_ ( _τt_ )] _,_ (7) where the expected value is required, if the environment or the policy contains stochastic elements. In the PPO algorithm, the value function is represented by an independent critic neural network, which is trained separately using past experience on the achieved returns. The expected value of the states is calculated based on the information gathered in previous episodes of the training. After a predetermined number of episodes or time steps, the achieved _τt_ trajectories are collected. Using this information the return values are calculated by discounting the rewards corresponding to each trajectory, see (6). If different values are achieved starting from the same state (e.g., due to the stochastic nature of the environment or the agent), the mean of these values is calculated. The agent learns through interactions with the environment. During these interactions different actions are taken, different environment states are observed and rewards are collected. The goodness of an action is determined relative to past experiences using the advantage of that action. The advantage of action _at_ describes how much better is to take that specific action in state _st_ compared to acting corresponding to the policy. The advantage function _A_ ( _s, a_ ) determines the advantage of action _a_ in the state _s_ . In practice, it can be difficult to determine the exact value of the advantage function, but different methods are available for estimation purposes, e.g., Generalized Advantage Estimation in [37]. After simulating the environment for _T_ time steps, the estimation is as follows: where _δref_ is the reference steering angle signal, and _Tδ_ is the steering model parameter for scaling its time response characteristics. Moreover, the model for the learning process is improved with the Pacejka tire-force model [36]. The tire force is calculated as _Flat_ = _Fz_ _· Dt_ sin( _Ct_ atan( _Btαi −_ _Et_ ( _Btαi −_ atan( _Btαi_ )))) _,_ (5) where _Fz_ is the vertical force acting on a specific tire, _Bt_, _Ct_, _Dt_ and _Et_ are constant tire model parameters and _αi_ is the tire lateral slip angle on the front or rear axle. Lateral tire force formulation (5) is built in the simulation environment that is used for training and control design purposes. _B._ _Training_ _process_ _of_ _the_ _RL-based_ _agent_ The goal of the training process is to design a neural network agent for control purposes, with two outputs corresponding to the reference velocity and the steering angle of the vehicle. The training process is performed in an RL-based framework using the Proximal Policy Optimization (PPO) algorithm. The target of the training process is to maximize a predefined reward function, during the interaction of the agent with its dynamic environment through actions. The action of the agent is determined by sampling from a probability distribution, i.e., policy _πθ_ ( _·|s_ ). The policy is represented by an actor neural network with parameter vector _θ_ and the observed state of the environment _s_ . Every time step _t_ the reward is computed as a function of the environment state and of the action, chosen by the agent _R_ ( _st, at_ ), where _st_ is the environment state and _at_ is the chosen action at time step _t_ . Given a state-action trajectory _τt_ = ( _st, at, st_ +1 _, at_ +1 _. . ._ ), the finite-horizon discounted return is the discounted sum of _k_ =0 (8) The first two terms of this expression are the discounted return starting from state _st_ based on the collected experiences, and the third term is the estimated value of state _st_ . In this way, the advantage is estimated by the realized and the expected return of state _st_ . The value of _V_ ( _st_ ) is computed by the critic network, which is trained using past experiences. If during the simulation a state-action sequence is found where _A_ ˆ( _st, at_ ) _>_ 0, then this sequence is considered to be better expected. Consequently, the probability of such sequences appearing during further interactions should be increased, because they lead to larger rewards. During the training iterations, the parameter vector of the actor network is constantly changing as a result of the parameter updates. This leads to different policy functions for - _γ_ d <sup>_k_</sup> d <sup>_kR_</sup> <sup>(</sup> <sup>_st_</sup> <sup>+</sup> <sup>_k, at_</sup> <sup>+</sup> <sup>_k_</sup> <sup>)</sup> _A_ ˆ( _st, at_ ) = _T −t−_ 1 - + _γ_ d <sup>_T −t_</sup> d <sup>_T −t_</sup> _V_ ( _sT_ ) _−_ _V_ ( _st_ ) _._ every update. The ratio of the probability of action _at_ using the actual and the old policy is denoted by: _<u>πθ</u>_ <u>(</u> _<u>at|st</u>_ <u>)</u> _rt_ ( _θ_ ) = _πθ_ old( _at|st_ ) <sup>_._</sup> (9) The goal is to increase the probability of actions with positive advantage and to decrease the probability of actions with negative advantage. This goal is expressed using the following surrogate objective function: The inputs of the networks consist of measurements on the track in the neighborhood of the vehicle, which is the position of _N_ number of equidistant points of the track centerline ahead. This results in an input vector of �T _._ (13) _xNN_ = - _x_ 1 _y_ 1 _x_ 2 _y_ 2 _. . ._ _xK_ _yK_ _L_ ( _θ_ ) = E <sup>ˆ</sup> _t_ - _rt_ ( _θ_ ) _A_ <sup>ˆ</sup> ( _st, at_ ) _,_ (10) where the expected value is related to the different stateaction trajectories starting from state _st_ . The problem with the surrogate objective function is that without constraints it would lead to excessively large policy updates. This is addressed by Trust Region Policy Optimization (TRPO) by limiting Kullback-Leibler divergence [38] or the PPO method by using a clipped surrogate objective function [39]. The algorithm described in this paper uses the PPO method in the optimization. The reason behind this selection is its fast training capability compared to TRPO [39]. The clipped surrogate objective function in the case of the PPO algorithm is formed as: - _L_ <sup>_P P O_</sup> ( _θ_ ) = E <sup>ˆ</sup> _t_ min( _rt_ ( _θ_ ) _A_ <sup>ˆ</sup> _t,_ clip( _rt_ ( _θ_ ) _,_ 1 _−_ _ϵ,_ 1 + _ϵ_ ) _A_ <sup>ˆ</sup> _t_ ) _,_ (11) where _ϵ_ is a hyperparameter of the algorithm. The above objective uses the simplified clip() function to avoid large policy updates, this way it is significantly faster to compute a policy update. Improvement of the performance level by the RL-based agents can be achieved through reward functions. At every step of the environment, the reward is calculated, based on the reward function of the agent. The simple parametric reward function in the vehicle control task is formed as _L_ <sup>_P P O_</sup> ( _θ_ ) = E <sup>ˆ</sup> _t_ �min( _rt_ ( _θ_ ) _A_ <sup>ˆ</sup> _t,_ clip( _rt_ ( _θ_ ) _,_ 1 _−_ _ϵ,_ 1 + _ϵ_ ) _A_ <sup>ˆ</sup> _t_ ) <sup>2</sup> Lat _,_ err <sup>_−_</sup> <sup>_Bδ_</sup> <sup>2</sup> _R_ ( _s, a_ ) = _−Ax_ <sup>2</sup> _ref_ <sup>2</sup> <sup>+ ∆</sup> <sup>_p,_</sup> (12) where the coordinates are in the local coordinate system of the vehicle, _x_ denotes the local longitudinal direction (forward), _y_ is the local lateral direction (left), and the indices correspond to the order of the points. Although the selection of _K_ for a long horizon can result in highly efficient control intervention due to the lots of information on the track, it can overcomplicate the neural network and consequently, training time is significantly increased, and extracting high definition information on the track on long distances can be challenging in real-life applications. Therefore, _K_ is recommended to be selected depending on the bend curvatures on the track, i.e., the requested minimum look-ahead distance, which determines the actual selection of _δ_ and _vx_, considering the measurement method used to estimate the points of the centerline. In the training environment, several noises and disturbances are included to increase the achieved generality and robustness of the trained agent. Additional action noise is included which is a required part of the training process. The estimation of the centerline has uncertainty in a real application, i.e., it is modeled by a noise added to the neural network input, which is proportional to the distance from the vehicle. Communication and hardware delays are modeled into the environment via a constant time delay of the control input. Additionally, the parameters of the vehicle model change slightly during the training process. _C._ _The_ _effect_ _of_ _parameter_ _selection_ _in_ _reward_ _functions_ The driving behavior of the agents is significantly influenced by the weights of the reward function. The most typical example is if one chooses weight _A_ large, then the result will be an agent that follows the center of the track accurately. But, if this weight is small compared to ∆ _p_, then faster progress can be more important and the agent tends to cut corners aggressively and try to find the ideal path to reduce lap time. Increasing _B_ weight can help avoid a larger steering angle than necessary, resulting in fewer oscillations, more stable motion, and a decrease in the required control energy. To demonstrate the effect of reward parameters some training examples have been carried out. Figure 2(a) shows the convergence of the cumulative reward function in selected training processes of the RL-based lateral control. The illustration shows that maximization of the reward can be reached, independently from the selection of parameter _A_ . The convergence of the reward is achieved at 10 <sup>6</sup> time steps, which has the computation time request 24 _−_ 30 min in this example. An example of the effect of reward function parameter _A_ can be seen in Figure 2(b). The graphs show three agents trained with different reward functions, in every case _B_ = 0, only the path tracking capabilities and the faster lap time were considered in the optimization process. The difference between the agents can be seen especially in the corners, where _x_ Lat _,_ err is the lateral path tracking error, ∆ _p_ is the progress along the centerline since the last time step using an appropriate metric. During training, if the vehicle leaves the track a large punishment through reward functions is applied, but the current episode is not terminated. Thus, the agent can experience situations, which are considered potentially dangerous in a real-life scenario and may learn to solve these situations by navigating back to the track as fast as possible. The training process is performed through simulation episodes, in which the vehicle must move on given tracks. During the training process, the motion of the vehicle model along various tracks is simulated, together with the consideration of the actual learning-based agent. The closed tracks are generated from track primitive elements, such as straight sections and bends with different curvatures. In every training scenario, Gaussian noise is added to the agent observations to address the uncertainty of the real-life positioning system. This noise is scaled with the distance from the vehicle, resulting in larger uncertainties of track points farther ahead. The expectation against the training process is that the long-term reward is increased. where the agents with a smaller _A_ weight tend to cut the corners more aggressively. The maximal lateral errors were 0 _._ 75 m ( _A_ = 0 _._ 01), 0 _._ 54 m ( _A_ = 10), and 0 _._ 26 m ( _A_ = 30). The time to complete the lap was 12 _._ 5 s ( _A_ = 0 _._ 01), 12 _._ 85 s ( _A_ = 10), and 13 _._ 55 s ( _A_ = 30). These results are in accordance with the selection of the reward functions. Figure for avoiding sudden changes in the steering control signal. When cornering or path correction is not required, then the steering angle is chosen to be close to zero. In this case, the maximal lateral errors are 0 _._ 29 m ( _A_ = 25 _, B_ = 0), 0 _._ 66 m ( _A_ = 0 _, B_ = 0 _._ 8), and 0 _._ 21 m ( _A_ = 25 _, B_ = 0 _._ 8), and the lap times are 13 _._ 55 s ( _A_ = 25 _, B_ = 0), 13 _._ 4 m ( _A_ = 0 _, B_ = 0 _._ 8), and 14 _._ 6 s ( _A_ = 25 _, B_ = 0 _._ 8). Its reason is that with the punishment term _B_ the lap time is relatively less important. Thus, the less aggressive cornercutting vehicle motion decreases the expected reward of the agent. Larger _B_ values may lead to a slightly decreased reference velocity profile to complete maneuvers with smaller steering angles, see lines blue and green. Nevertheless, without the introduction of the term _B_, the resulting behavior may not be beneficial in real-life scenarios, because the impact of delays and uncertainties may cause performance degradation. A=25, B=0 A=0, B=0.8 A=25, B=0.8 10 8 6 4 2 0 -2 0 5 10 15 X [m] (a) 2500 2000 1500 1000 500 0 10 8 6 4 2 0 -2 A = 0.01 A = 10 A = 30 0 2 4 6 8 10 Time step [-] 10 <sup>5</sup> (a) A=0.01, B=0 A=10, B=0 A=30, B=0 0 5 10 15 X [m] (b) A=25, B=0 A=0, B=0.8 A=25, B=0.8 0 5 10 15 Time [s] (c) A=25, B=0 A=0, B=0.8 A=25, B=0.8 0 5 10 15 Time [s] (b) 4 3.5 3 2.5 2 A=0.01, B=0 A=10, B=0 A=30, B=0 0 5 10 15 Time [s] (d) 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 A=0.01, B=0 A=10, B=0 A=30, B=0 0 5 10 15 Time [s] (c) 4 3.5 3 2.5 2 Fig. 2. Convergence of the accumulated reward in selected training processes (a). The effect of _A_ reward function parameter on (b) the resulting trajectory, (c) the reference steering angle, (d) the reference velocity, in case of _B_ = 0. 2(c) shows the reference steering angle of the vehicle during the simulation. It can be seen that high-amplitude and highfrequency oscillations are present in the signals, especially in the case when _A_ is high. These are mostly unwanted control interventions that result in oscillatory or even unstable motion in a real-life scenario with very low comfort for possible passengers. Figure 2(d) indicates that a more conservative reference velocity is required to increase tracking performance. The unwanted oscillations in the steering control intervention can be effectively eliminated by a related punishment term in the reward function. The effect of such a term is illustrated in Figure 3. In the examples, the effect of increasing weight _B_ is shown in the case of two different _A_ values. The most significant difference can be seen in Figure 3(b), where the agents have been trained using the additional punishment term Fig. 3. The effect of _B_ reward function parameter on (a) the resulting trajectory, (b) the reference steering angle, (c) the reference velocity, in case of _A_ = 0 _._ 001. In Figure 3 can be seen that by increasing even one of the two punishment terms the lap times start to increase, since progressing along the track will have relatively less effect on the long-term reward of the agent. There is another limiting factor on choosing large weight values because as the punishment terms start to increase the overall reward will decrease and there will be a point (negative long-term reward values) where not moving at all will be more beneficial regarding the cumulative reward, since it results in 0 reward compared to any negative value. It leads to a limit on the minimal lateral error with which path tracking can be performed and a limit on the minimal steering angle values. These training processes may result in unwanted control policies. Consequently, the selection of parameters _A_ and _B_ is a tuning problem in practical applications. During the tuning process, the motion of the real vehicle must be analyzed. Properly chosen _A_ and _B_ values can lead to a reward function that results in a highperforming agent considering path tracking, lap time, and control energy. The presented simulation-based examinations provide references on the influences of terms _A_ and _B_ to the vehicle motion. IV. DESIGN OF THE ROBUST ELEMENT OF THE AUTONOMOUS VEHICLE CONTROL SYSTEM The design of the robust control is based on the method presented in this section. In the control design, it is necessary to consider that _u_ may differ from _uR_, due to the additional value of ∆ _L_ . Therefore, ∆ _L_ can be handled as an additive input disturbance to _uR_, and thus, robustness against ∆ _L_ must be guaranteed. The block diagram of the system in Figure 1 can be restructured to form a simple control loop with additive input disturbance, see Figure 4. Thus, from the viewpoint of the robust controller, the internal structures of the supervisor and the learning-based control agent are not considered. These are represented by the disturbance term ∆ _L_ . Fig. 4. Schematic view on the loop for robust control design In the robust control design process, the worst-case scenario is considered, i.e., ∆ _L_ in the robust design process through its bound is involved. In the design is assumed that _L_ ∆ ≜ _|_ ∆ _L,max|_ = _|_ ∆ _L,min|_, i.e., the measure of additive input disturbance is symmetric. Since _L_ ∆ has an impact on the robust control design, it influences the values of ∆ _L,max,_ ∆ _L,min_ in the optimization process of the supervisor. Choosing _L_ ∆ to have a large interval allows increased differences in the two control signals, resulting in ∆ _L_ = _uL −_ _uR_ often can be selected. Nevertheless, it results in a more conservative robust controller to provide robust stability even in case of larger disturbances. But, if _L_ ∆ is tight, _u_ is close to _uR_, and thus, performance level increase from the RL-based control agent can be lost. _A._ _Design_ _of_ _robust_ _lateral_ _controller_ To design a robust control, several methods are available, with which theoretical guarantees against bounded disturbances can be guaranteed. In the rest of this section a robust _H∞_ control design method on the lateral dynamics, considering ∆ _L_ is proposed. The design is based on the vehicle motion model (2), which can be transformed into the following statespace representation: _x_ ˙ = _Ax_ + _B_ 2 _u_ = _Ax_ + _B_ 2∆ _L_ + _B_ 2 _uK,_ (14) The primary, i.e., the safety performance of the system is to guarantee the limitation of the lateral error of the vehicle from the centerline of the road: _z_ 1 = _yref_ _−_ _y_ ; _|z_ 1 _| →_ _min,_ (15) where _yref_ is the reference lateral position for the vehicle. Moreover, the limitation of the steering angle is requested to avoid the unwanted effect of actuator saturation, which leads to further performance: _z_ 2 = _u_ = _uK_ + ∆ _L_ ; _|z_ 2 _| →_ _min._ (16) The performance vector _zK_ = - _z_ 1 _z_ 2� _T_ using the state-space equation (14) can be expressed as The performance vector _zK_ = - _z_ 1 _z_ 2 _zK_ = _C_ 2 _x_ + _D_ 22 _w_ + _D_ 22 _uK,_ (17) where _w_ = - _yref_ ∆ _L_ - _T_ . Similarly, the formulation of measurement _yK_ = _yref_ _−_ _y_ is expressed as where _w_ = - _yref_ ∆ _L_ _yK_ = _C_ 1 _x_ + _D_ 11 _w_ + _D_ 12 _uK._ (18) The control-oriented state-space representation of the system from the dynamics, performances, and measurements on the system is composed, such as _x_ ˙ = _A_ + _B_ 2∆ _L_ + _B_ 2 _uK,_ (19a) _yK_ = _C_ 1 _x_ + _D_ 11 _w_ + _D_ 12 _uK,_ (19b) _zK_ = _C_ 2 _x_ + _D_ 22 _w_ + _D_ 22 _uK._ (19c) In the design process of the _H∞_ controller weighting function for scaling disturbances and for finding the balance between different performances must be applied, see [40] for details of selecting weighting functions and the formulation of the _H∞_ design problem. Using the weighting functions and the dynamic controller-observer, represented by _AK, BK, CK, DK_ matrices, the closed loop system can be formulated as _x_ ˙ _cl_ = _Aclxcl_ + _Bclw,_ (20a) _z_ = _Ccl_ 1 _x_ + _Dcl_ 1 _w,_ (20b) where _w_ involves also ∆ _L_ of (19)(a). The objective of _H∞_ control is to minimize the inf-norm of the transfer function _Tz∞w_ . More precisely, the problem can be stated as follows [41], [42]. The linear matrix inequality (LMI) problem of _H∞_ performance is formulated as the closed-loop RMS gain from _w_ to _z∞_ does not exceed _γ_ _>_ 0 if and only if there exists a symmetric and definite positive matrix _X∞_ such that _AclX∞_ + _X∞A_ <sup>_T_</sup> _cl_   _<_ 0 _._ (21)  <sup>_T_</sup> _cl_ _X∞Bcl_ _Ccl_ <sup>_T_</sup>  _cl_ _cl_ _Bcl_ <sup>_T_</sup> <sup>_X∞_</sup> _−γI_ _Dcl_ <sup>_T_</sup> _cl_ <sup>_T_</sup> <sup>_X∞_</sup> _−γI_ _Dcl_ <sup>_T_</sup> _cl_ <sup>_X∞_</sup> _cl_ _Ccl_ _Dcl_ _−γI_ During the robust control design, the value of _γ_ must be optimized, and as a constraint, the formed LMI (21) must be feasible. The result of the optimization is the robust controllerobserver, whose robust stability against _w_ can be guaranteed. - _T_ where _A, B_ 2 are matrices of the system, _x_ = represents state vector and _u_ = _δ_ steering angle. - _vy_ _ψ_ ˙ _B._ _Computation_ _of_ _safe_ _velocity_ _profile_ The computation of the safe velocity profile, i.e., the actual reference velocity is determined by the local curvature of the track. Since the reference path _yref_ (e.g., centerline) of the track is considered as a known curve _c_ ( _s_ ) parameterized by the travel distance _s_, its curvature can be calculated as _κ_ ( _s_ ) = <sup>_<u>|c</u>_</sup> <sup><u>˙(</u></sup> <sup>_<u>s</u>_</sup> <sup><u>)</u></sup> <sup>_<u>×</u>_</sup> <sup><u>¨</u></sup> <sup>_<u>c</u>_</sup> <sup><u>(</u></sup> <sup>_<u>s</u>_</sup> <sup><u>)</u></sup> <sup>_<u>|</u>_</sup> _._ (22) _|c_ ˙( _s_ ) _|_ <sup>3</sup> The reference velocity is calculated in a way that limits the required lateral acceleration of the car for traction reasons: _vref_ <sup>2</sup> <sup>_κ ≤_</sup> <sup>_ay,max,_</sup> (23) where _ay,max_ denotes the maximum achievable lateral acceleration, based on the maximal tire force available. Its value can be determined by tire characteristics or estimation, see e.g., [43]. The resulting reference velocity must be chosen as optimization task in the supervisor is formed through (25), (26) as argmin ∆ _L_ subject to _∥uR_ + ∆ _L −_ _uL∥_ <sup>2</sup> 2 (27a) ∆ _L_ _∈_ [∆ _L,min_ ; ∆ _L,max_ ] (27b) _elat,T_ _≤_ _emax._ (27c) Infeasibility of (27), e.g., the constraints cannot be guaranteed, is evaluated as an emergency situation for the vehicles. In these cases, the selection of ∆ _L_ = 0 is performed and the maximum braking command to the vehicle is sent. Although (27) can lead to an accurate solution to the problem, its solution in real-time can lead to difficulties. Therefore, under practical implementations, the continuous solution of (27) can be replaced with the following equal computation process. 1) In most of the operation of the vehicle, it can be considered that the vehicle moves under normal vehicle dynamic conditions, i.e., it is assumed that _uL_ can result in the keeping of lateral error under _emax_ . Consequently, in the first computation step of the supervisory process, the assumption is checked, such as the ensuring of condition _elat,T_ _≤_ _emax_ with _uL_ . 2) If the assumption in the checking process is validated to be true, an equivalent solution of the optimization process (27) is _vref_ _≤_ - _<u>ay,max</u>_ _._ (24) _κ_ In straight sections, the curvature of the track is 0, which results in infinite reference velocity. Thus, _vref_ must be limited, especially in case of low curvature values, such as _vref_ _≤_ _vmax_, where _vmax_ is the maximum velocity limit on the given road section. The centerline of the track is considered here as a twodimensional spline, however for practical reasons in simulations or tests it is represented as a list of equidistant ( _x, y_ ) coordinates, and the curvature is estimated using numerical differentiation instead. V. DESIGN OF THE SUPERVISOR FOR GUARANTEEING SAFE VEHICLE MOTION The supervisor results in ∆ _L_ signal, which is used for the computation of control input _u_, see (1). The goal of the supervisor is to achieve a control signal, which results in a highperformance level for the vehicle through the minimization of the following objective: _∥u_ (∆ _L_ ) _−_ _uL∥_ <sup>2</sup> 2 <sup>=</sup> <sup>_∥uR_</sup> <sup>+ ∆</sup> <sup>_L −_</sup> <sup>_uL∥_</sup> <sup>2</sup> 2 <sup>_→_</sup> <sup>min</sup> <sup>_,_</sup> (25) where ∆ _L_ _∈_ [∆ _L,min_ ; ∆ _L,max_ ] is considered and ∆ _L_ = - _T_ �∆ _L,Lat_ ∆ _L,Long_ contains the additional disturbance value respect to lateral and longitudinal controls. The control design problem with the vehicle-safety-oriented performance requirement on keeping lateral error under a predefined value is augmented. Thus, in the case of the vehicle path tracking control, the lateral distance from the centerline can be limited using a model-based prediction layer in the supervisor. The trajectory of the vehicle can be predicted on a time horizon using (2)-(3), see [5], which results in the vector of predicted _Ppred,T_ vehicle positions. The lateral error of the vehicle can be calculated as _elat,T_ = _dist_ ( _Ppred,T, c_ ( _s_ )) _,_ (26) which can be estimated using the known points of the track _c_ ( _k_ ∆ _s_ ), where _k_ = 0 _,_ 1 _,_ 2 _. . ._, and ∆ _s_ is the distance with which the centerline was discretized. Thus, the constrained ∆ _L,i_ =   _uL,i −_ _uR,i_ if ( _uL,i −_ _uR,i_ ) _∈_ [∆ _L,min_ ; ∆ _L,max_ ] ∆ _L,max_ if ( _uL,i −_ _uR,i_ ) _>_ ∆ _L,max_ ∆ _L,min_ if ( _uL,i −_ _uR,i_ ) _<_ ∆ _L,min,_  (28) where the indices denote the _i_ <sup>_th_</sup> control input. Remark that the selection of the bounds does not necessarily lead to the violation of the lateral error constraint. The achieved lateral error can be influenced by the selection of ∆ _L,min,_ ∆ _L,max_ . For example, in the case of lowvalue selection for the bounds can lead to the limitation of the lateral error. 3) But, if the assumption in the checking process is validated to be false, the optimization process (27) must be performed. In the case of a practical application, the process above can significantly reduce the computation effort, i.e., the assumption in most of the vehicle operation is verified to be true. _A._ _Optimization_ _process_ _for_ _improving_ _closed-loop_ _perfor-_ _mance_ _level_ The formed optimization processes of the robust control design (19), (21) and of the supervisor (27) show that both of them depend on the selection of ∆ _L,max_ . In the case of large bound selection, the performance level of the designed robust control can be low, while at low bound selection the impact of _uL_ on _u_ can be small. Therefore, an optimization process is provided for the selection of ∆ _L,max_, with which the performance level of the control system can be improved, i.e., lap time can be minimized. The optimization process is based on the evaluation of simulation scenarios. To improve the generality of the achieved solution, each simulation scenario differs from each other. It uses the same simulation environment as for the RL training process, see III B, i.e., the motion of the vehicle model along various tracks is simulated and noise to the lateral position measurement is added. The evaluation is based on the computation of a cost function _J_, which contains the most important metrics on the achieved control, such as _J_ = _Q_ 1 + _Q_ 2 _N_ _k_ =1 _N_ _k_ =1 _|uR,Lat_ ( _k_ ) + ∆ _L,Lat_ ( _k_ ) _−_ _uL,Lat_ ( _k_ ) _|_ + _|uR,Long_ ( _k_ ) + ∆ _L,Long_ ( _k_ ) _−_ _uL,Long_ ( _k_ ) _|_ + + _Q_ 3( _N_ ) _._ (29) In (29) each term contains a metric, which represents the performance of the control system with the given selection of ∆ _L,max_ . The terms are computed for each simulation scenario, which has a length with _N_ samples. The value of _N_ is limited to a selected maximum value _Nmax_ . The first term of (29) represents the impact of _uL,Lat_ on the steering intervention, and the second term reflects the impact of _uL,Long_ on the velocity selection. The priorities of these terms are expressed by scalar weights _Q_ 1 _, Q_ 2. Moreover, additional scalar weight _Q_ 3 in the cost is also involved, which reflects the terminal position of the vehicle on the track. Thus, if the vehicle performs the track, i.e., _N_ _< Nmax_, then _Q_ 3 = 0 is selected. But, if the track is not performed, i.e., _N_ = _Nmax_, then _Q_ 3 = _Q_ 3 _,max_, _Q_ 3 _,max_ _>_ 0 is selected for penalizing the actual ∆ _L,max_ selection. During the optimization process the goal is to minimize _J_, and similarly, to guarantee the robustness of the control, which leads to the minimization process ∆min _L,max_ <sup>_J,_</sup> subject to 0 _< γ_ _<_ 1 _._ (30) Since the candidate values in ∆ _L,max_ can have physical limits, e.g., the achievable steering angle, an efficient solution of the minimization is a line search on a grid of ∆ _L,max_ . During the optimization process, a rough grid is defined in the initial step and then, the grid is refined, where the cost has a minimum and the constraint is guaranteed. In (30) the value of _γ_ depends on the _H∞_ controller, and the computation of that is influenced by ∆ _L,max_ . Its reason is that ∆ _L_ is part of _w_, see (17) and thus, the value of ∆ _L,max_ is involved in the _H∞_ control design process as an upper bound. Consequently, in each step of the minimization (30) the _H∞_ controller must be recomputed with the given ∆ _L,max_ of that step. It leads to the _γ_ term of the constraint in (30). Nevertheless, in practice, this process can be simplified if the relationship between ∆ _L,max_ and _γ_ can be precomputed. Consequently, the constraint 0 _<_ _γ_ _<_ 1 can be transformed to the selection range reduction of ∆ _L,max_ if the relationship exists, see the illustration in the next section. The result of the optimization process is ∆ _L,max_, with which the robust control can be designed (21) and the supervisory algorithm (27) can be formed. VI. ILLUSTRATION OF THE DESIGNED INTEGRATED CONTROL SYSTEM The goal of this section is to evaluate the performance of the integrated control system through simulation examples. In the examples, the goal of the integrated control system is to minimize the lap time of the vehicle on a given track. The parameters of the vehicle model from the F1TENTH type of indoor test vehicle are derived [44]. The training of the RLbased control agent based on the motion of the vehicle on various tracks has been performed. The neural networks are structured in a way, that it had 3 hidden fully connected layers containing 16, 32, and 64 neurons each and ReLU activation functions. The output layer uses hyperbolic tangent activation to limit the control outputs considering the steering capabilities of the vehicle. For the input measurements of the networks, _N_ = 5 is selected with 0 _._ 5 _m_ equidistant segments, i.e., 2 _._ 5 _m_ horizon ahead of the vehicle is considered. Based on (12), the reward function is defined as _R_ ( _s, a_ ) = _−_ 0 _._ 5 _x_ <sup>2</sup> Lat _,_ err <sup>_−_</sup> 0 _._ 5 _δref_ <sup>2</sup> <sup>+ ∆</sup> <sup>_p_</sup> <sup>.</sup> The evaluation of the performance level is carried out based on two examinations. First, the optimization process for improving the performance level is illustrated, i.e., the robust control is designed and the value of ∆ _L,max_ is selected. Second, a comparative simulation presents the performance level of the control system, regarding the lap time minimization. All of the presented simulations have been performed on a desktop with an 11th-generation Intel processor. _A._ _Illustration_ _of_ _closed-loop_ _performance_ _level_ _improvement_ The optimization process in an example is illustrated, such as the tuning of the robust control and the selection of ∆ _L,max_ . The goal of the example is to select ∆ _L,max_ for minimizing cost function (29). Nevertheless, in the current optimization only the bounds on ∆ _L,Lat_ are selected, while the bounds on ∆ _L,Long_ are fixed. Thus, this illustration aims to explore the impact of ∆ _L,max,Lat_ on the performance of the controlled system. The range of ∆ _L,Lat_ is considered to be symmetric, i.e., ∆ _L,min,Lat_ = _−_ ∆ _L,max,Lat_ . In the example the track of each simulation scenario is different, as in the case of the simulation environment for computing (29). The weighting parameters of (29) are selected as _Q_ 1 = 10; _Q_ 2 = 1; _Q_ 3 _,max_ = 1000. The optimization process for finding minimum cost is performed on a grid between ∆ _L,max,Lat_ = 0 _._ 01 rad _. . ._ 0 _._ 5 rad. Around the minimum of the cost a dense grid is selected, and a tighter grid is defined. The results of the optimization process can be found in Figure 5. It can be seen that the cost value decreases with increasing ∆ _L,Lat,max_, see Figure 5(a). Its reason is that higher ∆ _L,Lat,max_ provides more possibility for approaching _u_ to _uL_ . Nevertheless, increasing ∆ _L,Lat,max_ leads to a more reduced level of robustness, i.e., the increasing of _γ_, see also Figure 5(a). Since _γ_ _<_ 1 condition must be guaranteed, ∆ _L,Lat,max_ is increased until this condition is not avoided. The tracking performance of the robust control is illustrated with its maximum lateral error, see Figure 5(b). This analysis shows that the lateral error using the robust control can be limited to a maximum value. The consequence of the analysis is the selection of ∆ _L,Lat,max_ = 0 _._ 164 rad, where _γ_ = 0 _._ 99 and max( _eLAT_ ) = 0 _._ 92 m values are achieved. Thus, in the constraint of the supervisor (27), the upper bound _emax_ = 0 _._ 92 m is built in, i.e., the performance level of the robust control on the lateral error is considered as the requested minimum performance level against the control system. 3.5 Cost (normed) 3 =1 2.5 2 1.5 1 0.5 0 0 0.1 0.2 0.3 0.4 0.5 (a) 1 0.95 0.9 0.85 0.8 0.75 0.7 0 0.1 0.2 0.3 0.4 0.5 (b) Fig. 5. Analysis of the robust control design. (a) The impact of ∆ _L,max_ on _γ_, cost (b), and on tracking performance. The impact of ∆ _L,Lat,max_ on the performance of the control along a curvy section of the exemplary track is also illustrated in Figure 6. In this case the track is fixed for each scenario to help the comparison of them. In the case of each scenario, noises are added to the measurements. The results of simulations with some different ∆ _L,Lat,max_ during the reduction of the cost are illustrated. The vehicle path with each ∆ _L,Lat,max_ selection in a curvy section of the circuit is illustrated in Figure 6(a). Increasing ∆ _L,Lat,max_ leads to the smoothing of the path, i.e., for minimizing lap time. It can also be seen in the improvement of _δ_ signal, see a time section of the simulation in Figure 6(b). The selection of ∆ _L,Lat,max_ = 0 _._ 01 leads to fluctuating lateral motion and steering angle, but at higher ∆ _L,Lat,max_ the fluctuation is eliminated. Moreover, the reduction of lap time can be perceived based on the time values of the peaks in the steering signal, e.g., one of the minima of _δ_ is around 30 s using ∆ _L,Lat,max_ = 0 _._ 01 rad, but the same minimum peak is around 28 s using ∆ _L,Lat,max_ = 0 _._ 164 rad. Figure 6(c) shows the achieved lateral error signal, whose characteristics are also smooth at increased ∆ _L,Lat,max_ value and the achievable max( _eLAT_ ) is reduced. The velocity profile at each ∆ _L,Lat,max_ selection is found in Figure 6(d), which shows that the velocity of the vehicle during the selection process is maximized. -8 -10 -12 -14 -16 -18 -20 -22 0.4 0.2 0 -0.2 -0.4 4 6 8 10 12 14 16 18 20 22 X (m) (a) 20 25 30 35 40 Time (s) (b) 1 0.5 0 -0.5 -1 20 25 30 35 40 Time (s) (c) 5 4.5 4 3.5 3 2.5 2 1.5 1 20 25 30 35 40 Time (s) (d) Fig. 6. Impact of ∆ _L,max_ on (a) vehicle trajectory, (b) steering intervention, (c) lateral error, (d) longitudinal velocity. The presented illustrations show that the performance level of the control system can be significantly improved through the optimization process. It provides an explainable method for the selection of ∆ _L,max_ from the viewpoint of the robust control design. In the rest of the paper, the designed robust control in the loop loop is built. _B._ _Illustration_ _of_ _the_ _closed-loop_ _performance_ _compared_ _to_ _application_ _of_ _LMPC_ The effectiveness of the proposed method through a comparison is illustrated. For this reason, the LMPC [31] with the available codes (github.com/urosolia/RacingLMPC) has been used. The main objective of the compared methods is to provide vehicle trajectory with minimum lap time. The reward function parameters were chosen to be _A_ = 0 _._ 1 and _B_ = 0 _._ 5, to prefer lap time over path tracking but also reduce the unwanted oscillations in the control input. The control inputs of the system are steering angle and longitudinal acceleration. The noises and disturbances in the test environment are greatly reduced compared to what is used in the training of the neural network due to the lack of robustness of the LMPC solution. The convergence of the lap times of the LMPC can be seen in Figure 7(a). In the last 20 iterations, the achieved lap time is 6 _._ 8 s. The prediction horizon of the LMPC is set to 1 _._ 4 _s_, which results in the length 4 _._ 9m at maximum vehicle velocity (3 _._ 5 m/s). The LMPC requires various information on the track to calculate the optimal input signal, e.g., track curvature with higher spatial resolution. During the comparison, all of the other parameters of the vehicle and the environment have been set to be the same in both cases. Figure 7(b) illustrates the resulted trajectories on the track, i.e., with LMPC, with (pure) RL, and with the proposed method (Supervised RL). In Figures 7(c),(d) the operation of the controllers is illustrated by showing the steering interventions and the longitudinal velocity profiles of the vehicles. In the case of pure RL intervention, a more aggressive velocity profile is achieved. In the case of the proposed method, this aggressive intervention is limited by the supervisor, i.e., steering and velocity profiles are closer to the LMPC. Some numerical results can be found in Table I, such as lap time and average computation time. The average computation time is resulted by the mean of all computation time steps, which have been performed during each simulation with the trained RL-based controller or the converged LMPC. Additionally, the computation times were in the case of the pure RL in [0 _._ 89 _,_ 2 _._ 27] ms, in the case of the Supervised RL in [4 _._ 7 _,_ 29 _._ 0] ms and in the case of the LMPC in [19 _._ 7 _,_ 24 _._ 4] ms intervals. All simulations have been performed in Python environment. The results show that the using of a pure RLbased controller without the supervisor can lead to reduced lap time and low computation time. Nevertheless, due to safety reasons, the RL-based control with the proposed robust control framework must be used. Thus, the proposed design method can lead to acceptable results, compared to the LMPC method. Fig. 7. Convergence plot of the lap time achieved by the LMPC (a). Comparison of (b) the resulting trajectories, (c) the steering angles, and (d) longitudinal velocities in case of the different controllers <u>Controller</u> <u>Lap</u> <u>time</u> <u>[s]</u> <u>Avg.</u> <u>comp.</u> <u>time</u> <u>[ms]</u> <u>RL</u> <u>5.86</u> <u>1.1</u> <u>Supervised</u> <u>RL</u> <u>6.29</u> <u>10.8</u> LMPC 6.80 21.0 TABLE I NUMERICAL RESULTS OF THE SIMULATIONS WITH LMPC COMPARISON _C._ _Illustration_ _of_ _the_ _closed-loop_ _performance_ _compared_ _to_ _application_ _of_ _MPCC_ In this section the proposed method is compared with an MPCC for Autonomous Racing from [32], which solution aims to minimize lap time. In the case of the MPCC solution, the prediction horizon has been set to 0 _._ 8 s and a similar look-ahead distance has been used in the case of the RLbased control agent. The maximal steering angle has been limited to 0 _._ 35 rad and the maximum velocity limit is selected to 3 _._ 5 m/s in the case of the RL-based control agent. The reward function parameters were chosen to be _A_ = 0 _._ 1 and _B_ = 0 _._ 1, to prefer lap time over path tracking and to reduce the oscillations in the steering angle. The reason for 25 20 15 10 5 0.4 0.2 0 -0.2 -0.4 0 10 20 30 40 Iteration [-] (a) RL Supervised RL LMPC 6 5 4 3 2 1 0 -1 -4 -2 0 2 4 X [m] (b) 3.5 RL Sup. RL LMPC 0 2 4 6 Time [s] (d) 0 2 4 6 Time [s] (c) 3 2.5 2 1.5 _B_ being different is the difference in scale of the vehicle compared to the LMPC example. During the comparison, the same vehicle model is used in the optimization and simulation, which model and the circuit are adapted from the related code [(https://github.com/alexliniger/MPCC).](https://github.com/alexliniger/MPCC) The resulting trajectories, the steering angle signal, and the longitudinal velocities are shown in Figure 8. It can be seen that each controller can navigate through the track, without leaving it. The MPCC and the RL controller result in slightly different trajectories, especially in the corners with high curvature. Nevertheless, the main objective, i.e., the value of lap time has almost the same performance level, see Table II. The reason for achieving different optima has two reasons. First, the highly nonlinear nature of the vehicle model can lead to a non-convex optimization problem, and thus, different local minima with different trajectories can be achieved. Second, in the case of the two simulations, different longitudinal controls for velocity tracking are used. Since the longitudinal velocity is limited in the own solution, a slightly larger lap time is resulted. RL Supervised RL MPCC 1.5 1 0.5 0 -0.5 -1 -1.5 0.4 0.2 0 -0.2 -0.4 6 4 2 0 -1 0 1 2 X [m] (a) RL Sup. RL MPCC 0 2 4 6 8 10 Time [s] (b) RL Sup. RL MPCC 0 2 4 6 8 10 Time [s] (c) Fig. 8. Comparison of (a) the resulting trajectories, (b) the steering angles, and (c) longitudinal velocities in case of the different controllers The largest difference between the two methods is the requested computation time, see Table II, which results correspond to runtime in Matlab environment. The average of the required computation time of one simulation step has been significantly higher in the case of the MPCC. Additionally, the computation times were in the case of the pure RL in [0 _._ 96 _,_ 2 _._ 47] ms, in the case of the Supervised RL in [4 _._ 2 _,_ 25 _._ 9] ms and in the case of the MPCC in [57 _._ 5 _,_ 171] ms intervals. Its reason is that it solves a complex nonlinear optimization task during the motion of the vehicle, which involves the nonlinear vehicle model. The computation times corresponding to the pure RL controller are significantly lower compared to the other two controllers. Nevertheless, this method can not be used because it is not able to provide a guaranteed minimum performance level in itself. <u>Controller</u> <u>Lap</u> <u>time</u> <u>[s]</u> <u>Avg.</u> <u>comp.</u> <u>time</u> <u>[ms]</u> <u>RL</u> <u>7.12</u> <u>1.2</u> <u>Supervised</u> <u>RL</u> <u>7.76</u> <u>9.7</u> MPCC 6.92 91.9 TABLE II NUMERICAL RESULTS OF THE SIMULATIONS WITH MPCC COMPARISON VII. DEMONSTRATION OF THE CLOSED-LOOP PERFORMANCE WITH IMPLEMENTATION Finally, the operation of the control system is evaluated through real-life experiments using F1TENTH 1:10 smallscaled test vehicle with a two-dimensional LiDAR for environment sensing [45]. The track has been set up using cones with 0 _._ 5 m height and environmental objects of the laboratory (e.g., walls). The area of the path covers 10 m _×_ 12 m and it is a flat polished concrete surface. The shape of the resulting track is independent of the tracks used in the training process. The test vehicle is localized on the track with a real-time LiDAR-based algorithm. It provides a measured signal on the predicted centerline to the RL-based controller because it requires ( _x, y_ ) coordinates of the centerline ahead of the vehicle, see (13). The generation process of the centerline contains the following steps. First, the raw LiDAR measurements are converted into a distance image, where every pixel has a value of the distance of the closest measurement point to it. Second, the measured point cloud is filtered to exclude points, which are not resulted by the cones. Third, the numerical gradient magnitude of the image is calculated using the Sobel gradient operator [46]. The centerline is considered to be there, where the gradients have local maxima. Fourth, the centerline is converted into a 1-pixel wide curve using skeletonization [47]. Finally, the resulting pixel coordinates are transformed back to metric coordinates and a spline is fitted into the points to get a continuous line. A comparison of vehicle trajectories with the supervised and the pure RL-based controls can be seen in Figure 9(a). In the demonstration scenario the reward function parameters are selected as _A_ = 0 _._ 1 and _B_ = 0 _._ 5 to prefer lap time minimization and to eliminate the oscillations in the steering angle as much as possible without performance degradation. It can be seen that without the supervisor the pure RL-based controller is only able to navigate one full lap and fails on the second by leaving the track. It can be avoided through lateral error prediction of the supervisor, with which the vehicle can complete both laps safely. The control actions in the two cases are shown in Figures 9(b)-(c). It can be seen that the supervised system selected a reduced velocity profile on the track, resulting in safer maneuvering. In the case of the pure RL-based control, the last turn just before the end of the track was critical, the chosen velocity was high, and the lateral acceleration increased the roll angle significantly resulting in inaccurate LiDAR measurements and an uncertain positioning. The control action signals show significant oscillation around 10s, which is the consequence of the inappropriate velocity selection. The oscillation in steering intervention resulted in oscillations in the vehicle motion, which led to track departure in the next bend. In the case of the supervised system, the lateral acceleration is limited, i.e., safe motion and trackkeeping were guaranteed. From the viewpoint of lap times, the first lap on the track can be compared. In the case of the pure RL-based control, the achieved minimum lap time is 11 _._ 05 s, and in the case of the supervised control, it has 14 _._ 24 s value. Although the lap time with the supervisor is increased, the safe vehicle motion during the entire maneuvering can be guaranteed. Figures 9(d)-(e) show the operation of the supervised control by comparing the candidate inputs of the RL-based agent and the robust controller. Moreover, the resulting supervised control input is also illustrated. The illustrations show that in the case of lateral control, the actions of the RL-based agent were accepted most of the time by the supervisor, but, in the longitudinal intervention the selection of the safe velocity profile was dominant. VIII. CONCLUSIONS The paper has proposed a robust control design method, which is aided by a learning process. The proposed control strategy has been evaluated via a demonstration on motion optimization. The effectiveness of the method has been presented through comparisons and implementation on a test vehicle. The comparative analysis has shown that the achieved performance level on lap time minimization is close to the LMPC and MPCC-based solutions, but the requested average computation time has been significantly reduced. The results comparisons have illustrated the advantage of modular control structure, i.e., the reduction of computation time is resulted by the separation of the complex control design problem. Moreover, the consequence of the demonstration on a test vehicle is that the proposed control system can be effectively implemented and the achieved results are in line with the simulation-based results. The test scenario has shown that even if the control interventions of the RL agent result in unsafe motion, the supervisory structure can avoid dangerous situations, i.e., leaving the track. One of the most important future challenges of the proposed method is to enhance the control framework to be able to handle dynamic obstacles on the road, e.g., the motion of pedestrians or other vehicles. It can require the reformulation of the supervisor to consider the stochastic nature of human motion. Moreover, a further challenge is to develop a systematic method to select the bounds in the supervisor, with which method the achieved performance level can be improved. It can Fig. 9. Estimated trajectories and LiDAR measurements on the track (a). Control inputs in the test scenario: (b) steering angles, (c) reference velocities. Control components of the supervised control intervention at steering angle (d) and reference velocity (e). require the modification of the control design and the training process, i.e., to find a joint design process for them. Since these control elements have different mathematical structures, their integration on the level of design can pose further theoretical challenges. (a) 0.4 0.2 0 -0.2 -0.4 Pure RL-based control Supervised control 0 5 10 15 Time [s] (b) 3.5 3 2.5 2 1.5 1 0.5 Pure RL-based control Supervised control 0 0 5 10 15 Time [s] (c) 4 Supervised control RL-based agent Robust controller 3 2 1 0 0 5 10 15 Time [s] (e) 0.4 0.2 0 -0.2 -0.4 Supervised control RL-based agent Robust controller 0 5 10 15 Time [s] (d) APPENDIX LIST OF SYMBOLS AND NOTATIONS _u_ Actual control signal _uL_, _uR_ Control signal candidate of the learning-based and robust controller ∆ _L_ Output of the supervisor, an addition to the robust control signal _yL_, _yR_, _yS_ Measurements of the learning-based, robust controller and supervisor _m_, Θ _z_ Inertial parameter of the vehicle model, mass and moment of inertia _b_ Viscous damping _C_ Cornering stiffness _α_ Lateral slip angle _vx_, _vy_ Local velocities _Vx_, _Vy_ Global velocities _ψ_ Orientation of the vehicle _δ_ ref, _δ_ Reference and actual steering angle _Tδ_ Steering dynamics parameter _Fz_ Vertical force on the tires _F_ lat Lateral tire force _Bt_, _Ct_, _Dt_, _Et_ Pacejka tire characteristic parameters _θ_ Actor network parameter vector _πθ_ Policy function (probability distribution) _st_ Environment sate at time step _t_ _at_ Action at time step _t_ _τt_ A trajectory of state and action sequences starting from time step _t_ _γ_ d Discount factor in the return calculation _M_ Horizon length in the return calculation _R_ Reward function _R_ Return, the finite-horizon discounted return _V_ Value function _A_, _A_ <sup>ˆ</sup> Advantage and advantage estimate _T_ Trajectory length in advantage estimation _rt_ Probability ratio _L_ Objective function of RL training _ϵ_ Clip parameter of PPO _A_, _B_ Reward function parameters ∆ _p_ Progress along the centerline in the last time step _x_ lat _,_ err Lateral path tracking error of the vehicle _xi_, _yi_ Local coordinates of points on the path _N_ Number of path points in neural network input _A_, _B_, _C_, _D_, State space matrices in the robust control design _zK_ Performance vector in robust control design _yK_ Measurement vector in robust control design _P_ pred _,T_ Predicted vehicle position _e_ lat _,T_ Predicted lateral error _e_ max Maximal allowable lateral error _J_ Cost function of ∆L bound optimization _Q_ 1, _Q_ 2, _Q_ 3, Cost function parameters REFERENCES [1] J. Kabzan, L. Hewing, A. Liniger, and M. N. Zeilinger, “Learning-Based Model Predictive Control for Autonomous Racing,” _IEEE_ _Robotics_ _and_ _Automation_ _Letters_, vol. 4, no. 4, pp. 3363–3370, 2019. [2] C. D. McKinnon and A. P. Schoellig, “Learn fast, forget slow: Safe predictive learning control for systems with unknown and changing dynamics performing repetitive tasks,” _IEEE_ _Robotics_ _and_ _Automation_ _Letters_, vol. 4, no. 2, pp. 2180–2187, 2019. [3] U. Rosolia and F. Borrelli, “Learning How to Autonomously Race a Car: A Predictive Control Approach,” _IEEE Transactions on Control Systems_ _Technology_, vol. 28, no. 6, pp. 2713–2719, 2020. [4] M. Fliess and C. Join, “Machine learning and control engineering: The model-free case,” in _Proceedings of the Future Technologies Conference_ _(FTC) 2020, Volume 1_, K. Arai, S. Kapoor, and R. Bhatia, Eds. Cham: Springer International Publishing, 2021, pp. 258–278. [5] B. N´emeth and P. G´asp´ar, _Guaranteed_ _Performances_ _for_ _Learning-_ _Based_ _Control_ _Systems_ _Using_ _Robust_ _Control_ _Theory_ . Cham: Springer International Publishing, 2021, pp. 109–142. [6] O. Sename, “Review on LPV approaches for suspension systems,” _Electronics_, vol. 10, no. 17, p. 2120, Aug 2021. [7] Y. Bao and J. Mohammadpour Velni, “An Overview of Data-Driven Modeling and Learning-Based Control Design Methods for Nonlinear Systems in LPV Framework,” in _Joint_ _8th_ _IFAC_ _Symposium_ _on_ _System_ _Structure and Control, 17th IFAC Workshop on Time Delay Systems, 5th_ _IFAC_ _Workshop_ _on_ _Linear_ _Parameter_ _Varying_ _Systems_, 2022. [8] S. Nageshrao, Y. Rahman, V. Ivanovic, M. Jankovic, E. Tseng, M. Hafner, and D. Filev, _Robust_ _AI_ _Driving_ _Strategy_ _for_ _Autonomous_ _Vehicles_ . Cham: Springer International Publishing, 2023, pp. 161–212. [9] S. Khosravani, A. Khajepour, B. Fidan, S.-K. Chen, and B. Litkouhi, “Development of a robust vehicle control with driver in the loop,” in _2014_ _American_ _Control_ _Conference_, 2014, pp. 3482–3487. [10] Y. Chen, X. Zhang, and J. Wang, “Robust vehicle driver assistance control for handover scenarios considering driving performances,” _IEEE_ _Transactions on Systems, Man, and Cybernetics: Systems_, vol. 51, no. 7, pp. 4160–4170, 2021. [11] K. Shao, J. Zheng, K. Huang, M. Qiu, and Z. Sun, “Robust model referenced control for vehicle rollover prevention with time-varying speed,” _International journal of vehicle design_, vol. 85, no. 1, pp. 48–68, 2021. [12] S. Br¨uggemann and C. Possieri, “On the use of difference of log sum-exp neural networks to solve data-driven model predictive control tracking problems,” _IEEE_ _Control_ _Systems_ _Letters_, vol. 5, no. 4, pp. 1267–1272, 2021. [13] W. He, Z. Yan, Y. Sun, Y. Ou, and C. Sun, “Neural-learning-based control for a constrained robotic manipulator with flexible joints,” _IEEE_ _Transactions on Neural Networks and Learning Systems_, vol. 29, no. 12, pp. 5993–6003, 2018. [14] M. Zhang, X. Wang, D. Yang, and M. G. Christensen, “Artificial neural network based identification of multi-operating-point impedance model,” _IEEE Transactions on Power Electronics_, vol. 36, no. 2, pp. 1231–1235, 2021. [15] S. Kuutti, R. Bowden, Y. Jin, P. Barber, and S. Fallah, “A survey of deep learning applications to autonomous vehicle control,” _IEEE Transactions_ _on Intelligent Transportation Systems_, vol. 22, no. 2, pp. 712–733, 2020. [16] W. Ruan, X. Huang, and M. Kwiatkowska, “Reachability analysis of deep neural networks with provable guarantees,” 2018. [17] X. Huang, M. Kwiatkowska, S. Wang, and M. Wu, “Safety verification of deep neural networks,” 2017. [18] M. Wu, M. Wicker, W. Ruan, X. Huang, and M. Kwiatkowska, “A game based approximate verification of deep neural networks with provable guarantees,” _Theoretical_ _Computer_ _Science_, vol. 807, pp. 298–329, Feb 2020. [19] J. O. Pedro, M. Dangor, O. A. Dahunsi, and M. M. Ali, “Dynamic neural network-based feedback linearization control of full-car suspensions using PSO,” _Applied_ _Soft_ _Computing_, vol. 70, pp. 723–736, 2018. [20] B. Varga, B. Kulcs´ar, and M. H. Chehreghani, “Deep Q-learning: A robust control approach,” _International Journal of Robust and Nonlinear_ _Control_, vol. 33, no. 1, pp. 526–544, 2023. [21] B. N´emeth and P. G´asp´ar, “Ensuring performance requirements for semiactive suspension with nonconventional control systems via robust linear parameter varying framework,” _International_ _Journal_ _of_ _Robust_ _and_ _Nonlinear_ _Control_, vol. 31, no. 17, pp. 8165–8182, 2021. [22] Y. Bao and J. M. Velni, “Safe control of nonlinear systems in LPV framework using model-based reinforcement learning,” _International_ _Journal_ _of_ _Control_, vol. 96, no. 4, pp. 1079–1090, 2023. [23] S. D. Kumaravel, A. A. Malikopoulos, and R. Ayyagari, “Optimal coordination of platoons of connected and automated vehicles at signalfree intersections,” _IEEE_ _Transactions_ _on_ _Intelligent_ _Vehicles_, vol. 7, no. 2, pp. 186–197, 2022. [24] C. Sun, J. Guanetti, F. Borrelli, and S. J. Moura, “Optimal eco driving control of connected and autonomous vehicles through signalized intersections,” _IEEE_ _Internet_ _of_ _Things_ _Journal_, vol. 7, no. 5, pp. 3759– 3773, 2020. [25] K. Han, N. Li, E. Tseng, D. Filev, I. Kolmanovsky, and A. Girard, “Improving autonomous vehicle in-traffic safety using learning-based action governor,” _Advanced_ _Control_ _for_ _Applications_, vol. 4, no. 2, p. e101, 2022. [26] L. Shaoshan, _Engineering_ _Autonomous_ _Vehicles_ _and_ _Robots:_ _The_ _Drag-_ _onFly_ _Modular-based_ _Approach_ . Wiley-IEEE Press, 2020. [27] P. Karkus, B. Ivanovic, S. Mannor, and M. Pavone, “Diffstack: A differentiable and modular control stack for autonomous vehicles,” in _6th_ _Annual_ _Conference_ _on_ _Robot_ _Learning_, 2022. [28] S. Broere, J. Van Kampen, and M. Salazar, “Minimum-lap-time control strategies for all-wheel drive electric race cars via convex optimization,” in _2022_ _European_ _Control_ _Conference_ _(ECC)_, 2022, pp. 1204–1211. [29] N. D. Bianco, E. Bertolazzi, F. Biral, and M. Massaro, “Comparison of direct and indirect methods for minimum lap time optimal control problems,” _Vehicle System Dynamics_, vol. 57, no. 5, pp. 665–696, 2019. [30] A. Jain and M. Morari, “Computing the racing line using bayesian optimization,” 2020. [31] U. Rosolia and F. Borrelli, “Learning how to autonomously race a car: A predictive control approach,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 28, no. 6, pp. 2713–2719, 2020. [32] L. Hewing, A. Liniger, and M. N. Zeilinger, “Cautious NMPC with gaussian process dynamics for autonomous miniature race cars,” in _2018_ _European_ _Control_ _Conference_ _(ECC)_ . IEEE, jun 2018. [33] A. Lelk´o, B. N´emeth, D. F´enyes, and P. G´asp´ar, “Integration of robust control with reinforcement learning for safe autonomous vehicle motion,” in _IFAC_ _World_ _Congress_, 2023. [34] A. C. Marosi, M. Em˝odi, A. Farkas, R. Lovas, R. Beregi, G. Pedone, B. N´emeth, and P. G´asp´ar, “Toward reference architectures: A cloudagnostic data analytics platform empowering autonomous systems,” _IEEE_ _Access_, vol. 10, pp. 60 658–60 673, 2022. [35] R. Rajamani, “Vehicle dynamics and control,” _Springer_, 2005. [36] H. B. Pacejka, _Tyre_ _and_ _vehicle_ _dynamics_ . Oxford: Elsevier Butterworth-Heinemann, 2004. [37] J. Schulman, P. Moritz, S. Levine, M. Jordan, and P. Abbeel, “High dimensional continuous control using generalized advantage estimation,” 2018. [38] J. Schulman, S. Levine, P. Moritz, M. I. Jordan, and P. Abbeel, “Trust region policy optimization,” 2017. [39] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, “Proximal policy optimization algorithms,” 2017. [40] O. Sename, P. G´asp´ar, and J. Bokor, _Robust_ _Control_ _and_ _Linear_ _Parameter_ _Varying_ _Approaches_ . Springer Verlag, Berlin, 2013. [41] C. Scherer and S. Weiland, _Lecture_ _Notes_ _DISC_ _Course_ _on_ _Linear_ _Matrix_ _Inequalities_ _in_ _Control_ . Delft, Netherlands: Delft University of Technology, 2000. [42] S. Boyd, L. E. Ghaoui, E. Feron, and V. Balakrishnan, _Linear_ _Matrix_ _Inequalities_ _in_ _System_ _and_ _Control_ _Theory_ . Philadelphia: Society for Industrial and Applied Mathematics, 1997. [43] J. Villagra, B. d’Andr´ea Novel, M. Fliess, and H. Mounier, “A diagnosis based approach for tire-road forces and maximum friction estimation,” _Control_ _Engineering_ _Practice_, vol. 19, no. 2, pp. 174–184, 2011. [44] V. S. Babu and M. Behl, “f1tenth.dev - An Open-source ROS based F1/10 Autonomous Racing Simulator,” in _2020 IEEE 16th International_ _Conference_ _on_ _Automation_ _Science_ _and_ _Engineering_ _(CASE)_, 2020, pp. 1614–1620. [45] M. O’Kelly, H. Zheng, D. Karthik, and R. Mangharam, “F1TENTH: An Open-source Evaluation Environment for Continuous Control and Reinforcement Learning,” in _Proceedings_ _of_ _the_ _NeurIPS_ _2019_ _Compe-_ _tition_ _and_ _Demonstration_ _Track_, ser. Proceedings of Machine Learning Research, H. J. Escalante and R. Hadsell, Eds., vol. 123. PMLR, 08–14 Dec 2020, pp. 77–89. [46] R. C. Gonzalez and R. E. Woods, _Digital_ _image_ _processing_ . Upper Saddle River, N.J.: Prentice Hall, 2008. [47] T.-C. Lee, R. L. Kashyap, and C.-N. Chu, “Building skeleton models via 3-D medial surface/axis thinning algorithms,” _CVGIP:_ _Graph._ _Models_ _Image_ _Process._, vol. 56, no. 6, pp. 462–478, nov 1994. Attila Lelk´o is a young research fellow of the Institute for Computer Science and Control (SZTAKI), Hungarian Research Network (HUN-REN), and also the Ph.D. student at Budapest University of Technology and Economics (BUTE). He received his M.Sc. degree in electrical engineering from BUTE in 2021 and in mechanical engineering modelling from BUTE in 2022. His research area is the reliability of neural network-based systems, design of reinforcement learning-based control methods, and the integration of neural networks and model-based control, in relation to autonomous vehicles. Bal´azs N´emeth has been a senior research fellow of the Institute for Computer Science and Control (SZTAKI), Hungarian Research Network (HUNREN) since 2007. He received his Ph.D. degree in transportation sciences from Budapest University of Technology and Economics in 2013. He also received his habilitation degree from Budapest University of Technology and Economics in 2023. His most important research areas: coordinated control design, autonomous vehicle systems, nonlinear analysis and synthesis of control systems.

섹션 본문 108문단 · 60,115자

Optimal Motion Design for Autonomous Vehicles

2With Learning Aided Robust Control Attila Lelkó and Balázs Németh , Member, IEEE Abstract-This paper presents a control design framework for the integration of robust controller and reinforcement learningbased (RL) control agent.The proposed integration method is applied to motion control of autonomous road vehicles, providing safe motion.The RL-based control agent is used to determine the steering angle and reference velocity of the vehicle to achieve highperformance motion.The chosen reward function is used to achieve different driving behaviors, e.g.high-velocity motion with minimal lap time, path following, or the limitation of control energy.The RL-based control through Proximal Policy Optimization method during episodes is performed.Safe motion is achieved by using a supervisory control framework which is based on the robust H ∞ control method, and able to keep limits on lateral path tracking error.The effectiveness of the proposed control through simulation examples with comparisons to predictive control methods is illustrated.Moreover, the applicability of the method through a real-life test scenario on a small-scaled test vehicle is demonstrated.

3Index Terms-Robust H ∞ control with learning, autonomous vehicles, motion optimization.

I. INTRODUCTION AND MOTIVATION

4V ARIOUS performance specifications are posed against autonomous vehicles, which must be guaranteed by the control systems.Usually, there are primary performance specifications, which must be kept due to safety reasons, such as guaranteeing vehicle motion stability, reliability, or keeping different traffic regulations.Moreover, several further non-safety performance specifications can be defined, which have lower priority, e.g., providing passenger comfort, achieving economic motion, minimization of traveling times, etc.

5In recent years various solutions to guarantee performance requirements of autonomous vehicles with control design have been proposed.One group of the solutions is to enhance the achieved performance level using the data-driven extension of the classical control tools, e.g., Model Predictive Control (MPC, see [1], [2], [3]), model-free control (MFC, see [4]), robust and Linear-Parameter Varying (LPV, see [5], [6], [7]) methods.Using these methods enhanced performance levels on comfort and energy consumption can be achieved, and similarly, the safety performance level of the autonomous vehicles might also be handled [8].Robust control tools have high relevance in the context of autonomous vehicles, as various noises, disturbances, and unmodeled dynamics may arise during vehicle motion.The impacts of these unwanted effects can be handled using robust design methods, e.g., in [9] a robust controller has been designed in a Driver-in-the-Loop scenario.In paper [10] robust driver assistance system for handover scenarios has been demonstrated, or [11] has proposed an MPC solution for achieving rollover prevention.The classical vehicle control solutions may have the disadvantage that generally they are based on simplified control-oriented models that result from dynamic relationships.Although robust vehicle control synthesis techniques can handle some types of uncertainties they might fall behind the data-driven methods in case of high-level performance requirements.

6Using a large number of measurement data on the system and applying data-based adaptive methods leads to another group of solutions.Addressing performance problems involves the implementation of learning-based techniques, particularly those utilizing neural networks and deep learning, within a control framework.The advantage of these methods is that the neural network can be trained with a large amount of data obtained from the actual operation of the vehicle, thus achieving the optimal solution of the vehicle control problem [12].The effectiveness of neural networks in control applications has been investigated in different studies, e.g., [13], [14].A survey on deep learning applications in vehicle control has been presented by [15].Nevertheless, a disadvantage of using neural-network-based methods in safety critic applications is the lack of theoretical guarantees on safety performances.Neural networks are usually highly complex systems designed by a numerical optimization using a finite set of data of the problem, and the result of the training is rated statistically.All possible scenarios cannot be included in the training set and the generalization of the network is hard to validate.This challenge motivated research to provide analysis techniques on the performance evaluation of neural-network-based control systems, e.g., papers [16], [17], [18] focus on the verification of the designed networks.Despite the achieved results, the developed solutions are valid for special cases concerning the control problem or the structure of the neural network, i.e., limiting their applications in general.

7The disadvantages of the previous two groups of solutions have led to the development of integrated methods, in which classical model-based control techniques and learning-based approaches are incorporated simultaneously.The integration aims to combine these two solutions to achieve the high performance of learning-based methods, and also the robustness and reliability of classical techniques [5].The integration on various levels of autonomous vehicle control can be achieved.Advanced vehicle modeling frameworks have been developed, which involve data processing on the step of model formulation, e.g., through closed-loop matching [19].Focusing on the step of control design, it has been provided design frameworks, in which classical and learning-based control solutions jointly have been involved, e.g., robust [20] and LPV control with neural networks [21], or [22] has proposed a safe model-based reinforcement learning method to achieve control for LPV systems.Furthermore, data can be incorporated in the control design for coordinating multiple unmanned vehicles [23].The benefits of data-aided control on this level are reduced energy consumption or transportation network load [24], [25].

8The brief literature overview shows that lots of efficient results in the integration of classical and learning-based methods have been achieved.Nevertheless, a limitation of the results is that most of them have fixed structures on the control design or the learning process.Since modularity is a crucial aspect of control design for autonomous vehicles (see e.g., [26], [27]), the control design method is proposed to employ independent design of both learning-based and robust control.This concept achieves the integration of the two controllers through a supervisor [5].This paper aims to present an integrated vehicle control strategy based on the previous concept, with which longitudinal and lateral controls are designed.For achieving high-performance motion of the vehicle, reinforcement learning (RL) is used.For guaranteeing safe motion, robust control based on the H ∞ method and a supervisor based on quadratic programming are used.The result of the design process is a control system, which calculates both longitudinal and lateral control inputs of the vehicle.

9The control design process is presented to optimize the motion of the autonomous vehicle, focusing on minimizing lap time.This problem has been chosen because there are several methods available for its solution, which provide a basis for comparison.For example, [28] investigates the effect of all-wheel drive on achievable lap time via convex optimization.Different optimal control methods for achieving minimum lap time are compared in [29], and a fast Bayesian optimization is shown in [30].These methods are for offline calculation on a given track to be used for path tracking.Learning Model Predictive Control (LMPC) solution for small-scaled test vehicles is proposed in [3].The aim of LMPC is to learn the terminal cost and terminal set during the motion of the vehicle for achieving enhanced motion capabilities.Paper [31] proposes a Model Predictive Contouring Controller (MPCC) solution with Gaussian Process to control miniature race cars and achieve significant lap time reduction compared to a baseline controller.In this solution, the lap time minimization is built into the MPCC optimization problem, and computes the optimal interventions online, and it is able to adapt to different racetracks.Although MPC-based solutions can improve lap time efficiency, their disadvantage is the increased computation time in the cases of nonlinear vehicle models and large prediction horizons.Consequently, in this paper a novel solution to the problem of lap time minimization is provided.The contributions of the paper to the state-of-the-art solutions and the existing own preliminary solution [32] are twofold.First, the training of learning-based and the design of model-based controllers are independent processes, but their results are built into the control structure simultaneously.Second, the effectiveness of the integrated control through comparative simulations and demonstrations on a small-scaled indoor test vehicle is presented.

10The paper is organized as follows.The concept of the learningaided robust control is introduced in Section II.The design process of the RL-based control design, together with the formulation of the applied vehicle model is found in Section III.The design of the robust H ∞ control and the computation of the safe velocity profile are presented in Section IV.The design of the supervisor for connecting RL-based control and robust control is proposed in Section V.That section also contains the optimization process of the control loop for achieving enhanced performance level.In Section VI the proposed control method is evaluated, i.e., the enhancing process of the control loop and comparisons for existing MPC-based solutions are found.Section VII details the process of control implementation on a small-scaled test vehicle, together with the demonstration of a test scenario.Finally, the paper is summarized and the future challenges are proposed in Section VIII.Moreover, at the end of the paper, Table III contains the list of notations.

II. OVERVIEW ON THE CONCEPT OF LEARNING-AIDED ROBUST CONTROL DESIGN

11The goal of this overview is to briefly introduce the concept of our proposed robust control design method.The scheme of the control architecture can be found in Fig. 1.The architecture contains three main elements, such as the robust control, the supervisor, and the reinforcement learning (RL) based agent.The role of the robust control and the supervisor is to guarantee safety performance requirements, i.e., these two elements together guarantee a functionality, which is similar to the safety Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

12filter.The role of the RL-based agent is to improve the safety and non-safety performance levels of the control system, which improvement is achieved through a training process.During the operation of the system, all of these elements operate simultaneously, and the control input (u) is computed through the output of the supervisor (Δ L ) and the output of the robust control (u R ), such as

13where

14The idea behind the concept is as follows.The output of the RL-based controller (u L ) is considered to be a candidate control input of the system.A dynamical representation of the system in the design of the robust control is incorporated, which results in the reference control input u R .The reason of robustness is that u is not necessarily equal to u R , and thus, [Δ L,min ; Δ L,max ] domain of Δ L addition in the design of the robust control is considered as an uncertainty.Using u L , u R and measurements on the system (y S ), the supervisor has to select Δ L .This selection leads to a constrained optimization task.The objective of the optimization is to minimize u(Δ L ) − u L 2 2 , i.e., u must be as close as possible to u L for achieving high performance level in the operation.Nevertheless, this selection is constrained by the bounds of Δ L , which means that u is in the predefined neighborhood of u R .Moreover, the selection can also be constrained by further criteria, e.g., the predicted tracking error, resulting by u.

15The design of the proposed control architecture has the following steps.First, the robust control with predefined bounds on Δ L is designed.Second, the optimization process in the supervisor is formulated.The optimization during the operation of the control system is solved in each step.Third, the environment for the RL process is constructed, which environment contains the designed robust control, the supervisor, and the system itself.Fourth, the RL process using the constructed environment is performed.The resulting neural network after the learning process can be used, and thus, the requested computation time is reduced during the operation of the control system.

16The proposed control concept has some connections to the MPC-based safe learning approaches, which connections provide motivation for comparison to different existing solutions.The most important connection is the formulated constrained optimization task in the supervisor.Despite the MPC method, this optimization does not contain terminal set and terminal cost terms.Their roles are built in the robust control, which provides the reference control input.Thus, the safe set of states is determined by the controllability set of the robust control, which set is further constrained by the supervisor.

17From the other side, the learning task is also out of the supervisor, because this task is involved in the RL-based control.Consequently, it may require reduced real-time computation effort compared to methods relying mostly on MPC with complex nonlinear models, which is supported by the performed tests on the control framework.Moreover, the separation of different tasks into different elements, such as learning and guaranteeing safety, can provide a modular architecture.It may provide the possibility of replacing the RL-based controller or the robust controller (e.g., through an updating process) without a comprehensive redesign process on the entire control loop.Modularity also provides the possibility of separating physically each element, e.g., the RL-based agent can be implemented on the cloud, while the supervisor and the robust control on the physical device can be found [33].Another benefit of the method is that the design of the robust control and the formulation of the supervisor are independent of the internal structure of the RL-based agent.Consequently, other types of agents can also be used, e.g., supervised learning [21].Therefore, the proposed control structure can be compatible with the application of machine-learning-based techniques, which compatibility may increase the number of application areas of the proposed method, e.g., y L can contain video frames.

III. DESIGN OF RL-BASED AGENT FOR AUTONOMOUS VEHICLE CONTROL

18In this section, the design method of the learning-based controller is detailed for handling longitudinal and lateral dynamics.First, the vehicle model is formulated for control purposes and second, the training process is presented.Third, the impact of reward function selection on the achievable performance level of the learning-based control is analyzed.

A. Formulating Vehicle Model for Integrated Control Purposes

19The design of motion control for autonomous vehicles requests the formulation of their dynamic models.The model has three purposes in the integration, and thus, it depicts the validity of the control operation, i.e., inside of the validity of the selected vehicle model.First, the motion model is used for the training of RL-based agents, i.e., it serves as a part of the learning environment.Second, the motion model can have a crucial role in the design of the robust control, due to its model-based property.Third, it can be built in the supervisor to form vehicle-safety-oriented conditions in the constrained optimization problem.All of these tasks require a limited complexity vehicle model, i.e., to avoid insufficiently long training process, numerical difficulties in the robust control design, or slow real-time running performance in the solution of the supervisory optimization process.Therefore, in this paper, a simplified dynamical two-wheel dynamical motion model is formed [34].In the cases of robust control and supervisor design, the formulated vehicle model contains linear tire-force characteristics, such as:

20where F drive is the driving force, b is a coefficient of friction in the longitudinal velocity, C is the cornering stiffness, α F and α R are tire side-slips at the front and rear tires respectively, and L is the length of the wheelbase.Tire side-slip angles and v y lateral velocity can be expressed as the functions of yaw rate ψ, steering angle δ, and v x .Relations in ( 2) can be used in the Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

21robust control design and within the supervisory optimization, resulting in local velocities in the frame of vehicle reference and the yaw angle ψ, which can be integrated to estimate the path tracking error.The longitudinal and lateral velocity components of the vehicle in a global coordinate system are calculated as

22which can be used for computing the position of the vehicle through the integration of V x , V y .

23For learning purposes, it is possible to slightly improve the complexity of the model, i.e., steering dynamics and nonlinear tire-force characteristics are formulated.Its reason is that the training process is carried out offline, and thus, the nonlinear model is not required to run during the control process.The dynamics of the steering mechanism a simple low-pass filter is introduced on the steering angle:

24where δ ref is the reference steering angle signal, and T δ is the steering model parameter for scaling its time response characteristics.Moreover, the model for the learning process is improved with the Pacejka tire-force model [35].The tire force is calculated as

25where F z is the vertical force acting on a specific tire, B t , C t , D t and E t are constant tire model parameters and α i is the tire lateral slip angle on the front or rear axle.Lateral tire force formulation (5) is built in the simulation environment that is used for training and control design purposes.

B. Training Process of the RL-Based Agent

26The goal of the training process is to design a neural network agent for control purposes, with two outputs corresponding to the reference velocity and the steering angle of the vehicle.The training process is performed in an RL-based framework using the Proximal Policy Optimization (PPO) algorithm.

27The target of the training process is to maximize a predefined reward function, during the interaction of the agent with its dynamic environment through actions.The action of the agent is determined by sampling from a probability distribution, i.e., policy π θ (•|s).The policy is represented by an actor neural network with parameter vector θ and the observed state of the environment s.Every time step t the reward is computed as a function of the environment state and of the action, chosen by the agent R(s t , a t ), where s t is the environment state and a t is the chosen action at time step t.Given a state-action trajectory τ t = (s t , a t , s t+1 , a t+1 . . .), the finite-horizon discounted return is the discounted sum of the rewards, collected by the agent starting from state s t at time step t and following the policy:

28where γ d is a discount factor.It is used to exponentially decrease the importance of future rewards compared to the present reward along a horizon with M steps.Another term in the training is the value of a state, which is the expected return starting from state s t and acting according to the policy:

29where the expected value is required, if the environment or the policy contains stochastic elements.In the PPO algorithm, the value function is represented by an independent critic neural network, which is trained separately using past experience on the achieved returns.The expected value of the states is calculated based on the information gathered in previous episodes of the training.After a predetermined number of episodes or time steps, the achieved τ t trajectories are collected.Using this information the return values are calculated by discounting the rewards corresponding to each trajectory, see (6).If different values are achieved starting from the same state (e.g., due to the stochastic nature of the environment or the agent), the mean of these values is calculated.

30The agent learns through interactions with the environment.During these interactions different actions are taken, different environment states are observed and rewards are collected.The goodness of an action is determined relative to past experiences using the advantage of that action.The advantage of action a t describes how much better is to take that specific action in state s t compared to acting corresponding to the policy.The advantage function A(s, a) determines the advantage of action a in the state s.

31In practice, it can be difficult to determine the exact value of the advantage function, but different methods are available for estimation purposes, e.g., Generalized Advantage Estimation in [36].After simulating the environment for T time steps, the estimation is as follows:

32The first two terms of this expression are the discounted return starting from state s t based on the collected experiences, and the third term is the estimated value of state s t .In this way, the advantage is estimated by the realized and the expected return of state s t .The value of V (s t ) is computed by the critic network, which is trained using past experiences.If during the simulation a state-action sequence is found where Â(s t , a t ) > 0, then this sequence is considered to be better expected.Consequently, the probability of such sequences appearing during further interactions should be increased, because they lead to larger rewards.

33During the training iterations, the parameter vector of the actor network is constantly changing as a result of the parameter updates.This leads to different policy functions for every update.The ratio of the probability of action a t using the actual and the old policy is denoted by:

34Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

35The goal is to increase the probability of actions with positive advantage and to decrease the probability of actions with negative advantage.This goal is expressed using the following surrogate objective function:

36where the expected value is related to the different state-action trajectories starting from state s t .The problem with the surrogate objective function is that without constraints it would lead to excessively large policy updates.This is addressed by Trust Region Policy Optimization (TRPO) by limiting Kullback-Leibler divergence [37] or the PPO method by using a clipped surrogate objective function [38].The algorithm described in this paper uses the PPO method in the optimization.The reason behind this selection is its fast training capability compared to TRPO [38].

37The clipped surrogate objective function in the case of the PPO algorithm is formed as:

38where is a hyperparameter of the algorithm.The above objective uses the simplified clip() function to avoid large policy updates, this way it is significantly faster to compute a policy update.

39Improvement of the performance level by the RL-based agents can be achieved through reward functions.At every step of the environment, the reward is calculated, based on the reward function of the agent.The simple parametric reward function in the vehicle control task is formed as

40where x Lat,err is the lateral path tracking error, Δp is the progress along the centerline since the last time step using an appropriate metric.During training, if the vehicle leaves the track a large punishment through reward functions is applied, but the current episode is not terminated.Thus, the agent can experience situations, which are considered potentially dangerous in a real-life scenario and may learn to solve these situations by navigating back to the track as fast as possible.

41The training process is performed through simulation episodes, in which the vehicle must move on given tracks.During the training process, the motion of the vehicle model along various tracks is simulated, together with the consideration of the actual learning-based agent.The closed tracks are generated from track primitive elements, such as straight sections and bends with different curvatures.In every training scenario, Gaussian noise is added to the agent observations to address the uncertainty of the real-life positioning system.This noise is scaled with the distance from the vehicle, resulting in larger uncertainties of track points farther ahead.The expectation against the training process is that the long-term reward is increased.

42The inputs of the networks consist of measurements on the track in the neighborhood of the vehicle, which is the position of N number of equidistant points of the track centerline ahead.This results in an input vector of

43where the coordinates are in the local coordinate system of the vehicle, x denotes the local longitudinal direction (forward), y is the local lateral direction (left), and the indices correspond to the order of the points.Although the selection of K for a long horizon can result in highly efficient control intervention due to the lots of information on the track, it can overcomplicate the neural network and consequently, training time is significantly increased, and extracting high definition information on the track on long distances can be challenging in real-life applications.Therefore, K is recommended to be selected depending on the bend curvatures on the track, i.e., the requested minimum lookahead distance, which determines the actual selection of δ and v x , considering the measurement method used to estimate the points of the centerline.

44In the training environment, several noises and disturbances are included to increase the achieved generality and robustness of the trained agent.Additional action noise is included which is a required part of the training process.The estimation of the centerline has uncertainty in a real application, i.e., it is modeled by a noise added to the neural network input, which is proportional to the distance from the vehicle.Communication and hardware delays are modeled into the environment via a constant time delay of the control input.Additionally, the parameters of the vehicle model change slightly during the training process.

C. The Effect of Parameter Selection in Reward Functions

45The driving behavior of the agents is significantly influenced by the weights of the reward function.The most typical example is if one chooses weight A large, then the result will be an agent that follows the center of the track accurately.But, if this weight is small compared to Δp, then faster progress can be more important and the agent tends to cut corners aggressively and try to find the ideal path to reduce lap time.Increasing B weight can help avoid a larger steering angle than necessary, resulting in fewer oscillations, more stable motion, and a decrease in the required control energy.

46To demonstrate the effect of reward parameters some training examples have been carried out.Fig. 2(a) shows the convergence of the cumulative reward function in selected training processes of the RL-based lateral control.The illustration shows that maximization of the reward can be reached, independently from the selection of parameter A. The convergence of the reward is achieved at 10 6 time steps, which has the computation time request 24−30 min in this example.

47An example of the effect of reward function parameter A can be seen in Fig. 2(b).The graphs show three agents trained with different reward functions, in every case B = 0, only the path tracking capabilities and the faster lap time were considered in the optimization process.The difference between the agents can be seen especially in the corners, where the agents with a smaller A weight tend to cut the corners more aggressively.The maximal lateral errors were 0.75 m (A = 0.01), 0.54 m (A = 10), and 0.26 m (A = 30).The time to complete the lap was 12.5 s (A = 0.01), 12.85 s (A = 10), and 13.55 s (A = 30).These results are in accordance with the selection of the reward functions.Fig. 2(c) shows the reference steering Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.angle of the vehicle during the simulation.It can be seen that high-amplitude and high-frequency oscillations are present in the signals, especially in the case when A is high.These are mostly unwanted control interventions that result in oscillatory or even unstable motion in a real-life scenario with very low comfort for possible passengers.Fig. 2(d) indicates that a more conservative reference velocity is required to increase tracking performance.

48The unwanted oscillations in the steering control intervention can be effectively eliminated by a related punishment term in the reward function.The effect of such a term is illustrated in Fig. 3.In the examples, the effect of increasing weight B is shown in the case of two different A values.The most significant difference can be seen in Fig. 3(b), where the agents have been trained using the additional punishment term for avoiding sudden changes in the steering control signal.When cornering or path correction is not required, then the steering angle is chosen to be close to zero.In this case, the maximal lateral errors are 0. the agent.Larger B values may lead to a slightly decreased reference velocity profile to complete maneuvers with smaller steering angles, see lines blue and green.Nevertheless, without the introduction of the term B, the resulting behavior may not be beneficial in real-life scenarios, because the impact of delays and uncertainties may cause performance degradation.

49In Fig. 3 can be seen that by increasing even one of the two punishment terms the lap times start to increase, since progressing along the track will have relatively less effect on the long-term reward of the agent.There is another limiting factor on choosing large weight values because as the punishment terms start to increase the overall reward will decrease and there will be a point (negative long-term reward values) where not moving at all will be more beneficial regarding the cumulative reward, since it results in 0 reward compared to any negative value.It leads to a limit on the minimal lateral error with which path tracking can be performed and a limit on the minimal steering angle values.These training processes may result in unwanted control policies.Consequently, the selection of parameters A and B is a tuning problem in practical applications.During the tuning process, the motion of the real vehicle must be analyzed.Properly chosen A and B values can lead to a reward function that results in a high-performing agent considering path tracking, lap time, and control energy.The presented simulation-based examinations provide references on the influences of terms A and B to the vehicle motion.

IV. DESIGN OF THE ROBUST ELEMENT OF THE AUTONOMOUS VEHICLE CONTROL SYSTEM

50The design of the robust control is based on the method presented in this section.In the control design, it is necessary Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.to consider that u may differ from u R , due to the additional value of Δ L .Therefore, Δ L can be handled as an additive input disturbance to u R , and thus, robustness against Δ L must be guaranteed.The block diagram of the system in Fig. 1 can be restructured to form a simple control loop with additive input disturbance, see Fig. 4. Thus, from the viewpoint of the robust controller, the internal structures of the supervisor and the learning-based control agent are not considered.These are represented by the disturbance term Δ L .

51In the robust control design process, the worst-case scenario is considered, i.e., Δ L in the robust design process through its bound is involved.In the design is assumed that L Δ |Δ L,max | = |Δ L,min |, i.e., the measure of additive input disturbance is symmetric.Since L Δ has an impact on the robust control design, it influences the values of Δ L,max , Δ L,min in the optimization process of the supervisor.Choosing Δ to have a large interval allows increased differences in the two control signals, resulting in Δ L = u L − u R often can be selected.Nevertheless, it results in a more conservative robust controller to provide robust stability even in case of larger disturbances.But, if L Δ is tight, u is close to u R , and thus, performance level increase from the RL-based control agent can be lost.

A. Design of Robust Lateral Controller

52To design a robust control, several methods are available, with which theoretical guarantees against bounded disturbances can be guaranteed.In the rest of this section a robust H ∞ control design method on the lateral dynamics, considering Δ L is proposed.The design is based on the vehicle motion model (2), which can be transformed into the following state-space representation:

53where A, B 2 are matrices of the system, x = [v y ψ] T represents state vector and u = δ steering angle.The primary, i.e., the safety performance of the system is to guarantee the limitation of the lateral error of the vehicle from the centerline of the road:

54where y ref is the reference lateral position for the vehicle.Moreover, the limitation of the steering angle is requested to avoid the unwanted effect of actuator saturation, which leads to further performance:

55The performance vector z K = [z 1 z 2 ] T using the state-space ( 14) can be expressed as

56where w = [y ref Δ L ] T .Similarly, the formulation of measurement y K = y ref − y is expressed as

57The control-oriented state-space representation of the system from the dynamics, performances, and measurements on the system is composed, such as

58In the design process of the H ∞ controller weighting function for scaling disturbances and for finding the balance between different performances must be applied, see [39] for details of selecting weighting functions and the formulation of the H ∞ design problem.Using the weighting functions and the dynamic controller-observer, represented by A K , B K , C K , D K matrices, the closed loop system can be formulated as

59where w involves also Δ L of (19a).The objective of H ∞ control is to minimize the inf-norm of the transfer function T z ∞ w .More precisely, the problem can be stated as follows [40], [41].The linear matrix inequality (LMI) problem of H ∞ performance is formulated as the closed-loop RMS gain from w to z ∞ does not exceed γ > 0 if and only if there exists a symmetric and definite positive matrix

60During the robust control design, the value of γ must be optimized, and as a constraint, the formed LMI ( 21) must be feasible.The result of the optimization is the robust controller-observer, whose robust stability against w can be guaranteed.

B. Computation of Safe Velocity Profile

61The computation of the safe velocity profile, i.e., the actual reference velocity is determined by the local curvature of the track.Since the reference path y ref (e.g., centerline) of the track is considered as a known curve c(s) parameterized by the travel distance s, its curvature can be calculated as

62The reference velocity is calculated in a way that limits the required lateral acceleration of the car for traction reasons:

63Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

64where a y,max denotes the maximum achievable lateral acceleration, based on the maximal tire force available.Its value can be determined by tire characteristics or estimation, see e.g., [42].

65The resulting reference velocity must be chosen as

66In straight sections, the curvature of the track is 0, which results in infinite reference velocity.Thus, v ref must be limited, especially in case of low curvature values, such as v ref ≤ v max , where v is the maximum velocity limit on the given road section.

67The centerline of the track is considered here as a twodimensional spline, however for practical reasons in simulations or tests it is represented as a list of equidistant (x, y) coordinates, and the curvature is estimated using numerical differentiation instead.

V. DESIGN OF THE SUPERVISOR FOR GUARANTEEING SAFE VEHICLE MOTION

68The supervisor results in Δ L signal, which is used for the computation of control input u, see (1).The goal of the supervisor is to achieve a control signal, which results in a high-performance level for the vehicle through the minimization of the following objective:

69where

70T contains the additional disturbance value respect to lateral and longitudinal controls.

71The control design problem with the vehicle-safety-oriented performance requirement on keeping lateral error under a predefined value is augmented.Thus, in the case of the vehicle path tracking control, the lateral distance from the centerline can be limited using a model-based prediction layer in the supervisor.The trajectory of the vehicle can be predicted on a time horizon using ( 2)-(3), see [5], which results in the vector of predicted P pred,T vehicle positions.The lateral error of the vehicle can be calculated as e lat,T = dist (P pred,T , c(s)) , (26) which can be estimated using the known points of the track c(kΔs), where k = 0, 1, 2 . .., and Δs is the distance with which the centerline was discretized.Thus, the constrained optimization task in the supervisor is formed through (25), (26) as argmin

72Infeasibility of ( 27), e.g., the constraints cannot be guaranteed, is evaluated as an emergency situation for the vehicles.In these cases, the selection of Δ L = 0 is performed and the maximum braking command to the vehicle is sent.

73Although (27) can lead to an accurate solution to the problem, its solution in real-time can lead to difficulties.Therefore, under practical implementations, the continuous solution of ( 27) can be replaced with the following equal computation process.

741) In most of the operation of the vehicle, it can be considered that the vehicle moves under normal vehicle dynamic conditions, i.e., it is assumed that u L can result in the keeping of lateral error under e max .Consequently, in the first computation step of the supervisory process, the assumption is checked, such as the ensuring of condition e lat,T ≤ e max with u L .2) If the assumption in the checking process is validated to be true, an equivalent solution of the optimization process (27) is

75where the indices denote the i th control input.Remark that the selection of the bounds does not necessarily lead to the violation of the lateral error constraint.The achieved lateral error can be influenced by the selection of Δ L,min , Δ L,max .For example, in the case of low-value selection for the bounds can lead to the limitation of the lateral error.3) But, if the assumption in the checking process is validated to be false, the optimization process ( 27) must be performed.In the case of a practical application, the process above can significantly reduce the computation effort, i.e., the assumption in most of the vehicle operation is verified to be true.

A. Optimization Process for Improving Closed-Loop Performance Level

76The formed optimization processes of the robust control design ( 19), ( 21) and of the supervisor (27) show that both of them depend on the selection of Δ L,max .In the case of large bound selection, the performance level of the designed robust control can be low, while at low bound selection the impact of u L on u can be small.Therefore, an optimization process is provided for the selection of Δ L,max , with which the performance level of the control system can be improved, i.e., lap time can be minimized.

77The optimization process is based on the evaluation of simulation scenarios.To improve the generality of the achieved solution, each simulation scenario differs from each other.It uses the same simulation environment as for the RL training process, see Section III-B, i.e., the motion of the vehicle model along various tracks is simulated and noise to the lateral position measurement is added.The evaluation is based on the computation of a cost function J, which contains the most important metrics on the achieved control, such as

78In ( 29) each term contains a metric, which represents the performance of the control system with the given selection of Δ L,max .The terms are computed for each simulation scenario, which has a length with N samples.The value of N is limited to a selected maximum value N max .The first term of ( 29) represents the impact of u L,Lat on the steering intervention, and the second term reflects the impact of u L,Long on the velocity selection.The priorities of these terms are expressed by scalar weights Q 1 , Q 2 .Moreover, additional scalar weight Q 3 in the cost is also involved, which reflects the terminal position of the vehicle on the track.Thus, if the vehicle performs the track, i.e., N < N max , then Q 3 = 0 is selected.But, if the track is not performed, i.e., N = N max , then

79During the optimization process the goal is to minimize J, and similarly, to guarantee the robustness of the control, which leads to the minimization process

80Since the candidate values in Δ L,max can have physical limits, e.g., the achievable steering angle, an efficient solution of the minimization is a line search on a grid of Δ L,max .During the optimization process, a rough grid is defined in the initial step and then, the grid is refined, where the cost has a minimum and the constraint is guaranteed.In (30) the value of γ depends on the H ∞ controller, and the computation of that is influenced by Δ L,max .Its reason is that Δ L is part of w, see (17) and thus, the value of Δ L,max is involved in the H ∞ control design process as an upper bound.Consequently, in each step of the minimization (30) the H ∞ controller must be recomputed with the given Δ L,max of that step.It leads to the γ term of the constraint in (30).Nevertheless, in practice, this process can be simplified if the relationship between Δ L,max and γ can be precomputed.Consequently, the constraint 0 < γ < 1 can be transformed to the selection range reduction of Δ L,max if the relationship exists, see the illustration in the next section.The result of the optimization process is Δ L,max , with which the robust control can be designed (21) and the supervisory algorithm ( 27) can be formed.

VI. ILLUSTRATION OF THE DESIGNED INTEGRATED CONTROL SYSTEM

81The goal of this section is to evaluate the performance of the integrated control system through simulation examples.In the examples, the goal of the integrated control system is to minimize the lap time of the vehicle on a given track.The parameters of the vehicle model from the F1TENTH type of indoor test vehicle are derived [43].The training of the RL-based control agent based on the motion of the vehicle on various tracks has been performed.The neural networks are structured in a way, that it had 3 hidden fully connected layers containing 16, 32, and 64 neurons each and ReLU activation functions.The output layer uses hyperbolic tangent activation to limit the control outputs considering the steering capabilities of the vehicle.For the input measurements of the networks, N = 5 is selected with 0.5 m equidistant segments, i.e., 2.5 m horizon ahead of the vehicle is considered.Based on (12), the reward function is defined as R(s, a) = −0.5x 2 Lat,err − 0.5δ 2 ref + Δp.The evaluation of the performance level is carried out based on two examinations.First, the optimization process for improving the performance level is illustrated, i.e., the robust control is designed and the value of Δ L,max is selected.Second, a comparative simulation presents the performance level of the control system, regarding the lap time minimization.All of the presented simulations have been performed on a desktop with an 11th-generation Intel processor.

A. Illustration of Closed-Loop Performance Level Improvement

82The optimization process in an example is illustrated, such as the tuning of the robust control and the selection of Δ L,max .The goal of the example is to select Δ L,max for minimizing cost function (29).Nevertheless, in the current optimization only the bounds on Δ L,Lat are selected, while the bounds on Δ L,Long are fixed.Thus, this illustration aims to explore the impact of Δ L,max,Lat on the performance of the controlled system.The range of Δ L,Lat is considered to be symmetric, i.e., Δ L,min,Lat = −Δ L,max,Lat .

83In the example the track of each simulation scenario is different, as in the case of the simulation environment for computing (29).The weighting parameters of (29) are selected as Q 1 = 10; Q 2 = 1; Q 3,max = 1000.The optimization process for finding minimum cost is performed on a grid between Δ L,max,Lat = 0.01 rad. . .0.5 rad.Around the minimum of the cost a dense grid is selected, and a tighter grid is defined.The results of the optimization process can be found in Fig. 5.It can be seen that the cost value decreases with increasing Δ L,Lat,max , see Fig. 5(a).Its reason is that higher Δ L,Lat,max provides more possibility for approaching u to u L .Nevertheless, increasing Δ L,Lat,max leads to a more reduced level of robustness, i.e., the increasing of γ, see also Fig. 5(a).Since γ < 1 condition must be guaranteed, Δ L,Lat,max is increased until this condition is not avoided.The tracking performance of the robust control is illustrated with its maximum lateral error, see Fig. 5(b).This analysis shows that the lateral error using the robust control can be limited to a maximum value.The consequence of the analysis is the selection of Δ L,Lat,max = 0.164 rad, where γ = 0.99 and max(e LAT ) = 0.92 m values are achieved.Thus, in the constraint of the supervisor (27), the upper bound e max = 0.92 m is built in, i.e., the performance level of the robust control on the lateral error is considered as the requested minimum performance level against the control system.

84The impact of Δ L,Lat,max on the performance of the control along a curvy section of the exemplary track is also illustrated in Fig. 6.In this case the track is fixed for each scenario to help Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.the comparison of them.In the case of each scenario, noises are added to the measurements.The results of simulations with some different Δ L,Lat,max during the reduction of the cost are illustrated.The vehicle path with each Δ L,Lat,max selection in a curvy section of the circuit is illustrated in Fig. 6(a).Increasing Δ L,Lat,max leads to the smoothing of the path, i.e., for minimizing lap time.It can also be seen in the improvement of δ signal, see a time section of the simulation in Fig. 6(b).The selection of Δ L,Lat,max = 0.01 leads to fluctuating lateral motion and steering angle, but at higher Δ L,Lat,max the fluctuation is eliminated.Moreover, the reduction of lap time can be perceived based on the time values of the peaks in the steering signal, e.g., one of the minima of δ is around 30 s using Δ L,Lat,max = 0.01 rad, but the same minimum peak is around 28 s using Δ L,Lat,max = 0.164 rad.Fig. 6(c) shows the achieved lateral error signal, whose characteristics are also smooth at increased Δ L,Lat,max value and the achievable max(e LAT ) is reduced.The velocity profile at each Δ L,Lat,max selection is found in Fig. 6(d), which shows that the velocity of the vehicle during the selection process is maximized.

85The presented illustrations show that the performance level of the control system can be significantly improved through the optimization process.It provides an explainable method for the selection of Δ L,max from the viewpoint of the robust control design.In the rest of the paper, the designed robust control in the loop loop is built.

B. Illustration of the Closed-Loop Performance Compared to Application of LMPC

86The effectiveness of the proposed method through a comparison is illustrated.For this reason, the LMPC [3] with the is used in the training of the neural network due to the lack of robustness of the LMPC solution.

87The convergence of the lap times of the LMPC can be seen in Fig. 7(a).In the last 20 iterations, the achieved lap time is 6.8 s.The prediction horizon of the LMPC is set to 1.4 s, which results in the length 4.9 m at maximum vehicle velocity (3.5 m/s).The LMPC requires various information on the track to calculate the optimal input signal, e.g., track curvature with higher spatial resolution.During the comparison, all of the other parameters of the vehicle and the environment have been set to be the same in both cases.Fig. 7(b) illustrates the resulted trajectories on the track, i.e., with LMPC, with (pure) RL, and with the proposed method (Supervised RL).In Fig. 7(c), (d) the operation of the controllers is illustrated by showing the steering interventions and the longitudinal velocity profiles of the vehicles.In the case of pure RL intervention, a more aggressive velocity profile is achieved.In the case of the proposed method, this aggressive intervention is limited by the supervisor, i.e., steering and velocity profiles are closer to the LMPC.Some numerical results can be found in Table I, such as lap time and average computation time.The average computation time is resulted by the mean of all computation time steps, which show that the using of a pure RL-based controller without the supervisor can lead to reduced lap time and low computation time.Nevertheless, due to safety reasons, the RL-based control with the proposed robust control framework must be used.Thus, the proposed design method can lead to acceptable results, compared to the LMPC method.

C. Illustration of the Closed-Loop Performance Compared to Application of MPCC

88In this section the proposed method is compared with an MPCC for Autonomous Racing from [31], which solution aims to minimize lap time.In the case of the MPCC solution, the prediction horizon has been set to 0.8 s and a similar look-ahead distance has been used in the case of the RL-based control agent.The maximal steering angle has been limited to 0.35 rd and the maximum velocity limit is selected to 3.5 m/s in the case of the RL-based control agent.The reward function parameters were chosen to be A = 0.1 and B = 0.1, to prefer lap time over path tracking and to reduce the oscillations in the steering angle.The reason for B being different is the difference in scale of the vehicle compared to the LMPC example.During the comparison, the same vehicle model is used in the optimization and simulation, which model and the circuit are adapted from the related code (https://github.com/alexliniger/MPCC).

89The resulting trajectories, the steering angle signal, and the longitudinal velocities are shown in Fig. 8.It can be seen that each controller can navigate through the track, without leaving it.The MPCC and the RL controller result in slightly different trajectories, especially in the corners with high curvature.Nevertheless, the main objective, i.e., the value of lap time has almost the same performance level, see tracking are used.Since the longitudinal velocity is limited in the own solution, a slightly larger lap time is resulted.

90The largest difference between the two methods is the requested computation time, see Table II, which results correspond to runtime in Matlab environment.The average of the required computation time of one simulation step has been significantly higher in the case of the MPCC.Additionally, the computation times were in the case of the pure RL in [0.96, 2.47] ms, in the case of the Supervised RL in [4.2, 25.9] ms and in the case of the MPCC in [57.5, 171] ms intervals.Its reason is that it solves a complex nonlinear optimization task during the motion of the vehicle, which involves the nonlinear vehicle model.The computation times corresponding to the pure RL controller are significantly lower compared to the other two controllers.Nevertheless, this method can not be used because it is not able to provide a guaranteed minimum performance level in itself.

VII. DEMONSTRATION OF THE CLOSED-LOOP PERFORMANCE WITH IMPLEMENTATION

91Finally, the operation of the control system is evaluated through real-life experiments using F1TENTH 1:10 smallscaled test vehicle with a two-dimensional LiDAR for environment sensing [44].The track has been set up using cones with 0.5 m height and environmental objects of the laboratory (e.g., walls).The area of the path covers 10 m × 12 m and it is a flat polished concrete surface.The shape of the resulting track is independent of the tracks used in the training process.

92The test vehicle is localized on the track with a real-time LiDAR-based algorithm.It provides a measured signal on the predicted centerline to the RL-based controller because it requires (x, y) coordinates of the centerline ahead of the vehicle, see (13).The generation process of the centerline contains the following steps.First, the raw LiDAR measurements are converted into a distance image, where every pixel has a value of the distance of the closest measurement point to it.Second, the measured point cloud is filtered to exclude points, which are not resulted by the cones.Third, the numerical gradient magnitude of the image is calculated using the Sobel gradient operator [45].The centerline is considered to be there, where the gradients have local maxima.Fourth, the centerline is converted into a 1-pixel wide curve using skeletonization [46].Finally, the resulting pixel coordinates are transformed back to metric coordinates and a spline is fitted into the points to get a continuous line.

93A comparison of vehicle trajectories with the supervised and the pure RL-based controls can be seen in Fig. 9(a).In the demonstration scenario the reward function parameters are selected as A = 0.1 and B = 0.5 to prefer lap time minimization and to eliminate the oscillations in the steering angle as much as possible without performance degradation.It can be seen that without the supervisor the pure RL-based controller is only able to navigate one full lap and fails on the second by leaving the track.It can be avoided through lateral error prediction of the supervisor, with which the vehicle can complete both laps safely.The control actions in the two cases are shown in Fig. 9(b)-(c).It can be seen that the supervised system selected a reduced velocity profile on the track, resulting in safer maneuvering.In the case of the pure RL-based control, the last turn just before the end of the track was critical, the chosen velocity was high, and the lateral acceleration increased the roll angle significantly resulting in inaccurate LiDAR measurements and an uncertain positioning.The control action signals show significant oscillation around 10 s, which is the consequence of the inappropriate velocity selection.The oscillation in steering intervention resulted in oscillations in the vehicle motion, which led to track departure in the next bend.In the case of the supervised system, the lateral acceleration is limited, i.e., safe motion and trackkeeping were guaranteed.From the viewpoint of lap times, the first lap on the track can be compared.In the case of the pure RL-based control, the achieved minimum lap time is 11.05 s, and in the case of the supervised control, it has 14.24 s value.Although the lap time with the supervisor is increased, the safe vehicle motion during the entire maneuvering can be guaranteed.

94Fig. 9(d)-(e) show the operation of the supervised control by comparing the candidate inputs of the RL-based agent and the robust controller.Moreover, the resulting supervised control input is also illustrated.The illustrations show that in the case of lateral control, the actions of the RL-based agent were accepted most of the time by the supervisor, but, in the longitudinal intervention the selection of the safe velocity profile was dominant.

VIII. CONCLUSION

95The paper has proposed a robust control design method, which is aided by a learning process.The proposed control strategy has been evaluated via a demonstration on motion optimization.The effectiveness of the method has been presented through comparisons and implementation on a test vehicle.The comparative analysis has shown that the achieved performance level on lap time minimization is close to the LMPC and MPCCbased solutions, but the requested average computation time has been significantly reduced.The results comparisons have illustrated the advantage of modular control structure, i.e., the reduction of computation time is resulted by the separation of the complex control design problem.Moreover, the consequence of the demonstration on a test vehicle is that the proposed control system can be effectively implemented and the achieved results are in line with the simulation-based results.The test scenario has shown that even if the control interventions of the RL agent result in unsafe motion, the supervisory structure can avoid dangerous situations, i.e., leaving the track.

96One of the most important future challenges of the proposed method is to enhance the control framework to be able to handle dynamic obstacles on the road, e.g., the motion of pedestrians or other vehicles.It can require the reformulation of the supervisor to consider the stochastic nature of human motion.Moreover, a further challenge is to develop a systematic method to select the bounds in the supervisor, with which method the achieved performance level can be improved.It can require the modification of the control design and the training process, i.e., to find a joint design process for them.Since these control elements have different mathematical structures, their integration on the level of design can pose further theoretical challenges.

Fig. 1 .

97Fig. 1.Scheme of the control architecture.

Fig. 2 .

98Fig. 2. Convergence of the accumulated reward in selected training processes (a).The effect of A reward function parameter on (b) the resulting trajectory, (c) the reference steering angle, and (d) the reference velocity, in case of B = 0.

9929 m (A = 25, B = 0), 0.66 m (A = 0, B = 0.8), and 0.21 m (A = 25, B = 0.8), and the lap times are 13.55 s (A = 25, B = 0), 13.4 m (A = 0, B = 0.8), and 14.6 s (A = 25, B = 0.8).Its reason is that with the punishment term B the lap time is relatively less important.Thus, the less aggressive corner-cutting vehicle motion decreases the expected reward of

Fig. 3 .

100Fig. 3.The effect of B reward function parameter on (a) the resulting trajectory, (b) the reference steering angle, (c) the reference velocity, in case of A = 0.001.

Fig. 4 .

101Fig. 4. Schematic view on the loop for robust control design.

Fig. 5 .

102Fig. 5. Analysis of the robust control design.(a) The impact of Δ L,max on γ, cost (b), and on tracking performance.

Fig. 6 .

103Fig. 6.Impact of Δ L,max on (a) vehicle trajectory, (b) steering intervention, (c) lateral error, and (d) longitudinal velocity.

Fig. 7 .

104Fig. 7. Convergence plot of the lap time achieved by the LMPC.(a) Comparison of (b) the resulting trajectories, (c) the steering angles and (d) longitudinal velocities in case of the different controllers.

Fig. 8 .

105Fig. 8.Comparison of (a) the resulting trajectories, (b) the steering angles, and (c) longitudinal velocities in case of the different controllers.

Fig. 9 .

106Fig. 9.Estimated trajectories and LiDAR measurements on the track (a).Control inputs in the test scenario: (b) steering angles, (c) reference velocities.Control components of the supervised control intervention at steering angle (d) and reference velocity (e).

TABLE I NUMERICAL

107RESULTS OF THE SIMULATIONS WITH LMPC COMPARISONTABLE II NUMERICAL RESULTS OF THE SIMULATIONS WITH MPCC COMPARISON have been performed during each simulation with the trained RL-based controller or the converged LMPC.Additionally, the computation times were in the case of the pure RL in [0.89, 2.27] ms, in the case of the Supervised RL in [4.7, 29.0] ms and in the case of the LMPC in [19.7, 24.4] ms intervals.All simulations have been performed in Python environment.The results

Table II .

108The reason for achieving different optima has two reasons.First, the highly nonlinear nature of the vehicle model can lead to a non-convex optimization problem, and thus, different local minima with different trajectories can be achieved.Second, in the case of the two simulations, different longitudinal controls for velocity Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

TABLE III LIST

109OF SYMBOLS AND NOTATIONS

참고문헌 42건

  1. Robust Control and Linear Parameter Varying Approaches Lecture notes in control and information sciences · Springer Science+Business Media · 2013 10.1007/978-3-642-36110-4
  2. High-Dimensional Continuous Control Using Generalized Advantage Estimation arXiv (Cornell University) · Cornell University · 2015
  3. Development of a robust vehicle control with driver in the loop American Control Conference · 2014 10.1109/acc.2014.6858845
  4. Building Skeleton Models via 3-D Medial Surface Axis Thinning Algorithms CVGIP Graphical Models and Image Processing · Academic Press · 1994 10.1006/cgip.1994.1042
  5. A diagnosis-based approach for tire–road forces and maximum friction estimation Control Engineering Practice · Elsevier BV · 2010 10.1016/j.conengprac.2010.11.005
  6. Linear Matrix Inequalities In System And Control Theory Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/jproc.1998.735454
  7. Tyre and Vehicle Dynamics Elsevier eBooks · Elsevier BV · 2006 10.1016/b978-0-7506-6918-4.x5000-x
  8. Safety Verification of Deep Neural Networks Lecture notes in computer science · Springer Science+Business Media · 2017 10.1007/978-3-319-63387-9_1
  9. Diagnosing Non-Intermittent Anomalies in Reinforcement Learning Policy Executions (Short Paper) arXiv (Cornell University) · Cornell University · 2017 10.4230/oasics.dx.2024.16
  10. Neural-Learning-Based Control for a Constrained Robotic Manipulator With Flexible Joints IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tnnls.2018.2803167
  11. Reachability Analysis of Deep Neural Networks with Provable Guarantees 2018 10.24963/ijcai.2018/368
  12. Cautious NMPC with Gaussian Process Dynamics for Autonomous Miniature Race Cars 2022 European Control Conference (ECC) · 2018 10.23919/ecc.2018.8550162
  13. Comparison of direct and indirect methods for minimum lap time optimal control problems Vehicle System Dynamics · Taylor & Francis · 2018 10.1080/00423114.2018.1480048
  14. Dynamic neural network-based feedback linearization control of full-car suspensions using PSO Applied Soft Computing · Elsevier BV · 2018 10.1016/j.asoc.2018.06.002
  15. A game-based approximate verification of deep neural networks with provable guarantees Theoretical Computer Science · Elsevier BV · 2019 10.1016/j.tcs.2019.05.046
  16. Learn Fast, Forget Slow: Safe Predictive Learning Control for Systems With Unknown and Changing Dynamics Performing Repetitive Tasks IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2019 10.1109/lra.2019.2901638
  17. Learning-Based Model Predictive Control for Autonomous Racing IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2019 10.1109/lra.2019.2926677
  18. Robust Vehicle Driver Assistance Control for Handover Scenarios Considering Driving Performances IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tsmc.2019.2931484
  19. Learning How to Autonomously Race a Car: A Predictive Control Approach IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcst.2019.2948135
  20. Optimal Coordination of Platoons of Connected and Automated Vehicles at Signal-Free Intersections IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2021 101109tiv20213096993
  21. (제목 없음) View · Wiley
  22. Optimal Eco-Driving Control of Connected and Autonomous Vehicles Through Signalized Intersections IEEE Internet of Things Journal · Institute of Electrical and Electronics Engineers · 2020 10.1109/jiot.2020.2968120
  23. Machine Learning and Control Engineering: The Model-Free Case Advances in intelligent systems and computing · Springer Nature · 2020 10.1007/978-3-030-63128-4_20
  24. Artificial Neural Network Based Identification of Multi-Operating-Point Impedance Model IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpel.2020.3012136
  25. f1tenth.dev - An Open-source ROS based F1/10 Autonomous Racing Simulator 2022 IEEE 18th International Conference on Automation Science and Engineering (CASE) · 2020 10.1109/case48305.2020.9216949
  26. On the Use of Difference of Log-Sum-Exp Neural Networks to Solve Data-Driven Model Predictive Control Tracking Problems IEEE Control Systems Letters · Institute of Electrical and Electronics Engineers · 2020 10.1109/lcsys.2020.3032083
  27. Ensuring performance requirements for semiactive suspension with nonconventional control systems via robust linear parameter varying framework International Journal of Robust and Nonlinear Control · Wiley · 2020 10.1002/rnc.5282
  28. Computing the racing line using Bayesian optimization 2021 60th IEEE Conference on Decision and Control (CDC) · 2020 10.1109/cdc42340.2020.9304147
  29. Optimal Coordination of Platoons of Connected and Automated Vehicles at Signal-Free Intersections IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2021 10.1109/tiv.2021.3096993
  30. Review on LPV Approaches for Suspension Systems Electronics · Multidisciplinary Digital Publishing Institute · 2021 10.3390/electronics10172120
  31. Guaranteed Performances for Learning-Based Control Systems Using Robust Control Theory Studies in computational intelligence · Springer Nature · 2021 10.1007/978-3-030-77939-9_4
  32. Minimum-lap-time Control Strategies for All-wheel Drive Electric Race Cars via Convex Optimization 2022 European Control Conference (ECC) · 2022 10.23919/ecc55457.2022.9838115
  33. Safe control of nonlinear systems in LPV framework using model-based reinforcement learning International Journal of Control · Taylor & Francis · 2022 10.1080/00207179.2022.2029945
  34. Improving autonomous vehicle in‐traffic safety using learning‐based action governor Advanced Control for Applications · Wiley · 2022 10.1002/adc2.101
  35. Engineering Autonomous Vehicles and Robots 2020 10.1002/9781119570516
  36. Digital Image Processing Springer eBooks · Springer Nature · 2009 10.1007/978-1-4020-9014-1_8
  37. Robust model referenced control for vehicle rollover prevention with time-varying speed International Journal of Vehicle Design · Inderscience Publishers · 2021 10.1504/ijvd.2021.117154
  38. Toward Reference Architectures: A Cloud-Agnostic Data Analytics Platform Empowering Autonomous Systems IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3180365
  39. Robust AI Driving Strategy for Autonomous Vehicles Lecture notes in intelligent transportation and infrastructure · Springer International Publishing · 2022 10.1007/978-3-031-06780-8_7
  40. Vehicle Dynamics and Control Mechanical engineering series · Springer Nature · 2006 10.1007/0-387-28823-6
  41. Deep Q‐learning: A robust control approach International Journal of Robust and Nonlinear Control · Wiley · 2022 10.1002/rnc.6457
  42. Integration of Robust Control with Reinforcement Learning for Safe Autonomous Vehicle Motion IFAC-PapersOnLine · Elsevier BV · 2023 10.1016/j.ifacol.2023.10.1711