Soft Demodulation Using Neural Networks
Tammie Yang
EE132A
Professor Lorenzelli
Overview
GOAL: Build neural networks for 5 different modulation schemes to softly demodulate symbols by calculating the bit log-likely ratios (LLRs): BPSK, 8PSK, 4QAM, 16QAM, and 64QAM.
2
Data Generation
MATLAB portion
Simulated Channel
4
LLR Calculations
(Log-likelihood ratio)
Exact log-MAP
Approximate max-log-MAP
Calculation
5
Exact vs Approximate LLR
6
LLRnet overview
Input Layer
Hidden Layer
Output Layer
Python code (4QAM example)
7
Optimal Parameters
Tested each while keeping all other parameters constant
Optimizer Choice
Performance data for BPSK modulation scheme
9
BPSK | adadelta | nadam | rmsprop | adam |
Training Loss | 64772.3865 | 27029.5765 | 0.0022 | 5.8525e-06 |
Validation Loss | 64859.8067 | 25773.2068 | 0.0030 | 2.3995e-06 |
Number of Symbols
10
4QAM | 1000 symbols | 10,000 symbols | 100,000 symbols |
Training Accuracy | 54.12% | 99.99% | 100% |
Validation Accuracy | 57.50% | 100% | 100% |
Training Loss | 58353.0739 | 0.0021 | 6.5823e-04 |
Validation Loss | 57418.9239 | 0.0132 | 4.8585e-04 |
Validation Split
11
BPSK | 0.1 validation split | 0.2 validation split | 0.4 validation split |
Training Loss | 5.3678e-07 | 5.8525e-06 | 27029.5765 |
Validation Loss | 4.6101e-06 | 2.3995e-06 | 25773.2068 |
Number of Neurons
12
4QAM | 2 neurons | 4 neurons | 6 neurons |
Training Accuracy | 99.98% | 100% | 100% |
Validation Accuracy | 99.94% | 100% | 100% |
Training Loss | 0.6469 | 6.5823e-04 | 2.8897e-05 |
Validation Loss | 0.9448 | 4.8585e-04 | 6.0873e-08 |
Modulation Schemes
BPSK
Binary Phase-shift Keying
Constellation Plots
Clearly shows two constellation points at 1 and -1
The model showed very low loss after just 50 epochs
Evaluating the BPSK Keras model with the same SNR it was trained at showed the least loss
Evaluation
Training
14
8PSK
8 Phase-shift Keying
Constellation Plots
Shows 8 constellation points around a circle, blurring out with lower SNR values
The model showed very low loss after just 10 epochs
Training
Because the accuracy is not 100%, the linear relation is more spread out, showing the effect of the noise
Evaluation
4QAM
4 Quadrature Amplitude Modulation
Constellation Plots
Shows 4 constellation points around a circle, blurring out with lower SNR values
The model showed very low loss after just 10 epochs
Training
The thin linear relation showcases the high accuracy
Evaluation
16QAM
16 Quadrature Amplitude Modulation
Constellation Plots
Shows 16 constellation points around a circle, blurring out with lower SNR values
The model showed very low loss after just 10 epochs
Training
Because the accuracy is not 100%, the linear relation is more spread out, showing the effect of the noise
64QAM
64 Quadrature Amplitude Modulation
Constellation Plots
Shows 64 constellation points as predicted
The model showed very low loss after around 20 epochs
Training
The thin linear relation showcases the high accuracy
Rayleigh Fading Channel
Simulation
20
Rayleigh Results
21
Overall Results
Modulation Scheme Comparison
BEST: 64QAM
WORST: 8PSK
23
| | BPSK | 8PSK | 4QAM | 16QAM | 64QAM |
SNR15 dB | Loss | 1.46874250e-06 | 134.1609 | 0.0229376 | 6.7020968 | 0.0223162 |
| Accuracy | N/A | 0.9577 | 1.0 | 0.99994 | 0.98913 |
SNR10 dB | Loss | 31390.381 | 3016.3733 | 31311.2109 | 66160.913 | 0.0692035 |
| Accuracy | N/A | 0.9562 | 0.99994 | 0.99644 | 0.99055 |
SNR5 dB | Loss | 57802.007 | 5907.9523 | 57840.686 | 116799.434 | 0.22164 |
| Accuracy | N/A | 0.9471 | 0.99796 | 0.98808 | 0.99025 |
Thank you!
24