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 (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -10,21 +10,20 @@ 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 15 + 16 16 == 2.1 LoRa parameters that effect distance == 17 17 18 18 19 19 Some settings in End Node will affect the transfer distance. They are: 20 20 21 -* (% style="color:blue" %)**TXPower: **(%%)This means the output power from End Node. There is a command [[AT+TXP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.14TransmitPower]] 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 (% style="color:#037691" %)**AT+TXP=0**(%%)is always has the maximum output, but(% style="color:#037691" %)**AT+TXP=0**(%%)has different value in different frequency bands.21 +* (% style="color:blue" %)**TXPower: **(%%)This means the output power from End Node. There is a command [[AT+TXP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.14TransmitPower]] 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. 22 22 23 23 * (% style="color:blue" %)**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. 24 24 25 25 Below is the TXPower and DR table of EU868 Frequency band as reference. 26 26 27 - 28 28 [[image:image-20221006185826-1.png]] 29 29 30 30 ... ... @@ -31,10 +31,10 @@ 31 31 [[image:image-20221006185826-2.png]] 32 32 33 33 34 -Set (% style="color:#037691" %)**AT+TXP=0**(%%) **and**(% style="color:#037691" %)**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.33 +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. 35 35 36 36 37 - **End node actually value when TXP=0 and DR=0**36 +End node actually value when TXP=0 and DR=0 38 38 39 39 (% border="1.5" cellspacing="4" style="background-color:#ffffcc; color:black; width:1002px" %) 40 40 |(% style="width:134px" %)**Frequency band**|(% style="width:400px" %)**Output Power in LoRa Module (consider 2dB antenna)**|(% style="width:362px" %)((( ... ... @@ -45,6 +45,7 @@ 45 45 |(% style="width:134px" %)**AS923**|(% style="width:400px" %)14dBm|(% style="width:362px" %)SF=12|(% style="width:102px" %)125Khz 46 46 47 47 47 + 48 48 == 2.2 Adaptive Data Rate (ADR) and set max distance == 49 49 50 50 ... ... @@ -73,7 +73,7 @@ 73 73 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. 74 74 75 75 76 -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)76 +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) 77 77 78 78 79 79 [[image:image-20221006185826-3.png]] ... ... @@ -85,27 +85,18 @@ 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 ADR89 -* (% style="color:#037691" %) **AT+DR= 0**(%%)~/~/ Use the smallest DR90 -* (% style="color:#037691" %) **AT+TXP=0**(%%) ~/~/ Use max power.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. 91 91 92 92 93 -= 3. Analyze at the hardware side = 94 94 95 -= =3.1Check if the antennapathis good ~-~- For LSn50v2seriesend node==94 += 3. Installation Guidelines = 96 96 97 -a) Open Enclosure and Check if the antenna connection to module is good. 98 98 99 - b)checkiftheconnectormatch.97 +== 3.1 Check the use environment == 100 100 101 -[[image:image-20221016081725-1.png||height="426" width="706"]] 102 102 103 - 104 -= 4. Installation Guidelines = 105 - 106 -== 4.1 Check the use environment == 107 - 108 - 109 109 First , User should notice: Radio link quality and performances are highly dependent of the environment. 110 110 111 111 (% style="color:blue" %)**Better performances can be reached with:** ... ... @@ -116,6 +116,7 @@ 116 116 * At least 1 meter above the ground. 117 117 118 118 110 + 119 119 (% style="color:blue" %)**Radio performances are degraded with:** 120 120 121 121 * Obstacles: buildings, trees... ... ... @@ -124,18 +124,20 @@ 124 124 * Radio communication are usually killed with bad topographic conditions. It is usually not possible to communicate through a hill, even very small. 125 125 126 126 127 -== 4.2 Improve the Antenna == 128 128 120 +== 3.2 Improve the Antenna == 129 129 122 + 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 133 134 -= 5. Some real-world case =127 += 4. Some real-world case = 135 135 136 -== 5.1 Server reason cause end node has problem on Join. == 137 137 130 +== 4.1 Server reason cause end node has problem on Join. == 138 138 132 + 139 139 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. 140 140 141 141
- image-20221016081725-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -569.8 KB - Content