background image

 

SARA-R42 - Application note 

UBX-20050829 - R02 

PSM, eDRX and deep-sleep mode

 

Page 26 of 58 

C1-Public 

 

 

8

 

PSM, eDRX and deep-sleep mode 

8.1

 

Power saving mode (PSM) 

3GPP  has  a  standardized  PSM  to  minimize  power  consumptions  for  devices  that  require  sporadic 
access to the cellular network. Instead of switching off the module at the end of the data transfer, if 
PSM is enabled with the 

+CPSMS

 AT command, then a device can negotiate long lasting time periods 

(up  to  413  days)  during  which  keepalive  notifications  can  be  postponed  and  the  module  can  stay 
registered to the network. 

Meanwhile, pending mobile terminated traffic indications, such as SMS or small data packets, are 
likely  to be stored at the network side. This allows devices to skip paging reception and enter the 
minimum functionality PSM deep-sleep mode. To retrieve the pending mobile terminated (MT) traffic 
from  the  application  server  (AS),  applications  are  suggested  to  implement  a  pull  mechanism:  the 
application client sends a mobile originated (MO) pull message to the server after the NW-buffered 
MT small trigger reception, the application server completes the MT data delivery upon the MO pull 
message reception. 

The host application can preconfigure PSM on the module before registration or activate it at runtime 
(see  the 

+CPSMS

  AT  command  description  in  the  SARA-R4  series  AT  command  manual 

[2]

).  The 

former  solution  is  preferred  because  the  second  one  triggers  an  extra  PSM  negotiation  with  the 
cellular  network.  The  application-configured  PSM  settings  are  NVM  persistent  and  used  at  any 
registration procedure, periodic or due to mobility in other areas, which is seen as a new negotiation 
opportunity. The requested PSM settings can be configured via the 

+CPSMS

 AT command, whereas 

the PSM settings assigned by the network, which are the used one, can be discovered via the 

+CEREG

 

URC and the 

+UCPSMS

 AT command. If PSM is not granted by the network, then the module can not 

use PSM. In this case, for example, the host application could power on and off the module with the 
desired periodicity in order to save power. 

Two timers determine the entrance into PSM deep-sleep mode, namely: 

 

T3324, the active timer, which starts when the network releases an existing RRC connection and 
is reset if a new RRC connection is established before the timer has expired. At T3324 expiry, the 
module can enter the PSM deep-sleep mode and it enters PSM deep-sleep as soon as the module 
completes any pending activity. If the eNB needs to send any MT data, then it always pages it 
before the active timer expiry. In case the eNB does not allow the UE to use PSM feature it does 
not grant it not assigning the active timer. 

 

T3412, the periodic TAU (Tracking Area Update) timer, which starts when the network releases 
an existing RRC connection and is reset if a new RRC connection is established before the timer 
has  expired.  It  comes  with  two  timer  values:  the  legacy  one  and,  in  case  of  PSM,  the  optional 
extended  timer  value,  used  whenever  present.  By  default,  the  cellular  network  sets  the  T3412 
duration to almost 1 hour, but if PSM is supported, its duration can be extended to up to 413 days. 

When PSM is granted by the network context retention is possible. At PSM deep-sleep exit no LTE 
attach is needed, previously activated EPS bearers and IP addresses are locally restored. The module 
can  directly  start  a  MO  data  or  signaling  transmission,  e.g.  a  TAU  procedure,  when  it  exits  PSM 
deep-sleep due to an early wake-up trigger or autonomously at periodic T3412 timer expiry. 

8.1.1

 

GSMA recommendations 

The selection of the requested T3412 timer value is a trade-off between power consumptions, which 
can be minimized setting long timer values, and the tolerated MT data delay, which is the limit factor 
for the T3412 timer duration. When using PSM it is recommended to request a T3412 timer extended 
value of at least 4 hours. In case  no MT data is considered in the application design power can be 
minimized requesting the longest possible 413 days timer duration. 

