Data length error in OFDM Simulink
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Greetings Community members,
I am trying to simulate an OFDM modulated Communicaion system, where I used very basic blocksets such as 16-QAM, Integer Generator, OFDM modulator. I have also used all the required Demodulators and their parameters are same as those of its corresponding modulators. Now after this, when I'm evaluating the error rate, I'm getting an error that the length of Tx. and Rx. is not same. But I'm not able to figure out why?
Please Do help me if anyone knowws the answer. Thank you.
2 Kommentare
Antworten (1)
vidyesh
am 23 Feb. 2024
Hello Rajmouli,
I understand you're encountering an error when calculating the error rate, stemming from a mismatch in the lengths of Tx (transmit) and Rx (receive) vectors.
The output length from the OFDM Modulator is determined by the ‘FFT length’ plus the ‘Cyclic Prefix length’. In your case, the output length is 80 (64 + 16). Additionally, 'Number of guard bands' property is set to [6; 5], which means there are a total of 11 guard bands (6 + 5).
Upon demodulation, the OFDM Demodulator will remove both the prefix and the guard bands. This will yield an output length of (80 - 16 - 11), which equals 53.
To align with this, you should configure the 'Samples per Frame' property of the Random Integer Generator block to 53. If you need to simulate a larger number of samples, consider either decreasing the 'Sample Time' or increasing the 'Stop Time'. This way, you'll simulate more time steps, each with 53 samples.
Note that in this case, we have not considered the DC null and that with this configuration, the model can be run without buffers.
For further guidance, you may refer to the 'Digital Video Broadcasting – Terrestrial' example, which employs both the OFDM Modulator and OFDM Demodulator blocks. This example can serve as a useful point of reference:
Hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu OFDM finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!