Amarisoft

Troubleshoot for High BLER/ Poor PHY throughput

The first step goal for almost every communication test (reglardless of whether it is protocol test or performance test) wouldbe to achieve the condition with zero (or low enough) BLER/CRC Error for both Downlink and Uplink traffic. My recommendation for every test in practical sense is ... "Setup the condition thatgives you Zero (or Low enough) BLER/CRC Error for the test that you want to perform". If you are tesiting protocol issues, you may not need to achieve Zero BLER but still it should be low enough. If you want to achieve the max throughput, you should make it sure to get zero BLER/CRC at the specific condition (e.g, at required MCS, Number of RBs).

Whenever you have any problems with your testing regardless of whether it is for protocol or throughput, the first thing I would suggest you to do before raising any support ticket is to check BLER/CRC error and try to fix that problem first if BLER/CRC error is too high.

Unfortunately there is no single shot solution to achieve the condition for zero (low enough) BLER. A certain degree of trial-and-error is required (unavoidable).If you are lucky or more experienced with a specific test equipment or DUT, you may fix the problem with only a few trial and error, but if you are not lucky or less experience with the test setup/DUT, you may need to go through a lot of trial-and-errors.

The purpose of this tutorial is not to give you any single shot solution that fits for all cases, but to give you some common tricks for me ( support team) to do trying to improve the BLER/CRC error and eventually achieve the desired condition for the required test cases.

Table of Contents

Introduction

Block Error Rate (BLER) and Cyclic Redundancy Check (CRC) errors are fundamental metrics in the evaluation of communication system performance, particularly within wireless protocols such as LTE, 5G NR, and other advanced radio access technologies. Achieving zero or sufficiently low BLER/CRC error rates is a critical prerequisite for both protocol and performance testing, as these metrics directly reflect the integrity and reliability of data transmission across both downlink and uplink channels. BLER quantifies the ratio of incorrectly received blocks to the total number of transmitted blocks, while CRC provides an error-detection mechanism to verify data integrity at the packet level. A robust communication link is established by meticulously configuring system parameters—such as Modulation and Coding Scheme (MCS), number of Resource Blocks (RBs), and radio conditions—to minimize these errors. However, there is no universal configuration that guarantees optimal BLER/CRC performance due to the variability in devices under test (DUTs), test equipment, and environmental factors. This necessitates a systematic, iterative approach often involving trial-and-error, empirical adjustments, and deep familiarity with the test setup. The significance of this process lies in its impact on subsequent testing phases: protocol validation requires low, but not necessarily zero, BLER, while throughput benchmarking demands error-free conditions for accurate results. This tutorial aims to equip engineers and testers with practical strategies, diagnostic insights, and troubleshooting methodologies to reduce BLER/CRC errors and establish reliable test environments, thereby enabling more meaningful protocol and performance evaluations in contemporary communication systems.

Summary of the Tutorial

This tutorial provides comprehensive guidelines and troubleshooting steps for conducting both protocol and performance tests, with a strong emphasis on monitoring and managing BLER (Block Error Rate) and CRC errors. The document details methodologies for identifying, analyzing, and addressing radio link quality issues in various testing scenarios involving Amarisoft Callbox (gNB/eNB) and UEsim, as well as considerations when interfacing with non-Amarisoft equipment.

In summary, the tutorial emphasizes a systematic approach to troubleshooting, with iterative adjustments of radio parameters and careful monitoring of BLER/CRC indicators across both protocol and performance tests. The methodologies outlined aim to isolate and resolve radio link quality issues as the primary factor impacting test outcomes.

General Guideline

Before you trying to do any test (regardless of whether it is protocol test or performance test), I would suggest you to set some criterio of your own in terms of BLER/CRC error. My one like comment is "You should never ignore the importance of BLER, but don't expect too much and waste too much time more than required for your test'.

Followings are some common cases that I observer from many users and my personal suggestion.

NOTE : In the comments above, I used the term BLER / CRC error in a very wide sense. It meant it as any failure of any kind of Physical Channel Signal (PUSCH, PDSCH in most case, but sometimes it may includePUCCH, PDCCH decoding failure as well). In 't command', there is no explicit print for BLER, but you can assume that the number of retx and rxko can be a good indicator for PDSCH, PUSCH decoding failure.

