Next Article in Journal
Advancing Network Security with AI: SVM-Based Deep Learning for Intrusion Detection
Previous Article in Journal
Gender Recognition Based on Gradual and Ensemble Learning from Multi-View Gait Energy Images and Poses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Resource Allocation Optimization in IoT-Enabled Water Quality Monitoring Systems

by
Segun O. Olatinwo
*,† and
Trudi H. Joubert
Department of Electrical, Electronic and Computer Engineering, University of Pretoria, Pretoria 0002, South Africa
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2023, 23(21), 8963; https://doi.org/10.3390/s23218963
Submission received: 3 September 2023 / Revised: 23 October 2023 / Accepted: 27 October 2023 / Published: 3 November 2023
(This article belongs to the Section Internet of Things)

Abstract

:
Water quality monitoring systems that are enabled by the Internet of Things (IoT) and used in water applications to collect and transmit water data to data processing centers are often resource-constrained in terms of power, bandwidth, and computation resources. These limitations typically impact their performance in practice and often result in forwarding their data to remote stations where the collected water data are processed to predict the status of water quality, because of their limited computation resources. This often negates the goal of effectively monitoring the changes in water quality in a real-time manner. Consequently, this study proposes a new resource allocation method to optimize the available power and time resources as well as dynamically allocate hybrid access points (HAPs) to water quality sensors to improve the energy efficiency and data throughput of the system. The proposed system is also integrated with edge computing to enable data processing at the water site to guarantee real-time monitoring of any changes in water quality and ensure timely access to clean water by the public. The proposed method is compared with a related method to validate the system performance. The proposed system outperforms the existing system and performs well in different simulation experiments. The proposed method improved the baseline method by approximately 12.65% and 16.49% for two different configurations, demonstrating its effectiveness in improving the energy efficiency of a water quality monitoring system.

1. Introduction

Water is an essential resource to humanity [1,2,3,4,5]. Water is life as the human body is made up of approximately 65% water [6]. Hence, humans need to consume clean water for their survival [4,5,7]. Clean water also plays a critical role in improving people’s health, well-being, and quality of life [1,2,5]. However, clean water is becoming a scarce commodity because of the negative impacts of several anthropogenic activities [1,5,7,8,9,10].
To increase access to clean water, water quality monitoring is an active area of research in academia and industry [5,11,12,13]. Water quality monitoring research involves the use of traditional laboratory-based technology as well as modern distributed Internet of Things (IoT) technology. Among these technologies, the use of IoT technology is more popular because of its advantages over laboratory-based technology in terms of cost, real-time water quality monitoring, and prompt water data collection [14,15,16,17]
Despite the promise of IoT systems in water quality monitoring applications, they are still at an infant stage and are resource-constrained in terms of power, bandwidth, and computational resources [18]. Because of these constraints, the IoT systems in water quality monitoring applications are currently limited in performance in the context of energy efficiency, throughput, and network lifetime [19].
For IoT systems to perform better in the water quality monitoring domain, it is important to address the resource constraint issues. Hence, it is important to investigate the design of new resource management strategies that can be incorporated into IoT systems for water quality monitoring. This study focuses on the design of efficient resource allocation strategies for resource management in a non-orthogonal multiple access (NOMA) IoT network for water quality monitoring; the main contributions of this work are highlighted as follows:
  • We propose the design of a NOMA-enabled protocol for IoT-enabled water quality monitoring systems;
  • We propose the integration of edge computing with water quality monitoring systems;
  • We propose resource allocation optimization methods, including a Dinkelbach algorithm-based optimization method for optimizing wireless energy transfer and wireless information transfer, as well as a dynamic resource allocation method for hybrid access point (HAP) resource allocation for data collection;
  • We provide a comparison of the proposed method with a comparable baseline method.
The content of this article is organized as follows. In Section 2, we provide a review of the related studies. Section 3 presents the proposed method. Section 4 presents the process of mathematical modeling and optimization of resource allocation. In Section 5, we provide experimental results to illustrate the energy efficiency performance of the proposed NOMA-enabled IoT system for water quality monitoring based on the proposed efficient resource allocation strategies. Section 6 concludes this work.

2. Related Work

The successful deployment of IoT systems in water quality monitoring applications require efficient resource allocation solutions that can increase the system energy efficiency and network lifetime, support the transmission of a large amount of water data, and reduce the computational resources required by the system. As a consequence of this, researchers have intensified efforts to propose various resource allocation solutions. A review of the examples of the related studies are presented as follows.
Ji and Guo [20] considered the problem of resource allocation optimization in a wireless-powered mobile edge computing-based IoT network. In their work, the mobile edge computing approach was employed to offload intensive computation tasks from the network devices to the edge nodes because of the resource-constrained nature of IoT devices. However, the use of mobile edge computing in IoT systems often results in increased resource utilization cost (e.g., power) and computational complexity. This may be due to the extra computational overhead and energy consumption introduced by edge computing for sensor devices because they must perform complex tasks in the context of data collection, processing, analysis, and decision making. In addition, the mobile edge computing approach is still a developing technology associated with various resource-allocation problems. Similar to the work of Ji and Guo [20], Ahmed et al. [21], and Sun et al. [22] also considered the problem of resource allocation in wireless-powered mobile edge computing networks. However, these works also suffer from the inherent resource wastage issue associated with edge computing due to the extra computational overhead and energy consumption introduced by edge computing for sensor devices. To address these issues, we introduced a heterogeneous multiclass communication system that consists of ordinary water quality sensor devices and two edge computing-enabled HAP devices that can perform edge computing tasks [23,24]. Additionally, we introduced the concept of a sequential multi-class WPCN to optimally and sequentially schedule the operation of network devices for data transmission with a low-complexity dynamic resource allocation method.
Zeng [25] formulated the system energy efficiency problem as a game theory problem. In their work, the sensor devices are modeled to collectively work together to maximize their overall objective function value. However, because of the need to cooperatively make decisions on how to allocate resources, the system suffered from a computational complexity issue. This resulted in a low energy efficiency performance of the system. To address the problem in the work of Zeng [25], we propose a dynamic resource allocation method and an optimization-based method to jointly optimize the allocation of the system resources and improve the overall system energy efficiency in a sequential multi-class WPCN setting.
Olatinwo and Joubert [26] studied the energy efficiency optimization problem in a wireless-powered sensor network where all the sensor devices in the network only have the opportunity to send their data to only one hybrid access point (HAP). In this case, more energy is spent by the IoT devices that are far from the HAP while less energy is used to send data by the IoT devices that are close to the HAP. This situation is due to the inherent doubly near–far problem in wireless-powered communication networks (WPCNs). To deal with this problem, a WPCN was proposed with two HAPs and a dynamic resource allocation method to efficiently allocate the HAPs to the network IoT devices for their data collection. In addition, unlike the work of Olatinwo and Joubert [26], where a meta-heuristic method was used to compute resource allocation to the network IoT devices with a near-optimal best effort solution, this study considered the application of the Dinkelbach algorithm to compute an optimal solution for the IoT devices in the proposed system.
Ansere et al. [27] studied the problem of resource allocation in a cooperative IoT network for energy efficiency performance optimization of the network. In the network in the work of Ansere et al. [27], a cooperative relaying communication approach is employed to enable the network devices to collectively agree to select a channel (i.e., a relaying link) to send their data to a base station device at the destination. The cooperative communication process between the devices in the study of Ansere et al. [27] for decision making regarding channel selection will technically increase the computational complexity of the network in the context of power and time. This often leads to an increased energy consumption and low data throughput. The concept of cooperative communication in IoT networks is useful for reducing energy consumption due to data communication and increases the amount of data that the network can transmit. However, cooperative communication networks often experience an increased energy consumption and a reduced data throughput under an imperfect channel state. To address the limitations in the study of Ansere et al. [27] and also cater for limited power resources in a cooperative IoT network, this study introduced the use of a wireless power transfer technique to increase the availability of power resources in the network. Furthermore, the two HAPs are used to reduce the energy consumption due to data communication in a quasi-static environment. In addition, the concept of a sequential multi-class WPCN is proposed to optimally and sequentially schedule the operation of the network devices in the uplink using a low complexity dynamic resource allocation method.
Ji et al. [28] studied the problem of resource allocation in wireless-powered IoT networks. In their work, a dual-hop communication approach was employed. In this case, relay node was used as an intermediate node between a power source and the IoT devices. The relay node used the energy received from the power source to power the IoT devices as well as collect data from the IoT devices. This can lead to network congestion and reduced throughput. Furthermore, in a wireless-powered network with one power source, the IoT devices experience unfairness in energy harvesting and data transmission. To address the problems associated with the use of relay nodes in networks powered by a single transmitter, we considered multiple transmitters in this work to improve the energy harvesting. In addition, we introduced two HAPs and a dynamic resource allocation method to optimally allocate the HAPs to the IoT devices for their data collection.
We present a summary of the comparison of the proposed work and the existing works in Table 1.
It is important to emphasize that energy efficiency is still a major concern in IoT systems for several reasons, including the limited power resources of sensor devices and energy consumption due to data communication. Therefore, more research is needed to investigate the design of new resource allocation solutions for IoT systems in practical applications. Based on this, in contrast to the previous studies discussed above, we propose the development of a Dinkelbach algorithm-based method and a dynamic resource allocation method to achieve optimal energy efficiency in the proposed NOMA-enabled IoT system for water quality monitoring.

