Figures
Abstract
Power allocation combined with pre-coding techniques is still an emerging field, with many challenges yet to be resolved. This paper contributes to filling this gap by proposing and evaluating hybrid algorithms that integrate pre-coding with low-complexity power allocation techniques for Orthogonal Frequency Division Multiplexing (OFDM)-based Wireless Sensor Networks (WSN) in smart irrigation systems. The use of linear pre-coding provides an efficient and simple solution to mitigate channel fading. By exploiting the channel’s frequency selectivity, the power allocation algorithms adjust the modulation type and power distribution for each sub-carrier dynamically. As a result, the proposed hybrid algorithms surpass static schemes, offering notable improvements in system performance. These algorithms adjust both the signal constellation size and power distribution based on the Signal-to-Noise Ratio (SNR) values observed across the sub-carriers. Additionally, practical considerations like Rate Maximization (RM) are incorporated to provide flexibility for various application needs. Extensive simulations validate the effectiveness of the proposed algorithms in minimizing power consumption and boosting performance in OFDM-based WSNs for smart irrigation. Numerically, the proposed algorithms can reduce the required SNR by up to 18 dB for a target throughput of 400 bits/symbol and outperforming conventional algorithms in terms of throughput, energy efficiency, and network lifetime, with the pre-coded Greedy power allocation (pre-GPA) algorithm delivering up to 98.5% throughput and the longest system lifespan.
Citation: Hassan ES (2025) Enhanced hybrid pre-coding and power allocation algorithms for smart irrigation systems using OFDM-based WSNs. PLoS One 20(5): e0321283. https://doi.org/10.1371/journal.pone.0321283
Editor: Khalid Taher Mohammed Al-Hussaini, Thamar University: Dhamar University, YEMEN
Received: October 2, 2024; Accepted: March 1, 2025; Published: May 13, 2025
Copyright: © 2025 Emad S. Hassan. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper and its Supporting Information files. The data used to generate the figures in the paper are provided at the following DOI:https://doi.org/10.6084/m9.figshare.28546601.v1
Funding: This research was funded by Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, through Project Number: RG24-M028, received by Dr. Emad S. Hassan.
Competing interests: The authors have declared that no competing interests exist.
1. Introduction
Smart irrigation systems have emerged as a promising solution for efficient water management in agricultural practices [1]. By leveraging wireless sensor networks (WSNs), these systems enable real-time monitoring of soil moisture levels, weather conditions, and plant health, allowing for precise and targeted irrigation. However, the success of smart irrigation systems critically depends on the energy efficiency and longevity of the deployed WSNs [2–8]. In WSN-based smart irrigation systems, sensor nodes are responsible for collecting and transmitting environmental data, which requires a continuous supply of power. The limited energy resources available to these nodes pose significant challenges in ensuring long-term system operation. Therefore, achieving energy efficiency and prolonging the sensor nodes’ lifetime are fundamental objectives for enhancing the performance of smart irrigation systems [1,2]. To address these challenges, researchers have focused on developing energy-efficient algorithms and techniques for power allocation in WSNs. By dynamically adapting the power allocation based on the environmental conditions and communication requirements, these algorithms aim to optimize energy consumption while maintaining system performance.
Orthogonal Frequency Division Multiplexing (OFDM) has gained considerable attention as a modulation scheme for WSNs due to its robustness against multipath fading and interference [9–11]. OFDM-based WSNs offer a powerful solution for improving the performance and energy efficiency of WSNs [12]. OFDM is a modulation scheme that divides the available frequency band into multiple sub-carriers, each carrying a portion of the data. By leveraging the frequency selectivity of the channel, OFDM enables robust communication by mitigating the effects of multipath fading and interference [13]. In the context of WSNs, the adoption of OFDM brings several advantages. Firstly, OFDM allows for high spectral efficiency by effectively utilizing the available bandwidth. With multiple sub-carriers operating in parallel, OFDM can transmit multiple data streams simultaneously, increasing the data rate and overall network capacity [14,15]. This is particularly beneficial for WSNs that require real-time transmission of large amounts of data, such as in smart irrigation systems where sensor nodes need to transmit sensor measurements and control commands [1].
Moreover, OFDM provides resilience against frequency-selective fading, a common challenge in wireless communication. The frequency diversity inherent in OFDM allows the system to combat fading by distributing the data across multiple sub-carriers [16]. This helps maintain reliable communication even in harsh and dynamic wireless environments, contributing to the robustness and reliability of WSNs [2]. Energy efficiency is a critical consideration in WSNs due to the limited power resources available to sensor nodes. OFDM-based WSNs offer energy-saving benefits by enabling efficient power allocation. The ability to allocate power selectively on each sub-carrier allows for adaptive power control, where power can be allocated according to the channel conditions and the specific communication requirements. This adaptive power allocation optimizes energy consumption, ensuring that power is allocated where it is most needed and reducing unnecessary energy expenditure, ultimately prolonging the sensor nodes’ battery life [17,18]. In summary, the adoption of OFDM in WSNs holds significant importance in improving network performance and achieving energy-efficient operations. By leveraging the benefits of frequency diversity, spectral efficiency, and adaptive power allocation, OFDM-based WSNs can enhance data transmission rates, system reliability, and energy efficiency, making them an attractive choice for various applications, including smart irrigation systems and other resource-constrained WSN deployments.
In this context, this paper presents hybrid power allocation algorithms for WSN-based smart irrigation systems using OFDM. The proposed algorithms dynamically adjust the modulation type and power allocation on each sub-carrier, taking advantage of the frequency selectivity of the channel. This adaptive power allocation approach aims to optimize system performance while ensuring energy efficiency and prolonging the sensor nodes’ lifetime. Furthermore, this paper considers practical cases of interest, such as Rate Maximization (RM) to cater to various application requirements. The Greedy Power Allocation (GPA) algorithm, known for its rate-optimal properties, is introduced along with Uniform power allocation (UPA) algorithm, providing options for efficient implementations in resource-constrained WSNs [10,19].
Additionally, the paper addresses the challenges posed by fast fading channels, which can adversely affect the performance of adaptive power allocation algorithms. To mitigate these effects, a linear frequency domain Maximum Ratio Combining pre-coding (Pre-MRC) technique is proposed. This technique maximizes the received sub-carrier Signal-to-Noise Ratio (SNR) and simplifies receiver complexity, enhancing the performance of the proposed power allocation algorithms in hostile environments. Through extensive simulations and analysis, the effectiveness of the proposed algorithms is evaluated in terms of power consumption, system performance, and the extension of the sensor nodes’ lifetime. The results demonstrate the significant benefits of adaptive power allocation in achieving energy efficiency and enhancing the performance of WSN-based smart irrigation systems. Overall, this paper aims to contribute to the development of hybrid energy-efficient algorithms that enhance the lifetime of sensor nodes, thereby improving the sustainability and efficiency of smart irrigation systems based on WSNs. In summary, this work introduces the following contributions:
- Proposal of a linear frequency domain Maximum Ratio Combining pre-coding (Pre-MRC) technique to mitigate the effects of fast fading channels. This technique maximizes the received sub-carrier SNR and simplifies receiver complexity, improving the performance of the proposed power allocation algorithms in hostile environments.
- Proposing hybrid power allocation algorithms for WSN-based smart irrigation systems using OFDM. The proposed hybrid algorithms integrate pre-coding with low-complexity power allocation techniques such as Greedy power allocation (GPA) and Uniform power allocation (UPA) techniques. These algorithms dynamically adapt the modulation type and power allocation on each sub-carrier, leveraging the frequency selectivity of the channel to enhance system performance and energy efficiency.
- Evaluation of the proposed algorithms through extensive simulations and analysis, demonstrating their effectiveness in terms of throughput, energy efficiency, and the extension of the sensor nodes’ lifetime.
- The significance of achieving energy efficient WSNs in enhancing the sustainability and efficiency of smart irrigation systems.
Through these contributions, this paper aims to advance the field of WSN-based smart irrigation systems, providing efficient solutions for achieving energy efficiency and optimizing the performance of sensor networks in agricultural applications.
2. Related work
Several studies have addressed the power allocation challenges in WSNs and their application in smart irrigation systems. In this section, we provide an overview of the relevant works, discussing their methodologies, advantages, disadvantages, and how they compare to the proposed algorithm.
One notable study in [20] proposed a static power allocation scheme for WSN-based smart irrigation systems. The algorithm allocated equal power to all sub-carriers, regardless of the channel conditions. While this approach is straightforward to implement, it fails to exploit the frequency selectivity of the channel, resulting in suboptimal system performance in terms of throughput. Another approach, presented in [21] introduced a dynamic power allocation algorithm based on channel quality estimation in OFDM-based WSNs. The algorithm adjusted the power allocation based on the measured SNR values across the sub-carriers. Although this adaptive approach improved system performance, it required accurate SNR estimation and feedback, which could introduce complexity and overhead.
Chen et al. [22] proposed the Rate-Optimal Power Allocation (ROPA) algorithm for OFDM-based WSNs. This algorithm aimed to maximize the achievable data rate while satisfying a total power constraint. ROPA utilized an iterative optimization process to allocate power across the sub-carriers. However, the computational complexity of ROPA increased significantly with the number of sub-carriers, limiting its scalability. In a different study, the authors in [23] introduced the Grouped Power Allocation (GPA) algorithm, which performed power allocation in groups of sub-carriers. This sub-optimal approach reduced computational complexity compared to the optimal ROPA algorithm while achieving reasonable performance gains. However, GPA did not consider dynamic adaptation of the modulation type on each sub-carrier.
Compared to the aforementioned works, the proposed power allocation algorithm in this study offers several advantages. It leverages the frequency selectivity of the channel to dynamically adapt the modulation type and power allocation on each sub-carrier, resulting in significant performance gains compared to static schemes. The algorithm considers practical cases of RM, providing flexibility to meet different application requirements. Furthermore, it introduces the GPA algorithm, striking a balance between performance and complexity. The inclusion of the linear frequency domain Pre-MRC technique further enhances the algorithm’s performance in fast fading channels.
In addition to the discussed works, there exist other studies in the field of power allocation for WSN-based smart irrigation systems. For example, Li et al. [24] proposed an energy-aware power allocation algorithm that takes into account the energy constraints of the sensor nodes. Their algorithm aimed to maximize the network lifetime by optimizing power allocation and scheduling transmission activities. Although effective in energy conservation, this approach did not consider the modulation type adaptation and frequency selectivity of the channel. In summary, the proposed algorithms outperform the related works by providing adaptive power allocation, considering modulation type adaptation, and achieving a balance between performance and complexity. It addresses the limitations of static schemes, accurate channel estimation requirements, and high computational complexity. By leveraging the frequency selectivity of the channel and incorporating the Pre-MRC technique, the proposed algorithms offer improved system performance and energy efficiency in the context of WSN-based smart irrigation systems.
In recent years, there have been advancements in power allocation algorithms for WSN-based smart irrigation systems. One notable recent work by Wang et al. proposed a Machine Learning-based Power Allocation (MLPA) algorithm [25]. The MLPA algorithm utilized machine learning techniques to learn the optimal power allocation strategy based on historical data and channel conditions. This approach offered the advantage of adaptability to changing environments and improved performance compared to traditional approaches. However, the MLPA algorithm required a large amount of training data and computational resources for the machine learning model, which could be a challenge in resource constrained WSNs. Table 1 presents a summary of the related work in term of contribution and limitations.
Compared to these recent works, the proposed algorithm presents a different approach by leveraging the frequency selectivity of the channel and incorporating modulation type adaptation. By dynamically adapting the power allocation based on the channel conditions, the proposed algorithms can achieve enhanced system performance without the need for extensive training data or complex machine learning models. Furthermore, the proposed algorithms consider practical constraints, such as rate maximization, providing flexibility to meet specific application requirements.
3. System model and problem formulation
3.1. WSN system model
In smart irrigation systems, WSNs play a pivotal role in monitoring and managing agricultural environments. The WSN network model presented in Fig 1 is designed to collect real-time data from various sensor nodes deployed across the agriculture field, which monitor key parameters like soil moisture, temperature, humidity, and light intensity. These nodes communicate wirelessly through a network of sensor nodes, which then relay the data to a central gateway or control unit.
The data is processed to optimize irrigation schedules, ensuring water is used efficiently, reducing waste, and promoting sustainable farming practices. This model enables automated decision-making based on environmental conditions, reducing the need for manual intervention and improving crop yield while conserving resources. Furthermore, the network’s scalability and energy-efficient design are essential for large agricultural fields, making WSNs a core component of modern precision agriculture.
The modelling framework for this study integrates an OFDM-based WSN architecture with adaptive power allocation and pre-coding techniques to optimize system performance. The framework begins with the assumption that sensor nodes operate in a resource-constrained environment, where energy efficiency and network lifetime are critical. The system model, depicted in Fig 1, incorporates key parameters such as sub-carrier SNR, total transmit power Pt, and target Bit Error Rate (BER). The proposed framework considers real-world constraints, such as the maximum allowable number of bits per sub-carrier and the energy limitations of sensor nodes.
3.2. Problem formulation
OFDM has emerged as a promising technique for enabling energy efficient transmission, particularly for WSN-based smart irrigation systems. To enhance the OFDM-based WSNs performance, the utilization of adaptive power allocation algorithms along with frequency domain pre-coding techniques has gained significant attention. In this paper, we propose a hybrid architecture that combines adaptive pre-coded and power allocation techniques for OFDM-based WSNs, as illustrated in Fig 2. The system begins by feeding the data bit stream into a serial-to-parallel (S/P) block, preparing it for subsequent stages of adaptive bit and power allocation. This allocation process adaptively assigns the total transmit power and bits to the available sub-carriers. The adaptive bit and power allocation algorithm efficiently maps the allocated bits Rn on the nth sub-carrier to the corresponding QAM symbol (Quadrature Amplitude Modulation), accompanied by its designated transmit power pn. To compensate for channel effects and further enhance system performance, pre-coding is then employed. The received signal undergoes cyclic prefix (CP) removal and Fast Fourier Transform (FFT), resulting in its representation as follows:
where is an
column vector of the frequency domain transmitted signal,
is an
diagonal matrix of the linear frequency domain pre-coding coefficients,
is an
diagonal matrix of the frequency-domain channel coefficients, and
is the
vector of zero-mean AWGN with variance
and N represents the number of sub-carriers. Through this proposed architecture, we aim to optimize power allocation and improve the overall performance of the OFDM based-WSNs, particularly in the context of smart irrigation application based on WSNs [Fig 2].
The nth sub-carrier undergoing the gain that used to send
bits per symbol. The rate maximization (RM) optimization problem of the OFDM-based WSN can be formulated as
Objective
Constraints
In Equation 3, represents the rate and
the power assigned to the nth sub-carrier to obtain a target BER of
,
represents the total transmit power,
denotes the target BER, and
represents the maximum allowable no. of bits assigned per sub-carrier.
The carrier-to-noise ratio (CNR) of the nth sub-carrier is defined as follows:
where represents the receiver noise power. The nth sub-carrier SNR is given as:
The minimum SNR required to allocate symbols with bits to the nth sub-carrier is given as [10]:
where represents the used QAM constellation and
is the inverse of
function. The optimization problem of the above constrained will be considered next.
4. Pre-coding and power allocation for OFDM-based WSNs
Pre-coding and power allocation are widely utilized signal pre-processing techniques that contribute to enhance OFDM-based WSN systems. Pre-coding addresses the fading issues inherent in wireless channels by improving the received SNR of transmitted signals, thus bolstering system performance. Conversely, power allocation is a signal pre-processing technique that leverages the diversity offered by sub-channels in OFDM-based WSN systems. It dynamically transmits signals through these sub-channels based on their measured SNRs, optimizing the overall transmission efficiency. In the next sub-sections, we present a comprehensive explanation of these two signal pre-processing techniques and their respective roles in improving OFDM-based WSN systems.
4.1. Pre-coding techniques
In the upcoming sub-sections, we introduce a variety of receiver-side pre-coding techniques as potential signal pre-processing solutions. These techniques are proposed to effectively pre-code the signals transmitted through OFDM sub-channels, aiming to enhance the overall system performance [26,27].
- A. Pre-MRC: Maximum ratio combining pre-coding.
The Maximum Ratio Combining Pre-coding (Pre-MRC) technique possesses an attractive characteristic of maximizing SNR at the system receiver. The Pre-MRC involves a diagonal matrix of size , with weighting factors, which can be expressed as [10,27]:
where is an
diagonal matrix of the frequency-domain coefficients of the fading channel and
is the conjugate transpose of the matrix. Pre-MRC relies on the adjustment of phase and amplitude weighting for individual sub-carriers.
- B. Pre-EGC: Equal gain combining pre-coding.
The Equal Gain Combining Pre-coding (Pre-EGC) technique focuses on phase correction for each sub-carrier without modifying the amplitude. The Pre-EGC utilizes an N×N diagonal weighting matrix, which can be represented as [10,28].
- C. Pre-ZF: Zero-forcing pre-coding.
Zero-Forcing Pre-coding (Pre-ZF), also known as Orthogonality Restoring Combining (ORC) or channel inversion (CI), focuses on both amplitude and phase correction of the frequency response of the channel. The Pre-ZF utilizes an N×N diagonal weighting matrix, which can be represented as [27].
- D. Pre-MMSE: Minimum mean square error pre-coding.
Pre-MMSE operates by reducing the Mean Square Error (MSE) among the received and transmitted information, thereby mitigating Inter-Symbol Interference (ISI). The Pre-MMSE employs an N×N diagonal weighting matrix, which can be written as [29].
4.2. The proposed hybrid pre-coding and power allocation algorithms
While power allocation techniques used in OFDM-based WSNs have been extensively investigated in the literature, the integration of power allocation techniques with pre-coding remains a relatively recent area with numerous open challenges. This sub-section aims to address this gap by proposing and examining hybrid algorithms that integrate pre-coding with low-complexity power allocation techniques such as Greedy power allocation (GPA) and Uniform power allocation (UPA) techniques [10]. It is evident that linear pre-coding serves as an effective and low complexity signal pre-processing method for combating channel fading and improving system performance. In this study, the Pre-MRC pre-coding technique is selected to be used in conjunction with the power allocation algorithms (GPA and UPA) due to its ability to leverage the diversity of channel paths, resulting in improved channel SNR and enhanced power consumption which improve WSN lifetime.
By substituting the Pre-MRC pre-coding matrix, as given in Equation 7, into Equation 1, the pre-coded signal at receiver is expressed as follows:
where is the pre coded OFDM effective frequency domain channel. The nth sub-carrier CNR defined in Equation 4 is reformulated as
In the next sub-sections, efficient and low-complexity pre-coded power allocation algorithms are presented.
4.2.1. Optimal pre-coded GPA (Pre-GPA) algorithm.
The optimal Pre-GPA algorithm enhances the conventional GPA algorithm by incorporating the Pre-MRC technique at the OFDM transmitter. This modification aims to improve the SNRs. The optimal Pre-GPA algorithm begins with the Pre-coded UPA (Pre-UPA) algorithm and utilizes the surplus power from the Pre-UPA algorithm to optimize the power allocation of the system. This optimization process aims to maximize the overall system performance and improve energy efficiency. The subsequent sub-sections provide a comprehensive description of the Pre-GPA algorithms, highlighting their intricacies and functionalities.
- A. Pre-UPA Algorithm
The Pre–UPA algorithm steps is listed as:
- 1). Calculate
for all
, with target BER
using Equation 6.
- 2). The total power budget
is then allocate between all sub-carriers, equally, as shown in Equation 13,
- 3). Reallocate sub-carriers based on their SNR values
into QAM groups bounded by QAM levels
and
, i.e.,
- 4). Assign QAM constellation
to the sub-carriers in each
group, ensuring that the total number of assigned bits for the group is
with
and the total excess power for this group is given as:
- 5). The total allocated bits of the system and the power consumed by the Pre-UPA algorithm are:
The excess power generated by the Pre-UPA algorithm is effectively utilized by several algorithms, serving as a valuable indicator of the efficient use of the total transmit power .
The Pre-GPA algorithm builds on the initialization step outlined earlier. It iteratively redistributes the excess power from the Pre-UPA algorithm. Following the procedure in Table 2, the total allocated bits and consumed power are determined as follows:
and
5. Simulation results and discussions
This section presents computer simulations using MATLAB program to assess the performance of the proposed algorithms. The non-pre-coded power allocation algorithms are also included as a benchmark for comparison. The proposed modelling framework was applied to evaluate the performance of the hybrid algorithms through simulations. The simulations consider a network area of 100 × 100 m2, with sensor node counts varying from 200 to 1000. The channel is modeled using a 6-tap Finite Impulse Response (FIR) filter, and perfect Channel State Information (CSI) is assumed for accurate SNR calculations. The framework incorporates realistic constraints, such as a fixed power budget and target BER of 10-3, to simulate real-world deployment scenarios effectively. To evaluate the performance of the proposed algorithms, the following metrics are considered: throughput, energy efficiency, and network lifetime. Table 3 summarizes the parameters used in simulation.
5.1. Performance analysis
Fig 3 illustrates the achievable throughput as a function of SNR for both the conventional GPA and UPA algorithms, as well as the proposed hybrid pre-GPA and pre-UPA algorithms, with a target BER of 10-³ and a 6-tap FIR (Finite Impulse Response) channel. The figure clearly shows that the proposed hybrid algorithms, particularly pre-GPA, outperform the conventional ones. For instance, to achieve a throughput of 400 bits per symbol, the pre-GPA algorithm requires 18 dB less SNR compared to the conventional non-pre-coded GPA algorithm. This SNR reduction leads to lower power consumption for sensor nodes, thereby extending their operational lifetime.
Fig 4 illustrates the normalized allocated power (total allocated power relative to total transmit power) versus SNR for both conventional and proposed hybrid algorithms, with a target BER of 10-3 and a 6-tap FIR channel. At low SNR levels, the conventional UPA and the proposed pre-UPA algorithms excel in conserving transmit power, though at the expense of reduced throughput, as shown in Fig 3. GPA-based algorithms, on the other hand, are more effective than UPA algorithms in utilizing transmit power to enhance throughput. At higher SNR levels, the performance of GPA-based algorithms, with and without pre-coding, converges with that of the UPA algorithm due to the increased excess power at the highest QAM level.
5.2. Comparative analysis
This subsection presents a comparative analysis of WSNs using the proposed hybrid algorithms against those from the literature, such as those in [25] and [30]. The comparison is made based on throughput percentage, energy efficiency, and network lifetime, as shown in Figs 5–7, respectively.
Fig 5 highlights the throughput performance as the number of sensor nodes increases. The proposed pre-GPA and pre-UPA algorithms consistently outperform the conventional GPA and UPA approaches. Specifically, the pre-GPA algorithm achieves up to 98.5% throughput, demonstrating its ability to efficiently utilize available channel resources even as the network grows. This superior performance is attributed to the dynamic allocation of power and modulation levels based on the SNR of each sub-carrier, ensuring optimal data transmission across varying conditions. The pre-UPA algorithm, while slightly less effective than pre-GPA, still outperforms conventional methods with a throughput of 96.5%, showcasing its ability to balance simplicity and performance. While the achieved throughput is 95% and 80% for the algorithms in [25] and [30], respectively.
Fig 6 illustrates the energy efficiency of the algorithms as a function of network size. The proposed hybrid algorithms show a marked improvement in energy efficiency compared to conventional approaches. The pre-GPA algorithm demonstrates the highest energy efficiency due to its intelligent redistribution of excess power and effective pre-coding, which minimizes unnecessary energy consumption. For example, with 1000 sensor nodes, the pre-GPA algorithm achieves an energy efficiency of 98%, compared to 95% and 85% for the algorithms presented in [25] and [30], respectively. The results validate the algorithms’ capability to conserve energy while maintaining high performance, making them highly suitable for resource-constrained environments like smart irrigation systems.
Fig 7 examines the network lifetime, a critical metric for the sustainability of WSN-based smart irrigation systems. The proposed pre-GPA algorithm achieves the longest network lifetime, followed closely by the pre-UPA algorithm. This outcome is a direct result of the efficient energy usage enabled by the hybrid algorithms, which allocate power adaptively and optimize resource utilization. Compared to conventional GPA and UPA algorithms [19] and the algorithms presented in [25] and [30], the hybrid methods significantly reduce power wastage and extend the operational lifespan of sensor nodes, particularly in larger networks.
Table 4 presents a comparison of performance metrics for proposed and existing algorithms at 1000 sensor nodes. The proposed algorithms achieve the highest performance due to efficient power allocation and pre-coding techniques.
5.3 Comparison of computational complexity
This subsection provides a comparison of the computational complexity of the algorithms discussed in this paper, as summarized in Table 5.
- A. Proposed algorithms.
- 1. Pre-GPA Algorithm
- Pre-GPA Algorithm: The computational complexity of the Pre-GPA algorithm is primarily determined by:
- Initialization Step: The equal allocation of power across sub-carriers, which has a complexity of O(N), where N is the number of sub-carriers.
- Iterative Redistribution: This step involves recalculating power for each sub-carrier until convergence, with complexity O(I⋅N), where I is the number of iterations.
- Overall Complexity: The total complexity can be approximated as O(I⋅N), making it suitable for real-time applications with moderate computational resources.
- Pre-UPA Algorithm:
- Equal Power Allocation: A simpler variant with complexity O(N), as it avoids iterative redistribution.
- Overall Complexity: O(N), making it a low-complexity option, ideal for scenarios with limited computational capacity.
- B. Conventional Algorithms:
- GPA Algorithm
- Performs iterative power redistribution without pre-coding, with complexity O(I⋅N).
- Slightly less complex than the Pre-GPA algorithm due to the absence of pre-coding computations but achieves lower performance.
- UPA Algorithm
- Fixed power allocation with complexity O(N), similar to the Pre-UPA algorithm but lacks dynamic adaptation.
- C. Algorithms from literature:.
- ROPA Algorithm (from [22]):
- An iterative optimization algorithm with complexity O(I⋅N2), due to its reliance on solving optimization problems for each sub-carrier iteratively.
- Offers high performance but at the cost of scalability for large networks.
- MLPA Algorithm (from [25]):
- Employs machine learning techniques with a complexity dependent on the training phase and inference step. The training phase is computationally intensive (O(D⋅M2), where D is the dataset size and M is the model size, while inference has a complexity of O(N).
- High adaptability but resource-intensive, making it less practical for resource-constrained WSNs.
- The Algorithm in [30]:
- Groups sub-carriers into G groups and applies power allocation to each group, significantly reducing computational complexity compared to individual sub-carrier optimization.
- Complexity: O(G⋅N), where G is much smaller than N, making it more efficient than O(I⋅N2) algorithms like ROPA. However, this approach sacrifices fine-grained adaptation, leading to slightly reduced performance in scenarios with highly variable channel conditions.
The computational complexity comparison presented in Fig 8 highlights the trade-offs between the performance and practicality of various algorithms. The proposed pre-GPA algorithm strikes a balance between complexity and performance, making it suitable for real-time applications, while the proposed pre-UPA algorithm offers a low-complexity alternative ideal for resource-constrained environments. In contrast, conventional algorithms such as GPA and UPA lack the benefits of pre-coding and adaptive power allocation, resulting in moderate or suboptimal performance despite manageable complexity levels. The ROPA algorithm [22] delivers high performance but is hindered by its scalability due to significantly higher complexity. Similarly, the MLPA algorithm [25] demonstrates adaptability but requires extensive training and computational resources, making it less practical for real-time or resource-constrained deployments. The algorithm in [30], which groups sub-carriers, reduces computational demands but sacrifices fine-grained modulation adaptation, leading to limited performance improvements. Overall, the proposed algorithms provide an optimal trade-off between computational efficiency and system performance, making them suitable for WSN-based smart irrigation systems.
6. Conclusion
This paper presented enhanced hybrid pre-coding and power allocation algorithms for OFDM-based WSNs used in smart irrigation systems. By integrating pre-coding techniques with low-complexity power allocation, the proposed algorithms address the limitations of static schemes and deliver significant performance improvements. The Pre-MRC pre-coding technique was shown to be an effective method to mitigate channel fading, while the dynamic adjustment of modulation type and power allocation across sub-carriers, based on SNR values, led to optimized system performance. Two hybrid pre-coded power allocation algorithms are introduced, pre-GPA and pre-UPA algorithms. The obtained results demonstrated that the hybrid pre-GPA algorithm could reduce the required SNR by up to 18 dB to achieve a target throughput of 400 bits per symbol, outperforming conventional algorithms in terms of throughput, energy efficiency, and network lifetime. The pre-GPA algorithm achieved up to 98.5% throughput while extending system longevity, highlighting its potential for enhancing the sustainability of smart irrigation systems.
As a future work, integrating machine learning techniques into power allocation and modulation adaptation algorithms may further enhance system adaptability and energy efficiency. Research could also be extended to investigate the potential of combining these approaches with renewable energy sources, such as solar-powered sensor nodes, could contribute to even greater sustainability in smart agriculture.
Acknowledgments
The author gratefully acknowledge the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, Project Number: RG24-M028.
References
- 1. Hassan ES. Energy-efficient resource allocation algorithm for CR-WSN-based smart irrigation system under realistic scenarios. Irrigation. 2023;13(6):1149.
- 2. Hassan ES, Oshaba AS, El‐Emary A, Elsafrawey AS. Enhancing the lifetime and performance of WSNs in smart irrigation systems using cluster‐based selection protocols. Irrigat Drain. 2023;72(4):1109–23.
- 3. Jabbari A, Humayed A, Reegu FA, Uddin M, Gulzar Y, Majid M. Smart farming revolution: farmer’s perception and adoption of smart iot technologies for crop health monitoring and yield prediction in Jizan, Saudi Arabia. Sustainability. 2023;15(19):14541.
- 4. Alharbi F, Zakariah M, Alshahrani R, Albakri A, Viriyasitavat W, Alghamdi AA. Intelligent transportation using wireless sensor networks blockchain and license plate recognition. Sensors (Basel). 2023;23(5):2670. pmid:36904873
- 5. Khan AU, Khan ME, Hasan M, Zakri W, Alhazmi W, Islam T. An Efficient wireless sensor network based on the ESP-MESH protocol for indoor and outdoor air quality monitoring. Sustainability. 2022;14(24):16630.
- 6. Prashar D, Rashid M, Siddiqui ST, Kumar D, Nagpal A, AlGhamdi AS, et al. SDSWSN—A secure approach for a hop-based localization algorithm using a digital signature in the wireless sensor network. Electronics. 2021;10(24):3074.
- 7. Aalsalem MY, Khan WZ, Saad NM, Hossain MS, Atiquzzaman M, Khan MK. A new random walk for replica detection in WSNs. PLoS One. 2016;11(7):e0158072. pmid:27409082
- 8. Shuaib M, Bhatia S, Alam S, Masih RK, Alqahtani N, Basheer S, et al. An optimized, dynamic, and efficient load-balancing framework for resource management in the internet of things (IoT) environment. Electronics. 2023;12(5):1104.
- 9. Mou D, Xiao L, Peng M, Zhou J, Liu G, Jiang T. Subcarrier interleaved Index modulation assisted OFDM backscatter communication. IEEE Commun Lett. 2024;28(11):2533–7.
- 10. Odhah NA, Hassan ES, Dessouky MI, Al-Hanafy WE, Alshebeili SA, Abd El-Samie FE. Adaptive per-spatial stream power allocation algorithms for single-user MIMO-OFDM systems. Wireless Pers Commun. 2017;98(1):1–31.
- 11. Hassan ES, et al. PAPR reduction for OFDM-based visible light communication systems using proposed hybrid technique. Int J Commun Syst. 2018;31:e3582.
- 12.
Rajput KP, Ahmed MF, Jagannatham AK, Sharma G. Optimal Precoder Designs for the Estimation of a Temporally Correlated Parameter in OFDM-based WSNs. 2019 13th International Conference on Signal Processing and Communication Systems (ICSPCS). Gold Coast, QLD, Australia: 2019. pp. 1–7.
- 13.
Yamada H, Suganuma H, Maehara F. System Capacity Analysis of Asynchronous FBMC and OFDM Systems in the Presence of Adjacent Channel Interference and Multipath Fading. 2022 IEEE Radio and Wireless Symposium (RWS). Las Vegas, NV, USA: 2022, .p. 171–3.
- 14. Elsayed EE, Yousif BB, Singh M. Performance enhancement of hybrid fiber wavelength division multiplexing passive optical network FSO systems using M-ary DPPM techniques under interchannel crosstalk and atmospheric turbulence. Opt Quant Electron. 2022;54(2).
- 15. Elsayed EE. Atmospheric turbulence mitigation of MIMO-RF/FSO DWDM communication systems using advanced diversity multiplexing with hybrid N-SM/OMI M-ary spatial pulse-position modulation schemes. Opt Commun. 2024;562:130558.
- 16. Singh M, Elsayed EE, Alayedi M, Aly MH, Abd El-Mottaleb SA. Performance analysis in spectral-amplitude-coding-optical-code-division-multiple-access using identity column shift matrix code in free space optical transmission systems. Opt Quant Electron. 2024;56(5).
- 17.
Zhou K, Cheng W, Dou L, Bao L. An Improved Low Complexity OFDM Adaptive Bit Power Allocation Method. 2019 IEEE 3rd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC). Chengdu, China: 2019. pp. 315–20. https://doi.org/10.1109/itnec.2019.8729328
- 18. Huang X, Peng M, Song J. Heterogeneous network for inter-nanosat communication with novel modulation schemes and power control. IEEE Commun Lett. 2024;28(4):897–901.
- 19.
Chen G, Chen Y, Wang J, Song J. Joint power and channel allocation to minimize age of information in wireless networks with time-varying channels and power constraints. 2024 IEEE 99th Vehicular Technology Conference (VTC2024-Spring). Singapore, Singapore: 2024. pp. 1–7. https://doi.org/10.1109/VTC2024-Spring62846.2024.10683197
- 20. Chen S, Liu D, Zhao Y. Target localization and power allocation using wireless energy harvesting sensors. Electronics. 2021;10(21):2592.
- 21. Busacca F, Galluccio L, Palazzo S, Panebianco A, Qi Z, Pompili D. Adaptive versus predictive techniques in underwater acoustic communication networks. Comput Netw. 2024;252:110679.
- 22. Chen X, Liu G, Ma Z, Zhang X, Xu W, Fan P. Optimal power allocations for non-orthogonal multiple access over 5G full/half-duplex relaying mobile wireless networks. IEEE Trans Wireless Commun. 2019;18(1):77–92.
- 23.
Hu L, Wu Q, Fan Y, Shi R, Huang S.Research on resource allocation algorithm for NOMA system based on fairness and optimal energy efficiency. 2021 13th International Conference on Wireless Communications and Signal Processing (WCSP). Changsha, China: 2021. pp. 1–5, https://doi.org/10.1109/WCSP52459.2021.9613391
- 24. Li Z, Zhong A. Resource allocation in wireless powered virtualized sensor networks. IEEE Access. 2020;8:40327–36.
- 25. Ahmed QW, Garg S, Rai A, Ramachandran M, Jhanjhi NZ, Masud M, et al. AI-based resource allocation techniques in wireless sensor internet of things networks in energy efficiency with data optimization. Electronics. 2022;11(13):2071.
- 26. Cinemre I, Hacioglu G, Mahmoodi T. QCTP: a novel pre-coding approach for papr reduction in IM/DD systems. IEEE Access. 2024;12:115588–96.
- 27.
Hashim MF, Razak NIA. Pre-coding techniques for optimum spectral efficiency in massive MIMO system. 2016 IEEE Asia-Pacific Conference on Applied Electromagnetics (APACE). Langkawi, Malaysia. 2016, pp. 403–6, https://doi.org/10.1109/APACE.2016.7916470
- 28. Khoshkholgh MG, Leung VCM. Characterizing mutual information of multistream MIMO-SVD systems in heterogeneous random networks. IEEE Trans Veh Technol. 2018;67(1):436–53.
- 29.
Sharma PK, Vijavsai T, Harika DVNS, Aiavkumar B, Kalesha B. Bit error rate analysis of pre-coding techniques in different MIMO systems. 2018 Second International Conference on Electronics, Communication and Aerospace Technology (ICECA). Coimbatore, India: 2018. pp. 1144–7, https://doi.org/10.1109/ICECA.2018.8474550
- 30. Zhao B, Zhao X. Deep reinforcement learning resource allocation in wireless sensor networks with energy harvesting and relay. IEEE Internet Things J. 2022;9(3):2330–45.