demodulation bit error rate testing
play

Demodulation & Bit Error Rate Testing ELEC 433 - Spring 2013 - PowerPoint PPT Presentation

Demodulation & Bit Error Rate Testing ELEC 433 - Spring 2013 Michael Wu & Evan Everett Demodulation Assumes mapping & constellation known at receiver Simply de-maps constellation points to bits Needs to know


  1. Demodulation & Bit Error Rate Testing ELEC 433 - Spring 2013 Michael Wu & Evan Everett

  2. Demodulation • Assumes mapping & constellation known at receiver • Simply de-maps constellation points to bits • Needs to know transmitter’s mapping • I/Q can be de-mapped independently • Thresholds define boundaries between symbols

  3. Demodulation - 16 QAM Q 1 1/3 I -1/3 -1

  4. Demodulation - 16 QAM Q 1 1/3 I -1/3 -1

  5. Demodulation - 16 QAM Q 1/2 0 I -1/2 -1/2 0 1/2

  6. Amplitude Offsets Q I

  7. Amplitude Offsets Q I

  8. Amplitude Offsets Q I

  9. Phase Offset Q I 64 QAM

  10. Phase Offset Q I 64 QAM

  11. Demodulation - QPSK • QPSK is very easy to demodulate • You’ve already built the slicer (in the Costas loop) • Amplitude offsets can’t cause errors • Huge phase error tolerance

  12. Demodulation - QPSK Q 11 00 I

  13. Demodulation - QPSK Q 11 00 I

  14. Demodulation - QPSK Q 11 I 00

  15. Demodulation - QPSK • Phase ambiguity is only problem • QPSK and (QPSK ± N π /2) are identical • Resolve with training or differential encoding

  16. Differential Encoding • Encode data in phase transition • Performance hit due to memory • One error screws up two symbol periods • Required at both Tx and Rx +0 00 10 00 - π /2 10 + π /2 + π 01 11 01 11 Normal Mapping Differential Mapping

  17. Differential Encoding Example 01 00 10 11 10 11 10 User Data: + π /2 - π /2 π - π /2 π - π /2 0 Phase Transition: Symbol to Send: A C C A D C B D + π /2 0 - π /2 π - π /2 π - π /2 Phase Difference: 01 00 10 11 10 11 10 Received Data: +0 00 - π /2 C A 10 + π /2 + π 01 D B 11

  18. Differential Encoding Example 01 00 10 11 10 11 10 User Data: + π /2 0 - π /2 π - π /2 π - π /2 Phase Transition: Symbol to Send: C D D C B D A B + π /2 0 - π /2 π - π /2 π - π /2 Phase Difference: 01 00 10 11 10 11 10 Received Data: +0 00 - π /2 C A 10 + π /2 + π 01 D B 11

  19. Differential Encoding data bits Tx Symbol prev symbol Concatenate LUT Modulation Encoding Rx data Slice data bits Concatenate LUT z-1 Decoding Suggested Implementations

  20. Bit Error Rate Testing • Transmitter sends periodic frames • Frame = Header Pseudo-Random bits • ROM of bits indexed by counter works for this • Receiver knows same bit sequence • Correlator looks for header to find beginning of frame • Counters track total bits and bits in error • Don’t do division (error/total) in hardware

  21. Header Correlation Received Signal Header Random bits 0 Threshold Correlator Header Random bits Reference Frame • Header needs good autocorrelation characteristic • High autocorrelation when aligned, low when not • Delta function would be ideal autocorrelation • Barker codes and MLS well-suited

  22. Header Correlation Received Signal Random bits Header Random bits 1 Threshold Correlator Header Random bits Reference Frame • Header needs good autocorrelation characteristic • High autocorrelation when aligned, low when not • Delta function would be ideal autocorrelation • Barker codes and MLS well-suited

  23. Header Correlation Received Signal Header Random bits Header Random bits 0 Threshold Correlator Header Random bits Reference Frame • Header needs good autocorrelation characteristic • High autocorrelation when aligned, low when not • Delta function would be ideal autocorrelation • Barker codes and MLS well-suited

  24. Autocorrelation Example Length-13 Barker Code Length-63 MLS 1 1 x[n] 0 x[n] 0 − 1 − 1 0 20 40 60 80 0 5 10 15 n 1.2 1.2 1 1 Sample Autocorrellation Sample Autocorrellation 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 0 0 − 0.2 − 0.2 − 20 − 10 0 10 20 − 40 − 20 0 20 40 Lag (samples) Lag (samples)

  25. Lab 9 Summary • Implement differential encoded QPSK modulator/ demodulator • Implement BER testing subsystem • Correllator to align transmitted and received frames for bitwise comparison • Simulink AWGN channel between Tx and RX to verify • Characterize over-the-air BER performance of your design

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend