EECS 865 SIMULATION PROJECT
VIJAYA CHANDRAN RAMASAMI, KUID 698659
1
2 VIJAYA CHANDRAN RAMASAMI, KUID 698659
Contents
List of Figures 4
1. Overview 5
2. Simulation Setup and Block Diagram 6
2.1. Monte-Carlo Simulation Technique 6
2.2. Serial to Parallel Converter 7
2.3. π/4 - DQPSK Encoder 7
2.4. Transmit Filter 7
2.5. Delays 7
2.6. Channel Simulators 7
2.7. Receive Filter 7
2.8. π/4-DQPSK Decoder 7
2.9. Parallel to Serial Converter 8
2.10. Comparator and BER Counter 8
2.11. Noise Power Calculations 8
3. π/4 Shifted Differential Quadrature Phase Shift Keying (DQPSK) 9
3.1. I and Q Components 9
3.2. Phase Shift Mapping 9
3.3. Constellation 9
3.4. π/4-DQPSK Encoder Implementation 10
3.5. π/4-DQPSK Decoder Implementation 10
4. Rayleigh Fading Envelope Generation 11
4.1. Spectral Shaping Filter 11
4.2. Fade Power Adjustment 12
4.3. Simulated Envelope 12
4.4. Faded SNR per bit 13
5. Simulation Results 14
5.1. Simulation Parameters 14
5.2. Case - I 14
5.3. Case II 15
5.4. Case III 15
5.5. Comprehensive Plot 15
5.6. Notes 15
6. MATLAB Modules for Simulation Blocks 18
6.1. Serial To Parallel Converter 18
6.2. π/4-DQPSK Encoder 18
6.3. Transmit Filter 19
6.4. Rayleigh Fading Generator 19
6.5. Receive Filter 20
6.6. Coherent π/4-DQPSK Decoder 21
6.7. π/4-QPSK Encoder/Decoder (without Differential Encoding/Decoding) 21
7. MATLAB Source Code 22
7.1. Case-I : AWGN Channel 22
7.2. Case-II : LOS + Rayleigh Fading 23
EECS 865 SIMULATION PROJECT 3
7.3. Case-III : 2-ray Rayleigh (variable delays) 24
8. Appendix A - Raised Cosine Filtering 27
8.1. Description 27
8.2. Design 28
8.3. MATLAB Code 29
9. Appendix B - Rayleigh Fading Generation (Clarke/Gans Model) 31
9.1. Result 31
9.2. MATLAB Code 31
4 VIJAYA CHANDRAN RAMASAMI, KUID 698659
List of Figures
1Simulation Block Diagram 6
2π/4-DQPSK Constellation 10
3Rayleigh Fading Generation at Baseband 11
4Simulated Rayleigh Fading Signal at Baseband (E[Power] = 1) 13
5BER vs E
b
/N
o
plot for π/4-DQPSK (Case-1) 14
6BER vs E
b
/N
o
plot for π/4-DQPSK (Case-2) 15
7BER vs E
b
/N
o
plot for π/4-DQPSK (Case-3) 16
8Comprehensive plot for all the Results 17
9Raised Cosine Frequency Response for T = 1ms 27
10An Example Impulse Response 30
11Typical Simulated Rayleigh Fading at 859 MHz carrier (Receiver Speed = 100
Miles/hr) 31
EECS 865 SIMULATION PROJECT 5
1. Overview
This project report is organized as follows.
• Simulation Setup and Block Diagram - explains the Simulation Block Diagram,
Simulation Parameters and a brief description of each of the Simulation blocks.
• π/4 - DQPSK Modulation - explains the basic math behind π/4 - DQPSK
Modulation and some impleme ntation details.
• Rayleigh Fading Envelope Generation - explains the basic methodology adopted
to generate the Rayleigh Fading envelope and to implement Spectral Shaping.
• Results - provide the results for the simualtion.
• MATLAB Modules for Simulation Blocks - provides the MATLAB code for
each and every simulation block.
• MATLAB Code - contains the MATLAB code used for the simulation cases. The
code presented in this se ction uses the simulation blocks presented in the previous
section.
• Appendix A - Raised Cosine Filtering - explains the method used to generate
the square root raised cosine filter coefficents that can be used directly in the code
with minor m odifications.
• Appendix B - Rayleigh Fading Generation (Clarke/Gans Model) - ex-
plains the method and the MATLAB code to generate Rayleigh Fading using the
Clarke/Gans Model.