Amarisoft

NR Multi UE

 

This tutorial is to show how to simulate multiple UEs with a single UEsim. For the simplicity, You can simulate maximum of 500 or 1000 UEs with single Amari UEsim and single Amarisoft Callbox. Since Amarisoft Callbox support multiple UE in simultaneous connection, it can have diverse use case as follows. Amarisoft Callbox would be the only solution in test and measurement area that support Use Case 2.

NOTE : Exact max number of active UE vary depending on product type, radio access technology and license type as shown in the following tables.

NOTE :  For more than 256 UEs in NR SA and 128 UEs in NSA, you need to use Simbox-MBS.

 

Following table shows the list of UE Simbox product line and major features supported by each model.

UESim LTE MultiUE MaxNoUE Simbox 03

 

 

Table of Contents

 

 

Test Setup

Test setup for this tutorial is as shown below.  In this tutorial, < Case 1 > setup is used, but < Case 2 > setup is also possible. The fact that <Case 2> is possible indicates you can use Amarisoft callbox as a deployed network(live network) as well.

 

Case 1

: In this setup, one callbox (gNB) and one UEsim is used. The single UEsim can emulate multiple UEs (1000 UEs in this tutorial).

TestSetup multiUE 01

 

Case 2

In stead of using UEsim, you can use multiple of real mobilephones for the same test. With this setup, you can share one test equipment with many DUTs and do various function test (e.g, initial call setup, data connectivity, IMS etc) or you can use this setup as private network if you add external radio head to increase the coverage.

MultiUE 1000UE 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 : Test with Configuration File Only

In this test, I will show you how to test 1000 UE with configuration file only. It mean that the information (USIM information) for each and every UE is prepared in advance in configuration file. (NOTE : there would be another way to configure UEsim and benhavior that uses Scenario functions in WebGUI.  I used the predefined configuration file in this tutorial since it may be more general case in the field test, but if you are interested in trying with WebGUI Scenario, refer to this tutorial. Actually the configuration used in this tutorial is created by the WebGUI scenario and used as a predefined configuration file later)

 

Configuration

On UEsim, I used the ue-nr-sa-1000.cfg which is similar to ue-nr-sa.cfg. The configuration includes ue-list-1000-UE.cfg in it.

UEsim NR MultiUE Config 01

On callbox, I used gnb-sa-1000-UE-bis.cfg which is similar to gnb-sa.cfg.

UEsim NR MultiUE Config 02

To configure such a many UEs, we need to use special configurations for core network. For this purpose, I used the mme-ims-1000.cfg  which is copied and modeified from mme-ims.cfg. In mme-ims-1000.cfg, an external ue_db file ue_db_1000-UE.cfg is included.

UEsim NR MultiUE Config 03

In the mme-ims-1000.cfg  a few parameters are modified specifically to handle huge numbers of UEs as highlighted below. The point here is to specify the wide enough ranges of ip addresses (range determined by first_ip_addr and last_ip_addr) to accommodate over 1000 UEs.  Another thing to note is that the predefined ue configuration (ue_db_1000-UE.cfg) is included in mme configuration.

UEsim NR MultiUE Config 04

In this tutorial, following SIM information will be used within ue_db_1000-UE.cfg . Make it sure to configure the same parameters on UE side as well. As you see, ue_db is just the accumulation (list) of USIM parameters like imsi, K, amf, sqn, sim_algo. If you are using Amarisoft UEsim instead of commerical UEs and use "xor" for sim_algo, UEsim has functionality to generate this file automatically. It just increment imsi value with all other parameters set to be same.

UEsim NR MultiUE Config 05

In ue-nr-sa-1000.cfg on UEsim,  Notice that all the individual UE information is included as a separate file named ue-list-1000-UE.cfg.

The initial part of the configuration is to configure the basic physical information for the cell that the UE has to camp on. If you are using commercial UE instead of Amarisoft UEsim, you don't need this configuration since commercial UE detect the cell automatically during cell selection process.

Note that at the end of the configuration, you see the ue-list file(ue-list-1000-UE.cfg) included. It mean you need to prepare the file,

UEsim NR MultiUE Config 06

You should prepare the ue_list file in a form as follows. In this file, you need to provide a set of parameters for 1000 different UEs, meaning that you need to put 1000 copies of the following parameter sets configured differently for each UE.

The initial segment is for USIM information and basic access capability and next segment (sim_events) to configure the behavior of each UE for example, when to powr on, when to start IP traffic (udp in this example) and when to power off.

NOTE : It would be a huge work if you need to prepare all these manually even though it is not impossible. If you use Scenarion function on UEsim WebGUI, you can configure all of these with simple GUI. Check out this tutorial for Scenario function.

UEsim NR MultiUE Config 07

 

Following is the configuration in gnb-sa-1000-UE-bis.cfg

