Locked-on: verifying controls for aircraft tracking
Chun Kai Ling, Daniel Wong 15-824 Logical Foundations of Cyber-Physical Systems
Locked-on: verifying controls for aircraft tracking Chun Kai Ling, - - PowerPoint PPT Presentation
Locked-on: verifying controls for aircraft tracking Chun Kai Ling, Daniel Wong 15-824 Logical Foundations of Cyber-Physical Systems Motivation Tracking : Orienting the radar to keep the beam continuously on the aircraft Goal : Design a
Chun Kai Ling, Daniel Wong 15-824 Logical Foundations of Cyber-Physical Systems
2
(Model incorrect, potentially vacuous)
(Weaker assumptions: follower can instantaneously set its velocity)
verifjed hybrid system for safe advisories in the next-generation airborne collision avoidance system
3
4
y: altitude x: location on horizon z: straight-line distance from radar to aircraft
We model the (x, y) dimensions
θ1, θ2: radar elevation and bearing
5
y: altitude x: location on horizon z: straight-line distance from radar to aircraft
We model the (x, y) dimensions
Assumption: z >> y (allowing the use of small-angle
θ1, θ2: radar elevation and bearing
6
yac: aircraft’s altitude xc: controller’s location (center of radar beam) on horizon xac: aircraft’s location on horizon yc: controller’s altitude Pencil-beam radar R: radius of pencil beam
7
xac: aircraft’s location on horizon Pencil-beam radar R: radius of pencil beam
We will fjrst show the proof for the 1D case, and then how to extend it to 2D
xc: controller’s location (center of radar beam) on horizon
it will remain within the beam | xaircraft - xcontroller |< R, radar beam radius
8
to no trouble
9
τ1 T τ2 τ3
Time
v0 v1 v3 v2
VelRcity
τ1 T τ2 τ3
Time
v0 v1 v3 v2
VelRcity
Run 1 Run 2 Run 3
10
Maximum Reaction Time Actual time at which controller takes control
τ1 T τ2 τ3
Time
v0 v1 v3 v2
VelRcity
τ1 T τ2 τ3
Time
v0 v1 v3 v2
VelRcity
Run 1 Run 2 Run 3
11
Maximum Reaction Time Actual time at which controller takes control
τ3 T τ2 τ5 τ1 τ4
v0, v2, v4 v1, v3, v5 −v0
τ3 T τ2 τ5 τ1 τ4
v0, v2, v4 v1, v3, v5 −v0
5un 1 5un 2 5un 3 5un 4 5un 5 5un 6 DiVplDcement (AreD)
12
13
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
Run 1 Run 2 Run 3 Run 4 BRund
Blue curve is exponentially decaying → fjnite area under curve Upper bound (in velocity and area) on solid lines
Bound
14 of 34
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
Run 1 Run 2 Run 3 Run 4 BRund
Blue curve is exponentially decaying → fjnite area under curve Upper bound (in velocity and area) on solid lines
Bound
15 of 34
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
Run 1 Run 2 Run 3 Run 4 BRund
Blue curve is exponentially decaying → fjnite area under curve Upper bound (in velocity and area) on solid lines
Bound
16 of 34
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
Run 1 Run 2 Run 3 Run 4 BRund
Blue curve is exponentially decaying → fjnite area under curve Upper bound (in velocity and area) on solid lines
Bound
17 of 34
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
τ1 T τ3 τ2 τ4
Time
v0 v1 v2 v4 v3
VelRcity
Run 1 Run 2 Run 3 Run 4 BRund
Blue curve is exponentially decaying → fjnite area under curve Upper bound (in velocity and area) on solid lines
Bound
18 of 34
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
BRund Run 1 Run 2 Run 3 Run 4
Use relative displacement, velocities and acceleration
Bound Known, constant acceleration
Area between piecewise linear graph and blue line remains bounded
19 of 34
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
KnRwn CRnVtant Acc Run 1 Run 2 Run 3 Run 4
Use relative displacement, velocities and acceleration
Bound Known, constant acceleration
Area between piecewise linear graph and blue line remains bounded
20 of 34
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
KnRwn CRnVtant Acc Run 1 Run 2 Run 3 Run 4
Use relative displacement, velocities and acceleration
Bound Known, constant acceleration
Area between piecewise linear graph and blue line remains bounded
21 of 34
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
KnRwn CRnVtant Acc Run 1 Run 2 Run 3 Run 4
Use relative displacement, velocities and acceleration
Bound Known, constant acceleration
Area between piecewise linear graph and blue line remains bounded
22 of 34
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
T τ4 τ3 τ2 τ1
Time
v0 v3 v1 v2 v4
VelRcity
KnRwn CRnVtant Acc Run 1 Run 2 Run 3 Run 4
Use relative displacement, velocities and acceleration
Bound Known, constant acceleration
Area between piecewise linear graph and blue line remains bounded
23 of 34
−v0 v0
Velocity
T 2T 3T
Time DiVplDcement
exactly T
displacement is unchanged, but sign of velocity is fmipped
24
Bounded in magnitude
v0 −v0 v0 −v0
25
Velocity Displacement
Run 1 Run 2
Start: displacement = 0, velocity = v0
v0 −v0 v0 −v0
25
Velocity Displacement
Run 1 Run 2
Start: displacement = 0, velocity = v0
ODE runs until T (maximum reaction time)
v0 −v0 v0 −v0
25
Velocity Displacement
Run 1 Run 2
Each coloured line is
Start: displacement = 0, velocity = v0
ODE runs until T (maximum reaction time)
v0 −v0 v0 −v0
25
Velocity Displacement
Run 1 Run 2
Each coloured line is
What happens when actual run time < T?
Start: displacement = 0, velocity = v0
ODE runs until T (maximum reaction time)
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
Velocity (v) Displacement (x)
dv dx = 2 T
26 of 34
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
Velocity (v) Displacement (x)
Curves do not form an outer bound
dv dx = 2 T
26 of 34
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
Velocity (v) Displacement (x)
Curves do not form an outer bound But the diamonds do! Each has the same aspect ratio with gradient 2/T, independent of v and x
dv dx = 2 T
26 of 34
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
Velocity (v) Displacement (x)
Curves do not form an outer bound But the diamonds do! Each has the same aspect ratio with gradient 2/T, independent of v and x
dv dx = 2 T
State will never exit the current diamond we are in → bounded displacement!
26 of 34
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
Velocity (v) Displacement (x)
Curves do not form an outer bound But the diamonds do! Each has the same aspect ratio with gradient 2/T, independent of v and x
dv dx = 2 T
State will never exit the current diamond we are in → bounded displacement! Also serves as loop invariant
26 of 34
27
Similar arguments prove stability and safety of controllers for 0 < 𝛿 ≤ 2
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
28
Velocity Displacement
Essentially similar to 𝛿 = 2
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
28
Velocity Displacement
Essentially similar to 𝛿 = 2
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
29
Velocity Displacement
Never reaches negative velocity
v0 −v0 v0 −v0
Run 1 Run 2 Run 3 Run 4
29
Velocity Displacement
Never reaches negative velocity
30
Overdamped Underdamped 𝛿 = ε > 0 𝛿 = 2 Undamped [B] 𝛿 = 1 Critical Damping [A]
31
v0 −v0 v0 −v0
BRund Run 1 Run 2 Run 3 Run 4
Velocity Displacement
Limited case of nondeterminism
32
y: altitude x: location on horizon
R, radar beam radius R’ safe radius
Independent controller for each axis Bounded by up to a factor of √2
(oblivious to present velocity)
maximum aircraft acceleration bounded by typical G tolerance
33
34
Any questions?