Study Guide
Automated Systems
How sensors, a microprocessor and actuators work together in a repeating loop to run a task without a person, and how to judge whether automating a task is a good idea in industry, transport, agriculture, weather, gaming, lighting and science.
Lesson 3.11 Computer Systems
For: Cambridge IGCSE Computer Science learners
Stage: Think
A greenhouse nobody is watching
A school (a made-up one) has a greenhouse where pupils grow tomatoes. On a hot summer weekend nobody is at school, and the greenhouse can get hot enough to kill the plants.
Think it through
Imagine the greenhouse had to protect the plants by itself. List the jobs it would have to do, in order, and say which would need a measuring device, which would need a decision, and which would need something to move.
- Hint 1: How would it know that it was too hot?
- Hint 2: What would it do about it, and what happens next?
Show what happens
It would have to measure the temperature, decide whether it is too hot, and then do something about it, such as opening a vent or switching on a fan. And because the temperature changes, it would have to keep doing this, checking again to see whether the action had worked.
An automated system is one in which sensors, a microprocessor and actuators work together so that a task is carried out with little or no help from a person. The three parts do the three jobs you listed:
- Sense. A sensor measures something in the surroundings, such as the temperature, and sends the reading to the microprocessor. (Many sensors give a smoothly varying signal, which an analogue-to-digital converter turns into digital data first, as in Lesson 5.)
- Process. The microprocessor runs a stored program. It compares the reading with values it has been given, such as “too hot is above 28 °C”, and decides what to do.
- Act. The microprocessor sends a signal to an actuator, which turns it into physical movement, such as a motor that opens a vent.
Then it repeats: the vent changes the temperature, the sensor measures the new temperature, and the loop starts again.
The loop never stops while the system is switched on. The numbers are invented.
Temperature sensor
Step 1 of 6: Sense
The sensor measures the air temperature in the greenhouse and sends the reading on.
Analogue-to-digital converter
Step 2 of 6: Convert
The reading is turned into digital data, say 31 °C, so that the microprocessor can use it.
Microprocessor
Step 3 of 6: Compare
The program compares 31 °C with the stored limit of 28 °C.
Microprocessor
Step 4 of 6: Decide
31 is above 28, so the vent must be opened. The microprocessor sends a signal to the actuator.
Actuator
Step 5 of 6: Act
A motor opens the vent. Cooler air comes in.
Temperature sensor
Step 6 of 6: Sense again
The sensor measures the new temperature, and the loop starts again. When it falls below the limit, the program tells the motor to close the vent.
Check your understanding
Show the answer
Answer: C. The microprocessor, which compares the reading with the stored limit and sends a signal.
Sensor measures; microprocessor decides; actuator acts.
Stage: Explain
Which part does which job?
Do not confuse: The three parts of an automated system
- Which part?Sensor
- An input device that measures a physical property and sends the readings in.A temperature, light or proximity sensor.
- Which part?Microprocessor
- Runs the stored program: it compares the readings with its values and decides what should happen.The chip that works out the vent must open.
- Which part?Actuator
- An output device that turns the microprocessor’s signal into physical movement.A motor, a valve or a lock.
A street light switches itself on at dusk and off at dawn. Which part is which?
- Start with what has to be known. The light must know whether it is dark. Something has to measure that: a light sensor.
- Ask what makes the decision. A program must compare the reading with a stored value, say “dark is below 20”, and decide whether the lamp should be on. That is the microprocessor’s job.
- Ask what has to move or change. Something must switch the lamp on and off when the microprocessor sends its signal: a switch that the signal controls, which acts as the actuator.
- Check that it repeats. The sensor goes on measuring all night, so the microprocessor can switch the lamp off again when the light returns.
Each part has one job, and all three are needed.
| Description | Part |
|---|---|
| Measures the amount of moisture in the soil | |
| Compares the reading with the stored limit and decides to switch on a pump | |
| A motor that turns a valve open when it receives the signal | |
| Detects that a person is standing at an automatic door | |
| Runs the stored program that controls the whole system | |
| The lock that slides open when the correct card is read |
- Sensor: measures and sends. Microprocessor: compares and decides. Actuator: moves.
Show the completed table
| Description | Part |
|---|---|
| Measures the amount of moisture in the soil | sensor |
| Compares the reading with the stored limit and decides to switch on a pump | microprocessor |
| A motor that turns a valve open when it receives the signal | actuator |
| Detects that a person is standing at an automatic door | sensor |
| Runs the stored program that controls the whole system | microprocessor |
| The lock that slides open when the correct card is read | actuator |
Check your understanding
Show the answer
Answer: B. A heater with a thermostat that switches itself on when the room gets too cold.
An automated system senses, decides and acts by itself.
An automated system is not clever or aware of anything. It only follows the stored program, and only responds to the situations that its sensors can measure and that its program covers. People still decide what the limits are, install it and look after it.
Stage: Predict
Industry: the bottling line
A factory (made up for this lesson) fills 6,000 bottles of water an hour. In an automated line, a sensor detects each bottle arriving under a nozzle, the microprocessor opens a valve, a second sensor detects when the bottle is full, and the microprocessor closes the valve and starts the conveyor again.
Think it through
Compare this with a team of people filling the bottles. Give two things the automated line could do better, and two things that could go wrong or be a disadvantage.
- Hint 1: Think about a night shift, tiredness, speed and the cost of setting it up.
- Hint 2: What would happen to the whole factory if the line stopped?
Show what happens
Better: it can run all day and night without getting tired or taking breaks, and it fills every bottle to the same level, quickly. Worse: it is expensive to buy, install and maintain, and if the line breaks down everything stops until it is mended. It also needs fewer workers, which can mean jobs are lost.
Apply it
Show the answer
Answer: B. Do not buy it yet: at 100 loaves a day the saving is small next to the cost, and a breakdown could stop all the baking.
Weigh the advantages against the cost and scale of the business.
Stage: Predict
Transport: the driverless shuttle
An airport (made up) runs shuttle trains with no driver. Sensors detect obstacles on the track, whether the doors are clear, and the train’s position and speed. A microprocessor controls the motors, brakes and doors. A control room has staff who can see the whole line.
Think it through
A person has fallen on to the track ahead of a train. What must the system be able to do? And what could go wrong if the sensor that looks ahead has failed?
- Hint 1: Which part detects, and which part stops the train?
- Hint 2: Would the microprocessor know the sensor was broken?
Show what happens
The sensor must detect the person, the microprocessor must decide to stop, and the brakes (actuators) must act, all faster than a person could. But if the sensor has failed, the microprocessor has no way of knowing what is ahead: it only works with the readings it is given, and it can only react to situations its program covers.
Apply it
Show the answer
Answer: A. Automation removes tiredness and distraction, but a faulty sensor or an unplanned situation can still cause harm, so backups are needed.
Keep the advantage, and name the remaining risk.
Stage: Predict
Agriculture and weather: places and times nobody wants to be
A farm in a dry region (made up) waters its fields by a system with moisture sensors in the soil, a microprocessor and valves, so that a field is only watered when its soil is dry. In the hills above, an automatic weather station measures temperature, pressure, humidity and wind speed every ten minutes, day and night, and sends the readings by radio. Nobody lives there.
Think it through
What do these two systems do that a farmworker with a timetable, or a person living on the hill, could not easily do? And what would go wrong if a moisture sensor broke, or if ice covered the weather station’s temperature sensor?
- Hint 1: Think about the water, the hours and the places.
- Hint 2: Would the microprocessor notice that a reading was nonsense?
Show what happens
They work at any hour, in every field at once and in a place where nobody wants to be, and the irrigation waters only when needed, which saves water. But the microprocessor trusts its readings. A broken moisture sensor that always says “dry” could flood a field, or one that says “wet” could let the crop die, and an iced-over sensor would send wrong readings for days. Both systems also need power and regular checks by a person.
Apply it
Show the answer
Answer: A. Use readings from several sensors in each field, and have a person check the fields regularly.
A wrong reading is a sensor problem, so check the sensor.
Apply it
Show the answer
Answer: C. It takes a reading every ten minutes, at all hours, in a place that is hard to reach.
Continuous readings in remote places.
Stage: Discover
Gaming, lighting and science
Three more systems (made up). A game controller swung like a tennis racket contains an accelerometer, a microprocessor and a vibration motor. A school corridor’s lights switch on when a movement sensor detects someone, and off when nothing has moved for two minutes. A research team puts temperature and gas sensors around the crater of a volcano, which send a reading by radio every minute for a year.
Think it through
For each of the three, name one clear benefit of automating it, and one situation in which it might not do what is wanted.
- Hint 1: Think about what a person would have to do without it.
- Hint 2: Think about what the sensor cannot tell: for example, a person who sits very still.
Show what happens
Controller: the player can use natural movements, and the vibration makes the game feel more real, but it may misread a movement, and it costs more than a plain controller. Corridor lights: they use less electricity and nobody needs to remember the switch, but they may go out on someone who is sitting still, or stay on for a cat. Volcano: the team gets frequent, precise readings without anyone entering a dangerous place, but the sensors only record what they are made to measure, and may be damaged by the conditions, so nothing unexpected is noticed.
Apply it
Show the answer
Answer: B. It saves electricity, but a stairwell is a safety risk: if the sensor misses someone they are in the dark, so a manual override is wise.
Ask what happens when the system gets it wrong, in this place.
Apply it
Show the answer
Answer: A. An automated system only reacts to what it was built and programmed for, so people are still needed to notice the unexpected.
It cannot notice what it is not built to sense.
Apply it
Show the answer
Answer: A. Natural arm movements replace buttons, which may be easier, though it needs space and can misread some movements.
Movement instead of buttons: a benefit, with a limit.
Stage: Apply
Make a judgement
A hospital wants to know whether to automate the delivery of medicines to wards. Here is one way to reach a judgement.
- Say what the system would do. Sensors detect the route and the right ward, a microprocessor plans the route, and motors move a trolley.
- List what it does better, for this case. It works at night and is not tired, and it makes the same journey the same way each time.
- List what could go wrong, for this case. If it stops, medicines may not arrive, and it cannot cope with a blocked corridor unless it has been programmed to.
- Weigh the two, using the facts of the scenario. Medicines are urgent, so a failure is serious, which makes backups and staff checks important.
- Give a conclusion with a condition. Automate it, provided that staff can take over quickly if it stops.
A judgement uses the facts of this scenario, not a list that would fit any scenario.
Apply it
Show the answer
Answer: B. It ignores the set-up cost, the jobs affected and what happens when the system fails, which differ between scenarios.
A fair judgement uses the facts of the scenario.
Think it through
A school wants to make its swimming pool automated: sensors measure the water temperature and chemicals, and a microprocessor adjusts the heating and the chemical pumps. Write a judgement on whether it is a good idea. Give one advantage, one disadvantage, and a conclusion that depends on the facts.
Show a model answer
A good answer uses the scenario and ends with a condition. For example: “The system would test the water all day and adjust it as soon as it drifts, which is more consistent than a person testing now and then, and it works when nobody is there. But the chemicals are dangerous if a sensor is wrong, because a faulty reading could add too much, and the system is expensive to install. I would use it, provided there is a second sensor to cross-check readings, an alarm if the readings go outside safe limits, and a trained member of staff who checks the pool each day.”
Stage: Consolidate
Show what you know
Think it through
Choose an automated system you have met in this lesson, or one of your own. Explain how its sensor, microprocessor and actuator work together, and say one advantage and one disadvantage of automating it.
Show a model answer
A good answer names all three parts and follows the loop. For example: “In the greenhouse, a temperature sensor measures the air, and the microprocessor compares the reading with the limit of 28 °C. If it is higher, it sends a signal to an actuator, a motor that opens the vent. The sensor then measures again and the loop repeats. An advantage is that the plants are protected at a weekend when nobody is there. A disadvantage is that if the sensor is wrong the microprocessor cannot tell, so the vent may not open when it should.”
Check your understanding
Show the answer
Answer: D. The sensor measures, the microprocessor decides, the actuator acts, and then the sensor measures again.
Sense, process, act, and repeat.
- An automated system uses sensors, a microprocessor and actuators to do a task with little or no help from a person.
- The loop is: the sensor measures (sense), the microprocessor compares and decides (process), the actuator acts, and it repeats.
- Advantages seen in the scenarios: it works at any hour without tiredness, is consistent, is fast, can work where people cannot or would not want to be, and can save resources such as water or electricity.
- Disadvantages seen: it costs to set up and maintain, a failure can stop everything or cause harm, it cannot cope with what it has not been built or programmed for, jobs may be affected, and a wrong sensor reading is trusted.
- A good judgement uses the facts of the scenario: it weighs what is gained against what could go wrong there, and gives a conclusion with a condition.
Sources and scope
- What this lesson is. The eleventh lesson of the Computer Systems module, written for this site. It teaches Cambridge IGCSE Computer Science (0478) point 6.1 (2026 to 2028, version 6): automated systems, and their advantages and disadvantages in given scenarios. Its curriculum links are provisional and imply no endorsement by any examination board. It has not been approved by the site owner.
- Original material. The school greenhouse, the bottling factory, the bakery, the airport shuttle, the farm and weather station, the controller, the corridor lights, the volcano research team, the hospital and the swimming pool are fictional and were written for this lesson, as are the numbers.
- Simplified on purpose. Real control systems work from several sensors and carefully tested programs, and use feedback in more careful ways. The statement that a system “cannot cope with what it was not programmed for” is true of the systems in this course; modern systems that learn from data are part of artificial intelligence, which is taught separately. The scenarios are single examples, and a different example of each area could have different advantages and disadvantages.
An output device that turns a signal from a computer into physical movement, such as a motor that opens a vent.
Computer systems designed to do tasks that would normally need human reasoning, such as recognising, predicting, deciding or producing content.
A system in which sensors, a microprocessor and actuators work together so that it carries out a task with little or no help from a person.
A CPU built as a single integrated circuit, that is, all on one small chip.
An input device that measures a physical property of its surroundings, such as temperature or light, and sends the readings to a computer as data.
A setting that changes how adventurous a model’s choice of the next token is: low means it nearly always picks the most likely token, high spreads its choices.
Your progress on this lesson
Saved in this browser only. It is not sent anywhere, does not follow you to another device, and is lost if you clear this site’s data.
This browser is not allowing the site to save progress, so it will be forgotten when you leave the page.