1. Introduction
Low-power wide-area networks (LPWANs) have been widely adopted in agricultural monitoring, the Industrial Internet of Things (IIoT), and other IoT scenarios owing to their wide-area coverage and low power consumption [
1]. As a representative LPWAN technology, LoRa enables long-range communication with low transmit power by employing chirp spread spectrum (CSS) modulation and a multi-spreading-factor (multi-SF) transmission mechanism [
2,
3]. Different spreading factors (SFs) provide different trade-offs among receiver sensitivity, transmission rate, and link coverage capability. Terminal nodes located farther from the gateway are typically assigned higher SFs and higher transmit power to improve edge-node transmission reliability [
4,
5]. The coverage performance of LoRa networks is affected not only by path loss, thermal noise, and small-scale fading but also by intra-SF interference, residual inter-SF interference arising from imperfect SF orthogonality, and random traffic activation [
6,
7].
In LoRa uplink transmission, edge nodes are typically located near the boundary of the gateway coverage area, resulting in long propagation distances to the gateway. Consequently, the received signal power is substantially attenuated by path loss and shadow fading, while thermal noise further degrades the link quality [
8,
9]. Compared with near-gateway links, edge-node links have a more constrained link budget and are therefore more likely to have a signal-to-noise ratio (SNR) or signal-to-interference-plus-noise ratio (SINR) below the demodulation threshold under identical noise and interference conditions [
10]. Increasing the spreading factor or transmit power can improve the reliability of edge-node links to some extent. However, a higher SF reduces the data rate and prolongs the time-on-air (ToA), thereby increasing the probability of intra-SF collisions and the level of residual inter-SF interference [
11,
12,
13]. LoRa uplink transmissions generally lack fine-grained power control and real-time inter-node coordination mechanisms, making it difficult for edge nodes to adapt their channel-access behavior in response to instantaneous interference conditions [
14]. The communication reliability of edge nodes determines the effective coverage boundary of LoRa networks and is a key factor limiting further improvements in overall network coverage [
15]. To address this issue, a relay node is introduced to assist in forwarding data from edge nodes, thereby dividing the long-distance direct link into two shorter hops. By reducing the per-hop propagation loss, this approach improves the end-to-end coverage probability.
A decode-and-forward (DF) relay can divide the long-distance source-to-gateway link into two shorter links, namely the source-to-relay and relay-to-gateway links, thereby mitigating the severe path loss encountered in direct edge-node-to-gateway communication [
16,
17]. In a DF relaying system, successful end-to-end transmission can be modeled as the joint event of successful first-hop decoding at the relay and successful second-hop forwarding to the gateway. If first-hop decoding fails, no valid decoded packet is available for second-hop forwarding [
18]. Similarly, if the gateway fails to decode the second-hop transmission due to interference or noise, successful end-to-end transmission cannot be achieved. LoRa terminals typically adopt an ALOHA-based random access mechanism. Under this mechanism, the traffic load is time-varying and may be unsaturated. Therefore, the activation states of potential interfering nodes vary across observation cycles [
19,
20,
21]. Changes in the traffic activation probability directly determine the number of active interfering nodes in each observation cycle. As a result, the SINR at the relay and gateway receivers varies with the traffic activation state [
22].
LoRa multi-hop and relay-assisted architectures can extend network coverage and improve the connectivity of remote nodes. However, their performance is highly dependent on the relay transmission mode and relay placement strategy [
23,
24]. Random access and traffic activation alter the number of active interfering nodes, thereby affecting the link success probability through intra-SF collisions and residual inter-SF interference. Therefore, coverage probability analysis of two-hop LoRa networks should jointly account for the sequential transmission constraint imposed by two-hop relaying and the randomness of traffic-induced interference [
25].
Existing studies addressing limited edge-node communication reliability have mainly focused on two directions: link-parameter optimization and relay-assisted transmission. Link-parameter optimization methods can improve edge-node link budgets by adjusting the spreading factor (SF), transmit power, or access parameters. However, such improvements involve inherent trade-offs: higher transmit power may increase the interference imposed on other nodes, whereas a higher SF improves receiver sensitivity at the cost of prolonged ToA and reduced system capacity [
26]. Link-parameter optimization alone is insufficient to jointly balance edge-coverage enhancement, network-level interference control, and efficient spectrum utilization. In relay-assisted transmission, a relay node is introduced between the source node and the gateway, thereby reducing the per-hop transmission distance and improving edge-node link reliability. In a two-hop LoRa network, relay placement should not be treated as an isolated design variable; rather, it simultaneously affects the source-to-relay and relay-to-gateway link distances, the distances from interfering nodes to the relay and gateway receivers, and the SF-dependent interference structure across the two hops. Therefore, it is necessary to develop a two-hop coverage probability model under random traffic activation conditions and to optimize relay placement based on this model, thereby improving edge-node end-to-end transmission reliability.
Nguyen et al. [
27] addressed the coverage limitation of edge nodes by developing a coverage probability model for two-hop LoRa networks. They derived analytical expressions for the coverage probability under multiple fading channel models and investigated the effects of intra-SF interference, inter-SF interference, and their joint impact on coverage performance. Relay placement was further optimized to improve edge-node coverage. However, the traffic activation process in their work was mainly characterized by a fixed activation probability or a deterministic number of active nodes, without explicitly modeling the relationship between traffic-load fluctuations and the active interferer set. Consequently, under varying traffic intensity, the coupling among traffic-induced interference, coverage probability, and optimal relay placement remains insufficiently characterized. Xu et al. [
28] proposed a two-hop opportunistic amplify-and-forward (AF) relaying system for LoRa networks, in which the best relay was selected to reduce the bit error rate (BER) and improve the coverage probability. However, the additional forwarding time slot required by AF relaying reduces the throughput compared with conventional direct LoRa transmission. Moreover, their model primarily focuses on SNR analysis under Nakagami-m fading, while the coupling among relay placement and traffic-activation-induced variations in the active interferer set, intra-SF and inter-SF interference structures remains insufficiently characterized. Mahjoub et al. [
29] investigated a best-relay selection scheme for two-hop DF relay-assisted LoRa networks. Their method selects the relay with the best link quality from a candidate relay set to improve the end-to-end transmission success probability and edge-node communication reliability. However, their study primarily focuses on the diversity gain obtained from candidate-relay selection rather than on the effect of relay placement itself on the coverage probability under random traffic activation and coupled interference conditions. Therefore, the coupling among traffic activation intensity, the active interferer set, the SF-dependent interference structure, and spatial relay placement remains insufficiently explored.
In summary, existing studies have sought to improve LoRa edge-node communication reliability from multiple perspectives, including two-hop coverage probability analysis, AF/DF relaying, and best-relay selection. However, several common limitations remain: (1) The traffic activation process is often represented by a fixed activation probability or a deterministic number of active nodes, thereby limiting the ability of such models to characterize the impact of random traffic-intensity variations on the resulting interference state. (2) Some studies primarily focus on fading-channel characterization or link-level signal-to-noise ratio (SNR) analysis, whereas the coupling between intra-SF interference and residual inter-SF interference remains insufficiently characterized. (3) Existing relay optimization methods primarily focus on relay placement or best-relay selection in static scenarios, whereas the dynamic variation of the optimal relay placement under random traffic-intensity variations remains insufficiently analyzed. To address these limitations, this study develops a coverage probability model for two-hop LoRa networks under random traffic activation. The proposed model jointly accounts for traffic-activation-induced interference variations, SF-dependent interference characteristics, path loss, and relay placement, thereby enabling analytical characterization of edge-node end-to-end coverage probability and its enhancement through relay placement optimization.
The main contributions of this study are summarized as follows:
- (1)
A coverage probability model that accounts for random traffic activation is developed for two-hop LoRa networks. Unlike methods that assume either a fixed number of active nodes or a fixed activation probability, the proposed model establishes a mapping between traffic activation intensity and the active interferer set and incorporates this mapping into the edge-terminal–relay–gateway two-hop transmission process. Path loss, thermal noise, Rayleigh fading, intra-SF interference, and residual inter-SF interference caused by imperfect SF orthogonality are jointly considered to characterize the impact of traffic-intensity variations on the interference state and coverage probability.
- (2)
A random-traffic-activation-driven relay placement optimization method is proposed. Existing studies primarily focus on coverage probability analysis for predefined relay locations or best-relay selection from a candidate relay set, whereas this study further investigates the impact of relay placement on coverage performance under random traffic activation. With the two-hop end-to-end coverage probability as the optimization objective, fixed, random, and optimized relay placement schemes are compared under unified system parameters, interference model, and traffic activation conditions. An iterative search is then performed to determine the relay location that yields improved coverage performance.
- (3)
An end-to-end reliability decomposition method is developed for decode-and-forward (DF) two-hop links. Considering the sequential transmission nature of DF relaying, the end-to-end transmission success event is decomposed into a successful first-hop decoding event and a conditional successful second-hop forwarding event. End-to-end reliability is then analyzed in terms of the first-hop coverage probability, the conditional second-hop coverage probability, and their joint impact. This decomposition helps identify link bottlenecks in two-hop LoRa networks and clarify how these bottlenecks affect edge-node coverage enhancement.
- (4)
Multi-scenario numerical simulations are conducted to validate the proposed model and optimization method. System performance is analyzed with respect to traffic activation intensity, relay placement strategy, optimization convergence, path-loss exponent, SINR threshold, and node density. Direct-link transmission is used as the baseline to demonstrate the effectiveness of relay-assisted transmission in enhancing edge-node coverage probability.
2. System Modeling and Analysis
2.1. Modeling and Analysis
A simulation model for two-hop LoRa uplink communication under random traffic activation conditions is implemented in MATLAB R2024a. The considered system consists of one gateway
, one target edge source node
, one deployable relay node
, and
potential interfering terminal nodes. The gateway is deployed at the center of the network coverage area, whereas edge source nodes are placed near the coverage boundary to represent end devices with degraded link quality in long-range LoRa communication scenarios. The relay node is deployed between the edge source node and the gateway, and its placement can be optimized using the end-to-end coverage probability as the optimization objective to improve edge-node end-to-end transmission reliability. The schematic diagram of the system communication model is shown in
Figure 1.
The communication architecture considered in this study includes two transmission modes: direct edge-node-to-gateway transmission and relay-assisted two-hop transmission. The SINR model jointly accounts for path loss, thermal noise, Rayleigh fading, intra-SF interference, and residual inter-SF interference arising from imperfect orthogonality among spreading factors. The two-hop transmission mode employs a DF relaying mechanism, in which packet delivery is performed in two sequential phases. In the first phase, the source node transmits its packet to the relay, and the relay must successfully decode the received packet. In the second phase, the relay forwards the decoded packet to the gateway. Accordingly, relay-to-gateway forwarding is enabled only when the first hop has been successfully completed.
The LoRa physical-layer parameters are configured in terms of the spreading factor, bandwidth, coding rate, noise figure, carrier frequency, transmit power, and receiver sensitivity threshold. A multi-SF configuration ranging from SF7 to SF12 is employed, where each SF is associated with a specific data rate, receiver sensitivity, and transmit power. In the default configuration, edge source nodes are assigned higher SFs, whereas potential interfering nodes are allocated to SF-specific regions according to their spatial locations. This configuration forms a LoRa uplink access environment in which multiple SFs coexist.
In the channel model, large-scale fading is characterized by distance-dependent path loss, whereas small-scale fading is modeled using a Rayleigh fading model. Path loss and the resulting received power are evaluated separately for the source-to-relay, relay-to-gateway, and source-to-gateway links. For interfering transmissions, the received interference power at the intended receiver is evaluated based on the distance from each interfering node to that receiver, which is either the relay or the gateway.
The interference model accounts for both intra-SF interference and residual inter-SF interference arising from imperfect orthogonality among spreading factors. For interfering nodes that use the same SF as the target signal, their received interference contributions are included in the decoding-success criterion to characterize intra-SF contention-induced interference. For interfering nodes that use SFs different from that of the target signal, their interference contributions are incorporated into the decoding-success criterion as residual inter-SF interference and are weighted according to SF-dependent decoding thresholds.
In the random traffic-activation model, a traffic-activation intensity coefficient is introduced to characterize the probability that potential interfering nodes become active under different network load levels. For the -th SF region, the node activation probability is jointly determined by the baseline traffic-activation probability and the traffic-activation intensity coefficient, with its value constrained within a valid probability range. This formulation enables traffic-load variations to be directly reflected in the calculations of intra-SF interference, residual inter-SF interference, and end-to-end coverage probability.
2.2. SF-Specific Region Partitioning
where
denotes the deployment region of potential nodes in the LoRa network;
is the two-dimensional position vector; and
denotes the distance from the gateway to the farthest edge node, thereby characterizing the spatial extent of the network along the source-to-gateway direction. The region
represents a LoRa sensor network scenario with an approximately layered node deployment along this direction.
The gateway and the edge source node are located at
and
, respectively, while the relay-node position, denoted by
, is treated as an optimization variable. The source node is placed at the network coverage boundary to represent edge sensor nodes under weak-coverage conditions. For any two nodes
and
in the communication region,
denotes the link propagation distance between nodes
and
, where
and
are their coordinate vectors, respectively, and
denotes the Euclidean norm
where
denotes the set of potential interfering-node locations within the network coverage region;
denotes the total number of potential interfering nodes; and
denotes the two-dimensional position vector of the
-th potential interfering node.
characterizes the potential interference topology of the network, i.e., the spatial distribution of nodes within the given deployment region that may become active for uplink transmission and interfere with the target link. This definition does not imply that all these nodes are active transmitters in every observation cycle. Since LoRa sensor nodes typically transmit packets through periodic reporting, event-triggered transmission, or random access, potential interfering nodes may be either transmitting or silent across different observation cycles. Therefore, the active interfering nodes in the current observation cycle constitute a random subset of
. Its cardinality and composition are determined by the subsequently defined random traffic-activation variable
and the corresponding activation probability
.
To represent the layered coverage scenario along the source-to-gateway direction, the strip-shaped network region is partitioned according to the horizontal coordinate
into six SF-specific regions corresponding to SF7–SF12. The
-th SF region is defined as
where
denotes the
-th SF-specific region, with
corresponding to SF7–SF12, respectively, and
denotes the spatial extent of the network along the source-to-gateway direction.
where
denotes the horizontal coordinate of the
-th potential interfering node, and
denotes the index of the SF-specific region to which this node belongs. This expression assigns each potential interfering node to one of the six SF-specific regions from SF7 to SF12 according to its position along the source-to-gateway direction.
The spreading factor assigned to the -th interfering node is denoted by , where . Thus corresponds to , whereas corresponds to . Since the source node is located at the far-end boundary of the network, it is assigned SF12; hence, its SF index is set to This setting characterizes a weak-coverage scenario in which the edge source node is assigned the highest SF to enhance the link budget. The SF index of the relay node, denoted by , is determined by the SF-specific region in which the relay is located.
2.3. Channel Model and Received Power
In a two-hop LoRa uplink network, the quality of each wireless link is primarily governed by large-scale path loss and small-scale fading [
30]. Large-scale path loss characterizes the distance-dependent attenuation of average signal power. By contrast, small-scale fading captures instantaneous channel-gain variations caused by multipath propagation and environmental randomness, resulting in random variations in link quality even at the same propagation distance. To characterize desired and interfering links among the source node, relay node, gateway, and potential interfering nodes in a unified manner, a generic transmission link from an arbitrary node
to node
is adopted as the basic object for channel modeling.
For the link from node
to node
, the large-scale path loss is defined as
where
denotes the large-scale attenuation factor of the link from node
to node
;
is the reference path-loss constant;
is the link-scale correction factor;
is the distance between nodes
and
; and
is the path-loss exponent. This expression maps the geometric link distance to large-scale propagation attenuation and provides a unified basis for calculating the received powers of both desired and interfering links. In the subsequent numerical simulations, the path-loss exponent
is set to 2.70 as the baseline value to represent a moderately obstructed urban or suburban LoRa propagation environment rather than an ideal free-space propagation condition.
where
is the carrier frequency of the LoRa system, and
is the speed of light.
denotes the reference path-loss constant, which characterizes the carrier-frequency-dependent free-space attenuation at the reference distance. According to the free-space propagation model, the free-space path loss at the reference distance increases with the carrier frequency. Therefore,
incorporates the carrier-frequency-dependent loss component into the large-scale attenuation model. For the link from node
to node
, the large-scale attenuation factor
is determined jointly by the reference path-loss constant
, the link distance
, the path-loss exponent
and the link-scale correction factor
.
A Rayleigh small-scale fading model is adopted to characterize rapid channel fluctuations of LoRa links in multipath propagation environments. The small-scale fading power gain of the link from node
to node
, denoted by
is assumed to follow an exponential distribution with unit mean, i.e.,
. The Rayleigh fading assumption improves analytical tractability by enabling a unified integration of the channel model with Bernoulli random traffic activation, weighted intra-/inter-SF interference, and the Laplace transform of aggregate interference. This formulation provides an analytical foundation for deriving the single-hop coverage probability and the DF-based two-hop joint coverage probability. Accordingly, Rayleigh fading is adopted as the baseline channel model to investigate the effects of traffic-activation intensity, SF interference structure, and relay position on the coverage reliability of edge LoRa nodes.
where
denotes the instantaneous received power at node
from the signal transmitted by node
and
denotes the transmit power of node
. This expression indicates that the instantaneous received power of a link is jointly determined by the transmit power, large-scale attenuation, and small-scale fading. An increase in
indicates more severe propagation attenuation over the link, resulting in a lower received signal power. Conversely, a larger
corresponds to more favorable instantaneous channel conditions and therefore leads to a higher received power. Thus, this expression provides a unified received-power model for the subsequent coverage-probability analysis of the source-to-relay, relay-to-gateway, and direct source-to-gateway links.
The receiver thermal noise power expressed in dBm is given by
where −174 dBm/Hz denotes the assumed thermal noise power spectral density at room temperature,
denotes the receiver noise figure, and
denotes the system bandwidth expressed in Hz.
During the first transmission phase, the source node
transmits a signal to the relay node
. The signal received at the relay node
is given by
where
denotes the transmit power of the source node;
denotes the complex channel coefficient from the source node to the relay;
denotes the signal transmitted by the source node;
denotes the transmit power associated with the SF region of the
-th potential interfering node;
denotes the complex channel coefficient from this interfering node to the relay;
denotes the unit-power signal transmitted by this node in the first phase;
denotes the additive white gaussian noise at the relay; and
denotes the activation state of the
-th potential interfering node during the
-th observation cycle. In the second phase, if the message from the source node is successfully decoded at relay
, the decoded message is remodulated and forwarded to gateway
. The received signal at the gateway is expressed as
where
denotes the transmit power of the relay;
denotes the complex channel coefficient from the relay to the gateway;
denotes the signal forwarded by the relay;
denotes the complex channel coefficient from the
-th interfering node to the gateway;
denotes the unit-power signal transmitted by this node in the second phase; and
denotes the additive white gaussian noise at the gateway.
2.4. SNR Demodulation Thresholds and SF Rejection Thresholds
In a LoRa uplink sensor network, nodes typically transmit packets through periodic reporting, event-triggered transmission, or random access. Therefore, potential interfering nodes may be active or silent in different observation cycles. To characterize how traffic-load variations affect the interference field, the system operation time is divided into consecutive discrete observation cycles. Here,
denotes the observation-cycle index, and
denotes the duration of each observation cycle. During the
-th observation cycle, each potential interfering node may be either transmitting or silent. Therefore, a Bernoulli random traffic-activation variable is introduced to characterize the traffic-activation state of each node at the observation-cycle level.
where
denotes the traffic activity indicator of node
during observation cycle
. This indicator is used to distinguish potentially interfering nodes from those that are active for transmission and therefore contribute to the aggregate interference.
For the -th observation cycle, the traffic activity of the -th potential interferer is represented by the Bernoulli random variable , where , denotes the probability that node is active for transmission during an observation cycle. Specifically, indicates that node is active for transmission during observation cycle and may interfere with the target link, whereas indicates that node remains silent and does not contribute to the aggregate interference in that period. The proposed cycle-level stochastic traffic activity model enables the intermittent uplink traffic behavior of LoRa nodes to be explicitly incorporated into interference-field modeling, thereby distinguishing potential interferers from actually active interferers.
Since different SF regions are associated with different data rates, time-on-air durations, and channel occupancy levels, the cycle-level activation probability of each node is modeled as an SF-dependent parameter. Specifically, if the
-th potential interferer belongs to SF region
, its activation probability is denoted by
. Where
denotes the normalized traffic activation intensity, which characterizes the overall traffic load, and
represents the activation probability of nodes in SF region
under the corresponding traffic load condition. Accordingly, different activation probabilities are assigned to nodes in different SF regions based on their transmission rates and channel occupancy characteristics. This treatment enables the stochastic traffic activation model to capture the spatial heterogeneity of traffic loads in multi-SF LoRa networks.
where
denotes the baseline activation probability of SF region
and
represents the traffic-load scaling factor. This mapping determines the resulting activation probability from the traffic-load-scaled baseline probability, with
constraining the probability to be no greater than one.
To characterize traffic-occupancy heterogeneity across SF regions, the baseline traffic activation probability for SF region
is defined as
. Where
denotes the length of a single uplink packet,
denotes the data rate of SF region
, and
denotes the duration of the observation cycle. This probability characterizes the equivalent channel-occupancy ratio of a node within an observation cycle. A shorter time-on-air leads to a lower activation probability, whereas the probability is capped at unity when the time-on-air approaches or exceeds the observation cycle. Since higher SFs generally result in lower data rates and longer time-on-air values, the corresponding baseline traffic activation probabilities are typically higher. This formulation therefore captures traffic-occupancy heterogeneity across SF regions.
where
,
and
denote the spreading factor assigned to SF region
, the coding rate and the system bandwidth, respectively. This expression indicates that a higher spreading factor reduces the data rate, thereby increasing the time-on-air and the baseline traffic activation probability.
where
denotes the set of active interferers during observation cycle
. This set consists of the nodes in the potential interferer set
whose activation indicator satisfies
and therefore constitutes a random subset of
. The cardinality and composition of
vary with the traffic activation states, thereby reflecting the cycle-level randomness of the interference field in the LoRa uplink network. This set couples the spatial topology of nodes with the stochastic traffic activation process, thereby providing a basis for the subsequent analysis of co-SF interference, inter-SF residual interference, and coverage probability.
where
denotes the number of active interferers in SF region
during observation cycle
and
denotes the number of potential interferers in that region. This expression indicates that a higher traffic activation intensity results in a larger expected number of active interferers.
The above stochastic traffic activation model establishes a direct link between traffic-load variations, the LoRa interference field, and coverage probability. Specifically, the traffic activation intensity
determines the SF-dependent activation probability
, which in turn governs the active interferer set
during observation cycle
. This active set further determines the aggregate same-SF interference
and the inter-SF residual interference
, thereby affecting the coverage probability
of the target link.
Table 1 presents the symbols and definitions of key parameters.
6. Random-Traffic-Aware Relay Placement Optimization
6.1. Optimization Objective
The relay position is a critical design variable in the optimization of the dual-hop coverage probability. Variations in directly affect the source-to-relay distance , the relay-to-gateway distance , and the distance from the -th interfering node to the relay. In addition, determines the SF region assigned to the relay and the target SF adopted for the second hop.
To ensure physically feasible relay placement, constraints are imposed on the feasible deployment region of the relay node. The feasible relay deployment region is defined as
denotes the feasible region that satisfies the relay deployment constraints and
denotes the minimum separation distance. This constraint requires the relay node to maintain a minimum distance of
from both the source node and the gateway. It prevents unrealistically short links during numerical optimization and preserves the physical validity of the path-loss calculation and the coverage probability model.
where
denotes the set of random topology realizations used for relay optimization;
denotes the number of training topologies; and
denotes the
-th topology realization of the potential interfering nodes.
To improve the robustness of the relay placement optimization results in random network environments, the relay position is not optimized for a single fixed topology. Instead, each candidate relay position is evaluated by averaging the dual-hop coverage probability over multiple random topology realizations. The objective function is defined as
where
denotes the average end-to-end dual-hop coverage probability obtained for relay position
over a set of random topology realizations and
denotes the traffic activation intensity. Averaging the dual-hop coverage probability over different topology realizations mitigates the dependence of the optimization result on any specific topology and improves the statistical robustness of relay deployment under random traffic activation and random node distributions.
To determine the relay deployment position that provides the maximum coverage gain, the average dual-hop coverage performance function
is maximized over the feasible relay deployment region
. The optimization problem is formulated as
where
denotes the optimal relay position that maximizes the average dual-hop coverage probability over the random topology set.
6.2. Partition-Based Projected Gradient Search
To incorporate the SF partitioning characteristics of LoRa networks, the feasible relay deployment region
is divided into six candidate subregions corresponding to SF7–SF12. This partitioning enables the relay placement optimization to jointly account for the deployment position, the target SF selection, and the SF-weighted interference structure when evaluating the dual-hop coverage probability.
where
denotes the feasible set of relay positions within the
-th SF region. In the implementation, an intra-partition margin is introduced to prevent the relay from being placed on partition boundaries or in close proximity to the source node or the gateway.
To further incorporate the SF partitioning constraints into relay placement optimization, a partition-wise optimal relay position is identified within each of the six candidate SF partitions. For the
-th SF partition, the corresponding candidate optimal relay position is defined as
where
denotes the feasible relay deployment region within the
-th candidate SF partition, and
denotes the average dual-hop coverage probability associated with relay position
in this partition. This partition-wise optimization approach enables the relay deployment performance to be evaluated separately for different SF partitions while preserving the SF-region constraints. Finally, the globally optimal relay deployment solution is obtained by selecting the candidate position with the highest average dual-hop coverage probability among the six partition-wise optima.
The numerical gradient of the objective function is estimated using a central finite-difference method. For a given relay position
, the partial derivatives of
with respect to the
- and
-coordinates can be approximated as follows:
where
denotes the finite-difference perturbation step size. By applying small positive and negative perturbations along the two coordinate directions, this method estimates the local variation trend of the objective function at the current relay position. The resulting numerical gradient direction is then used to update the relay position.
At the
-th iteration, a normalized gradient ascent strategy is adopted to update the relay position toward a region with improved coverage performance. Specifically, the candidate relay position is obtained by moving from the current point
along the ascent direction of the objective function
, i.e.,
where
denotes the relay position at the
-th iteration;
denotes the current search step size; and
denotes the numerical gradient of the objective function evaluated at
. This update moves the relay position in the direction of increasing coverage probability.
where
denotes the projection operator onto the
-th feasible relay deployment partition. This projection ensures that the updated relay position remains within the feasible partition while satisfying the boundary and minimum-distance constraints.
To improve the stability of the iterative relay placement optimization process, a backtracking line search mechanism is introduced when the candidate position does not increase the objective function value. If the candidate relay position obtained from (40) does not increase the value of , the current search step size is reduced as , where , and the candidate position is regenerated. This backtracking step prevents an excessively large step size from driving the search away from a promising ascent direction. The algorithm is terminated when the absolute change in the objective function between two consecutive iterations satisfies , or when the maximum number of iterations is reached, where denotes the step-size contraction factor, denotes the convergence tolerance, and denotes the maximum number of iterations. This criterion determines whether the relay placement optimization has converged or reached the preset computational limit.
Let
,
,
,
and
denote the number of candidate SF partitions, the number of training topologies, the number of potential interfering nodes in each topology, the maximum number of iterations for each partition, and the number of objective-function evaluations required for each gradient estimate, respectively. The dominant computational complexity of the relay placement optimization procedure is then given by
where the computational complexity is mainly determined by the numbers of SF partitions, topology realizations, potential interfering nodes, maximum iterations and objective-function evaluations required for each gradient estimate.
The proposed method may face certain limitations as the node density within the coverage area increases. As the network scale grows, especially in high-density node scenarios, the evaluation of the objective function and the gradient-based search process may introduce considerable computational overhead. Therefore, the proposed relay placement optimization method is more suitable for offline or semi-offline network planning and relay deployment optimization than for real-time execution during each LoRa packet transmission or each traffic observation cycle.
In practical LoRa networks, relay locations, terminal spatial distributions, SF-region partitioning, and long-term traffic loads usually vary relatively slowly. Accordingly, the optimization process can be performed in advance by a gateway-side controller, an edge server, or a network planning platform, without requiring terminal nodes to participate in the computation. Nevertheless, the runtime, memory consumption, number of convergence iterations, and hardware resource requirements of the proposed algorithm have not yet been evaluated on practical LoRa gateways, embedded edge devices, or commercial servers. In addition, the current optimization objective mainly focuses on coverage probability maximization and does not explicitly incorporate relay installation cost, location adjustment cost, power supply conditions, maintenance cost, candidate site availability, or other practical deployment constraints. Future work should further evaluate the computational efficiency of the algorithm on practical deployment platforms. Deployment cost, energy constraints, site constraints, and operation and maintenance costs should also be incorporated into the relay placement optimization model as additional constraints or penalty terms to improve the practical applicability of the proposed method in real LoRa network deployments.
6.3. Discussion of Limitations
The proposed analytical framework is based on several simplifying assumptions, primarily Rayleigh small-scale fading and independent Bernoulli traffic activation. These assumptions enable the derivation of tractable coverage-probability expressions and allow the effects of path loss, thermal noise, random traffic activation, intra-SF interference and residual inter-SF interference on the coverage performance of two-hop LoRa networks to be explicitly characterized. Nevertheless, they may constrain the direct applicability of the model to practical LoRa deployments.
The Rayleigh fading model is primarily applicable to LoRa scenarios characterized by non-line-of-sight propagation, pronounced multipath scattering or the absence of a stable direct propagation path. In scenarios involving clear line-of-sight links, strong dominant components, terrain-induced shadowing or building blockage, the actual channel may not be adequately represented by the Rayleigh assumption. Therefore, the proposed model is more suitable for analyzing relative performance trends under different relay locations, traffic loads and interference conditions than for directly predicting the exact measured coverage probability in a specific deployment environment.
The independent Bernoulli traffic-activation assumption is used to describe the random activation states of potential interfering nodes within each observation cycle. This assumption is more suitable for LoRa sensor networks in which node reporting events are relatively dispersed, traffic arrivals are approximately independent, the network operates under a non-saturated traffic load and no strong synchronous triggering mechanism is present. Under conditions with a large number of nodes, a relatively stable traffic-activation probability, a known SF region partition and weak inter-node traffic correlation, the proposed model can provide reliable predictions of the average network coverage performance and can be used to compare the relative performance of different relay deployment schemes.
By contrast, in event-triggered monitoring, burst alarm reporting, disaster sensing or applications with strong spatial correlation, multiple nodes may be activated within a short time interval, leading to correlated traffic activation and bursty interference. In such cases, the independent Bernoulli assumption may underestimate the probability of clustered active interfering nodes and result in overly optimistic coverage-performance predictions. In addition, the proposed model does not explicitly consider the acknowledgment mechanism, receive windows, duty-cycle constraints, scheduling overhead, cooperative multi-gateway reception or hardware-implementation errors in the full LoRaWAN protocol stack. Therefore, for practical deployment scenarios involving strongly correlated traffic, complex blockage, multi-gateway cooperation or full LoRaWAN protocol constraints, the results of this study should be interpreted primarily as a theoretical benchmark and a reference for relative performance comparison.
In summary, the proposed analytical framework is primarily applicable to evaluating average coverage performance in LoRa networks, analyzing interference effects under random traffic activation, comparing the relative performance of different relay deployment schemes and supporting offline or semi-offline relay-placement planning. Future work will further incorporate Rician fading, shadow fading, terrain-induced blockage, correlated traffic-activation models and hardware testbed validation to improve the prediction accuracy and engineering applicability of the model in practical LoRa deployments.
7. Simulation Results and Analysis
Numerical simulations are conducted using MATLAB R2024a to validate the accuracy of the dual-hop LoRa coverage probability model and the effectiveness of the relay placement optimization method under random traffic activation. Monte Carlo simulations are performed to obtain statistical averages over random topology realizations. The simulations evaluate the effects of traffic activation intensity, relay placement strategy, optimization convergence behavior, path-loss exponent, reception threshold, and node density on the coverage probability. For comparison, several benchmark schemes are considered, including the direct-link baseline, the deterministic dual-hop baseline based on rounded active-node numbers, random relay deployment, fixed relay deployment, and the per-topology optimal upper bound. The direct-link baseline corresponds to the case in which the source node transmits data directly to the gateway without relay assistance. In contrast, the deterministic dual-hop baseline replaces the random traffic activation process with a deterministic approximation based on the rounded expected number of active nodes, and the corresponding dual-hop coverage probability is then evaluated. “Random-traffic-aware dual-hop” denotes a dual-hop transmission scheme in which the Bernoulli traffic-activation probability is explicitly incorporated into the interference model. “Random-traffic-aware cooperative coverage reference” denotes the theoretical reference performance obtained by treating the direct link and the dual-hop link as complementary transmission opportunities under the same random traffic-activation conditions.
Table 3 lists the simulation settings for the main parameters.
Figure 2 illustrates the variation in the coverage probability
under different transmission schemes as the traffic-activation intensity coefficient
increases from 1 to 20. Overall, the four curves decrease monotonically as
increases. This indicates that a higher random traffic-activation intensity results in more active interfering nodes in the current observation cycle. Consequently, co-SF interference and residual inter-SF interference are jointly intensified, thereby reducing the successful transmission probability of the target link. An increase in the activation probability
reduces the Laplace factor of each Bernoulli–Rayleigh interference term and consequently decreases the overall coverage probability. Among the considered schemes, the random-traffic-aware cooperative coverage reference consistently yields the highest coverage probability. The random-traffic-aware dual-hop scheme ranks second, followed by the deterministic dual-hop baseline based on rounded active-node numbers. The direct-link baseline exhibits the most pronounced degradation as the traffic-activation intensity increases.
The random-traffic-aware dual-hop curve remains higher than the deterministic dual-hop baseline based on rounded active-node numbers over the entire range. When , the coverage probability of the random-traffic-aware dual-hop scheme is approximately 0.56, whereas that of the deterministic dual-hop baseline is approximately 0.48, corresponding to an improvement of about 16.7%. When , the corresponding values are approximately 0.35 and 0.29, respectively, corresponding to an improvement of about 20.7%. These results indicate that modeling traffic activation as a Bernoulli random process captures the stochastic nature of practical LoRa uplink traffic more effectively than using a deterministic rounded number of active nodes. A closer examination of the cooperative coverage reference curve shows that it remains higher than both the standalone dual-hop scheme and the direct-link baseline over the entire range of . When , the cooperative coverage probability is approximately 0.66, which is about 17.9% higher than that of the random-traffic-aware dual-hop scheme at 0.56 and about 106.3% higher than that of the direct-link baseline at 0.32. When , the cooperative coverage probability is approximately 0.40 and still exceeds both the dual-hop and direct-link coverage probabilities. These results indicate that the direct link and the dual-hop link provide a certain degree of coverage complementarity. Under specific random topology and traffic-activation realizations, the direct link may still succeed, whereas the dual-hop link can provide additional reliability when the direct link is severely constrained by path loss. When exceeds 15, the coverage probabilities of all schemes decrease markedly. The performance gaps among the cooperative coverage reference, the random-traffic-aware dual-hop scheme and the deterministic dual-hop baseline based on rounded active-node numbers also gradually narrow. This behavior occurs because a large number of potential interfering nodes are activated under high traffic-activation intensity, which substantially increases the aggregate interference intensity and renders both the dual-hop and direct links severely interference-limited.
Figure 3 presents the empirical cumulative distribution functions of the relay-assisted dual-hop coverage probability
under different relay deployment strategies. The horizontal axis denotes the end-to-end dual-hop coverage probability, and the vertical axis denotes the empirical cumulative distribution function
. For the CDF curves, a rightward shift indicates a higher dual-hop coverage probability at the same cumulative probability level and therefore better system coverage performance. In addition, a steeper curve reflects smaller performance fluctuations across different random topologies and greater deployment stability.
The overall distribution of the CDF curves indicates that the random-traffic-aware per-topology optimal upper bound and the proposed method are located on the right-hand side, suggesting that they yield higher dual-hop coverage probabilities than the other benchmark strategies. The random-traffic-aware per-topology optimal upper bound represents the case in which the relay position is re-optimized for each test topology and can therefore be regarded as an ideal performance upper bound. Although the proposed method uses a fixed optimized relay position obtained from the training topologies, its CDF curve is very close to that of the per-topology optimal upper bound. This demonstrates that the proposed random-traffic-aware relay optimization method exhibits strong generalization capability and deployment stability.
At the median point , the dual-hop coverage probabilities for random relay placement, fixed relay placement, the deterministic rounded-active-node relay design, the proposed method and the random-traffic-aware per-topology optimal upper bound are approximately 0.42, 0.54, 0.59, 0.62 and 0.63, respectively. This result indicates that directly incorporating the random traffic-activation probability into the relay-position optimization objective enables the optimized relay position to match the actual active-interference field more accurately and thereby improves the dual-hop coverage performance. The deterministic rounded-active-node relay design outperforms the fixed relay placement in the middle- and high-percentile regions, but its coverage probability in the low-percentile region is approximately 0.48, which is lower than the approximately 0.58 achieved by the proposed method. This indicates that although the deterministic rounded-active-node method improves relay deployment by using the rounded expected number of active nodes, it neglects the probabilistic structure of the active interferer set under Bernoulli random activation. Consequently, coverage degradation still occurs in some random topologies. In contrast, the proposed method directly formulates the optimization objective using the random traffic-activation probability and maintains higher coverage probabilities in the low-percentile, median and high-percentile regions, demonstrating stronger adaptability to random traffic fluctuations.
Figure 4 shows the convergence curves of the random-traffic-aware relay-position optimization algorithm. The maximum number of iterations is set to 700, and the convergence behavior is evaluated across six candidate relay partitions associated with SF7–SF12. Overall, the coverage probability of each SF partition increases monotonically with the number of iterations and gradually converges to a stable value. This indicates that the adopted relay-position optimization algorithm progressively improves the end-to-end dual-hop coverage performance under random traffic activation, path loss and co-SF/inter-SF interference conditions. No noticeable oscillation or performance degradation is observed, demonstrating good numerical stability. Among the six partitions, the SF7, SF8, SF9 and SF12 partitions exhibit more rapid improvement during the early iterations, indicating that their initial relay positions have greater spatial adjustment potential toward their respective local optima. The SF10 and SF11 partitions exhibit more gradual improvement, suggesting that their coverage-probability surfaces are smoother or that their initial points are already close to high-coverage regions. The curves eventually approach stable values, indicating limited additional coverage gains from further iterations and effective convergence of the algorithm. Overall, the results confirm the effectiveness and convergence of the proposed random-traffic-aware relay-position optimization method. They show that appropriate relay-position adjustment can improve the average coverage probability of dual-hop LoRa networks under random traffic activation and provide useful guidance for selecting a more favorable relay deployment partition.
Figure 5 examines the joint effects of the path-loss exponent
, the traffic-activation intensity
and the number of potential interfering nodes
on the cooperative coverage probability
. All curves decrease monotonically as
increases, indicating that a larger population of potential interferers leads to more active interfering nodes. As a result, the aggregate interference increases and the cooperative coverage performance degrades.
For a fixed path-loss exponent, a higher traffic-activation intensity leads to a more pronounced reduction in coverage probability. When and , the cooperative coverage probabilities for , 10 and 15 are approximately 0.58, 0.35 and 0.14, respectively. When increases to 6000, the corresponding probabilities further decrease to approximately 0.27, 0.06 and 0.02. These results indicate that the traffic-activation intensity plays a critical role in determining the coverage performance of dense LoRa networks. For a given traffic-activation intensity, the coverage probability for is generally higher than that for . For example, when and , the cooperative coverage probability is approximately 0.58 for and approximately 0.37 for . When , the corresponding probabilities decrease to approximately 0.27 and 0.16, respectively. This result indicates that in the edge-node dual-hop communication scenario considered in this study, the adverse effect of a larger path-loss exponent on the received power of the desired links outweighs the potential benefit from stronger attenuation of distant interference.
Overall, the cooperative coverage performance is jointly determined by the number of potential interfering nodes, the traffic-activation intensity and the path-loss exponent. Specifically, a larger expands the potential interference field, a higher increases the proportion of actually active interfering nodes and a larger aggravates the path loss of the desired links. Therefore, in dense traffic scenarios, dual-hop cooperation alone is insufficient to fully offset the impact of high-load interference. Relay-position optimization and traffic-load control should be jointly considered to improve the coverage reliability of edge nodes.
Figure 6 examines the effect of the absolute reception threshold
on the coverage probabilities of different links. As
increases from −20 dB to 15 dB, the coverage probabilities of all schemes decrease markedly. This indicates that a higher reception threshold requires a larger channel gain for successful demodulation and strengthens the limiting effects of thermal noise and aggregate interference. In the low-threshold region, all schemes maintain relatively high coverage probabilities. However, when the threshold approaches 0 dB, the coverage probabilities decrease rapidly, suggesting that a high reception threshold substantially reduces the effective coverage range of LoRa links.
The cooperative coverage curve reflects the complementary gain between the direct link and the dual-hop link. The dual-hop coverage curve indicates that relay assistance effectively mitigates the path-loss limitation associated with direct communication between edge nodes and the gateway. In contrast, the direct-link baseline exhibits the fastest decline, indicating that long-distance direct links are the most sensitive to the reception threshold. The interference decomposition results show that the coverage probability remains relatively high when only residual inter-SF interference is considered. However, the coverage probability decreases markedly when co-SF interference is further included. This indicates that co-SF interference is the dominant factor limiting LoRa coverage performance, whereas residual inter-SF interference further aggravates the performance loss.
Figure 6 demonstrates the joint effects of the reception threshold, co-SF/inter-SF interference and relay assistance on the system coverage probability. These results confirm that dual-hop relaying and refined co-SF/inter-SF interference modeling are effective in improving coverage performance under random traffic activation.
Figure 7 illustrates the variations in the first-hop success probability, the conditional second-hop success probability, the end-to-end dual-hop success probability and the direct-link success probability with the traffic-activation intensity coefficient
under different potential-interferer densities. As
increases, more interfering nodes become active, and all success-probability curves exhibit corresponding downward trends. This indicates that an increased random traffic load progressively degrades link reliability. The comparison among the three node-density settings shows that coverage performance degrades more markedly as the node density increases. The direct-link curve is the most sensitive to node density and traffic-activation intensity and exhibits the fastest decline. This indicates that direct communication between edge source nodes and the gateway is jointly constrained by path loss and aggregate interference.
Figure 7 shows that direct-link reliability becomes insufficient under high node density and heavy traffic load. In contrast, dual-hop relaying effectively improves the end-to-end communication success probability. These results demonstrate the effectiveness of hop-by-hop modeling and relay-assisted coverage optimization under random traffic activation.