CIE IGCSE | 3.1.5 Embedded Systems

Lesson objective

Describe the purpose and characteristics of embedded systems, identify examples and distinguish them from general-purpose computers.

Learn

3.1.5 | EMBEDDED SYSTEMS

01 | A COMPUTER INSIDE A DEVICE

An embedded system is a computer system incorporated into a larger device to perform a dedicated function, or a defined set of related functions.

A washing machine’s controller manages washing operations. A car’s anti-lock braking controller manages a braking function. These systems are designed for the needs of the device rather than for users to run many unrelated applications.

Embedded does not simply mean small. The important ideas are its place within a larger device and its dedicated purpose.

02 | DEDICATED VERSUS GENERAL PURPOSE

Typical characteristics, not rules that every system must share
FeatureEmbedded systemGeneral-purpose computer
Main purposeSpecific function within a deviceMany different tasks
SoftwareDesigned around the device’s functionsUsers can run varied applications
User interactionOften specialised controls, a small display or no direct interfaceOften keyboard, pointing device and a flexible interface
Design prioritiesFit the device: cost, power, reliability, timing or sizeSupport a wide range of workloads
ExamplesWashing-machine controller; car braking controllerLaptop or desktop used for documents, coding and games

A dedicated system may have several settings and operating modes. A washing machine can offer different wash programmes while still having the dedicated purpose of controlling washing.

Not every device with one app open becomes an embedded system. A laptop displaying a timer is still designed as a general-purpose computer.

03 | WHAT IS INSIDE?

An embedded system needs processing hardware and software. It may include memory, input/output interfaces and specialised components.

Illustrative components; actual designs vary
PartRoleWashing-machine example
ProcessorExecute the control programmeChoose the next washing stage
MemoryHold programme instructions and working dataKeep selected settings and current readings
InputProvide measurements or user commandsButtons, door sensor and water-level sensor
OutputDisplay information or control equipmentDisplay, motor, heater and valve

Many embedded systems use a microcontroller, which integrates a processor, memory and input/output features on one chip. Other designs use microprocessors or more complex hardware.

Do not confuse an embedded system with a single chip. The system includes the relevant hardware and software working together.

04 | FOLLOW A WASHING-MACHINE CONTROLLER

A user chooses a wash setting. A door sensor reports whether the door is closed, and a water-level sensor provides a measurement.

INPUT
Settings and sensor readings
→PROCESSING
Follow programme rules
→OUTPUT
Control valve, motor and heater

The controller checks the input against its programme rules. For example, it can request the water inlet valve to open until a target level is reached, then change to the next stage.

The sensor measures; the processor makes programmed decisions; the valve or motor performs the physical action. These are different roles.

This is a conceptual example, not a complete appliance design. Real equipment also needs appropriate electrical control and safety mechanisms.

05 | EXAMPLES FROM EVERYDAY LIFE

Name the controlled function when justifying an example
Device / contextEmbedded functionPossible inputs and outputs
Domestic applianceControl a washing cycle or oven temperatureSettings / temperature readings → motor or heater control
CarManage anti-lock braking or engine operationVehicle sensors → commands to relevant control equipment
Security systemMonitor events and trigger an alarmDoor or movement sensors → siren / notification
Lighting systemSwitch or adjust lights according to rulesLight / occupancy sensor or timer → light control
Vending machineManage payment and product dispensingSelection / payment information → dispensing mechanism and display

A car can contain many embedded systems, each handling different functions. Saying “a car has a computer” is less precise than identifying its braking, engine or climate-control system.

06 | CHARACTERISTICS THAT FIT THE JOB

Specialised software: the programme is designed around the device’s task.

Resource limits: the system may have limited memory or processing capacity because extra capacity increases cost, power use or size.

Reliability: a device may need to operate repeatedly with little user attention. The required reliability depends on the application.

Timing: some systems must respond within a defined time. A braking controller has different timing requirements from a vending-machine display.