Содержание SARA-R42

Страница 1: ...blox com SARA R42 Application development guide Application note Abstract This document provides detailed technology architecture and examples of how to use AT commands with u blox SARA R422 SARA R42...

Страница 2: ...n the products names logos and designs included in this document Copying reproduction modification or disclosure to third parties of this document or any part thereof is only permitted with the expres...

Страница 3: ...Core application 11 3 2 6 Power off 11 3 3 Application modes 11 3 3 1 Debug test mode 11 3 3 2 Production testing 11 3 3 3 Certification mode 11 3 3 4 Firmware update mode 11 4 AT commands response pa...

Страница 4: ...6 8 1 2 Timer values 27 8 1 3 PSM and roaming 28 8 1 4 Example of usage of PSM 28 8 2 Deep sleep mode 29 8 2 1 Deep sleep aware applications and deep sleep postponing 29 8 2 2 Deep sleep indications 3...

Страница 5: ...ng backup after flashing FW update with delta package 49 13 1 4 EasyFlash backup and SMS storage 49 14 Restore factory configuration 50 15 Specialized application notes by topic 52 15 1 Multiplexer 52...

Страница 6: ...SARA R412M to SARA R42 modules Table 1 shows a summary of the documentation available for SARA R42 Document name Notes Application integration Application development guide app note This document Sta...

Страница 7: ...ing it well suited for critical applications running on devices that may be deployed in the field for extended periods of time As M stands for mobility the LTE Cat M1 standard specifies Connected Mode...

Страница 8: ...elected see the SARA R4 series system integration manual 3 and the SARA R4 series AT commands manual 2 To benefit from the enhancement of the LPWA standards the power saving mode PSM can be enabled to...

Страница 9: ...fication mode Maintenance FW update mode Debug test mode Production mode Power cons optimization Normal mode Figure 1 Application design 3 1 Initial design decisions If some features will never be use...

Страница 10: ...ctive LTE bands The host application should implement a persistent configuration setting phase performed once and then at an as needed basis where all AT commands related to the required settings are...

Страница 11: ...eded it may be necessary to configure different verbosity levels for the host application and modules log This can be done with configuration files that can be side loaded to the file system In extrem...

Страница 12: ...UX The only allowed parallel activity is present when it is defined a system architecture with a PPP dial up on one port and AT commands on the other one 4 1 Operational modes of the AT interface When...

Страница 13: ...report a specific event or status change on the same AT port If the AT port is busy the application can decide to discard CIND CGEV and SMS related URC by properly configuring the related AT commands...

Страница 14: ...and AT commands on the other port The URINGCFG AT command is not applicable when the AT USIO 1 option is selected due to the fact that the RING line is not available at UART level in this configuratio...

Страница 15: ...heck the current baud rate Table 5 Setting a fixed baud rate example The UART speed takes around 200 ms to reconfigure itself after a baud rate change through the IPR AT command To show a greeting tex...

Страница 16: ...full V24 modem lines are not supported In this configuration entering in OLCM or disconnecting the PPP connection via DTR line de assertion is not possible Issue the AT CVHU 0 command to make ATH ove...

Страница 17: ...The host application should specify an MNO profile The default and factory programmed MNO profile is 90 global profile Reboot the module by means of AT CFUN 15 command or the equivalent AT CFUN 16 to...

Страница 18: ...wever there may be changes that need to be applied to the module for proper operation with any given MNO such as attach type RAT preference band selection etc Please consult with the preferred network...

Страница 19: ...OK Set the automatic MNO profile detection the automatic reset and enable the related URC AT CFUN 15 DTE is required to perform first reboot AT UMNOPROF UMNOPROF 1 0 OK UMNOPROF is ready to perform au...

Страница 20: ...0 0 0 0 0 0 0 0 0 0 0 0 219 524288 Enable B2 B4 B5 B12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 1 0 211 24 23 21 2074 Enable B4 B13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0...

