A1141 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 Q(1/σ). How many draws do you need before the count is trustworthy?

Predict

A link has a bit error rate of 10−9 and runs at 1 Gb/s. About how often does a bit error happen?

Name it

Errors from noise

Binary signaling. Send +A for a 1 and −A for a 0, add Gaussian noise of RMS σ, and decide by the sign. A 1 is misread only if the noise is below −A, which has probability Q(A/σ); a 0 is misread by symmetry with the same probability. So the bit error rate is

BER=Q(Aσ)

with Q the Gaussian tail from lesson 16.

It's steep. Because the Gaussian tail falls off faster than exponentially, small changes in A/σ make huge changes in the error rate:

A/σSNR, 20log10⁡(A/σ)BER
26.0 dB2.3×10−2
39.5 dB1.35×10−3
412.0 dB3.2×10−5
514.0 dB2.9×10−7
615.6 dB9.9×10−10

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 p, you need to send enough bits to get a fair number of errors: about 10/p bits for a rough estimate, since a count of k errors is uncertain by about k. At 10−12 and 10 Gb/s, that's about 17 minutes of testing.

More to come. Real links describe the SNR per bit as Eb/N0, 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
  1. Signal over noise. A/σ=4
  2. BER. BER=Q(4)=3.2×10−5
  3. Errors per second. At 1010 bits per second that's about 320,000 errors per second, far too many for most links.

Answer the BER is 3.2×10−5, about 320,000 errors per second.

Worked example

How much does doubling A/σ from 3 to 6 change the BER?

Show the solution
  1. At 3. Q(3)=1.35×10−3
  2. At 6. Q(6)=9.9×10−10
  3. 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 1.35×10−3 to 9.9×10−10.

Worked example

A link has A/σ=4. What is its bit error rate?

Show the solution
  1. BER. BER=Q(4)=3.2×10−5 about one error in 31 600 bits.
  2. One more decibel. Raising A/σ to 4.49 cuts it to 3.6×10−6, almost nine times lower, because the Gaussian tail falls so steeply.

Answer the BER is 3.2×10−5.

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, 20log10⁡(A/σ) = 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 A/σ = 4.

(a)

What is its BER?

(b)

How many errors per second?

Check

Symbols are ±A with Gaussian noise s.

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°.

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 Q(2) 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?

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.