/en-tutor-prep-igcse-cs-automated-systems-sensors-actuators/
/en-tutor-prep-igcse-cs-automated-systems-sensors-actuators/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

IGCSE Computer Science: Automated Systems — Tutor Prep Guide

IGCSE Computer Science: Automated Systems — Tutor Prep Guide

  • 2026-11-27

Students can say the word automatic but cannot say who reads, who decides and who acts, nor what the system does when a sensor fails. This chapter uses one greenhouse on a 500 millisecond cycle to tie the three parts, the timing budget and the failure cases to one timeline.

Objectives — Students can: (1) state what a sensor, a microprocessor and an actuator each do, with three examples of each; (2) describe the closed loop as read, compare, act, read again, and write two IF THEN rules; (3) use a 500 millisecond cycle and a 357 millisecond delay to get 172,800 samples a day with 143 milliseconds to spare; (4) choose a suitable sensor and actuator for a given scenario; (5) give three advantages and three disadvantages, and say how the system misbehaves when a sensor fails.

01 Prerequisites (3-minute check)

If any of these fails, fix it before the lesson starts.

Skill Quick check Pass mark
Input and output Which is input and which is output, a keyboard or a motor? A keyboard is input, a motor is output
Values and thresholds What two parts does the sentence switch off above 25 contain? A reading and a threshold, compared
Unit conversion How many seconds is 500 milliseconds, and how many such slots in a day? 0.5 seconds and 172,800 slots

02 Lesson flow (60 minutes)

Time Stage Tutor does Student does
0-8 min Three parts Ask how an air conditioner knows to start A sensor, a processor and an actuator
8-18 min Sensors and the ADC Use 10 bits over 0 to 50 degrees for resolution 0.049 degrees per step
18-30 min Closed loop timing Split a 500 millisecond cycle into four delays 357 milliseconds used, 143 spare
30-40 min Seven scenarios Ask what is read and what moves, for each A sensor and actuator pair per scenario
40-50 min Numbers Energy saved, throughput, average speed 45.8 per cent saved, 7.5 times faster
50-60 min Advantages and failure Ask what happens if the sensor reads zero The heater stays on, which is the danger

03 Teaching script (read it out)

Scene 1: Three parts – read the world, decide, change the world

An automated system is three parts working together, and none works alone. A sensor is an input device that measures a physical quantity and turns it into an electrical signal: temperature, humidity, light, pressure, movement, acidity. Its output is usually analogue, a continuously changing voltage, which a microprocessor cannot read directly, so an analogue to digital converter sits in between and cuts the voltage into whole steps.
The microprocessor decides, and it does only three things: read a value, compare it with a target or threshold written into the program, and send an output signal. It does not know what comfortable means, only that above 25 the heater goes off. Put that into rules: IF temperature above 25 THEN heater = OFF and IF temperature below 23 THEN heater = ON. The two degree gap stops the heater switching on and off around a single threshold, and that gap is called hysteresis.
An actuator is an output device that turns the signal into physical action: a motor turns, a valve opens, a pump pushes, a lamp lights, a buzzer sounds. To drive an analogue device such as a dimmer, the output passes through a digital to analogue converter. Say the division once and hold it: the sensor reads the world, the microprocessor decides, the actuator changes the world. Every scenario after that is only a change of names.

Scenario What the sensor reads What the actuator does
Industry Infra-red for part position, pressure for grip force Robot arm motors, conveyor
Transport Induction loops and plate cameras time the run Variable message signs, gantry cameras
Agriculture Soil moisture sensor, rain gauge Irrigation pump, water valve
Weather Temperature, humidity, wind speed, pressure sensors Heater, dehumidifier, alarm
Gaming Accelerometer, gyroscope, pressure sensor Vibration motor, screen, speaker
Lighting Light dependent resistor, passive infra-red movement sensor Lamps and dimmer
Science pH electrode, thermocouple, turbidity sensor Hotplate, stirrer, sampling pump

Students describe an air conditioner in the three words read, compare, act, and name the part behind each.

Scene 2: The closed loop – 500 milliseconds in a greenhouse

A closed loop means reading again after acting, to see whether the action worked. An open loop acts once and never checks, so it cannot correct a drift. This greenhouse runs every 500 milliseconds: read temperature, convert, compare, drive.
Add the delays and see whether the cycle is long enough. The sensor responds in 50 milliseconds, the ADC takes 2, the microprocessor 5 and the heater or fan 300, which is 357 milliseconds in total, 71.4 per cent of the cycle, leaving 143 milliseconds. Shorten the cycle to 300 milliseconds and the loop cannot keep up, so readings queue and the system reacts two or three cycles late.
Resolution needs a sum too. A 10 bit ADC has 1,024 steps, so over 0 to 50 degrees each step is 50 divided by 1,024, which is 0.049 degrees. The target is 24 degrees with a tolerance of plus or minus 1, so the band is 23 to 25, and 0.049 is far finer than the band. Use only 6 bits, 64 steps, and each step is 0.78 degrees, still workable, but not enough to hold within 0.1 degrees.
How often in a day? 86,400,000 milliseconds divided by 500 gives 172,800 runs, and with three sensors that is 518,400 readings. That volume is the reason an automated system needs storage and filtering, because no person can watch it.

Students answer why a second reading is what makes the loop closed, mentioning that otherwise nobody knows whether the actuator worked.

Scene 3: Seven scenarios and the trade-off – when automation pays

