Analogue and Digital Signals
Digital systems turn continuously varying analogue signals into strings of ones and zeros. This topic covers bits and bytes, sampling and quantisation, how sampling rate and bits per sample affect quality, pulse code modulation, and why digital signals survive noise better. It is part of Electronics, an AQA Paper 3 Section B option (spec 3.13.2.1).
Key points
- Electronics is one of the five options in AQA A Level Physics (7408). It is examined in Section B of Paper 3, so only study it if it is the option your school has chosen. The data and formulae booklet has a page of its equations.
- An analogue signal can take any value; a digital signal has just two levels, standing for one and zero. A bit is one binary digit and a byte is eight bits. With $n$ bits per sample there are $2^n$ quantisation levels.
- Analogue-to-digital conversion samples the signal at regular intervals and rounds each sample to the nearest level, which is quantisation. The sampling rate must be at least twice the highest frequency in the signal, or the original cannot be rebuilt.
- More bits per sample means smaller steps and less quantisation error; a higher sampling rate follows rapid changes more closely. Both raise the bit rate, which is the sampling rate times the bits per sample, times the number of channels.
- Pulse code modulation sends each sample as a binary number, a pattern of pulses.
- Noise adds random changes. An analogue signal cannot be cleaned up, but a digital receiver only has to decide whether each pulse is high or low, so regenerators can rebuild clean pulses. The costs are a larger bandwidth and some quantisation error. Sensors such as microphones, thermistors and strain gauges give analogue signals that must be converted first.
Worked example
Question. Music is sampled at 44.1 kHz with 16 bits per sample on each of two channels. Calculate the number of quantisation levels, the bit rate and the storage needed for 3.0 minutes in bytes.
- Levels $= 2^{16} = 65536$
- Bit rate $= 44100 \times 16 \times 2 = 1.41 \times 10^{6}$ bits per second
- Storage $= \frac{1.41 \times 10^{6} \times 180}{8} = 3.18 \times 10^{7}$ bytes
Answer. 65536; $1.41 \times 10^{6}$ bits per second; $3.18 \times 10^{7}$ bytes
Common mistakes
- Forgetting there are eight bits in a byte.
- Sampling at the highest signal frequency instead of at least twice it.
- Thinking $n$ bits give $2n$ levels rather than $2^n$.