Amarisoft

NR 1 Band 2 sdr

The purpose of this tutorial is to show you how to use multiple sdr cards combined (called Stereo Mode) to implement wide bandwidth that is wider than the maximum bandwidth of single sdr card. As of now, Amarisoft products are based on one of the following two types sdr cards as follows. The main difference between them are maximum bandwidth it can cover.

There is no issues (no major differences) for LTE regardless of whether you use SDR50 or SDR100 since the max bandwidth of LTE is only 20 Mhz, but there would be some cases where you come across issues for NR if you are using SDR50 since there are various kinds of configuration that uses the bandwidth wider than 50Mhz.  Then how do we test NR with Bandwidth greater than 50Mhz with sdr50 ?  This tutorial would provide you with the solution for the case. The idea is to combine two sdr50 cards that enables to handle max 100 Mhz bandwidth.

NOTE : This kind of utilization of sdr 50 (Stereo Mode) is supported only in Callbox, not supported in UEsim. Therefore, in order for you to test NR with the bandwidth greater than 50 Mhz on UEsim, you need to use UEsim that uses SDR100.

Table of Contents

Introduction

Software Defined Radios (SDRs) have revolutionized wireless communications by providing flexible, programmable platforms capable of emulating a variety of radio protocols and adapting to new standards through software updates. In the context of wireless network testing and development, products like Amarisoft Callbox utilize advanced SDR hardware to emulate base stations and user equipment for technologies such as LTE and 5G NR (New Radio). One of the architectural challenges faced in modern 5G NR testing environments is the requirement for extremely wide channel bandwidths, often exceeding the maximum supported by a single SDR card. To address this, Amarisoft's Callbox platforms implement a technique known as Stereo Mode, where multiple SDR cards are synchronized and combined to operate as a single logical interface, effectively aggregating their individual bandwidth capabilities. For example, while the SDR50 card supports up to 50 MHz of RF bandwidth and the SDR100 supports up to 100 MHz, certain NR test scenarios—especially those simulating high-capacity or carrier aggregation use cases—may require more than 50 MHz on platforms equipped only with SDR50 cards. Stereo Mode enables two SDR50 cards to be used together to deliver up to 100 MHz bandwidth, thus overcoming hardware limitations without the need for a more expensive SDR100 card. This capability is critical for comprehensive NR testing and ensures that test equipment can keep pace with evolving wireless standards. Understanding and correctly configuring Stereo Mode is essential for engineers and testers aiming to validate wideband NR configurations, optimize performance, and ensure conformance with 3GPP specifications within the Amarisoft testing ecosystem.

Summary of the Tutorial

This tutorial details the procedures and methodologies for configuring and testing NR Standalone (SA) and Non-Standalone (NSA) cells with 100 MHz bandwidth using multiple SDR50 cards, as a single SDR50 can only support up to 50 MHz bandwidth. The tutorial covers two main test scenarios and provides tips for SDR card combinations.

The tutorial emphasizes adjusting configuration files, properly assigning SDR devices, tuning RF parameters, and validating the test setup using system logs and UE behavior. Detailed message contents and protocol specifics are intentionally omitted in favor of focusing on high-level test methodologies and configuration procedures.

Test Setup

Test setup for this tutorial is as shown below.

TestSetup Callbox UE 4sdr 01

Key Configuration Parameters

Followings are important configuration parameters for this tutorial. You may click on the items for the descriptions from Amarisoft documents.

Test 1 : NR SA 100 Mhz BW with 2 x sdr50

In this test, I will show you how to configure a SA cell of 100Mhz BW using two sdr50. The max bandwidth that can be supported by a sdr50 is 50Mhz. So with sdr50 card, it would have not been able to simulate a cell with bandwidth greater than 50Mhz. To overcome this limitation, we implemented the feature to combine two sdr50 cards to simulate a cell with the bandwidth greater than 50 Mhz. So in this test, we need to use two SDR 50 cards even though the number of cell is only one.

Configuration

I used the configuration file gnb-sa-2sdr-0-1.cfg which is copied from gnb-sa.cfg and modified.

NR 1Band 2sdr Test1 Configuration 01

Configured in gnb-sa-2sdr-0-1.cfg is as shown below. I set NR_BANDWIDTH to 100 Mhz. args:"dev0=/dev/sdr0,dev1=/dev/sdr1" mean that two sdr card sdr0 and sdr1 will be enabled for this test. Another important parameter to configure one cell with multiple sdr card is n_subband parameter in rf_ports. The sample_rate and guard_band are configured to fine tune the two combined sdr cards.

