A system is called real-time when it interacts with the real world (physical process) within temporal requirements. In a Real Time System (RTS) the answer must not only be correct but must arrive at the right time or the system is considered to have failed. This is the case of the activation of the airbag or ABS in a car to give two critical examples, but also that of a robot that has to catch a ball in flight. At the end of the course the student will understand the difference between a fast and a real time system, as well as the distinction between a hard, soft or critical real time system. He will know how to analyze, design and implement systems based on microcomputers with requirements of time criticality, reliability and cost.
Person in charge
Antonio Camacho Santiago (
Enric X. Martin Rull (
Joan Aranda López (
Joan Climent Vilaró (
Manuel Vinagre Ruiz (
Common technical competencies
CT5 - To analyse, design, build and maintain applications in a robust, secure and efficient way, choosing the most adequate paradigm and programming languages.
- To demonstrate knowledge and capacity to apply the fundamental principles and basic techniques of parallel, concurrent, distributed and real-time programming.
G9 [Avaluable] - Capacity of critical, logical and mathematical reasoning. Capacity to solve problems in her study area. Abstraction capacity: capacity to create and use models that reflect real situations. Capacity to design and perform simple experiments and analyse and interpret its results. Analysis, synthesis and evaluation capacity.
- Critical capacity, evaluation capacity.
Technical Competences of each Specialization
Computer engineering specialization
CEC1 - To design and build digital systems, including computers, systems based on microprocessors and communications systems.
- To design a system based on microprocessor/microcontroller.
CEC2 - To analyse and evaluate computer architectures including parallel and distributed platforms, and develop and optimize software for these platforms.
- To develop and analyse software for systems based on microprocessors and its interfaces with users and other devices.
- To design and implement operating systems.
CEC3 - To develop and analyse hardware and software for embedded and/or very low consumption systems.
- To analyse, evaluate and select the most adequate hardware and software platform to support embedded and real-time applications.
- To develop specific processors and embedded systems; to develop and optimize the software of these systems.
To understand the concept of real-time system
To determine when to use a real-time system.
Clearly identify the need for online planning
Introduction to real-time systems
Explanation of different examples in which the analysis and use of real-time techniques becomes essential
Real-time systems "Passive" or without computing capability
Examples of real-time systems that do not have computing capability to be able to solve possible concurrency problems. - Real-time networks
- Crossroads or train tracks
- Other examples that broaden the student's vision
- Optimal planning
Active real-time systems, or with computing capability
Online scheduling and preemption.
-Earliest Deadline First
Implementation of an RTOS in a microprocessor
Details to consider when migrating or deploying a real-time operating system on a microprocessor
High level systems. Bandwidth servers
Implementation of bandwidth servers
Multi-core in real-time systems
Introduction to real-time systems in systems with more than one microcontroller
I can't I solve this problem?
This activity will highlight the advantages and disadvantages of scheduling concurrent tasks without prior planning. Specifically a problem will be selected and solved (as far as possible), throughout the solution we will see how RTS techniques appear naturally. Objectives:41 Contents:
Cyclic scheduler and the difficulties of planning by hand.
The easiest way to schedule a set of tasks is to use cyclic planning, but is this the best solution from a design point of view?. In this activity we will highlight the difficulties we may encounter in generating a cyclical executive. In this same activity we will highlight some needs for the use of a RTOS. Objectives:4523 Contents:
Remove a task from the runtime stack and relocate it. Introduction to RTOS
In this activity we will suspend the execution of a process and completely remove it from the execution stack. We will then reinsert it into the stack and restart execution at the point where we left it. In this way we open the door to understand the operation of the RTOS suspend/resume task state Objectives:67 Contents:
The evaluation of the subject will be done by means of exams, laboratory practices and mini-project, being able to pass the subject without having to do a final exam. The evaluation is done as follows:
- Theory 50%
- Lab practices 25%
- Mini-project 25%
Theory: there will be two online exams, CT1 and CT2, each counting 25% (on the overall grade of the subject)
Laboratory practices: there will be several deliveries, each counting equally on the overall grade of the subject
Mini-project: a brief and free choice work will be developed to delve into some aspect related to real-time systems
The final NF grade will be:
NF = CT1 (25%) + CT2 (25%) + PR (25%) + MP (25%)
Competence "G9.3 - Critical ability, assessment ability" will be assessed based on the tasks performed in the theory and problem classes, as well as on the tasks performed in the laboratory practices. In any case it has no weight in the final note of the subject.