3. Proposed Method

3.1. System Architecture

The proposed architecture of the water quality monitoring system is illustrated in Figure 1. It consists of a set of water quality sensors, HAPs, and an edge computing node. To provide readers with more insights into the project, Table 2 shows a list of requirements for the system architecture. The water quality sensors are deployed at a water site to capture the water quality parameters of the relevant water body. Some of the important parameters for drinking water include pH, E. coli, and dissolved oxygen [29,30,31,32]. Due to the power-constrained nature of water quality sensors in IoT systems, HAPs are employed to power sensor devices and collect water data from sensor devices. The edge computing node is introduced to increase the computational capacity of the system for local water data processing. This is motivated by the limited computational resources of sensor devices and the gap in conventional water quality monitoring systems. For example, in most water quality monitoring systems, water data are often forwarded to remote stations where data processing, analysis, and prediction take place. By sending water data to distant remote water stations, real-time monitoring of any possible changes in water parameters may be impractical. To address this gap, we combined edge computing with the proposed water quality monitoring system to enable real-time water quality monitoring.

3.2. System Model

This study considers a multi-class communication system that classifies the system sensor devices into two different classes, A and B , according to the channel gains among the sensor devices and the data collecting HAPs. To minimize the transmission power used by the sensor devices to transfer their individual data to the available HAPs, the proposed system exploits the channel gain differences among the sensor devices and the available HAPs in the system to classify them into K sensor devices ∈ m = { m 1 , m 2 , , m K } and L sensor devices ∈ n = { n 1 , n 2 , , n L } .
In the system, there are I dedicated power sources, represented as s = { s 1 , s 2 , , s I } . These power sources are used to transfer power to K sensor devices in class A as well as the L sensor devices in class B. Among the I power sources, two of them ( s 1 and s 2 ) serve as the HAPs. Hence, both s 1 and s 2 s can transfer power to the sensor devices and can also collect data from the sensor devices. Each class of the network transfers its data to two HAPs to achieve a good channel gain among the sensor devices and the HAPs. We assume that the proposed multi-class communication system is a heterogeneous system such that the sensor devices are ordinary water quality sensor devices and HAPs s 1 and s 2 are edge computing-enabled and can perform edge computing tasks [23,24]. This circumvents the potential extra computational overhead and energy consumption that edge computing may introduce for sensor devices owing to complex tasks relating to data collection, processing, analysis, and decision making.
The proposed multi-class communication system works as a wireless-powered communication network (WPCN). Hence, the wireless energy harvesting (WEH) phase and the wireless information transmission (WIT) phase of the system operates within a timeslot defined by τ ( s ) based on the proposed communication protocol presented in Figure 2. Consequently, the durations of the WEH and WIT phases are defined as τ W E H ( s ) and τ W I T ( s ) , respectively. Hence, the system operates within the duration of τ = τ W E H ( s ) + τ W I T ( s ) .
In each timeslot, both classes A and B harvest power from all the available I power sources within the duration of τ W E H ( s ) , whereas only one of the classes is enabled to perform data transmission to the allocated set of HAPs within the duration of τ W I T ( s ) . For example, if class A is enabled for data transmission to the HAPs in timeslot τ then class B is sequentially enabled for data transmission to the HAPs in the next timeslot, τ + 1 . Since it is not a must for all the sensor devices to perform data transmission in the WIT phase concurrently in each timeslot, the concept of sequential data transmission scheduling is considered in this work to optimize the use of power resources by the overall system.
The K and L sensor devices are strategically deployed across the water body in a random manner to optimally capture the key water parameters, as shown in Figure 1. In addition, dedicated I power sources, including the HAPs { s i } i = 1 2 , are connected to a controller with global knowledge of the resources in the proposed system. It is aware of a scheduler designed to enable either class A or B in a sequential manner for data transmission to HAPs s 1 and s 2 in each timeslot, τ . It is important to emphasize that, at each timeslot, the controller update its information about the K sensor devices in class A, L sensor devices in class B, and I power sources for the purpose of synchronization. The sensor devices draw energy from separate batteries for updating their energy status information with the controller.
Table 3 contains some of key acronyms used in this work.

4. Mathematical Model

