In this section, we consider the results of the data transfer of captured mangrove forest images over the LoRa physical layer using different SFs and at different distances. In addition to the quality assessment metrics, we also consider packet loss and the effect of the surrounding environment on transmission.
5.1. Packet Loss in LoRa Transmission
Table 3 shows a series of characteristics that define the success of image transmission over the LoRa physical layer. With this set of experiments, the
SF was varied from 7 to 12, and communication ranges between 1 and 7 km were tested. In this table, we record the number of hexadecimal packets received, the packet loss ratio, and the time elapsed for data transfer (calculated using additional code in the receiver node) for each
SF and distance setting.
Remarkably, we observed no packet loss between 1 and 4 km, when
SF = 7 (see
Table 3 above) where time elapsed during data transfer was less than 2 min. We also observed that 4.82% of the packets were lost when the image was transferred over a 5 km range. All packets were lost when transferring at ranges of 6 km and above. Similarly, no packet loss was observed at distances shorter than 4 km when
SF = 8, 9 and 10. The communication range without packet loss increased to 5 km when
SF = 11 and 6 km when
SF = 12. With the latter
SF, a packet loss of 2.82% was observed (see
Table 3 above). Most important notice that an
SF of 7 reduces the time elapsed during transfer, and
SF 12 is preferable for long distance transmission. At the end 12 images out of 21 were received successfully (see
Table 4) and most remarkable results that SF7, SF8, and SF9 were very close, although the measurements were in different distances and this is clearly shown in
Figure 10.
Visual inspection of the images before and after transfer over the LoRa network (see
Table 5) indicate the success of the new image encryption scheme, although some of the received images were affected by noise. By splitting this ‘high bit rate data’ into packets, we are able to overcome the LoRa bandwidth limitation.
5.2. Quality Assessment of Received Images
After reassembling the received images into the JPEG file format, we calculated the values of PSNR, MSE, and SSIM for the different transmission conditions using MATLAB, for image quality assessment. The results of these calculations are summarised in the following table.
We observed from
Table 6, that the values of
MSE and SSIM were 0 and 1, respectively, at communication distances between 0 and 3 km when
SF was set to 7. These values indicate that the original and the received images were identical in these transmission conditions. The same values were calculated for images transmitted with SFs of 10, 11, and 12 at a distance of 4 km from the transmission node. The following table (
Table 7) summarizes the
SF settings where the original and transmitted image are identical.
5.3. Effects of Fresnel Zone
Although the results of this experiment demonstrate that by adopting the proposed encryption scheme image data can be transferred over the LoRa physical layer, they do not indicate the full capabilities of LoRa communication based on the nine trials which ended in failure. We posit that the reason for these failures was the dense growth of coconut trees around the mangrove area, which worked as obstacles preventing signals from traveling between the transmitter and receiver nodes. These trees lie in the so-called ‘Fresnel zone’, defined in point-to-point networks by a cylindrical ellipse drawn between the transmitter and the receiver nodes, as illustrated in
Figure 11. It is known that this zone should be at least 60% free of obstructions, such as buildings, mountains, or trees, failing which, signal energy loss is incurred. This, reduce the performance of the wireless link, as was the case with our experiment. Hence, it is important to have a clear ‘line of sight (LOS)’ between the transmitter and the receiver, as much as possible [
25]. In our experiments, the transmitter node was fixed on a Skylift at a height of 40 m. The height of the receiver node, which was installed on the back of a four-wheel drive vehicle did not exceed 5 m. On average, coconut trees are approximately 12 m tall. This height can sometimes approach 25 m in isolated incidences [
26]. Consequently, these trees fall in the first order Fresnel zone, based on the geometry of the measurement environment, as illustrated in
Figure 12. This has a negative effect on the transmission of the LoRa signals.
To figure out whether or not the trees are acting as an obstacle of signal performance between the sender and the receiver, the Fresnel zone radius and diameter can be calculated using the following formulas:
where
r = The radius of the Fresnel zone
D = The distance between Rx and Tx (km)
F = Frequency used in the transmission process which is 921.9 MHz
The Fresnel zone midpoint calculated using the following
where the 40 m and the 5 m are the height of the transmission and the receiver node from the ground respectively.
The average height of the mangrove trees (coconut trees) were calculated because it useful to find out how much it can encroach through the Fresnel zone, so in our experiment they calculated this using the following equation
where the 12–25 is the range of coconut trees heights
For example, the Fresnel zone for the first kilometre distance between the transmission and receiver nodes can be calculated using the above Equations (5)–(8) as the following
Subtracting this value from the average height of coconut trees roughly gives us the distance of the coconut trees which crossed the Fresnel zone.
After this, it is easy to find out how much the Fresnel zone clearance is using the following calculations
Thus, at the first distance (1 km) between the transmitter and the receiver, the Fresnel zone was more than 60% clear of obstruction. This means the coconut trees will not affect the clear line of sight between the transmitter and the receiver (see
Figure 13).
After applying the same calculations for the rest of the distances, the following results were found (see
Table 8):
It is obvious from these results (
Table 8) that the clear Fresnel zone is less than 60% from the 5th km and above, where the wireless link performance will definitely be affected [
27]. Therefore, the coconut trees at the place of measurement and were an obstruction in this scenario and prevent the clear line-of-site status between the transmitter and the receiver nodes. This is the reason for packet loss in the experiment.