1 of 18

2 of 18

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

3 of 18

Formal Verification of Off-road Autonomous Vehicles

GOAL:

  • Formally verify the safety of an off-road autonomous vehicle and develop an autonomous controller based on the safety specifications

RESEARCH OBJECTIVE:

  • Develop safety verification tools and Model Predictive Control (MPC) based autonomous controller with Signal Temporal Logic (STL) constraints
  • Conduct offline formal verification of the computed traces to determine the robustness of the controller

SAE International®

SAE 2023 WCX

Paper 2023-01-0113

3

DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375

4 of 18

Outline

  • Research Goal and Objectives
  • Motivation
  • Signal Temporal Logic
  • Cost Function Formulation
  • Vehicle Model
  • STL Parser
  • Mixed Integer Linear Programming
  • Receding Horizon Control
  • Results
  • Future Work

SAE International®

SAE 2023 WCX

Paper 2023-01-0113

4

DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. OPSEC # 7375

5 of 18

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

6 of 18

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

7 of 18

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

8 of 18

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

9 of 18

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

10 of 18

Vehicle Model

  • Kinematic model for simplicity and to test validity of method
  • Feedback linearized kinematics model for faster computation[1]

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

11 of 18

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

12 of 18

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

13 of 18

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

14 of 18

Mixed Integer Linear Programming (MILP) Problem

  • Set of Linear Inequality Equations (L.I.E.)
    • STL Constraints
    • System Dynamics
    • State and Input Bounds

 

MILP Formulation

  • Get Goal Coordinates from STL parser

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 =

 

  • Get Obstacle Coordinates from STL parser

  • Like the Goal region, we define an obstacle region polytope as

 

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

15 of 18

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

16 of 18

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

17 of 18

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

18 of 18

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)