Table of Contents:

OverView

In real-world deployment for LoRa, distance is a common topic. We always want to have the longest distance. This chapter shows some instructions for how to improve this.

Analyze at the software side

LoRa parameters that effect distance

Some settings in End Node will affect the transfer distance. They are:

  • TXPower: This means the output power from End Node. There is a command AT+TXP can be used to set the output power. TXP parameters follow the LoRaWAN regional document (rp2-1.0.3-lorawan-regional-parameters.pdf). Set to AT+TXP=0 is always has the maximum output, but AT+TXP=0 has different value in different frequency bands.
  • Data Rate(DR): This is a combination of Spreading Factor and Band Width. Lowest Data Rate (DR=0) always has the longest transmit distance in LoRaWAN protocol.

Below is the TXPower and DR table of EU868 Frequency band as reference.

image-20221006185826-1.png

image-20221006185826-2.png

Set AT+TXP=0 and AT+DR=0 will always has the longest transmit distance. But note that different frequency band has different TXP and DR coding according to LoRaWAN regional settings. Below is example for EU868, US915 and AS923 compare for example.

End node actually value when TXP=0 and DR=0

 Output Power in LoRa Module (consider 2dB antenna)

Spreading Factor

(Higher SF can transmit further)

Band Width
EU86814dBmSF=12125Khz
US91520 or 22 dBm (depends on max output of module)SF=10125Khz
AS92314dBmSF=12125Khz

Adaptive Data Rate (ADR) and set max distance

ADR is the feature that Server will ask End Node to adjust the TXP and DR according to some rules in the server. This is for the purpose of Network Management and Optimize End Node battery life-time.

By default, ADR is turn on(AT+ADR=1) so End node ADR feature is enable.

Normally, user can set the max distance by setting:

AT+ADR=0

AT+DR=0

AT+TXP=0

This can be downlink via the LoRaWAN downlink command, see this link for reference.

Check for short distance problem

According to the above technology, if we have a problem on the distance, we can first check if the end node is trying to longest distance modulation already. We can see that from the LoRaWAN server. Below is an example from Chirpstack.

We can see the traffic in gateway’s page and know that the distance is SF12 / BW125. (note, server is not able to know Transmit Power settings from End Node)

image-20221006185826-3.png

Some real-world case

Server reason cause end node has problem on Join.

In one case, the customer is using AWS IoT Core and gateway to connect to AWS via Basic Station Connection, Frequency Band is AU915 sub-band 2. For some unknown reason, AWS always set downlink power to 0dBm, which cause the gateway only emit a very low power and lead to a short distance for sensor.

Below is the output log in gateway side ( SSH Access to Gateway and Check Station log)

image-20221006185826-4.png

The fix of this issue is to set the output power to a high value even server ask to send out 0dBm.

Reference Link:

http://wiki.dragino.com/xwiki/bin/view/Main/Change%20Gateway%20Power/#H1.A0Overview

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0