Curriculum/DP Design/B3.4 Electronic Systems Application and Selection

Electronic Systems Application and Selection | B3.4

Guiding questionHow can electronic systems be incorporated into product design?

Where A3.4 gave you the vocabulary, B3.4 asks you to specify: which sensor, which output, how much current, which protocol, and what happens when the battery runs low. This is the level at which designers actually work with electronics. You are rarely the person soldering, but you are frequently the person who decided the product needed to know the temperature, and every one of those decisions has consequences in cost, power and size.

The calculations here are the most predictable marks in the topic. Ohm's law and electrical power are not difficult, and once you are comfortable rearranging them you have a reliable source of marks in Paper 2 that does not depend on how well you write. Beyond the exam, this material is unusually practical. If you have ever wanted to build something that responds to the world, the input, process and output framework plus a sensible sensor choice is most of what you need to start, and I would genuinely encourage you to try it outside of class.

Students must be able toAnalyse simple electronic products and circuits to identify the main component parts that enable them to perform a specific function.

IPO model diagram showing Input, Process and Output stages with examples

The Input–Process–Output (IPO) model is the fundamental framework for understanding any electronic system. It breaks a complex product into three stages:

  • Input: sensors detect changes in the environment (light, temperature, pressure, motion, sound, user commands) and convert them into electrical signals for the process stage.
  • Process: a microcontroller, logic circuit, or embedded processor receives input signals, applies a programmed algorithm, and decides what to do next.
  • Output: actuators, displays, speakers, motors, or relays respond, communicating information to a user or physically controlling the environment.

Electronics are now embedded in almost every product category: home appliances (refrigerators, washing machines, microwaves), entertainment (TVs, game consoles), communication (smartphones, computers), automotive (engine control units, GPS, advanced driver assistance), and personal wearables (smartwatches, fitness trackers). When analysing a product, the first task is to identify which components serve which stage of the IPO model.

Students must be able toDescribe how to use basic electronic measuring apparatus, including multi-meters on voltage, current and resistance ranges, and oscilloscopes to observe waveforms.

Bench showing multimeter, oscilloscope and clamp meter

Choosing the right instrument (and connecting it correctly) is as important as the measurement itself. Using a current meter in parallel, for example, will short-circuit the component and may destroy the meter.

Digital multimeter (DMM), the most versatile handheld instrument:

  • Voltage: connect in parallel across the component. No circuit interruption needed.
  • Current: connect in series: the circuit must be broken and the meter inserted into the path so current flows through it.
  • Resistance: the component must be removed from the circuit entirely, then connected to the meter's Ω terminals. The meter applies its own small current and measures the voltage drop.

Digital storage oscilloscope (DSO): visualises voltage waveforms over time (voltage on Y-axis, time on X-axis). Indispensable for diagnosing: ringing (damped oscillations indicating impedance problems), distorted rising edges (slow component or excessive capacitance), and amplitude problems (incorrect voltage levels indicating a faulty supply). A multimeter cannot reveal any of these: it only shows a single numerical value.

Function generator: produces test signals (sine, square, triangle waves) at a chosen frequency. Frequently used alongside a DSO: the generator provides a known input, the DSO captures the circuit's response.

Clamp meter: measures current without breaking the circuit by clamping around the conductor. For AC it uses a current transformer; for DC it uses the Hall effect (detecting the magnetic field produced by the current).

Other instruments: Megohmmeter (tests insulation resistance at high voltage: a downward trend indicates insulation breakdown); Wattmeter (measures real power P = VI); LCR meter (measures inductance, capacitance and resistance using AC test signals); Logic analyser (captures multiple digital signals simultaneously to debug timing and decode communication protocols such as I²C, SPI, UART).

InstrumentMeasuresConnectionKey limitation
DMMV, I, RV: parallel / I: series / R: removedOnly static values: no waveform
DSOWaveform over timeParallel (high impedance probe)Can miss very slow DC drift
Clamp meterCurrent onlyClamp around wire (no break)Cannot measure very low currents
MeggerInsulation resistanceHigh-voltage DC appliedCannot test live circuits
LCR meterL, C, RComponent removed from circuitAC test signal only
Logic analyserDigital signals (timing)Probes on multiple pinsNo analog voltage detail
Macropad Builder preview
Interactive Tool
Macropad Builder

Plan the switches, wiring and components for a real macropad, then generate downloadable code to build it with an ESP32.

Students must be able toCalculate power, voltage, current and resistance in a circuit, considering V = IR and P = VI by rearranging equations and substituting values.

Ohm's law triangle and power formula triangle

Ohm's law: the voltage across a component equals the current through it multiplied by its resistance.

V = I × R    →    I = V / R    →    R = V / I

Power formulas: electrical power is the rate of energy conversion. Three equivalent forms:

