QPSK over a noisy channel in Python
Simulate QPSK, the modulation behind Wi-Fi and 4G, add noise, and plot how the bit-error rate falls as the signal gets stronger, matching the textbook curve.
What this proves to recruiters
- You understand modulation and noise.
- You can simulate a communication system.
- You can check results against theory.
Skills you will use
- Digital modulation
- AWGN channel
- NumPy
- BER analysis
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- Python with NumPy and Matplotlib
- PySDR (free online book)
Steps
- Generate random bits and map pairs of bits to the four QPSK points with Gray coding.
- Add complex Gaussian noise scaled for each Eb/N0 from 0 to 10 dB.
- Decide each symbol by its quadrant and map back to bits.
- Count errors over at least 10⁶ bits per point.
- Plot BER on a log scale with the theory curve 0.5 × erfc(√(Eb/N0)).
- Plot the received constellation at 4 dB and 12 dB to show what noise does.
Make it stand out
- Add 16-QAM and compare.
- Add a fading channel and see how much worse it gets.
Put it on your resume
Simulated QPSK over AWGN in Python; BER matched theory from 0 to 10 dB Eb/N0 over 10⁶ bits per point.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 2, “Communication systems”, of the RF and wireless roadmap. See also how freshers get into RF test and telecom engineer jobs.
More RF and wireless projects
- Impedance matching network at 2.4 GHzBeginner1 weekendFree: software only
- FM radio receiver with an RTL-SDRIntermediate1–2 weekends~₹3,000
- Track nearby aircraft with ADS-BIntermediate1 weekend~₹3,000
- 2.4 GHz patch antenna: design, simulate, buildAdvanced3–4 weekends~₹1,250
- LoRa range test with signal-strength loggingIntermediate2 weekends~₹2,300