Bit Error Rate (BER) Calculation
Receiver sensitivity is the minimum signal strength that a receiver can detect. In NetSim, if the received signal power is higher than the receiver sensitivity, then the signal is decoded with its BER calculated from the SINR-BER formulas/tables given in this section.
Note that the BER source codes are not open for user modification. If a user wishes to change the BER then they can comment NetSim’s BER function call and write their own function. This can be written in C or it can be written in MATLAB (and a call made to MATLAB from NetSim).
Thus,
Where \(P\) is the received power, \(T_{s}\) is the symbol duration, \(M\) is the modulation order, \(N\ \)is noise,\(\ I\ \)is interference and \(W\) is the channel bandwidth. An implication of this calculation is that the coding gain equals the reciprocal of the code rate. This is an approximation.
BER Calculation for QAM
Computation of the exact bit error rate (BER) for square M-ary QAM (8, 16, 32, 64, 128 and 256 QAM) is based on [2]
where
and
BER Calculation for DQPSK, O-QPSK and QPSK
NOTE: The 802.15.4 2003 and 802.15.4 2006 standards used the formula
for O-QPSK which has since been changed.
BER Calculation for DBPSK and BPSK
BER Calculation for LTE
In the case of LTE an SNR-BER table is looked up for each MCS.
SINR-PER Curves for 802.11g
Figure-1: PER – SINR Combined Curve for all PHY rates
We get the BER by looking up the SINR-PER curves. Then \(PER = 1\ - (1 - BER)^{L}\) where \(L = 1512 \times 8\). The Figure-1 plot was obtained from the NetSim function used to calculate BER in IEEE 802.11 Phy.c
Calculate_ber_by_calculation (double sinr, PHY_MODULATION modulation,double dataRate_mbps, double bandwidth_mHz)
Figure-2: 802.11g/n PER – SINR Individual Curves for each PHY rate (MCS)
References
[1] G. Marsaglia and W. W. Tsang, "A Simple Method for Generating Gamma Variables," ACM Transactions on Mathematical Software, 2000.
[2] Y. Dongweon, K. Cho and J. Lee, "Bit Error Probability of M-ary Quadrature Amplitude Modulation," in IEEE Vehicular Technology Conference Fall 2000, Boston, 2000.