NOTE : : In case of testing with very high throughput (e.g, throughput with very wide bandwidth, throughput with multiple carriers, throughput with huge number of UEs), you may not be able to achieve the values that you want to get even if there doesn't seem to be any obvious problem with radio link. Identifying and troubleshooting performance issue is another huge topics. You would get the detailed tricks from this wiki for performance issues.

Potential Culprit for BLER(CRC Error)/ PHY throughput

If you ask 'what is the single most important factor (even though it is not the only factor) for BLER/CRC Error leading to poor PHY throughput', I would say it is 'Radio Link Quality'. Of course, this reply assume that every components (Test equipment, DUT) are at a certain maturity level (even though they are not perpect). The second most common factor (based on my experience) would be some configuration issue. The factors to impact on BLER(CRC Error) can be listed as follows (based on my experience).

Indicator of Poor Radio Link and Troubleshoot Tricks

As mentioned above, Radio Link Quality is the most important factor to resolve BLER (CRC error) issues, I want to talk first about this topic. For investigating / troubleshooting Radio Link Quality issue, you need to know how to check if there is any radio link issues for your test and how to resolve the problem. There are many different ways to identify the radio link issues and there are some common tricks to improve the issue. The tricks introduced in this tutorial would not be the tricks that always work, but they are at least the first things to be tried before any further investigation.

There wouldn't be much differences in terms of the general logics in terms of radio link troubleshoot between Callbox(eNB/gNB) and UE sim, so I would suggest you to read through both callbox and UEsim sections even though you are using only one of them.

Callbox(eNB/gNB)

In this section, I would look into common tricks on how to check and troubleshooting for high BLER on Callbox side. The tricks mentioned here are not all the tricks you can do for handling high BLER issues, but these are the most common things / steps that we (as Amarisoft tech support) to do at the initial troubleshoot stages.

t Command

The first thing you have to check when you have any issues if you are using Amarisoft Callbox (gNB, eNB) is to run 't command'. An example and meaning of important items indicating possible radio link issues is as shown below.

RadioLinkTroubleshoot Indicator Callbox 01

If you see any non ideal(Undesired) condition from the result (e.g, low CQI, lowRI, low snr,high retx, high rxko), it is likely that you have some radio link quality issues. The most common practice to improve the situation can be summarized as follows.

If you see the undesired result for DL,

If you see the undesired result for UL,

t spl Command

Next thing you should try is to run 't spl' command. From the result of this command, you can check wether RX chain of the callbox is saturated with too high power or suffering from too low power.

RadioLinkTroubleshoot Indicator Callbox 02

If you see too high or too low values for RX MAX or Non Zero values for SAT,

WebGUI - RB

If the troubleshoot with the 't command' does not work, check with RB map on Web GUI and see if the similar rate of the BLER across all the time of the test or if it happens only at a specific time period. If the problem happens only at the specific time period, try the same test several times and see if the problem happens at the same time period at every test.

RadioLinkTroubleshoot Indicator Callbox 03

WebGUI - Tx/Retper Slot

Check the ratio of retransmission (i.e, retransmission / transmission)per slot and see if there is any slots which shows outstandingly high retransmission rate. Repeat the same test several times and see if the pattern is reproduciable. If the same pattern repeats, it is more likely that there might be some PHY configuration factors for it (e.g, increased code rate .. for example, PSS,SSS,PBCH,SRS slots in LTE) or there is some specific UE side issues for those specific slot (check on UE PHY log)

RadioLinkTroubleshoot Indicator Callbox 08

WebGUI - SNR

This is mainly for UL radio link troubleshooting, but UL radio link quality would affect both on UL throughput and DL throughput. In the desirable condition, you should see high snr across the whole test period. If you see any big drops (dips) during any specific period, repeat the same test several times and see if the same pattern repeats.

RadioLinkTroubleshoot Indicator Callbox 05

WebGUI - Constellation

This is mainly for UL radio link troubleshooting. If you have poor UL throughput and the troubleshoot with 't command' and 't spl' does not work, check the constellation of the received signal (PUSCH) and check if the constellation is good enough to be decoded.

RadioLinkTroubleshoot Indicator Callbox 06

WebGUI - Trace

