Analog signals
In the 3D model, choose Analog and digital. The top trace is an analog signal: like the needle on a dial, it changes smoothly and can take any value within its range. Sound in the air, the current from a microphone and a temperature reading are analog.
Digital signals
The bottom trace is digital: it takes only a few fixed values, usually two, 0 and 1 (binary). Computers, phones and the internet store and send everything as streams of 0s and 1s.
From analog to digital
Choose From analog to digital. Three steps:
- Sample: measure the analog signal at regular moments.
- Quantise: round each sample to the nearest of a fixed set of levels. With n bits there are levels; the model uses 3 bits, 8 levels.
- Code: write each level as a binary number (level 5 → 101).
Sample often enough, at least twice the highest frequency in the signal. A phone samples speech (up to 4 kHz) 8000 times a second at 8 bits per sample: 64 000 bits every second.
Why digital wins over distance
Choose Noise and repeaters. Over long distances a signal must be boosted again and again.
- An analog repeater amplifies whatever arrives, noise included, so the noise piles up stage after stage.
- A digital regenerator only has to decide “is this a 0 or a 1?” and sends out a fresh, clean pulse. The noise is thrown away at every step.
Digital signals can also be checked for errors, compressed, encrypted and mixed with other data easily. Their price is more bandwidth.
| Analog | Digital | |
|---|---|---|
| values | any, continuous | a few fixed values (0, 1) |
| effect of noise | builds up | removed at each regenerator |
| bandwidth needed | less | more |
| examples | AM/FM radio, old telephones | mobile phones, internet, digital TV |
Worked example
Music up to 20 kHz is recorded with 16 bits per sample. Find the minimum sampling rate and the bits per second for one channel.
- Sampling rate: 40 000 samples/s (CDs use 44 100).
- Bits per second: 640 000 bits/s.
Remember: analog signals vary smoothly; digital signals take fixed values (0 and 1); sample at twice the highest frequency, quantise into levels, code in binary; digital signals can be regenerated free of noise.
Formulas and where to use them
Number of levels
- where
- number of bits per sample
Use it when: 3 bits give 8 levels; 8 bits give 256.
Sampling rate
- where
- highest frequency in the signal
Use it when: Turning an analog signal into digital without losing information.
Common mistakes
- Thinking digital means electronic. An analog signal can be electronic too; digital means it takes only a few fixed values.
- Sampling too slowly. At least twice the highest frequency is needed, or the shape is lost.
- Expecting digital signals to be noise-free in the channel. They get noisy too, but the receiver only has to decide 0 or 1.
Quick check
Test yourself — pick an answer to see if you got it.
1. An analog signal…
It varies smoothly.
2. A digital signal usually takes…
Binary.
3. With 4 bits per sample, the number of levels is…
.
4. Speech up to 4 kHz should be sampled at least…
Twice the highest frequency.
5. Digital signals are better over long distances because…
Each regenerator just decides 0 or 1.