기본 정보
- 저자
- DOI
- 10.48550/arxiv.1701.08735
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1701.08735
- 토픽
- Optical Coatings and Gratings
- OpenAlex ID
- W6929095237
평가 내용
- 관련도
- 사업분야
- 모빌리티 소재 · (4) 카시트 모듈
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
In this paper we consider autonomous driving of miniature race cars. The viability kernel is used to efficiently generate finite look-ahead trajectories that maximize progress while remaining recursively feasible with respect to static obstacles (e.g., stay inside the track). Together with a low-level model predictive controller, this method makes real-time autonomous racing possible. The viability kernel computation is based on space discretization. To make the calculation robust against discretization errors, we propose a novel numerical scheme based on game theoretical methods, in particular the discriminating kernel. We show that the resulting algorithm provides an inner approximation of the viability kernel and guarantees that, for all states in the cell surrounding a viable grid point, there exists a control that keeps the system within the kernel. The performance of the proposed control method is studied in simulation where we determine the effects of various design choices and parameters and in experiments on an autonomous racing set-up maintained at the Automatic Control Laboratory of ETH Zurich. Both simulation and experimental results suggest that the more conservative approximation using the discriminating kernel results in safer driving style at the cost of a small increase in lap time.
본문 116,911자
본문 펼치기
# Real-Time Control for Autonomous Racing Based on Viability Theory
### Alexander Liniger and John Lygeros
Abstract
In this paper we consider autonomous driving of miniature race cars. The viability kernel is used to efficiently
generate finite look-ahead trajectories that maximize progress while remaining recursively feasible with respect
to static obstacles (e.g., stay inside the track). Together with a low-level model predictive controller, this method
makes real-time autonomous racing possible. The viability kernel computation is based on space discretization. To
make the calculation robust against discretization errors, we propose a novel numerical scheme based on game
theoretical methods, in particular the discriminating kernel. We show that the resulting algorithm provides an inner
approximation of the viability kernel and guarantees that, for all states in the cell surrounding a viable grid point,
there exists a control that keeps the system within the kernel. The performance of the proposed control method is
studied in simulation where we determine the effects of various design choices and parameters and in experiments
on an autonomous racing set-up maintained at the Automatic Control Laboratory of ETH Zurich. Both simulation
and experimental results suggest that the more conservative approximation using the discriminating kernel results
in safer driving style at the cost of a small increase in lap time.
I. INTRODUCTION
Control design for autonomous driving has attracted considerable attention from the research community
and has been successfully demonstrated on several occasions, e.g., [1], [2]. One form of autonomous
driving is autonomous racing where the objective is to drive a car as fast as possible around a predefined
track [3]. A popular control method for autonomous driving is receding horizon optimal control that has
successfully been used for both autonomous driving in general, and for autonomous racing in particular
[4]–[8]. In both cases the requirement for the car to stay on the track is typically encoded through state
constraints. Without appropriate modifications, these constraints can lead to a loss of feasibility of the
underlying optimization problem when the control algorithm is implemented in receding horizon, which
may lead to accidents. In receding horizon control, recursive feasibility can be achieved by imposing
terminal set constraints [9]. In autonomous driving, however, this issue is often neglected because terminal
set constraints can be difficult to compute. In this work, we employ viability theory to derive recursively
feasible controllers for autonomous racing.
Viability theory was developed to characterize states of a dynamical system for which solutions exist
that satisfy its state constraints [10]. Though the use of viability theory in model predictive control has
been considered [11], most applications of the theory limit themselves to establishing safe/viable regions
in the state space [12]–[16] and reconstructing safe feedback controls [17]. At the heart of all these
applications is the computation of the viability kernel, the largest subset of states for which the state
constraints can be satisfied indefinitely. The viability kernel is typically approximated numerically using
either the viability kernel algorithm introduced in [18], the discriminating kernel algorithm in the case
of an additional disturbance input [19], or by exploiting the link to optimal control through viscosity
solutions for Hamilton-Jacobi partial differential equations [20], [21]. All these numerical methods are
based on gridding the state space and hence their computational complexity grows exponentially in the
dimension of the state space. To reduce the computational load, the link to reachable set calculation has
been exploited in [22], that allows for the development of efficient algorithms for linear systems [23]–[26].
The authors are with the Automatic Control Laboratory, ETH Zurich, 8092 Z¨urich, Switzerland; Emails: _{_ liniger,
lygeros _}_ @control.ee.ethz.ch
This manuscript is the preprint of a paper accepted in the IEEE Transaction in Control System Technology and is subject to IEEE copyright.
IEEE maintains the sole rights of distribution or publication of the work in all forms and media.
Similarly, if the dynamical system is polynomial and the constraints are semi-algebraic sets, gridding can
be avoided by using methods based on linear matrix inequality (LMI) hierarchies [27].
In this paper we show how viability theory can be used to guarantee recursive feasibility of a path
planner for miniature race cars. Our contributions are threefold: First, we extend the control scheme of [8]
to efficiently generate viable trajectories during the path planning stage. Model Predictive Control (MPC)
is then used to track the trajectory, generated in the path planning stage which maximizes the progress. We
show that apart from guaranteeing safety, resorting to the viability kernel also reduces online computation
time, enabling the use of longer prediction horizons. A related approach was proposed in [28], where
the authors exhaustively generate trajectories and then discard the infeasible ones a posteriori. Viability
theory was used in [14], [29] to construct safe trajectories and speed up trajectory planning processes,
respectively. Similarly, viability and reachability analysis have also been used in autonomous driving to
guarantee safety [16], [30], [31]. The main difference between those approaches and our method is that
we use the viability kernel in a receding horizon fashion to generate viable trajectories only, which not
only ensures recursive feasibility but also speeds up the computation.
The second contribution of this paper concerns the computation of the viability kernel. In particular,
we propose a method which takes into account the discretization error due to the gridding in the viability
kernel algorithm. More specifically, we propose to model the discretization error as an additive uncertainty,
and then formulate the viability computation as a dynamic game between the uncertainty and the control
input. The victory domain of this game is then computed using the discriminating kernel algorithm [19].
This stands in contrast to other algorithms for computing the viability kernel, which mainly establish inner
or outer approximation thereof. For example, the effects due to the discretization are considered in [18],
[19] by “extending” the set-valued dynamics, which results in an outer approximation of the viability
kernel; an error bound for this approximation is given in [32]. A different approach was proposed in [33],
where interval analysis is used to find inner and outer approximations of the viability kernel. Compared to
those methods our game theoretical approach, which is an inner approximation of the viability kernel, does
not only guarantee viability of the grid points, but also viability of points “close” to viable grid points.
This property is of special interest in real applications, where the state of a system rarely coincides with
a grid point.
As a third contribution of this paper, we examine the performance of the proposed controller in an
extensive simulation study where we perform a detailed sensitivity analysis with respect to parameters
of our viability-based controller. We demonstrate that the proposed controller scheme not only improves
the overall performance of the race cars, but also dramatically decreases the online computation time
compared to the original controller of [8]; the price to pay for this reduction in online computation is a
significant increase in offline computations. Finally we verify the controller’s performance experimentally
which shows that our viability-based controller is indeed suited for autonomous racing.
We remark that the current paper is an extended version of our previous publication [34], where we
presented partial results of this paper’s first contribution.
This paper is organized as follows. Section II presents the hierarchical control structure of [8] for the
miniature race cars, and Section III summarizes the viability and discriminating kernel algorithm of [18],
[19]. In Section IV the new viability kernel approximation is introduced. Section V formulates the path
planning step of the hierarchical controller as a discrete-time system. The viability and discriminating
kernel based on this model are then analyzed in Section VI. In Sections VII and VIII we study the
performance of the resulting controller both in simulation and in experiment. Conclusions and directions
of future work are provided in Section IX. Appendices A and B contain technical results and proofs.
II. AUTONOMOUS RACING CONTROL HIERARCHY
We consider a miniature race car driving along a track with known boundaries (Fig. 1) and our
autonomous racing controller is based on [8], where an optimization-based receding horizon control
was proposed. The two level hierarchical structure of [8] is designed such that, in the higher level, many
possible finite horizon trajectories are generated based on the current state, track layout and a simplified
car model. In the lower level, the trajectory with the largest progress is tracked using a MPC subject to the
full car dynamics. In the following section we review the proposed controller and outline how viability
theory may improve the implementation of the higher level. The material of this section is based on [8]
and [34].
Fig. 1. Picture of the track and Kyosho _dnano_ cars used in the experimental set up.
_A._ _Vehicle_ _model_
The lower level control design is based on a nonlinear bicycle model (Fig. 2) using the Pacejka tire
model [35]. This model captures important dynamics, such as the saturation of the nonlinear tire force,
and the steering behavior at different forward velocities.
Following the literature, the equations of motion are derived around the center of gravity (CoG), and
the states are the positions X and Y, and the orientation _ϕ_ relative to the inertial frame (Fig. 2). These
three states characterize the kinematic part of the model. The second part of the model is derived in a
body fixed frame centered at the CoG. The states are the longitudinal and lateral velocities _vx_ and _vy_ as
well as the yaw rate _ω_ . The control inputs are the steering angle _δ_ and the pulse width modulation duty
cycle _d_ of the drive train motor. The complete equations of motion are
_X_ ˙ = _vx_ cos( _ϕ_ ) _−_ _vy_ sin( _ϕ_ ) _,_
_Y_ ˙ = _vx_ sin( _ϕ_ ) + _vy_ cos( _ϕ_ ) _,_
_ϕ_ ˙ = _ω,_ (1)
_v_ ˙ _x_ = <sup><u>1</u></sup>
_m_
_v_ ˙ _y_ = <sup><u>1</u></sup>
_m_
_ω_ ˙ = <sup><u>1</u></sup>
_Iz_
_Fr,x_ ( _vx, d_ ) _−_ _Ff,y_ ( _vx, vy, ω, δ_ ) sin _δ_ + _mvyω_
_,_
_Fr,y_ ( _vx, vy, ω_ ) + _Ff,y_ ( _vx, vy, ω, δ_ ) cos _δ −_ _mvxω_
_,_
_Ff,y_ ( _vx, vy, ω, δ_ ) _lf_ cos _δ −_ _Fr,y_ ( _vx, vy, ω_ ) _lr_
_,_
where _m_ is the mass of the vehicle, _lr_ and _lf_ are the distances from the CoG to the rear and the front
wheel, respectively, and _Iz_ is the moment of inertia. _Fr,x_ ( _vx, d_ ) is the force produced by the drive train,
_Fr,y_ ( _vx, vy, ω_ ) and _Ff,y_ ( _vx, vy, ω, δ_ ) are the lateral forces at the rear and the front wheel, given by the
Pacejka tire model [35]. For more details on the modeling as well as the exact tire model formulation we
refer to [8].
## Ffy(vx,vy,ω,δ)
## φ
## δ lf
## vy ω vx lr X
## Y
## Fry(vx,vy,ω) Frx(vx,d)
Fig. 2. Schematic drawing of the car model
_B._ _Path_ _planning_ _based_ _on_ _constant_ _velocities_
As the model (1) is complex and has a fast changing dynamic, the higher level of the hierarchical
controller, which we call the “path planning controller”, uses a simplified model to determine an optimal
trajectory. Unlike most of the path planning algorithms in the literature, e.g. [36], the goal of our path
planning controller is not to reach a target while avoiding collision, but to find a finite horizon trajectory
that stays within the track and which maximizes progress.
The bicycle model (1) is simplified by only considering trajectories that consist of segments of duration
_Tpp_ with constant velocities. In vehicle dynamics such trajectories are known as _steady_ _state_ _cornering_,
whereas in aeronautics they are referred to as _trimmed_ _flight_ . The segments are then directly linked under
the assumption that the new velocity can be reached immediately. To ensure that the low-level controller
can track trajectories with velocity discontinuities, constraints are imposed on the segments that can be
concatenated. This approach is motivated by the time scale separation present in the system where a
system’s velocity changes significantly faster than its position and orientation. A similar approach was
adopted in [12], [15], [37] to reduce the number of states of the model. In our case, this approximation
leads to a system with only four states, the three physical states _X_, _Y_ and _ϕ_ and a discrete state representing
the constant velocity points, instead of the six states in equation (1).
We calculate constant velocity points by fixing the steering angle and the longitudinal velocity, and
determine the remaining velocities and inputs ( _vy, ω, d_ ) such that the accelerations of the model are zero.
This corresponds to gridding the manifold describing the stationary velocities (Fig. 3) to generate a grid
of _Nm_ constant velocity points, see Appendix B.
To ensure that the velocities in concatenated segments are not unrealistic, we only allow for transitions
that are achievable by the nonlinear dynamical model ( _vx_, _vy_ and _ω_ ) in a certain small time step _Tt_ _≈_ _Tpp/_ 2.
This problem can be posed as a feasibility problem where the goal is to find control inputs that allow the
transition from one velocity to another within _Tt_ seconds. This allows one to find all admissible transitions
between two stationary points. Note that the resulting concatenation constraints can be encoded through
8
6
4
2
0
-2
-4
-6
-8
1
5
4
3
2
1
0
-1
-2
-3
-4
-5
1
1.5
2
0.2
2.5 0
3 -0.2
3.5 δ [rad]
-0.2
1.5
2
0 2.5
0.2 3
3.5
vx [m/s]
δ [rad]
δ [rad]
vx [m/s]
Fig. 3. Stationary velocity manifold of the bicycle model rendered in red the parts corresponding to oversteering, in blue neutral and
understeering, see [8] for more details.
a finite state automaton and that together with the continuous dynamics of (1) this implies that the path
planning problem can be cast as a hybrid control problem [34][Section 3].
The path planner generates all trajectories that consist of _Ns_ constant velocity segments, each of duration
_Tpp_, that satisfy the aforedescribed concatenation constraints. Once all the state trajectories have been
computed the path planning algorithm discards those that violate the state constraints (i.e., leave the
track). Among the remaining feasible trajectories, the path planner selects the trajectory with the greatest
progress, calculated by projecting the end point of the trajectory on the center line of the track (Fig.
4). This is accomplished by first generating offline a piecewise affine approximation of the center line,
comprising 488 pieces with end points distributed regularly on the center line. Online the projection can
then be computed by finding the closest affine piece and taking an inner product.
A similar path planning concept based on constant velocity segments (trims) was derived in [36], and
applied to autonomous driving in [38]. Our method is different since we do not plan a path from a starting
point to a target set.
_C._ _Reference_ _tracking_ _MPC_
The selected trajectory from the higher level path planner is passed over to a lower level MPC that
tracks the given trajectory based on the full model (1). To render the MPC problem tractable, first the
nonlinear model (1) is linearized around the reference state and input trajectory from the path planner and
then discretized. Second, the track constraints are approximated by constraining each _X −_ _Y_ state along
the horizon to lie between two half-spaces approximating the track. These reformulations, together with a
quadratic state reference tracking cost and a quadratic input rate cost, allow to formulate the problem as
a convex quadratic program. The resulting optimization problem can be solved within milliseconds using
tailored MPC solvers such as [39]. Since the focus of the paper is on the higher level path planner, we
refer the interested reader to [8], where the MPC problem is discussed in more detail.
#### p(xN)
Fig. 4. Schematic drawing of the path planning as presented in [8]. The red trajectories get discarded as they leave the track; of the remaining
trajectories (orange and black) the orange is the one leading to the greatest progress along the track indicated in blue.
_D._ _Limitations_ _and_ _motivations_ _of_ _present_ _work_
While the hierarchical controller outlined above has enabled us to perform real-time racing of the RC
cars, it faces two major drawbacks that limits its performance. The first drawback is the exponential
growth of possible trajectories as a function of the number of segments, _Ns_ . The second drawback is
that feasibility does not imply recursive feasibility. Indeed it has been observed in [34], that the maximal
progress trajectory is often not recursive feasible, when only feasibility is enforced.
To tackle these drawbacks we calculate the viability kernel of the path planner. By restricting the path
planner to trajectories that keep the system within the viability kernel (instead of just the track), recursive
feasibility of the path planning step is guaranteed under the assumption of no model mismatch. Moreover,
the use of the viability kernel has two computational advantages that can be exploited to dramatically
reduce the computation time. First, it allows one to consider fewer trajectories (only those that remain in
the viability kernel instead of all trajectories that remain in the track) and second, it suffices to verify that
at any switching point stays within the viability kernel instead of checking that the whole trajectory stays
within the track. Note that using the viability kernel does not fundamentally tackle the exponential growth
of the path planning computation in the horizon length. Empirically, however, this additional pruning of
candidate trajectories does lead to a significant reduction in the online computation times. Preliminary
results reported in [34] suggest that this reduction is by a factor of ten, making it possible to extend the
paths considered by more segments, leading to a better closed-loop performance. In Section VII we show
that a more efficient implementation allows a further reduction in computation time and allow for even
more segments.
III. VIABILITY KERNEL AND DISCRIMINATING KERNEL
In this section we briefly discuss discrete-time viability theory which will later on be used to construct
recursive feasible trajectories. Discrete-time viability theory addresses the question for which initial
conditions does there exists a solution to a difference inclusion, which stays within a constraint set
forever [10]. Consider a controlled discrete-time system _xk_ +1 = _f_ ( _xk, uk_ ), where _x_ _∈_ R <sup>_n_</sup> is the state,
_u_ _∈_ _U_ _⊂_ R <sup>_m_</sup> is the control input and _f_ : R <sup>_n_</sup> _× U_ _→_ R <sup>_n_</sup> a continuous function. This system can be
formulated as a difference inclusion,
_xk_ +1 _∈_ _F_ ( _xk_ ) _,_ with _F_ ( _x_ ) = _{f_ ( _x, u_ ) _|u ∈_ _U_ _} ._ (2)
We next briefly summarize the standard viability kernel algorithm of [18] for the above class of systems.
_A._ _Viability_ _kernel_ _algorithm_
Given a constraint set _K_ _⊂_ R <sup>_n_</sup>, solutions to the difference inclusion (2) which stay in _K_ forever are
known as _viable_ _solutions_ .
_Definition_ _1_ _([18]):_ A set _D_ _⊂_ R <sup>_n_</sup> is a discrete viability domain of _F_ if _F_ ( _x_ ) _∩_ _D̸_ = _∅_ for all _x ∈_ _D_ .
The discrete viability kernel of a set _K_ _⊂_ R <sup>_n_</sup> under _F_, denoted by Viab _F_ ( _K_ ), is the largest closed
discrete viability domain contained in _K_ .
Under mild assumptions on _F_ (discussed below in Proposition 1) standard viability theory arguments
ensure the existence of the discrete viability kernel and establish the existence of viable solutions for all
the states contained in it.
Conceptually speaking, the viability kernel can be calculated through the so called viability kernel
algorithm:
_K_ <sup>0</sup> = _K,_
_K_ <sup>_n_</sup> <sup>+1</sup> = _{x ∈_ _K_ <sup>_n_</sup> _|F_ ( _x_ ) _∩_ _K_ <sup>_n̸_</sup> = _∅} ._ (3)
_Proposition_ _1_ _([18]):_ Let _F_ be an upper-semicontinuous set-valued map with closed values and let _K_
be a closed subset of Dom( _F_ ). Then, <sup>�</sup> _n_ <sup>_∞_</sup> =0 <sup>_K_</sup> <sup>_n_</sup> <sup>= Viab</sup> <sup>_F_</sup> <sup>(</sup> <sup>_K_</sup> <sup>).</sup>
The viability kernel algorithm requires one to perform operations with arbitrary sets and as such is not
implementable. In practice, viability kernels are approximated by discretizing/gridding the state space.
Consider a family of countable subsets _Xh_ of R <sup>_n_</sup>, parameterized by _h ∈_ R, such that
_∀x ∈_ R <sup>_n_</sup> _,_ _∃xh_ _∈_ _Xh_ s.t. _∥x −_ _xh∥∞_ _≤_ _α_ ( _h_ ) _,_
for some continuous function _α_ : R+ _→_ R+ with lim _h→_ 0 _α_ ( _h_ ) = 0. Given a grid point _xh_ _∈_ _Xh_, we will
call the set of points _{x ∈_ R <sup>_n_</sup> _| ∥x −_ _xh∥∞_ _≤_ _α_ ( _h_ ) _}_ the _cell_ of _xh_ . Notice that the cells of different grid
points may overlap. We note that, unlike [18], we resort here to the infinity norm, as this will facilitate
the presentation of subsequent results.
To ensure that the discretized set-valued map _F_ ( _xh_ ) _∩_ _Xh_ is non-empty it is necessary to enlarge the
set-valued map before discretization, a process that is known as “expansion” [18]. The expanded set-valued
map is defined as _F_ <sup>_r_</sup> ( _x_ ) = _F_ ( _x_ ) + _rB∞_, where _B∞_ is a closed unit ball in the infinity norm centered at
the origin and _r_ is the radius of the ball. It can be shown that, for _r_ _≥_ _α_ ( _h_ ), _F_ <sup>_r_</sup> ( _x_ ) _∩_ _Xh_ is non empty
for all _x_ . Throughout we denote _Fh_ <sup>_r_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>) =</sup> <sup>_F r_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>and</sup> <sup>assume</sup> <sup>for</sup> <sup>simplicity</sup> <sup>that</sup> <sup>_r_</sup> <sup>=</sup> <sup>_α_</sup> <sup>(</sup> <sup>_h_</sup> <sup>).</sup> <sup>When</sup>
for all _x_ . Throughout we denote _Fh_ <sup>_r_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>) =</sup> <sup>_F r_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>and</sup> <sup>assume</sup> <sup>for</sup> <sup>simplicity</sup> <sup>that</sup> <sup>_r_</sup> <sup>=</sup> <sup>_α_</sup> <sup>(</sup> <sup>_h_</sup> <sup>).</sup> <sup>When</sup>
restricted to _Xh_ the set-valued map _Fh_ <sup>_r_</sup> <sup>defines</sup> <sup>the</sup> <sup>following</sup> <sup>discrete</sup> <sup>time</sup> <sup>system</sup> <sup>over</sup> <sup>the</sup> <sup>countable</sup> <sup>set</sup>
restricted to _Xh_ the set-valued map _Fh_ <sup>_r_</sup> <sup>defines</sup> <sup>the</sup> <sup>following</sup> <sup>discrete</sup> <sup>time</sup> <sup>system</sup> <sup>over</sup> <sup>the</sup> <sup>countable</sup> <sup>set</sup>
by
_xh,k_ +1 _∈_ _Fh_ <sup>_r_</sup> <sup>(</sup> <sup>_xh,k_</sup> <sup>)</sup> <sup>_._</sup> (4)
If the set _K_ is compact, then the set _Xh_ can be assumed to be finite and the viability kernel algorithm (3)
applied to (4) converges after a finite number of iterations, since _Kh_ = _K ∩_ _Xh_ is finite. Moreover, under
appropriate technical assumptions [18], the resulting set inner-approximates the viability kernel, i.e.,
Viab _Fh_ <sup>_r_</sup> <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>(Viab</sup> <sup>_F r_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>)</sup> <sup>_._</sup> (5)
Note that the guaranteed inner approximation is only with respect to the viability kernel of the extended
dynamics _F_ <sup>_r_</sup> . The extension limits the granularity/resolution of features that the kernel can represent due
to extension, but is necessary in the finite case. Finally, the finite viability kernel converges to the discrete
viability kernel as the space discretization _h_ goes to zero, [18].
_B._ _Discriminating_ _kernel_ _algorithm_
The discriminating kernel algorithm of [19] extends viability computations to systems where the state
evolution _xk_ +1 = _g_ ( _xk, uk, vk_ ) is additionally affected by a disturbance _vk_ _∈_ _V_ _⊂_ R <sup>_d_</sup>, where _g_ : R <sup>_n_</sup> _×_
_U_ _× V_ _→_ R <sup>_n_</sup> is assumed to be a continuous function. The discriminating kernel algorithm returns all
states (“victory domain”) where there exists a control input, which is able to prevent the disturbance from
driving the system to the open set R <sup>_n_</sup> _\ K_ . Notice that, in the discriminating kernel the control is able to
access the disturbance’s current action, which is not the case if the related leadership kernel is used, for
more details we refer to [40].
The difference equation can again be written as a difference inclusion
_xk_ +1 _∈_ _G_ ( _x, v_ ) with _G_ ( _x, v_ ) = _{g_ ( _x, u, v_ ) _|u ∈_ _U_ _} ._
_Definition_ _2_ _( [19]):_ A set _Q_ _⊂_ R <sup>_n_</sup> is a discrete discriminating domain of _G_, if for all _x_ _∈_ _Q_, we
have that _G_ ( _x, v_ ) _∩_ _Q̸_ = _∅_ for all _v_ _∈_ _V_ . The discrete discriminating kernel of a set _K_ _⊂_ R <sup>_n_</sup> under _G_,
denoted by Disc _G_ ( _K_ ), is the largest closed discrete discriminating domain contained in _K_ .
One can show that the discriminating kernel Disc _G_ ( _K_ ) exists if _K_ is a closed subset of R <sup>_n_</sup> and _G_ : R <sup>_n_</sup> _×_
_V_ ⇝ R <sup>_n_</sup> is an upper-semicontinuous set-valued map with compact values [19]. The discrete discriminating
kernel can be calculated using an algorithm similar to the viability kernel algorithm, by considering a
sequence of nested closed sets
_K_ <sup>0</sup> = _K,_
_K_ <sup>_n_</sup> <sup>+1</sup> = _{x ∈_ _K_ <sup>_n_</sup> _|∀v_ _∈_ _V,_ _G_ ( _x, v_ ) _∩_ _K_ <sup>_n̸_</sup> = _∅} ._ (6)
To numerically implement the discriminating kernel algorithm, the state space R <sup>_n_</sup>, the disturbance space
_V_ and the difference inclusion _G_ ( _x, v_ ) have to be discretized [19]. Whenever _K_ and _V_ are compact the
algorithm (6) terminates after a finite number of iterations. Similar to the viability kernel it can be shown
that the finite approximation of the discriminating kernel converges to the discrete discriminating kernel
as the space discretization _h_ goes to zero [19].
IV. ROBUSTIFYING THE VIABILITY KERNEL ALGORITHM AGAINST SPACE DISCRETIZATION ERRORS
_A._ _Errors_ _due_ _to_ _the_ _space_ _discretization_
We start by noting that the inner approximation property of the viability kernel algorithm (5) only holds
for viable grid points and not for states in their cells. In practice it is desirable that the viability property
of a grid point is passed on to its cell. In the following section we present a rigorous approach to ensure
this property.
_Assumption_ _1:_ The function _f_ ( _x, u_ ) is continuous in _u_ and globally Lipschitz in _x_ with Lipschitz
constant _L_, that is there exists a positive number _L_, such that for all _u ∈_ _U_,
_∀x, y_ _∈_ R <sup>_n_</sup> : _∥f_ ( _y, u_ ) _−_ _f_ ( _x, u_ ) _∥∞_ _≤_ _L∥y −_ _x∥∞_ _._
Consider _xh_ _∈_ _Xh_, and a point _x_ _∈_ _xh_ + _rB∞_ in the cell of _xh_, then under Assumption 1, it holds that
for all _u ∈_ _U_
_f_ ( _x, u_ ) _∈_ _f_ ( _xh, u_ ) + _LrB∞_ _._ (7)
Therefore, to robustify the viability kernel algorithm against the space discretization, we can model the
discretization error as an additive disturbance on our nominal system, i.e.,
_xk_ +1 = _f_ ( _xk, uk_ ) + _vk,_ with _vk_ _∈_ _LrB∞_ _._ (8)
_B._ _Inner_ _approximation_ _of_ _viability_ _kernel_
To calculate an inner approximation of the viability kernel that guarantees viability of the entire cell
of a viable point, we propose to use the discriminating kernel algorithm (6).
_Proposition_ _2:_ Under Assumption 1, the discriminating kernel Disc _G_ ( _K_ ) of the difference inclusion,
_xk_ +1 _∈_ _G_ ( _xk, vk_ ) = _F_ ( _xk_ ) + _vk_ _vk_ _∈_ _LrB∞_ _,_ (9)
enjoys the following properties:
1) lim _r→_ 0 Disc _G_ ( _K_ ) = Viab _F_ ( _K_ ).
2) Disc _G_ ( _K_ ) is a viability domain of _F_ .
3) For all _x ∈_ Disc _G_ ( _K_ ) and for all _x_ ˆ _∈_ _x_ + _rB∞_, there exists a _u ∈_ _U_ such that _f_ (ˆ _x, u_ ) _∈_ Disc _G_ ( _K_ ).
_Proof:_ Under Assumption 1 _F_ ( _x_ ) is upper-semicontinuous, hence _G_ ( _x_ ) is upper-semicontinuous, and
the conditions to apply the viability and discriminating kernel algorithms are satisfied.
1) If _r_ _→_ 0 the disturbance set vanishes, thus <sup>�</sup> _r>_ 0 <sup>_LrB∞_</sup> <sup>=</sup> <sup>_{_</sup> <sup>0</sup> <sup>_}_</sup> and using _Remark_ _4.1_ of [19], the
discriminating kernel is identical to the viability kernel.
2) By definition the discriminating kernel is a discriminating domain. Thus for all _x_ _∈_ Disc _G_ ( _K_ ) we
have,
( _F_ ( _x_ ) + _v_ ) _∩_ Disc _G_ ( _K_ ) _̸_ = _∅_ _∀v_ _∈_ _V_ = _LrB∞_ _,_
Since _v_ = 0 _∈_ _LrB∞_ is an allowed disturbance, the discriminating kernel is also a viability domain, as
_∀x ∈_ Disc _G_ ( _K_ ) _,_ _F_ ( _x_ ) _∩_ Disc _G_ ( _K_ ) _̸_ = _∅_ _._
3) First, by (7) we know that for all _x_ ˆ _∈_ _x_ + _rB∞_
_f_ (ˆ _x, u_ ) _∈_ _f_ ( _x, u_ ) + _LrB∞_ _,_
and therefore for a given _u ∈_ _U_, _f_ (ˆ _x, u_ ) = _f_ ( _x, u_ ) + _v_, for some _v_ _∈_ _LrB∞_ . Second, from [41][Equation
(4)] we know that the discriminating kernel Disc _G_ ( _K_ ) is the largest closest subset of _K_ such that for all
_x_ _∈_ Disc _G_ ( _K_ ) and for all _v_ _∈_ _V_, there exists a _u_ _∈_ _U_ such that _g_ ( _x, u, v_ ) _∈_ Disc _G_ ( _K_ ). Thus, together
we have that for every _x_ ˆ _∈_ _x_ + _rB∞_ there exists a _u ∈_ _U_, such that _f_ (ˆ _x, u_ ) _∈_ Disc _G_ ( _K_ ).
Note that if the leadership kernel is used instead of the discriminating kernel, a similar property can
be shown.
As discussed in the previous Section III, it is necessary to discretize space to implement the discriminating kernel algorithm. To state similar properties as in Proposition 2 if the space is discretized
we need an inner approximation of the discriminating kernel Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>.</sup> <sup>This</sup> <sup>is</sup>
generally not given, therefore we derive a modified discriminating kernel algorithm, which guarantees an
inner approximation for the given system (9). The modified discriminating kernel algorithm is derived
in Appendix A and stated in Algorithm 1. The algorithm, however needs two assumptions; ( _i_ ) we only
consider square grids and ( _ii_ ) the set _U_ needs to be finite. The second assumption is necessary to implement
the algorithm and can be achieved by introducing a finite discretization of _U_, which we henceforth denote
by _Uh_ _⊂_ _U_ . Note that for our system square grids are an obvious simple choice and the path planning
model has a finite input space by construction.
_Proposition_ _3:_ Consider the finite dynamical system corresponding to the extended and discretized
system of (9),
_xh,k_ +1 _∈_ _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh,k_</sup> <sup>) = (</sup> <sup>_F_</sup> <sup>(</sup> <sup>_xh,k_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>_,_</sup>
where _vh_ _∈_ _Vh_ is the discretization of _LrB∞_ . If Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>computed</sup> <sup>with</sup> <sup>Algorithm</sup> <sup>1,</sup> <sup>then</sup> <sup>the</sup>
following properties hold:
1) Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>viability</sup> <sup>domain</sup> <sup>of</sup> <sup>_F_</sup> _h_ <sup>_r_</sup>
1) Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>viability</sup> <sup>domain</sup> <sup>of</sup> <sup>_F_</sup> _h_ <sup>_r_</sup> <sup>.</sup>
2) For all _xh_ _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>and</sup> <sup>for</sup> <sup>all</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_∈_</sup> <sup>_xh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>,</sup> <sup>there</sup> <sup>exists</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup> <sup>(</sup> <sup>_f_</sup> <sup>(ˆ</sup> <sup>_x, uh_</sup> <sup>) +</sup>
_rB∞_ ) _∩_ _Xh_ _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>).</sup>
_rB∞_ ) _∩_ _Xh_ _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>).</sup>
_Proof:_ See Appendix A.
_C._ _Reconstructing_ _viable_ _controls_
The use of the discriminating kernel in the path planning step of the hierarchical racing controller is
not directly possible as the action depends on both the state and the disturbance. Thus, the reconstruction
of a viable set-valued feedback policy as proposed in [34] is not possible. However, as the disturbance
is related to the position of the current state within the grid cell the disturbance is indirectly known.
Furthermore, we know that if the state is within a grid cell of the discriminating kernel, there exists a
control which keeps the system within a grid cell of the discriminating kernel, see Proposition 3. Thus,
we can formulate a predictive controller which enforces this property. More precisely, we can consider
the following optimization problem which constrains the state to stay within the discriminating kernel.
Feasibility of the problem below is ensured by virtue of Proposition 3; the objective function _J_ ( _x, u_ )
allows us to optimize some cost function. In our autonomous racing application _J_ ( _·, ·_ ) is chosen such
that the car’s progress, measured as described in Section II, is maximized, and the system dynamics
_xk_ +1 = _f_ ( _xk, uh,k_ ) is the path planning model described in the next section,
min
u _h,_ x
_NS_
_k_ =0
_J_ ( _xk, uh,k_ ) _,_
s.t. _x_ 0 = _x,_ (10)
_xk_ +1 = _f_ ( _xk, uh,k_ ) _,_ _uh,k_ _∈_ _Uh,_
( _f_ ( _xk, uh,k_ ) + _rB∞_ ) _∩_ _Xh_ _⊂_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_._</sup>
Where, u _h_ = [ _uh,_ 0 _, ..., uh,NS_ _−_ 1] is the control sequence, x = [ _x_ 0 _, ..., xNS_ ] the corresponding state sequence,
_x_ the measured state and _uh,k_ _∈_ _Uh_ the input constraints. We point out that the problem is solved by
enumeration, which limits the horizon to few steps. To reduce the computation time related to generate
all feasible input and state sequences, it is possible to replace _uh,k_ _∈_ _Uh_ with _uh,k_ _∈_ _UD_ ( _xk_ + _rB∞_ _∩_ _Xh_ ),
where,
_uh_ _∈_ _Uh |∃vh_ _∈_ _Vh_
_f_ ( _xh, uh_ ) + _vh_ + _rB∞_
if _xh_ _∈_
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup>
_._ (11)
_∩_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_∅_</sup>
_U_ D( _xh_ ) =
_∅_ otherwise
If instead the viability kernel is used, the last constraint of (10) is replaced with ( _f_ ( _xk, uh,k_ )+ _rB∞_ ) _∩Xh_ _⊂_
Viab _Fh_ <sup>_r_</sup> <sup>(</sup> <sup>_Kh_</sup> <sup>).</sup> <sup>And</sup> <sup>to</sup> <sup>reduce</sup> <sup>the</sup> <sup>computation</sup> <sup>time</sup> <sup>_uh,k_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>can</sup> <sup>be</sup> <sup>replaced</sup> <sup>with</sup> <sup>_uh,k_</sup> <sup>_∈_</sup> <sup>_UV_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>_∩_</sup>
_Xh_ ), where the set-valued feedback law _uk,h_ _∈_ _U_ V( _xh_ ) can be computed similar to _U_ D in (11). However,
there exists no guarantee that the control will keep the system within the viability kernel if the state does
not always coincide with a grid point.
In the following two sections, we discuss _xk_ +1 = _f_ ( _xk, uk_ ) as well as Disc _G_ ( _K_ ) and Viab _F_ ( _K_ ), which
are needed to formulate the high level path planner in terms of (10).
V. PATH PLANNING MODEL
As discussed in Section II, the path planning problem can be formalized in terms of hybrid systems,
where the discrete mode _q_ of the hybrid system represents the current stationary velocity, while the
continuous evolution is given by the kinematic model with the corresponding stationary velocity. A clock
variable is added which allows a jump to a different discrete mode every _Tpp_ seconds. Thus the continuous
evolution is given by,
_X_ ˙ = _vx_ ( _q_ ) cos( _ϕ_ ) _−_ _vy_ ( _q_ ) sin( _ϕ_ ) _,_ (12a)
_Y_ ˙ = _vx_ ( _q_ ) sin( _ϕ_ ) + _vy_ ( _q_ ) cos( _ϕ_ ) _,_ (12b)
_ϕ_ ˙ = _ω_ ( _q_ ) _,_ (12c)
_T_ ˙ = 1 _,_ (12d)
where _vx_ ( _q_ ) _, vy_ ( _q_ ) _, ω_ ( _q_ ) are the stationary velocities at the discrete mode _q_ . The discrete transition takes
place every _Tpp_ seconds, and a discrete control input respecting the concatenation constraints encoded by
the finite automaton determines the discrete mode after the transition. As shown in [34], the model can
be formally cast in the framework of hybrid automata [42].
Since the system is hybrid one would, strictly speaking, have to employ hybrid viability algorithms
[43], [44]. This would, however, require gridding the four dimensional continuous space for each of the
_Nm_ discrete modes, a task that is computationally very demanding. As the discrete transitions occur at
fixed time intervals, the system can be interpreted as a sampled data system, with constant inputs over
the time interval. Therefore, the system can be approximated by a discrete time system with a sampling
time of _Tpp_ . The discrete state _q_ of the hybrid system is considered by embedding it in the real numbers,
or in other words “pretending” that _q_ _∈_ R; hence the discrete dynamics can be encoded as a transition
relation that depends on the current mode. This renders the time state redundant and reduces the state
space dimension by one. Thus, it is only required to grid a 3 dimensional space, in addition to the coarse
grid corresponding to the discrete state.
We denote the state space of the difference equation at time step _k_ by _xk_ = ( _Xk, Yk, ϕk, qk_ ), and the
control by _uk_, which determines the next mode _qk_ +1 = _uk_ . As the control input depends on the current
mode _qk_, we abstractly write _uk_ _∈_ _U_ ( _xk_ ), where _U_ ( _xk_ ) represents all allowed transitions in the automaton
encoding the concatenation constraints, or in other words all allowed next modes _qk_ +1, as detailed in [34].
Let _X_ ( _xk, uk, t_ ) _,_ _Y_ ( _xk, uk, t_ ) _,_ _ϕ_ ( _xk, uk, t_ ) denote the solution of (12a)-(12c) at time _t_, with _q_ = _uk_ while
starting at _xk_ = ( _Xk, Yk, ϕk, qk_ ). Note that, since the velocities are constant the solution can be explicitly
computed as a function of time. Thus, we can define the path planner as the following discrete-time
model,
_,_ (13)
_xk_ +1 = _f_ ( _xk, uk_ ) =
_X_ ( _xk, uk, Tpp_ )
_Y_ ( _xk, uk, Tpp_ )
_ϕ_ ( _xk, uk, Tpp_ )
_uk_
where _Tpp_ is the path planning discretization time. The set-valued map needed for the viability kernel
algorithm is given by _F_ ( _x_ ) = _{f_ ( _x, u_ ) _|u_ _∈_ _U_ ( _x_ ) _}_, and the output is the union of a finite number of
points in the state space.
For the viability and discriminating kernel algorithm it is required that _F_ ( _x_ ) is an upper-semicontinuous
set-valued map. In the following, we show that by appropriately embedding the discrete state in the
set of real numbers, upper-semicontinuity of the set-valued map of (13) can be ensured despite the
hybrid structure of the model. To see this, recall that a set-valued map _F_ : R <sup>_n_</sup> ⇝ R <sup>_n_</sup> is called uppersemicontinuous if and only if for all _x_ _∈_ R <sup>_n_</sup> and for all _ϵ_ _>_ 0 there exists an _η_ _>_ 0 such that for all
_x_ <sup>_′_</sup> _∈_ _x_ + _ηB_ it holds that _F_ ( _x_ <sup>_′_</sup> ) _⊂_ _F_ ( _x_ )+ _ϵB_ [45]. By embedding the discrete state _q_ in the real numbers we
have _x_ = ( _X, Y, ϕ, q_ ) _∈_ R <sup>4</sup>, where the first three states ( _X, Y, ϕ_ ) are continuous by virtue of the original
model. Collecting them into the continuous state _xc_ = ( _X, Y, ϕ_ ) _∈_ R <sup>3</sup> and defining the integer lattice
M = _{_ 1 _, ..., Nm}_, where _Nm_ is the number of modes, we can define the following upper-semicontinuous
set-valued map,
_F_ ˜( _xc, m_ ) _,_ if _q_ _∈_ ( _m −_ 2 <sup><u>1</u></sup>
_,_
<sup><u>1</u></sup>
2
_F_ ( _xc, q_ ) =
_F_ ˜( _xc, m_ ) _,_ if _q_ _∈_ ( _m −_ 2 <sup><u>1</u></sup> <sup>_, m_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>)</sup>
- _F_ ˜( _xc, m_ ) _,_
_,_ if _q_ = _m_ + <sup><u>1</u></sup>
_F_ ˜( _xc, m_ + 1) 2
_,_ if _q_ = _m_ + <sup><u>1</u></sup>
2
where _F_ <sup>˜</sup> ( _xc, m_ ) = _{f_ ([ _xc, m_ ] _, u_ ) _|u ∈_ _U_ ( _m_ ) _}_ is the set-valued map defined at the lattice point _m_ . Notice
that _q_ _∈_ (1 _−_ 1 _/_ 2 _, Nm_ +1 _/_ 2) is w.l.o.g. since the automaton maps the interval to itself, forming an invariant
set in R. Finally, upper-semicontinuity is ensured because the dynamics of _xc_ is continuous and, using
the above proposed formulation there, are no discontinuities in a set-valued sense.
To reduce the number of grid points in a practical implementation of the algorithm it is beneficial to
limit the angle between 0 and 2 _π_ . Instead of using mod( _ϕ,_ 2 _π_ ), which would lead to a discontinuous
set-valued map, we propose the set-valued mod function
Mod( _ϕ,_ 2 _π_ ) =
which is upper-semicontinuous.
mod( _ϕ,_ 2 _π_ ) if _ϕ̸_ = _k_ 2 _π_
_,_
[0 _,_ 2 _π_ ] otherwise
Finally, with the model (13) it is still possible that the trajectory leaves the constraint set _K_ and re-enters
during the time interval _Tpp_ . This is an issue more generally for sampled data systems and was tackled in
[46] by a sampled data system viability/discriminating kernel algorithm that discards control inputs and
states for which the continuous evolution of the data sampled system leaves the constraint set _K_ .
In the following section we will use the described model, including the modifications and the modified
sampled data system viability/discriminating kernel algorithm to compute the kernel with respect to the
track constraints.
VI. VIABILITY KERNEL FOR THE TRACK
_A._ _Track_ _constraints_
The goal is to find a viable solution of the path planning model within the track (Fig. 1). To that end,
we can define the constraint set _K_ as,
( _X, Y_ ) _∈X_ Track _,_
_ϕ ∈_ [0 _,_ 2 _π_ ] _,_
_q_ _∈{_ 1 _, ..., Nm} ._
_K_ :=
In other words, _X, Y_ are constrained within the track, while _ϕ_ and _q_ are unconstrained. The state space is
uniformly gridded such that the distance in the respective unit (meter or radian) between two grid points
is identical. This leads to the smallest _r_ if the states are not normalized. Further, as _q_ is already finite no
gridding is necessary.
The Lipschitz constant of the path planning model (13) can be calculated analytically by differentiating
the explicit formula for _f_ ( _xk, uk_ ). By using different Lipschitz constants for each mode it is possible to
reduce conservatism of the proposed discriminating kernel approximation.
_B._ _Viability_ _vs._ _discriminating_ _kernel_
Proposition 2 statement 1) in Section IV suggests that the proposed discriminating kernel approximation
converges to the viability kernel as the grid spacing _r_ goes to zero. To verify this, we compare the fraction
of grid points in _K_ which fall into the respective kernels. Thus, if all grid points in _K_ are viable, then
the fraction would be one. Fig. 5 shows the fraction for the viability kernel and the discriminating kernel
approximation for different numbers of grid points. It is interesting to see that the proportion of the viability
kernel stays approximately at 0.35, whereas the discriminating kernel approaches the viability kernel as
the grid spacing gets smaller. We can make two observations from Fig. 5, first, as Proposition 2 suggests
the two approximations of the viability kernel get closer the smaller the grid spacing is. Second, while
the viability kernel only changes slightly as a function of the grid spacing, the proposed discriminating
kernel approximation requires a relative fine grid to achieve an approximation that is similar to the one
of the viability kernel algorithm. Intuitively speaking, this is due to the fact that a coarse grid introduces
a larger uncertainty than a fine grid, see also (8).
0.5
Viab Kernel
<u>Disc Kernel</u>
0.4
0.3
0.2
0.1
0
10 <sup>7</sup> 10 <sup>8</sup>
grid points
Fig. 5. Fraction of grid points of _K_ which fall into the viability kernel and the discriminating kernel, as a function of the total number of
grid points in _K_ .
Fig. 6, visualizes the two kernels by comparing slices of the four dimensional kernels, this is achieved
by fixing the angle _ϕ_ and the mode _q_, resulting in just the _X −_ _Y_ plane which is easy to visualize. Fig.
6, allows to see a qualitative difference between the viability and discriminating kernel for _r_ = 0 _._ 02 and
_r_ = 0 _._ 015 (corresponding to 65’528’130 and 157’284’540 grid points respectively). Note that _r_ = 0 _._ 02
implies that the grid points are 4 cm apart; as a comparison the track is 37 cm wide, and the size of the cars
is about 10 _×_ 5 cm. Fig. 6 shows that the difference between the two kernels also qualitatively becomes
2
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-1 0 1 2
X [m]
2
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-1 0 1 2
X [m]
Fig. 6. Red points indicate that the grid point is in both kernels, blue grid points are only in the viability kernel and not shown grid points
are in neither kernel. Both plots show a slice through the kernels for the angle fixed to _ϕ_ = 180 <sup>_◦_</sup> and a mode where the car is driving straight
with 2 m/s. In the left figure 65’528’130 grid points are used in the calculation whereas the right we us a finer grid with 157’284’540 grid
points.
TABLE I
INFLUENCE OF THE VIABILITY CONSTRAINTS
mean
Controller
lap time
[s]
# constr.
violations
comp.
online comp. time [ms]
time
kernel [s]
median max
memory [MB]
tions kernel [s]
abbr. kernel grid median max kernel control
_C_ <sup>_nv_</sup> No N/A 8.77 10 43.71 334.23 N/A N/A N/A
_C_ <sup>_v_</sup> _c_ Viab coarse 8.57 0 0.904 7.968 17957 65 1769
_Cf_ <sup>_v_</sup> fine 8.39 3 0.870 7.557 43238 157 4246
_Cc_ <sup>_d_</sup> Disc coarse 8.60 1 0.870 7.533 156776 65 1769
_Cf_ <sup>_d_</sup> fine 8.41 6 1.032 6.518 397674 157 4246
smaller if we use a finer grid. More precisely Fig. 6 shows all the viable points if the car is driving
straight left with a forward velocity of 2 m/s. For the illustrated angle and constant velocity, mainly the
top straight and the bottom S-curve are of interest (depending on the driving direction). In this region the
difference between the kernels and the effect of grid size is visible, for example, in the bottom S-curve,
where the red region (which indicates that the grid point is in both kernels) gets significantly larger for
the finer grid.
VII. SIMULATION RESULTS AND SENSITIVITY ANALYSIS
We start with a simulation study to investigate the effect of the various design choices. We use the
full controller introduced in Section II, which includes the viability-based path planner (10) and the
MPC tracking controller. The controls are applied to the continuous time bicycle model (1), including
control quantization motivated by the communication link in the real set-up, where both control inputs
are represented using 8 bit each.
The effect of the following tuning parameters in the path planner are examined:
_•_ use of viability kernel, discriminating kernel, and no viability constraints;
_•_ grid size in ( _X, Y, ϕ_ );
_•_ number of modes _Nm_ ;
_•_ path planning discretization time _Tpp_ ;
_•_ number of constant velocity segments _NS_ .
To measure a controller’s performance, we consider the mean lap time, the number of constraint
violations (i.e., the number of time steps the car is outside the track constraints) and the computation
time required by the path planner. Each controller is simulated for 10’000 time steps; with a sampling
time of 20 ms, this corresponds to 200 s or roughly 23 laps. The simulations are performed on a MacBook
Pro with a 2.4 GHz Intel Core i7 processor, implemented in `C`, using `gcc` as a compiler and _−_ `O3` code
optimization. Furthermore, we investigate the offline computation time and required memory for certain
combinations, where the viability and discriminating kernel are computed in _JULIA_, on a computer running
Debian equipped with 16 GB of RAM and a 3.6 GHz Intel Xeno quad-core processor.
_A._ _Viability_ _constraints_ _and_ _grid_ _size_
We first compare our proposed controller that uses a path planner with viability constraints ( _Cf_ <sup>_v_</sup>
_f_ <sup>_v_</sup> <sup>,</sup> <sup>_C_</sup> _f_ <sup>_d_</sup>
_f_ <sup>_d_</sup> <sup>,</sup> <sup>_C_</sup> _c_ <sup>_v_</sup>
_c_
and _Cc_ <sup>_d_</sup> <sup>),</sup> <sup>to</sup> <sup>a</sup> <sup>naive</sup> <sup>controller</sup> <sup>without</sup> <sup>viability</sup> <sup>constraints</sup> <sup>(</sup> <sup>_Cnv_</sup> <sup>).</sup> <sup>Specially,</sup> <sup>we</sup> <sup>consider</sup> <sup>both</sup> <sup>the</sup> <sup>viability</sup>
and _Cc_ <sup>_d_</sup> <sup>),</sup> <sup>to</sup> <sup>a</sup> <sup>naive</sup> <sup>controller</sup> <sup>without</sup> <sup>viability</sup> <sup>constraints</sup> <sup>(</sup> <sup>_Cnv_</sup> <sup>).</sup> <sup>Specially,</sup> <sup>we</sup> <sup>consider</sup> <sup>both</sup> <sup>the</sup> <sup>viability</sup>
kernel and the discriminating kernel (superscript _v_ and _d_ ), and two different grid spacing ( _r_ = 0 _._ 02 and
_r_ = 0 _._ 015) referred to as coarse and fine (subscript _c_ and _f_ ). All the controllers use the parameters
_Nm_ = 129, _Tpp_ = 0 _._ 16 s and _NS_ = 3 in the path planner. _C_ <sup>_nv_</sup> is based on the implementation proposed
in [8] with the horizon increased from one to three and an improvement in the way constant velocities
segments are concatenated in the path planner.
Table I compares all five controllers in terms of driving performance (mean lap time and constraint
violations) as well as computation cost. We see that the number of constraint violation is negligible for
all controllers as no controller triggers more than 10 violations (out of 10’000 steps). Focusing now on
the mean lap time we can distinguish three groups: First, we see _C_ <sup>_nv_</sup> that has the highest mean lap time.
Second are _Cf_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>, which have very similar mean lap times, and are clearly the two fastest algorithms.</sup>
_f_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup>
Second are _Cf_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>, which have very similar mean lap times, and are clearly the two fastest algorithms.</sup>
Third, we have _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>whose</sup> <sup>mean</sup> <sup>lap</sup> <sup>times</sup> <sup>lie</sup> <sup>between</sup> <sup>the</sup> <sup>first</sup> <sup>two</sup> <sup>groups.</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
Third, we have _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>whose</sup> <sup>mean</sup> <sup>lap</sup> <sup>times</sup> <sup>lie</sup> <sup>between</sup> <sup>the</sup> <sup>first</sup> <sup>two</sup> <sup>groups.</sup>
If we compare the online computation times of the controllers, then we can mainly differentiate between
the controller without viability constraints ( _C_ <sup>_nv_</sup> ) and controllers with viability constraints ( _Cf_ <sup>_v_</sup> <sup>,</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>,</sup> <sup>_C_</sup> _c_ <sup>_v_</sup> <sup>and</sup>
_f_ <sup>_v_</sup> <sup>,</sup> <sup>_C_</sup> _f_ <sup>_d_</sup>
_f_ <sup>_d_</sup> <sup>,</sup> <sup>_C_</sup> _c_ <sup>_v_</sup>
the controller without viability constraints ( _C_ <sup>_nv_</sup> ) and controllers with viability constraints ( _Cf_ <sup>_v_</sup> <sup>,</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>,</sup> <sup>_C_</sup> _c_ <sup>_v_</sup> <sup>and</sup>
_Cc_ <sup>_d_</sup> <sup>) which are on average more than 40 times faster. As</sup> <sup>_Cnv_</sup> <sup>does not use any viability constraints to guide</sup>
_Cc_ <sup>_d_</sup> <sup>) which are on average more than 40 times faster. As</sup> <sup>_Cnv_</sup> <sup>does not use any viability constraints to guide</sup>
the path planning process, more branches of the tree have to be generated and checked, slowing down
the computation, see Section II-D. Furthermore, we see from Table I that the maximal computation time
of _C_ <sup>_nv_</sup> is 334 ms, which by far exceeds the sampling time of 20 ms.
When comparing _C_ <sup>_nv_</sup> with the remaining controllers using the viability constraints, it is also important
to investigate the offline computation time and the memory the viability lookup tables in (10) require.
First, for the controllers with viability constraints, we need to compute the corresponding kernels. Their
computation time mainly depends on two factors: The choice between viability or discriminating kernel,
and the used grid size. The number of grid points has a direct influence on the offline computation time,
as the number of operations per grid point stays the same. The observation when comparing the chosen
kernel algorithm is that the discriminating kernel algorithm is significantly slower. This has two reasons:
first each iteration needs more operations than the viability kernel algorithm due to the disturbance (6);
second the discriminating kernel algorithm needs more iterations to converge. For an implementation the
required memory of the viability based path planner (10) is also important, as (10) requires to store a
four dimensional lookup table for the kernel and a five dimensional lockup table for the viable inputs.
The memory needed to store these lookup tables only depends on the grid size, and for the fine grid is
4.4 GB, and 1.8 GB for the coarse grid. Thus, we can conclude that, if the memory requirement and
offline computation time are of no concern, then _Cf_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>should</sup> <sup>be</sup> <sup>preferred</sup> <sup>as</sup> <sup>they</sup> <sup>are</sup> <sup>the</sup> <sup>best</sup>
_f_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
offline computation time are of no concern, then _Cf_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>should</sup> <sup>be</sup> <sup>preferred</sup> <sup>as</sup> <sup>they</sup> <sup>are</sup> <sup>the</sup> <sup>best</sup>
performing controllers. However, if the available memory is limited, _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>with</sup> <sup>a</sup> <sup>coarse</sup> <sup>grid</sup> <sup>achieve</sup>
performing controllers. However, if the available memory is limited, _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>with</sup> <sup>a</sup> <sup>coarse</sup> <sup>grid</sup> <sup>achieve</sup>
good performance at a significantly lower memory requirement.
For the following discussions we will compare the other tuning parameters ( _Nm_, _Tpp_ and _NS_ ), of the
path planner, while using _Cc_ <sup>_v_</sup> <sup>as</sup> <sup>the</sup> <sup>base</sup> <sup>comparison,</sup> <sup>marked</sup> <sup>as</sup> <sup>bold</sup> <sup>text</sup> <sup>in</sup> <sup>the</sup> <sup>tables.</sup>
For the following discussions we will compare the other tuning parameters ( _Nm_, _Tpp_ and _NS_ ), of the
path planner, while using _Cc_ <sup>_v_</sup> <sup>as</sup> <sup>the</sup> <sup>base</sup> <sup>comparison,</sup> <sup>marked</sup> <sup>as</sup> <sup>bold</sup> <sup>text</sup> <sup>in</sup> <sup>the</sup> <sup>tables.</sup>
_B._ _Number_ _of_ _modes,_ _Nm_
We examine the influence of _Nm_ by varying the number of modes, which depends on the grid imposed
on the stationary velocity manifold, see Appendix B for the different grids used. As expected, the lap time
get slower the fewer modes are considered (mean lap time with _Nm_ = 89 is 9.69 s), but at the same time
the computation time decrease by up to a factor of two. In all cases, the number of constraint violations
is zero.
_C._ _Discretization_ _time,_ _Tpp_
The effect of time discretization was investigating by testing different values of _Tpp_ _∈{_ 0 _._ 12 _,_ 0 _._ 16 _,_ 0 _._ 2 _,_ 0 _._ 24 _}_ s.
The results are summarized in Table II, where we can see that larger _Tpp_ lead to lower computation times
but the lap times getting slower. This effects come from the influence of _Tpp_ on the path planner model.
As for the same mode (same constant velocity), a larger _Tpp_ implies that the car travels further. This may
render this mode non-viable as the additional traveled distance may bring the car too close to the border.
In contrast slower modes more likely stay inside the track. Thus, the path planner more likely chooses
slow trajectories for larger _Tpp_, which leads to slower lap times. At the same time fewer trajectories are
viable, which reduces the computation time. Thus, even though, a larger _Tpp_ implies a longer preview,
the larger number of non-viable states mitigate this advantage.
TABLE II
INFLUENCE OF _Tpp_
mean
lap time
[s]
# constr.
violations
comp. time [ms]
tions
_Tpp_ median max
0 _._ 12 8.51 1 1.656 11.061
0.16 8.57 0 0.904 7.968
0 _._ 2 8.79 1 0.720 6.169
0 _._ 24 9.25 1 0.599 3.473
TABLE III
INFLUENCE OF _NS_
mean
lap time
[s]
# constr.
violations
comp. time [ms]
tions
_NS_ median max
2 8.83 0 0.179 2.435
3 8.57 0 0.904 7.968
4 8.56 1 17.015 114.278
_D._ _Number_ _of_ _constant_ _velocity_ _segments,_ _NS_
The influence of the number of constant velocity segments, or in other words the prediction horizon of
the path planner is investigated by varying _NS_ from two to four. In Table III we can see that more segments
improve the performance but at the same time the computation time is heavily increased. The improved
lap times came from the longer preview of the controller with larger _NS_ . The longer preview is achieved
without changing the viability of a trajectory, which stands in contrast with larger _Tpp_ . Furthermore, since
both _Tpp_ and _NS_ influence the preview window, we have observed that _NS_ and _Tpp_ should be tuned
simultaneously, e.g., for _NS_ = 2, _Tpp_ = 0 _._ 2 s achieves a faster mean lap time than _Tpp_ = 0 _._ 16 s.
_E._ _Concluding_ _remarks_
The above discussion is summarized in Fig. 7, which allows us to draw the following conclusions:
First, all the tested controllers based on kernel pruning outperform _C_ <sup>_nv_</sup>, the state of the art controller
based on [8], which for the horizon length considered does not even meet the real-time requirements. In
contrast, the controllers with viability constraints and _NS_ _≤_ 3 are real-time feasible; put another way, the
viability constraints allow one to use longer horizons in real-time than would be possible with the state
of the art controller. Second, when comparing the variations of _Cc_ <sup>_v_</sup> <sup>with</sup> <sup>different</sup> <sup>values</sup> <sup>of</sup> <sup>_Nm_</sup> <sup>,</sup> <sup>_Tpp_</sup> <sup>and</sup>
_NS_, we have observed that more modes _Nm_, shorter _Tpp_ and larger _NS_ are beneficial for the performance.
Furthermore, the numerical study indicates that, if a less powerful computer is used and the computation
time has to be reduced, the most effective way to do so is to reduce _NS_ to 2, see Fig. 7. Also note that
_NS_ = 4 leads to no further improvement in the lap time, which indicates that _NS_ = 3 is a sufficiently
long prediction horizon. This is also confirmed by using a terminal cost which captures the possible long
term progress of a state, which improves the performance for _NS_ = 2, but does not help to reduce the
lap time if _NS_ _≥_ 3.
Finally, we see from Table I that the viability-based controller is marginally faster than the discriminatingbased controller. The latter, however, uses the proposed discriminating kernel approximation, which takes
into account the discretization of the state space. Thus, the controller (10) comes with additional viability
guarantees.
1.8
Base Case
1.6 <u>Viab/Disc Coarse</u>
<u>Viab/Disc Fine</u>
1.4
NM
1.2 ~~T~~ pp
1 <u>N</u> ~~S~~
1.6
1.4
1.2
1
0.8
0.6
0.4
0.2
0
8.4 8.6 8.8 9 9.2 9.4 9.6 9.8
Mean Lap Time [s]
Fig. 7. Visualization of the investigated cases, with the base case is marked with a circle. Solid lines Table I, dashed line Section VII-B,
dash-doted line Table II and doted line Table III. For visualization purposes the data for _C_ <sup>_nv_</sup> and _NS_ = 4 are excluded form the plot.
_F._ _Closed_ _loop_ _behavior_ _of_ _Cc_ <sup>_v_</sup>
_c_ <sup>_v_</sup> <sup>_and_</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
_c_ <sup>_and_</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
Since the lap time of _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>are</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
Since the lap time of _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>are</sup> <sup>similar,</sup> <sup>it</sup> <sup>is</sup> <sup>interesting</sup> <sup>to</sup> <sup>investigate</sup> <sup>the</sup> <sup>driving</sup> <sup>behavior</sup> <sup>of</sup> <sup>the</sup>
two controllers. Fig. 8 shows one typical lap driven with _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>.</sup> <sup>The</sup> <sup>beginning</sup> <sup>of</sup> <sup>the</sup> <sup>lap</sup> <sup>is</sup> <sup>in</sup> <sup>the</sup>
two controllers. Fig. 8 shows one typical lap driven with _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>.</sup> <sup>The</sup> <sup>beginning</sup> <sup>of</sup> <sup>the</sup> <sup>lap</sup> <sup>is</sup> <sup>in</sup> <sup>the</sup>
top left corner marked with a line perpendicular to the track, and the cars race counter clockwise. The
velocity is shown relative to center line, to make it possible to compare the velocity at a given point on the
track; the projection on the center line is done as discussed in Section II. We see that most of the track,
the two controllers drive in a similar way and even have the same velocity. However, _Cc_ <sup>_d_</sup> <sup>drives</sup> <sup>somewhat</sup>
the two controllers drive in a similar way and even have the same velocity. However, _Cc_ <sup>_d_</sup> <sup>drives</sup> <sup>somewhat</sup>
slower coming into the curves, allowing higher velocity on the curve itself and higher exit velocity, the
most extreme cases are marked with a green bars in Fig 8. It is interesting to see that, these two different
driving styles lead to practically the same lap time.
_G._ _Obstacle_ _avoidance_
To further highlight the difference between the two controllers _Cc_ <sup>_v_</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
To further highlight the difference between the two controllers _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>we</sup> <sup>included</sup> <sup>several</sup> <sup>obstacles</sup>
at challenging position. The obstacle constraints can be included by modifying the constraint set _K_ and
recomputing the viability and discriminating kernel. We tested two obstacle configurations shown in Fig. 9.
For the first configuration (right plot in Fig. 9) _Cc_ <sup>_v_</sup> <sup>successfully avoids the obstacles, but the discriminating</sup>
For the first configuration (right plot in Fig. 9) _Cc_ <sup>_v_</sup> <sup>successfully avoids the obstacles, but the discriminating</sup>
kernel collapses to the empty set. The collapse is due to the conservatism added by considering the space
discretization and the fact that the model cannot stop. The second obstacle configuration is easier to
navigate and both controllers are able to find paths around the obstacles. However, _Cc_ <sup>_v_</sup> <sup>is</sup> <sup>significantly</sup>
navigate and both controllers are able to find paths around the obstacles. However, _Cc_ <sup>_v_</sup> <sup>is</sup> <sup>significantly</sup>
faster than _Cc_ <sup>_d_</sup> <sup>with</sup> <sup>a</sup> <sup>mean</sup> <sup>lap</sup> <sup>time</sup> <sup>of</sup> <sup>9.066</sup> <sup>compared</sup> <sup>to</sup> <sup>9.272 s.</sup>
_c_ <sup>_d_</sup> <sup>with</sup> <sup>a</sup> <sup>mean</sup> <sup>lap</sup> <sup>time</sup> <sup>of</sup> <sup>9.066</sup> <sup>compared</sup> <sup>to</sup> <sup>9.272 s.</sup>
VIII. EXPERIMENTAL RESULTS
To verify the simulation results, we implemented _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>in</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
To verify the simulation results, we implemented _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>in</sup> <sup>an</sup> <sup>experimental</sup> <sup>set-up.</sup> <sup>The</sup> <sup>set-up</sup>
consists of 1:43 Kyosho dnano RC cars, which are driven autonomously around the race track shown in
Fig. 1. The control signals are sent to the cars by an external computer via Bluetooth and an infraredbased vision system captures the cars current position, orientation and velocity. We refer the interested
#### 1 0 -1
#### 1 0 -1
16
2
9
10
#### -1 0 1
## X [m]
#### -1 0 1
## X [m]
#### 3.5
## Viab
#### 3
## ~~Disc~~
#### 2.5 2 1.5 1 0 2 4 6 8 10 12 14 16
## center line [m]
Fig. 8. Top left: All trajectories of the controller using the viability kernel (in blue), and the discriminating kernel (in dash-doted red). Top
right: To link relative position to the center line, every meter along the center line is marked with a point, whereas points of interest are
marked with the length of the center line in green. Bottom: Velocity profile relative to the center line of one lap for both controllers, points
of interest from the top right figure are marked with a green bar.
reader to [8] for a more detailed description of the hardware set-up. The controllers were implemented
on a desktop computer running Ubuntu 14.04 OS, equipped with 4 GB of RAM and a 3.5 GHz Intel i7
quad-core processor. The tracking MPC problem is solved using FORCES Pro [47].
For the experiments we implemented the two controllers _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>due</sup> <sup>to</sup> <sup>their</sup> <sup>good</sup> <sup>performance,</sup> <sup>and</sup>
because they are feasible in terms of memory (compared to _Cf_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>).</sup> <sup>We</sup> <sup>ran</sup> <sup>the</sup> <sup>experiment</sup> <sup>for</sup> <sup>200 s</sup>
For the experiments we implemented the two controllers _Cc_ <sup>_v_</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
_f_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup>
because they are feasible in terms of memory (compared to _Cf_ <sup>_v_</sup> <sup>and</sup> <sup>_C_</sup> _f_ <sup>_d_</sup> <sup>).</sup> <sup>We</sup> <sup>ran</sup> <sup>the</sup> <sup>experiment</sup> <sup>for</sup> <sup>200 s</sup>
and extracted all completed laps, shown in Fig. 10, together with the velocity profile of one lap. We see
from Table IV that constraint violations occur more frequently than in simulation. This is mainly due to
a significantly larger model mismatch when using the real car compared to the bicycle model used in
simulation. The increased model mismatch can also been seen by the increased spread of the trajectories
between the simulation and the experimental results, compare Fig. 8 and 10.
One way to deal with the model mismatch is to tighten the track constraints of the controller to
illustrate this we impose track constraints that are 1.5 cm away from the track boundary in the viability
computations, and 0.5 cm in the MPC; for comparison the miniature cars are 10 _×_ 5 cm in size. This
provides the controller a certain margin of errors but of course comes at the cost of a potential increase in
lap time. Constraint violation, are counted when the car is closer than 0.5 cm to the track boundary. The
model mismatch can also lead to infeasibilities in the controller. This is, for example the case for the path
1.5
1
0.5
0
-0.5
-1
-1.5
-1 -0.5 0 0.5 1 1.5
X [m]
1.5 Viab
Disc
1
0.5
0
-0.5
-1
-1.5
-1 -0.5 0 0.5 1 1.5 2
X [m]
Fig. 9. The best lap of the controllers for two obstacle constalation marked in black using the viability kernel (in blue), and the discriminating
kernel (in dash-doted red). In the left obstacle configuration only the viability kernel based controller is able to navigate the course.
planner when the current state is not inside the viability kernel. In such a case we resolve infeasibilities
in the path planning process using the following heuristics: First we find a viable neighboring cell and
solve the path planning problem pretending to be in the closest viable neighboring grid cell. If none of
the neighboring grid cells is viable, then an emergency stop is initiated, and the controller is restarted if
the car is back in a viable state. Infeasibilities in the lower level MPC problem are dealt with by using
soft constraints [48].
We see from Fig. 10 that _Cc_ <sup>_d_</sup> <sup>drives</sup> <sup>more</sup> <sup>conservatively,</sup> <sup>a</sup> <sup>feature</sup> <sup>we</sup> <sup>have</sup> <sup>also</sup> <sup>seen</sup> <sup>in</sup> <sup>the</sup> <sup>simulation</sup>
studies before. By breaking earlier, _Cc_ <sup>_d_</sup> <sup>is</sup> <sup>able</sup> <sup>to</sup> <sup>achieve</sup> <sup>higher</sup> <sup>velocities</sup> <sup>on</sup> <sup>the</sup> <sup>curves</sup> <sup>itself</sup> <sup>and</sup> <sup>higher</sup>
We see from Fig. 10 that _Cc_ <sup>_d_</sup>
studies before. By breaking earlier, _Cc_ <sup>_d_</sup> <sup>is</sup> <sup>able</sup> <sup>to</sup> <sup>achieve</sup> <sup>higher</sup> <sup>velocities</sup> <sup>on</sup> <sup>the</sup> <sup>curves</sup> <sup>itself</sup> <sup>and</sup> <sup>higher</sup>
exit velocities. In contrast to the simulation, however, the difference in the mean lap times between _Cc_ <sup>_d_</sup> <sup>and</sup>
exit velocities. In contrast to the simulation, however, the difference in the mean lap times between _Cc_ <sup>_d_</sup> <sup>and</sup>
_Cc_ <sup>_v_</sup> <sup>is</sup> <sup>larger,</sup> <sup>see</sup> <sup>Table</sup> <sup>IV,</sup> <sup>though</sup> <sup>the</sup> <sup>best</sup> <sup>and</sup> <sup>the</sup> <sup>worst</sup> <sup>laps</sup> <sup>are</sup> <sup>close</sup> <sup>with</sup> <sup>lap</sup> <sup>times</sup> <sup>in</sup> <sup>the</sup> <sup>range</sup> <sup>8.66</sup>
_Cc_ <sup>_v_</sup> <sup>is</sup> <sup>larger,</sup> <sup>see</sup> <sup>Table</sup> <sup>IV,</sup> <sup>though</sup> <sup>the</sup> <sup>best</sup> <sup>and</sup> <sup>the</sup> <sup>worst</sup> <sup>laps</sup> <sup>are</sup> <sup>close</sup> <sup>with</sup> <sup>lap</sup> <sup>times</sup> <sup>in</sup> <sup>the</sup> <sup>range</sup> <sup>8.66</sup>
to 9.54 s for _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>8.64</sup> <sup>to</sup> <sup>9.44 s</sup> <sup>for</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>.</sup> <sup>Also</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>constraint</sup> <sup>violations,</sup> <sup>is</sup> <sup>nearly</sup> <sup>identical.</sup>
_c_ <sup>_v_</sup> <sup>and</sup> <sup>8.64</sup> <sup>to</sup> <sup>9.44 s</sup> <sup>for</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
to 9.54 s for _Cc_ <sup>_v_</sup> <sup>and</sup> <sup>8.64</sup> <sup>to</sup> <sup>9.44 s</sup> <sup>for</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>.</sup> <sup>Also</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>constraint</sup> <sup>violations,</sup> <sup>is</sup> <sup>nearly</sup> <sup>identical.</sup>
For a video comparison of the two controllers, see [https://youtu.be/RlZdMojOni0.](https://youtu.be/RlZdMojOni0)
TABLE IV
EXPERIMENTAL IMPLEMENTATION OF _Cc_ <sup>_v_</sup>
_c_ <sup>_d_</sup> <sup>.</sup>
_c_ <sup>_v_</sup> <sup>AND</sup> <sup>_C_</sup> _c_ <sup>_d_</sup> <sup>.</sup>
median
lap time
[s]
# constr.
violations
comp. time [ms]
tions
Kernel median max
Viab 8.86 42 1.125 12.936
Disc 8.94 46 1.176 11.055
IX. CONCLUSION
In this work we showed that the existing hierarchical controller of [8] can be improved by incorporating
the viability kernel in the path planning phase. As a result, the path planner only generates viable
trajectories that are recursively feasible, while reducing the computation time. This in turn allows the
use of longer prediction horizons, which generally leads to better performance in terms of lap times and
constraint violations.
To compensate for discretization errors in the computation of the viability kernel, we formulated the
viability computation problem as a game between the uncertain initial condition introduced by the state
discretization and the control input. The resulting kernel was calculated using the discriminating kernel
algorithm, which allows us to derive an inner approximation of the normal viability kernel. Furthermore,
#### 1 0 -1
1 ~~0~~
10
~~16~~ ~~16~~
#### 1
#### -1
#### 2 0 2
9 9
#### -1 0 1
## X [m]
#### -1 0 1
## X [m]
#### 3.5
## Viab
#### 3
## Disc
#### 2.5 2 1.5 1 0 2 4 6 8 10 12 14 16
## center line [m]
Fig. 10. All laps of _Cc_ <sup>_v_</sup>
_c_ <sup>_v_</sup> <sup>(in</sup> <sup>blue)</sup> <sup>and</sup> <sup>_C_</sup> _c_ <sup>_d_</sup>
_c_ <sup>_d_</sup> <sup>(in</sup> <sup>dash-doted</sup> <sup>red)</sup> <sup>as</sup> <sup>well</sup> <sup>as</sup> <sup>the</sup> <sup>velocity</sup> <sup>profile</sup> <sup>of</sup> <sup>one</sup> <sup>lap.</sup>
the new kernel guarantees that there exists a control input that keeps the system within the kernel even if
the current state is not on a grid point but somewhere within the cell around a grid point.
In a numerical study we investigated the influence of different parameters on the performance of the
controller using the viability conststraints in the path planning phase of our controller, and compared the
performance if the standard viability kernel is used compared with our inner approximation. Although the
closed loop behavior of the controller using the standard viability kernel and the proposed discriminating
kernel approximation are different, the performance in terms of lap time of the two controllers is very
similar. The controller based on the proposed discriminating kernel approximation seems to drive with more
foresight and is less aggressive. The same behavior was also observed in our experimental implementation.
This work has mainly focused on the path planning step in the hierarchical controller, whereas the
lower level MPC is kept simple. In future work we will investigate how the lower level can be modified
to improve the driving performance. For example by considering the model uncertainty in the MPC design,
as proposed in [49]. Furthermore, we are investigating the use of the path planning model and the viability
constraints in a racing game with multiple opposing cars.
ACKNOWLEDGMENT
The authors would like to thank Xiaojing Zhang for the helpful discussions and his advice.
APPENDIX A
FINITE INNER APPROXIMATION
Recall from (5) that the finite viability kernel is an inner approximation of the discrete viability kernel
with respect to an extended set-valued map. For the discriminating kernel the authors are not aware
of similar results. Even though the basic algorithms (3) and (6) are similar, the discretization of the
disturbance space _Vh_ _⊂_ _V_ required in the discriminating kernel algorithm “weakens” the uncertainty. This
may lead to points in the _finite_ _discrete_ discriminating kernel Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>which</sup> <sup>are</sup> <sup>outside</sup> <sup>the</sup> <sup>_discrete_</sup>
discriminating kernel Disc _Gr_ ( _K_ ) _∩_ _Xh_ .
In the following we present a method for addressing this problem for our dynamics (9). This is
achieved by first showing that by only discretizing space, but not the disturbance space, the “semi-finite”
discriminating kernel is an inner approximation of Disc _Gr_ ( _K_ ) _∩Xh_ . And second by showing that for every
discrete disturbance _vh_ _∈_ _Vh_ there exists a set of disturbances _V_ <sup>˜</sup> _⊂_ _V_ which does not change the finite
dynamical system _xh,k_ +1 _∈_ _G_ ( _xh,k, vh,k_ ). This inside then allows to formulate a modified discriminating
kernel algorithm, which guarantees that Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>.</sup>
_A._ _Continuous_ _Disturbance_ _Space_
Let us first look into the “semi-finite” discriminating kernel where the state space is discretized but the
disturbance input is continuous. To this end let us introduce a new set-valued map _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>:</sup> <sup>_Xh × V_</sup> <sup>⇝</sup> <sup>_Xh_</sup> <sup>,</sup>
disturbance input is continuous. To this end let us introduce a new set-valued map _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>:</sup> <sup>_Xh × V_</sup> <sup>⇝</sup> <sup>_Xh_</sup> <sup>,</sup>
_G_ ˜ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>) :=</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>,</sup> <sup>which</sup> <sup>leads</sup> <sup>to</sup> <sup>the</sup> <sup>following</sup> <sup>finite</sup> <sup>dynamical</sup> <sup>system,</sup>
<sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>) :=</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>,</sup> <sup>which</sup> <sup>leads</sup> <sup>to</sup> <sup>the</sup> <sup>following</sup> <sup>finite</sup> <sup>dynamical</sup> <sup>system,</sup>
_xh,k_ +1 _∈_ _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh,k, vk_</sup> <sup>)</sup> <sup>_,_</sup> (14)
where _vk_ _∈_ _V_ . The following result holds for the new “semi-finite” discriminating kernel Disc _G_ ˜ _rh_
where _vk_ _∈_ _V_ . The following result holds for the new “semi-finite” discriminating kernel Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup>
_Proposition_ _4:_ Let _G_ : R <sup>_n_</sup> _×_ _V_ ⇝ R <sup>_n_</sup> be an upper-semicontinuous set-valued map with compact
values, _K_ be a closed subset of Dom( _G_ ), and _V_ a compact set. Let _r_ be such that, _∀v_ _∈_ _V_ _∀x_ _∈_
Dom( _G_ <sup>_r_</sup> ) _∩_ _Xh,_ _G_ <sup>_r_</sup> ( _x, v_ ) _∩_ _Xh̸_ = _∅_ . Then, Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>.</sup>
Dom( _G_ <sup>_r_</sup> ) _∩_ _Xh,_ _G_ <sup>_r_</sup> ( _x, v_ ) _∩_ _Xh̸_ = _∅_ . Then, Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>.</sup>
_Proof:_ The proof is an extension of the proof of _Proposition_ _4.1_ in [18] to the case of the discriminating kernel. We have that for any _v_ _∈_ _V_, _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>additionally</sup> <sup>_Kh_</sup> <sup>_⊂_</sup> <sup>_K_</sup> <sup>.</sup> <sup>By</sup> <sup>the</sup>
inating kernel. We have that for any _v_ _∈_ _V_, _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>additionally</sup> <sup>_Kh_</sup> <sup>_⊂_</sup> <sup>_K_</sup> <sup>.</sup> <sup>By</sup> <sup>the</sup>
definition of the discriminating kernel, we know that for all _xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>solution</sup> <sup>to</sup>
definition of the discriminating kernel, we know that for all _xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>solution</sup> <sup>to</sup>
the finite dynamical system (14) starting from this grid point, which forever stays within _Kh_, for any
sequence of disturbance inputs _vk_ . As _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>_Kh_</sup> <sup>_⊂_</sup> <sup>_K_</sup> <sup>,</sup> <sup>there</sup> <sup>also</sup> <sup>exists</sup> <sup>a</sup> <sup>solution</sup> <sup>to</sup>
sequence of disturbance inputs _vk_ . As _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>_Kh_</sup> <sup>_⊂_</sup> <sup>_K_</sup> <sup>,</sup> <sup>there</sup> <sup>also</sup> <sup>exists</sup> <sup>a</sup> <sup>solution</sup> <sup>to</sup>
_xk_ +1 _∈_ _G_ <sup>_r_</sup> ( _xk, vk_ ), starting at the same grid point which stays in _K_, for any disturbance input sequence.
One trivial solution to _xk_ +1 _∈_ _G_ <sup>_r_</sup> ( _xk, vk_ ), which fulfills the property is same as the one of the finite
dynamical system. Therefore, if _xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>the</sup> <sup>grid</sup> <sup>point</sup> <sup>is</sup> <sup>also</sup> <sup>an</sup> <sup>element</sup> <sup>of</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>),</sup> <sup>which</sup>
dynamical system. Therefore, if _xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>the</sup> <sup>grid</sup> <sup>point</sup> <sup>is</sup> <sup>also</sup> <sup>an</sup> <sup>element</sup> <sup>of</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>),</sup> <sup>which</sup>
concludes the proof.
Proposition 4 would allow us to state the discrete space counterpart of Proposition 2. However, Disc ˜ _Grh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup>
Proposition 4 would allow us to state the discrete space counterpart of Proposition 2. However, Disc ˜ _Grh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup>
can not be computed, thus we proceed by establishing a link between _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>_Gr_</sup> _h_ <sup>(</sup> <sup>_xh, vh_</sup> <sup>),</sup> <sup>which</sup>
<sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>_Gr_</sup> _h_
can not be computed, thus we proceed by establishing a link between _G_ <sup>˜</sup> <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh, v_</sup> <sup>)</sup> <sup>and</sup> <sup>_Gr_</sup> _h_ <sup>(</sup> <sup>_xh, vh_</sup> <sup>),</sup> <sup>which</sup>
allows to use Proposition 4 in the “fully finite” case.
_B._ _Discrete_ _Disturbance_ _Space_
By discretizing the disturbance space _Vh_ _⊂_ _V_, the possible actions of the disturbance input are reduced,
which can result in an wrong classification of states to lay within the discriminating kernel. More precisely
we can only guarantee that there exists a trajectory to the difference inclusion which stays in _Kh_ for all
sequences _vh,k_ . However, this does not necessary hold for all continuous disturbance sequences _vk_, as
illustrated in Fig. 11. Even under restrictive assumptions on the used grids, e.g., square grids, and fine
disturbance grid this problem is not solved.
However, it is possible to establish a link between the continuous and discrete disturbance, for the
dynamical system used in Proposition 2, _xk_ +1 _∈_ _F_ ( _xk_ ) + _vk_ with _vk_ _∈_ _V_ = _LrB∞_, where the uncertainty
vh = 0
vh = -Lr
vh = Lr
v ∉ vh
xh∉K <sup>n</sup> h
xh∈K <sup>n</sup> h
V = LrB∞
F(xh) + vh
(F(xh)+rB∞+vh)∩Xh
Fig. 11. Visualization of an instance where the fully finite algorithm gives a wrong answer for a given grid point. In the example a simple
1-D system _F_ ( _x_ ) with two discrete values is considered. For all finite disturbances (( _F_ ( _xh_ ) + _rB∞_ + _vh_ ) _∩_ _Xh_ ) _∩_ _Kh_ <sup>_n_</sup> <sup>is</sup> <sup>non</sup> <sup>empty,</sup> <sup>as</sup>
the first the lines illustrate, however, there exists a _v_ _∈/_ _vh_, where the condition is not fulfilled.
enters additive and the disturbance space is a box. We begin with stating the assumptions on the state
and disturbance grid.
_Assumption_ _2:_
_•_ _Xh_ _⊂_ _X_ is a square grid with a spacing of 2 _r_ in the infinity norm.
_•_ _Vh_ _⊆_ _V_ is a square grid, where any point _v_ _∈_ _V_ _⊂_ R <sup>_d_</sup> has 2 <sup>_d_</sup> neighboring points in _Vh_ which are
closer than 2 _r_ in the infinity norm.
The assumption on the state grid is necessary to exclude special cases that can arise with non square grids.
The assumption on the disturbance grid generates a grid where _V_ = _LrB∞_ is gridded with _⌈L⌉_ + 1 grid
points in each direction, including the corner points and grid points at the boundary of the set. Additionally
the disturbance grid spacing is smaller than the state grid spacing. Therefore, it is impossible that two
neighboring disturbance grid points can move _F_ ( _xh_ ) further than to the next grid cell.
In addition to Assumption 2 we need an assumption on the set of allowed controls. As the proposed
method will check every element of _F_ ( _x_ ), it is necessary that _F_ ( _x_ ) is a finite set, which is the case if
the set of admissible controls is finite. To achieve this, the set of control inputs _U_ is discretized, leading
to the following finite subset _Uh_ _⊆_ _U_ . Notice that _Uh_ does not need any additional structure.
_Corollary_ _1:_ If _Xh_ and _Vh_ fulfill Assumption 2, then for all _xh_ _∈_ _Xh_, _vh_ _∈_ _Vh_, and _uh_ _∈_ _Uh_, it holds
that
_x_ <sup>_∗_</sup> _h_
_x_ <sup>_∗_</sup> _h_ <sup>= (</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>_,_</sup>
_⇔f_ ( _xh, uh_ ) + _vh_ _∈_ _x_ <sup>_∗_</sup> _h_ <sup>+</sup> <sup>_rB∞_</sup> <sup>_._</sup>
<sup>_∗_</sup> _h_ <sup>+</sup> <sup>_rB∞_</sup> <sup>_._</sup>
_Proof:_ It is easy to see that the two statements are equivalent, as in the first statement the point is
projected onto a grid point whenever the it is closer than _r_ to this grid point in the infinity norm, and the
second statement states that the point is in a cell around the grid point with radius _r_ in the infinity norm.
Both statements are only true if _∥x_ <sup>_∗_</sup> _h_ <sup>_−_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>)</sup> <sup>_∥∞_</sup> <sup>_≤_</sup> <sup>_r_</sup>
Both statements are only true if _∥x_ <sup>_∗_</sup> _h_ <sup>_−_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>)</sup> <sup>_∥∞_</sup> <sup>_≤_</sup> <sup>_r_</sup>
From Corollary 1, we can see that there exists a neighborhood around _vh_, which still leads to the
same _x_ <sup>_∗_</sup> _h_ <sup>.</sup> <sup>Thus,</sup> <sup>for</sup> <sup>a</sup> <sup>given</sup> <sup>_xh_</sup> <sup>,</sup> <sup>_uh_</sup> <sup>and</sup> <sup>_vh_</sup> <sup>,</sup> <sup>we</sup> <sup>can</sup> <sup>compute</sup> <sup>the</sup> <sup>subset</sup> <sup>of</sup> <sup>all</sup> <sup>continuous</sup> <sup>disturbances</sup>
same _x_ <sup>_∗_</sup> _h_ <sup>.</sup> <sup>Thus,</sup> <sup>for</sup> <sup>a</sup> <sup>given</sup> <sup>_xh_</sup> <sup>,</sup> <sup>_uh_</sup> <sup>and</sup> <sup>_vh_</sup> <sup>,</sup> <sup>we</sup> <sup>can</sup> <sup>compute</sup> <sup>the</sup> <sup>subset</sup> <sup>of</sup> <sup>all</sup> <sup>continuous</sup> <sup>disturbances</sup>
_V_ ˜ ( _xh, uh, vh_ ) _⊆_ _V_ which maps to the same state grid point _x_ <sup>_∗_</sup> _h_ <sup>= (</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>,</sup>
<sup>_∗_</sup> _h_ <sup>= (</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>,</sup>
_V_ ˜ ( _xh, uh, vh_ ) = _{v_ _∈_ _V |∥x_ <sup>_∗_</sup> _h_ <sup>_−_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>) +</sup> <sup>_v_</sup> <sup>)</sup> <sup>_∥∞_</sup> <sup>_≤_</sup> <sup>_r},_</sup>
see Fig. 12 for an illustration of _V_ <sup>˜</sup> ( _xh, uh, vh_ ). In the interest of readability the dependency of _V_ <sup>˜</sup> on the
grid point _xh_ will subsequently be left out, and we just refer to _V_ <sup>˜</sup> ( _uh, vh_ ).
Thus, by only looking at finite disturbance _vh_, but considering _V_ <sup>˜</sup> ( _uh, vh_ ) it is possible to make a
statement about the continuous disturbance. In the following we will discuss how the set _V_ <sup>˜</sup> ( _uh, vh_ ) can
V~(uh,vh) vh
x <sup>*</sup>
V~(uh,vh) vh x <sup>*</sup> <u>h</u>
f(xh,uh)
Fig. 12. Visualization of the box _V_ <sup>˜</sup> ( _uh, vh_ ), on the left for one disturbance grid point, and on the right all resulting _V_ <sup>˜</sup> ( _uh, vh_ ) boxes for
one control input are shown as green boxes.
be used to formulate a modified discriminating kernel algorithm which is equivalent to the “semi-finite”
case described in Proposition 4.
Given an instance of the discriminating kernel algorithm with a grid point _xh_ _∈_ _Kh_ <sup>_n_</sup> <sup>,</sup> <sup>we</sup> <sup>can</sup> <sup>compute</sup>
the set of all _uh,_ _vh_ such that the intersection of ( _f_ ( _xh, uh_ ) + _vh_ + _rB∞_ ) _∩_ _Xh_ and _Kh_ <sup>_n_</sup> <sup>is</sup> <sup>non-empty,</sup>
Given an instance of the discriminating kernel algorithm with a grid point _xh_ _∈_ _Kh_ <sup>_n_</sup>
_h_ <sup>_n_</sup> <sup>is</sup> <sup>non-empty,</sup>
_Iu,v_ ( _xh_ ) = _{uh_ _∈_ _Uh,_ _vh_ _∈_ _Vh|_
( _f_ ( _xh, uh_ ) + _vh_ + _rB∞_ ) _∩_ _Xh_ _∈_ _Kh_ <sup>_n} ._</sup> (15)
_Proposition_ _5:_ Given _xh_ _∈_ _Kh_ <sup>_n_</sup> <sup>and</sup> <sup>_Iu,v_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>),</sup> <sup>it</sup> <sup>holds</sup> <sup>that</sup> <sup>for</sup> <sup>all</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_V_</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup>
( _f_ ( _xh, uh_ ) + _v_ + _rB∞_ ) _∩_ _Xh_ _∈_ _Kh_ <sup>_n_</sup> <sup>_,_</sup>
if and only if, <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup>
_Proof:_ The _if_ part directly follows from the definition, as all continuous disturbances _v_ _∈_ _V_ are
considered. The _only_ _if_ part is satisfied by Assumption 2, which ensures that for a control _uh_ the union
of all _V_ <sup>˜</sup> is equal to _V_ .
Similar to the proof of Proposition 2, by using [41][Equation (4)], we know that for the “semi-finite”
discriminating kernel it holds that if _xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>),</sup> <sup>for</sup> <sup>all</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_V_</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup>
if and only if, <sup>�</sup>
discriminating kernel it holds that if _xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>),</sup> <sup>for</sup> <sup>all</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_V_</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup>
( _f_ ( _xh, uh_ )+ _v_ + _rB∞_ ) _∩Xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>). Thus, �</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup> <sup>allows us to compute Disc ˜</sup> _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup>
_rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>). Thus, �</sup>
_Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup> <sup>allows us to compute Disc ˜</sup> _G_ <sup>_r_</sup> _h_
( _f_ ( _xh, uh_ )+ _v_ + _rB∞_ ) _∩Xh_ _∈_ Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>). Thus, �</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup> <sup>allows us to compute Disc ˜</sup> _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup>
by only considering a finite number of disturbances. However, we need to compute <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup>
by only considering a finite number of disturbances. However, we need to compute <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup>
which may be hard. Thus, we now focus on calculating and approximating of <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>)</sup> <sup>=</sup> <sup>_V_</sup> <sup>.</sup>
which may be hard. Thus, we now focus on calculating and approximating of <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>)</sup> <sup>=</sup> <sup>_V_</sup> <sup>.</sup>
Notice first that the set _V_ <sup>˜</sup> ( _uh, vh_ ) is always a box. Therefore, they can be parameterized as
_V_ ˜ ( _uh, vh_ ) = _{v_ _∈_ _V_ _<u>|v</u>_ _~~j~~_ _≤_ _vj_ _≤_ _<u>vj, ∀j</u>_ = 1 _, ..., d} ._
Where, the subscript _j_ refers to each dimension of the uncertainty _V_ _⊂_ R <sup>_d_</sup> and for each of these dimensions
the lower and upper bound can be calculated by,
_<u>vj</u>_ ( _uh, vh_ ) = min( _x_ <sup>_∗_</sup> _h,j_
_<u>vj</u>_ ( _uh, vh_ ) = min( _x_ <sup>_∗_</sup> _h,j_ <sup>_−_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>)</sup> <sup>_j_</sup> <sup>_−_</sup> <sup>_r, −Lr_</sup> <sup>)</sup> <sup>_,_</sup>
_<u>vj</u>_ ( _uh, vh_ ) = max( _x_ <sup>_∗_</sup> _h,j_ <sup>_−_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>)</sup> <sup>_j_</sup> <sup>+</sup> <sup>_r, Lr_</sup> <sup>)</sup> <sup>_._</sup>
<sup>_∗_</sup> _h,j_ <sup>_−_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xh, uh_</sup> <sup>)</sup> <sup>_j_</sup> <sup>+</sup> <sup>_r, Lr_</sup> <sup>)</sup> <sup>_._</sup>
As the union of boxes is in general not convex, checking that <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup> <sup>is</sup> <sup>a</sup> <sup>combinatorial</sup>
problem. However, by approximating the union conservatively we are able reduce the computational
burden while guaranteeing an inner approximation.
To approximate the union notice that _vh_ _∈_ _V_ <sup>˜</sup> ( _uh, vh_ ) always holds. Thus we first find a box approximation for the union of the boxes around each _vh_ grid point, and then calculate the union of
the resulting _|Vh|_ boxes, which can be done by checking if neighboring boxes overlap. To compute
a box approximation of the union at one disturbance grid point let us define _Iu_ ( _xh, vh_ ) = _{uh_ _∈_
_Uh|_ ( _f_ ( _xh, uh_ ) + _vh_ + _rB∞_ ) _∩_ _Xh_ _∈_ _Kh_ <sup>_n}_</sup> <sup>,</sup> <sup>which</sup> <sup>is</sup> <sup>a</sup> <sup>set</sup> <sup>similar</sup> <sup>to</sup> <sup>_Iu,v_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>).</sup> <sup>Here</sup> <sup>we</sup> <sup>propose</sup> <sup>two</sup>
_Uh|_ ( _f_ ( _xh, uh_ ) + _vh_ + _rB∞_ ) _∩_ _Xh_ _∈_ _Kh_ <sup>_n}_</sup> <sup>,</sup> <sup>which</sup> <sup>is</sup> <sup>a</sup> <sup>set</sup> <sup>similar</sup> <sup>to</sup> <sup>_Iu,v_</sup> <sup>(</sup> <sup>_xh_</sup> <sup>).</sup> <sup>Here</sup> <sup>we</sup> <sup>propose</sup> <sup>two</sup>
approximations of <sup>�</sup> _Iu_ ( _xh,vh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>),</sup> <sup>first</sup> <sup>the</sup> <sup>maximal</sup> <sup>volume</sup> <sup>box</sup> <sup>max</sup> <sup>_Iu_</sup> <sup>(</sup> <sup>_x_</sup> _h_ <sup>_,v_</sup> _h_ <sup>) Vol(˜</sup> <sup>_V_</sup> <sup>(</sup> <sup>_uh, vh_</sup> <sup>))</sup> <sup>and</sup>
approximations of <sup>�</sup> _Iu_ ( _xh,vh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>),</sup> <sup>first</sup> <sup>the</sup> <sup>maximal</sup> <sup>volume</sup> <sup>box</sup> <sup>max</sup> <sup>_Iu_</sup> <sup>(</sup> <sup>_x_</sup> _h_ <sup>_,v_</sup> _h_ <sup>) Vol(˜</sup> <sup>_V_</sup> <sup>(</sup> <sup>_uh, vh_</sup> <sup>))</sup> <sup>and</sup>
second the intersection of all boxes <sup>�</sup> _Iu_ ( _xh,vh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>).</sup> <sup>Both</sup> <sup>approximations</sup> <sup>result</sup> <sup>in</sup> <sup>a</sup> <sup>box</sup> <sup>and</sup> <sup>are</sup> <sup>an</sup>
second the intersection of all boxes <sup>�</sup> _Iu_ ( _xh,vh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>).</sup> <sup>Both</sup> <sup>approximations</sup> <sup>result</sup> <sup>in</sup> <sup>a</sup> <sup>box</sup> <sup>and</sup> <sup>are</sup> <sup>an</sup>
inner approximation of the union.
Thus, we propose the modified discriminating kernel algorithm outlined in Algorithm 1. The algorithm
guarantees an inner approximation of the discriminating kernel in the following sense, Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup>
guarantees an inner approximation of the discriminating kernel in the following sense, Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup>
Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>,</sup> <sup>the</sup> <sup>first</sup> <sup>inner</sup> <sup>approximation</sup> <sup>follows</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> <sup>approximation</sup> <sup>of</sup>
Disc _G_ ˜ _rh_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>,</sup> <sup>the</sup> <sup>first</sup> <sup>inner</sup> <sup>approximation</sup> <sup>follows</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> <sup>approximation</sup> <sup>of</sup>
- _Iu_ ( _xh,vh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>second</sup> <sup>due</sup> <sup>to</sup> <sup>Proposition</sup> <sup>4.</sup>
_Iu_ ( _xh,vh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>second</sup> <sup>due</sup> <sup>to</sup> <sup>Proposition</sup> <sup>4.</sup>
<u>Algorithm</u> <u>1:</u> <u>Modified</u> <u>Discriminating</u> <u>Kernel</u> <u>Algorithm</u>
1 initialization _Kh_ <sup>0</sup> <sup>=</sup> <sup>_Kh_</sup> <sup>and</sup> <sup>_n_</sup> <sup>=</sup> <sup>_−_</sup> <sup>1;</sup>
2 do
3 _n_ = _n_ + 1;
4 for _all_ _xh_ _∈_ _Kh_ <sup>_n_</sup>
_h_ <sup>_n_</sup> <sup>do</sup>
5 calculate _Iu,v_ ( _xh_ ), in (15);
6 calculate the corresponding _V_ <sup>˜</sup> ( _uh, vh_ );
7 _∀vh_ _∈_ _Vh_ compute max _Iu_ ( _xh,vh_ ) Vol( _V_ <sup>˜</sup> ( _uh, vh_ ));
8 check if neighboring boxes overlap;
9 if _Yes_ then
10 _xh_ _∈_ _Kh_ <sup>_n_</sup> <sup>+1</sup>
11 end
12 end
13 while _Kh_ <sup>_n_</sup> _̸_ <sup>=</sup> <sup>_K_</sup> _h_ <sup>_n_</sup> <sup>+1</sup>
while _Kh_ <sup>_n_</sup> _̸_ <sup>=</sup> <sup>_K_</sup> _h_ <sup>_n_</sup> <sup>+1</sup> ;
Result: Disc _G_ <sup>_r_</sup> _<u>h</u>_ <sup>(</sup> <sup>_Kh_</sup>
_h_
_̸_
<sup>_r_</sup> _<u>h</u>_ <sup>(</sup> <sup>_Kh_</sup> <sup>) =</sup> <sup>_K_</sup> _h_ <sup>_n_</sup>
Note that the union approximation is not necessary if one control input is robust with respect to all
discrete disturbances. Because by virtue of Assumption 2, we know that in this case <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup>
_V_ .
As the proposed algorithm constructs an inner approximation in the case of a finite disturbance, it is
possible to state the following finite version of Proposition (2).
_Proposition_ _6:_ Consider the finite dynamical system corresponding to the extended and discretized
system of (9),
_xh,k_ +1 _∈_ _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_xh,k_</sup> <sup>) = (</sup> <sup>_F_</sup> <sup>(</sup> <sup>_xh,k_</sup> <sup>) +</sup> <sup>_vh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>_,_</sup>
where _vh_ _∈_ _Vh_ is the discretization of _LrB∞_ according to Assumption 2. And if Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>computed</sup>
with the Algorithm 1 and Assumption 2 holds, then the following properties hold:
1) Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>viability</sup> <sup>domain</sup> <sup>of</sup> <sup>_F_</sup> _h_ <sup>_r_</sup>
1) Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>viability</sup> <sup>domain</sup> <sup>of</sup> <sup>_F_</sup> _h_ <sup>_r_</sup> <sup>.</sup>
2) For all _xh_ _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>and</sup> <sup>for</sup> <sup>all</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_∈_</sup> <sup>_xh_</sup> <sup>+</sup> <sup>_rB∞_</sup> <sup>,</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup> <sup>_f_</sup> <sup>(ˆ</sup> <sup>_x, uh_</sup> <sup>)</sup> <sup>_∈_</sup>
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>) +</sup> <sup>_rB∞_</sup> <sup>.</sup>
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>) +</sup> <sup>_rB∞_</sup> <sup>.</sup>
_Proof:_ 1) Identical to the proof of Proposition 2 statement 2), as Disc _G_ <sup>_r_</sup> _h_
_Proof:_ 1) Identical to the proof of Proposition 2 statement 2), as Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>discriminating</sup>
domain and _v_ = 0 is an allowed disturbance.
2) By using the finite version of [41][Equation (4)], and the guarantee of the inner approximation
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>we</sup> <sup>know</sup> <sup>that</sup> <sup>for</sup> <sup>all</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_LrB∞_</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup>
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>Disc</sup> <sup>_Gr_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Xh_</sup> <sup>we</sup> <sup>know</sup> <sup>that</sup> <sup>for</sup> <sup>all</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_LrB∞_</sup> <sup>there</sup> <sup>exists</sup> <sup>a</sup> <sup>_uh_</sup> <sup>_∈_</sup> <sup>_Uh_</sup> <sup>such</sup> <sup>that</sup>
( _f_ ( _xh, uh_ ) + _v_ + _rB∞_ ) _∩_ _Xh_ _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>).</sup> <sup>Furthermore,</sup> <sup>by</sup> <sup>Corollary</sup> <sup>1</sup> <sup>we</sup> <sup>can</sup> <sup>reformulate</sup> <sup>the</sup>
<sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>).</sup> <sup>Furthermore,</sup> <sup>by</sup> <sup>Corollary</sup> <sup>1</sup> <sup>we</sup> <sup>can</sup> <sup>reformulate</sup> <sup>the</sup>
discriminating kernel condition as, for all _v_ _∈_ _LrB∞_ there exists a _uh_ _∈_ _Uh_ such that _f_ ( _xh, uh_ ) + _v_ _∈_
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>) +</sup> <sup>_rB∞_</sup> <sup>.</sup> <sup>The</sup> <sup>same</sup> <sup>Lipschitz</sup> <sup>argument</sup> <sup>as</sup> <sup>in</sup> <sup>the</sup> <sup>proof</sup> <sup>of</sup> <sup>Proposition</sup> <sup>2,</sup> <sup>allows</sup> <sup>to</sup> <sup>conclude</sup>
Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>) +</sup> <sup>_rB∞_</sup> <sup>.</sup> <sup>The</sup> <sup>same</sup> <sup>Lipschitz</sup> <sup>argument</sup> <sup>as</sup> <sup>in</sup> <sup>the</sup> <sup>proof</sup> <sup>of</sup> <sup>Proposition</sup> <sup>2,</sup> <sup>allows</sup> <sup>to</sup> <sup>conclude</sup>
that for all _x_ ˆ _∈_ _xh_ + _rB∞_, there exists a _uh_ _∈_ _Uh_ such that _f_ (ˆ _x, uh_ ) _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>) +</sup> <sup>_rB∞_</sup>
that for all _x_ ˆ _∈_ _xh_ + _rB∞_, there exists a _uh_ _∈_ _Uh_ such that _f_ (ˆ _x, uh_ ) _∈_ Disc _G_ <sup>_r_</sup> _h_ <sup>(</sup> <sup>_Kh_</sup> <sup>) +</sup> <sup>_rB∞_</sup>
We conclude our discussion by pointing out that if instead of the discriminating kernel the leadership
kernel algorithm is used, then the inner approximation is directly guaranteed. Because by virtue of
Assumption 2, we know that for any robust control input <sup>�</sup> _Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup> <sup>.</sup>
_Iu,v_ ( _xh_ ) <sup>_V_</sup> <sup>˜ (</sup> <sup>_uh, vh_</sup> <sup>) =</sup> <sup>_V_</sup> <sup>.</sup>
APPENDIX B
STATIONARY VELOCITY GRID
The stationary velocity manifold is gridded in _vx_ and _δ_ coordinates. In the _vx_ direction the space is
uniformly gridded between a lower and an upper velocity, with a fixed spacing, see Table V. For every
_vx_ grid point, _δ_ is gridded within the normal driving region (see [8]) with a fixed number of grid points,
see Table V. Additionally, in all cases the same 12 stationary velocity points corresponding to drifting
are included.
TABLE V
USED GRIDDING VARIABLES, FOR CORRESPONDING _Nm_
# modes _vx_ range _vx_ spacing _δ_ grid points drifting modes
89 [0 _._ 5 _,_ 3 _._ 5] 0.25 5 12
99 [0 _._ 6 _,_ 3 _._ 4] 0.2 5 12
115 [0 _._ 5 _,_ 3 _._ 5] 0.25 7 12
129 [0 _._ 6 _,_ 3 _._ 4] 0.2 7 12
REFERENCES
[1] R. Horowitz and P. Varaiya, “Control design of an automated highway system,” _Proceedings_ _of_ _the_ _IEEE_, vol. 88, no. 7, pp. 913–925,
2000.
[2] M. Buehler, K. Iagnemma, and S. Singh, _The_ _DARPA_ _urban_ _challenge:_ _Autonomous_ _vehicles_ _in_ _city_ _traffic_ . Springer, 2009.
[3] K. Kritayakirana and C. Gerdes, “Using the centre of percussion to design a steering controller for an autonomous race car,” _Vehicle_
_System_ _Dynamics_, vol. 15, pp. 33–51, 2012.
[4] F. Borrelli, P. Falcone, T. Keviczky, and J. Asgari, “MPC-based approach to active steering for autonomous vehicle systems,”
_International_ _Journal_ _of_ _Vehicle_ _Autonomous_ _Systems_, vol. 3, no. 2, pp. 265–291, 2005.
[5] Y. Gao, T. Lin, F. Borrelli, E. Tseng, and D. Hrovat, “Predictive control of autonomous ground vehicles with obstacle avoidance on
slippery roads,” in _Dynamic_ _Systems_ _and_ _Control_ _Conference_, pp. 265–272, 2010.
[6] S. Di Cairano and H. E. Tseng, “Driver-assist steering by active front steering and differential braking: design, implementation and
experimental evaluation of a switched model predictive control approach,” in _Conference_ _on_ _Decision_ _and_ _Control_ _(CDC)_, pp. 2886–
2891, 2010.
[7] U. Rosolia, A. Carvalho, and F. Borrelli, “Autonomous racing using learning model predictive control,” in _American Control Conference_
_(ACC)_, pp. 5115–5120, 2017.
[8] A. Liniger, A. Domahidi, and M. Morari, “Optimization-based autonomous racing of 1:43 scale rc cars,” _Optimal_ _Control_ _Applications_
_and_ _Methods_, vol. 36, pp. 628–647, 2015.
[9] D. Q. Mayne, J. B. Rawlings, C. V. Rao, and P. O. M. Scokaert, “Constrained model predictive control: Stability and optimality,”
_Automatica_, vol. 36, pp. 789 - 814, 2000.
[10] J.-P. Aubin, _Viability_ _Theory_ . Springer, 2009.
[11] L. Gr¨une and J. Pannek, _Nonlinear_ _Model_ _Predictive_ _Control_ . Springer, 2011.
[12] I. Kitsios and J. Lygeros, “Aerodynamic envelope computation for safe landing of the hl-20 personnel launch vehicle using hybrid
control,” in _International_ _Symposium_ _on_ _Intelligent_ _Control_, pp. 231–236, 2005.
[13] N. Seube, R. Moitie, and G. Leitmann, “Aircraft take-off in windshear: a viability approach,” _Set-Valued_ _Analysis_, vol. 8, no. 1-2,
pp. 163–180, 2000.
[14] R. Moitie and N. Seube, “Guidance algorithms for UUVs obstacle avoidance systems,” in _OCEANS_, vol. 3, pp. 1853–1860, IEEE,
2000.
[15] D. Panagou, K. Margellos, S. Summers, J. Lygeros, and K. J. Kyriakopoulos, “A viability approach for the stabilization of an
underactuated underwater vehicle in the presence of current disturbances,” in _Conference_ _on_ _Decision_ _and_ _Control_ _(CDC)_, pp. 8612–
8617, 2005.
[16] J. Nilsson, J. Fredriksson, and A. C. Odblom, “Verification of collision avoidance systems using reachability analysis,” in _IFAC_ _World_
_Congress_, vol. 19, pp. 10676–10681, 2014.
[17] A. Tinka, S. Diemer, L. Madureira, E. B. Marques, J. B. De Sousa, R. Martins, J. Pinto, J. E. Da Silva, A. Sousa, P. Saint-Pierre, and
A. M. Bayen, “Viability-based computation of spatially constrained minimum time trajectories for an autonomous underwater vehicle:
Implementation and experiments,” in _Conference_ _on_ _Decision_ _and_ _Control_ _(CDC)_, pp. 3603–3610, 2009.
[18] P. Saint-Pierre, “Approximation of the viability kernel,” _Applied_ _Mathematics_ _and_ _Optimization_, pp. 187–209, 1994.
[19] P. Cardaliaguet, M. Quincampoix, and P. Saint-Pierre, “Set-valued numerical analysis for optimal control and differential games,”
_Stochastic_ _and_ _Differential_ _Games_, vol. 4, pp. 177–247, 1999.
[20] J. Lygeros, “On reachabiltiy and minimum cost optimal control,” _Automatica_, vol. 40, pp. 917–927, 2004.
[21] I. M. Mitchell, A. M. Bayen, and C. J. Tomlin, “A time-dependent hamilton-jacobi formulation of reachable sets for continuous dynamic
games,” _IEEE_ _Transactions_ _on_ _Automatic_ _Control_, vol. 50, no. 7, pp. 947–957, 2005.
[22] J. N. Maidens, S. Kaynama, I. M. Mitchell, M. M. Oishi, and G. A. Dumont, “Lagrangian methods for approximating the viability
kernel in high-dimensional systems,” _Automatica_, vol. 49, no. 7, pp. 2017–2029, 2013.
[23] A. Chutinan and B. H. Krogh, “Verification of polyhedral-invariant hybrid automata using polygonal flow pipe approximations,” in
_Hybrid_ _Systems:_ _Computation_ _and_ _Control_ _(HSCC)_, pp. 76–90, 1999.
[24] A. Girard, C. Le Guernic, and O. Maler, “Efficient computation of reachable sets of linear time-invariant systems with inputs,” in
_Hybrid_ _Systems:_ _Computation_ _and_ _Control_ _(HSCC)_, pp. 257–271, 2006.
[25] A. A. Kurzhanskiy and P. Varaiya, “Ellipsoidal techniques for reachability analysis of discrete-time linear systems,” _IEEE_ _Transactions_
_on_ _Automatic_ _Control_, vol. 52, no. 1, pp. 26–38, 2007.
[26] A. Girard, C. Le Guernic, _et_ _al._, “Efficient reachability analysis for linear systems using support functions,” in _IFAC_ _World_ _Congress_,
pp. 8966–8971, 2008.
[27] M. Korda, D. Henrion, and C. Jones, “Convex computation of the maximum controlled invariant set for polynomial control systems,”
_SIAM_ _Journal_ _on_ _Control_ _and_ _Optimization_, vol. 52, no. 5, pp. 2944–2969, 2014.
[28] M. W. Mueller, M. Hehn, and R. D’Andrea, “A computationally efficient algorithm for state-to-state quadrocopter trajectory generation
and feasibility verification,” in _International_ _Conference_ _on_ _Intelligent_ _Robots_ _and_ _Systems_, pp. 3480–3486, 2013.
[29] M. Kalisiak and M. van de Panne, “Faster motion planning using learned local viability models,” in _International_ _Conference_ _on_
_Robotics_ _and_ _Automation_ _(ICRA)_, pp. 2700 - 2705, 2007.
[30] M. Althoff, O. Stursberg, and M. Buss, “Model-based probabilistic collision detection in autonomous driving,” _IEEE_ _Transactions_ _on_
_Intelligent_ _Transportation_ _Systems_, vol. 10, no. 2, pp. 299–310, 2009.
[31] T. A. Wood, P. Mohajerin Esfahani, and J. Lygeros, “Hybrid modelling and reachability on autonomous rc-cars,” in _Analysis and Design_
_of_ _Hybrid_ _Systems_, pp. 430–435, 2012.
[32] J. Rieger, “Shadowing and the viability kernel algorithm,” _Applied_ _Mathematics_ _and_ _Optimization_, vol. 60, no. 3, pp. 429–441, 2009.
[33] M. Lhommeau, L. Jaulin, and L. Hardouin, “Capture basin approximation using interval analysis,” _International_ _Journal_ _of_ _Adaptive_
_Control_ _and_ _Signal_ _Processing_, vol. 25, no. 3, pp. 264–272, 2011.
[34] A. Liniger and J. Lygeros, “A Viability Approach for Fast Recursive Feasible Finite Horizon Path Planning of Autonomous RC Cars,”
in _Hybrid_ _Systems:_ _Computation_ _and_ _Control_ _(HSCC)_, pp. 1 - 10, 2015.
[35] E. Bakker, L. Nyborg, and H. Pacejka, “Tyre modelling for use in vehicle dynamics studies,” _SAE_, 1987.
[36] E. Frazzoli, M. Dahleh, and E. Feron, “Maneuver-based motion planning for nonlinear systems with symmetries,” _IEEE_ _Transactions_
_on_ _Robotics_, vol. 21, no. 6, pp. 1077–1091, 2005.
[37] C. Tomlin, G. J. Pappas, and S. Sastry, “Conflict resolution for air traffic management: A study in multiagent hybrid systems,” _IEEE_
_Transactions_ _on_ _automatic_ _control_, vol. 43, no. 4, pp. 509–521, 1998.
[38] A. Gray, Y. Gao, T. Lin, J. K. Hedrick, H. E. Tseng, and F. Borrelli, “Predictive control for agile semi-autonomous ground vehicles
using motion primitives,” in _American_ _Control_ _Conference_ _(ACC)_, pp. 4239–4244, 2012.
[39] A. Domahidi, A. Zgraggen, M. Zeilinger, M. Morari, and C. Jones, “Efficient interior point methods for multistage problems arising
in receding horizon control,” in _Conference_ _on_ _Decision_ _and_ _Control_ _(CDC)_, pp. 668–674, 2012.
[40] P. Cardaliaguet, “A differential game with two players and one target,” _SIAM_ _Journal_ _on_ _Control_ _and_ _Optimization_, vol. 34, no. 4,
pp. 1441–1460, 1996.
[41] P. Cardaliaguet, M. Quincampoix, and P. Saint-Pierre, “Some algorithms for differential games with two players and one target,” _ESAIM:_
_Mathematical_ _Modelling_ _and_ _Numerical_ _Analysis_, vol. 28, no. 4, pp. 441–461, 1994.
[42] J. Lygeros, K. H. Johansson, S. N. Simic, J. Zhang, and S. S. Sastry, “Dynamical properties of hybrid automata,” _IEEE_ _Transaction_
_on_ _Automatic_ _Control_, vol. 48, pp. 2 - 17, 2003.
[43] J.-P. Aubin, J. Lygeros, M. Quincampoix, S. Sastry, and N. Seube, “Impulse differential inclusions: a viability approach to hybrid
systems,” _IEEE_ _Transaction_ _on_ _Automatic_ _Control_, vol. 47, pp. 2 - 20, 2002.
[44] K. Margellos and J. Lygeros, “Viable set computation for hybrid systems,” _Nonlinear_ _Analysis:_ _Hybrid_ _Systems_, vol. 10, pp. 45–62,
2013.
[45] J.-P. Aubin and H. Frankowska, _Set-valued_ _analysis_ . Springer, 2009.
[46] I. M. Mitchell and S. Kaynama, “An improved algorithm for robust safety analysis of sampled data systems,” in _Hybrid_ _Systems:_
_Computation_ _and_ _Control_ _(HSCC)_, pp. 21–30, 2015.
[47] A. Domahidi and J. Jerez, “FORCES Professional.” embotech GmbH [(http://embotech.com/FORCES-Pro),](http://embotech.com/FORCES-Pro) July 2014.
[48] E. C. Kerrigan and J. M. Maciejowski, “Soft constraints and exact penalty functions in model predictive control,” in _KACC International_
_Conference_ _(Control_ _2000)_, (Cambridge, UK), September 2000.
[49] J. V. Carrau, A. Liniger, X. Zhang, and J. Lygeros, “Efficient implementation of randomized MPC for miniature race cars,” in _European_
_Control_ _Conference_ _(ECC)_, pp. 957–962, 2016.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.