6.1 Automated Systems
An automated system carries out a physical process with little or no human involvement. It follows a loop: sense → process → act.
- Sensor measures a physical quantity (temperature, light, pressure, moisture, motion, pH) and sends a signal.
- Microprocessor compares the reading with a stored value or threshold and decides what to do, following a program held in memory.
- Actuator carries out the decision — a motor turns, a valve opens, a heater switches on.
- The process repeats continuously, so the system responds to changes in real time.
| Application | Sensor | Actuator |
|---|---|---|
| Automatic door | Motion / pressure sensor | Motor to open the door |
| Central heating | Temperature sensor (thermostat) | Boiler / heater, pump |
| Greenhouse watering | Moisture sensor | Water pump / valve |
| Street lighting | Light sensor | Lamp switch |
| Car engine management | Oxygen, temperature, airflow sensors | Fuel injectors, ignition timing |
Advantages of automation: consistent quality, works 24 hours without fatigue, safer in hazardous environments, lower long-term labour cost, faster and more accurate. Disadvantages: high set-up cost, needs skilled maintenance, job losses, and the system cannot cope with unexpected situations as well as a person.
6.2 Robotics
A robot is a programmable machine that can sense its environment and carry out physical actions. Industrial robots are used for welding, painting, assembly and packing; they are precise, tireless and can work in dangerous conditions. Robots are also used in medicine (surgery, dispensing), agriculture, space exploration, bomb disposal and warehousing.
- Advantages: accuracy and repeatability, can work in hazardous or extreme environments, no fatigue, higher output.
- Disadvantages: expensive to buy and program, cannot handle unexpected situations, may replace human jobs, need maintenance and power.
6.3 Artificial Intelligence
Artificial intelligence (AI) is the simulation of human intelligence by a computer: learning from data, recognising patterns, making decisions and understanding language. AI systems are used in voice assistants, recommendation systems, medical diagnosis, self-driving cars and image recognition.
Expert systems
An expert system is a program that reproduces the decision-making of a human expert in a narrow field, such as medical diagnosis or fault-finding.
| Component | Function |
|---|---|
| Knowledge base | Facts and rules gathered from human experts |
| Rule base | IF–THEN rules that describe how to reason with the facts |
| Inference engine | Applies the rules to the user's data to reach a conclusion |
| User interface | Lets the user enter information and see the recommendation |
| Explanation facility | Shows how the conclusion was reached |
Advantages: available all the time, consistent answers, preserves expert knowledge, can process more data than a person. Disadvantages: expensive to build, cannot handle situations outside its knowledge base, relies on the quality of the rules, and cannot use common sense.
Machine learning
In machine learning the system is not given explicit rules; it is trained on large amounts of data and adjusts its own model to improve its accuracy. The more (good quality) data it sees, the better it performs — but biased or poor data produces biased or poor results.
Exam trap
Name the sensor and the actuator separately. "A sensor that opens the door" scores nothing — the sensor detects, the actuator acts.
Five-minute drill
- Describe the three stages of an automated system.
- Name the sensor and actuator for an automatic hand dryer.
- Give two advantages and two disadvantages of using robots in a factory.
- Name the four parts of an expert system.
- Explain how machine learning differs from a traditional program.
A greenhouse uses an automated system to keep the temperature between 20 °C and 25 °C. Describe how the system works.
- A temperature sensor takes readings continuously (1).
- The reading is sent to a microprocessor (1), which compares it with the stored values 20 °C and 25 °C (1).
- If the temperature is too high, the microprocessor sends a signal to switch on a fan / open a vent (1).
- If it is too low, a heater is switched on; the process repeats so the temperature stays in range (1).
A hospital uses an expert system to help diagnose illnesses. Describe two components of the expert system and explain one limitation.
- Knowledge base holding facts and rules from medical experts (1).
- Inference engine applies the rules to the patient's symptoms to reach a diagnosis (1).
- Also accept: rule base of IF–THEN rules; user interface for entering symptoms.
- Limitation: it can only reason within its knowledge base (1), so it cannot diagnose a condition it has not been programmed for and cannot use common sense (1).