Real-Time Systems: An Overview logopeterindia.net
Knowledge Hub

Real-Time Systems: An Overview

A late answer is a wrong answer: what real-time systems are, how deadlines and periods work, hard versus soft real-time, how scheduling and worst-case timing analysis make a system predictable, and where to learn more.

41 topics•9 categories•Updated October 2026

What Is a Real-Time System?

5 entries

A real-time system is one whose correctness depends not only on the logical result of a computation but also on the time at which the result is produced: a late answer is a wrong answer. Cruise control, telecommunications switching, flight control and engine management are typical real-time applications, whereas offline simulation or ordinary user-interface work is not. Real-time does not mean fast; it means the timing is guaranteed to meet a stated bound.

Periodic Tasks, Periods & Deadlines

3 entries

Consider a machine that caps bottles on a moving conveyor. If it acts too early the bottle is not there yet; too late and the bottle has passed, and stopping the line is costly. The range of motion and the belt speed create a window of opportunity, which becomes a timing constraint. If bottles arrive five per second, a new one appears every 200 ms, so the task has a period of 200 ms; if the usable window is 150 ms, the deadline is 150 ms after the bottle enters range. A periodic task repeats at a fixed period and must finish within its deadline each time. Cruise control is similar: the control rate, how often speed is checked, is chosen by the designer to meet the specification without burdening the system.

Aperiodic Tasks

3 entries

Not every real-time task is periodic. Aperiodic tasks respond to events that arrive at random, such as a driver pressing the brake pedal. The response time, from the pedal press to the anti-lock braking software actuating the brakes, must stay within a worst-case bound, because a one-second delay could cause an accident. Fastest is not necessarily best: designers also want small, cheap microcontrollers, so the application specifies a worst-case response time and the hardware and software are designed to meet it. Tasks that arrive at random but with a known minimum gap are often called sporadic.

Hard, Firm & Soft Real-Time

2 entries

A system is either real-time or not; a non-real-time system can miss any deadline without consequence. Real-time systems are usually classed by how severe a miss is. A hard real-time system cannot afford to miss even one deadline: a flight controller that acts late could leave an aircraft unstable. A soft real-time system tolerates occasional misses, with quality degrading rather than failing; for example, cruise control can reuse the previous speed reading if one sample is late, because the value changes little. A firm real-time system discards a late result as worthless but does not fail catastrophically. The class depends on the consequence of lateness, not the application name.

Predictable & Deterministic Systems

5 entries

A predictable real-time system always behaves within an acceptable range, usually stated system-wide, such as all tasks meet all deadlines. To build one, the period, deadline and worst-case execution time of each task must be known, and an appropriate scheduling algorithm is combined with schedulability analysis to prove the deadlines can be met. A deterministic system is a special case where the timing behaviour can be fixed in advance, for example by pre-allocated time slots for each task, which requires known execution times and no anomalies that could break the plan.

Real-Time Operating Systems & Kernels

9 entries

Most real-time software runs on a real-time operating system, whose scheduler and interrupt handling are built for bounded latency. Popular open options include FreeRTOS, Zephyr, RTEMS and Eclipse ThreadX, while VxWorks is a long-established commercial RTOS, seL4 is a formally verified microkernel, and Linux with PREEMPT_RT serves larger systems.

Safety Standards

3 entries

Hard real-time systems are often safety-critical, so development follows standards such as ISO 26262 for road vehicles, DO-178C for airborne software and IEC 61508 for functional safety in general. These define processes and evidence, including timing analysis, so use the current published text rather than summaries.

Courses, Conferences & Reading

5 entries

Where to study real-time systems.

Related Pages

6 entries

Neighbouring pages on this site.

Frequently Asked Questions

What is a real-time system?

A real-time system is a computer system whose correctness depends on both the logical result and the time it is produced, so a late answer is a wrong answer. Examples include flight control, engine control, anti-lock braking and telecommunications switching.

What is the difference between hard and soft real-time?

A hard real-time system must meet every deadline because a miss can be catastrophic. A soft real-time system tolerates occasional misses with degraded quality, and a firm real-time system discards a late result as worthless.

Does real-time mean fast?

No. Real-time means the response time is guaranteed to stay within a stated bound. A real-time system may be slower than a general-purpose one, provided it always meets its deadlines.

What makes a real-time system predictable?

Known periods, deadlines and worst-case execution times for every task, plus a scheduling algorithm and schedulability analysis showing all deadlines can be met. A deterministic system goes further by fixing the timing in advance.

How current is this page?

Links were checked in October 2026. The explanations are general engineering background; for safety-critical work always use the current text of the relevant standard. Sites that block automated checks are kept and may need a manual click.