2026–2027 · Computer Engineering

Real-Time Systems

Designing systems that deliver the right result at the right time, from real-time scheduling to verified and predictable AI-enabled systems.

Course idea

Correctness includes time

A real-time system must produce logically correct results within its timing constraints. This course develops task models, scheduling and schedulability analysis, resource-sharing protocols, and real-time operating-system concepts.

Timed automata and UPPAAL connect requirements to formal verification and model-based testing. Timing experiments and an integrated project extend these foundations to Edge AI, runtime assurance, and LLM-enabled cyber-physical systems. Students learn to distinguish model guarantees from measured evidence and explain the assumptions behind each.

Learning journey

From timing requirements to system evidence

01

Specify & analyze

Task models, deadlines, scheduling policies, response times, and resource sharing.

02

Implement & observe

RTOS mechanisms, nano-kernel code, timing experiments, and platform interference.

03

Model & verify

Timed automata, UPPAAL properties, counterexamples, and model-derived tests.

04

Integrate & justify

Edge AI, timing budgets, runtime monitoring, validation, fallback, and project evidence.

Weekly structure

Course schedule

Week 9 is reserved for the midterm; Week 14 for project presentations and discussion.

Week Main topic Core concepts
1Introduction to Real-Time SystemsLogical and temporal correctness; hard, firm, and soft deadlines; latency, jitter, and WCET
2Real-Time Task Models and SchedulingTask models; static schedules and cyclic executives; cooperative and preemptive execution; RM, DM, EDF
3Schedulability and Response-Time AnalysisUtilization tests; Liu–Layland bound; response-time analysis; blocking; harmonic task sets
4Resource Sharing and Real-Time ConcurrencyCritical sections; mutexes and semaphores; priority inversion; inheritance and ceiling protocols; deadlock
5Real-Time Operating SystemsTasks, interrupts, timers, IPC, and context switches; FreeRTOS/Zephyr; RTAI; nano-kernel examples
6Timing in Real Computer SystemsMeasured execution time versus WCET; caches, memory, OS interference, and multicore contention
7Timed Automata for Real-Time SystemsFormal definitions and semantics; clocks, guards, invariants, and channels; networks; reachability; state explosion
8Model Checking of Real-Time SystemsUPPAAL; reachability, safety, liveness, and leads-to properties; counterexamples; model-based testing
9Midterm Examination — No LectureExamination week; no new lecture content
10Edge AI Systems and Inference under Real-Time ConstraintsEnd-to-end pipelines; CPU/GPU/NPU; timing and resource budgets; tail latency; model optimization
11Scheduling and Resource Management for Edge AIMixed AI/RT workloads; shared accelerators; batching; overload; deadline-aware execution
12Safe and Predictable AI-Enabled Real-Time SystemsMonitors, acceptance testers, watchdogs, and fallback; selected SPARC runtime-assurance and evidence ideas
13LLMs in Real-Time and Cyber-Physical SystemsVariable latency; structured outputs; validation; bounded retries; safe fallback; end-to-end integration
14Project Presentations and DiscussionDemonstrations, design decisions, verification, measurements, failure handling, and limitations; no new lecture unit

Practice

Practical work & project

Guided exercises and one integrated project connect analysis, formal models, implementation, and experimental evidence.

Analysis

Scheduling & timing

Build schedule traces, analyze response times and blocking, and investigate execution-time variability on real platforms.

Verification

Model → verify → test

Use timed automata and UPPAAL to check requirements, interpret counterexamples, and derive tests for implemented systems.

Project

Design → integrate → defend

Develop timing and resource budgets in Weeks 10–11, integrate runtime assurance and experiments in Weeks 12–13, and present in Week 14. The project brief will specify deliverables and deadlines.

Assessment

Grading

30% Midterm Examination
40% Final Examination
30% Project

Textbook

Primary reference

Real-Time Systems: Design Principles for Distributed Embedded Applications

Hermann Kopetz · Second edition · Springer · 2011

Textbook details

Course materials

Distribution

Lecture slides, source code, UPPAAL models, exercises, project instructions, announcements, and supplementary readings will be shared through the course learning environment. Assessment policies, learning outcomes, and the GenAI usage policy are available in the syllabus.

“How can we build systems that deliver the right result at the right time, and provide evidence for that claim?”

This is the central question revisited throughout the semester.