Computer ScienceFoundation18 min read

Automated Systems and Robotics

Sensor, processor, actuator — and the comparison that makes it control rather than monitoring

This topic appears in:

01

The loop that every automated system is built from

An automated system combines sensors, a microprocessor and actuators to control a physical process without human intervention. Every example on the syllabus — heating, greenhouses, traffic lights, production lines — is the same four-stage loop with different components plugged in.

A sensor measures continuously. An analogue-to-digital converter turns that reading into a number. The microprocessor compares it with a stored preset value. If action is needed, it signals an actuator, which changes the physical quantity — and the sensor reads it again.

Step to Compare. That stage is what makes this a control system: the same sensor and processor without the comparison would be monitoring and recording, and nothing would ever be switched on.

Monitoring and control are different systems

A monitoring system measures and reports — a weather station, or a patient monitor that displays a heart rate. A control system measures and then acts to change what it measured. The difference is the actuator and the comparison that drives it, and exam questions distinguish the two deliberately.

02

Why feedback is what makes it work

The loop is closed: the action changes the quantity, and the sensor measures the changed quantity. That is feedback, and it is what allows the system to hold a value steady without anyone watching.

A heater that simply switched on for ten minutes whenever it was cold would overshoot on a mild day and undershoot on a freezing one. A system with feedback keeps checking, so it switches off at exactly the right moment regardless of conditions. The response is determined by the actual state rather than by an assumption about it.

ApplicationSensorActuator
Central heatingtemperatureboiler / valve
Greenhousemoisture, temperature, lightwater valve, heater, blinds
Automatic doorsinfrared / proximitymotor
Street lightinglightlamp switch
Anti-lock brakeswheel rotation speedbrake pressure valve
Production lineproximity, weight, camerarobot arm, conveyor motor
03

Robotics

A robot is an automated system with physical movement and, usually, some programmability. The syllabus identifies three characteristics: it has a mechanical structure, it has electrical components including sensors and actuators, and it contains a program that determines its behaviour.

Robots are used where a task is dull, dirty or dangerous — repetitive assembly, paint spraying, bomb disposal, work in reactors or deep water. They are also used where precision beyond human capability is needed, as in surgery or microchip manufacture.

  • Advantages: consistent quality with no fatigue; can work continuously; can operate in environments that would harm a person; higher precision; lower long-term cost.
  • Disadvantages: high initial cost; job displacement for existing workers; inflexible when the task changes; and they cannot handle an unfamiliar situation that was not anticipated in their programming.
Worked example

Describe how an automated greenhouse keeps the temperature at 24 °C.

  1. A temperature sensor takes continuous readings of the air inside.Continuous, not occasional — the system must respond to changes as they happen.
  2. An ADC converts each analogue reading into a digital value.The microprocessor cannot use the analogue signal directly.
  3. The microprocessor compares the value with the stored preset of 24 °C.This comparison is what makes it a control system.
  4. If the reading is below the preset, it signals the heater to switch on; if above, it opens the vents.Two actuators, chosen according to the direction of the difference.
  5. The temperature changes, the sensor reads it again, and the process repeats continuously.The feedback loop is what holds the value steady without supervision.

Sensor reads, ADC converts, processor compares with 24 °C, actuator heats or vents, and the loop repeats.

Before you leave this chapter

  1. Sensor → ADC → microprocessor → actuator, then back to the sensor.
  2. The comparison with a stored preset is what makes it control rather than monitoring.
  3. Monitoring reports; control acts. The actuator is the difference.
  4. Feedback means the action changes what the sensor measures, holding a value steady.
  5. Robots suit dull, dirty or dangerous work, and work needing precision beyond human ability.
04

Describing a system for full marks

Every question in this topic follows the same pattern: a situation is described and you must explain how the system works. Answers lose marks by describing the outcome rather than the mechanism.

The reliable structure is one sentence per stage, naming the component and what it does. Say what is measured, say that it is converted, say what it is compared with, say what acts, and say that the loop repeats.

Worked example

Explain how an automated system keeps a swimming pool at 28 °C.

  1. A temperature sensor in the water takes continuous readings.Name the sensor and say it measures continuously — occasional sampling would allow the temperature to drift between readings.
  2. An analogue-to-digital converter turns each reading into a digital value.A mark of its own, and the stage most often omitted.
  3. The microprocessor compares that value with the stored preset of 28 °C.Naming the preset explicitly is what shows this is a control system.
  4. If the reading is below the preset, it sends a signal to switch the heater on; if at or above, it switches it off.Both directions, so the system does not simply heat for ever.
  5. The water temperature changes, the sensor measures it again, and the cycle repeats indefinitely.Stating that the loop repeats is usually the final mark.

