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 .
- 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?
They're the same, . QPSK is two BPSK signals on a cosine and a sine, which don't interfere, and each carries its own bits with its own share of the energy. So QPSK doubles the bit rate in the same bandwidth at no cost in error rate per bit: twice the energy per symbol, the same per bit.
Name it
Phase-shift keying
A symbol is sent as
so its amplitude is |a| and its phase is ∠a. BPSK uses a = ±1; QPSK uses the four points . 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:
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 ,
for both BPSK and QPSK with Gray coding. That's at 9.6 dB; noncoherent FSK needs about 13.4 dB. Per symbol, QPSK's .
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 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
- Convert 9.6 dB to a ratio.
- Argument of Q.
- Bit error rate. about one bit in 100,000.
- QPSK's bit rate. Two bits per symbol at 1200 baud: in the same bandwidth as 1200 baud BPSK.
Answer BPSK reaches , 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
- Worst-case decision value. of the full value.
- In noise margin. That's a 3 dB loss in noise margin for the worst symbols.
- Compare with BPSK. BPSK would lose only
Answer 0.707 of the full value, a 3 dB loss for the worst symbols.
Worked example
Does QPSK at 1200 baud need more than BPSK for the same bit error rate?
Show the solution
- Two BPSK channels. QPSK's two axes are independent BPSK channels, each carrying one bit with the same energy per bit.
- Same error rate. So both reach at 9.6 dB.
- 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 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 = 7 dB.
(a)
What is its bit error rate?
(b)
What is QPSK's bit error rate at the same ?
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?
Over a whole number of half-cycles, the product of a cosine and a sine at the same frequency averages to zero, so they're orthogonal. When the receiver multiplies the incoming signal by the cosine and integrates, the part that came in on the cosine produces a full-size result, and the part that came in on the sine averages away to nothing; multiplying by the sine does the reverse. Each data stream can therefore be recovered without interference from the other, so the two share the same bandwidth and double the bit rate. This only works if the receiver's carrier phase matches the transmitter's; a phase error leaks one stream into the other.
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.