The communication channel gains among the K sensor devices and the HAPs, s 1 and s 2 , as well as the L sensor devices and the HAPs, follow a quasi-static fading model. Therefore, the communication channel gain from the I power sources to the K sensor devices and the L sensor devices in the WEH phase are c i , k and c i , l . In addition, the reversed communication channel gain from the K sensor devices to the HAPs is d k , i , while the communication channel gain from the L sensor devices to the HAPs is d l , i .
As a result of the reciprocity of DL and UL communication channel gains for the class A network, c i , k = d k , i = 10 1 × d k , i α . Furthermore, the reciprocity of the downlink (DL) and uplink (UL) communication channel gains for the class B network is c i , l = d l , i = 10 1 × d l , i α . In both cases, α is the pathloss exponent. During the WEH phase, using the proposed NOMA protocol, the K sensor devices and the L sensor devices harvest energy within the duration of 0 τ W E H 1 . The energy harvested by the K sensor devices and the L sensor devices are e k · h a r v e s t τ ( J ) and e l · h a r v e s t τ ( J ) , respectively, where:
e k · h a r v e s t τ = ξ i = 1 I P i c i , k τ W E H + e k · a v a i l a b l e τ , k ( J )
e l · h a r v e s t τ = ξ i = 1 I P i c i , l τ W E H + e l · a v a i l a b l e τ , l ( J )
where P i ( W ) is the transmission power used by the I power sources to charge the K sensor devices, while e k · h a r v e s t τ and e l · h a r v e s t τ are the available energy in the K and L sensor devices’ in-built batteries from the previous timeslot.
Each k sensor device and l sensor device used the energy e k · t r a n s m i t τ ( J ) and e l · t r a n s m i t τ ( J ) to transfer their respective data to HAPs s 1 and s 2 , respectively, in the WIT phase. Consequently, the available energy, e k · a v a i l a b l e τ and e l · a v a i l a b l e τ , for the next timeslot, τ + 1 , is computed based on (3) and (4):
e k · a v a i l a b l e ( τ + 1 ) = e k · h a r v e s t τ e k · t r a n s m i t τ
e l · a v a i l a b l e ( τ + 1 ) = e l · h a r v e s t τ e l · t r a n s m i t τ
The transmission power used by each k sensor device to transfer its data to HAPs s 1 and s 2 is defined as P k , i ( W ) , while P l , i ( W ) is the transmission power used by each l sensor device to transmit its data to the HAPs. During the WIT phase, using the NOMA protocol, the K sensor devices and L sensor devices transmit their individual data at a scheduled timeslot, τ , to their dynamically allocated HAPs, { s i } i = 1 2 , within the duration of 0 τ W I T 1 .
Because of the simultaneous data transmission of the K sensor devices and the L sensor devices at a scheduled timeslot to the HAPs, a successive interference cancellation (SIC) technique is applied at the HAPs to enable a sequential decoding of the concurrently transmitted data of the K sensor devices as well as the L sensor devices in each timeslot by first decoding the signal of the highest channel gain sensor device at the corresponding HAP i [26,33].
By applying the Shannon theory, the amount of data that each k sensor device can transmit per second to a HAP i in the WIT phase is computed in (5) as:
R k , i ( τ , P k , i ) = i s τ W E H B l o g 2 1 + P k , i d k , i k k + 1 P k , i d k , i + σ 2 k { m 1 , m 2 , , m K }
where B denotes the system’s bandwidth in Hz, d k , i denotes the UL communication channel from the K sensor devices to the HAPs, P k , i ( W ) represents the transmission power consumed by each k sensor device to send its data to a HAP i, and σ 2 is the additive white Gaussian noise (AWGN) power. The resource allocation vectors for the time resources and the transmission power resources for the K sensor devices are formulated as τ = [ τ W E H , τ W I T ] T and P A = [ P 1 , 1 , P 2 , 1 , P 3 , 1 , , P K , 1 , P 1 , 2 , P 2 , 2 , P 3 , 2 , , P K , 2 ] T , respectively.
A minimum quality of service (QoS) constraint is set for each sensor device k in (6) to satisfy the minimum amount of data of the K sensor devices in order to achieve a reliable data transmission.
R k , i ( τ , P k , i ) r k , i , k
The total amount of data that all the K sensor devices can transmit is computed in (7) from (5) as:
R t o t a l ( τ , P k , i ) = k = 1 K i s R k , i ( τ , P k , i ) , k
Furthermore, the amount of data that each l device can transmit per second to a HAP i during the WIT phase is formulated in (8) as:
R l , i ( τ , P l , i ) = i s τ W E H B l o g 2 1 + P l , i d l , i l l + 1 P l , i d l , i + σ 2 l { n 1 , n 2 , , n L }
The resource allocation vectors for the time resources and the transmission power resources for the L sensor devices are τ = [ τ W E H , τ W I T ] T and P B = [ P 1 , 1 , P 2 , 1 , P 3 , 1 , , P L , 1 , P 1 , 2 , P 2 , 2 , P 3 , 2 , , P L , 2 ] T , respectively. Additionally, the minimum QoS rate constraint for the L sensor devices is formulated in (9) as:
R l , i ( τ , P l , i ) r l , i , i
The total amount of data that all the L sensor devices can transmit is calculated in (10) as:
R t o t a l ( τ , P l , i ) = l = 1 L i s R l , i ( τ , P l , i ) , l
During the WEH phase, the energy consumed by the K devices and L devices are computed in (11) and (12) [26] as:
e K , W E H ( τ W E H , P i ) = i = 1 I ( P i + P c k = 1 K ξ ( c i , k P i ) ) τ W E H , k
where P c is the circuit power consumption for the transmission power and hardware.
e L , W E H ( τ W E H , P i ) = i = 1 I ( P i + P c l = 1 L ξ ( c i , l P i ) ) τ W E H , l
By combining (11) and (12), the total energy consumed by both K devices and L devices during the WEH phase is formulated in (13) as:
e W E H K , L ( τ W E H , P i ) = i = 1 I ( P i + P c k = 1 K ξ ( c i , k P i ) + l = 1 L ξ ( c i , l P i ) ) τ W E H
During the WIT phase, the energy consumed by the K devices and L devices to transmit their individual data to an allocated HAP i at a scheduled period is formulated in (14) and (15) as:
e K · W I T ( τ W I T , P k , i ) = k = 1 K ( P k , i + P k , c ) τ W I T
where P k , c is the circuit power consumption for the k device.
e L · W I T ( τ W I T , P l , i ) = l = 1 L ( P l , i + P l , c ) τ W I T
where P l , c is the circuit power consumption for the l device.
Based on the derived equations, the total energy consumed by the class A devices at a timeslot, τ , and the total energy consumed by the class B devices at the next time timeslot, τ + 1 , can now be formulated in (16)–(19).
e K · t o t a l = e W E H K , L ( τ W E H , P i ) + e K · W I T ( τ W I T , P k , i )
e K · t o t a l ( τ W E H , P i , τ W I T , P k , i ) = i = 1 I ( P i + P c k = 1 K ξ ( c i , k P i ) + l = 1 L ξ ( c i , l P i ) ) τ W E H + k = 1 K ( P k , i + P k , c ) τ W I T
e L · t o t a l = e W E H K , L ( τ W E H , P i ) + e L · W I T ( τ W I T , P l , i )
e L · t o t a l ( τ W E H , P i , τ W I T , P l , i ) = i = 1 I ( P i + P c k = 1 K ξ ( c i , k P i ) + l = 1 L ξ ( c i , l P i ) ) τ W E H + l = 1 L ( P l , i + P l , c ) τ W I T
According to [34], the system energy efficiency (EE) is the ratio of the received sum-data and the total power consumption. Due to the scheduling of the K devices in class A and the L devices in class B during the WIT phase, problems (17) and (19) are solved independently at timeslot τ and the next timeslot, τ + 1 . Therefore, the system EE configured with K sequential devices in class A at timeslot τ is formulated as an optimization problem in (20), and the time allocation, τ , the power source power allocation, P 1 , as well as each k device power allocation, P k , i , are jointly optimized. The system EE optimization problem is:
P 1 : m a x τ , P i , P k , i R t o t a l ( τ , P k , i ) e K · t o t a l ( τ , P i , P k , i )
s.t.:
C 1 : τ W E H + τ W I T 1
C 2 : 0 P i P i m a x
C 3 : 0 P k , i P k , i m a x
C 4 : ( P k , i + P k , c ) τ W I T ξ i = 1 I P i c i , k τ W E H e k . a v a i l a b l e ( τ )
C 5 : τ W E H 0 , i k
C 6 : τ W I T 0 , k { s i } i = 1 2
where C 1 is the time resource allocation constraint, C 2 is the transmission power constraint for the power sources, C 3 represents the limit on the sensor device k transmission power, the C 4 constraint ensures that the power cost for sensor device k data transmission should not exceed its total power, and C 5 and C 6 are non-negative constraints for the decision variables.
In (20), τ W E H and τ W I T are replaced with τ in subsequent problems involving τ W E H and τ W I T since τ = τ W E H + τ W I T .
The system EE configured with L sequential devices in class B at the next timeslot, τ + 1 , is formulated in (27), and the time allocation, τ , the power source power allocation, P i , as well as the power allocation, P l , i , of each l device are jointly optimized. The system EE optimization problem is written as:
P 1 : m a x τ , P i , P l , i R t o t a l ( τ , P l , i ) e L · t o t a l ( τ , P i , P l , i )
s.t.:
C1, C2
C 7 : 0 P l , i P l , i m a x
C 8 : ( P l , i + P l , c ) τ W I T ξ i = 1 I P i c i , l τ W E H e l . a v a i l a b l e ( τ )
C 9 : τ W E H 0 , i l
C 10 : τ W I T 0 , l { s i } i = 1 2