At first, I set NR_TDD = 1 indicating that I will use NR TDD in this test. You can use TDD or FDD as you like without changing much of other parameters.

UEsim NR MultiUE Config 08

In this tutorial, I used NR band 78, scs(subcarrier spacing) 30Khz and ssb bitmap "100000000". It doesn't matter much on how you change these parameters. You can change band, dl_nr_arfcn, subcarrier_spacing, ssb_pos_bitmap in any way you like as long as it complies with 3GPP specification.

UEsim NR MultiUE Config 09

In nr_cell_default, the first thing that I did is to increase the value of sr_period. The default is 40 and I increased this to 320. This is to prevent too many UEs from sending too many SR requestion. In other words, this is to prevent SR flooding from too many UEs.

UEsim NR MultiUE Config 10

For the applications like 1000 UEs, there should be enough PRACH resources for those many UEs. You can do this with the combination of msg1_fdm, ssb_per_prach_occasion, cb_preambles_per_ssb,  In this tutorial, I just increased cb_preambles_per_ssb to allow many UEs to map to the same SSB and RACH occasion. This does not mean that it allows the contention. It is just to allow many UEs to attempt PRACH without waiting too long. (You may check out this note for further details on meaning of msg1_fdm, ssb_per_prach_occasion, cb_preambles_per_ssb)

UEsim NR MultiUE Config 11

For this kind of use case handling so many UEs, gNB should be able to send a lot of PDCCH(DCI) within a slot. It mean that there should be enough physical resources to transmit many PDCCH. This is why I increased the value for duration parameter as shown below.

UEsim NR MultiUE Config 12

Not only for Downlink control channel, but also for uplink control channel we need to assign enough physical resources to handle such a many uplink control information. For this, I increased the value for short_pucch_an_rsc_count to increase the number of short PUCCH for Ack/Nack to handle Ack/Nack simultaneously sent by many UEs. For allow PUCCH from many UEs we need wide uplink physical resources, but the gNB should not allocate all of the uplink resoures for PUCCH. In that case, it would not have any remaining space for PUSCH. To prevent PUCCH from consuming the whole UL resources, we need to set a certain limit for PUCCH space with the parameter n_rb_max.

UEsim NR MultiUE Config 13

 

Perform the test

Check out cell phy configuration and make it sure the cell is configured as intended.

UEsim NR MultiUE Run 01

Start UEsim and run 't' command. Make it sure that all the UE get registerred. You may try 't' command on Callbox as well. The key point is to wait until you see all UE IDs (1 through 1000 in this case) connected. If you are using commercial UEs for the test, you can confirm the same thing on Callbox also using 't' command.

UEsim NR MultiUE Run 02

You can also get some global statistics using "t g" command as shown below. With this command, you can find out high level statics like how many UEs are in idle('idle' colum), how many UEs are off ('off' colum) and how many UEs are in connection ('conn' colum).

UEsim NR MultiUE Run 03

 

Log Analysis

Sample Log

While  UEs are in connected state,  you can check out how many UEs and which UEs are scheduled for each slot as shown below. You may check out the same thing on gNB log as well.  In this log, I would not look much into signaling process because basically they are typical initial attach sequence. What I want to highlight is about lower layer scheduling and see how gNB allocates physical resources to handle such a large amount of UEs.

First let's check how gNB transmit control information. As you can see below, a lot of PDCCHs are transmitted within single slot (SFN 198 and slot 1 in this case). Among these PDCCHs are many dci 1_1 (DL schedule) and dci 0_1(UL schedule).

UEsim NR MultiUE Log 01

Based on DL scheduling shown above, corresponding PDSCHs are transmitted by gNB as shown below. Since k0 for all dci 1_1 is 0 by default (meaning k0 for all dci 1_1 are same), you should see the same number of PDSCHs as the number of dci 1_1 within single slot.

UEsim NR MultiUE Log 02

Based on UL scheduling shown above, corresponding PUSCHs are transmitted by UE as shown below. Since k2 for all dci 0_1 is  all 7  (meaning k7 for all dci 1_1 are same), you should see the same number of PUSCHs as the number of dci 0_1 within single slot.

UEsim NR MultiUE Log 03

While UEs are in connected state,  you can check out the total throughput (aggregated throughput) of all the connected UEs and throughput for each individual UE. You may check out the same thing on gNB log as well.

UEsim NR MultiUE Log 04

While UEs are in connected state,  you can check out the total throughput (aggregated throughput) of all the connected UEs and throughput for each individual UE. You may check out the same thing on gNB log as well.

UEsim NR MultiUE Log 05

While UEs are in connected state,  you can check out the total physical resource allocation (aggregated resource allocation) of all the connected UEs. You may check out the same thing on gNB log as well.

UEsim NR MultiUE Log 06