A11 · Lesson 41 · Bit errors, a preview of BER
How noise turns into wrong bits, and how rarely
A digital receiver sees a voltage and has to decide: was that a 1 or a 0? Most of the time the noise is far too small to fool it. But Gaussian noise has tails that never quite end, so once in a while a noise spike carries the voltage across the threshold and a bit flips. How often depends on the signal-to-noise ratio, and very steeply: a few decibels can mean the difference between an error every second and one every year.
Play
- Bits are sent as +1 V or −1 V, with Gaussian noise of RMS σ added. The receiver decides by the sign: the dashed line at zero is the threshold.
- Raise σ. Where do the two humps start to overlap? Every draw that lands on the wrong side of zero is a bit error.
- In the second sim only 1s are sent, and the readout counts how many land below zero. Compare it with . How many draws do you need before the count is trustworthy?
Predict
A link has a bit error rate of and runs at 1 Gb/s. About how often does a bit error happen?
About once a second: a billion bits a second times a one-in-a-billion chance each. Error rates that sound negligible aren't, at high data rates. That's why links add error-correcting codes, and why engineers care about the steep part of the curve: each extra dB of SNR near there divides the error rate by a large factor.
Name it
Errors from noise
Binary signaling. Send for a 1 and for a 0, add Gaussian noise of RMS σ, and decide by the sign. A 1 is misread only if the noise is below , which has probability ; a 0 is misread by symmetry with the same probability. So the bit error rate is
with the Gaussian tail from lesson 16.
It's steep. Because the Gaussian tail falls off faster than exponentially, small changes in make huge changes in the error rate:
| SNR, | BER | |
|---|---|---|
| 2 | 6.0 dB | |
| 3 | 9.5 dB | |
| 4 | 12.0 dB | |
| 5 | 14.0 dB | |
| 6 | 15.6 dB |
Going from 12 to 15.6 dB, less than a factor of 2.3 in power, cuts the error rate by more than 30,000 times. Plotted on a log scale against SNR, the BER curve drops like a waterfall, which is what it's called.
Measuring it. To see a rate of , you need to send enough bits to get a fair number of errors: about bits for a rough estimate, since a count of errors is uncertain by about . At and 10 Gb/s, that's about 17 minutes of testing.
More to come. Real links describe the SNR per bit as , use many signal levels and shapes, and add coding. The constellation and eye diagrams in the communications courses build on exactly this calculation.
Worked example
A 10 Gb/s link sends ±1 V with 0.25 V RMS of noise. What is its BER, and how many errors per second?
Show the solution
- Signal over noise.
- BER.
- Errors per second. At bits per second that's about 320,000 errors per second, far too many for most links.
Answer the BER is , about 320,000 errors per second.
Worked example
How much does doubling from 3 to 6 change the BER?
Show the solution
- At 3.
- At 6.
- Compare. That's about 1.4 million times fewer errors for 6 dB more SNR. The Gaussian tail makes error rates fall off a cliff.
Answer it cuts the BER about 1.4 million times, from to .
Worked example
A link has . What is its bit error rate?
Show the solution
- BER. about one error in 31 600 bits.
- One more decibel. Raising to 4.49 cuts it to , almost nine times lower, because the Gaussian tail falls so steeply.
Answer the BER is .
Check
Bits are sent as ±1 V with Gaussian noise of 0.5 V RMS, decided by sign. What is the bit error rate?
Check
A link runs at 1 Mb/s with a bit error rate of 1 × 10⁻⁹. How many errors should you expect in an hour?
Check
You want to see about 10 errors to measure a BER near 1 × 10⁻⁹ on a 1 Gb/s link. How long must the test run?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
For ±A signaling, = 9.5 dB. What is the BER?
Check
A receiver's threshold drifts from 0 V to +0.2 V, with bits at ±1 V and Gaussian noise. What happens to the error rate?
Check
A 1 Gb/s link has = 4.
(a)
What is its BER?
(b)
How many errors per second?
Check
Symbols are with Gaussian noise .
Step 1
How many standard deviations separate a symbol from the threshold?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the error rate?
Check
Simulate 10⁶ bits of ±1 with Gaussian noise of σ = 0.5 (np.random.default_rng(6)), decide by sign, and set ber_sim; set ber_q to computed with math.erfc.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does a small increase in SNR reduce the bit error rate so dramatically?
A bit error needs the noise to exceed the gap between the signal level and the threshold. For Gaussian noise the chance of exceeding a value falls off like , faster than exponentially, so near the tail every extra bit of margin removes a much larger share of the remaining probability than the last. Raising the signal by a few dB moves the threshold several tenths of a standard deviation further into the tail, which can cut the error rate by orders of magnitude.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.