NR 1Band 2sdr Test1 Configuration 02

Perform the Test

Run LTE service and check cell configuration in (enb) screen as shown below. Confirm that the Bandwidth are configured as you intended.

NR 1Band 2sdr Test1 Run 01

Check tx_gain and rx_gain and see if there is any changes comparing to 1 sdr cases. (NOTE : the default / max gain are same as 1 sdr case). In this case, TX0 and TX1 is from sdr0. TX2 and TX3 is from sdr1. RX0 is for sdr0 and RX1 is for sdr1.

NR 1Band 2sdr Test1 Run 02

Check how RF of each sdr cards are configured. With rf_info command, you can figure out the center frequencies that each sdr cards are tuned to.

NR 1Band 2sdr Test1 Run 03

Enable bcch log capturing in (enb) as shown below

NR 1Band 2sdr Test1 Run 04

Check ss-PBCH-BlockPower as shown below. This value would vary depending on channel Bandwidth and Frequency.

NR 1Band 2sdr Test1 Run 05

Power on UE and let it complete the attach

NR 1Band 2sdr Test1 Run 06

Test 2 : NR NSA 100 Mhz BW with 2 x sdr50

In this test, I will show you how to configure a NSA cell of 100Mhz BW using three sdr50. The max bandwidth that can be supported by a sdr50 is 50Mhz. So with sdr50 card, it would have not been able to simulate a cell with bandwidth greater than 50Mhz. To overcome this limitation, we implemented the feature to combine two sdr50 cards to simulate a cell with the bandwidth greater than 50 Mhz. So in this test, we need to use three SDR 50 cards in total even though the number of cell is only two. One LTE cell uses one sdr50 card and one NR cell uses tw0 sdr50 cards in this test.  

Configuration

I used the configuration file gnb-nsa-2sdr-1-2.cfg which is copied from gnb-nsa.cfg and modified.

NR 1Band 2sdr Test2 Configuration 01

Configured in gnb-sa-2sdr-1-2.cfg is as shown below. I set NR_BANDWIDTH to 100 Mhz. If TRX_MAX_BANDWIDTH is narrower than NR_BANDWIDTH, multi sdr card is automatically selected.

NR 1Band 2sdr Test2 Configuration 02

args:"dev0=/dev/sdr0,dev1=/dev/sdr1,dev2=/dev/sdr2" mean that two sdr card sdr0,sdr1 and sdr2 will be enabled for this test. The configuration in gnb-nsa.cfg in 2021-11-19 release is automatically handling dev with combined sdr card as follows. This is just for your reference. You don't need to change anything in this part.

NR 1Band 2sdr Test2 Configuration 03

Another important parameter to configure one cell with multiple sdr card is n_subband parameter in rf_ports. The sample_rate and guard_band are configured to fine tune the two combined sdr cards. The configuration in gnb-nsa.cfg in 2021-11-19 release is automatically handling rf_ports with combined sdr card as follows. This is just for your reference. You don't need to change anything in this part.

NR 1Band 2sdr Test2 Configuration 04

Perform the Test

Run LTE service and check cell configuration in (enb) screen as shown below. Confirm that the Bandwidth are configured as you intended.

NR 1Band 2sdr Test2 Run 01

Check tx_gain and rx_gain and see if there is any changes comparing to 1 sdr cases. (NOTE : the default / max gain are same as 1 sdr case)

NR 1Band 2sdr Test2 Run 02

Check how RF of each sdr cards are configured.

NR 1Band 2sdr Test2 Run 03

NR 1Band 2sdr Test2 Run 04

Power on UE and let it complete the attach

NR 1Band 2sdr Test2 Run 05

Check out ue configuration. You would notice that one core network id is assigned and two different cell ID (RAN ID) and RAN_UE_ID are assigned for the same UE in case of NSA cell. One of the cell ID is for LTE cell and the other is for NR cell.

NR 1Band 2sdr Test2 Run 06

Tips

Using other combinations of sdr card

If you want to combine other two sdr cards (i.e, other than sdr 0 and sdr 1), you can do it by simply changing sdr card number as shown below.

args: "dev0=/dev/sdr1,dev1=/dev/sdr2"    // this allow you to use sdr 1(2nd sdr card) and sdr 2(third sdr card) for one band

args: "dev0=/dev/sdr2,dev1=/dev/sdr3"    // this allow you to use sdr 2(3rd sdr card) and sdr 3(fourth sdr card) for one band