Страница 21: ...e can be selected by the host application based on the tradeoff between power consumption and maximum tolerable delay before regaining cellular coverage 7 2 First time registration setup It is importa...

Страница 22: ...Protocol Configuration Options ePCO container is used in Network Access Stratum NAS messaging when attaching to an LTE network Some NB IoT mobile operators do not support ePCO container therefore if...

Страница 23: ...kom DT MNO the limit is 30 the maximum number of PDP context activations requests per hour following a PDP context activation request ignored by the network e g for DT it is 60 rejected with a permane...

Страница 24: ...d has a AcT parameter which describes the access technology the module is registered to However this command does not provide a URC when the module is registered There are other AT commands that do ha...

Страница 25: ...using the abort of the RRC connection and the interruption of the data traffic A possible solution to this situation is to apply a manual PLMN selection as a workaround for this specific SIM setting F...

Страница 26: ...etwork then the module can not use PSM In this case for example the host application could power on and off the module with the desired periodicity in order to save power Two timers determine the entr...

Страница 27: ...as GPRS timer 3 IE see TS 3GPP TS 24 008 12 Bits 5 to 1 represent the binary coded timer value Bits 6 to 8 define the timer value unit for the GPRS timer and are encoded as follows BIT 8 7 6 0 0 0 val...

Страница 28: ...PSMVER UPSMVER 4 3 3 4 0 OK Make sure the UPSMVER AT command is set to its default value where PSM with context retention feature is enabled otherwise enable it and start from the beginning AT CPSMS C...

Страница 29: ...for MO data waking up the module just before it exits PSM deep sleep by itself when possible To keep power consumptions in deep sleep extremely low the only running module component in this state is a...

Страница 30: ...g if RXD is low for more than 1 character UUPSMR URC printed on the AT interface when entering and exiting deep sleep mode 8 2 3 Deep sleep state in out of service The power efficient deep sleep mode...

Страница 31: ...reliability it is also advisable to request at least two TeDRX cycles during the T3324 active time see Figure 4 Power Save Mode Paging window 2 56s cycle eDRX cycle N Hyper frames of 10 24 s T3324 pe...

Страница 32: ...after having configured eDRX deep sleep with AT UPSMVER 8 command which forces eDRX to be used standalone disabling PSM requests to the network When the eDRX deep sleep feature is used power consumpti...

Страница 33: ...t transmission or reception is complete the RRC connection is released by the network The device enters the idle state and starts T3324 and T3412 timers 5 While the T3324 timer is running paging is li...

Страница 34: ...URCs provide the most updated information and in some cases diagnostic information which is not available via polling For AT commands that enable URCs they might also return the same information when...

Страница 35: ...level No AT CNMI 2 1 CMTI mem index Report the index in current selected memory can be the factory programmed setting ME or SIM see CPSM read command where the mobile terminated SMS has been stored Th...

Страница 36: ...del and FW identification useful for tracking purposes Module initialization AT CGSN 355438110017558 Return the IMEI Module initialization AT CIMI AT CCID 001010123456789 CCID 89860000502000180722 Ret...

Страница 37: ...IM refresh only in debug test mode AT CEDRXRDP CEDRXRDP AcT_type Requested_eDRX_cycl e Assigned_eDRX_cycle_value Assigned_pa ging_time_window It returns the current eDRX parameters assigned by the mob...

Страница 38: ...address cannot establish dial up Detach re attach AT CFUN 0 AT CFUN 1 Consider possible restrictions to multiple cid s active for APN If IPv6 only PDN is set in Verizon Wireless MNO setting detach de...

Страница 39: ...ossible it is suggested to use test SIM cards during production tests possibly the same SIM card used during the device validation If a test SIM card is not available and if the production tests are p...

Страница 40: ...in a specified channel to return the measured power level in all supported bands The minimum recommended RF verification in production consists in forcing the module to transmit in a supported frequen...

