Changes for page How to improve LoRaWAN distance
Last modified by Xiaoling on 2024/08/16 11:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,6 +4,8 @@ 4 4 5 5 6 6 7 + 8 + 7 7 = 1. OverView = 8 8 9 9 ... ... @@ -10,7 +10,6 @@ 10 10 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. 11 11 12 12 13 - 14 14 = 2. Analyze at the software side = 15 15 16 16 == 2.1 LoRa parameters that effect distance == ... ... @@ -36,10 +36,10 @@ 36 36 37 37 **End node actually value when TXP=0 and DR=0** 38 38 39 -(% border="1.5" cellspacing="4" style="background-color:#fff fcc;color:black;width:1002px" %)40 -|(% style="width:134px" %)**Frequency band**|(% style="width:400px" %)**Output Power in LoRa Module (consider 2dB antenna)**|(% style="width:362px" %)((( 40 +(% border="1.5" cellspacing="4" style="background-color:#f2f2f2; width:1002px" %) 41 +|(% style="background-color:#d9e2f3; width:134px" %)**Frequency band**|(% style="background-color:#d9e2f3; width:400px" %)**Output Power in LoRa Module (consider 2dB antenna)**|(% style="background-color:#d9e2f3; width:362px" %)((( 41 41 **Spreading Factor(Higher SF can transmit further)** 42 -)))|(% style="width:102px" %)**Band Width** 43 +)))|(% style="background-color:#d9e2f3; width:102px" %)**Band Width** 43 43 |(% style="width:134px" %)**EU868**|(% style="width:400px" %)14dBm|(% style="width:362px" %)SF=12|(% style="width:102px" %)125Khz 44 44 |(% style="width:134px" %)**US915**|(% style="width:400px" %)20 or 22 dBm (depends on max output of module)|(% style="width:362px" %)SF=10|(% style="width:102px" %)125Khz 45 45 |(% style="width:134px" %)**AS923**|(% style="width:400px" %)14dBm|(% style="width:362px" %)SF=12|(% style="width:102px" %)125Khz ... ... @@ -48,7 +48,7 @@ 48 48 == 2.2 Adaptive Data Rate (ADR) and set max distance == 49 49 50 50 51 -**ADR** 52 +(% style="color:#037691" %)**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. 52 52 53 53 54 54 By default, ADR is turn on((% style="color:#037691" %)**AT+ADR=1**) (%%)so End node ADR feature is enable. ... ... @@ -58,15 +58,14 @@ 58 58 59 59 (% style="color:#037691" %)**AT+ADR=0** 60 60 61 -(% style="color:#037691" %)**AT+DR=0** 62 +(% style="color:#037691" %)**AT+DR=0 **~/~/(%%) Use longest distance modulation 62 62 63 -(% style="color:#037691" %)**AT+TXP=0** 64 +(% style="color:#037691" %)**AT+TXP=0 **(%%)~/~/ Use max power For EU868, max power can be is AT+TXP=50 64 64 65 65 66 66 This can be downlink via the LoRaWAN downlink command, see [[this link>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H8.2UseDownlinkCommandtosetafixuplinkDR]] for reference. 67 67 68 68 69 - 70 70 == 2.3 Check for short distance problem == 71 71 72 72 ... ... @@ -79,25 +79,35 @@ 79 79 [[image:image-20221006185826-3.png]] 80 80 81 81 82 - 83 83 == 2.4 Best software settings for the longest distance == 84 84 85 85 86 86 Below are the settings for longest distance transmission. ( will reduce battery life) 87 87 88 -* (% style="color:#037691" %)**AT+ADR=0** (%%)~/~/ Disable ADR 89 -* (% style="color:#037691" %)**AT+DR= 0** (%%)~/~/ Use the smallest DR 90 -* (% style="color:#037691" %)**AT+TXP=0** (%%) ~/~/ Use max power .87 +* (% style="color:#037691" %)**AT+ADR=0** (%%)~/~/ Disable ADR 88 +* (% style="color:#037691" %)**AT+DR= 0** (%%)~/~/ Use the smallest DR,the longest distance modulation 89 +* (% style="color:#037691" %)**AT+TXP=0** (%%) ~/~/ Use max power For EU868, max power can be is AT+TXP=50 91 91 92 92 92 +== 2.5 Debug in Software == 93 + 94 +Dragino can help client to debug the software for the distance issue. In the case , please send us below info: 95 + 96 +* Detail packets include for Join Request, Join Accept, Uplink & Downlink, These packets should include: 97 +** RSSI, DataRate, FCNT, Frequency. 98 +** MIC command detail & Payload detail. 99 + 100 + 93 93 = 3. Analyze at the hardware side = 94 94 95 -== 3.1 Check if the antenna path is good ~-~- For LS n50v2 series end node ==103 +== 3.1 Check if the antenna path is good ~-~- For LSN50v2 series end node == 96 96 105 + 97 97 a) Open Enclosure and Check if the antenna connection to module is good. 98 98 99 99 b) check if the connector match. 100 100 110 + 101 101 [[image:image-20221016081725-1.png||height="426" width="706"]] 102 102 103 103 ... ... @@ -106,7 +106,7 @@ 106 106 == 4.1 Check the use environment == 107 107 108 108 109 -First , User should notice: Radio link quality and performances are highly dependent of the environment. 119 +First , User should notice: Radio link quality and performances are highly dependent of the environment.Even you have the same hardware and antenna, Different installation will result in different performance. 110 110 111 111 (% style="color:blue" %)**Better performances can be reached with:** 112 112 ... ... @@ -115,7 +115,6 @@ 115 115 * No high level radio interferes in the ISM band you use. 116 116 * At least 1 meter above the ground. 117 117 118 - 119 119 (% style="color:blue" %)**Radio performances are degraded with:** 120 120 121 121 * Obstacles: buildings, trees... ... ... @@ -130,7 +130,6 @@ 130 130 In some case, we have to install the device inside the chamber or next to a metal case. So the signal between the antenna and the receiver (gateway) is blocked by the metal. This will greatly reduce the signal. In such case, we can consider using antenna extend cable to extend the antenna to a better position. 131 131 132 132 133 - 134 134 = 5. Some real-world case = 135 135 136 136 == 5.1 Server reason cause end node has problem on Join. == ... ... @@ -149,4 +149,32 @@ 149 149 150 150 Reference Link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Change%20Gateway%20Power/#H1.A0Overview>>http://wiki.dragino.com/xwiki/bin/view/Main/Change%20Gateway%20Power/#H1.A0Overview]] 151 151 160 + 161 +== 5.2 Chirpstack Default settings to 64 channels which cause Signal Poor. == 162 + 163 + 164 +In this case, User use a Chirpstack LoRaWAN server with default settings. The Frequency Band is US915 and default settings of Chirpstack has all channels ( All sub-bands , total 72 channels) enable. User use a LDS03A and a LPS8N LoRaWAN gateway for the test. 165 + 166 + 167 +There is a strange issue: LDS03 has a very good RSSI ( RSSI=-40) during OTAA Join. But The LDS03A give a very poor RSSI after OTAA Join. After debug, it proves that the issue is with ChirpStack Frequency band settings. The ChirpStack server enables all 72 channels and the LDS03A will also use all channels after OTAA Join, but the LPS8N only can support 8 channels and set to Sub-Band2. When the LDS03A sends an uplink packet in the channel LPS8N doesn't support, because LDS03A is very close to LPS8N, LPS8N pick up this not support frequency and send to server. So in the platform we see a uplink packet with very poor RSSI. 168 + 169 + 170 +Above issue was confirmed and solved after set the ChirpStack support channels to sub-band2. See below for photos during debug. 171 + 172 +[[image:image-20221031233628-2.png]] 173 + 174 + 175 +[[image:image-20221031233759-3.png]] 176 + 177 + 178 +[[image:image-20221101000006-1.png||height="353" width="931"]] 179 + 180 + 181 += 6. Use a repeater = 182 + 183 + 184 +In some cases, user can consider use a repeater for limitation transmition. 185 + 186 +See here for how to set up: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LoRaWAN%20IoT%20Kit%20v3%20User%20Manual/#H7.Example6:LimitedLoRaWANrelay >>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LoRaWAN%20IoT%20Kit%20v3%20User%20Manual/#H7.Example6:LimitedLoRaWANrelay]] 187 + 152 152
- image-20221031233524-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.1 KB - Content
- image-20221031233628-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +72.3 KB - Content
- image-20221031233759-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +80.4 KB - Content
- image-20221101000006-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +88.5 KB - Content