How does a comparator switch its output when a sensor voltage crosses a reference level?
Comparators: comparing two voltages, the reference set by a potential divider, the digital output, and using a comparator to make a sensing system switch at a threshold.
An Eduqas GCSE Electronics answer on comparators: how a comparator compares two input voltages and switches its output high or low, setting the reference with a potential divider, the digital nature of the output, and combining a sensor divider with a comparator to switch a circuit at a chosen threshold.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
Eduqas wants you to use a comparator: it compares two voltages and gives a digital (high or low) output depending on which is larger, with one input set as a reference by a potential divider. You must combine a sensor divider with a comparator to make a system switch at a chosen threshold. The comparator is the processing block that turns a slowly changing sensor voltage into a clean on/off decision.
The answer
Comparing two voltages
The reference voltage
The digital output
Building a threshold-switching system
Examples in context
The comparator is the standard processing block of GCSE sensing systems: a light-operated switch, a frost alarm, a temperature-controlled fan and a liquid-level alarm all use a sensor divider, a comparator with an adjustable reference, and a transistor output stage. The same component appears as an op-amp used open-loop, linking this topic to operational amplifiers, and the input-process-output structure is the backbone of the non-exam assessment system design.
Try this
Q1. State the condition for a comparator output to be high. [1 mark]
- Cue. The non-inverting () input voltage is above the inverting () input voltage.
Q2. A comparator has on the inverting input and on the non-inverting input. State the output. [1 mark]
- Cue. High ().
Q3. State how the switching threshold of a sensing comparator is usually set and made adjustable. [2 marks]
- Cue. By a potential divider giving the reference voltage, with a variable resistor (potentiometer) to adjust it.
Exam-style practice questions
Practice questions written in the style of WJEC Eduqas exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Eduqas 20194 marksA comparator has a reference voltage of on its inverting input. A light sensor produces in the dark, rising to in bright light, connected to the non-inverting input. State the comparator output (high or low) in the dark and in bright light, and explain your answer.Show worked answer →
In the dark (up to 2 marks): the non-inverting input () is below the inverting reference (), so the output is low. A comparator drives its output low when the non-inverting input is below the inverting input.
In bright light (up to 2 marks): the non-inverting input () is above the reference (), so the output switches high.
Markers reward comparing each sensor voltage with the reference and the correct high/low output, with the rule that the output is high when the non-inverting input exceeds the inverting input.
Eduqas 20225 marksDescribe how to build a circuit that switches on a heater when the temperature falls below a set value, naming the subsystems and explaining how the threshold is set.Show worked answer →
Subsystems (up to 3 marks): a sensing subsystem (an NTC thermistor and a fixed resistor in a potential divider) produces a voltage that changes with temperature; a comparator compares this with a reference voltage set by a second potential divider; the comparator output drives a processing/output stage (a transistor switch) that turns on the heater.
Threshold and behaviour (up to 2 marks): the reference divider sets the temperature at which switching occurs. Arrange the thermistor so the sensor voltage rises as the temperature falls; when it crosses above the reference the comparator output goes high and switches on the heater. A variable resistor in the reference (or sensor) divider lets the threshold be adjusted.
Markers reward the input-process-output structure, the comparator comparing the sensor voltage with a divider-set reference, and a correct explanation of how crossing the threshold switches the heater.
Related dot points
- Potential dividers: the potential-divider equation, choosing resistor values for a target output voltage, and the effect of loading the output.
An Eduqas GCSE Electronics answer on potential dividers: how two series resistors split the supply, the potential-divider equation, choosing resistor values for a target output voltage, and how connecting a load changes the output.
- Sensing subsystems: light-dependent resistors and thermistors, their resistance behaviour, and building light and temperature sensing circuits with potential dividers.
An Eduqas GCSE Electronics answer on sensing subsystems: how a light-dependent resistor and an NTC thermistor change resistance, and how to build light and temperature sensing circuits with potential dividers, including choosing which way round to put the sensor.
- Transistor switching: the bipolar transistor as a switch, cut-off and saturation, current gain, and choosing the base resistor to drive a load.
An Eduqas GCSE Electronics answer on using a bipolar transistor as a switch: the cut-off and saturation states, current gain relating collector and base current, and choosing the base resistor so a small input current turns on a larger load current.
- Operational amplifiers: the op-amp as a high-gain amplifier, negative feedback, and the inverting and non-inverting amplifier gains.
An Eduqas GCSE Electronics answer on operational amplifiers: the op-amp as a very high-gain difference amplifier, how negative feedback sets a stable gain, the inverting and non-inverting amplifier configurations and their gain equations, and the voltage follower as a buffer.
Sources & how we know this
- WJEC Eduqas GCSE (9-1) Electronics specification (C490) — WJEC Eduqas (2017)