An embedded system is a dedicated computer system designed to perform one or a few specific functions within a larger mechanical or electronic device, operating under real-time computing constraints. Embedded systems combine a microcontroller or microprocessor with custom software (firmware) and interface directly with hardware peripherals such as sensors, actuators, and displays. They are ubiquitous in modern life, found in smartphones, automotive ECUs, washing machines, medical pacemakers, and industrial PLCs.
| Industry | Device | Processor | Key Constraint |
|---|---|---|---|
| Automotive | Engine Control Unit (ECU) | ARM Cortex-M4 | Real-time, reliability |
| Medical | Cardiac Pacemaker | Custom ASIC | Ultra-low power, safety |
| Consumer | Smart Thermostat | ARM Cortex-M0 | Low power, connectivity |
| Industrial | Programmable Logic Controller | x86 / RISC | Deterministic timing |
| Aerospace | Flight Management System | PowerPC | Fault tolerance, DO-178C |
Wikimedia Commons, CC BY-SA
A real-time system is a computing system in which the correctness of the system depends not only on the logical result of computation but also on the time at which the results are produced. Hard real-time systems require that deadlines are always met; failure to do so results in system failure (e.g., aircraft fly-by-wire, airbag controllers). Soft real-time systems tolerate occasional deadline misses with degraded performance but no catastrophic failure (e.g., video streaming, interactive games). Real-time systems rely on real-time operating systems (RTOS) that provide deterministic scheduling and interrupt handling.
A computer interrupt is a signal sent to the processor indicating that an event requiring immediate attention has occurred, causing the CPU to pause its current execution, save its state, and transfer control to an interrupt service routine (ISR). Interrupts can originate from hardware (e.g., a keypress, network packet arrival, timer expiry) or software (e.g., system calls, exceptions). The interrupt mechanism is fundamental to efficient multitasking and real-time responsiveness, as it allows the CPU to react to asynchronous events without continuously polling devices.
A Field-Programmable Gate Array (FPGA) is an integrated circuit containing an array of configurable logic blocks (CLBs), programmable interconnects, and I/O elements that can be reconfigured after manufacturing to implement virtually any digital circuit. Unlike fixed-function ASICs, FPGAs are reprogrammable using hardware description languages such as VHDL or Verilog, enabling rapid prototyping and field updates. FPGAs are widely used in signal processing, telecommunications, hardware acceleration, aerospace, and as prototyping platforms for ASIC designs.
From Old English "embedd" (to fix firmly within) plus Latin "systema" (an organized whole, from Greek "systema"). The concept emerged in the 1960s with the development of the Apollo Guidance Computer (1966), one of the first purpose-built digital computers for a specific real-time application.