Amarisoft

NR PDCCH Order

This tutorial shows how to trigger a PDCCH Order based RACH procedure from the callbox.  In live network and UE, PDCCH Order transmission would happen when  a UE reaches ul_max_consecutive_retx or dl_max_consecutive_retx, but it would not be easy to create such a situation in lab settings. So in this tutorial, I will use RemoteAPI to trigger PDCCH order. The main purpose of this tutorial is to show how to configure PDCCH Order related parameters in configuration file and check if UE properly responds to the PDCCH order.

The critical component for the implementation of PDCCH Order in gNB is to transmit a specific DCI 1_0 with RACH configuration as shown below. UE should initiate RACH procedure when it recieves this DCI.

< DCI format 1_0 with CRC scrambled by C-RNTI for PDCCH Order>  

Field (Item)

Bits

Reference

Identifier for DCI formats

1

Always set to 1, meaning this is for DL

Frequency domain resource assignment

Variable

All Ones

Random Access Preamble index

6

6 bits according to ra-PreambleIndex

UL/SUL indicator

1

 

SS/PBCH index

6

 

PRACH Mask index

4

 

Reserved bits

12 or 10

 

Table of Contents

Introduction

The Physical Downlink Control Channel (PDCCH) Order based Random Access Channel (RACH) procedure is a critical mechanism in 5G NR (New Radio) wireless communications, enabling the gNB (next-generation NodeB) to explicitly instruct a User Equipment (UE) to initiate a random access process. This mechanism is particularly significant in scenarios where uplink or downlink radio link failures occur, or when a UE's retransmission limits are exceeded, necessitating a robust recovery and re-synchronization strategy. PDCCH Orders are transmitted via specially-encoded Downlink Control Information (DCI) messages—specifically, DCI format 1_0 with parameters set to trigger RACH—allowing the network to maintain control over UE connectivity and resource utilization. In commercial deployments, such orders are typically triggered by network events, but reproducing these conditions in a controlled lab environment can be challenging. Therefore, this tutorial demonstrates how to use a callbox and RemoteAPI to manually trigger a PDCCH Order, providing an accessible methodology for testing and verification. The tutorial covers the architectural context of PDCCH and RACH within the 5G NR protocol stack, explains the configuration parameters involved, and details the interactions between gNB and UE that ensure successful random access procedures. By leveraging this approach, engineers and testers can gain deeper insights into the network's recovery mechanisms, validate UE responses to network-initiated random access commands, and fine-tune system behavior for enhanced reliability in real-world deployments.

Summary of the Tutorial

This tutorial presents procedures for configuring and testing both contention-based and contention-free PDCCH Order in an NR (New Radio) test environment using Amarisoft tools. The summary below highlights the step-by-step methodologies and test execution flow for both tests outlined in the document.

General Methodology Overview:

Test Setup

Test setup for this tutorial is as shown below.  

TestSetup Callbox UE 1sdr 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 : Contention Based PDCCH Order

In this test, I will show you on how to configure and verify Contention based PDCCH Order.

Configuration

I used gnb-sa-pdcch-order-cb.cfg which is copied and modified from the default eNB configuration (gnb-sa.cfg).

NR PDCCH Order Test 1 Config 01

I used the default configuration mme-ims.cfg .

NR PDCCH Order Test 1 Config 02

In gnb-sa-pdcch-order-cb.cfg, parameters are set as follows. PDCCH order is configured by the parameter pdcch_order_prach. The parameter preamble_type specifies whether the PDCCH Order type is contention based or contention free. In this test, preamble_type is set to "cb_random" which indicates "contention based"

NR PDCCH Order Test 1 Config 03

Perform the Test

Start trace logging on Callbox, Power on UE and let it complete the attach.

Send the RemoteAPI command as below. (NOTE : Double check if you are using the correct enb_ue_id. The simplest way is to check the UE id in trace window)

LTE PDCCH Order Test 1 Run 01

You would get the PRACH triggered by PDCCH order as shown below.

NR PDCCH Order Test 1 Run 02

Log Analysis

SampleLog

NOTE : Since my commercial UE does not support PDCCH Order properly, I used Amarisoft UE sim to collect the log.

You would see that 4 step RACH (contention based RACH) is performed.

NR PDCCH Order Test 1 Log 01

Test 2 : Contention Free PDCCH Order

In this test, I will show you on how to configure and verify Contention free PDCCH Order.

Configuration

I used gnb-sa-pdcch-order-cf.cfg which is copied and modified from the default eNB configuration (gnb-sa.cfg).

NR PDCCH Order Test 2 Config 01

I used the default configuration mme-ims.cfg .

LTE PDCCH Order Test 1 Config 02

In gnb-sa-pdcch-order-cf.cfg, parameters are set as follows. PDCCH order is configured by the parameter pdcch_order_prach. The parameter preamble_type specifies whether the PDCCH Order type is contention based or contention free. In this test, preamble_type is set to "cf_random" which indicates "contention free"

NR PDCCH Order Test 2 Config 03

Perform the Test

Start trace logging on Callbox, Power on UE and let it complete the attach.

Send the RemoteAPI command as below. (NOTE : Double check if you are using the correct enb_ue_id. The simplest way is to check the UE id in trace window)

LTE PDCCH Order Test 1 Run 01

You would get the PRACH triggered by PDCCH order as shown below.

NR PDCCH Order Test 2 Run 02

Log Analysis

SampleLog

NOTE : Since my commercial UE does not support PDCCH Order properly, I used Amarisoft UE sim to collect the log.

Before you send RemoteAPI command, I would recommend to check the default EPS bearer ID you want to link the dedicated bearer you will create.

You would see that 2 step RACH (contention free RACH) is performed. You would also notice this is contention free by the log print 'Contention free preamble..'

NR PDCCH Order Test 2 Log 01