yucaoxilin的个人空间 https://blog.eetop.cn/814670 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

BER Vs Eb/N0 for BPSK modulation over AWGN

已有 3569 次阅读| 2013-8-21 11:08


Transmitter:

For the BPSK modulation , a series of binary input message bits are generated of which ’1′s are represented by 1v and ’0′s are translated as ‘-1′ v (equivalent to NRZ coding as discussed in the previous post).

AWGN channel:

For BPSK modulation the channel can be modeled as

y=ax+n

where y is the received signal at the input of the BPSK receiver, x is the modulated signal transmitted through the channel , a is a channel amplitude scaling factor for the transmitted signal usually 1. ‘n’ is the Additive Gaussian White Noise random random variable with zero mean and variance σ2.

For AWGN the noise variance in terms of noise power spectral density (N0) is given by,

\sigma^{2}= \frac{N_0}{2}

For M-ARY modulation schemes like M-PSK including BPSK, the symbol energy is given by,

E_s = R_m R_c E_b

where Es =Symbol energy per modulated bit (x), Rm = log2(M) , (for BPSK M=2, QPSK M=4, 16 QAM M=16 etc..,). Rc is the code rate of the system if a coding scheme is used. In our case since no coding scheme is used Rc = 1. Eb is the Energy per information bit.

Assuming Es=1 for BPSK (Symbol energy normalized to 1) Eb/N0 can be represented as (using above equations),

\frac{E_b}{N_0}=\frac{E_s}{R_m R_c N_0}

\frac{E_b}{N_0}=\frac{E_s}{R_m R_c N_0}=\frac{E_s}{R_m R_c 2 \sigma^{2}} = \frac{1}{2 R_m R_c \sigma^{2}}

From the above equation the noise variance for the given Eb/N0 can be calculated as

\sigma^{2} = \left( 2 R_m R_c \frac{E_b}{N_0}\right)^{-1}

For the channel model randn function in Matlab is used to generate the noise term. This function generates noise with unit variance and zero mean. In order to generate a noise with sigma σ for the given Eb/N0 ratio , use the above equation , find σ, multiply the ‘randn’ generated noise with this sigma , add this final noise term with the transmitted signal to get the received signal.

Receiver:

BPSK receiver can be a simple threshold detector which categorizes the received signal as ’0′ or ’1′ depending on the threshold that is being set. Calculation of Theoretical BER for BPSK over AWGN is discussed here.


http://www.edaboard.com/thread173802.html

y = s + 10^(-Eb_N0_dB(ii)/20)*n;

The term 10^(-Eb_N0_dB(ii)/20)*n is derived as follows:

For AWGN channel with noise power spectral density N0 the standard deviation of noise is given by

σ = √(N0/2) --------> (1)

For BPSK the symbol energies are assumed to be normalized to 1 (since 0 represented by -1 and 1 represented by +1 )

Given Eb_N0_dB has to be converted to linear scale first
Eb/N0 = 10 ^(Eb_N0_dB/10); --->(2)

Now we need to find the sigma of noise according to the desired Eb/No ratio

if Eb=1 in (2)
then
1/N0 = 10 ^(Eb_N0_dB/10) 
=> N0 = 1/(10 ^(Eb_N0_dB/10) ) ---> (3)

(3) in (1)
σ = √(1/(10 ^(Eb_N0_dB/10) )/2)
or
σ =1/√2 * 1/(10 ^(Eb_N0_dB/20) 

when u use randn function in matlab to generate noise (n) , it generates AWGN noise with unit variance and zero mean.

For various Eb/No ratio, Eb is fixed (because we use the same signal to transmit and want to see the effect of Eb/N0 on its BER) so only choice is to change the noise term. Since the sigma of generated noise is 1 (unit variance) you can change it by multiplying it with 10^(-Eb_N0_dB(ii)/20)*n which is the sigma of noise for the given Eb/N0 


点赞

全部作者的其他最新日志

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 1

    粉丝
  • 0

    好友
  • 0

    获赞
  • 0

    评论
  • 415

    访问数
关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-19 07:23 , Processed in 0.026869 second(s), 13 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部