Automated systems
Some jobs need watching every second: keeping a greenhouse damp, or stopping a robot before it hits something. An automated system carries out a task without human intervention. In a control system, sensors, a microprocessor and actuators work together in a continuous loop.
Say what each part does in the loop.
Sensor
An input device: measures a physical property and sends the reading to the microprocessor.
Microprocessor
An integrated circuit on a single chip that does the job of a CPU: compares the reading with a stored value and decides what to do.
Actuator
An output device: a motor, valve or switch that carries out the physical action when it receives a signal.
A warehouse robot stops when an object is closer than 15 cm
Follow two readings round the loop, from the sensor to the brakes.
12 cm → send the stop signal; 15 cm or 18 cm → no new stop signal. Less than excludes the boundary value itself.
The microprocessor makes the same comparison for every reading. Check each one against the stored 15 cm, including 15 cm itself.
| Reading d | 12 cm | 15 cm | 18 cm |
|---|---|---|---|
| d < 15? | true | false | false |
| Signal to actuator | stop | none | none |
Less than excludes the boundary value itself: at 15 cm no stop signal is sent.
Describe a control system in five steps
In an answer, you put the same loop into words, in order.
1 The robot stops when the reading is less than 15 cm. Is a stop signal sent for a reading of 15 cm? For 9 cm?
2 A greenhouse fan switches on when a temperature sensor reads above 28 °C. Name the sensor, the part that compares and the actuator.
3 Why does the loop keep repeating?
- 115 < 15 is false, so no stop signal · 9 < 15 is true, so yes, stop
- 2sensor: the temperature sensor · the microprocessor compares the reading with the stored 28 °C · actuator: the fan motor
- 3the sensor keeps taking readings while the system is on, so the system reacts when things change
Evaluating automated systems
“It is faster” is true of almost any machine, so on its own it says nothing about this one. For a given scenario, give an advantage or disadvantage that is specific to it and say who benefits or loses.
General points to adapt to the scenario
These points fit almost any automated system. Each one becomes a good answer only when you tie it to the scenario.
Advantages
- Works 24/7 without breaks or tiredness.
- Faster, more accurate and consistent than a person.
- Safer: can work in dangerous places instead of people.
- Frees people from repetitive tasks; lower labour costs.
Disadvantages
- Expensive to buy, install and maintain.
- Job losses and deskilling; staff need retraining.
- A fixed-rule system may fail in unexpected situations.
- A malfunction, power cut or hack can stop work or cause harm.
Write a linked point in three moves
Take one general point and build it up for a farm whose crops are watered automatically.
Give the advantage or disadvantage.
Tie it to this scenario.
Say who gains or loses, and how.
The linked point: Waters the crops automatically as soon as the moisture sensor shows the soil is dry, even at night so the farmer does not need to check the fields.
The same change affects different people
A change that helps one group can make life harder for another. For each change, say what it does and who it affects.
| Change | Benefit or drawback | Who is affected? |
|---|---|---|
| A robot carries heavy containers | benefit Fewer manual lifts reduce the risk of injury | Workers |
| A controller logs readings overnight | benefit No employee needs to stay to record them | Workers |
| Routine work needs fewer staff | drawback Some jobs may disappear; people may need retraining | Workers |
| Delivery software adds new ordering steps | drawback Some customers may struggle to use the interface | Customers |
1 A school hall heating system switches on when a temperature sensor shows the hall is cold. Give one advantage that is specific to it, and say who gains.
2 Give one disadvantage of the same system and say who is affected.
- 1it heats the hall only when it is cold, so less energy is wasted; the caretaker does not have to remember to switch it on
- 2if the sensor is faulty the hall may stay cold, so pupils and staff are uncomfortable
Automated systems in seven scenarios
Automated systems turn up in factories, on farms, on roads and in games. Each one pairs a sensor with a response; the advantage or disadvantage must come from that scenario.
Every card reads the same way: the sensor at work, the microprocessor, then the response it triggers, in violet. The grey card turns the same pattern into steps for a scenario you have not seen.
Industry
Advantage: works 24/7; consistent and precise, so fewer faulty products
Disadvantage: expensive to set up and maintain; job losses
Transport
Advantage: reacts faster than a person, so fewer accidents
Disadvantage: a sensor fault, bug or hack could cause a crash
Agriculture
Advantage: waters only when needed, saving water; frees the farmer
Disadvantage: a faulty sensor could over- or under-water crops
Weather
Advantage: readings 24/7 in remote or harsh places; no overnight shifts
Disadvantage: a fault in a remote place may not be noticed quickly
Gaming
Advantage: more realistic, responsive play
Disadvantage: movements can be misread; extra hardware cost
Lighting
Advantage: saves energy; lights are never forgotten
Disadvantage: a sensor fault leaves an area dark or lit all day
Science
Advantage: accurate readings at exact times; safe in hazardous labs
Disadvantage: a fixed program may not cover unexpected conditions; costly equipment
A scenario you have not seen
- Name the sensor and what it measures.
- Name the response it triggers.
- Advantage: how the response improves speed, accuracy, cost or safety.
- Disadvantage: what happens if the sensor or program fails.
- Say who is affected and how.
1 A swimming pool has a sensor that measures chlorine. When the level is low, a pump adds chlorine. Name the sensor and the response.
2 Give one advantage and one disadvantage that are specific to the pool system.
- 1sensor: the chlorine sensor · response: the pump adds chlorine
- 2advantage: the level is corrected at any hour without a person testing the water · disadvantage: a faulty sensor could leave too little or too much chlorine in the water, so swimmers are at risk
Robots and their uses
A robot is a control system with a body: it moves and acts in the real world. Robotics is the branch of computer science that deals with the design, construction and operation of robots, e.g. factory equipment, domestic robots and drones.
Each characteristic can be pointed at on the arm: its framework, its sensor, the motors that move it and the controller that runs its program.
Characteristics of a robot
- A mechanical structure or framework.
- Electrical components: sensors, a microprocessor and actuators.
- It is programmable: it runs a stored program that can be written or changed.
- It can move (actuators produce the movement).
Roles robots perform
Give a role robots perform in the area the question names.
| Area | Example role |
|---|---|
| Industry | welding, painting and assembling cars; moving heavy goods |
| Transport | self-driving vehicles; robots moving stock around a warehouse; delivery drones |
| Agriculture | planting seeds, picking fruit, removing weeds, spraying crops |
| Medicine | surgery controlled by a surgeon, possibly in another location; dispensing medicines |
| Domestic | robot vacuum cleaners and lawn mowers |
| Entertainment | camera drones filming events; animatronics in theme parks; toys |
Advantages and disadvantages
Give one of each, tied to the use in the question.
Advantages of using robots
- Work 24/7, faster and more precisely than people.
- Do dangerous, heavy or repetitive jobs, so people are safer.
- Remote surgery: a specialist can operate from anywhere; precise, smaller cuts → faster recovery.
Disadvantages
- High cost to buy, program and maintain.
- Job losses and deskilling; workers need retraining.
- A robot programmed for a fixed task may fail in unexpected situations; a fault, hack or lost connection can be dangerous.
1 A sealed tablet has a screen, sensors and a microprocessor but no moving parts. Is it a robot? Why?
2 Give one advantage and one disadvantage of using robots to paint cars.
3 What makes the joints of a robot arm move?
- 1no: it has no motorised mechanism, so no programmable mechanical movement
- 2advantage: works 24/7 and paints evenly, with no person near the fumes · disadvantage: high cost to buy, program and maintain
- 3actuators: the motors at each joint
Artificial intelligence and expert systems
Most programs follow fixed steps. Some can weigh up facts and reach a decision, much as a person would. Artificial intelligence (AI) is a branch of computer science that deals with the simulation of intelligent behaviour by computers.
Four features of AI
Each feature is shown in a greenhouse whose plants are watered automatically.
AI collects data: facts and information about its task.
It has rules for using that data.
THEN no water supply
It can reason: apply the rules to the data to reach a decision.
Some AI systems learn and adapt automatically using machine learning.
Expert systems: simulate a human expert
An expert system puts a specialist’s knowledge into a program, so advice is there when the expert is not. Name the four parts, and follow a diagnosis from the observations to the output.
Diagnosing a greenhouse watering fault
Why use an expert system?
- Consistent advice at any time, without a human expert present.
- But: no common sense.
- Only as good as its knowledge base and rules.
Consistent advice at any time, without a human expert present; but no common sense, and only as good as its knowledge base and rules.
1 An expert system helps a mechanic find why a car will not start. Which part stores the facts, and which part applies the rules to them?
2 Write one rule in the form IF … AND … THEN … for a flat battery and no dashboard lights.
3 Give one limit of an expert system.
- 1the knowledge base stores the facts · the inference engine applies the rules
- 2IF battery flat AND no dashboard lights THEN charge or replace the battery
- 3it has no common sense, and it is only as good as its knowledge base and rules
Machine learning
An expert system only knows what people put into it. Machine learning is when a program can automatically adapt its own processes and/or data, using new results and feedback. It can improve over time without being reprogrammed by a person.
Identifying tile patterns from photographs
Watch one system get better at its job each time it is corrected. Start at the training data, follow it to the program’s prediction, then back along the user’s feedback.
Make the data and the change specific
For a system in the question, say what data and feedback it uses and what it changes.
| System | Data and feedback it uses | What it changes |
|---|---|---|
| Robot vacuum | a map of the room; where it bumped into obstacles; which routes worked | updates its map and chooses a quicker route |
| Voice assistant | recordings of different voices; requests it got right and wrong | updates voice-recognition patterns for accents and phrasing |
| Game characters | the player’s input actions; which previous character behaviours worked | creates or adapts a new character’s actions using those patterns |
| Email spam filter | emails the user marks as spam or not spam | updates the rules it uses to filter new emails |
| Online shop | items each customer views and buys | updates preference data to change later recommendations |
Machine learning or an expert system?
Say which one changes itself, and how.
Expert system
Uses a fixed knowledge base and rules written by experts. It does not change unless people update it.
Machine learning
Changes its own data or processes automatically, using the results and feedback it receives.
1 A music app suggests songs. Say what data and feedback it uses and what it changes.
2 A plant-disease expert system is updated by its staff once a month. Is it machine learning? Why?
- 1data: the songs the user plays, skips and likes · feedback: which suggestions were played · it updates its preference data to change later suggestions
- 2no: it changes only when people update it, but machine learning changes its own data or processes automatically