Real-time system

Definition: What is a real-time system?

A real-time system (English: Real-Time System) is a computer system that processes data and must deliver a response within a predefined time limit. The timing component is just as important as the functional correctness of the result.

In contrast to conventional computer systems, where delays are usually acceptable, real-time systems must respond to events deterministically and predictably. If the maximum response time is exceeded, this can lead to malfunctions or safety-critical situations.

Real-time systems are often part of embedded systems and are used in applications where machines, vehicles, or technical systems are controlled.

Synonyms / related terms:

  • Real-Time System
  • time-critical system
  • deterministic control system

Characteristics: What distinguishes real-time systems?

  • Processing events within defined time limits
  • deterministic behavior with predictable response times
  • often used in embedded and control systems
  • direct connection to sensors and actuators
  • use of specialized real-time operating systems
  • high reliability and stability required
  • often safety-critical applications

Important metrics / key data

  • Response time: often in the microsecond to millisecond range
  • Typical platforms: microcontrollers, embedded processors
  • Software basis: real-time operating system (RTOS)
  • Areas of application: industrial automation, automotive, aerospace
  • Key characteristic: deterministic system response

Functionality: How does a real-time system work?

A real-time system continuously processes events from its environment and responds within a defined time window.

  • Capture of Inputs
    Sensors or external systems provide data to the system.
  • Processing the Data
    The processor analyzes the input data using defined algorithms.
  • Time-Critical Decision Logic
    The system decides on the next action within a guaranteed time span.
  • Execution of Actions
    Control commands are issued to actuators or other systems.
  • Continuous Monitoring
    The process repeats continuously so it can respond to new events.

Application areas: Where are real-time systems used?

Real-time systems are used wherever time-critical control or data processing is required.

  • Automotive technology
    Engine control units, driver assistance systems, and ABS.
  • Industrial automation
    Control of production systems and robotic systems.
  • Medical technology
    Devices such as pacemakers or medical monitoring systems.
  • Aerospace
    Flight control and navigation systems.
  • Telecommunications
    Real-time processing of communication data.

Differences from similar technologies

Characteristic Real-Time System Conventional Computer System
Main objective guaranteed response time high computing performance or convenience
Timing behavior deterministic often variable
Error definition too late = error delay usually acceptable
Use control systems, embedded systems office software, multimedia
Typical platform microcontrollers, RTOS PCs, standard operating systems

Deep Dives: Holistic Examination of the Topic

  • Hard Real-Time Systems

In hard real-time systems, defined time limits must be strictly met. Exceeding the response time is considered a system error and can have serious consequences. Typical applications include flight control systems or medical devices.

  • Soft Real-Time Systems

In soft real-time systems, a timely response is important, but not strictly critical. Minor delays can occur without the system failing completely. Examples include multimedia applications or streaming systems.

  • The Role of Real-Time Operating Systems

Many real-time systems use special real-time operating systems (RTOS). These operating systems prioritize tasks so that time-critical processes are executed reliably within the required deadlines.

  • Determinism and Scheduling

A key aspect of real-time systems is determinism. This means that system behavior is predictable and the maximum response time can be determined precisely. This is especially important for safety-critical applications.

Advantages and Disadvantages

Advantages

  • reliable response to time-critical events
  • deterministic system behavior
  • high stability and reliability
  • ideal for control and automation systems
  • foundation of many modern embedded systems

Disadvantages

  • complex system planning and development
  • strict requirements for software architecture
  • limited flexibility compared with standard computer systems
  • higher demands on hardware and operating system

Examples from practice

  • ABS system in a car: reacts within milliseconds to locking wheels.
  • Aircraft control: continuously processes sensor data to stabilize the aircraft.
  • Industrial robot: precisely and synchronously controls movements in production facilities.
  • Medical monitoring system: monitors vital signs and responds immediately to critical values.
  • CNC machines: precisely control tools in real time during machining.

Related Terms

  • Real-time operating system (RTOS): operating system specifically designed for real-time requirements.
  • Embedded system: embedded computer system within technical devices.
  • Microcontroller: integrated processor with memory and peripherals for control tasks.
  • Determinism: predictable timing behavior of a system.
  • Industrial automation: automated control of machines and production processes.
38