4.1. Transformation of the Objective Function

The optimization problems in (20) and (27) are non-linear fractional optimization problems. Such optimization problems cannot be easily solved directly and it is difficult to obtain optimal solutions to such problems. To deal with this problem, we applied the Dinkelbach method  [35] to transform the non-linear fractional optimization problems into a subtraction form that can be easily solved.
To apply the Dinkelbach method, we introduced parameters q and r to compute the optimal solution for the system EE in (20) and (27). Let q * represents the system EE for the optimization problem in (20), which is formulated in (32) as:
q * = m a x τ , P i , P k , i R t o t a l ( τ , P k , i ) e K · t o t a l ( τ , P i , P k , i ) = R t o t a l ( τ * , P k , i * ) e K · t o t a l ( τ * , P i * , P k , i * )
From (32), the maximum system EE q * can now be easily obtained  [36] when m a x τ , P i , P k , i R t o t a l ( τ , P k , i ) q * · e K · t o t a l ( τ , P i , P k , i ) = R t o t a l ( τ * , P k , i * ) q * · e K · t o t a l ( τ * , P i * , P k , i * ) = 0 .
By applying the parameter q to the system EE optimization problem in (20), problem P 1 was transformed as a new objective function in (33) as:
P 3 : m a x τ , P i , P k , i R t o t a l ( τ , P k , i ) q · e K · t o t a l ( τ , P i , P k , i )
s.t.:
C1, C2, C3, C4, C5, and C6
Let r * represents the system EE for problem P2 in (27), which is formulated in (34) as:
r * = m a x τ , P i , P l , i R t o t a l ( τ , P l , i ) e L · t o t a l ( τ , P i , P l , i ) = R t o t a l ( τ * , P l , i * ) e L · t o t a l ( τ * , P i * , P l , i * )
From (34), the maximum system EE r * can now be easily obtained when
m a x τ , P i , P l , i R t o t a l ( τ , P l , i ) r * · e L · t o t a l ( τ , P i , P l , i ) = R t o t a l ( τ * , P l , i * ) r * · e L · t o t a l ( τ * , P i * , P l , i * ) = 0 .
Following this, the parameter r can now be applied to optimization problem P2 in (28) to transform it to a new objective function in (35) as:
P 4 : m a x τ , P i , P k , i R t o t a l ( τ , P k , i ) q · e K · t o t a l ( τ , P i , P k , i )
s.t.:
C1, C2, C7, C8, C9, and C10
The convergence of the transformed subtraction function has been proved in  [36], and this can be easily applied to problems ( P 3 ) and ( P 4 ) . Hence, the proof is omitted in this paper. To achieve an optimal EE for the proposed WPCN system, we solved problems (33) and (35) in each iteration using an iteration algorithm.

4.2. Optimal Solution

The objective functions in problems (33) and (35) are convex optimizations with respect to variables τ , P i , P k , i and variables τ , P i , P l , i , respectively. Hence, we proposed and applied a Lagrangian method and a Dinkelbach iterative algorithm. The Lagrangian function of the optimization problem in (33) is given in (36) as:
L ( τ , P i , P k , i , μ 1 , μ 2 , μ 3 , μ 4 ) = R t o t a l ( τ , P k , i ) q · e K · t o t a l ( τ , P i , P k , i ) + μ 1 ( τ W E H + τ W I T 1 ) + μ 2 ( P i P i m a x ) + μ 3 ( P k , i P k , i m a x ) + μ 4 ( ( P k , i + P k , c ) τ W I T ξ i = 1 I P i c i , k τ W E H + e k . a v a i l a b l e ( τ ) )
where τ = ( τ W E H , τ W I T ) defines the duration for the WEH phase and the duration for the WIT phase and μ = ( μ 1 , μ 2 , μ 3 , μ 4 ) represents the Lagrangian multipliers for the constraints.
The dual optimization problem for the transformed optimization problem in (33) is provided in (37) as:
m i n τ , P i , P k , i , μ 1 , μ 2 , μ 3 , μ 4 m a x L ( τ , P i , P k , i , μ 1 , μ 2 , μ 3 , μ 4 )
s.t.:
μ 1 , μ 2 , μ 3 , μ 4 0
Based on the zero-duality-gap condition, the optimal solution of the dual variables (or multipliers) μ 1 * , μ 2 * , μ 3 * , μ 4 * will achieve the maximum EE of the problem in (33). This is computed by using an iteration algorithm to solve (37).
For each iteration, the dual optimization problem in (37) is solved using the Karush–Kuhn–Tucker (KKT) conditions  [37] based on the initial variables μ 1 , μ 2 , μ 3 , μ 4 , and by equating the Lagrangian partial derivative to zero to obtain optimal resource allocation solutions for τ , P i , P k , i .
The iteration process is provided as follows:
  • Δ μ 1 = τ W E H + τ W I T 1
  • Δ μ 2 = P i P i m a x
  • Δ μ 3 = P k , i P k , i m a x
  • Δ μ 4 = ( P k , i + P k , c ) τ W I T ξ i = 1 I P i c i , k τ W E H + e k . a v a i l a b l e ( τ )  