Страница 41: ...e is not completely in non signaling mode because CFUN reports that it is in test mode Below is the sequence to correct this AT CFUN 0 OK Set the MT to minimum functionality AT CFUN 1 OK Sets the MT t...

Страница 42: ...for RF TX non signaling mode Command Response Description AT UTEST 3 123060 23 0 OK Turn on the continuous TX in B12 Ch 123060 23 dBm AT UTEST 3 123060 23 1000 UTEST 123060 23 5 1 1000 OK Turn on TX...

Страница 43: ...tate the command saves the pins status to restore it at the end of the test Pins enabled for testing GPIO1 pin 16 Where hex 0000 0000 0000 0000 0000 8000 AT UTEST 10 3 000000000000 000000000000 OK GPI...

Страница 44: ...th the pins effectively and not have conflicting control with the other commands 10 2 Network simulators testing When testing with network simulators such as a CMW500 from Rohde Schwarz as one example...

Страница 45: ...boxes which may require a specific UICC profile to connect to Anticipate such needs and be prepared to be able to obtain and configure a profile to connect to such networks or simulators Alternatively...

Страница 46: ...re accepted the CREG read command and URC would report that it is not registered for CS services Since it can happen that SMS services are not supported in NB IoT in AT URAT 8 there is no means to und...

Страница 47: ...es system integration manual 3 Backup Restore feature is intended only as an additional backup mechanism if on the potential rare occasion the host application shutdown is not conforming to the gracef...

Страница 48: ...AT interface is available here is the following option Wait for UUBKUPDATA URC o Example for backup successful UUBKUPDATA 1 1 13 1 2 EFS restore When an automatic restore is triggered the device will...

Страница 49: ...is received Enable and monitor the GPIO pin with Module status indication functionality via the UGPIOC AT command Enable and monitor the greeting message via the CGST AT command 13 1 3 Creating backu...

Страница 50: ...stored 2 Reboot the module The UFACTORY AT command writes a flag in NVM and does not perform any restoring action This flag is then read at the next reboot when the UFACTORY corresponding action is ex...

Страница 51: ...et a UFACTORY action AT UFACTORY UFACTORY 1 0 OK Check the action currently set At the moment a delete user files procedure is requested and will be applied at next reboot AT UFACTORY 0 0 OK Cancel an...

Страница 52: ...ations development guide application note 5 15 3 Security suite See the Security suite application note 6 15 4 Secure communication See the Internet applications development guide application note 5 1...

Страница 53: ...ne termination sequence n r in the CSGT URC and some AT commands in test mode like AT UPSV AT UFOTA plus some others related to the LWM2M functionality AT commands handler applies the uncorrected line...

Страница 54: ...s configuration mode 0 automatic in set functionality does reset the selected RATs configuration mode 0 automatic in set functionality does reset the selected RATs configuration mode 0 automatic in se...

Страница 55: ...ween the provided values FOTASTAT event param1 param2 Applied syntax spaces between the provided values UFOTASTAT event param1 param2 UPSMR URC Applied syntax no spaces between the provided values UPS...

Страница 56: ...HW Hardware LPWAN Low Power Wide Area Network LwM2M Lightweight M2M MNO Mobile Network Operator MO Mobile Originated MT Mobile Terminated NVM Non Volatile Memory NW Network OPLMN Operator Public Land...

Страница 57: ...te UBX 20012413 8 u blox Mux implementation in cellular modules application note UBX 13001887 9 u blox LwM2M objects and commands application note UBX 18068860 10 u blox SARA R5 SARA R422 AWS IoT Core...

Страница 58: ...egional Office China Beijing Phone 86 10 68 133 545 Email info_cn u blox com Support support_cn u blox com Regional Office China Chongqing Phone 86 23 6815 1588 Email info_cn u blox com Support suppor...

Отзывы: