Safety Verification of Autonomous Vehicles based on Signal Temporal Logic (STL) constraints
- Aditya Parameshwaran & Yue Wang
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Formal Verification of Off-road Autonomous Vehicles
GOAL:
RESEARCH OBJECTIVE:
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
3
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Outline
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
4
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
STL Constraint based Mobile Robot Navigation
Constraints
Objective Function
Vehicle Dynamics
Input and State Bounds
Signal Temporal Logic
+
Optimal Control Input:
Wheel Velocities
Feedback Data
Mixed Integer Linear Programming (MILP) solver
2D Navigation
Safety Region
Offline Verification
Unsafe Region
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
5
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Signal Temporal Logic
Introduction
Synthesis
Application
Domain Knowledge
“Natural Language Rules”
Signal Temporal Logic
Logic
Signal
Temporal
“OR”
“AND”
“NOT”
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
6
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Overview of STL
STL Grammar and Semantics
Predicate
Not
And
Or
Implies
Eventually
Always
Until
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
7
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Overview of STL
Graphical Example
Eventually
Always
PROPERTY SATISFIED
AND
PROPERTY SATISFIED
PROPERTY VIOLATED
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
8
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Properties of Signal Temporal Logic
Robustness Semantics combined with Safety
And
c
c
c
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
9
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Vehicle Model
2D Simplified Kinematic Model
Simplified Vehicle Kinematics (Unicycle Model)
Feedback Linearized Vehicle Model
Discrete-time Linear Vehicle Model
A =
0 | 0 | 1 | 0 |
0 | 0 | 0 | 1 |
0 | 0 | 0 | 0 |
0 | 0 | 0 | 0 |
, B =
0 | 0 |
0 | 0 |
1 | 0 |
0 | 1 |
[1] De Luca et al., Stabilization of the Unicycle Via Dynamic Feedback Linearization,
IFAC Proceedings Volumes, Vol 33, 2000
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
10
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Feedback Linearization
Converting the linear control inputs back to nonlinear kinematics
Simulate Non-Linear Dynamics
Linear Vehicle Model
Computed Optimal Control Inputs
Transformation Matrix
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
11
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Cost Function Formulation
Cost Function
Control Bounds
State Bounds
Robustness
The aim is to compute optimal control inputs (u*) that maintain positive robustness for the prediction horizon
System Kinematics
The optimal control inputs will be applied to the system model following the linearized system kinematics explained earlier
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
12
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
STL Parser
From Natural Language to Inequality Equations
Go-To-Goal
Multi-Waypoint Navigation
User Input format:
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
13
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Mixed Integer Linear Programming (MILP) Problem
MILP Formulation
Goal Region L.I.E.
e.g.
G =
1 | 0 | 0 | 0 |
-1 | 0 | 0 | 0 |
0 | 1 | 0 | 0 |
0 | -1 | 0 | 0 |
, b =
|
|
|
|
Obstacle Region L.I.E.
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
14
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Receding Horizon Control
Goal Region
e.g.
Goal Region
Obstacle
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
15
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Example Simulation 1
Go-To-Goal
Robustness plot
Robustness
STL Specification
"alw ((ev_[04,05] (X(1:2,t) > [0.3;0.5] and X(1:2,t) < [0.5;0.7]))
and X(1:2,t) >~ [1.0;1.2] and X(1:2,t) <~ [1.2;1.7])"
“alw (min_d[t] > 0.05)
Offline Verification
Safety Region
Unsafe Region
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
16
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Example Simulation 2
Multi-Waypoint Navigation
Robustness plot
Safety Region
Offline Verification
Unsafe Region
SAE International®
SAE 2023 WCX
Paper 2023-01-0113
17
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375
Contact Info
Thank you
Aditya Parameshwaran, Yue Wang
Clemson University
Clemson, South Carolina
+1 7654186709
aparame@clemson.edu yue6@clemson.edu
Acknowledgment
This work was supported by the Simulation Based Reliability and Safety Program for modeling and simulation of military ground vehicle systems, under the technical services contract No. W56HZV-17-C-0095 with the U.S. Army DEVCOM Ground Vehicle Systems Center (GVSC).
18
Paper 2023-01-0113
SAE International®
SAE 2023 WCX
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # (Pending, NOT approved for Release)