There are some cases where it is hard to identify any BLER/CRC issues from t command/t spl command or any graphicall information shown above. One of the typical case is that those high BLER issue happens during the initial attach and failed to get into the connected status. In this case, you need to open up the trance log in text editor or WebGUI (personally I would suggest to use WebGUI) and check out how many decoding failure (CRC Error) happens. If CRC error happens, it is displayed with Red circle with bask slash as shown below. If you see, multiple consecutive errors for PUSCH or PDSCH, it is not a good sign and resove this issue first before you continue to any other test.

The first step for this kind of troubleshoot as wellis teaking tx_gain or rx_gain

RadioLinkTroubleshoot Indicator Callbox 07

UEsim

NOTE : Special Comments for Connecting Non-Amarisoft Callbox

If you are connecting Amari UE sim to non Amarisoft eNB/gNB, there is an important thing to keep in mind. That is about the RF max input power for SDR card. It is recommended that you should not apply the total power greater than 5 dBm to RX port of the sdr card. It means that to connect Non-Amarisoft Callbox (e.g, Live eNB/gNB) directly to UEsim sdr card without proper attenuators may damage the SDR Card Input.

Another thing to take into account is about max Tx power of UE sim SDR card. The most common Tx power class for commercial UEs 23 dBm and there are other types of UE which can transmit much higher power, but the max power of Amarisoft SDR card is not as high as the commercial device.

The max total power varies depending on the type of sdr card and frequency. Refer to the following documents for the specification of SDR card tx power and take this into account for your test setup.

t Command

The first thing you have to check when you have any issues if you are using Amarisoft UEsimis to run 't command'. An example and meaning of important items indicating possible radio link issues is as shown below.

RadioLinkTroubleshoot Indicator UEsim 01

If you see the undesired result for DL,

If you see the undesired result for UL,

If you want to improve CFO/SRO, you may try followings

t spl Command

Next thing you should try is to run 't spl' command. From the result of this command, you can check wether RX chain of the callbox is saturated with too high power or suffering from too low power.

RadioLinkTroubleshoot Indicator UEsim 02

If you see too high or too low values for RX MAX or Non Zero values for SAT,

Web GUI

The features and tips for Web GUI on UE sim is almost same as Callbox WebGUI and I would segguest you to refer to WebGUI features in Callbox Section.

Tips onPHY Configuration

Various configuration may affect on BLER especially at max throughput testing. It is hard to comments about the single set of parameters that fits for every cases. Followings are some of the possible test setup and related phy configurations that may influence on BLER at max throughput condition (i.e, MAX Transport Block Size per each subframe).

LTE Downlink Max Throughput with Amarisoft eNB + Non Amarisoft UE / Amarisoft UEsim

In this case, most of the PHY configuration would be set in optimal condition for the antenna configuration set by the configuration file (if you use the default configuration provided by the installation package). You should be able to achieve max throughput only by optimizing radio link quality.

LTE Downlink Max Throughput with Non-Amarisoft eNB (e.g, live eNB)+ Non Amarisoft UE / Amarisoft UEsim

It would be good idea to check PHY configurations on eNB side like PCFICH value (number of symbols for control channel), p_a, p_b values.

LTE UplinkMax Throughput with Amarisoft eNB + Non Amarisoft UE / Amarisoft UEsim

In this case, just tweaking rx_gain, tx_gain, conductive connection would work for most case (if you use the default configuration provided by the installation package), but in very high modulation scheme removing SRS configuration in SIB2 would perform better. But with the Amarisoft eNB, you may get zero BLER but would not get ideal max throughput since Amari eNB always reserve some UL resources for PUCCH reception from multiple UE as explained in this tutorial. If you want to achive the ideal max throughput, you need to set a special configuration as shown in this tutorial.

NR Downlink Max Throughput with Amarisoft gNB + Non Amarisoft UE / Amarisoft UEsim

In this case, most of the PHY configuration would be set in optimal condition for the antenna configuration set by the configuration file (if you use the default configuration provided by the installation package). You should be able to achieve max throughput only by optimizing radio link quality.

NR Downlink Max Throughput with Non-Amarisoft gNB + Amarisoft UEsim

I want to suggest to configure in gNB as follows and optimize tx_gain, rx_gain on UEsim