P = V × I    =    I² × R    =    V² / R

Use whichever form avoids an intermediate calculation step. If you know V and R but not I, use P = V²/R directly rather than calculating I first.

Single-phase vs three-phase power:

  • Single-phase: one AC waveform (one active wire). Used in homes and small businesses. Voltage rises and falls to zero twice per cycle, producing a momentary dip in power.
  • Three-phase: three AC waveforms staggered 120° apart (three active wires). Used in industrial settings. The phases combine so that total power delivery is constant: one phase is always near its peak. More efficient for large motors and high-power equipment.

IEC 60309 industrial plug colour coding: yellow = 100–130 V, blue = 200–250 V, red = 380–480 V. Colour coding prevents incorrect connection of equipment to incompatible voltages.

Worked examples

GivenFindFormulaResult
V = 12 V, R = 470 ΩII = V / RI = 12 / 470 = 25.5 mA
V = 12 V, I = 25.5 mAPP = V × IP = 12 × 0.0255 = 0.306 W
V = 12 V, R = 470 ΩP (direct)P = V² / RP = 144 / 470 = 0.306 W
Interactive
Ohm's Law / Power Calculator

Enter any two of V, I and R, or one of them plus P, and the rest solve automatically, with the working shown below.

V
A
Ω
W

Students must be able toCalculate resistance and capacitance in series and parallel in a circuit.

Series and parallel resistor diagrams alongside low-pass and high-pass RC filter circuits

Resistors in series: total resistance is the sum of all resistors. Current is the same through each.

R_total = R₁ + R₂ + R₃ + …

Resistors in parallel: total resistance is always less than the smallest individual resistor. Voltage is the same across each; current splits between branches.

1 / R_total = 1/R₁ + 1/R₂ + 1/R₃ + …    (for equal R: R_total = R / n)

RC circuits: a resistor (R) and capacitor (C) together create time-dependent behaviour. The capacitor charges through the resistor; the time constant τ = R × C (in seconds when R is in Ω and C is in Farads) determines how quickly voltage rises or falls.

Low-pass filter: resistor in series, capacitor in parallel with the output. Passes low-frequency (slow) signals; attenuates high-frequency (fast) signals. The capacitor charges slowly, smoothing rapid fluctuations.

High-pass filter: capacitor in series, resistor in parallel with the output. Blocks low-frequency signals (capacitor blocks DC and very slow signals); passes high-frequency signals.

Contact bounce (chatter) elimination: when a mechanical switch closes, the contacts bounce and produce multiple rapid 1s and 0s before settling. A low-pass RC filter smooths this leading edge, so the logic gate receives a clean single transition rather than a burst of false triggers.

Worked examples (resistor networks)

ConfigurationCalculationResult
Series: 100 Ω + 220 Ω + 330 Ω100 + 220 + 330650 Ω
Parallel: 100 Ω ∥ 100 ΩR / n = 100 / 250 Ω
Parallel: 47 Ω ∥ 47 Ω47 / 223.5 Ω
Combination: 100 Ω + (50 Ω ∥ 50 Ω)50/2 = 25; 100 + 25125 Ω

For combination circuits, always resolve the parallel branches first, then add the series elements, just as you would apply BODMAS to arithmetic.

Students must be able toConstruct flow diagrams (using appropriate symbols) to model a programmable system that controls an electronic device.

Flowchart showing standard symbols: terminator, process, input/output, decision

A flow diagram (flowchart) maps the sequence of steps in an algorithm using standardised symbols. In electronics, flowcharts are used to plan and communicate how a microcontroller will respond to inputs.

Standard flowchart symbols:

  • Terminator (rounded rectangle or oval): marks the Start or End of the program.
  • Process (rectangle): a calculation or action (e.g., "Turn fan ON", "Increment counter").
  • Input / Output (parallelogram): data entering or leaving the system (e.g., "Read temperature sensor", "Display value on LCD").
  • Decision (diamond): a yes/no branch based on a condition (e.g., "Temperature > 30°C?"). Two paths exit: one for Yes, one for No.

Flow diagrams are useful before writing code because they separate the logic of what the system must do from the syntax of how to code it. A well-drawn flowchart can be translated directly into any programming language.

Students must be able toConstruct diagrams for simple circuits that use resistors, capacitors, switches, relays, diodes, transistors, operational amplifiers, integrated circuits, and input and output devices.

Examples of block diagram, circuit schematic and logic diagram side by side

Designers use different diagram types depending on the level of detail needed and the audience for the drawing:

  • Block diagram (functional diagram): shows the major subsystems of a product and how they connect at a high level. No component values or symbols: just labelled boxes and arrows. Used to plan and explain system architecture before designing circuits.
  • Circuit diagram (schematic): shows every component and its logical connection using standardised symbols (resistor, capacitor, switch, diode, transistor, relay, op-amp, IC). Values are specified. Used by engineers to build, troubleshoot and modify circuits.
  • Logic diagram: shows the arrangement of logic gates (AND, OR, NOT) and their interconnections. Used to represent the decision-making or processing stage of a digital system.
  • Flow diagram: as described in 3.4.5, maps the program algorithm. Not a circuit diagram; it represents behaviour, not physical connections.

All four types are used in IB assessment. Block and flow diagrams are expected at a conceptual level; circuit and logic diagrams require correct use of standard symbols.

Case Study
A photoelectric smoke detector opened to show its internal sensor chamber

Mapping a Smoke Detector

One tiny circuit, four completely different diagrams.

Read case study →

Students must be able toDetermine the use of sensors to collect and input information into a digital system, including accelerometer (motion), ultrasonic (distance or proximity), photoresistor (light), voltage (moisture), hygrometer (humidity and air temperature), pressure (barometric), microphone (sound) and infrared (radiation or heat).

Array of sensors including LDR, PIR, ultrasonic and temperature modules

Sensors are the input stage of the IPO model: they convert a physical quantity into an electrical signal that a microcontroller can read. The choice of sensor must match the physical quantity being measured and the output format the processor expects (analog voltage, or digital signal).

SensorDetectsOutputTypical application
AccelerometerMotion, vibration, tiltAnalog / digitalPhone orientation, fall detection
UltrasonicDistance / proximityDigital (pulse timing)Parking sensors, robotics
Photoresistor (LDR)Light levelAnalog voltageAutomatic street lights
Moisture / voltageSoil or liquid conductivityAnalogPlant watering systems
HygrometerHumidity and air temperatureAnalog / digitalHVAC, weather stations
Barometric pressureAtmospheric pressureAnalog / digitalWeather apps, altimeters
MicrophoneSoundAnalog (AC)Voice control, noise monitoring
Infrared / PIRHeat, radiation, motionDigitalIntruder detection, touchless switches
Hall effectMagnetic field strengthAnalog / digitalSpeed sensors, position sensing
Gas sensorChemical concentrationAnalogCO detectors, air quality monitors

Students must be able toCreate simple circuits that use microcontrollers as a programmable integrated circuit (PIC) with appropriate software to carry out a predetermined task.

Microcontroller board with labelled I/O pins, sensor input and output connections

An embedded system is a dedicated computer system designed to perform a specific function within a larger product. Unlike a general-purpose computer, it runs one fixed program stored in its memory.

The heart of the process stage is a microcontroller (MCU), also referred to as a programmable integrated circuit (PIC). A microcontroller integrates on a single chip:

  • A processor: executes the program instructions
  • Flash memory (ROM): stores the program permanently
  • RAM: holds variables and data during operation
  • Digital I/O pins: read digital sensors and control digital outputs
  • Analog inputs (ADC): convert analog sensor voltages to digital values
  • Timers, PWM outputs, and communication interfaces (I²C, SPI, UART) for interacting with other components

Educational platforms such as Arduino (AVR/ARM microcontrollers) and Raspberry Pi (single-board computer) make it accessible to prototype embedded systems. In industry, dedicated MCUs (e.g., STM32, PIC, ATmega) are chosen for their size, power consumption and cost.

Students must be able toDescribe digital systems in terms of the binary number system, Boolean algebra, logic gates (AND, OR and NOT), combinational logic circuits and sequential logic circuits, and construct truth tables for a digital circuit.

Logic gate symbols for AND, OR and NOT with truth tables

All digital systems represent data using binary: a base-2 number system using only 0 and 1 (off and on). Multiple binary digits (bits) represent larger values: 8 bits = 1 byte, capable of representing 256 values (0–255).

Boolean algebra defines how binary values are combined using logical operations. Three fundamental gates:

  • AND (A · B): output is 1 only when both inputs are 1. Used for conditions that must all be true simultaneously.
  • OR (A + B): output is 1 when at least one input is 1. Used when any one of several conditions triggers an output.
  • NOT (Ā): inverts the input: 0 becomes 1, 1 becomes 0. Used to reverse a condition.

A truth table lists every possible combination of inputs and the corresponding output. For n inputs there are 2ⁿ rows.

Combinational logic: the output depends only on the current inputs. No memory: the same input always produces the same output. Examples: AND, OR, NOT, NAND, NOR, XOR gates.

Sequential logic: the output depends on current inputs AND previous states. Uses memory elements (flip-flops). Examples: counters, registers, state machines: the basis of most microcontrollers.

Truth tables (AND, OR, NOT)

ABA AND BA OR BNOT A
00001
01011
10010
11110

Students must be able toDetermine appropriate output devices to communicate information or physically control an environment, including motors (including servos and pumps), LCD display, buzzer and relay.

Output devices: DC motor, servo, relay, LCD display and piezo buzzer

Output devices are the third stage of the IPO model: they convert the processed electrical signal into a physical action or visible/audible communication.

Output deviceFunctionNotes
DC motorContinuous rotary motionSpeed controlled by PWM; direction by H-bridge circuit
Servo motorPrecise angular positioning (0–180°)Position set by PWM pulse width; used in robotic arms, steering
PumpFluid movementEssentially a motor with an impeller; used in irrigation, aquariums
LCD displayText and numeric informationCommunicates data to the user; requires no moving parts
Piezo buzzerAudible alert or toneSimple alarm; frequency can be varied to produce different tones
RelaySwitches a separate high-power circuit using a low-power control signalElectrically isolates the control circuit from the load circuit; used to switch mains voltage from a 5V microcontroller output

When selecting an output device, consider three things: the type of action needed (motion, information, sound), the voltage and current required by the device, and whether the microcontroller can drive it directly or needs an amplifying component (transistor, relay, or motor driver IC).

Key concept
PWM (Pulse Width Modulation)

A microcontroller's digital output pin can only be fully on or fully off; it has no way to produce an intermediate voltage directly. PWM works around this by switching the pin on and off very rapidly and varying the proportion of time it spends on, called the duty cycle. A device that responds to average power rather than to the instant-by-instant signal, such as a motor or an LED, behaves as if it were receiving a steady intermediate voltage.

A 0% duty cycle is equivalent to fully off, 100% is fully on, and 50% behaves roughly like half power. This is exactly how DC motor speed and servo position are controlled in the output device table above: a DC motor's average rotational speed scales with duty cycle, while a servo reads the pulse width of each cycle (not the average) to determine the angle it should hold.

PWM in everyday output devices
  • DC motor speed control: higher duty cycle, more average power, faster spin
  • LED dimming: the eye averages rapid flickering into a perceived brightness level
  • Servo positioning: the width of each individual pulse, not the duty cycle, encodes the target angle

Students must be able toCompare the protocol embedded systems used to communicate with other systems (Wi-Fi vs Bluetooth vs 5G).

Wireless protocol comparison diagram showing Bluetooth, Wi-Fi and 5G range and speed

Embedded systems often need to communicate with other devices or networks. The choice of wireless protocol depends on range, speed, power consumption and the infrastructure available.

Bluetooth: designed for low-power, short-range device-to-device communication. Operates at 2.4 GHz using frequency hopping to reduce interference. Typical range: ~10 m. Uses a layered protocol stack: the Controller layer (Radio, Link Manager, Voice CODEC) communicates with the Host layer (GAP, GATT, ATT, SMP, RFCOMM) via the HCI interface. GAP (Generic Access Profile) governs device discovery and connection setup. Used in: wireless earbuds, keyboards, fitness trackers, medical devices.

Wi-Fi: high-speed, medium-range local area network access. Connects devices to a router (and thus the internet). Higher power consumption than Bluetooth. Range: ~50 m indoors. Used in: laptops, smart home devices, IP cameras.

5G: fifth-generation cellular technology. Offers ultra-high data speeds, ultra-low latency, and the ability to connect massive numbers of devices simultaneously. Does not require a local router: connects directly to the cellular network. Used in: autonomous vehicles, smart cities, large-scale IoT deployments.

Case study (Australia's 3G shutdown, October 2024): Many 4G phones were designed to fall back to 3G for voice calls because 4G voice required a separate technology called VoLTE (Voice over LTE). When Australia's ACMA shut down the 3G network, non-VoLTE phones lost all voice capability, including emergency calls. Even medical alarms and personal emergency response devices stopped working. The lesson for embedded systems designers: never assume that legacy infrastructure will remain available. Design for forward compatibility and include graceful upgrade paths.

ProtocolRangeSpeedPowerInfrastructure neededBest for
Bluetooth~10 mModerateVery lowNone (peer-to-peer)Wearables, peripherals, medical sensors
Wi-Fi~50 mHighModerateRouter / access pointSmart home, streaming, internet access
5GKilometresUltra-highHigherCellular networkAutonomous vehicles, smart cities, IoT at scale

Ten questions sampling across the eleven learning objectives. Select one answer per question, then click "Check all answers" to see your score and the explanations.

Q1 · 3.4.2 Test Equipment
A technician needs to measure the current flowing through one component of a live circuit. The correct method is a:
Current must flow through the meter, so the circuit has to be opened and the meter placed in the path. Connecting a current range in parallel short-circuits the component and can destroy the meter. Voltage is measured in parallel, and resistance only with the component removed from the circuit.
Q2 · 3.4.2 Test Equipment
Which instrument is needed to diagnose ringing, the damped oscillation that follows a switching edge?
Ringing exists only in the time domain, so it needs an instrument that plots voltage against time. A multimeter returns a single number and would show nothing unusual, a clamp meter reads current magnitude, and a megohmmeter tests insulation resistance on a circuit that is not live.
Q3 · 3.4.3 V, I, R and P
A 12 V supply is connected across a 470 Ω resistor. The power dissipated is approximately:
Using P = V² / R avoids an intermediate step: 144 / 470 = 0.306 W. Working the long way gives the same result, since I = V / R = 25.5 mA and P = VI = 12 × 0.0255 = 0.306 W. The 25.5 figure is the current in milliamps, not the power.
Q4 · 3.4.4 Resistors & Capacitors
Two 100 Ω resistors in parallel are connected in series with a 50 Ω resistor. The total resistance is:
Resolve the parallel branch first: two equal resistors give R / n = 100 / 2 = 50 Ω. Adding the series resistor gives 50 + 50 = 100 Ω. Combination networks are worked from the inside out, in the same way arithmetic follows an order of operations.
Q5 · 3.4.4 Resistors & Capacitors
A low-pass RC filter is added to a mechanical switch to remove contact bounce. In this filter the capacitor is placed:
With the resistor in the signal path and the capacitor across the output, the capacitor charges through the resistor and smooths the rapid make and break of the contacts into one clean transition. Reversing the two components, with the capacitor in series, gives a high-pass filter instead, which blocks DC and passes fast signals.
Q6 · 3.4.5 Flow Diagrams
In a flow diagram, which symbol represents a yes or no branch such as "temperature above 30 °C?"
A diamond marks a decision, with two paths leaving it. A rounded rectangle is a terminator marking start or end, a parallelogram is input or output such as reading a sensor or writing to a display, and a plain rectangle is a process. Flowcharts separate what the system must do from how it will be coded.
Q7 · 3.4.7 Sensor Inputs
A reversing aid must measure how far a vehicle is from the nearest obstacle. The most appropriate sensor is:
An ultrasonic sensor emits a pulse and times the returning echo, giving a digital distance reading that suits parking sensors and robotics. A hygrometer reads humidity and air temperature, a photoresistor light level, and an accelerometer motion, vibration or tilt. Matching the sensor to the physical quantity is the first step in specifying the input stage.
Q8 · 3.4.9 Logic
An alarm must sound only when the door sensor and the motion sensor are both active. Which gate is required, and what is its output when only one input is 1?
AND outputs 1 only when every input is 1, so a single active sensor leaves the output at 0. A truth table for two inputs has 2² = 4 rows, and only the final row of an AND table gives an output of 1. OR would trigger on either sensor alone, which is not what the specification asks for.
Q9 · 3.4.10 Output Devices
A microcontroller pin can only be fully on or fully off, yet it is used to vary the speed of a DC motor. This is achieved by:
Switching rapidly and varying the duty cycle makes a device that responds to average power behave as though it were receiving an intermediate voltage. The same technique dims an LED, because the eye averages the flicker. A servo is the exception: it reads the width of each individual pulse to set its angle rather than responding to average power.
Q10 · 3.4.11 Communication Protocols
A battery-powered fitness band must sync with a phone about a metre away and run for days on one charge. The most appropriate protocol is:
Bluetooth is built for low-power peer-to-peer links of around ten metres and needs no router or network subscription, which is why wearables, earbuds and medical sensors use it. Wi-Fi offers more speed at higher power and requires an access point, while 5G reaches kilometres and suits vehicles and large-scale IoT rather than a device living on a coin cell.
Every Paper 2 question is attached to a product. Nothing here can be answered from memory alone: read the case study first, then answer the parts in order. The tariff tells you how many creditable points to make, and the command term tells you what kind of point counts. Numerical work appears under the command term Apply, which is how the specimen paper sets calculation: you apply a principle to the case study and state what the result means. Write your answer before you open either panel, then mark yourself against the markscheme rather than against the example. This topic is HL only.
Question 1 · B3.4 · HL only6 marks
Case study

A bicycle rear light runs from a single lithium cell and must stay visible for a long ride. The designer must set the current through the LED with a series resistor.

Table 1: Rear light circuit

QuantityValue
Supply voltage3.7 V
LED forward voltage2.1 V
Series resistor80 Ω
Cell capacity500 mAh
LED maximum continuous current30 mA

(a) State the purpose of the series resistor in this circuit, see Table 1. [1]

(b) Apply Ohm's law to determine the current through the LED, see Table 1. [2]

(c) Explain why the light flashes rather than shining continuously, see Table 1. [3]

Example answer

(a) To limit the current through the LED to a safe value.

(b) The resistor drops 3.7 − 2.1 = 1.6 V. Current = V ÷ R = 1.6 ÷ 80 = 0.02 A, so 20 mA. That is below the LED's 30 mA maximum, so the resistor value is safe.

(c) At 20 mA a 500 mAh cell would last about 25 hours of continuous running, and a light that has to be recharged after a few night rides will be found flat when it is needed. Flashing at a low duty cycle, for example on for a tenth of the time, cuts the mean current to about 2 mA and extends the life to hundreds of hours, which is what turns the light into something a rider can leave on the bike. The reason this works without losing the light's function is that visibility does not depend on the light being on continuously. A driver has to notice the light, and a changing source draws the eye far more effectively than a constant one of the same brightness, so a flashing light is actually more conspicuous while using a fraction of the energy. Flashing also allows the LED to be driven harder during each pulse than its continuous rating permits, because it has time to cool between pulses, so the peak brightness can exceed what 30 mA would allow continuously.

Markscheme

(a) • To limit the current through the LED ✓
• To protect the LED from excessive current ✓
• To drop the surplus supply voltage ✓

Award [1] for the correct purpose up to [1 max].

(b) Voltage in a circuit is calculated by a combination of current and resistance.
• Voltage across the resistor = 3.7 − 2.1 = 1.6 V ✓
• I = V ÷ R = 1.6 ÷ 80 = 0.02 A = 20 mA ✓
• 20 mA is below the 30 mA maximum, so the value is safe ✓

Award [1] for the correct voltage across the resistor and [1] for the correct current, up to [2 max]. Do not credit 3.7 ÷ 80, which ignores the LED forward voltage.

(c) Electronic systems utilise output devices to perform a function in response to an initial stimulus.
• At 20 mA a 500 mAh cell lasts about 25 hours of continuous running ✓
• A light needing recharging after a few night rides will be found flat when needed ✓
• Flashing at a low duty cycle cuts the mean current ✓
• On for a tenth of the time gives about 2 mA mean, extending life to hundreds of hours ✓
• That makes the light something a rider can leave on the bike ✓
• Visibility does not require the light to be on continuously ✓
• A changing source draws the eye more effectively than a constant one of equal brightness ✓
• A flashing light is more conspicuous while using less energy ✓
• The LED can be driven above its continuous rating during each pulse ✓
• It cools between pulses, so peak brightness can exceed what 30 mA allows continuously ✓

Award [1] for each relevant reason / cause explaining why the light flashes up to [3 max]. Credit both the energy argument and the conspicuity argument.

Question 2 · B3.4 · HL only6 marks
Case study

A refrigerator sounds an alarm if the door is left open. It must sound only when the door has been open for more than 45 seconds, and must not sound while the door is being opened and closed normally.

A reed switch on the door frame gives a logic HIGH when the door is open.

Table 2: Alarm system elements

ElementComponentSignal
InputReed switch and magnetDigital, HIGH when open
InputThermistor in cabinetAnalogue
ProcessTimer and logic gate
OutputPiezo sounder3 V, 15 mA

(a) State the logic gate needed to sound the alarm only when the door is open and the timer has elapsed, see Table 2. [1]

(b) Describe why a timer is required between the reed switch and the sounder, see Table 2. [2]

(c) Justify driving the piezo sounder directly from a microcontroller pin rather than through a relay, see Table 2. [3]

Example answer

(a) An AND gate.

(b) Without a timer the alarm would sound the instant the door opened, which is every time anyone takes anything out, so a signal meant to indicate a fault would accompany normal use and be ignored. The timer distinguishes the two states by duration: opening for a few seconds is normal, and remaining open past 45 seconds is a fault, and duration is the only thing separating them since the switch reads identically in both cases.

(c) A relay exists to bridge a gap between what a pin can supply and what a load needs, and here there is no gap. The sounder draws 15 mA at 3 V, which a microcontroller pin supplies directly, so a relay would be a component added to solve a problem the circuit does not have. Adding it would make the product worse in several ways: the relay itself draws more current than the sounder it switches, which matters in a device that runs continuously for years, and it is an electromechanical part with contacts that wear, so it would become the least reliable component in an otherwise solid-state circuit. It also costs more and takes board space in an appliance made in high volume. The isolation a relay provides is unnecessary because there is no mains voltage on the output side, and driving the piezo directly has a positive advantage as well, since the pin can be switched rapidly to generate the tone rather than needing a separate oscillator.

Markscheme

(a) Digital systems use logic to compare input data.
• AND ✓

Award [1] for the correct logic gate up to [1 max].

(b) Digital systems at the second stage of the input-process-output model use control circuits to monitor and control.
• Without a timer the alarm sounds the instant the door opens ✓
• That is every time anyone takes anything out ✓
• A fault signal accompanying normal use would be ignored by the user ✓
• The timer distinguishes the two states by duration ✓
• Opening for a few seconds is normal; staying open past 45 s is a fault ✓
• The switch reads identically in both cases, so duration is the only distinguishing information ✓
• It also prevents nuisance alarms from switch bounce as the door closes ✓

Award [1] for each detail, leading to an account of why a timer is required, up to [2 max].

(c) Electronic systems utilise output devices to perform a function, and interface components are selected to match the load.
• A relay bridges a gap between pin capability and load demand ✓
• The sounder draws 15 mA at 3 V, which a pin supplies directly ✓
• There is no gap, so a relay solves a problem the circuit does not have ✓
• A relay coil draws more current than the sounder it switches ✓
• That matters in an appliance running continuously for years ✓
• A relay is electromechanical with contacts that wear ✓
• It would be the least reliable component in an otherwise solid-state circuit ✓
• It costs more and takes board space in a high volume product ✓
• Isolation is unnecessary, since there is no mains voltage on the output side ✓
• A directly driven pin can be switched rapidly to generate the tone ✓
• No separate oscillator is then required ✓

Award [1] for each valid reason / piece of evidence justifying direct drive up to [3 max]. Award a maximum of [2] where the response does not compare the load with the pin's capability.

Question 3 · B3.4 · HL only10 marks
Case study · part 1

A beekeeper wants to monitor hives remotely. Opening a hive to inspect it chills the colony and disturbs the bees, so a monitor that reports on the colony without opening it would reduce the number of inspections needed.

Hives stand in fields with no mains power and no reliable phone signal.

(a) Identify two input devices that would report usefully on a colony without the hive being opened. [2]

Case study · part 2

Table 3: Monitor specification

ElementComponentDetail
InputLoad cell under the hiveAnalogue, 0–200 kg
InputTemperature and humidity sensorDigital, in the brood box
ProcessMicrocontrollerSleeps between readings
OutputRadio transmitterSends once per hour
PowerSolar panel and cell2 W panel, 6600 mAh cell

(b) Outline what a change in the load cell reading tells the beekeeper, see Table 3. [2]

Case study · part 3

The microcontroller spends most of each hour asleep, drawing a few microamps, waking briefly to take a reading and transmit.

(c) Describe why the microcontroller sleeps between readings, see Table 3. [2]

Case study · part 4

The designer must choose how the monitor sends its data. Wi-Fi needs a nearby access point. A mobile connection needs signal and a monthly subscription per hive. A long-range low-power radio can reach several kilometres to a single receiver at the beekeeper's house, but sends only small amounts of data.

(d) Explain which communication method should be selected, see Table 3. [4]

Example answer

(a) A load cell under the hive to weigh it, and a temperature sensor in the brood box.

(b) A steady rise through the day means the bees are bringing in nectar, so the colony is foraging and the flow is on, and a rise fast enough to fill the box tells the beekeeper to add another before the bees run out of room. A fall means the colony is consuming stores rather than gathering, and a sudden large drop means the hive has swarmed or been stolen or knocked over.

(c) The monitor runs from a 2 W panel in a field, and a microcontroller drawing its full running current continuously would flatten a 6600 mAh cell in a few days and could not be recharged through winter or a run of dull weather. Sleeping at a few microamps means the device draws almost nothing for the 59 minutes an hour when it has nothing to do, so the average current is set by the brief wake period, and the cell lasts through periods when the panel generates almost nothing.

(d) The long-range low-power radio is the correct selection, because the constraints in this application are exactly the ones it is designed for.

Wi-Fi fails first. It needs an access point within a few tens of metres, and the hives are in fields, so there is nothing to connect to. Even if a link could be arranged, Wi-Fi is power hungry, and a device on a 2 W panel cannot afford a radio that draws heavily every time it associates with a network.

A mobile connection is technically workable but poorly matched. The case study says signal is unreliable, and a monitor that reports only when the network happens to be available is worth little, since the events the beekeeper cares about are exactly the ones needing prompt action. The subscription per hive is the bigger objection, because a beekeeper with twenty hives pays twenty subscriptions forever, and the monitor's value is saving inspections rather than generating income.

The low-power radio matches every constraint. Several kilometres covers hives in fields around a beekeeper's house, one receiver serves every hive so there is no cost per unit, and there is no subscription at all. Its limitation, that it sends only small amounts of data, costs nothing here: the payload is a weight, a temperature and a humidity figure once an hour, which is a few bytes. Low power is not merely acceptable but necessary, since the transmitter is the largest single consumer in the device and cutting its energy is what makes the solar budget work.

The design should therefore use the low-power radio, with the receiver at the house handling the internet connection. That puts the mains-powered part where mains power exists and keeps every hive-mounted unit cheap, subscription-free and within its energy budget.

Markscheme

(a) Digital systems at the first stage of the input-process-output model use inputs to sense changes in their environment.
• Load cell to weigh the hive ✓
• Temperature sensor in the brood box ✓
• Humidity sensor ✓
• Microphone to detect colony sound ✓
• Accelerometer to detect the hive being knocked or moved ✓
• Infrared beam counting bees at the entrance ✓

Award [1] for each relevant input device up to [2 max]. The device must work without the hive being opened.

(b) Electronic systems utilise input devices to identify a change in an environment that requires a response.
• A steady rise through the day means nectar is being brought in ✓
• The colony is foraging and the nectar flow is on ✓
• A fast rise warns that another box is needed before the bees run out of room ✓
• A fall means the colony is consuming stores rather than gathering ✓
• A sustained fall in winter tracks stores and warns of starvation ✓
• A sudden large drop indicates a swarm, theft, or the hive being knocked over ✓
• The trend matters more than the absolute value ✓

Award [1] for each relevant brief point on what a weight change indicates up to [2 max]. Credit both rising and falling interpretations.

(c) Electronic systems are designed so that they may be used responsibly, including managing their energy consumption.
• The monitor runs from a 2 W panel in a field with no mains ✓
• Continuous running would flatten a 6600 mAh cell in a few days ✓
• It could not be recharged through winter or a run of dull weather ✓
• Sleeping at a few microamps draws almost nothing for 59 minutes of each hour ✓
• Average current is set by the brief wake period ✓
• The cell then lasts through periods when the panel generates little ✓
• Hourly readings are frequent enough for the events being monitored ✓
• It also allows a smaller cell and panel, reducing cost per hive ✓

Award [1] for each detail, leading to an account of why the microcontroller sleeps, up to [2 max].

(d) Digital systems at the third stage of the input-process-output model use the output to communicate to or control their environment.
Rejecting Wi-Fi:
• Needs an access point within a few tens of metres ✓
• The hives are in fields, so there is nothing to connect to ✓
• Wi-Fi draws heavily on every association, which the 2 W panel cannot support ✓
Rejecting mobile:
• Signal is stated to be unreliable at the hive sites ✓
• A monitor reporting only when the network allows is worth little ✓
• The events the beekeeper cares about are the ones needing prompt action ✓
• A subscription per hive multiplies across twenty hives, forever ✓
• The monitor saves inspections rather than generating income, so recurring cost is hard to justify ✓
Selecting the low-power radio:
• Several kilometres covers hives in fields around the beekeeper's house ✓
• One receiver serves every hive, so there is no cost per unit ✓
• No subscription at all ✓
• The small payload limit costs nothing, since a reading is a few bytes ✓
• Low power is necessary, not merely acceptable ✓
• The transmitter is the largest single consumer, so its energy decides the solar budget ✓
System design:
• The receiver at the house handles the internet connection ✓
• That puts the mains-powered part where mains power exists ✓
• Every hive-mounted unit stays cheap and within its energy budget ✓

Award [1] for each relevant detail / reason / cause supporting the selection up to [4 max]. Credit a justified selection of any method. Award a maximum of [3] where the response does not weigh at least two options against the constraints in Table 3.

Circuit Construction Kit: DC, PhET Interactive Simulations
phet.colorado.edu/en/simulations/circuit-constructi…
Build series and parallel resistor networks, add capacitors, and measure with virtual instruments. Test your Ohm’s law and RC filter understanding here before building the real circuit.
Multimeter, Wikipedia
en.wikipedia.org/wiki/Multimeter
Meter types and how to connect for voltage, current and resistance, with diagrams of series and parallel connection and what happens when you get it wrong. Supports 3.4.2.
Bluetooth, Wikipedia
en.wikipedia.org/wiki/Bluetooth
The protocol stack, frequency hopping at 2.4 GHz and the version history. Covers the controller and host layers referenced in 3.4.11.
The Engineering Mindset, YouTube channel
youtube.com/c/Theengineeringmindset
Animated coverage of multimeter use, oscilloscope basics and single phase against three phase power. Technically accurate and pitched at the right level for HL.

Linking Questions

  • How does the foundational understanding of electronic components introduced in A3.4 inform the selection and application of circuits in product design? (A3.4)
  • In what ways can the IPO model be applied to the design of user-centred products, and what role do sensors play in gathering the data needed to meet user needs? (B1.1)
  • To what extent does the choice of wireless communication protocol affect the sustainability, repairability and end-of-life strategy of a connected product? (C2.1)
  • How might the increasing integration of electronics into everyday products change what designers must consider when conducting life cycle analyses? (C3.2)
  • How do the design decisions made during electronic system selection affect the inclusivity of a product for users with varying technical literacy? (C1.2)