The initial Lagrangian multipliers are updated iteratively by μ ( t + 1 ) = ( μ ( t ) + β ( t ) Δ μ ) to obtain a new set of multipliers. This process is repeated until the optimal multipliers are obtained when the proposed iteration algorithm saturates to convergence. Note that Δ μ = ( Δ μ 1 , Δ μ 2 , Δ μ 3 , Δ μ 4 ) , β ( t ) is used to denote the step size of the iteration and T is used to denote the number of iterations.
For a given μ , the process of computing optimal energy transfer time allocation; data transfer time allocation; and k device transmit power allocation, i.e., τ * , P i * , and P k , i * , is obtained through the KKT conditions by equating the Lagrangian partial derivative to derivatives to zero as follows:
By equating L τ W E H , L τ W I T , L P i , and L P k , i to zero, the following optimal solutions can be obtained.
L τ W E H = B k = 1 K i s I n 2 I n 1 + P k , i d k , i k k + 1 P k , i d k , i + σ 2 q · i = 1 I ( P i + P c k = 1 K ξ ( c i , k P i ) + l = 1 L ξ ( c i , l P i ) ) + μ 1 ( W I T ) + μ 4 ( ( P k , i + P k , c ) τ W I T ξ i = 1 I P i c i , k + e k . a v a i l a b l e ( τ ) )
L τ W I T = k = 1 K ( P k , i + P k , c ) + μ 1 ( τ W E H ) + μ 4 ( ( P k , i + P k , c )
L P i = q · i = 1 I ( 1 + P c k = 1 K ξ ( c i , k ) + l = 1 L ξ ( c i , l ) ) τ W E H μ 2 ( 1 P i m a x ) + μ 4 ( ξ i = 1 I c i , k + τ W E H + e k · a v a i l a b l e ( τ ) )
L P k , i = B k = 1 K i s τ W E H I n 2 k k + 1 P k , i d k , i + σ 2 k k + 1 P k , i d k , i + σ 2 + P k , i d k , i · d k , i k k + 1 P k , i d k , i + σ 2 + k = 1 K ( 1 + P k , c ) τ W I T + μ 3 ( 1 P k , i m a x ) + μ 4 ( 1 + P k , c ) τ W I T
L μ 1 = τ W E H + τ W I T 1
L μ 2 = P i P i m a x
L μ 3 = P k , i P k , i m a x
L μ 4 = ( ( P k , i + P k , c ) τ W I T ξ i = 1 I P i c i , k τ W E H e k · a v a i l a b l e ( τ )
The resource allocation algorithm for solving the optimization problem in (33) is provided in Algorithm 1. In addition, to obtain optimal resource allocations, a Dinkelbach-based iteration algorithm is proposed and presented in Algorithm 2.
Algorithm 1 Resource Allocation Algorithm
Require: 
Variables μ 1 , μ 2 , μ 3 , μ 4
Ensure: 
λ 1 , λ 2 , λ 3 , λ 4
  1:
for each k in Class A do
  2:
    compute an optimal power resource allocation, P k , i * , using (41)
  3:
    compute an optimal time resource allocation, τ W E H * and τ W i T * , using (38) and (39)
  4:
    update μ 1 , μ 2 , μ 3 , μ 4 until convergence
  5:
end for
  6:
for each l in Class B do
  7:
    compute an optimal power allocation, P L , i * , using (51)
  8:
    compute an optimal time resource allocation, τ W i T * , using (48) and (49)
  9:
    update λ 1 , λ 2 , λ 3 , λ 4   until convergence
10:
end for
Algorithm 2 Proposed Dinkelbach-based Iteration Algorithm
Require: 
q = 0 , r = 0 , t = 0 , τ m a x = m a x i m u m n u m b e r o f i t e r a t i o n s , e m a x = m a x i m u m e r r o r ,
  1:
for each k in Class A do
  2:
    repeat
  3:
    apply Algorithm 2 to obtain { τ , P k , i }
  4:
    if  R t o t a l ( τ , P k , i ) q i e K . t o t a l ( τ , P i , P k , i ) e m a x  then
  5:
        return ( τ * , P k , i * )
  6:
         q * = R t o t a l ( τ * P k * , i ) e K . t o t a l ( τ * , P i * , P k , i * )
  7:
    else  q = R t o t a l ( τ , P k , i ) e K . t o t a l ( τ , P i , P k , i ) , t = t + 1
  8:
    end if
  9:
    Until R t o t a l ( τ , P k , i ) r . e K . t o t a l ( τ , P i , P k , i ) e m a x   is true
10:
end for
11:
for each l in Class B do
12:
    repeat
13:
    apply Algorithm 2 to compute { τ , P l , i }
14:
    if  R t o t a l ( τ , P l , i ) r i e L . t o t a l ( τ , P i , P l , i ) e m a x  then
15:
        return ( τ * , P l , i * )
16:
         r * = R t o t a l ( τ * P l * , i ) e L . t o t a l ( τ * , P i * , P l , i * )
17:
    else  r = R t o t a l ( τ , P l , i ) e L . t o t a l ( τ , P i , P l , i ) , t = t + 1
18:
    end if
19:
    Until R t o t a l ( τ , P l , i ) r . e L . t o t a l ( τ , P i , P l , i ) e m a x   is true
20:
end for
The Lagrangian function of the optimization problem in (35) is provided in (46) as:
L ( τ , P i , P l , i , λ 1 , λ 2 , λ 3 , λ 4 ) = R t o t a l ( τ , P l , i ) r · e L · t o t a l ( τ , P i , P l , i ) + λ 1 ( τ W E H + τ W I T 1 ) + λ 2 ( P i P i m a x ) + λ 3 ( P l , i P l , i m a x ) + λ 4 ( ( P l , i + P l , c ) τ W I T ξ i = 1 I P i c i , l τ W E H + e l . a v a i l a b l e ( τ ) )
where λ = ( λ 1 , λ 2 , λ 3 , λ 4 ) denotes the Lagrangian multipliers for the constraints.
The dual optimization problem for the transformed optimization problem in (35) is provided in (47) as:
m i n τ , P i , P l , i , λ 1 , λ 2 , λ 3 , λ 4 m a x L ( τ , P i , P l , i , λ 1 , λ 2 , λ 3 , λ 4 )
s.t.:
λ 1 , λ 2 , λ 3 , λ 4 0
According to the zero-duality-gap condition, the optimal solution of the dual variables or multipliers λ 1 * , λ 2 * , λ 3 * , λ 4 * will achieve the maximum EE of the problem in (35). This is computed by the proposed iteration algorithm to solve (47).
In each iteration, the formulated dual optimization problem in (47) is solved by applying the KKT conditions  [37] according to the given initial multipliers λ 1 , λ 2 , λ 3 , λ 4 , and by equating the Lagrangian partial derivative to zero to obtain optimal resource allocation solutions for τ , P i , P l , i .
The iteration process is provided in as follows:
  • Δ λ 1 = τ W E H + τ W I T 1
  • Δ λ 2 = P i P i m a x
  • Δ λ 3 = P l , i P l , i m a x
  • Δ λ 4 = ( P l , i + P l , c ) τ W I T ξ i = 1 I P i c i , l τ W E H + e l . a v a i l a b l e ( τ )
The initial Lagrangian multipliers are updated iteratively by λ ( t + 1 ) = ( λ ( t ) + γ ( t ) Δ λ ) to obtain a new set of multipliers. This process is repeated until the optimal multipliers are realized when the proposed iteration algorithm reaches a point of saturation. Note that Δ λ = ( Δ λ 1 , Δ λ 2 , Δ λ 3 , Δ λ 4 ) , and γ ( t ) is used to denote the step size of the iteration.
The process of computing optimal energy transfer time allocation; data transfer time allocation; and l device transmit power allocation, i.e., τ * , P i * , and P l , i * , is obtained by equating the Lagrangian partial derivative to zero, as follows:
By equating L τ W E H , L τ W I T , L P i , and L P l , i to zero, the following optimal solutions can be determined:
L τ W E H = B l = 1 L I n 2 I n 1 + P l , i d l , i l l + 1 P l , i d l , i + σ 2 r · i = 1 I ( P i + P c k = 1 K ξ ( c i , k P i ) + l = 1 L ξ ( c i , l P i ) ) + λ 1 ( W I T ) + λ 4 ( ( P l , i + P l , c ) τ W I T ξ i = 1 I P i c i , l + e l . a v a i l a b l e ( τ ) )
L τ W I T = l = 1 L ( P l , i + P l , c ) + λ 1 ( τ W E H ) + λ 4 ( ( P l , i + P l , c )
L P i = r · i = 1 I ( 1 + P c k = 1 K ξ ( c i , k ) + l = 1 L ξ ( c i , l ) ) τ W E H λ 2 ( 1 P i m a x ) + λ 4 ( ξ i = 1 I c i , l + τ W E H + e l · a v a i l a b l e ( τ ) )
L P l , i = B l = 1 L τ W E H I n 2 l l + 1 P l , i d l , i + σ 2 l l + 1 P l , i d l , i + σ 2 + P l , i d l , i · d l , i l l + 1 P l , i d l , i + σ 2 + l = 1 L ( 1 + P l , c ) τ W I T + λ 3 ( 1 P l , i m a x ) + λ 4 ( 1 + P l , c ) τ W I T
L λ 1 = τ W E H + τ W I T 1
L λ 2 = P i P i m a x
L λ 3 = P l , i P l , i m a x
L λ 4 = ( ( P l , i + P l , c ) τ W I T ξ i = 1 I P i c i , l τ W E H e l · a v a i l a b l e ( τ )
The resource allocation algorithm for solving the optimization problems in (33) and (35) is presented in Algorithm 1.
To obtain optimal power and time resource allocations in each cycle of the proposed system, a Dinkelbach-based iteration algorithm is proposed and presented in Algorithm 2.

4.3. Dynamic HAP Resource Allocation Algorithm

This section presents the resource allocation algorithm (i.e., Algorithm 3) employed by the proposed system for allocating HAP resources. During the WIT phase, the HAPs are dynamically allocated to the K and L devices for data collection during a scheduled period to manage the energy consumption of the devices. This is achieved by exploiting the channel gain differences between the devices and the HAPs. This concept helps improve the communication channel quality of devices with a power channel gain to reduce the power used by the devices to report their individual data to the HAPs.
Algorithm 3 HAP allocation in the WIT Phase
Require: 
{ m 1 , m 2 , , m K } I o T d e v i c e s , { n 1 , n 2 , , n L } I o T d e v i c e s , a n d { s i } i = 1 2
  1:
At timeslot  τ , compute the Euclidean distance between each k IoT device and  { s i } i = 1 2
  2:
Based on step (1), allocate each k IoT device to the nearest HAP  i { s i } i = 1 2
  3:
At the next timeslot, τ + 1 , compute the Euclidean distance between each l IoT device and { s i } i = 1 2
  4:
Based on step (3), allocate each l IoT device to the nearest HAP  i { s i } i = 1 2

5. Results and Discussions

In this section, the performance of the proposed system is evaluated based on the baseline method in [26]. Consequently, the same simulation parameters as in [26] were also assumed in this study for comparison and validation purposes. The simulation parameters used in the experiments are presented in Table 4.
The proposed system comprises two sequential groups of class A and B networks. The class A network is configured with a set of K water quality sensor devices, whereas the B network is configured with L water quality sensor devices. These devices are deployed within the communication coverage of the power sources and data collection devices, as shown in Figure 3.

5.1. Performance Comparison of Different Methods

In this section, the proposed method is simulated and compared with a baseline method [26] to evaluate its performance. Similar to the baseline method [26], we consider a WPCN system with five sensor devices, six sensor devices, and three power sources. Consequently, two configurations were considered in the experiments. The first configuration included K = 3 , L = 2 , and I = 3 . The second configuration included K = 4 , L = 2 , and I = 3 . Two I devices were enabled to transfer power and collect water data from the devices. In both configurations 1 and 2, the K and L devices were enabled to concurrently perform energy harvesting within the period of τ W E H using the proposed NOMA protocol. Using the proposed sequential strategy, only the class A network with A devices was enabled to perform water data transmission to the allocated HAPs within the period of τ W I T since the water data of the K devices are more critical than those of the L devices. The proposed algorithm was enabled to simulate the proposed method, and it was disabled for the baseline method. The proposed method was simulated over a different number of runs (or iterations). In each run, the performance of the proposed method was compared with the baseline method, and the outcome of each iteration is presented in Figure 4.
From Figure 4, it can be deduced that both the proposed method and the existing method converged well to an optimal saturation point at approximately 80 runs. However, the performance of the proposed system for the two configurations considered validates that the proposed system is more energy-efficient than the baseline method. The proposed method outperformed the baseline method by approximately 12.65% and 16.49% for configurations 1 and 2, respectively. The efficiency of the proposed method can be attributed to the computation of the optimal resource allocation for network devices using the proposed resource allocation algorithm.

5.2. Impact of Noise Power on Energy Efficiency

In this section, we investigate the effect of noise power on the performance of the proposed method. For this experiment, we considered a WPCN system with K = 3 devices in the class A network, L = 2 devices in the class B network, and I = 3 . The two classes of networks perform energy harvesting during the τ W E H period. The class A devices are first enabled to perform data transmission in the current cycle and the B devices are scheduled to perform data transmission in the next cycle. The value of the system noise power was varied from −90 dBm to −110 dBm over a different number of iterations, and the energy efficiency performance of the system is presented in Figure 5 and Figure 6 for the two classes.
During the first cycle of the system, where the A devices transferred their data to the two HAPs in the system, as the noise power was varied from −90 dBm to −110 dBm, the energy efficiency of the system increased for a small value of noise power, while the energy efficiency decreased for a large value of noise power, as shown in Figure 5. During the next cycle of the system, where the B devices performed data transmission at the UL, the same effect during the first cycle of the system was also observed. The increase in the energy efficiency effect caused by a small value of noise power can be attributed to the increased data rate with low power consumption and low noise power.

5.3. Effect of the Number of Power Sources on Energy Efficiency

In this section, different numbers of power sources were used in the experiments to investigate the effect of the number of power sources on the energy efficiency of the proposed system. The proposed system was configured with K = 3 , L = 2 , σ 2 = 90 dBm, σ 2 = 100 dBm, and σ 2 = 110 dBm, and the number of power sources was varied from one to five. From the results in Figure 7, it was observed that increasing the number of power sources resulted in increased energy efficiency of the system for both class A and class B devices. However, the class B devices achieved a higher energy efficiency than the class A devices. The class B devices achieved an increased energy efficiency because they had less data to transmit compared to the A devices. Hence, the class B devices spent less power on data transmission and were able to increase energy efficiency.

5.4. Impact of Sensor Device Transmit Power on Energy Efficiency

In this section, we study the impact of different values of the sensor device transmission power on the energy of the proposed system. We consider K = 3 , L = 2 , I = 3 , σ 2 = 90 dBm, σ 2 = 100 dBm, and σ 2 = 110 dBm for P k , i = P l , i = 0.1 W, 0.2 W, 0.3 W, 0.4 W. The experimental results are shown in Figure 8. As shown in Figure 8, as the transmission power of the sensor devices in class A and class B was varied from 0.1 W to 0.4 W, there was a slight decrease in the energy efficiency of the system. This was a result of the trade-off effect between the total energy consumption and total throughput. When the transmission power of the sensor devices was increased, more data were supported by the system, and the energy consumption of the sensor devices increased. Consequently, the system energy efficiency decreased slightly.

5.5. Impact of QoS Data Requirements on the System EE

In this section, different values of the minimum QoS throughput requirements are investigated for the performance of the proposed system. In this experiment, two configurations were considered. The first system configuration included K = 3 , L = 2 , I = 3 , σ 2 = 90 dBm, σ 2 = 100 dBm, and σ 2 = 110 dBm. The second system configuration contains K = 3 , L = 2 , I = 4 , σ 2 = 90 dBm, σ 2 = 100 dBm, and σ 2 = 110 dBm The minimum QoS throughput requirement of the devices varied from 1000 bits to 5000 bits for the two system configurations. The experimental results for the two configurations are shown in Figure 9 and Figure 10.

6. Conclusions

IoT-enabled water quality monitoring systems are becoming increasingly popular due to their benefits over laboratory-based systems. However, these systems are resource-constrained, with limited power, computational, and bandwidth resources. As a result, they have drawn the attention of academics and practitioners to improve their performance. In this study, we introduced a multi-class communication strategy to classify the water quality sensor devices in the system. We designed a NOMA-based communication protocol to schedule and optimize the operation of the water quality sensor devices for energy harvesting and information transfer. We proposed a new resource allocation method to compute optimal power and time resource allocation for the devices. We also introduced a dynamic resource allocation method for hybrid access point (HAP) resource allocation for efficient data collection. Furthermore, we introduced edge computing into the water quality monitoring system proposed in this work to extend the traditional architecture based on cloud computing. This helps to improve the computational capacity of the system and enables local processing of water data at the water site to guarantee real-time water quality monitoring. Our proposed method outperformed an existing comparable baseline method by approximately 12.65% and 16.49% for two different configurations, demonstrating its effectiveness in improving the energy efficiency of a water quality monitoring system. In future studies, more research is required to explore ways to improve the energy efficiency of the wireless-powered water quality sensor devices used in water quality monitoring systems.

Author Contributions

Conceptualization, S.O.O. and T.H.J.; formal analysis, S.O.O. and T.H.J.; investigation, S.O.O. and T.H.J.; resources, S.O.O. and T.H.J.; supervision, T.H.J.; validation, S.O.O. and T.H.J.; writing—orginal draft, S.O.O. and T.H.J.; writing—review and editing, S.O.O. and T.H.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research work was supported by the University of Pretoria, Pretoria, South Africa.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Olatinwo, S.O.; Joubert, T.H. A bibliometric analysis and review of resource management in internet of water things: The use of game theory. Water 2022, 14, 1636. [Google Scholar] [CrossRef]
  2. Li, J.; Ma, R.; Cao, Z.; Xue, K.; Xiong, J.; Hu, M.; Feng, X. Satellite detection of surface water extent: A review of methodology. Water 2022, 14, 1148. [Google Scholar] [CrossRef]
  3. Jan, F.; Min-Allah, N.; Düştegör, D. Iot based smart water quality monitoring: Recent techniques, trends and challenges for domestic applications. Water 2021, 13, 1729. [Google Scholar] [CrossRef]
  4. Radhakrishnan, N.; Pillai, A.S. Comparison of water quality classification models using machine learning. In Proceedings of the 2020 5th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 10–12 June 2020; IEEE: New York, NY, USA, 2020; pp. 1183–1188. [Google Scholar]
  5. Lu, H.; Ma, X. Hybrid decision tree-based machine learning models for short-term water quality prediction. Chemosphere 2020, 249, 126169. [Google Scholar] [CrossRef] [PubMed]
  6. Brown, D. The discovery of water channels (aquaporins). Ann. Nutr. Metab. 2017, 70, 37–42. [Google Scholar] [CrossRef] [PubMed]
  7. Madni, H.A.; Umer, M.; Ishaq, A.; Abuzinadah, N.; Saidani, O.; Alsubai, S.; Hamdi, M.; Ashraf, I. Water-Quality Prediction Based on H2O AutoML and Explainable AI Techniques. Water 2023, 15, 475. [Google Scholar] [CrossRef]
  8. du Plessis, A.; du Plessis, A. Global water scarcity and possible conflicts. In Freshwater Challenges of South Africa and Its Upper Vaal River: Current State and Outlook; Springer: Cham, Switzerland, 2017; pp. 45–62. [Google Scholar]
  9. Van Vliet, M.T.; Jones, E.R.; Flörke, M.; Franssen, W.H.; Hanasaki, N.; Wada, Y.; Yearsley, J.R. Global water scarcity including surface water quality and expansions of clean water technologies. Environ. Res. Lett. 2021, 16, 024020. [Google Scholar] [CrossRef]
  10. Doaemo, W.; Betasolo, M.; Montenegro, J.F.; Pizzigoni, S.; Kvashuk, A.; Femeena, P.V.; Mohan, M. Evaluating the Impacts of Environmental and Anthropogenic Factors on Water Quality in the Bumbu River Watershed, Papua New Guinea. Water 2023, 15, 489. [Google Scholar] [CrossRef]
  11. Devane, M.L.; Moriarty, E.; Weaver, L.; Cookson, A.; Gilpin, B. Fecal indicator bacteria from environmental sources; strategies for identification to improve water quality monitoring. Water Res. 2020, 185, 116204. [Google Scholar] [CrossRef]
  12. Li, P.; Wu, J. Drinking water quality and public health. Expo. Health 2019, 11, 73–79. [Google Scholar] [CrossRef]
  13. Li, P. Groundwater quality in western China: Challenges and paths forward for groundwater quality research in western China. Expo. Health 2016, 8, 305–310. [Google Scholar] [CrossRef]
  14. Villar Miguelez, C.; Monzon Baeza, V.; Parada, R.; Monzo, C. Guidelines for Renewal and Securitization of a Critical Infrastructure Based on IoT Networks. Smart Cities 2023, 6, 728–743. [Google Scholar] [CrossRef]
  15. Khatri, P.; Gupta, K.K.; Gupta, R.K. Assessment of water quality parameters in real-time environment. SN Comput. Sci. 2020, 1, 340. [Google Scholar] [CrossRef]
  16. Aranda, J.; Mendez, D.; Carrillo, H. Multimodal wireless sensor networks for monitoring applications: A review. J. Circuits Syst. Comput. 2020, 29, 2030003. [Google Scholar] [CrossRef]
  17. Martínez, R.; Vela, N.; El Aatik, A.; Murray, E.; Roche, P.; Navarro, J.M. On the use of an IoT integrated system for water quality monitoring and management in wastewater treatment plants. Water 2020, 12, 1096. [Google Scholar] [CrossRef]
  18. Olatinwo, D.D.; Abu-Mahfouz, A.M.; Hancke, G.P. Towards achieving efficient MAC protocols for WBAN-enabled IoT technology: A review. EURASIP J. Wirel. Commun. Netw. 2021, 2021, 60. [Google Scholar] [CrossRef]
  19. Olatinwo, S.O.; Joubert, T.H. Deep Learning for Resource Management in Internet of Things Networks: A Bibliometric Analysis and Comprehensive Review; Institute of Electrical and Electronics Engineers: Los Alamitos, CA, USA, 2022. [Google Scholar]
  20. Ji, L.; Guo, S. Energy-efficient cooperative resource allocation in wireless-powered mobile edge computing. IEEE Internet Things J. 2018, 6, 4744–4754. [Google Scholar] [CrossRef]
  21. Ahmed, M.; Alshahrani, H.M.; Alruwais, N.; Asiri, M.M.; Al Duhayyim, M.; Khan, W.U.; Nauman, A.; Khurshaid, T. Joint optimization of UAV-IRS placement and resource allocation for wireless powered mobile edge computing networks. J. King Saud Univ.-Comput. Inf. Sci. 2023, 35, 101646. [Google Scholar] [CrossRef]
  22. Sun, M.; Xu, X.; Huang, Y.; Wu, Q.; Tao, X.; Zhang, P. Resource management for computation offloading in D2D-aided wireless powered mobile-edge computing networks. IEEE Internet Things J. 2020, 8, 8005–8020. [Google Scholar] [CrossRef]
  23. Cao, L.; Yue, Y.; Zhang, Y. A data collection strategy for heterogeneous wireless sensor networks based on energy efficiency and collaborative optimization. Comput. Intell. Neurosci. 2021, 2021, 9808449. [Google Scholar] [CrossRef]
  24. Sun, X.; Su, Y.; Huang, Y.; Tan, J.; Yi, J.; Hu, T.; Zhu, L. Edge computing-based ERBS time synchronization algorithm in WSNs. Wirel. Commun. Mob. Comput. 2020, 2020, 8840367. [Google Scholar] [CrossRef]
  25. Zeng, X. Game theory-based energy efficiency optimization model for the Internet of Things. Comput. Commun. 2022, 183, 171–180. [Google Scholar] [CrossRef]
  26. Olatinwo, S.O.; Joubert, T.H. Energy efficiency maximization in a wireless powered IoT sensor network for water quality monitoring. Comput. Netw. 2020, 176, 107237. [Google Scholar] [CrossRef]
  27. Ansere, J.A.; Kamal, M.; Gyamfi, E.; Sam, F.; Tariq, M.; Mohammed, A. Energy efficient resource optimization in cooperative Internet of Things networks. Internet Things 2020, 12, 100302. [Google Scholar] [CrossRef]
  28. Ji, B.; Song, K.; Li, C.; Zhu, W.P.; Yang, L. Energy harvest and information transmission design in internet-of-things wireless communication systems. AEU-Int. J. Electron. Commun. 2018, 87, 124–127. [Google Scholar] [CrossRef]
  29. DWAF. South African Water Quality Guidelines: Volume 1: Domestic Water Use; Department of Water Affairs and Forestry: Pretoria, South Africa, 1996.
  30. World Health Organization Guidelines for Drinking-Water Quality; World Health Organization: Geneva, Switzerland, 2004; Volume 1.
  31. World Health Organization Manganese in Drinking-Water: Background Document for Development of WHO Guidelines for Drinking-Water Quality; Technical Documents; World Health Organization: Geneva, Switzerland, 2004.
  32. Tyagi, S.; Sharma, B.; Singh, P.; Dobhal, R. Water quality assessment in terms of water quality index. Am. J. Water Resour. 2013, 1, 34–38. [Google Scholar] [CrossRef]
  33. Vamvakas, P.; Tsiropoulou, E.E.; Papavassiliou, S.; Baras, J.S. Optimization and resource management in NOMA wireless networks supporting real and non-real time service bundling. In Proceedings of the 2017 IEEE Symposium on Computers and Communications (ISCC), Heraklion, Greece, 3–6 July 2017; IEEE: New York, NY, USA, 2017; pp. 697–703. [Google Scholar]
  34. Salh, A.; Shah, N.S.M.; Audah, L.; Abdullah, Q.; Jabbar, W.A.; Mohamad, M. Energy-efficient power allocation and joint user association in multiuser-downlink massive MIMO system. IEEE Access 2019, 8, 1314–1326. [Google Scholar] [CrossRef]
  35. Dinkelbach, W. On nonlinear fractional programming. Manag. Sci. 1967, 13, 492–498. [Google Scholar] [CrossRef]
  36. Ng, D.W.K.; Lo, E.S.; Schober, R. Energy-efficient resource allocation for secure OFDMA systems. IEEE Trans. Veh. Technol. 2012, 61, 2572–2585. [Google Scholar] [CrossRef]
  37. Boyd, S.; Boyd, S.P.; Vandenberghe, L. Convex Optimization; Cambridge University Press: New York, NY, USA, 2004. [Google Scholar]
Figure 1. Proposed architecture for water quality monitoring system.
Figure 1. Proposed architecture for water quality monitoring system.
Sensors 23 08963 g001
Figure 2. Proposed NOMA-based communication protocol.
Figure 2. Proposed NOMA-based communication protocol.
Sensors 23 08963 g002
Figure 3. Network deployment.
Figure 3. Network deployment.
Sensors 23 08963 g003
Figure 4. Performance comparison of the proposed method.
Figure 4. Performance comparison of the proposed method.
Sensors 23 08963 g004
Figure 5. Impact of noise power on energy efficiency for class A device during the first phase of UL data transmission.
Figure 5. Impact of noise power on energy efficiency for class A device during the first phase of UL data transmission.
Sensors 23 08963 g005
Figure 6. Impact of noise power on energy efficiency for class B device during the next phase of UL data transmission.
Figure 6. Impact of noise power on energy efficiency for class B device during the next phase of UL data transmission.
Sensors 23 08963 g006
Figure 7. Impact of number of power sources on energy efficiency.
Figure 7. Impact of number of power sources on energy efficiency.
Sensors 23 08963 g007
Figure 8. Impact of sensor device transmit power on energy efficiency.
Figure 8. Impact of sensor device transmit power on energy efficiency.
Sensors 23 08963 g008
Figure 9. Impact of minimum QoS throughput on energy efficiency for the first configuration.
Figure 9. Impact of minimum QoS throughput on energy efficiency for the first configuration.
Sensors 23 08963 g009
Figure 10. Impact of minimum QoS throughput on energy efficiency for the second configuration.
Figure 10. Impact of minimum QoS throughput on energy efficiency for the second configuration.
Sensors 23 08963 g010
Table 1. Comparison of the existing works with the proposed work.
Table 1. Comparison of the existing works with the proposed work.
Reference  Contribution of Related WorksContribution of the Proposed Work
[20]The authors designed a
resource allocation algorithm
to manage edge computation
resource allocation in a
network where all IoT
devices participate in data
transmission in the same cycle.
Unlike [20], we introduced
a dynamic resource allocation
method and an optimization-based
method to jointly optimize
energy harvesting and data
transmission in a sequential multi-class
WPCN, where each class
of sensors operates sequentially
to improve the overall system
energy efficiency.
[21]The authors designed a wireless-
powered network where IoT
devices perform complex tasks.
Additionally, IoT devices can
only send their data to
a single base station.
Contrary to [21], we shifted
complex tasks from IoT
devices to reduce energy consumption.
Additionally, we contributed a
dynamic resource allocation method
to optimally allocate multiple
hybrid access points to improve
system energy efficiency.
[22]The authors designed a resource
management scheme to offload
computations in the network
IoT devices concurrently.
Unlike [22], we introduced a sequential
multi-class WPCN strategy for
offloading computations in a
sequential manner. Additionally, we
contributed a dynamic resource
allocation method to improve the
overall system energy efficiency.
[25]The authors designed a game
theory-based resource allocation
method to improve energy efficiency
in cooperative network settings.
Unlike [25], we proposed
a dynamic resource allocation method
and an optimization-based method
to jointly optimize the allocation
of system resources to
improve the overall system energy
efficiency in sequential multi-class WPCN
settings.
[26]The authors designed a wireless-
powered communication network
with only one hybrid access point.
Different from [26], we
contributed a sequential
multi-class WPCN with
dynamically allocated hybrid access points
to improve energy efficiency.
[27]The authors designed a wireless-
powered cooperative IoT network
where devices transmit data
in the same cycle.
Different from [27], we contributed
a sequential multi-class
WPCN where devices transmit data
in different cycles to
improve energy efficiency.
[28]The authors designed a wireless-
powered communication network
where IoT devices uses a multi-hop
communication strategy to communi-
cate with a single base station.
Contrary to [28], we contributed
a sequential multi-class
WPCN where IoT devices
uses single-hop communication
to communicate with dynamically
allocated hybrid access points to
improve energy efficiency.
Table 2. Project Requirements.
Table 2. Project Requirements.
RequirementRange
pH sensor0–14
Conductivity sensor100 μS/cm–200 mS/cm
E. coli sensor1–1000 CFU/100 mL
Residual chlorine sensor0–10 mg/L
Dissolved oxygen sensor0–20 mg/L
Transmitter/HAP   1 W–3 W
Edge node≤5 m from HAPs
ZigBee radioAbove 100 m
Table 3. List of acronyms.
Table 3. List of acronyms.
AcronymnDefinition
IoTInternet of Things
NOMANon-orthogonal multiple access
HAPHybrid access point
WEHWireless energy transfer
WITWireless information transfer
τ W E H ( s ) Time slot for wireless information transfer
τ W I T ( s ) Time slot for wireless energy transfer
c i , k and c i , l Downlink communication channel gains
d k , i and d l , i Uplink communication channel gains
P i ( W ) HAP transmission power
SICSuccessive interference cancellation
BSystem’s bandwidth
DLDownlink
ULUplink
H A P s { s i } i = 1 2      Power sources
e k · h a r v e s t τ Energy harvested by K sensor devices
e l · h a r v e s t τ ( J ) Energy harvested by L sensor devices
e k · t r a n s m i t τ ( J ) Energy used by each sensor device k for UL data transfer
e l · t r a n s m i t τ ( J ) Energy used by each sensor device l for UL data transfer
Table 4. Simulation Parameters.
Table 4. Simulation Parameters.
ParameterSettingReferences
P i m a x 3 W[26]
P k , i m a x = P l , i m a x 0.3 W[26]
P c 0.5 W[26]
Frequency2.4 GHz[26]
ξ 0.9[26]
σ 2 −110 dBm[26]
r k , i = r l , i 2 kbit/s[26]
τ 1 s[26]
B20 kHz[26]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Olatinwo, S.O.; Joubert, T.H. Resource Allocation Optimization in IoT-Enabled Water Quality Monitoring Systems. Sensors 2023, 23, 8963. https://doi.org/10.3390/s23218963

AMA Style

Olatinwo SO, Joubert TH. Resource Allocation Optimization in IoT-Enabled Water Quality Monitoring Systems. Sensors. 2023; 23(21):8963. https://doi.org/10.3390/s23218963

Chicago/Turabian Style

Olatinwo, Segun O., and Trudi H. Joubert. 2023. "Resource Allocation Optimization in IoT-Enabled Water Quality Monitoring Systems" Sensors 23, no. 21: 8963. https://doi.org/10.3390/s23218963

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop