01 Overview
01 Overview
01: Overview
André Platzer
[email protected]
Carnegie Mellon University, Pittsburgh, PA
http://symbolaris.com/course/fcps14.html
http://www.cs.cmu.edu/~aplatzer/course/fcps14.html
0.5
0.4
0.3
0.2
0.1
1.0
0.8
0.6
0.4
0.2
Rationale
1 Safety guarantees require analytic foundations
2 Foundations revolutionized digital computer science & society
3 Need even stronger foundations when software reaches out into our
physical world
Cyber-physical Systems
CPS combine cyber capabilities with physical capabilities to solve problems
that neither part could solve alone.
How can we provide people with cyber-physical systems they can bet their
lives on? – Jeannette Wing
Rationale
1 Safety guarantees require analytic foundations
2 Foundations revolutionized digital computer science & society
3 Need even stronger foundations when software reaches out into our
physical world
Cyber-physical Systems
CPS combine cyber capabilities with physical capabilities to solve problems
that neither part could solve alone.
v x
a 3.0 7
2
6
2.5
5
m
1 2.0
4
1.5
0
1 2 3 4 5
t 3
1.0
2
-1 0.5 1
5t 0
-2
0.0
0 1 2 3 4
0
1 2 3 4 5
t
Technical characteristics:
Definition (Cyber-Physical Systems)
(Distributed network of) computerized control for physical system
Computation, communication and control for physics
(rx , ry )
fy
(vx , vy )
ey
(lx , ly ) xb ex fx
FM’11,LMCS’12,ICCPS’12,ITSC’11,ITSC’13,IJCAR’12
André Platzer (CMU) FCPS/01: Overview FCPS 6 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
1D motion
0.5
a v p
0.2
0.8 5
0.1
4
0.6
2 4 6 8 10 t 3
-0.1 0.4 px
2
-0.2 0.2
1 py
10 t
-0.3
2 4 6 8
2 4 6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 7 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
1D motion
0.5
a Ω d
0.2 1.0
0.00008 dx
0.1 0.8
0.00006
2 4 6 8 10 t 0.6
0.00004
-0.1 0.4
0.00002
-0.2 0.2
2 4 6 8 10 t
-0.3
2 4
dy
6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 7 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
1D motion
0.5
a v p
2 4 6 8 10 t1.2 3.5 px
1.0 3.0
-0.05
0.8 2.5
2.0
-0.10 0.6
1.5
0.4
-0.15 1.0 py
0.2 0.5
-0.20
2 4 6 8 10 t 2 4 6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 8 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
1D motion
0.5
a Ω d
2 4 6 8 10 t0.00012 1.0
0.00010
dx
-0.05 0.5
0.00008
-0.10 0.00006
2 4 6
dy
8 10 t
0.00004
-0.15 -0.5
0.00002
-0.20 2 4 6 8 10 t-1.0
2.5
1.0
1D motion
0.5
a v p
0.2
2.5 px
0.8
0.1
2.0
2 4 6 8 10 t0.6 1.5
-0.1 0.4
1.0 py
-0.2 0.2 0.5
-0.3
2 4 6 8 10 t 2 4 6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 9 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
1D motion
0.5
a Ω d
0.2 1.0
0.00008 dx
0.1 0.8
0.00006
2 4 6 8 10 t 0.6
0.00004
-0.1 0.4
0.00002
-0.2 0.2
2 4 6 8 10 t
-0.3
2 4
dy
6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 9 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
2D motion
0.5
a v p
1.0
0.2 8
0.8
2 4 6 8 10 t 6
0.6
-0.2 px
0.4 4
-0.4
-0.6 0.2 2
py
10 t
-0.8
2 4 6 8
2 4 6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 10 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
2D motion
0.5
a Ω d
1.0
0.2 dx
0.5
2 4 6 8 10 t 0.5
-0.2 2 4 6 8 10 t
-0.4
-0.5
2 4 dy 6 8 10 t
-0.6 -1.0
-0.5
-0.8
2.5
1.0
Avoid collisions
0.5
a v p
2 4 6 8 10 t1.0 4
px
0.8
-1
3
0.6
-2
2
0.4
-3
0.2 1
py
10 t t
-4
2 4 6 8
2 4 6 8 10
2.5
1.0
Avoid collisions
0.5
a Ω d
2 4 6 8 10 t 1.0
dx
0.5
-1
0.5
2 4 6 8 10 t
-2
-0.5 2 4 6 8 10 t
-3 dy
-1.0 -0.5
-4
2.5
1.0
Environment interaction
0.5
uncertainty)
a v p
1.2 7
0.4
6
1.0
0.2
5
0.8
2 4 6 8 10 t 4
0.6 px
-0.2 3
0.4
-0.4 2
0.2
-0.6 1
py
2 4 6 8 10 t 2 4 6 8 10 t
André Platzer (CMU) FCPS/01: Overview FCPS 12 / 24
CPS Analysis & Design: Robot Lab
2.5
1.0
Environment interaction
0.5
uncertainty)
a Ω d
1.0
0.4 dx
0.5
0.2
0.5
t 2 4 6 8 10 t dy
2 4 6 8 10
-0.2 -0.5
2 4 6 8 10 t
-0.4
-1.0
-0.6 -0.5
Model Lie
Checking Algebra
Logic Algebra
Closure Differential
Ordinals Equations
Decision Limit
Procedures Processes
Hermite Differential
Interpolation Generators
Doob’s
Error Dynkin’s
Numerical Super-
Analysis Infinitesimal
Quadrature martingales
Generators
1 Robot on Rails
a Autobots, Roll Out
b Charging Station
2 Robot on Highways
a with event-driven control
b with time-triggered control
3 Robot on Racetracks
a stay on the circular racetrack
b slow down to avoid collisions
4 Robot in a Plane
a with obstacle avoidance
b Robot vs. Roguebot: avoid collisions with moving obstacles
5 Robot in Star-lab: self-defined final project
6 Final project presented at CPS V&V Grand Prix CPS v&V Grand Prix
Prerequisites
15-122 Principles of Imperative Computation
21-122 Integration, Differential Equations, and Approximation
(21-241 Matrix algebra or
18-202 Mathematical Foundations of Electrical Engineering or
15-251 Great Theoretical Ideas in Computer Science)
André Platzer.
Logical Analysis of Hybrid Systems.
Springer, 426p., 2010.
DOI 10.1007/978-3-642-14509-4
http://symbolaris.com/lahs/
CMU library e-book
André Platzer.
Foundations of Cyber-Physical Systems.
Lecture notes.
Computer Science Department
Carnegie Mellon University.
http://symbolaris.com/course/
fcps14-schedule.html
e te c o n ti n
d i s cr
uous
al
stoc
i
rsar
nondet
has
e
adv
tic
JAR’08,CADE’11,LMCS’12,LICS’12,LICS’12
André Platzer (CMU) FCPS/01: Overview FCPS 22 / 24
Family of Differential Dynamic Logics
e te c o n ti n
d i s cr
uous
differential game logic stochastic differential DL
dGL = GL + HG SdL = DL + SHP
al
stoc
i
rsar
nondet
has
e
adv
tic
hαiφ hαiφ
φ φ
quantified differential DL
QdL = FOL + DL + QHP
JAR’08,CADE’11,LMCS’12,LICS’12,LICS’12
André Platzer (CMU) FCPS/01: Overview FCPS 22 / 24
Proof Algebraic
Modal Computer
Theory Geometry
Logic Algebra
Theorem Differential
Proving Algebra
Model Lie
Checking Algebra
Logic Algebra
Closure Differential
Ordinals Equations
Decision Limit
Procedures Processes
Hermite Differential
Interpolation Generators
Doob’s
Error Dynkin’s
Numerical Super-
Analysis Infinitesimal
Quadrature martingales
Generators
Rationale
1 Safety guarantees require analytic foundations
2 Foundations revolutionized digital computer science & society
3 Need even stronger foundations when software reaches out into our
physical world
Cyber-physical Systems
CPS combine cyber capabilities with physical capabilities to solve problems
that neither part could solve alone.
How can we provide people with cyber-physical systems they can bet their
lives on? – Jeannette Wing
Rationale
1 Safety guarantees require analytic foundations
2 Foundations revolutionized digital computer science & society
3 Need even stronger foundations when software reaches out into our
physical world
Cyber-physical Systems
CPS combine cyber capabilities with physical capabilities to solve problems
that neither part could solve alone.