Walk the seven scenarios with three questions each: what is read, what reads it, what moves. Industry is the classic: an infra-red sensor detects a part in position, a robot arm grips it, and a pressure sensor confirms the grip before the arm moves. A person handles 40 parts a minute and the machine 300, which is 7.5 times faster, so an eight hour shift is 19,200 against 144,000 (demonstration figures). Transport uses average speed cameras: over 2 kilometres at a 90 kilometre per hour limit the shortest legal time is 80 seconds, and 72 seconds means the average was too high, which is harder to dodge than one fixed camera.
Agriculture watches the soil: below 30 per cent moisture the pump runs 45 seconds, 3 times a day, 135 seconds in all, steadier than hand watering. A weather station samples once a minute with 5 sensors, so 1,440 samples and 7,200 readings a day. Gaming reads an accelerometer and a gyroscope for gestures, and at 60 frames per second each frame is 16.67 milliseconds; with 8 milliseconds for input, the picture has 8.67 milliseconds.
Lighting is the easiest sum: 10 lamps at 40 watts for 12 hours is 4.8 kilowatt hours, while a light dependent resistor and a movement sensor cut it to 6.5 hours and 2.6, a saving of 2.2, which is 45.8 per cent. Science is about continuity and precision: 24 hours at one point every 10 seconds is 8,640 points, and 8 channels make 69,120 values, which no person records overnight without a miss.
Five advantages: consistency, operation around the clock, access to dangerous or cramped places, speed, and fewer staff over time. Five disadvantages: high setup and programming cost, regular calibration (a drift of 0.5 degrees a year needs rechecking), a failed sensor driving the system the wrong way, no flexibility when something unforeseen happens, and no power means no system. Put a number on reliability: 99.9 per cent availability sounds excellent but is 8.76 hours down a year, which a hospital oxygen supply or a cold store cannot accept without a fallback.

Students pick one scenario, give two advantages and one disadvantage, and name the exact consequence of one sensor failing.

04 Question types and worked steps

Type Example Steps Answer
Component roles How does an air conditioner know to start? Sensor, microprocessor, actuator in order, one sentence each A temperature sensor reads the room, the processor compares with the target, the compressor motor acts
Write rules Switch on the dehumidifier above 60 per cent Write IF value > threshold THEN actuator = ON, plus a release rule IF humidity > 60 THEN dehumidifier = ON; below 55, OFF
Timing and resolution 10 bit ADC over 0 to 50 degrees Range divided by steps, then compare with the tolerance 0.049 degrees per step, far finer than 1 degrees
Trade-off A factory replaces two workers with a robot arm Two advantages, one disadvantage and one condition Consistency and 24 hour running; the cost and the skills needed
Sanity check (teach this): Rationality checks: (1) a sensor is input and an actuator is output, never the other way round; (2) the microprocessor does not know the target by itself, the target is a constant in the program; (3) automatic is not intelligent, a threshold system repeats itself when it meets something new; (4) assume a failed sensor reads zero or maximum, so add a range check, a fallback and manual override; (5) compare energy on the same basis, 12 hours against 6.5, not a long run against a short one; (6) 99.9 per cent availability is still 8.76 hours down a year, not zero.

05 Independent practice (3 questions)

Question Answer What to watch
A 10 bit ADC spans 0 to 50 degrees. How much is one step? 0.049 degrees, 50 divided by 1,024 Check whether they divided by steps rather than by bits
10 lamps at 40 watts move from 12 hours to 6.5 hours on sensor control. What percentage is saved? 2.2 kilowatt hours, which is 45.8 per cent Check whether they found both amounts before subtracting
A 500 millisecond cycle with 3 sensors, how many readings a day? 518,400, that is 172,800 runs times 3 Check whether they multiplied by the number of sensors

06 Common mistakes and what to say

Mistake Student writes Say this
Treating a sensor as an actuator The motor senses when someone arrives A motor does not sense, it moves; the sensor reads the world and the actuator changes it.
Assuming the system thinks The computer knows 24 degrees is comfortable 24 is the target we wrote into the program; the computer only compares.
Forgetting feedback Once the heater is on the job is done Read again afterwards, otherwise nobody knows whether it worked, and that is the closed loop.
Listing only advantages Automation is always better and cheaper Name the setup cost, the calibration, the failures and the power cut; a hospital cannot rely on it alone.

07 Homework (paper, section and question numbers)

08 Exit check (last 5 minutes)

Question Answer Decision
Three parts Sensor reads, microprocessor decides, actuator acts Cannot say it, return to act one
Closed loop in one line Act, then read again to see whether it worked Cannot say it, return to act two
One disadvantage A failed sensor drives the system the wrong way Cannot say it, return to the end of act three

09 Tutor FAQ

Why is an ADC needed, why not read the voltage directly?

A microprocessor is digital and handles only zeros and ones. A sensor output is a continuously changing voltage, so the ADC cuts it into fixed steps and the processor reads a whole number. More steps means finer resolution: 10 bits give 1,024 steps, so 50 degrees becomes 0.049 degrees a step.

Does a failed sensor not make the system more dangerous?

Yes, so design assumes failure. Three layers help: a range check that flags readings outside what is physically possible, a backup sensor or manual takeover, and a fail-safe state such as cutting power to the heater rather than leaving it on. Regular calibration exists to stop drift pushing the system off target for months.

How is an automated system different from artificial intelligence?

An automated system follows rules written by a person, so above 25 means off, and it does not adapt to something new. Artificial intelligence simulates intelligent behaviour, can reason, and can adapt from data. They can be combined, but the exam wants them separated, and not every automatic system is AI.

Find a tutor — freeTutor Registration →

A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →