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

D12 · Lesson 7 · BPSK and QPSK

Sending bits as the phase of a carrier, BPSK's two phases and QPSK's four, the in-phase and quadrature parts and the constellation they draw, Gray coding, mixing down and integrating over a symbol to demodulate, and error rates against Eb/N0

FSK spends bandwidth on two tones and only ever uses one at a time. Phase-shift keying keeps a single carrier and flips its phase instead: 0° for a 1, 180° for a 0 is BPSK, and it needs about 4 dB less signal than noncoherent FSK for the same error rate. A cosine and a sine at the same frequency are independent of each other, so a second BPSK signal can ride on the sine at the same time: that's QPSK, two bits per symbol in the same bandwidth. Wi-Fi, satellites and phones all start from it.

  • The constellation: each received QPSK symbol plotted as its in-phase part I (horizontal) and quadrature part Q (vertical), at the chosen Eb/N0.
  • Noise spreads each point into a cloud; a symbol is wrong when its cloud crosses a decision boundary (the axes).
  • A carrier phase error θ rotates every point. Watch how quickly a rotation pushes the clouds toward the boundaries; lesson 8 is about removing it.

Predict

BPSK sends 1 bit per symbol and QPSK sends 2. At the same Eb/N0 (energy per bit over noise density), how do their bit error rates compare?

Name it

Phase-shift keying

A symbol a=I+jQ is sent as

s(t)=Icos⁡(2πfct)−Qsin⁡(2πfct)=Re⁡{aej2πfct}

so its amplitude is |a| and its phase is ∠a. BPSK uses a = ±1; QPSK uses the four points (±1±j)/2. The plot of the points is the constellation.

Gray coding

Neighboring points differ in one bit: 00, 10, 11, 01 around the circle. Noise usually pushes a symbol into a neighbor, so a symbol error then costs only one bit.

Demodulation

Multiply by the carrier and integrate over the symbol:

I^=2N∑nx[n]cos⁡ωn,Q^=−2N∑nx[n]sin⁡ωn

The products contain the symbol plus terms at twice the carrier, and the integration removes those. In this modem the carrier is 1800 Hz with 8 samples per 1200-baud symbol: the double-frequency terms turn 0.75π per sample, three whole turns per symbol, so they sum to exactly zero. Integrating over the symbol is the matched filter for rectangular pulses.

Error rates

With white noise of density N0,

Pb=Q(2Eb/N0)

for both BPSK and QPSK with Gray coding. That's 10−5 at 9.6 dB; noncoherent FSK needs about 13.4 dB. Per symbol, QPSK's Es=2Eb.

Phase errors

A carrier phase error φ shrinks BPSK's decision value by cos φ. In QPSK it also leaks Q into I: the worst case is cos⁡φ−sin⁡φ of the full value, zero at 45°.

Worked example

What bit error rate does BPSK reach at Eb/N0 = 9.6 dB, and what bit rate does QPSK carry at 1200 baud?

Show the solution
  1. Convert 9.6 dB to a ratio. 100.96=9.12
  2. Argument of Q. 2×9.12=4.27
  3. Bit error rate. Pb=Q(4.27)=9.7×10−6 about one bit in 100,000.
  4. QPSK's bit rate. Two bits per symbol at 1200 baud: 2×1200=2400bit/s in the same bandwidth as 1200 baud BPSK.

Answer BPSK reaches 9.7×10−6, and QPSK carries 2400 bit/s.

Worked example

A QPSK receiver's carrier phase is 15° off. How much smaller is its worst-case decision value?

Show the solution
  1. Worst-case decision value. d=cos⁡15∘−sin⁡15∘=0.966−0.259=0.707 of the full value.
  2. In noise margin. That's a 3 dB loss in noise margin for the worst symbols.
  3. Compare with BPSK. BPSK would lose only 1−cos⁡15∘=3.4%

Answer 0.707 of the full value, a 3 dB loss for the worst symbols.

Worked example

Does QPSK at 1200 baud need more Eb/N0 than BPSK for the same bit error rate?

Show the solution
  1. Two BPSK channels. QPSK's two axes are independent BPSK channels, each carrying one bit with the same energy per bit.
  2. Same error rate. So both reach 9.7×10−6 at 9.6 dB.
  3. What QPSK gains. QPSK doubles the bit rate in the same bandwidth for free, which is why it replaced BPSK almost everywhere.

Answer no. QPSK reaches 9.7×10−6 at the same 9.6 dB as BPSK.

Check

Build a QPSK modulator and demodulator on an 1800 Hz carrier.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A phase-shift keying scheme with 4 phases sends 1200 symbols per second. What's its bit rate?

Write units the way you normally would: 1.5 bit/s and 0.0015 kbit/s are the same answer.

Check

What bit error rate does QPSK reach at Eb/N0 = 6 dB?

Check

A QPSK receiver's carrier phase is 10° off. What fraction of the full decision value is left in the worst case?

Check

BPSK runs at Eb/N0 = 7 dB.

(a)

What is its bit error rate?

(b)

What is QPSK's bit error rate at the same Eb/N0?

Check

A receiver's carrier phase is 15° off.

(a)

What fraction of the full decision value is left for QPSK's worst symbols?

(b)

And for BPSK?

Explain why

Why can a cosine and a sine at the same frequency carry independent data?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.