Verification Techniques and Tools For Reliable Cyber-Physical Systems
Verification Techniques and Tools For Reliable Cyber-Physical Systems
Taylor T. Johnson Coordinated Science Laboratory Department of Electrical and Computer Engineering
Verification Challenge
No: bug
Yes: proof
Elevators
Date: Notice: Device: September 20, 2012 #12-750 ThyssenKrupp Access LEV II, Volant, Rise Units: ~670 Problem: elevators door can unlock and open at a landing with no elevator car present, exposing the elevator shaft and posing a fall hazard to consumers Remedy: software update
[Consumer Product Safety Commission (CPSC), Alert #12-750, http://www.cpsc.gov] Image: [http://www.tkaccess.com/home-elevators/volant/homeElevators_volant.aspx]
(Non-Autonomous) Cars
Date: May 31, 2005 Notice: #PE05029 Device: Toyota Prius (2004-2005) Units: ~75,000 Problem: reports allege that the gasoline engine shut down suddenly without warning Remedy: electronic control module (ECM) software update
[National Highway Traffic Safety Administration (NHTSA), Investigation #PE05029, www.safercar.gov] Image: [http://www.netcarshow.com/toyota/2004-prius/1024x768/wallpaper_13.htm]
(Non-Autonomous) Cars
Date: Notice: Device: August 4, 2011 #11V395 Honda Accord (20052010), CR-V (2007-2010), Element (2005-2008) Units: ~1.5 million US (~2.5 million globally) Problem: may cause an engine stall and/or cause the vehicle to move when the gear selector is in park Remedy: update to automatic transmission control module (TCM) software
[NHTSA, Recall Notice #11V395, http://www.safercar.gov/] Image: [http://www.netcarshow.com/honda/2010-accord_crosstour/800x600/wallpaper_02.htm]
Cyber-Physical Defects
Physical Specification
Cyber Specification
My Research
Robotics
Aerospace
*RTSS12, JNSA11, *FM12, ICCPS12, ICDCS10, SSS10+ FORTE12*] Formal Hybrid & Verification: Nonlinear Distributed Dynamical Embedded Systems Systems
*RTSS12, FORTE12*, ICDCS10+ *FM12, CDC11, PECI13, PECI12, PECI11*+
Outline
Parameterized Verification of Distributed Cyber-Physical Systems (CPS)
The Passel Verification Tool Finding Inductive Invariants Proving Inductive Invariants
No: bug Yes: proof
Research Directions
11
Parameterized Verification
Yes: proof
12
Motivational Example
13
14
land
15
Discrete States
16
1 3
17
Outline
Parameterized Verification of Distributed Cyber-Physical Systems (CPS)
The Passel Verification Tool Finding Inductive Invariants Proving Inductive Invariants
No: bug Yes: proof
Research Directions
18
19
Discrete States
1.0E+21
1.0E+14 1.0E+07 1.0E+00 1 3 5 7 9 11 13 15
21
Outline
Parameterized Verification of Distributed Cyber-Physical Systems (CPS)
The Passel Verification Tool Finding Inductive Invariants Proving Inductive Invariants
No: bug Yes: proof
Research Directions
22
Project-and-Generalize Example
project-and-generalize
Outline
Parameterized Verification of Distributed Cyber-Physical Systems (CPS)
The Passel Verification Tool Finding Inductive Invariants Proving Inductive Invariants No: bug Yes: proof
Research Directions
25
Yes: proof
No: counterexample
Experiments
SATS Properties Time (s) 0.586 0.757 6 6 2 2 1 1
0.467
Time (s)
0.396
0.435 0.414
6
6 6
2
2 2
1
1 1
Outline
Parameterized Verification of Distributed Cyber-Physical Systems (CPS)
The Passel Verification Tool Finding Inductive Invariants Proving Inductive Invariants
No: bug Yes: proof
Research Directions
29
Yes: proof
S VS
L + iL C + Vc R Vo L
L VS
[T. Johnson, Z. Hong, A. Kapoor, IEEE PECI 2012] [S. Hossain, S. Dhople, T. Johnson, IEEE PECI 2013]
iL
+ + R Vc Vo -
+ iL C + Vc R Vo 30
Buck-Converter Example
Parameter variation Transform interval linear system to linear hybrid system with setvalued inputs Verify using reachability
[T. Johnson, Z. Hong, A. Kapoor, IEEE PECI 2012] [S. Hossain, S. Dhople, T. Johnson, IEEE PECI 2013] 31
Outline
Parameterized Verification of Distributed Cyber-Physical Systems (CPS)
The Passel Verification Tool Finding Inductive Invariants Proving Inductive Invariants
No: bug Yes: proof
Research Directions
32
Image: [http://stateimpact.npr.org/texas/2012/01/09/largest-solar-farm-in-texas-opens/]
33
Vdc
. . Vo .
Vdc
34
Image: [http://www.lbl.gov/Science-Articles/Archive/sabl/2008/Feb/ADR.html] 35
36
37
Acknowledgements
Research Funding Support NSF, AFOSR, Boeing, Rockwell Collins, John Deere, Schlumberger Dissertation Committee Prof. Sayan Mitra Prof. Tarek F. Abdelzaher Prof. Daniel Liberzon Prof. William H. Sanders Prof. Mahesh Viswanathan
Collaborators and Labmates Illinois ECE: Shamina Hossain, Zhihao (Ted) Hong, Akash Kapoor, Adam Zimmerman, Debjit Pal, Adel Ahmadyan Illinois CS: Stanley Bak, Parasara Sridhar Duggirala Zhenqi Huang (Illinois ME), Prof. Sairaj Dhople (Minnesota ECE), Dr. Albert Hoefel (Schlumberger), Prof. Cedric Langbort (Illinois AE), Karthik Manamcheri (National Instruments), Dr. Richard Scott Erwin (AFRL), Rachel Dudley (Iowa State ME)
38
Thank You
Robotics
Aerospace
*RTSS12, JNSA11, *FM12, ICCPS12, ICDCS10, SSS10+ FORTE12*] Formal Hybrid & Verification: Nonlinear Distributed Dynamical Embedded Systems Systems
extra slides
40