Lecture 1
Lecture 1
Cyber-Physical Systems
Fall - 2022
Fall - 2022 1 / 51
Overview
2 Introduction to CPS
Example of CPS: Smart Grids
Fall - 2022 2 / 51
Fall - 2022 3 / 51
Course Instructor
Research Interests:
• Secure and resilient control of cyber-physical systems
• Model predictice control/fault-tolerant control/switching systems
• Control of autonomous vehicles (UGV, UAV)
Fall - 2022 4 / 51
1
Disclaimer: some topics (or part of them) covered this year might not be in the recording or be different.
Fall - 2022 5 / 51
• Prerequisites:
• No formal prerequisites
• However, the students are expected to have some basic knowledge of
math, statistics, and basic programming skills.
• Background material (covered in class):
• Linear systems, control design problem, state estimation problem
• Brief introduction to Matlab/Simulink2
2
Students are expected to make an effort to learn the basics of Matlab and Simulink. Matlab will be used for the Assignment
Fall - 2022 6 / 51
Marks Distribution I
• Each student will be awarded a letter grade based on the best
result according to the options (A), (B)3
Marks Distribution II
• The project must be solved individually and the student must contact the
professor by email indicating his/her interest.
• The project replaces the assignment and the following grading scheme is
used: Midterm 1 (20%), Project (50%), Second Midterm (30%).
• The project can be started at any time and it must end by the last day of
class or shortly thereafter (to be discussed with the professor).
3
Check the class outline for the complete set of rules.
Fall - 2022 8 / 51
Fall - 2022 9 / 51
Introduction to CPS
Fall - 2022 10 / 51
Communication
Computation
Control
http://engineering.utsa.edu/ataha/wp-content/uploads/sites/38/2017/10/EE5243_Module1.pdf
Fall - 2022 11 / 51
+
Network +
Controller
• Problem 1: Data/Device
Proliferation
• Problem 2: Biological
Evolution
Fall - 2022 14 / 51
Communication
Computation
Control
http://engineering.utsa.edu/ataha/wp-content/uploads/sites/38/2017/10/EE5243_Module1.pdf
Fall - 2022 15 / 51
A CPS World - Examples
• Autonomous Vehicles and Intelligent Transportation Systems
• Smart Buildings, Industry 4.0
• Smart Grid
• Biomedical Engineering/ Medical Devices
• And many more
Fall - 2022 16 / 51
CPSs Expectations
Fall - 2022 17 / 51
Communication
Computation
Control
Fall - 2022 19 / 51
Fall - 2022 20 / 51
CPS expectations:
• Autonomy
• Reliability
• Efficiency
Security ← warning
• Many cyber attacks against CPSs have been reported and more
are expected
• Stuxnet malware (2010)
• Ukraine Power Grid attack (2015)
• Motivations:
• Cyber Warfare, Commercial Advantage
• Terroristic Attacks
Fall - 2022 21 / 51
Stuxnet Attack ∼ 2010
• Malware that infected the SCADA (Supervisory Control And Data
Acquisition) system controlling an uranium enrichment facility in
Iran
• The control logic and the communication with the HMI (Human
Machine Interface) were altered
• Stuxnet increased centrifuges pressures causing them to spin in
an erratic fashion, which caused plant damages
Fall - 2022 22 / 51
Fall - 2022 23 / 51
Fall - 2022 24 / 51
Smart Grids - Importance
4
Lawrence Bernie, Hancock Martin, Stieva Ginni. White Paper: How unreliable power affects the business value of a hospital?
Schneider Electric, December 2010.
Fall - 2022 25 / 51
Fall - 2022 26 / 51
Fall - 2022 28 / 51
Fall - 2022 29 / 51
Fall - 2022 30 / 51
Introduction to Feedback Control Systems
Fall - 2022 31 / 51
feedback/sensor measurements
Fall - 2022 32 / 51
Control Systems5
• The plant is a physical entity that receives inputs u(t) and produce
outputs y(t)
• E.g.: a car, airplane, nuclear plant, a boiler, a toaster, etc...
• The reference signal (or setpoint) r(t) is the plant condition we
want to reach, (e.g., the desired water level)
• To build an autonomous system, we need a logic (algorithm, brain)
to decide how to automatically choose the control actions u(k)
• The control system is the brain of an autonomous physical
system. Given r(t) and y(t), it decides the input u(t) to apply to
the plant so that eventually y(k) = r(k)
Controller
desired reference error signal brain control action
r(t) + e(t) u(t) y(t)
Control Logic Plant
-
feedback/sensor measurements
5
This is not a formal definition of control system
Fall - 2022 33 / 51
Control schemes: open-loop vs closed Loop
closed-loop controller
open-loop controller r(t) + e(t) u(t) y(t)
Fall - 2022 34 / 51
Output-Feedback Controller
• If the controller works with the available sensor information y(t)
then it is said to be an output-feedback-controller (e.g., the water
tank control system seen before)
• Control logic: u(t) = f (r(t), y(t))
actuators sensors
A S
A Plantstate x(t) S
Fall - 2022 35 / 51
Controller
Fall - 2022 36 / 51
Feedback Control with State Estimation - Tasks
• Task 1 - The state estimator6 reconstructs/estimates the state x̂(t)
from the sensor measurements y(t), control inputs u(t), and
mathematical model of the plant’s dynamical behavior.
• Task 2 - Given x̂(t), the control logic 7 computes a sequence of
control inputs u(t) to reach pre-specified control objectives:
• Closed-Loop system stability, Reference tracking (i.e., y(t) reaches the
reference r(t)), etc...
actuators sensors
A S
A Plantstate x(t) S
Controller
6
State-estimators will be studied in Lecture 4
7
Controllers will be studied in Lecture 3
Fall - 2022 37 / 51
Fall - 2022 38 / 51
Communication Channel
actuators sensors
A S
A Plantstate x(t) S
Communication Channel
Fall - 2022 40 / 51
Fall - 2022 41 / 51
Fall - 2022 42 / 51
Cyber-Security
• In the computer security and sensor network security domains
several proactive and reactive protective security mechanisms
have been developed to secure IT systems:
• Proactive Mechanisms: authentication, access control, message
authentication, sensor network security, software security, redundancy,
diversity, separation of privileges, etc...
• Reactive Mechanisms: detection and response, etc...
Fall - 2022 43 / 51
Communication Channel
ẋ(t) = Ax(t) + Bu(t)
y(t) = Cx(t) u(t) control logic
r(t)
state estimator y(t)
Networked Controller
8
Note that Industrial Control Systems (ICSs) cannot easily be rebooted and patched with security updates when
bug/vulnerability are found out.
9
Plant models will be studies in Lecture 3
Fall - 2022 44 / 51
Fall - 2022 45 / 51
Standard Control Theory: challenges in CPSs
actuators sensors
A S
A Plantstate x(t) S
Communication Channel
Fall - 2022 46 / 51
Opportunities in CPSs
Fall - 2022 48 / 51
Next Lectures (tentative lecture schedule)
• Lecture 2: Security of CPS from a control perspective, classes of
attacks, example of stealthy undetectable attack
• Lecture 3: Background - Mathematical modeling of physical
systems and introduction to control systems
• Lecture 4: Background - State Estimation and Kalman Filter
• Lecture 5: Tutorial on Control Systems design + Matlab Tutorial
• Lecture 6: First Midterm Exam (in-class);
• Lecture 7: Detection of cyber-attacks against networked CPSs
using passive detection mechanisms;
• Lecture 8: Detection of cyber-attacks against networked CPSs
using active detection mechanisms. The Assignment is given;
• Lecture 9: Setpoint attacks and setpoint attacks detection
• Lecture 10: Resilient control against cyber-attacks
• Lecture 11-12: Covert and Wyner wiretap-like channels in CPSs
• Lecture 13: Second Midterm Exam (in-class)
Fall - 2022 49 / 51
Thank You!
Fall - 2022 50 / 51
References
A. A. Cardenas et al.
Secure Control: Towards Survivable Cyber-Physical Systems
International Conference on Distributed Computing Systems Workshops, 2008.
T. Nadeem
Course Introduction: Overview of Cyber Physical Systems
CS 795/895 - Cyber Physical Systems Seminar, 2013.
A. Teixeira et al.
A secure control framework for resource-limited adversaries
Automatica, 2015.
H. Sandberg
Lecture Slides: Security and limitations of Cyber-physical Systems
KTK, 2015.
E. D. Knapp and R. Samani
Applied Cyber Security and the Smart Grid
Syngress, 2013.
M. Blanke, M. Kinnaert, J. Lunze, M. Staroswiecki
Diagnosis and Fault-Tolerant Control
Syngress, 2006. Fall - 2022 51 / 51