UIUC ECE 463 Digital Communication Laboratory Fall 2018
12
3. Putting Together in Simulation
Before proceeding further, make sure all the blocks work in correct way. In this section, we will simulate OFDM
Tx/Rx to verify all the blocks we created work together.
1. Use any modulation scheme (e.g. 4QAM) and do bit-to-symbol mapping.
2. Connect the blocks as shown in Figure1. Make sure all the dimensions are correct each step.
3. FFT/IFFT blocks in Figure1 should process 2D array in row-by-row. Use for loop and auto-indexing to
get a row from 2D array. Use a proper normalization factor for FFT/IFFT.
4. Try a simple case for the block size, CP length, and Null tones. Verify the final output symbols at the Rx
is same as the original symbols at the Tx.
3.1. Question
3.1.1. (Null Tones) We want FFT size N as 128 and K as 8. What is the right index values for Null
tones to avoid the DC bin and the guard bins? Explain why.
3.1.2. (Cyclic Prefix) One advantage of CP is that it preserves orthogonality by allowing some
misalignment. Add an alignment error at the detected peak index from the frame sync block (e.g. if
you detected 100 as a peak, add 1 to make it 101). Use the following configuration.
• Mod type = 4QAM
• Message length = 1000bits
• Block size = 60
• Length of CP = 8
• Null tones = [0,31,32,33]
• Misalignment error = +1
1) Compare the demodulated constellation at the receiver with CP and without CP (length 0). 2)
Increase the misalignment error until the demodulation starts to fail. What value is the
misalignment error?
3.1.3. (Channel Correction) To verify the channel estimation/correction work, convolve the transmitted
symbols with the channel coefficients (time-domain). Use the following configuration.
• Mod type = 4QAM
• Message length = 1000bits
• Block size = 60
• Length of CP = 8
• Null tones = [0,31,32,33]
• Channel coeff. = [0.5+0.3i, 0.01+0.1i, -0.01+0.2i, 0.02-0.05i]