How is an analogue signal turned into digital form, and what sets the quality of the conversion?
Analogue-to-digital conversion: sampling, the sampling rate and the Nyquist criterion, quantisation, resolution and the number of bits, and quantisation error.
A focused answer to WJEC A-Level Electronics analogue-to-digital conversion, covering sampling and the sampling rate, the Nyquist criterion, quantisation into levels, resolution and the number of bits, and quantisation error.
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
Real-world signals are analogue, but processing and storage are digital, so conversion sits at the heart of modern electronics. WJEC expects you to explain sampling and the sampling rate, state the Nyquist criterion and the consequence of breaking it (aliasing), describe quantisation into levels, and calculate resolution from the number of bits. Resolution calculations and the Nyquist/aliasing argument are reliable, high-mark exam content.
The answer
Sampling and the Nyquist criterion
If the rate is too low, aliasing occurs: high frequencies masquerade as false lower frequencies that were never in the original. This is why audio is sampled at 44.1 kHz, comfortably above twice the 20 kHz limit of human hearing.
Quantisation and resolution
Quantisation error
Because each sample is rounded to the nearest level, there is always a small quantisation error, at most half a step. Increasing the number of bits shrinks the step and so shrinks this error, which is why high-quality audio uses 16 or 24 bits.
Examples in context
- Example 1. Digitising audio for a music file
- A microphone signal is sampled at 44.1 kHz and quantised to 16 bits, giving levels. The high sample rate captures frequencies up to about 22 kHz (satisfying Nyquist for human hearing) and the many levels keep the quantisation error inaudible.
- Example 2. A microcontroller reading a sensor
- A temperature sensor's analogue voltage is read by the 10-bit ADC built into a PIC, giving 1024 levels across the reference voltage. The resolution sets the smallest temperature change the system can detect, which is why a higher-bit ADC is chosen when fine measurement matters.
- Example 3. Anti-aliasing before sampling
- Because frequencies above half the sample rate would alias, a low-pass anti-aliasing filter is placed before the ADC to remove them first. This filter is essential: without it, out-of-band noise would fold down into the signal band and could not be removed afterwards.
Try this
Q1. An ADC samples at . What is the highest signal frequency it can capture without aliasing? [1 mark]
- Cue. Half the sample rate, so (the Nyquist frequency).
Q2. A 4-bit ADC has a full-scale of . Find the number of levels and the resolution. [2 marks]
- Cue. Levels ; resolution per step.
Exam-style practice questions
Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
WJEC Eduqas 20205 marksAn ADC has an 8-bit output and a reference (full-scale) voltage of . Calculate the number of quantisation levels, the resolution (the voltage of one step), and explain what happens to the resolution if the number of bits is increased to 10.Show worked answer →
An n-bit ADC divides the input range into levels.
Levels for 8 bits: .
Resolution (one step): per step.
Increasing to 10 bits gives levels, so the resolution becomes per step. More bits give smaller steps, so the digital value tracks the analogue signal more finely and the quantisation error falls.
Markers reward the 256 levels, the resolution of about , and the statement that more bits give finer resolution and less quantisation error.
WJEC Eduqas 20184 marksState the Nyquist criterion and explain what happens to a tone if it is sampled at .Show worked answer →
The Nyquist criterion states that a signal must be sampled at a rate of at least twice its highest frequency component for it to be reconstructed faithfully.
For a tone, the minimum sampling rate is .
Sampling at only is below this minimum, so the signal is under-sampled and aliasing occurs: the tone appears as a false lower-frequency signal (here ) that was never present, corrupting the reconstruction.
Markers reward the at-least-twice statement, the minimum, and aliasing producing a false lower-frequency tone.
Related dot points
- Digital-to-analogue conversion: the summing-amplifier (weighted-resistor) DAC, the R-2R ladder DAC, the output equation, and reconstruction with a low-pass filter.
A focused answer to WJEC A-Level Electronics digital-to-analogue conversion, covering the summing-amplifier weighted-resistor DAC, the R-2R ladder DAC, the output voltage equation, and how a low-pass reconstruction filter smooths the stepped output.
- Operational amplifier properties and the comparator: the ideal op-amp, open-loop gain, the comparator with and without hysteresis, and the Schmitt trigger.
A focused answer to WJEC A-Level Electronics operational amplifier properties and the comparator, covering the ideal op-amp model, open-loop gain, the inverting and non-inverting comparator, hysteresis, and the Schmitt trigger.
- Microcontroller architecture and interfacing: the structure of a microcontroller (CPU, memory, ports), digital input and output ports, interfacing switches, sensors and output devices, and the on-chip ADC.
A focused answer to WJEC A-Level Electronics microcontroller architecture and interfacing, covering the structure of a microcontroller (CPU, memory and ports), digital input and output ports, interfacing switches, sensors and output devices, and the on-chip analogue-to-digital converter.
- Instrumentation systems: sensors and transducers, the Wheatstone bridge, signal conditioning and amplification, calibration, and the use of the instrumentation amplifier.
A focused answer to WJEC A-Level Electronics instrumentation systems, covering sensors and transducers, the Wheatstone bridge for resistive sensors, signal conditioning and amplification, calibration, and the role of the instrumentation amplifier.
- Communication principles and modulation: the structure of a communication system, the need for a carrier, amplitude and frequency modulation, bandwidth, data rate, and noise and distortion.
A focused answer to WJEC A-Level Electronics communication principles and modulation, covering the structure of a communication system, the need for a carrier, amplitude and frequency modulation, bandwidth and data rate, and the effects of noise and distortion.
Sources & how we know this
- WJEC Eduqas GCE A-level Electronics specification — WJEC Eduqas (2017)