Skip to the page
Year 11 · Computer Science · Autumn 2 – mid-December · Automated and emerging technologies; Paper 1 practice

Automated systems

PracticalPresent ▶

What this lesson covers

6.1 Automated systems

Cambridge IGCSE Computer Science 0478 · Topic 6: Automated and emerging technologies · Paper 1

You will learn to

  • Explain how sensors, a microprocessor and actuators work together in an automated system.
  • Describe the control loop of the temperature build, step by step.
  • Evaluate automated systems in industry, transport, agriculture, weather, gaming, lighting and science.

Success criteria

  • I can say which part of our build is the sensor, the microprocessor and the actuator.
  • I can describe the loop: read, convert to digital, compare with a stored value, act, repeat.
  • I can give one advantage and one disadvantage for each of the seven scenarios.
The syllabus points for this section
  • Explain how sensors, a microprocessor and actuators work together in an automated system.
  • Describe the control loop for a given scenario, step by step.
  • Give advantages and disadvantages of automated systems in industry, transport, agriculture, weather, gaming, lighting and science.

Key words

Say each word, then read what it means. Every one is in the glossary too.

Automated system
Hardware and software that do a task without a person controlling them.
Sensor
An input device that measures a physical quantity, such as temperature or light.
Microprocessor
A processor on a single chip that processes data and makes decisions.
Actuator
An output device that causes movement or switches something, such as a motor, valve or heater.
Set value
The target value stored in the system that sensor readings are compared with.
ADC
Analogue-to-digital converter: changes an analogue sensor signal into digital data.
Robot
A programmable machine with a mechanical structure, sensors, microprocessors and actuators.

The explanation

Read it here, or open the study page below to go one step at a time with things to try.

The three parts of an automated system

An automated system is a mix of hardware and software that does a job without a person controlling it.

A sensor is an input device that measures something physical, such as temperature or light, and sends the reading as data.

A microprocessor is the processor on a single chip. It compares the sensor reading with a stored set value (the target) and decides what to do.

An actuator is an output device that makes something move or switch, such as a motor, a valve, a heater or a pump.

PartJobExamples
SensorMeasures and inputs dataTemperature, light, moisture, pressure, infra-red, pH
MicroprocessorCompares the data with the set value and decidesThe chip inside a thermostat or a car
ActuatorCarries out the actionMotor opening a window, valve releasing water, heater, pump
?Why?

Most sensors give an analogue signal (a smooth range of values). A microprocessor only works with digital data, so an analogue-to-digital converter (ADC) changes the reading first. Some actuators need a DAC to turn the output back into analogue.

!Watch out

A sensor does not decide anything. It only measures. The microprocessor makes the decision.

The control loop, step by step

An automated system runs a loop. It keeps checking and correcting, all day, without stopping.

Use the greenhouse toy. Drag the temperature reading, or change the set values (heater on below, window opens above). Press Run one loop and watch the microprocessor compare them and switch the actuators on or off.

To match the example below, set Window opens above to 24 and drag the temperature to 27.

In the exam, write the steps in this order: sensor reads, ADC converts, microprocessor compares with the set value, actuator acts, the loop repeats.

e.g.Example
Greenhouse with a set temperature of 24 °C. 1. The temperature sensor measures the air: 27 °C. 2. The reading is converted from analogue to digital by an ADC. 3. The microprocessor compares 27 with the set value of 24. 4. 27 is higher than 24, so it sends a signal to the actuator. 5. A motor opens the window (and the heater is switched off). 6. The system loops back to step 1 and keeps checking. 7. When the reading falls to 24 °C, the microprocessor closes the window.
?Why?

The loop is what makes the system automatic. Every new reading can change the action, so the conditions stay close to the target.

!Watch out

Do not write "the sensor opens the window" or "the sensor decides it is too hot". Sensors only send readings.

There is something to try for this step in the IGCSE library.

Scenarios: industry and transport

