Course syllabus

Course-PM

EEN090 Embedded control systems lp4 VT24 (7.5 hp)

The course is offered by the Department of Electrical Engineering

Contact details

Examiner and lecturer

Bengt Lennartson, phone: 031-772 3722, bengt.lennartson@chalmers.se

Teaching Assistant

Wenhao Lu, wenhaol@chalmers.se

Exam Office

Room EDIT 3342, studadm.e2@chalmers.se

Course purpose:

The aim of the course is to introduce modeling, specification, and analysis of embedded control systems. Embedded control systems are usually distributed systems and consist of different components interacting with each other.  Moreover, they are usually complex and safety-critical. Thus, it is important to establish that system works correctly during the design phase.

After this course, the student should be able to:

1. Describe the general characterization of embedded and distributed systems.
2. Explain concepts related to distributed real-time systems, including concurrency, multi-tasking, multi-threads, and shared resources.
3. Describe challenges in real-time systems including deadlock and starvation, and possible solutions including scheduling, mutual exclusion, and critical sections.
4. Explain communication protocols for embedded systems.

The following concepts will be described at different levels in the course: task, critical regions, mutual exclusion and synchronization, deadlock, timing constraints ("soft/hard" systems), schedulability analysis for systems with static and dynamic task priorities, discrete event systems including verification, synthesis, and optimization.

Lecture and Exercise Program

Lecture or Exercise nr/
Period week

Date, Room Content

L1, Pw 1

Tuesday, March 19, 10-12, Jupiter122

Introduction, RTS Ch 1,
Discrete event systems, DES Ch 3.

L2, Pw 1

Wednesday, March 20, 13-15, Svea118

Discrete event systems, DES Ch 3 pp.53-67, Ch 8 pp. 119-125.

E1, Pw 1

Thursday, March 21, 13-15, Jupiter122

Discrete event systems.

L3, Pw 2

Monday, March 25, 13-15, Jupiter122

Microcontrollers, RTS Ch 3, Multithreading, RTS Ch 6,
Scheduling, RTS Ch 7.

E2, Pw 2

Tuesday, March 26, 10-12, Jupiter122

Posix and multithreading.

L4, Pw 2

Wednesday, March 27, 13-15, Jupiter122

Scheduling, RTS Ch 7.

E3, Pw 3

Tuesday, April 9, 8-10, Jupiter121

Support Assignment 1.

E4, Pw 3

Thursday, April 11, 10-12, Jupiter122

Scheduling, RTS Ch 7. 

L5, Pw 3

Friday, April 12, 10-12, Svea130

Worst-case execution time (WCET) analysis.

E5, Pw 4

Monday, April 15, 10-12, Jupiter122

Worst-case execution time (WCET) analysis.

L6, Pw 4

Monday, April 15, 13-15, Jupiter122

Petri nets, synchronization.

L7, Pw4

Wednesday, April 17, 13-15, Svea129

Mutual exclusion, semaphores

L8, Pw4

Thursday, April 18, 10-12

Optimization

L9, Pw5

Monday, April 22, 13-15, Svea130

Optimization

L10, Pw5

Tuesday, April 23, 8-10, Jupiter122

Petri net Synchronization

L11, Pw5

Wednesday, April 24, 15-17, Gamma

Real-time operating system (RTOS) Inputs, outputs & communication

L12, Pw7

Monday, May 6, 13-15, Svea 118

Formal verification, temporal logic

E6, Pw7

Monday, May 6, 15-17, Svea 118

Support Assignment 3 

L13, Pw7

Tuesday, May 7, 10-12, Jupiter122

SCT

L14, Pw7

Wednesday, May 8, 13-15, Svea118

SCT

E7, Pw8

Monday, May 13, 15-17, Jupiter122

SCT

L15, Pw9

Monday, May 20, 13-15, Jupiter243

Summary

E8, Pw9

Monday, May 20, 15-17, Jupiter243

Old exam

 

TimeEdit Chalmers - EEN090 

Home Assignments

Submission date Content

A1, Pw 3

Tuesday, April 16

Posix and multithreading

A2, Pw 5

Thursday May 2

Optimization

A3, Pw 7

Friday, May 10

Kernel and FreeRTOS

 

Course literature

D.W. Harder, J. Zarnett, V. Montaghami, and A. Giannikouris
A practical introduction to real-time systems for undergraduate engineering (RTS), see Files Literature.

B. Lennartson
Discrete Event Systems (DES), see Files Literature.

 

Changes made since the last occasion

Topics related to optimal scheduling will be extended in this course.

Learning objectives and syllabus

Learning objectives:

  • Describe the general characterization of embedded and distributed systems.
  • Explain concepts related to distributed real-time systems, including concurrency, multi-tasking, multi-threads, and shared resources.
  • Describe challenges in real-time systems including deadlock and starvation, and possible solutions including scheduling, mutual exclusion, and critical sections.
  • Explain communication protocols for embedded systems.

Link to the syllabus on Studieportalen Study plan

Examination form

The students are evaluated through a final written exam (4.5 hec) and a compulsory laboratory assignment (3.0 hec). 

The final grade, according to the scale Fail (U) or Pass (3, 4, 5), is given based on the individual grades for the written exam.

There are three individual assignments in the course.  Additional information regarding these assignments will later be found on the Assignment page.

Course representatives

The following students have been elected by the student administration to be course representatives in the course evaluation:

TIMEL   alan.bakr22@gmail.com                                     Alan Bakr
TIMEL   erikfors@student.chalmers.se                           Erik Forsaeus
TIMEL   contact.aleksandarjevdjenijevic@gmail.com    Aleksandar Jevdjenijevic
TIMEL   theanilsson1@live.se                                          Thea Nilsson
TIMEL   alfredwidsjon@gmail.com                                  Alfred Widsjön

To be a study representative means that you will be involved in the course evaluation process. See more details at https://www.chalmers.se/en/education/your-studies/plan-and-conduct-your-studies/course-evaluation/

 

Course summary:

Date Details Due