Cambridge O Level2210

Automated systems

Computer Science 2210 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.

~10 min read

1. What is an Automated System?

An automated system is a combination of hardware and software designed to perform tasks without needing direct human control. These systems are everywhere, from the thermostat that controls your home's heating to the autopilot systems that fly aeroplanes. The core idea is that the system can sense its environment, make a decision based on pre-programmed rules, and then take an action. This creates a self-regulating process that can run independently.

Key term

automated system: A system designed to operate and perform tasks without the need for any human intervention.

Fun fact

One of the earliest automated systems was a water-powered alarm clock invented in ancient Greece that would drop pebbles onto a gong to make a sound at a set time.

Worked example 12 marks

A hotel has automatic sliding doors at its entrance. Explain why this is an example of an automated system.

  1. 1

    Step 1: Identify the purpose. The doors open and close for guests without a person needing to operate them.

  2. 2

    Step 2: Identify the lack of human intervention. The system operates on its own. A person approaching the door does not press a button; the system detects them and acts.

  3. 3

    Step 3: Conclude based on the definition. Because the doors sense a person and open automatically without a human operator, it fits the definition of an automated system.

Recap

  • An automated system performs actions without human interaction.
  • They are used in a huge range of applications, from small home devices to large industrial processes.
  • The main goal of automation is to perform tasks independently based on environmental conditions or set rules.
  • Examples include central heating, traffic lights, and automatic doors.

Quick check

  1. In one sentence, define what an automated system is.1 mark

2. Core Components: Sensors, Microprocessors, Actuators

Every automated system is built around three key types of components that work together in a cycle. 1. Sensors are the system's 'senses'. They are input devices that measure a physical property from the environment, like temperature, light, pressure, or motion. They convert this real-world (analogue) data into a digital signal the system can understand. 2. The Microprocessor is the 'brain'. It's a small computer that receives the digital data from the sensors. It runs a program that contains the system's rules. It processes the sensor data by comparing it to a pre-set value and decides what action, if any, is needed. 3. Actuators are the system's 'muscles'. They are output devices that receive a command from the microprocessor and cause a physical action to happen. This could be a motor turning, a switch flipping, a heater turning on, or a valve opening.

Key term

microprocessor: The processing unit of an automated system that executes program instructions to make decisions based on sensor data.

Examiner insight

Examiners award marks for clearly linking each component (sensor, microprocessor, actuator) to its specific function within the context of the given scenario.

Common pitfall

A common mistake is confusing sensors and actuators. Remember: sensors *sense* (input), while actuators *act* (output). A light sensor detects light levels; a light bulb is an output device controlled by an actuator (a switch).

Worked example 13 marks

An automated greenhouse is used to maintain optimal growing conditions for plants. It uses a heater and a watering system. Identify a suitable sensor, the role of the microprocessor, and a possible actuator for the heating system.

  1. 1

    Step 1: Identify the sensor. To control temperature, the system needs to measure it. Therefore, a suitable sensor is a temperature sensor.

  2. 2

    Step 2: Describe the microprocessor's role. The microprocessor receives temperature data from the sensor. It compares this data to a pre-set optimal temperature (e.g., 22°C). If the temperature is too low, it will send a signal to turn the heater on.

  3. 3

    Step 3: Identify the actuator. The actuator is the component that performs the action. In this case, it would be a switch or a relay that receives the signal from the microprocessor and turns the power on for the heater.

Recap

  • Sensors are input devices that measure environmental data.
  • The microprocessor is the processor that makes decisions.
  • Actuators are output devices that perform physical actions.
  • Common sensors include temperature, light, pressure, and proximity sensors.
  • Common actuators include motors, switches, heaters, and valves.

Quick check

  1. Name the component that acts as the 'brain' of an automated system.1 mark
  2. Is a motor that opens a gate a sensor or an actuator? Explain why.2 marks

3. The Input-Process-Output Cycle

Automated systems function using a continuous loop known as the Input-Process-Output (IPO) cycle. This is often a 'feedback loop', where the output of the system affects the next input, allowing it to self-regulate. Let's use an automatic street light as an example:

  1. Input: A Light Dependent Resistor (LDR), which is a type of light sensor, constantly measures the level of ambient light. It sends this data as a signal to the microprocessor.
  2. Process: The microprocessor receives the light level data. Its program contains a threshold value for 'darkness'. It compares the sensor's reading to this threshold. If the light level falls below the threshold, the microprocessor's logic determines that it is dark and sends an 'ON' signal.
  3. Output: The 'ON' signal is sent to an actuator, which is a relay or switch. The actuator closes the circuit, allowing electricity to flow to the street lamp, which then turns on.

This cycle repeats. When dawn arrives, the light sensor will detect increasing light levels. Once the light level goes above the threshold, the microprocessor will send an 'OFF' signal, and the actuator will switch the lamp off.

Key term

feedback loop: A control mechanism where the output of a system is used as input to influence and regulate its future actions.

Worked example 15 marks

A car has a proximity detection system for parking. If an object is within 0.5 metres of the rear bumper, an alarm sounds inside the car. Describe how this automated system detects objects and alerts the driver, using the IPO model.

  1. 1

    Step 1 (Input): The system uses an ultrasonic or proximity sensor mounted on the rear bumper. This sensor continuously emits sound waves and measures the time it takes for them to bounce back from an object.

  2. 2

    Step 2 (Process): The microprocessor receives the timing data from the sensor. It calculates the distance to the object based on this data. It then compares this calculated distance to the pre-set value of 0.5 metres.

  3. 3

    Step 3 (Process): If the calculated distance is less than or equal to 0.5 metres, the microprocessor makes the decision to trigger the alarm.

  4. 4

    Step 4 (Output): The microprocessor sends a signal to an actuator. The actuator is the electronic component that controls the alarm buzzer or speaker.

  5. 5

    Step 5 (Output): The actuator activates the buzzer, which sounds an alarm inside the car to alert the driver.

