15-424: Foundations of Cyber-Physical Systems (Sp'16)

15-424 Foundations of Cyber-Physical Systems
15-624 Foundations of Cyber-Physical Systems
15-824 Foundations of Cyber-Physical Systems
(Spring 2016)
Instructor: André Platzer
(office: Thu 4:00-5:00, GHC 9103)
Nathan Fulton nathanfu@andrew
(office: Wed 4-6:00 WeH 4127)
Anastassia Kornilova akornilo@andrew
(office: Tue 7-9:00 GHC 5 Commons)
Units: 12
Semester: Spring 2016
Time: TR noon-1:20
Place: GHC 4307
Recitation: F 3-4:20 in GHC 4102
The respective sections of this course are listed in the Computer Science Department as 15-424/15-624/15-824, respectively, at Carnegie Mellon University. The 15424 course counts as a Logics/Languages elective in the Computer Science curriculum. The 15824 course counts as fulfilling the Programming Languages star requirement.
Schedule Lec. Notes Videos KeYmaera X Piazza Autolab Grand Prix
15-424: Foundations of Cyber-Physical Systems -- Schedule
Cyber-physical systems (CPSs) combine cyber capabilities (computation and/or communication) with physical capabilities (motion or other physical processes). Cars, aircraft, and robots are prime examples, because they move physically in space in a way that is determined by discrete computerized control algorithms. Designing these algorithms to control CPSs is challenging due to their tight coupling with physical behavior. At the same time, it is vital that these algorithms be correct, since we rely on CPSs for safety-critical tasks like keeping aircraft from colliding. In this course we will strive to answer the fundamental question posed by Jeannette Wing:
"How can we provide people with cyber-physical systems they can bet their lives on?"

Students who successfully complete this course will:

  • Understand the core principles behind CPSs.
  • Develop models and controls.
  • Identify safety specifications and critical properties of CPSs.
  • Understand abstraction and system architectures.
  • Learn how to design by invariant.
  • Reason rigorously about CPS models.
  • Verify CPS models of appropriate scale.
  • Understand the semantics of a CPS model.
  • Develop an intuition for operational effects.

The cornerstone of our course design are hybrid programs (HPs), which capture relevant dynamical aspects of CPSs in a simple programming language with a simple semantics. One important aspect of HPs is that they directly allow the programmer to refer to real-valued variables representing real quantities and specify their dynamics as part of the HP.

This course will give you the required skills to formally analyze the CPSs that are all around us -- from power plants to pace makers and everything in between -- so that when you contribute to the design of a CPS, you are able to understand important safety-critical aspects and feel confident designing and analyzing system models. It will provide an excellent foundation for students who seek industry positions and for students interested in pursuing research.

  • 15-122 Principles of Imperative Computation (or equivalent)
  • and 21-122 Integration, Differential Equations, and Approximation (or equivalent)
  • and (15-251 Great Theoretical Ideas in Computer Science or 21-241 Matrix algebra or 18-202 Mathematical Foundations of Electrical Engineering or equivalent)
This course covers the basic required mathematical and logical background of cyber-physical systems. You will be expected to follow extra background reading material, which we will provide, as needed.
This course counts as a Logics/Languages elective in the Computer Science curriculum or as fulfilling the Programming Languages star requirement.
TEXTBOOK: (optional)
  1. André Platzer.
    Logical Analysis of Hybrid Systems: Proving Theorems for Complex Dynamics.
    Springer, 2010. 426 p. ISBN 978-3-642-14508-7.
    [bib | book | eBook | doi | web]

  2. André Platzer.
    Foundations of Cyber-Physical Systems.
    Lecture Notes, Computer Science Department, Carnegie Mellon University. 2016.
    [bib | pdf | course | abstract]

  1. [e-book in CMU Library]
Logical Analysis of Hybrid Systems
Grading will be based on a set of homework assignments (22%), labs (51%) including a final project entering the CPS V&V Grand Prix worth 22%, a midterm exam (11%), a final exam (11%), and participation in class and in online comments (5%). Grading is based on the point total of 1360 points giving the above percentages approximately. The exact distribution of points is still in flux but will work roughly as indicated.
Midterm: 150 points, Thu 02/25 during lecture time. Closed book, one double-sided sheet of hand-written notes permitted.
Final: 150 points, Thu 04/07 during lecture time. Closed book, one double-sided sheet of hand-written notes permitted.
Grand Prix: Thu 05/05, CPS V&V Grand Prix for presenting final projects to a panel of experts in CPS.

The instructors greatly appreciate the help by other members of the Logical Systems Lab, especially Stefan Mitsch and Brandon Bohrer, on advancing KeYmaera X.