BLER and BER calculation Process in LTE Simulation

1,352 views
Skip to first unread message

Mahmud Islam

unread,
Sep 5, 2017, 4:50:05 PM9/5/17
to ns-3-...@googlegroups.com, islamm...@gmail.com
Hi,

I want to calculate BLER and BER in LTE Simulation.For, BLER calculation i am looking into RLC trace file and i am using the below commands in script:
    Ptr<RadioBearerStatsCalculator> rlcStats = lteHelper->GetRlcStats();
    int imsi = ueLteDevs.Get(0)->GetObject<LteUeNetDevice>()->GetImsi();
    int lcId = 3;
 
    double dlRxBlocks = rlcStats->GetDlRxPackets(imsi, lcId);
    double dlTxBlocks = rlcStats->GetDlTxPackets(imsi, lcId);
    double bler =  1.0 - (dlRxBlocks / dlTxBlocks);
    std::cout<<" BLER is:"<<bler<<"\n";

In addition to that i am looking into RLC trace file and calculating BLER=1-(Rxbytes/Txbytes) manually to make sure everything is working fine. Is that correct process of getting BLER?

For, BER i am using AMC module formula and i am calculating that from spectral efficiency formula.Is that correct process?

My another question is for particular MCS, like MCS=28; i am getting constant BLER=0 but BER OF 4.689*10^-6. If BLER=0; can i get BER of such value or should it be zero also as BLER is zero?

I look forward for your response and help.

Thanks,
Mahmud

islamm...@gmail.com

unread,
Sep 7, 2017, 5:12:46 PM9/7/17
to ns-3-users
Please reply.

Holy lee

unread,
Sep 7, 2017, 9:34:09 PM9/7/17
to ns-3-users

Could please tell me what is the difference between BLER and BER?
Thanks a lot anyway!

Mahmud Islam於 2017年9月6日星期三 UTC+8上午4時50分05秒寫道:

Mahmud Islam

unread,
Sep 7, 2017, 10:11:55 PM9/7/17
to ns-3-...@googlegroups.com
Hi,

If you kindly look into LTE technology then it will be clear to you. Based on my understanding, in LTE is IP based communication and  packets are transmitted through IP,PDCP and RLS layers and at each layer packets going through different processes like header addition and compression and so on. Transmitted packets through different layers are finally transmitted through physical layer and they are called transport block after decoding process and other takes place. So, BLER is number of errorneous blocks divided by transmitted block . You know what is BER. Number of erroneous bits divided by total number of bits.

Hope that helps.

I am expecting for some help in this regard. No responses yet.

Please response if you kindly know the process.

Thanks,
Mahmud

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Holy lee

unread,
Sep 7, 2017, 10:44:16 PM9/7/17
to ns-3-users
Hi, 

First of all, thank you for your detailed explanation, now i know it completely!
Above your question, i have an opinion. As you say, BER is the Bit error rate, and BLER is the code Block error rate, however the Bit error does not necessarily cause Block error, Bit errors may be corrected. So BER OF 4.689*10^-6, and maybe BLER=0, this is a correct correspondence.

It is my opinion. Hope that helps.
Thanks for your patience and looking forward to your reply!

lee

Mahmud Islam於 2017年9月8日星期五 UTC+8上午10時11分55秒寫道:
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.

Mahmud Islam

unread,
Sep 8, 2017, 1:53:21 AM9/8/17
to ns-3-...@googlegroups.com
Hi,

Thanks for your reply. I want to know the way i used for calculating BLER and BER is okay or not?
I look forward for anyones help in this regard.

Thanks,
Mahmud

To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.

Prats

unread,
Apr 7, 2020, 4:16:51 PM4/7/20
to ns-3-users
Could you please direct me to calculate BER for LTE in ns3? I have seen existing functions for the WiFi but cannot seem to proceed for LTE. Your help will be much appreciated.
Thanks,

Prats


On Tuesday, September 5, 2017 at 10:50:05 AM UTC-10, Mahmud Islam wrote:

ABDULJABBAR ALSHARIF

unread,
Apr 7, 2020, 5:04:15 PM4/7/20
to ns-3-...@googlegroups.com
hi did you plot the result ??
" if you want the rainbow you have deal with rains"




--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages