Amarisoft

SDR - Multi Cells on One SDR

 

The purpose of this tutorial is to show you how to configure (map) multiple cells to single sdr card.  This kind of mapping is possible as long as following condition is met.

However, you should take into considerations a few possible limitations as below. This tutorial will be updated as we confirm further on following items. So for now, I would not recommend you to try any of the following cases.

 

Table of Contents

 

Test Setup

Test setup for this tutorial is as shown below.  This is just for low layer testing, you may not need any complicated IP layer setup.

TestSetup Callbox UEsim 1sdr 01

NOTE :  Antenna connection in real test setup for this tutorial is a little bit different from the image shown here. In real test setup, two sdr card (not one) are connected with Antenna on both Callbox and UEsim.

 

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 : 2 LTE on One SDR

In this test, three cells are configured on Callbox which is LTE + LTE + NR. The two LTE cells are mapped to the same sdr card and the NR cell is mapped to another sdr card. Overall structure of the setting is illustrated as below.

SDR MultiCell OneSdr Test 1 OverallConfig 01

If you are using commercial phones for the test, this is all. You can use one UE trying to connect to each of the cell at a time. or you may use three different UEs and let each of them to get access to each of the cell.

In my case, I used Amarisoft UEsim and configured the three UEs in it and configured as shown below. You would notice two things as below

SDR MultiCell OneSdr Test 1 OverallConfig 02

 

Configuration

The configuration shown here is common configuration for all the subtests belonging to Test 1 and I will not show this configuration repeatedly for every subtest.

I have used enb-multicell-onesdr.cfg which is copied and modified from gnb-nsacfg

SDR MultiCell OneSdr Test 1 Config 01

I am using the default mme, ims config as shown below.

NR BWP Test1 Configuration 02

I have used ue-3ue-3sdr.cfg which is copied and modified from ue-nr-nsa.cfg

SDR MultiCell OneSdr Test 1 Config 03

 

In enb-multicell-onesdr.cfg, it is configured as follows. In this test, two LTE FDD and one NR TDD are used. So TDD is set to 0 (meaning FDD) and NR_TDD is set to 1 (meaning TDD). LTE bandwidth is set to 10Mhz (N_RB_DL 50) and NR bandwidth is set to 40 Mhz (NR_BANDWIDTH 40). And both LTE and NR are set to 2x2 MIMO (N_ANTENNA_DL 2)

SDR MultiCell OneSdr Test 1 Config 04

Two SDR cards are used in this test. dev0 is mapped to sdr0 and dev1 is mapped to sdr1.

SDR MultiCell OneSdr Test 1 Config 05

Two RF ports are configured. rf_port0 will be used for LTE cell and rf_port1 will be used for NR. Both RF is set to default configuration without any change.

SDR MultiCell OneSdr Test 1 Config 06

In cell_list configuration (LTE cell configuration), the first cell is mapped to the first rf port (rf_port: 0).

SDR MultiCell OneSdr Test 1 Config 07

The second cell is also mapped to the first rf port (rf_port: 0).

SDR MultiCell OneSdr Test 1 Config 08

In nr_cell_list configuration (NR cell configuration), the NR cell is mapped to the second rf port(rf_port: 1).

SDR MultiCell OneSdr Test 1 Config 09

 

In ue-3ue-3sdr.cfg, it is configured as follows.  This test uses 3 cells (2 LTE cell and 1 NR cell), so N_CELL is set to 3.

SDR MultiCell OneSdr Test 1 Config 10

UEsim does not support the multicell on one card, so we need 3 sdr card for the test. In this test, dev0 is mapped to sdr0, dev1 is mapped to sdr1 and dev2 is mapped to sdr2.

SDR MultiCell OneSdr Test 1 Config 11

In cell configuration, you see each of the three cells are mapped to different rf ports. The first LTE cell is mapped to the first rf port(rf_port: 0), the second LTE cell is mapped to the second rf port(rf_portL 1) and the NR cell is mapped to the third rf port(rf_port: 2).

SDR MultiCell OneSdr Test 1 Config 12

Now we will map each of the 3 UEs to each of 3 cells.

The first UE is mapped to the first cell (cell_index: 0)

SDR MultiCell OneSdr Test 1 Config 13

The second UE is mapped to the second cell (cell_index: 1)

SDR MultiCell OneSdr Test 1 Config 14

The third UE is mapped to the third cell (cell_index: 2)

SDR MultiCell OneSdr Test 1 Config 15

 

Perform the Test

Check if all three cells show up and their configuration is as you want. You can check the basic configuration with 'cell phy' and 'cell' command, but you cannot check on sdr and rf port mapping with command line command. You may get some additional information with rf_info command, but this one does not show the detailed mapping either.

SDR MultiCell OneSdr Test 1 Run 01

SDR MultiCell OneSdr Test 1 Run 02

If you are using UEsim for test, check on UEsim and see if all cells are active and detected all three cells. The UEsim should detect all the cells even before you do 'power_on'.

SDR MultiCell OneSdr Test 1 Run 03

Check on cell information on UEsim and see if it matches as you intended. Here you see all three cells (2 LTE cells and one NR cell) are detected.

SDR MultiCell OneSdr Test 1 Run 04

Now power_on all the UEs (power_on *)

SDR MultiCell OneSdr Test 1 Run 05

On Callbox, check if all the cells got connected. Make it sure that you see all cell IDs in CL column.

SDR MultiCell OneSdr Test 1 Run 06

You can check if all the UE got connected and assigned with IP addresses. You should see all three UEs are attached and assigned with IP address.

SDR MultiCell OneSdr Test 1 Run 07

You can confirm on UEside as well and see if all UEs are properly registered.

SDR MultiCell OneSdr Test 1 Run 08

 

Log Analysis

Sample Log

Nothing much you need to check on the log. Just make it sure that you see all RRC (or RRC + NAS) that you need to see for initial attach. You can confirm on this with 'Cell' colum and 'UE ID' column.

SDR MultiCell OneSdr Test 1 Log 01