This is the homework from COM5170 Wireless Communication in National Tsing Hua University. We are going to implement a multipath fading channel simulator. There are two parts in this HW:
- Implement a Rayleigh fading channel simulator based on the Filtered Gaussian Noise method
- Plot the channel output for fmT = 0.01, 0.1 and 0.5 (t/T = 0 ~ 300)
- Plot the channel output autocorrelation for fmT = 0.01, 0.1 and 0.5 (fm
$\tau$ = 0 ~ 10)
- Implement a Rayleigh fading channel simulator based on the Sum of Sinusoids method
- Plot the channel output for M = 8 and 16 (fmT = 0.01, 0.1, 0.5 and t/T = 0 ~ 300)
- Plot the channel output autocorrelation for M = 8 and 16 (fm
$\tau$ = 0 ~10)
The following picture is the block diagram of Filtered Gaussain Noise Method.
Two Gaussian noise source are independent with zero mean and variance
The coefficient
After generating g(t), I derive Envelope of the g(t) in dB-scale by
Assume channel is stationary and equal strength of multipath components- $$ g(t)=\sum ^N _{n=1} e ^{j(2\pi f_m tcos\theta _n + \hat{\phi}_n)} $$ For an isotropic scattering environment, assume that the incident angles are uniformly distributed: $$ \theta _n =\frac{2\pi n}{N}, n=1,2,...,N $$
Based on the figure above, we can see that some frequencies are the same. Therefore, we can rewrite the equation as following. $$ g(t)=g_I (t)+jg_Q (t)=\sqrt{2}([2\sum ^M _{n=1}(cos\beta _n cos2\pi f_n t)+\sqrt{2}cos\alpha cos2\pi f_m t]+j[2\sum ^M _{n=1} (sin\beta _n cos2\pi f_n t)+\sqrt{2} sin\alpha cos2\pi f_m t]) $$
where $ \alpha =\hat{\phi }_N =-\hat{\phi }_{-N}$,
The following figures are the result of my program.