필터 지우기
필터 지우기

How do I add AWGN noise to a RF Signal at the receiver ?

조회 수: 5 (최근 30일)
Narayan
Narayan 2024년 4월 11일
답변: vidyesh 2024년 4월 12일
When we deal with the channel decoding, we add the awgn noise to the signal BPSK moduated signal "r" as
SNR_ratio = 10^(SNRdB / 10);
N0 = sqrt(1.0 / (2.0 * Rate * SNR_ratio));
r = r + N0*randn(size(r));
In the matlab example code for HARQ, the AWGN noise is added to the received Rf signal as below
  • SNR = 10^(SNRdB/10);
  • N0 = 1/sqrt(2.0*simLocal.NRxAnts*double(waveinfoLocal.Nfft)*SNR);
  • noise = N0*complex(randn(size(rxWaveform)),randn(size(rxWaveform)));
  • rxWaveform = rxWaveform + noise;
  1. So, How can we relate those two things ? In the matlab example code, N0 is calculated based on the SNR, NFFT and NRx antenna but do not care about the code rate. I would be so happy if someone explain it clearly.
  2. How can we calculate the Eb/No from the the demodulated/rxwaveform signal ?
Thank you.

채택된 답변

vidyesh
vidyesh 2024년 4월 12일
Hi Narayan,
1.So, How can we relate those two things ? In the matlab example code, N0 is calculated based on the SNR, NFFT and NRx antenna but do not care about the code rate. I would be so happy if someone explain it clearly.
N0 calculation depends on your system and its implementation. You can ignore coding rate if you are using 'snr' or 'esno' and it may factor in if you are using 'ebno'. Refer to the below two pages for more details:
If you are considering a simple BPSK transmission, you can calculate 'N0' as . However, since the HARQ system is a complex one, we factor in the number of Receive antennas as well as the number of FFT points.
2.How can we calculate the Eb/No from the the demodulated/rxwaveform signal ?
Instead of calculating 'ebno' from the received waveform, you can use the awgn function to add noise, and specify the 'signalpower' parameter as 'measured' which ensures that "The signal level of X is computed to determine the noise level required to achieve the specified SNR".
For more information on using the awgn function, see:
Hope this helps.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by