EuraStudy
Real-world signals are analogue but modern processing is digital, so conversion between the two domains is essential. This chapter explains why conversion is needed and develops the digital-to-analogue converter (the summing DAC), the resolution and quantisation of an analogue-to-digital converter, and the flash and successive-approximation ADC architectures.
4 sections~15 min reading time3 competencies
basic level
At AS the focus is the reason for conversion, the summing DAC and the meaning of resolution and number of levels.
higher level
The full A-Level develops quantisation error and the flash and successive-approximation ADC architectures with quantitative code calculations.
4 sections8 key takeaways6 formulas8 mistake warnings
The analogue-digital-analogue signal chain
Levels from n bits
An n-bit converter distinguishes 2^n amplitude levels.
An audio signal contains frequencies up to and is digitised by an -bit ADC with a to range. State the minimum sampling rate, the number of levels and the smallest voltage step.
By the Nyquist criterion the rate must be at least twice the highest frequency: .
bits give distinct levels.
The step is the range divided by the number of levels: .
Result: Sample at ; levels give a step — fine enough for the range.
Typical mistakes
Active revision
Sketch the block diagram of a digital audio system from microphone to loudspeaker, naming the ADC and DAC, and state one advantage of processing the sound digitally.
Active recall
Recall the key points — then reveal.
Sources: WJEC/Eduqas GCE Electronics specification (WJEC / Eduqas)
Binary-weighted DAC
DAC output
Output proportional to the input number D for an n-bit converter.
Binary weighting
Halving the resistor doubles the current, giving successive binary place values.
A 4-bit binary-weighted DAC gives at full scale (input is treated as the maximum, with steps). Find the step size and the output for , and .
With steps over the range, one step is (this is the output for ).
, so — half of full scale, as expected for the MSB alone.
, so .
Result: Step ; outputs are (), () and () — proportional to the input number.
Typical mistakes
Active revision
A 4-bit binary-weighted DAC has a full-scale output of (for input ). Find the output for the input codes , and , and state the size of one step.
Active recall
Recall the key points — then reveal.
Sources: WJEC/Eduqas GCE Electronics specification (WJEC / Eduqas)
Quantisation staircase
Resolution
Step size is full scale divided by the number of levels.
Quantisation error
Rounding to the nearest level can be wrong by up to half a step.
Resolution versus bit count
An 8-bit ADC digitises the range to . Find the step size, the code for an input of , the reconstructed voltage and the maximum quantisation error.
.
, which is in binary.
Reconstructed ; the maximum quantisation error is .
Result: Step ; gives code (), and the quantisation error is at most .
Typical mistakes
Active revision
An 8-bit ADC has a to range. Find the step size, the code produced by an input of , and the maximum quantisation error.
Active recall
Recall the key points — then reveal.
Sources: WJEC/Eduqas GCE Electronics specification (WJEC / Eduqas)
Successive-approximation ADC
Converter cost and speed
Flash is fastest but hardware-heavy; successive approximation needs only n comparisons.
A 4-bit successive-approximation ADC has bit weights (MSB to LSB). Convert an input of .
Try . Since , keep the bit: code so far .
Try . Since , clear the bit: code back to .
Try . Since , keep the bit: code .
Try . Since , keep the bit: final code .
Result: The conversion completes in four steps with the code , representing exactly .
Typical mistakes
Active revision
A 4-bit successive-approximation ADC has a reference such that the bit weights are . Trace the conversion of an input of and give the final code.
Active recall
Recall the key points — then reveal.
Sources: WJEC/Eduqas GCE Electronics specification (WJEC / Eduqas)
Full version via the depth control — same place, same anchors
References & sources
WJEC / Eduqas