Recap

  • Automated systems operate on an Input-Process-Output (IPO) cycle.
  • The INPUT stage involves a sensor gathering data from the environment.
  • The PROCESS stage involves the microprocessor comparing sensor data to a set value and making a decision.
  • The OUTPUT stage involves an actuator carrying out a physical action based on the microprocessor's decision.
  • This cycle often forms a continuous feedback loop, allowing the system to self-regulate.

Quick check

  1. In an automated central heating system, what is the 'process' stage?2 marks

4. Evaluating Automated Systems

When deciding whether to use an automated system, we must weigh its advantages and disadvantages. These factors are highly dependent on the specific context of the system's use.

Advantages:

  • Safety: Robots and automated systems can perform tasks in environments that are dangerous for humans, such as in nuclear power plants, deep-sea exploration, or handling toxic materials.
  • Precision and Quality: Machines can perform repetitive tasks with a much higher degree of accuracy and consistency than humans, leading to fewer errors and higher quality products.
  • Productivity: Automated systems can work 24/7 without breaks, sleep, or holidays, significantly increasing output.
  • Lower Long-Term Running Costs: While expensive to set up, systems don't require salaries, pensions, or sick pay. Over time, this can be cheaper than human labour.

Disadvantages:

  • High Initial Cost: The design, purchase, and installation of automated systems and robotics can be extremely expensive.
  • Job Displacement: One of the biggest social drawbacks is that automation can replace human workers, leading to unemployment and the need for retraining.
  • Lack of Flexibility: Most automated systems are programmed for a specific task. They cannot easily adapt to unexpected problems or handle tasks that require human creativity, common sense, or emotional intelligence.
  • Maintenance: Specialised technicians are needed for maintenance and repairs, which can be costly and cause downtime if they are not readily available.

Key term

automation: The use of automated equipment and technology to perform tasks in a process, often to replace manual labour.

Examiner insight

For 'discuss' questions, examiners reward balanced answers that explore both sides of the argument (advantages and disadvantages) and apply them directly to the scenario provided in the question.

Fun fact

The world's first fully automated car factory was opened in Japan in 1981, using robots to weld, paint, and assemble cars with minimal human oversight.

Worked example 16 marks

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

  1. 1

    Advantage 1 (Productivity): The robots can work 24/7 without breaks, leading to a much faster production rate and more furniture being built compared to human workers who work in shifts.

  2. 2

    Advantage 2 (Precision): The robots will perform tasks like cutting, drilling, and assembly with high precision every time, reducing material waste and ensuring every piece of furniture is identical and of high quality.

  3. 3

    Disadvantage 1 (Cost): The initial investment in purchasing, programming, and installing a fleet of robotic arms would be extremely high for the factory.

  4. 4

    Disadvantage 2 (Job Loss): The human assembly line workers would lose their jobs, which has a significant negative social impact and could damage the company's reputation in the local community.

  5. 5

    Disadvantage 3 (Flexibility): If the factory wants to introduce a new, complex furniture design, the robots would need to be completely reprogrammed, which is a complex and expensive process. Human workers might adapt more quickly to new designs.

Recap

  • Advantages of automation include safety, precision, productivity, and lower long-term costs.
  • Disadvantages include high initial cost, job displacement, lack of flexibility, and maintenance needs.
  • The impact of these pros and cons depends heavily on the specific scenario.
  • Exam questions often require you to apply these points to a given context, not just list them.

Quick check

  1. State one reason why automation can improve worker safety.1 mark
  2. State one reason why automation can be a disadvantage for a company's workforce.1 mark

End-of-chapter exercise

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

  1. Define the term 'automated system' and give one original example not mentioned in your notes.2 marks
  2. Identify the three main hardware components of an automated system and briefly describe the function of each.6 marks
  3. An automated irrigation system for a farm is designed to water crops only when the soil is dry. Explain the input, process, and output stages for this system.4 marks
  4. A library is considering installing an automated book check-in and sorting system. Describe two advantages and two disadvantages of implementing this system.4 marks
  5. A patient in a hospital is attached to a machine that automatically administers a pain-relief drug via a drip. The machine is set to provide a small, regular dose but stops if the patient's heart rate, measured by a sensor, drops below a safe level. Deconstruct this system, identifying a sensor, the role of the microprocessor, and an actuator.6 marks
  6. Explain why the 'feedback loop' is a crucial concept in many automated control systems, such as a thermostat.3 marks
  7. An auto-pilot system can fly an aeroplane. Discuss the benefits and drawbacks of a pilot using this automated system during a long-haul flight.6 marks
  8. Compare the role of a light sensor in an automated street light with the role of a proximity sensor in a reversing car.4 marks
  9. A company claims its new automated system will have lower running costs than employing people. Explain why this might be true, but also identify a significant cost associated with automated systems that is not related to running costs.3 marks
  10. Design an automated system to manage a fish tank. Describe one thing it would control, and for that function, identify the sensor used, the processing that would occur, and the actuator that would perform the action.5 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