Sensor → ADC → processor compares with 28 °C → actuator heats or stops → sensor reads again.

Do not skip the converter

The ADC is the stage students leave out most often, because it does nothing visible. It is nearly always worth a mark, and its presence is the reason a sensor cannot simply be wired to a processor. Include it in every description of a system containing a sensor.

Practice questions

6 questions · 20 marks · full working on every one

Try each one on paper first, then open the working. The marks are shown where they are actually awarded, because that is where they are actually lost.

Short questions

3 · 6 marks

Two marks each, in the style of the short-question section of the paper. Answer in two or three lines.

SQ1[2 marks]
State the difference between a monitoring system and a control system.
Model answer

A monitoring system measures a quantity and reports or records it, taking no action. A control system also compares the reading with a preset value and acts through an actuator to change the quantity.

Examiner tip. The actuator is the difference. Naming it is the surest way to make the distinction clear.

SQ2[2 marks]
Why is an ADC required in an automated system?
Model answer

Sensors produce analogue readings that vary continuously, while a microprocessor can only work with digital values. The analogue-to-digital converter translates between the two.

Examiner tip. Name both signal types. "Because the computer needs numbers" is half the answer without saying what the sensor gives.

SQ3[2 marks]
Give two reasons for using robots in a car factory.
Model answer

They work continuously without fatigue, giving consistent quality on repetitive tasks, and they can operate in conditions hazardous to people such as paint spraying or welding.

Examiner tip. Consistency and safety are the two strongest. "They are faster" is weaker, since a skilled worker can be quick too.

Solved numericals

2 · 8 marks

Full working, one step per line, with the marks shown where they are awarded.

N1[4 marks]
Describe how an automatic street lighting system works, naming each component.
Full working
  1. A light sensor continuously measures the ambient brightness[1]
  2. An ADC converts the analogue reading into a digital value for the processor[1]
  3. The microprocessor compares the value with a stored preset brightness levelthe comparison is essential[1]
  4. If the reading falls below the preset it signals the actuator to switch the lamps on; the loop then repeats so they switch off again at dawn[1]

Light sensor, ADC, microprocessor comparing with a preset, and an actuator switching the lamps.

Examiner tip. Name all four components in order. Answers that jump from "the sensor detects darkness" to "the light comes on" skip the two stages carrying the marks.

N2[4 marks]
Explain what feedback means in an automated system and why it is necessary.
Full working
  1. The action taken by the actuator changes the physical quantity being measured[1]
  2. The sensor then measures that changed quantity, so the system responds to its own effect — a closed loop[1]
  3. Without feedback the system would act blindly, for example heating for a fixed time regardless of conditions[1]
  4. It would then overshoot on a mild day and undershoot on a cold one; feedback lets it stop at exactly the right moment whatever the conditionsthe example is what earns this mark[1]

The action changes what is measured, so the system responds to the actual state rather than an assumption.

Examiner tip. Give the concrete failure that feedback prevents. Describing the loop without saying what would go wrong is only half the answer.

Long questions

1 · 6 marks

Theory and numerical together, as they appear in the long-question section.

LQ1[6 marks]
A factory is replacing part of its assembly line with robots.
  1. Give two advantages and two disadvantages of this change.
  2. Explain why the robots still need sensors.
  3. Explain one situation the robots would handle worse than a human worker.
Mark scheme
  1. Advantage: consistent quality with no fatigue, and the ability to work continuously without breaks[1]
  2. Advantage: they can work safely in conditions hazardous to people, such as welding fumes or heavy lifting[1]
  3. Disadvantage: high initial purchase and installation cost, and skilled staff needed to program and maintain them[1]
  4. Disadvantage: existing workers lose their jobs, and retraining rarely reaches the same people[1]
  5. Sensors let the robot detect the position and presence of components, so it responds to what is actually there rather than assumingwithout them a misplaced part would be handled as though correctly positioned[1]
  6. An unfamiliar situation — a component of the wrong shape, or an obstruction — would be handled badly, because the robot follows a program covering only anticipated cases, whereas a person would notice something was wrong and stop[1]

(a) consistency and safety against cost and job losses (b) so it responds to actual positions rather than assumptions (c) anything unanticipated — a person notices and stops

Examiner tip. Part (c) is the strongest point available about automation generally: these systems handle the expected extremely well and the unexpected very badly.