[6.1.1–2] Sensors & actuators

Automated Systems: From Sensing to Action

What is an automated system?

An automated system is a combination of devices and software that can monitor conditions and perform actions with little or no human input. At IGCSE level, you should be able to describe how three building blocks work together: sensors, a microprocessor (or microcontroller), and actuators. The sensor detects physical changes in the environment, the microprocessor makes decisions based on programmed rules, and the actuator carries out a physical response. This sense–decide–act loop repeats rapidly and reliably.

Automated systems appear in everyday life: smart heating, automatic street lighting, washing machines, driver-assistance features in cars, and industrial robots. Understanding their components helps you explain benefits such as consistency and safety, as well as drawbacks such as cost and potential job displacement.

The Three Core Components

1) Sensors

Sensors are input devices that measure real-world quantities and convert them into electrical signals that the system can read. Common types include temperature, light (LDR), pressure, humidity, motion (PIR), infrared (IR), ultrasonic distance, pH, and accelerometers/gyroscopes. Sensors produce either analogue values that vary smoothly (e.g. temperature) or digital values (e.g. motion detected: yes/no). Analogue values often need conversion using an analogue-to-digital converter (ADC) so the microprocessor can process them.

2) Microprocessor (Microcontroller)

The microprocessor (or microcontroller when the CPU, memory, and input/output are on one chip) executes the program that decides what to do with sensor data. It reads inputs, follows decision rules (comparisons, thresholds, timers, safety checks), and then sends signals to actuators. The program logic can include feedback, where the output is adjusted continuously based on current readings to keep a value within a target range. This is called a control loop.

3) Actuators

Actuators are output devices that create movement or other physical effects. Examples include motors (DC, stepper, servo), solenoids, relays (to switch higher-power circuits), heating elements, buzzers, LEDs, valves, and pumps. Many actuators require driver circuits because a microcontroller pin cannot supply enough current or voltage directly. For fine control, systems may use pulse-width modulation (PWM) to vary speed or brightness.

Putting it together

In operation, the sensor reading is obtained, the microprocessor compares it against set points, and the actuator is driven to correct or respond to the condition. The process repeats many times per second. A well-designed system also includes fail-safes (e.g. emergency stop), hysteresis (small buffer zones to avoid rapid on/off flicker), and calibration to keep readings accurate.

Typical Automated Scenarios (Tabbed)

Comparing how the sense–decide–act loop works in different contexts

Sensors: Temperature sensor in the living space. Decision: Desired set point 20°C with a 1°C hysteresis band. Actuator: Boiler/heating relay.

Operation: If temperature drops below 19.5°C, the microcontroller turns the heating on. When it rises above 20.5°C, it turns the heating off. The hysteresis prevents rapid switching when the room hovers around 20°C, extending equipment life and improving comfort.

Considerations: Requires accurate calibration and safe relay control. A schedule can reduce energy usage when nobody is home.

Sensors: Temperature, humidity, and light sensors. Optional soil moisture sensors. Decision: Maintain 24–26°C and 60–70% humidity; ensure 12 hours of light daily. Actuators: Fan/vent (cool), heater (warm), mister/pump (humidity), grow lights.

Operation: The controller reads all sensors, then decides which actuator(s) to use. If both temperature and humidity are high, it may prioritise ventilation before using a mister to avoid conflicting actions.

Considerations: Feedback from multiple sensors avoids over-correcting one variable while worsening another. Timers and interlocks stop rapid toggling or unsafe combinations.

Sensors: Radar and camera detect obstacles and speed difference. Decision: If time-to-collision falls below a threshold, trigger braking. Actuators: Brake system and warning buzzer.

Operation: The microprocessor continuously calculates distance and relative speed. If the driver does not respond to warnings, the system applies brakes automatically.

Considerations: Safety-critical systems need redundancy, self-tests, and strict reliability standards. False positives must be minimised while reacting quickly enough to prevent collisions.

Signal Flow and Interfaces

From the physical world to digital decisions

Stage What happens Notes
Sense Sensor measures a quantity (e.g. temperature) and outputs a voltage/current. Analogue values pass through an ADC; digital sensors may use I²C/SPI/1-Wire buses.
Read Microcontroller reads the value at set intervals. Sampling rate must be suitable: too slow misses changes; too fast wastes power.
Decide Program applies thresholds, comparisons, timers, and safety rules. Include hysteresis and prioritisation when multiple targets conflict.
Drive Output pins send control signals to actuator drivers/relays. Use driver transistors, MOSFETs, or motor drivers to handle higher currents.
Feedback New sensor readings confirm effect and fine-tune output. Closed-loop control improves accuracy and stability.

Pros and Cons of Automation

Comparative view (Tabbed)

  • Consistency and speed: Machines react quickly and repeatably, improving quality control.
  • Safety: Automation keeps people away from hazards (e.g. high temperatures, chemicals).
  • Efficiency: Optimised control reduces energy and material waste.
  • 24/7 operation: Systems can run without breaks, useful for monitoring and alarms.
  • Cost: Sensors, controllers, and maintenance can be expensive to install and support.
  • Complexity: Fault diagnosis requires expertise; failures may stop an entire process.
  • Over-reliance: People may become less skilled at manual procedures or stop paying attention.
  • Cyber and privacy risks: Networked devices can be attacked; data from sensors (e.g. cameras) must be protected.
  • Employment impact: Some roles may be reduced, while new technical jobs are created.
  • Fairness: Access to automation may widen gaps between organisations with/without resources.
  • Accountability: Clear responsibility is needed when automated decisions cause harm.

Design Considerations for Reliable Automation

Calibration, sampling, and safety

  • Calibration: Compare sensor readings with known standards; recalibrate over time to reduce drift.
  • Sampling rate: Choose a frequency that captures changes without wasting power or processing time.
  • Noise and filtering: Smooth unstable signals using averaging or digital filters so outputs do not flicker.
  • Hysteresis and deadbands: Prevent rapid toggling around thresholds.
  • Redundancy: Use backup sensors/paths for safety-critical systems.
  • Fail-safe behaviour: Define a safe default (e.g. cut power) when faults are detected.
  • Power and isolation: Provide stable power and protect control circuits from actuator voltages.

Key Terms

TermDefinition
SensorInput device that measures a physical property and produces an electrical signal.
MicrocontrollerSmall computer on a chip with CPU, memory, and I/O used to run control programs.
ActuatorOutput device that creates movement or another physical effect in response to a control signal.
ADCAnalogue-to-digital converter, required for processing analogue sensor values digitally.
Control loopRepeated cycle of reading sensors, making decisions, and adjusting actuators.
HysteresisUsing different on/off thresholds to avoid rapid switching around a set point.
FeedbackUsing output results (via sensors) to adjust future control actions for stability and accuracy.
Fail-safeDefault behaviour that keeps people and equipment safe if faults occur.

 Key Takeaways

  • Automated systems combine sensors, a microprocessor, and actuators in a sense–decide–act loop.
  • Sensors may be analogue or digital; analogue signals often need an ADC before processing.
  • Good control logic uses feedback, hysteresis, and safety checks to avoid unstable behaviour.
  • Automation brings consistency, safety, and efficiency, but adds cost, complexity, and potential cyber risks.
  • Designers must consider calibration, sampling rates, redundancy, and fail-safe behaviour for reliability.