Power and size: a battery-powered or compact device may need energy-efficient, small components.

These are common design priorities, not a definition requiring every embedded system to be tiny, inexpensive or real-time.

07 | CONNECTED DOES NOT MEAN GENERAL PURPOSE

An embedded controller can be connected to a network. A lighting controller may receive a command through an app while still serving its dedicated lighting function.

Some embedded systems can receive software updates or new settings. Being updateable does not mean they are designed to run arbitrary desktop applications.

Conversely, internet access is not required. A standalone appliance controller can be embedded without Wi-Fi, a browser or cloud services.

08 | IDENTIFY AND JUSTIFY

Ask two questions: Is the computing system part of a larger device? And is its software focused on the device’s dedicated function?

A thermostat controller: embedded, because it is built into the temperature-control device and processes readings to control heating.

A student laptop: general purpose, because it is designed for many different applications.

A controller board built into a robot hand: it can form part of an embedded system when programmed and integrated to control the hand’s movements. The same board on a desk is not automatically an embedded system merely because it is small.

For borderline examples, state the implementation and purpose rather than guessing from appearance.

09 | COMMON MISTAKES

  • Embedded means any small computer: focus on integration and dedicated purpose.
  • No display is allowed: embedded devices can have displays and controls.
  • Internet is required: many operate independently.
  • Software can never change: some accept updates and settings.
  • Dedicated means exactly one instruction: a specific function can involve complex software and many modes.
  • The processor is the sensor or actuator: distinguish measurement, processing and physical output.

MATCH THE PROCESSING ROLE

Terminology

Terminology

Embedded system

A computer system incorporated into a larger device to perform a dedicated function or related set of functions.

Dedicated function

The particular purpose for which a system is designed.

General-purpose computer

A computer designed to perform many different tasks using varied applications.

Controller

A system that processes inputs and issues outputs according to control rules.

Sensor

An input device capturing a measurement from the environment.

Actuator

An output device performing a physical action.

Processor

Hardware that executes instructions and processes data.

Memory

Storage locations holding programme instructions or working data.

Microcontroller

An integrated circuit combining a processor, memory and input/output features.

Control programme

Instructions specifying how a device responds to inputs.

Real-time requirement

A requirement to respond within a defined time constraint.

Firmware

Software closely associated with controlling device hardware, often held in non-volatile memory.

Questions

Questions

CHECK YOUR UNDERSTANDING

Select all correct choices. Each exact set earns one point.

1. Which describe an embedded system?
2. Why is a washing-machine controller an embedded example?
3. Which is normally general purpose?
4. Which statements are correct?
5. In a temperature controller, which roles are correct?
6. What is a microcontroller?
7. Which may matter when designing an embedded system?
8. Which is a sound justification?

EXPLAIN AND COMPARE

Write your answers before revealing each sample.

1. Define an embedded system.

2. Compare an embedded system with a general-purpose computer.

3. Describe how a vending-machine controller uses input, processing and output.

4. Explain why a washing machine can have several programmes and still be embedded.

5. Explain why reliability and timing can matter for a car’s braking controller.

6. Evaluate the claim that every embedded system needs internet access.

APPLY IT | DESIGN A LIGHTING CONTROLLER

A room light should switch on when someone is present and the room is dark. Identify possible inputs, the processing rule and the output. Explain why the controller is embedded.

Reveal suggested answer

Inputs: occupancy and light-level readings. Processing: check whether presence is detected and light is below a threshold. Output: request the light to switch on. The controller is integrated into the lighting system and serves its dedicated lighting function.

Flashcards

Flashcards

Click to flip. Select the ideas you need to revisit.

0 cards selected for revision.

    Selections are kept while this page is open.

    Workbook

    Workbook

    COMING SOON

    The workbook for 3.1.5 Embedded Systems is coming soon. Complete the matching task and written questions in your exercise book.