NB-IoT, Narrow Band Internet of Things. Power saving modes and control commands
Good day to all!
In the previous part, we discussed general information and features of the NB-IoT technology, and here we propose to consider in detail the power saving modes of PSM and eDRX, as well as the commands with which these modes can be controlled.

Energy Saving Modes in NB-IoT
Devices that run on batteries, it is important to consume as little energy as possible. For this, the NB-IoT has two power saving modes: Power Saving Mode, PSM and Extended idle mode DRX, eDRX. Consider them in more detail.
Power Save Mode PSM, Power Saving Mode
According to the 3GPP TS 23.682 specification, Power Saving Mode (PSM) is a power-off mode in which the device nevertheless remains registered on the network. Curiously, the PSM mode appeared in 3GPP specifications earlier than the NB-IoT in 3GPP Release 12.
The NB-IoT device initiates the PSM mode, including the values of two timers in the ATTACH REQUEST / TAU REQUEST requests sent in the Attach and TAU procedures (TAU, Tracking Area Update is a periodic procedure that is used in LTE to notify the network of the availability and location of the mobile device ).
The first timer - T3324 Active Timer - determines the time during which the device remains accessible from the network after an Attach, TAU, or data transfer procedure.
The second timer, T3412 Extended periodic TAU Timer , determines the period of the TAU procedure.
PSM mode and timers T3324, T3412 are shown in fig. one:

If the network allows the use of the PSM mode, the values of these timers are included in the ATTACH ACCEPT / TAU ACCEPT response messages. When determining the values of the timers, the network can take into account not only the values requested by the device, but also the local configuration. In other words, the network is not required to confirm exactly the values of the timers that the device requested. But the device must apply the values received from the network.
The duration of a device in PSM mode is defined as the difference between Extended periodic TAU Timer and Active Timer (T3412-T3324). Since the value of T3324 Active Timer can be zero, the maximum theoretical time spent by the device in PSM mode is equal to the maximum time T3412 Extended periodic TAU Timer and is 413 days and 8 hours (!!!) . The maximum T3324 Active Timer is 3 hours and 6 minutes (186 minutes).
When a device is in PSM mode, it is not available from the network side (for the so-called mobile terminating services).
The GSMA recommends that cellular service providers save and transmit to the device (after the last PSM mode exit) at least the last 100-bit data packet.
The device can exit PSM mode at any time (for example, if the device needs to urgently transmit some data, as in the picture above).
EDRX power saving mode (Extended idle mode DRX)
eDRX (Extended idle mode DRX) can be considered an additional power-saving mode of the device, it appeared in 3GPP Release 13 specifications. DRX means discontinuous reception (Discontinuous Receiving). The discontinuous reception method has been known in cellular communication for a long time, and is that in order to save energy, the receiving path of the device is turned on periodically at certain intervals of time, and most of the time is turned off. The network “knows” about this and sends paging signals only at the “right” times. The extended discontinuous reception (eDRX) mode allows you to significantly increase the period of time when the receiving path of the device is turned off. According to the 3GPP TS 23.682 specification, the period of intermittent reception of eDRX in the NB-IoT mode is from 20.48 to 10485.76 seconds (10485 seconds is almost 3 hours).
A comparison of the “old” DRX and the “new” eDRX is presented in Fig. 2:

