News
No lecture tomorrow, June 5thWritten on 04.06.25 by Martina Maggio Dear all, I have received a(n alarming) message: the projector in HS002 seems to be more sick than usual (not only it is not producing the right colors, but it actually doesn't seem to project images at all). A technician will come to assess the damage and hopefully fix it tomorrow, but there is no… Read more Dear all, I have received a(n alarming) message: the projector in HS002 seems to be more sick than usual (not only it is not producing the right colors, but it actually doesn't seem to project images at all). A technician will come to assess the damage and hopefully fix it tomorrow, but there is no guarantee of having it operational again before our lecture. Given our recent shift in program, I am therefore cancelling the lecture that was planned to take place tomorrow and we will meet again on Tuesday, June 10th. I hope this unexpected break gives you some time to work on the exercise sheets! Cheers, |
Reminder: No Appointments in Week 19, Exercise Sheet 3 Released, Materials UpdatedWritten on 01.05.25 by Martina Maggio Hello everybody, Here are a few announcements for the coming weeks:
Hello everybody, Here are a few announcements for the coming weeks:
The next course appointments are:
As always, if you have any questions, feel free to reach out on the forum or via email. Thanks! |
Cyber-Physical Systems
This course was previously called Embedded Systems. If you have taken a previous instance of Embedded Systems, you cannot take this course for credits.
What are cyber-physical systems? These are integrated systems that bridge the digital (cyber) and physical worlds. They monitor and control physical processes through computational algorithms, embedded within mechanical and electrical systems. Cyber-physical systems are essential to modern technology, from autonomous vehicles and robotics to smart buildings and medical devices. They constantly interact with their environments, adjusting their behavior to meet design specifications and performance goals.
Syllabus: The course is divided into three parts, that build on one another: (1) Modeling, (2) Control Design, and (3) Implementation.
- In the modeling part of the course we will start with prerequisites (linear algebra concepts) and continue discussing different types of models (linear and non-linear systems). We will then talk about linearization and focus on linear systems, clarifying the difference between autonomous and input-driven systems. We will then talk about discretization and obtain linear time-invariant dynamical models. We will then formally prove properties of these models (stability, observability, reconstructability, controllability, reachability, and properties of the transient behavior). Then we will introduce data-driven models and switching models.
- In the control design part, we will focus on how to achieve these properties using the input signal and how to design a controller. We will discuss pole placement, Proportional Integral and Derivative controllers, the design of observers, and of controllers based on the optimization of a cost function. We will then discuss how robust these controllers are with respect to unmodeled dynamics and disturbances.
- In the implementation part, we will take the controllers designed in the second part and study how to implement them. We will discuss periodic tasks and scheduling theory, how to make the code execute as predictably as possible, and how and when to exploit some structural properties of the implementation. We will then talk about non-ideal behavior, such as computation with finite precision, quantization effects, and limit cycles. Finally, we will briefly discuss fault tolerance aspects such as communication unreliability and the possibility of undesired computational overruns.
Calendar
Lectures will generally be recorded and made available via CMS links, but please note this is done on a best-effort basis, and there might be delays and problems.
- Tuesdays 16-18 (c.t.); E1 3, HS002
- Thursdays 10-12 (c.t.); E1 3, HS002
There are two tutorial slots, which you can select from (you also have the option of selecting no tutorial).
- Mondays 16-18 (c.t.): E1 3, SR 107
- Tuesdays 10-12 (c.t.): E1 3, SR 016
Note that some slots will not hold a tutorial or lecture, mostly due to public holidays and in a couple of instances due to scheduled breaks. Check the timetable page for detailed information.
Exam
The course is examined via an in-person, closed-book, written exam (no material can be brought into the exam room except for indelible pens and a calculator).
End-term exam: | July 23rd 14:00-17:00 (tentative) | |
End-term re-take exam: | September 23rd 9:00-12:00 (tentative) |
Resources
For a refresher on Linear Algebra, I recommend watching the "essence of linear algebra" playlist.
In case something is unclear, you can check out two books: