Cambridge IGCSE0478

Automated systems

Computer Science 0478 Chapter Notes

What this chapter covers

Automated systemsRoboticsArtificial intelligence
ShareWhatsAppPost
Automated systems notes

Unable to load PDF

The notes viewer could not load. Please refresh the page.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Automated systems notes as text: skim, search, and jump between subtopics.

~7 min read

1. What is an Automated System?

An automated system is a combination of hardware and software designed to perform a task or a set of tasks with little or no human interaction. These systems operate on a continuous loop of input, processing, and output. They sense their environment, make decisions based on pre-programmed rules, and then take action to change their environment. Common examples range from a simple central heating system in a house to complex auto-pilot systems in aircraft.

Key term

Automated System: A system that is designed to operate and perform tasks without the need for any human intervention.

Examiner insight

When asked for examples, be specific. 'A system to control temperature' is weaker than 'A central heating system that maintains room temperature'.

Fun fact

The world's first known automated system was a water clock invented by Ctesibius in the 3rd century BC, which used a float regulator to keep the water flow constant.

Worked example 12 marks

Identify two automated systems that might be found in a modern home and briefly state the task each one performs.

  1. 1

    System 1: Central Heating System. This system automatically controls the temperature of the house. It turns the heating on when the temperature drops below a set point and off when it rises above it.

  2. 2

    System 2: Automatic Security Light. This system detects movement outside the house at night and automatically switches on a light to deter intruders or help residents see.

Recap

  • An automated system works without human intervention.
  • It follows an input-process-output cycle.
  • Sensors provide the input, a microprocessor does the processing, and actuators perform the output.
  • Examples include central heating, automatic doors, and factory production lines.

Quick check

  1. What is the primary characteristic that defines an automated system?1 mark

2. The Core Components: Sensors, Microprocessors, Actuators

Every automated system is built around three key types of components that work together in a control loop. 1. Sensors: These are the input devices. They measure a physical property from the environment (like temperature, light, or pressure) and send this data to the microprocessor. 2. Microprocessor: This is the 'brain' of the system. It's a small computer that receives the data from the sensor. It then compares this data to a pre-programmed value or condition (e.g., is the temperature below 20°C?). Based on this comparison, it makes a decision and sends a command. 3. Actuators: These are the output devices that do something. They receive the command from the microprocessor and convert the electrical signal into a physical action, like turning a motor, opening a valve, or switching on a heater.

Key term

Control Loop: The continuous cycle of a sensor measuring the environment, a microprocessor processing the data, and an actuator taking action to affect the environment.

Common pitfall

Confusing simple output devices like an LED or a screen with an actuator. An actuator causes physical movement or controls another device (e.g., a motor, pump, or valve), whereas a screen just displays information.

Worked example 16 marks

An automated greenhouse needs to control temperature, light levels, and soil moisture. For each factor, name a suitable sensor, a decision the microprocessor might make, and a possible action for an actuator.

  1. 1

    Temperature: Use a Temperature Sensor. The microprocessor could decide 'IF temperature < 18°C'. The actuator action would be to turn on a heater.

  2. 2

    Light Levels: Use a Light Sensor. The microprocessor could decide 'IF light level < low_threshold'. The actuator action would be to switch on artificial lights.

  3. 3

    Soil Moisture: Use a Moisture/Humidity Sensor. The microprocessor could decide 'IF moisture < dry_threshold'. The actuator action would be to open a valve to a watering system.

Recap

  • Sensors are input devices that measure the environment.
  • The microprocessor is the processing unit that makes decisions.
  • Actuators are output devices that perform physical actions.
  • These three components form a continuous control loop.
  • The microprocessor compares sensor data to pre-set values to make decisions.

Quick check

  1. What is the difference between a sensor and an actuator?2 marks

3. A System in Action: Car Proximity Sensor

Let's break down how a common automated system, a car's reversing alarm, works. This system warns the driver if they are getting too close to an object while parking. The process follows the Sensor-Microprocessor-Actuator model perfectly. The system continuously checks the distance and provides real-time feedback to the driver, all without any direct input from them once the car is in reverse gear.

Key term

Proximity Sensor: A sensor able to detect the presence of nearby objects without any physical contact.

Worked example 16 marks

A car has a proximity detection system. If an object is within a set distance from the car, an alarm is sounded. Describe, step-by-step, how this automated system detects objects and alerts the driver.

  1. 1

    Step 1 (Input): A proximity sensor (e.g., an ultrasonic sensor) on the car's bumper sends out a pulse of high-frequency sound waves.

  2. 2

    Step 2 (Input): If there is an object behind the car, the sound waves bounce off it and reflect back to the sensor.

  3. 3

    Step 3 (Processing): The sensor sends data to the microprocessor, specifically the time it took for the pulse to return.

  4. 4

    Step 4 (Processing): The microprocessor calculates the distance to the object based on the time taken (using the speed of sound).

  5. 5

    Step 5 (Processing): The microprocessor compares this calculated distance to a pre-programmed minimum safe distance stored in its memory.

  6. 6

    Step 6 (Output): If the calculated distance is less than the safe distance, the microprocessor sends a signal to an actuator/output device, which is a buzzer or speaker inside the car, causing it to sound an alarm.

Recap

  • The car proximity system uses a sensor (ultrasonic) to gather data.
  • The microprocessor calculates distance from the sensor's time data.
  • This calculated distance is compared against a pre-set value.
  • If the distance is too small, the microprocessor signals an output device.
  • The output is an audible alarm from a buzzer or speaker.

Quick check

  1. In the car proximity system, what value does the microprocessor compare the calculated distance against?1 mark

4. Evaluating Automated Systems

While automated systems are powerful, implementing them is not always the right choice. It's crucial to evaluate their advantages and disadvantages in the specific context of their use. A benefit in one scenario might be irrelevant or even a drawback in another. Key factors to consider include cost, safety, quality, and the impact on human employment.

Key term

Context: The specific situation or scenario in which a system is being used, which is vital for evaluating its pros and cons.

Examiner insight

For 'discuss' or 'evaluate' questions, you must present a balanced view. To get full marks, you need to provide both advantages and disadvantages and link them clearly to the scenario given in the question.

Fun fact

Amazon uses over 520,000 robotic drive units in its fulfilment centres to automate the process of picking and sorting packages, drastically increasing efficiency.

Worked example 16 marks

A factory that builds furniture is considering replacing its human assembly line workers with automated robots. Discuss the advantages and disadvantages of this decision.

  1. 1

    Advantage 1 (Productivity): Robots can work 24/7 without breaks, holidays, or sick leave, leading to a much higher rate of production.

  2. 2

    Advantage 2 (Precision): Robots can perform repetitive tasks like drilling holes or cutting wood with extremely high precision and consistency, reducing errors and waste.

  3. 3

    Advantage 3 (Safety): Robots can take over tasks that are dangerous for humans, such as working with heavy machinery, sharp tools, or in environments with wood dust, reducing workplace accidents.

  4. 4

    Disadvantage 1 (Cost): The initial purchase and installation cost of a robotic assembly line is extremely high, representing a major financial investment.

  5. 5

    Disadvantage 2 (Employment): Replacing human workers with robots will lead to unemployment for the current workforce, which has social and economic consequences for the community.

  6. 6

    Disadvantage 3 (Flexibility): Robots are programmed for specific tasks. If the factory wants to introduce a new furniture design, it may be costly and time-consuming to reprogram or re-tool the entire robotic line, whereas human workers are more adaptable.

Recap

  • Advantages include increased productivity, precision, and safety for humans.
  • Automated systems can operate continuously in hazardous environments.
  • Disadvantages include high initial costs, potential for job losses, and a lack of flexibility.
  • Maintenance of automated systems requires specialised, often expensive, technicians.
  • Always consider both pros and cons within the specific context of the question.

Quick check

  1. State one advantage and one disadvantage of using an automated weather station in a remote, mountainous region.2 marks

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Describe the role of a microprocessor in an automated central heating system.3 marks
  2. Identify two different sensors that could be used in an automated system for a farm, and for each one, state what physical property it measures.4 marks
  3. An automated door at a supermarket opens when a person approaches. Describe the components and the step-by-step process that allows this system to work.5 marks
  4. An auto-pilot system is used to fly an aeroplane at a constant altitude of 30,000 feet. Describe how sensors, a microprocessor, and actuators work together to achieve this.6 marks
  5. A city council is considering replacing human street sweepers with automated cleaning robots. Discuss the potential benefits and drawbacks of this plan for the city.6 marks
  6. Define the term 'actuator' and give two different examples of actuators that might be found in automated systems.3 marks
  7. Explain the difference between the 'knowledge base' and the 'rule base' in an expert system.2 marks
  8. Describe machine learning, using the example of an email spam filter.4 marks
  9. A robotic vacuum cleaner navigates a room, cleaning the floor. Identify one sensor it must have to navigate effectively and one actuator that is essential for its primary function.2 marks
  10. Some people argue that increasing automation is always a good thing for society. Give one argument for this view and two arguments against it.3 marks

Go deeper

Practise and revise with member-only material for this chapter.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters