Lesson 3 of 6
CIE 0478 only Lesson 3

Automated Systems

A central CIE topic. Automated systems use sensors, microprocessors and actuators in a continuous feedback loop, with no human in the loop most of the time.

Examined under Cambridge IGCSE 0478 syllabus point 7.1. Not required by OCR, AQA or Edexcel.

Modern greenhouses can produce a tomato crop with no humans setting foot inside for weeks. Sensors measure temperature, humidity and soil moisture every second; a microprocessor compares the readings to target values and decides whether to open vents, switch on heaters or trigger irrigation. The whole growing cycle is a giant feedback loop.

Automated system
A system that monitors and controls a process automatically, with little or no human input.
Sensor
A device that detects a physical quantity (temperature, light, motion, pressure) and converts it to a signal.
Actuator
A device that performs a physical action (motor, valve, heater, buzzer) in response to a control signal.
Microprocessor
The brain of the system. Reads sensor values, compares them to targets, decides what to do.
Feedback loop
The cycle: sense - process - act - sense again. The result of the action changes what the next sensor reading will be.
Analogue-to-digital converter
Converts continuous analogue sensor signals into the discrete digital values the microprocessor can process.

The sense-process-act loop

+--------+   reading   +----------------+   signal   +----------+
| sensor |------------>| microprocessor |----------->| actuator |
+--------+             +----------------+            +----------+
     ^                                                      |
     |               physical change in the world           |
     +------------------------------------------------------+

Each loop iteration: the sensor reads a value, the microprocessor compares it against a stored target, and an actuator either changes the environment or does nothing. The next reading then reflects the change. This is feedback.

Greenhouse temperature control

Target temperature: 22 degrees C
Loop (every 5 seconds):
  reading = read_sensor(temperature)
  IF reading > 24 THEN
      open_vents()
      switch_off(heater)
  ELSE IF reading < 20 THEN
      close_vents()
      switch_on(heater)
  ELSE
      do_nothing()
  ENDIF
ENDLOOP

The system never "finishes". It keeps looping for as long as it is powered, constantly sensing and responding.

Where automated systems are used

  • Transport: traffic lights, ABS braking, autopilot, level crossings.
  • Agriculture: automated irrigation, livestock feeders, climate-controlled greenhouses.
  • Manufacturing: robotic assembly lines, quality-control vision systems.
  • Domestic: central heating thermostats, washing machines, smart lighting.
  • Healthcare: insulin pumps, ventilators, automated drug dispensers.
Advantages and disadvantages

Advantages: faster reaction, runs 24/7, more consistent, safer in dangerous environments.
Disadvantages: high setup cost, sensor failure can cause harm, jobs displaced, cannot easily handle unforeseen situations.

Beyond the basics

A greenhouse temperature sensor develops a fault and starts reporting 15 degrees regardless of the real temperature. The control system does not know the sensor is broken. Describe what happens in the feedback loop, the consequences for the crop, and one design change that would help the system catch this kind of failure.
What happens: the loop reads 15 degrees forever, decides the greenhouse is too cold, switches the heater on and closes the vents - permanently. The actual temperature rises far above the target but no one notices because the sensor still reports 15.

Consequences: the crop overheats and may die; energy is wasted heating an already-hot greenhouse; humidity collapses, possibly damaging plants further.

Design fix: add a second, independent temperature sensor and have the microprocessor compare them. If they disagree by more than a small tolerance, the system raises an alert and stops actuating until a human checks. This is called sensor redundancy and is standard in safety-critical systems like aircraft and hospitals.

Sensors and the actions they trigger

SensorQuantity measuredTypical actuatorReal example
TemperatureHeat in degrees CHeater, fan, ventGreenhouse climate control
LightBrightness (lux)Lamp, blind motorStreet lights that turn on at dusk
MoistureWater content of soil or airIrrigation valveSmart-farm watering system
PressureForce per areaAlarm, motor, valveBurglar alarm pressure pad
Infra-redHeat or motionCamera, alarmAutomatic door at a supermarket
pHAcidity of a liquidDosing pumpSwimming-pool chemical balancer
"A sensor controls the system"