In industry, automated systems control production lines, chemical plants and power stations.

In transport, they control trains, traffic lights and parts of cars, and they are the basis of self-driving vehicles.

ScenarioHow it worksAdvantagesDisadvantages
Industry: chemical plantTemperature and pressure sensors feed a microprocessor; it opens valves and controls pumps to keep a reaction safeWorks 24/7; faster and more consistent; safer for workers in dangerous placesExpensive to set up; job losses; a fault can stop all production
Transport: driverless metro train (for example Barcelona Metro Line 9)Sensors detect the train's position and speed, and obstacles on the track; the microprocessor controls the motors, brakes and doorsTrains run closer together and on time; no human error from tiredness; lower running costsVery costly to build; risk of hacking; passengers may feel unsafe with no driver
Transport: self-driving carCameras, radar and lidar sensors feed microprocessors that control steering, brakes and acceleratorCan react faster than a human; may reduce accidentsExpensive; software errors can cause crashes; who is to blame after an accident is unclear

Scenarios: agriculture and weather

In agriculture, automated systems water crops, feed animals and control greenhouses.

In weather monitoring, automated stations take readings day and night in remote places.

ScenarioHow it worksAdvantagesDisadvantages
Agriculture: automatic irrigationMoisture sensors in the soil; if the reading is below the set value, the microprocessor opens a valve or starts a pumpSaves water; crops get exactly what they need; less labourSet-up cost; sensors can fail or be damaged; needs power and maintenance
Agriculture: milking or feeding robotsSensors identify each cow and measure milk flow; actuators attach equipment and give the right feedAnimals can be milked when they choose; data on each animal's healthVery expensive; farmers need technical skills to fix faults
Weather stationTemperature, humidity, pressure, light and wind sensors take readings at set times; data is sent to a central computerWorks 24/7 in remote or dangerous places; many accurate readings; better forecastsEquipment can be damaged by storms; needs a power supply and a data connection

Scenarios: gaming, lighting and science

In gaming, sensors in controllers and headsets turn movement into actions in the game.

In lighting, light and infra-red sensors switch lights on and off by themselves.

In science, automated systems run experiments and take readings for long periods.

ScenarioHow it worksAdvantagesDisadvantages
Gaming: VR headset or motion controllerAccelerometers and gyroscopes sense movement; the microprocessor updates the game; actuators make the controller vibrate (haptic feedback)More realistic, immersive experience; encourages movementExpensive; motion sickness; sensors may lose accuracy
Lighting: street lights or a school corridorA light sensor detects darkness, or an infra-red sensor detects movement; the microprocessor switches the lights on, and off after a set timeSaves electricity and money; better safety at nightLights may switch off while someone is still there; sensor faults leave areas dark
Science: lab experimentSensors (temperature, pH, gas) take readings at set intervals for days; the microprocessor logs data and controls heaters or pumpsReadings are more accurate and taken at exact times; works overnight; safe with dangerous chemicalsCostly equipment; an unnoticed fault ruins the whole experiment

Advantages and disadvantages in general

Many exam questions ask you to evaluate an automated system. Use these general points, but always link them to the scenario in the question.

AdvantagesDisadvantages
Faster than humans and can work 24/7 without breaksHigh cost to buy, install and maintain
More accurate and consistent: no tiredness or human errorCan lead to job losses for some workers
Safer: can work in dangerous places (heat, chemicals, remote areas)If it breaks, the whole process may stop; needs skilled technicians
Reduces waste of water, energy and materialsRisk of hacking or malware taking control
Lower running costs over time (fewer staff)Cannot deal with unexpected situations it was not programmed for
!Watch out

General answers such as "it is cheaper" score poorly. Say what is saved and why, for example "the irrigation system saves water because it only opens the valve when the soil is dry".

Study it

Open the study page and go one step at a time.

Build it

Check yourself

One question at a time. The reason shows after each answer.

Saved on this device.