The NB-IoT device activates the eDRX mode by transmitting the eDRX period length value in ATTACH REQUEST / TAU REQUEST requests sent in Attach and TAU procedures. If the network allows the use of eDRX mode, then the eDRX period value is included in the ATTACH ACCEPT / TAU ACCEPT response messages. The network is not obliged to confirm the value of the eDRX period requested by the device, but the device must apply the value transmitted by the network.
As in the case of PSM, when using the eDRX mode, the GSMA recommends that operators save and transmit at least the last 100-bit data packet to the device. However, as follows from a survey conducted by the GSM association, the operators intend to save much more downlink data (from application to device).
The eDRX mode can be used simultaneously with the PSM mode.
The PSM and eDRX modes are among the minimum requirements for NB-IoT networks recommended by the GSMA.
NB-IoT device control commands (AT commands)
Standard AT commands are described in the 3GPP TS 27.007 specification. There are a lot of teams in total, here we will consider only those with which you can control the power saving modes of the NB-IoT device. In addition, different manufacturers may interpret standard or invent new commands in their own way. Therefore, for greater certainty, let's see the commands of the NB-IoT-module N21 .
PSM mode control command
To set the PSM mode parameters, use the AT + CPSMS command:
AT+CPSMS=[mode],[Requested_Periodic-RAU],[Requested_GPRS-READY-timer],[Requested_Periodic-TAU],[Requested_Active-Time]
Parameters of the AT + CPSMS command:
- mode (0 - PSM is off, 1 - PSM is on)
- Requested_Periodic-RAU, T3312 (applicable to 2G / 3G, not used in NB-IoT)
- Requested_GPRS-READY-timer, T3314 (applicable to 2G / 3G, not used in NB-IoT)
- Requested_Periodic-TAU, T3412 (applicable to LTE, used in NB-IoT )
- Requested_Active-Time, T3324 (applicable to 2G / 3G / LTE, used in NB-IoT )
Thus, to configure the PSM parameters in the NB-IoT mode , three parameters are used: mode , Requested_Periodic-TAU and Requested_Active-Time .
The requested duration for a device in PSM mode is the difference between the Requested_Periodic-TAU and Requested_Active-Time values.
Encoding the value of Requested_Active-Time (T3324)
Requested_Active-Time is encoded as a sequence consisting of 8 bits, where the upper bits 8, 7, 6 are a multiplier, bits 5, 4, 3, 2, 1 - value.
Bit 8 | Bit 7 | Bit 6 | Factor |
0 | 0 | 0 | 2 seconds |
0 | 0 | one | 1 minute |
0 | one | 0 | 6 minutes (1/10 hour) |
one | one | one | Timer deactivated |
Other values should be interpreted as 1 minute (in the current protocol version) |
Example of coding the value Requested_Active-Time (T3324):
00000101 - Requested_Active-Time
000 - multiplier, 2 seconds,
00101 - value, 5,
5 х 2 seconds = 10 seconds - requested value Requested_Active-Time.
The maximum Requested_Active-Time (T3324) is 3 hours and 6 minutes (186 minutes).
Value coding Requested_Periodic-TAU (T3412)
Requested_Periodic-TAU is encoded as a sequence consisting of 8 bits, where the high-order bits 8, 7, 6 are a multiplier, the low-order bits 5, 4, 3, 2, 1 are the value.
Bit 8 | Bit 7 | Bit 6 | Factor |
0 | 0 | 0 | 10 minutes |
0 | 0 | one | 1 hour |
0 | one | 0 | 10 hours |
0 | one | one | 2 seconds |
one | 0 | 0 | 30 seconds |
one | 0 | one | 1 minute |
one | one | 0 | 320 hours Note: this value applies only to T3312 extended and T3412 extended timers (see TS 24.301). If it is received in a message with integrity checking enabled, the value should be interpreted as 320 hours. Otherwise, it should be interpreted as 1 hour. |
one | one | one | Timer deactivated |
Example of coding the value Requested_Periodic-TAU (T3412):
00100001 - Requested_Periodic-TAU
001 - multiplier, 1 hour,
00010 - value, 2,
2 x 1 hour = 2 hours - requested value Requested_Periodic-TAU
The maximum value of the timer Requested_Periodic-TAU T3412 is 9920 hours or 413 days and 8 hours.
AT + CPSMS command examples
AT+CPSMS=0 // Режим PSM выключен
AT+CPSMS=1,,,"00100001","00100011" // Режим PSM включен, Requested_Periodic-TAU: 2 часа, Requested_Active-Time: 3 минуты, длительность PSM: 1 час и 57 минут
EDRX mode control command
To set eDRX mode parameters, use the AT + CEDRXS command:
AT+CEDRXS=[mode],[AcT-type],[Requested_eDRX_value]
Parameters of the AT + CEDRXS command:
1. mode - mode:
- 0 - eDRX mode is off
- 1 - eDRX mode is on
- 2 - eDRX mode enabled, unsolicited messages (URC) enabled
2. AcT-type - radio access technology:
- 1 - EC-GSM-IoT
- 2 - GSM
- 3 - 3G
- 4 - LTE, LTE-M
- 5 - NB-IoT
3. Requested_eDRX_value - the duration of the eDRX period. The value is encoded as a binary sequence consisting of 4 bits. According to the 3GPP TS 23.682 specification, the eDRX period in the NB-IoT mode is in the range from 20.48 to 10485.76 seconds. The values of Requested_eDRX_value in the NB-IoT mode are listed in Table 3.
Requested_eDRX_value in NB-IoT mode | The duration of the period eDRX, with |
0010 | 20.48 |
0011 | 40.96 |
0100 | 20.48 |
0101 | 81.92 |
0110 | 20.48 |
0111 | 20.48 |
1000 | 20.48 |
1001 | 163.84 |
1010 | 327.68 |
1011 | 655.36 |
1100 | 1310.72 |
1101 | 2621.44 |
1110 | 5242.88 |
1111 | 10485.76 |
AT + CEDRXS command examples
AT+CEDRXS=0 // режим eDRX выключен
AT+CEDRXS=1,5,"0010" // режим eDRX включен, технология радиодоступа - NB-IoT, длительность периода eDRX - 20,48 секунды
PS The article does not claim to be absolute truth and may contain inaccuracies. If you notice inaccuracies, want to share insider information or just give your opinion - welcome to the comments!
Previous part: NB-IoT, Narrow Band Internet of Things. General information and technology features.