A sensor only reads a quantity. It does not decide anything. The microprocessor compares the sensor reading to a stored target and then sends a signal to an actuator (heater, motor, valve), which is what physically changes the environment. Saying "the sensor turns the heater on" loses marks; the sensor merely supplies the value the processor uses to decide.

A six-mark exam question with mark scheme

Question (CIE-style, 6 marks): Describe how an automated central-heating system uses sensors, a microprocessor and actuators to keep a house at 20°C.

Mark scheme - one mark per valid point, up to 6
  • A temperature sensor takes regular readings of the room temperature.
  • The analogue reading is converted to digital by an analogue-to-digital converter.
  • The digital value is sent to the microprocessor.
  • The microprocessor compares the reading to the stored target of 20°C.
  • If the temperature is below 20°C, the microprocessor sends a signal to the boiler (actuator) to turn on.
  • If the temperature is at or above 20°C, the microprocessor sends a signal to turn the boiler off.
  • The cycle repeats continuously without human intervention.

Beyond the basics

A homeowner sets the heating to 20°C but it keeps switching the boiler on and off every 30 seconds, wasting energy and wearing out the boiler. The sensor and processor are working perfectly. Suggest two design changes that would fix this without changing the target temperature.
1. Add a hysteresis band. Instead of switching at exactly 20°C, turn the boiler on at 19.5°C and off at 20.5°C. The system will cycle far less often because the temperature has to drift further before either threshold is crossed. This is exactly what real thermostats do.
2. Average several readings, or sample less often. If the sensor reading flickers because of a draught from a door, a single low reading triggers the boiler unnecessarily. Taking the mean of (say) the last six readings smooths out short spikes and stops the boiler reacting to noise.
Q1. Which component physically changes the environment in an automated system?
Actuators (motors, heaters, valves) carry out the physical action.
Q2. Why is an analogue-to-digital converter needed in many automated systems?
ADCs bridge the analogue world (sensors) and the digital world (microprocessor).
Q3. Give one disadvantage of replacing a human operator with an automated system.
Without a human checking, faulty sensor data can drive the actuator into a dangerous state.
CIE 0478 - Lesson 3
Automated Systems
Starter activity
Show a photo of a domestic central-heating thermostat alongside a photo of a modern automated greenhouse. Ask: "What is the same about how both systems work? What is different about scale and complexity?" Use the answers to draw out sense - process - act on the board before introducing the formal terms sensor, microprocessor and actuator.
Lesson objectives
1
Define an automated system and explain the role of sensors, microprocessors and actuators.
2
Describe a feedback loop and trace it through one full iteration of a worked example.
3
Explain why an analogue-to-digital converter is needed in many automated systems.
4
Give examples of automated systems in transport, agriculture, manufacturing, the home and healthcare.
5
Discuss advantages and disadvantages of replacing a human operator with an automated system.
Key vocabulary
automated systemsensoractuatormicroprocessorfeedback loopADCtarget valueanaloguedigitalcontrol signal
Discussion questions
Why does an automated system need a feedback loop rather than running once and stopping?
Pick one automated system in your home. What sensor, microprocessor and actuator does it use?
What goes wrong if a sensor fails silently? How can the system detect this?
Exit tickets
Name the three core components of an automated system and state the role of each. [3 marks]
Explain what a feedback loop is, using an example. [3 marks]
Give one advantage and one disadvantage of automating a manufacturing line. [2 marks]
Homework suggestion
Design an automated system for an aquarium. List the sensors, microprocessor decisions and actuators required to keep the temperature, pH and oxygen levels within safe ranges for tropical fish. Present your design as a labelled diagram with target values and a written description of one full feedback cycle.
Classroom tools