AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Control systems and software

Week 26 · Unit 11: Be a robot controller · 3 lessons
1

Input, process, output

Computing 4: Unit 11, pp. 152–167
GoalDescribe a control system as an input, a process and an output, and find control systems at home, in factories, in robots and in vehicles.
New words
control system · a system that uses input, a processor and output to control a machineinput device · a part that records data or takes a signal into the systemprocessor · the part that uses the data to decide what to dooutput device · a part that does the job, such as a motor, a lamp or a speaker
Explanation

Many machines have a computer inside that controls them. A control system has three parts. An input device records data, such as a button press or a measurement. The processor uses the data and decides what to do. An output device does the job, for example a motor that turns, a lamp that lights or a speaker that beeps. Control systems are found in homes, in factories, in robots and in vehicles. A control system often repeats the three steps again and again, many times a second, so the machine reacts quickly.

Worked examples
An automatic shop door. The input device is a motion sensor that notices a person coming near. The processor decides that someone wants to enter. The output device is a motor that slides the door open. When nobody is near any more, the processor tells the motor to close the door.
ReadingRule usedWindow
30above 28opens
26between 24 and 28stays as it is
23below 24closes
25between 24 and 28stays as it is
A greenhouse window. A temperature sensor reads the air every minute. The processor follows two rules: open the window when the temperature is above 28 degrees and close it when it is below 24 degrees. In between, the window stays as it is. A motor does the opening and closing.
PlaceMachineInputOutput
homegarden sprinklersoil moisture sensorwater valve opens
factoryconveyor beltsensor sees a box at the endbelt motor stops
robottoy floor robotbump sensor touches a wallwheels stop and turn
vehicleparking aiddistance sensorbeeps get faster
Control systems work in many places. In every row the sensor is the input, the processor decides and something moves, lights up or beeps as the output.
Class activity

Be a control system (with family or friends): you need three people and a paper door that can be pushed open and shut. Person 1 is the input device and calls out “person!” whenever somebody walks near the door. Person 2 is the processor and decides: if the input says “person!”, shout “open!”, otherwise shout “close!”. Person 3 is the output device and moves the paper door. Test it with different people walking past. What happens if the input is too slow? Then make a night light in the same way: the input says “dark” or “light”.

Practice
1
An automatic tap gives water when your hands are under it. Name the input, the process and the output.
2
Which of these probably has no computer control system: an automatic door, a skipping rope, a lamp that switches on at dusk, a freezer that beeps when its door is left open?
automatic doorskipping ropedusk lampfreezer alarm
3
An automatic night light has a light sensor. Fill in the three parts.
PartNight light
input?
process?
output?
4
A greenhouse window opens when the temperature goes above 30 and closes when it goes below 26. It starts closed. The readings are 28, 31, 29, 27, 25, 28. What is the window doing after each reading?
Reading283129272528
Window??????