Sensor Clustering Using a K-Means Algorithm in Combination with Optimized Unmanned Aerial Vehicle Trajectory in Wireless Sensor Networks
Abstract
:1. Introduction
1.1. Motivation
1.2. Contribution
- The use of three-dimensional Cartesian coordinates for a WSN which contains a random number of randomly distributed wireless sensors.
- The decomposition of the UAV trajectory optimization into two subproblems: (i) the global WSN cluster is divided into multiple subclusters whose number is optimized with unsupervised machine learning which applies K-means clustering in combination with the gap statistic method; (ii) a centroid-to-next-nearest-centroid algorithm is then applied to find the shortest path for travel through every subcluster.
- An analysis of the system performance of the WSN over Rayleigh distributions and a presentation of the derived closed-form expressions for the outage probability at the UAV and mobile base station.
- Outage probability results for the UAV and mobile base station derived from Monte Carlo simulations and verified with an analysis.
2. WSN Model
2.1. WSN Clustering
- Observing the latitudes (x-axis) and longitudes (y-axis) of the wireless sensors, we determine the optimal number of subclusters . The gap statistic method is applied to the number of subclusters k to compute the corresponding total within the intracluster variation , i.e., the sum of squares function, given by
- Reference data sets Ω with a random uniform distribution are generated. Each reference data set ω of these reference data sets Ω is clustered with a variable number of clusters . The corresponding total is computed within the intracluster variation given in the dispersion metrics for and .
- The estimated gap statistic is computed as the deviation of the observed value from its expected value under the null hypothesis . Let . The standard deviation (sd) of the statistics is then computed, given by .
- Using the gap statistic method, the smallest value of κ is selected as the optimal number of clusters, the gap statistic being within one standard deviation of the gap statistic at , given and , where .
2.2. Joint UAV Trajectory
- Step 1: To determine the nearest centroid from the mobile base station B, we calculate the smallest pairwise Cartesian distance from the mobile base station to each subcluster centroid.
- Step 2: The UAV selects the next nearest cluster centroid. In this case, the UAV considers candidate centroids without regard to any of the previously selected cluster centroids in . It is important that the centroids contained in the visited set be removed from the candidate list to prevent the UAV returning to the previous subcluster . The UAV repeats Step 2 (i.e., ) until the list of candidate subclusters is empty (i.e., ).
Algorithm 1K-means clustering for the optimal number of subclusters and shortest path determined from a centroid to the next nearest centroid |
|
2.3. Channel Modelling for a UAV-Assisted WSN
2.4. UAV Joint Schedule
- In phase , the interface of the receiving signal circuit is active while the other interfaces are inactive. The UAV receives signals from the sensor nodes in the currently visited subcluster, given by (5).
- In phase , the interface of the EH circuit is active while the other interfaces are inactive. The UAV receives radiofrequency energy from the mobile base station B, given by (10), while the ECU decodes the messages from the signals received from the wireless sensors.
- In phase , the interface of the transmitting signal circuit is active while the other interfaces are inactive. The UAV encodes the messages received in the first phase and forwards the superimposed signals to the mobile base station B, given by (11).
2.4.1. Phase 1: Uplinks between Wireless Sensors and the UAV
2.4.2. Phase 2: Prolong the UAV’s Online Time with EH
2.4.3. Phase 3: Transmitting Signals
3. System Performance Analysis
3.1. Outage Probability Performance at the UAV
Algorithm 2 Calculate the outage probability at the UAV U from (16) for transmission block t |
|
3.2. Outage Probability at the Mobile Base Station
Algorithm 3 Calculate the outage probability at the mobile base station from (18) for transmission block t over Rayleigh distributions |
|
4. Numerical Results and Discussion
4.1. Numerical Results
4.2. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
A2A | air-to-air |
A2G | air-to-ground |
AWGN | additive white Gaussian noise |
CDF | cumulative distribution function |
CSI | channel state information |
EH | energy harvesting |
FR | flying relay |
G2A | ground-to-air |
MIMO | multi-input multioutput |
NOMA | nonorthogonal multiple access |
probability density function | |
SIC | successive interference cancellation |
SINR | signal-to-interference-plus-noise ratio |
SNR | signal-to-noise ratio |
SWIPT | simultaneous wireless information and power transfer |
UAV | unmanned aerial vehicle |
WPT | wireless power transfer |
WSN | wireless sensor network |
Appendix A
Appendix B
Appendix C
Appendix D
References
- Gong, J.; Chang, T.H.; Shen, C.; Chen, X. Flight Time Minimization of UAV for Data Collection over Wireless Sensor Networks. IEEE J. Sel. Areas Commun. 2018, 36, 1942–1954. [Google Scholar] [CrossRef] [Green Version]
- Li, J.; Zhao, H.; Wang, H.; Gu, F.; Wei, J.; Yin, H.; Ren, B. Joint Optimization on Trajectory, Altitude, Velocity, and Link Scheduling for Minimum Mission Time in UAV-Aided Data Collection. IEEE Int. Things J. 2020, 7, 1464–1475. [Google Scholar] [CrossRef]
- Zhan, C.; Zeng, Y.; Zhang, R. Energy-Efficient Data Collection in UAV Enabled Wireless Sensor Network. IEEE Wirel. Commun. Lett. 2018, 7, 328–331. [Google Scholar] [CrossRef] [Green Version]
- Zhan, C.; Zeng, Y. Completion Time Minimization for Multi-UAV-Enabled Data Collection. IEEE Trans. Wirel. Commun. 2019, 18, 4859–4872. [Google Scholar] [CrossRef]
- Wang, Z.; Liu, R.; Liu, Q.; Thompson, J.S.; Kadoch, M. Energy-Efficient Data Collection and Device Positioning in UAV-Assisted IoT. IEEE Int. Things J. 2020, 7, 1122–1139. [Google Scholar] [CrossRef]
- Kong, P.Y. Distributed Sensor Clustering Using Artificial Neural Network with Local Information. IEEE Int. Things J. 2022, 9, 21851–21861. [Google Scholar] [CrossRef]
- Ur Rahman, S.; Kim, G.H.; Cho, Y.Z.; Khan, A. Positioning of UAVs for throughput maximization in software-defined disaster area UAV communication networks. J. Commun. Netw. 2018, 20, 452–463. [Google Scholar] [CrossRef]
- Heinzelman, W.; Chandrakasan, A.; Balakrishnan, H. An application-specific protocol architecture for wireless microsensor networks. IEEE Trans. Wirel. Commun. 2002, 1, 660–670. [Google Scholar] [CrossRef] [Green Version]
- Dargie, W.; Wen, J. A Simple Clustering Strategy for Wireless Sensor Networks. IEEE Sens. Lett. 2020, 4, 1–4. [Google Scholar] [CrossRef]
- Zhang, S.; Zhang, H.; He, Q.; Bian, K.; Song, L. Joint Trajectory and Power Optimization for UAV Relay Networks. IEEE Commun. Lett. 2018, 22, 161–164. [Google Scholar] [CrossRef]
- Jayakody, D.N.K.; Thompson, J.; Chatzinotas, S.; Durrani, S. Wireless Information and Power Transfer: A New Paradigm for Green Communications; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
- Zhang, R.; Ho, C.K. MIMO Broadcasting for Simultaneous Wireless Information and Power Transfer. IEEE Trans. Wirel. Commun. 2013, 12, 1989–2001. [Google Scholar] [CrossRef] [Green Version]
- Zhou, X.; Zhang, R.; Ho, C.K. Wireless Information and Power Transfer: Architecture Design and Rate-Energy Tradeoff. IEEE Trans. Commun. 2013, 61, 4754–4767. [Google Scholar] [CrossRef] [Green Version]
- Tran, T.N.; Voznak, M.; Fazio, P.; Ho, V.C. Emerging cooperative MIMO-NOMA networks combining TAS and SWIPT protocols assisted by an AF-VG relaying protocol with instantaneous amplifying factor maximization. AEU-Int. J. Electron. Commun. 2021, 135, 153695. [Google Scholar] [CrossRef]
- Tran, T.N.; Vo, T.P.; Fazio, P.; Voznak, M. SWIPT model adopting a PS framework to aid IoT networks inspired by the emerging cooperative NOMA technique. IEEE Access 2021, 9, 61489–61512. [Google Scholar] [CrossRef]
- Perera, T.D.P.; Jayakody, D.N.K. Analysis of time-switching and power-splitting protocols in wireless-powered cooperative communication system. Phys. Commun. 2018, 31, 141–151. [Google Scholar] [CrossRef]
- Ding, Z.; Yang, Z.; Fan, P.; Poor, H.V. On the performance of non-orthogonal multiple access in 5G systems with randomly deployed users. IEEE Signal Process. Lett. 2014, 21, 1501–1505. [Google Scholar] [CrossRef] [Green Version]
- Timotheou, S.; Krikidis, I. Fairness for non-orthogonal multiple access in 5G systems. IEEE Signal Process. Lett. 2015, 22, 1647–1651. [Google Scholar] [CrossRef] [Green Version]
- Xiao, Y.; Hao, L.; Ma, Z.; Ding, Z.; Zhang, Z.; Fan, P. Forwarding strategy selection in dual-hop NOMA relaying systems. IEEE Commun. Lett. 2018, 22, 1644–1647. [Google Scholar] [CrossRef]
- Tang, X.; An, K.; Guo, K.; Wang, S.; Wang, X.; Li, J.; Zhou, F. On the performance of two-way multiple relay non-orthogonal multiple access-based networks with hardware impairments. IEEE Access 2019, 7, 128896–128909. [Google Scholar] [CrossRef]
- Tran, T.N.; Voznak, M. Adaptive multiple access assists multiple users over multiple-input-multiple-output non-orthogonal multiple access wireless networks. Int. J. Commun. Syst. 2021, 34, e4803. [Google Scholar] [CrossRef]
- Omeke, K.G.; Mollel, M.S.; Ozturk, M.; Ansari, S.; Zhang, L.; Abbasi, Q.H.; Imran, M.A. DEKCS: A Dynamic Clustering Protocol to Prolong Underwater Sensor Networks. IEEE Sens. J. 2021, 21, 9457–9464. [Google Scholar] [CrossRef]
- Tibshirani, R.; Walther, G.; Hastie, T. Estimating the number of clusters in a data set via the gap statistic. J. R. Stat. Soc. Ser. B 2001, 63, 411–423. [Google Scholar] [CrossRef]
- Wang, Y.; Chen, M.; Pan, C.; Wang, K.; Pan, Y. Joint Optimization of UAV Trajectory and Sensor Uploading Powers for UAV-Assisted Data Collection in Wireless Sensor Networks. IEEE Int. Things J. 2022, 9, 11214–11226. [Google Scholar] [CrossRef]
- Liu, K.; Zheng, J. UAV Trajectory Optimization for Time-Constrained Data Collection in UAV-Enabled Environmental Monitoring Systems. IEEE Int. Things J. 2022, 9, 24300–24314. [Google Scholar] [CrossRef]
- Ma, Y.; Tang, Y.; Tao, J.; Zhang, D.; Tao, S.; Li, W. Energy-Efficient Transmit Power And Straight Trajectory Optimization In Uav-Aided Wireless Sensor Networks. In Proceedings of the 2020 IEEE 91st Vehicular Technology Conference (VTC2020-Spring), Antwerp, Belgium, 25–28 May 2020; pp. 1–7. [Google Scholar] [CrossRef]
- Yuan, X.; Yang, T.; Hu, Y.; Xu, J.; Schmeink, A. Trajectory Design for UAV-Enabled Multiuser Wireless Power Transfer with Nonlinear Energy Harvesting. IEEE Trans. Wirel. Commun. 2021, 20, 1105–1121. [Google Scholar] [CrossRef]
- Li, B.; Qi, X.; Yu, B.; Liu, L. Trajectory Planning for UAV Based on Improved ACO Algorithm. IEEE Access 2020, 8, 2995–3006. [Google Scholar] [CrossRef]
- Wu, Q.; Zeng, Y.; Zhang, R. Joint Trajectory and Communication Design for Multi-UAV Enabled Wireless Networks. IEEE Trans. Wirel. Commun. 2018, 17, 2109–2121. [Google Scholar] [CrossRef] [Green Version]
- Ji, J.; Zhu, K.; Niyato, D.; Wang, R. Probabilistic Cache Placement in UAV-Assisted Networks with D2D Connections: Performance Analysis and Trajectory Optimization. IEEE Trans. Commun. 2020, 68, 6331–6345. [Google Scholar] [CrossRef]
- Jafari, B.; Saeedi, H.; Enayati, S.; Pishro-Nik, H. Energy-Optimized Path Planning for Moving Aerial Base Stations: A Non User-Oriented Framework. IEEE Commun. Lett. 2022, 26, 672–676. [Google Scholar] [CrossRef]
- Vanegas, G.; Armesto, L.; Girbés-Juan, V.; Pérez, J. Smooth Three-Dimensional Route Planning for Fixed-Wing Unmanned Aerial Vehicles with Double Continuous Curvature. IEEE Access 2022, 10, 94262–94272. [Google Scholar] [CrossRef]
- Tran, T.N.; Nguyen, T.L.; Voznak, M. Approaching K-Means for Multiantenna UAV Positioning in Combination with a Max-SIC-Min-Rate Framework to Enable Aerial IoT Networks. IEEE Access 2022, 10, 115157–115178. [Google Scholar] [CrossRef]
- Tran, T.N.; Voznak, M. On secure system performance over SISO, MISO and MIMO-NOMA wireless networks equipped a multiple antenna based on TAS protocol. EURASIP J. Wirel. Commun. Netw. 2020, 2020, 11. [Google Scholar] [CrossRef]
Notations | Describe | Conditions |
---|---|---|
N | Random number of sensors | |
K | Optimal number of clusters given by the K-means algorithm, where the number of subclusters K is optimized | |
nth sensor node, where a lower value for n has higher priority | ||
Global wireless sensor cluster | , | |
kth subcluster | , | |
nth sensor is ith member of the kth subcluster, where a lower value for i has higher priority | , | |
T | Global transmission time period | |
t | UAV time period | |
Number of antennae at the sensors, UAV and mobile base station | , , and | |
Path-loss exponent factor | ||
Visited cluster set | Updated after the UAV visits the centroid of a subcluster as given by | |
, | Precoding fading channel matrices from sensors to the UAV and from the UAV to the mobile base station | and have sizes of and , respectively |
, | Channel gains | , |
Power allocation factor for sensor , indexed ith in subcluster | and | |
Respective power domains at the sensors, UAV and mobile base station B | Let dB | |
Predefined bit-rate threshold for sensors | bps/Hz | |
, | SINR reached at UAV U and B when message of sensor is decoded | SIC decodes the message with the biggest power allocation factor by treating other messages and AWGN as interference |
, | Instantaneous bit rate reached at UAV U and mobile base station B when message of sensor is decoded | bps/Hz |
, | Outage probabilities at UAV U and mobile base station B | , , a lower outage probability result is better performance |
Sensors | x-Coordinate | y-Coordinate | Sensors | x-Coordinate | y-Coordinate |
---|---|---|---|---|---|
1 | 0.3 | 0.2 | 0.8 | ||
0.8 | 0.8 | 0.8 | 0.6 | ||
0.3 | 0.2 | 1 | 0.5 | ||
0.3 | 0.7 | 0.8 | 0.3 | ||
0.4 | 0.6 | 0.4 | 0.8 | ||
0.4 | 0.1 | 1 | 0.2 | ||
0.5 | 0.2 | 0.7 | 0.3 | ||
0.9 | 0.5 | 0.3 | 0.4 | ||
0.8 | 0.1 | 0.9 | 0.3 | ||
0.5 | 1 | 0.9 | 0.8 | ||
0.2 | 0.3 | 0.6 | 0.2 | ||
0.1 | 0.1 | 0.6 | 0.7 | ||
0.7 | 0.2 | 0.9 | 0.2 | ||
0.9 | 0.6 | 0.7 | 0.6 | ||
0.2 | 0.7 | 1 | 0.9 | ||
1 | 1 | 0.6 | 1 | ||
0.9 | 0.4 | 1 | 0.4 | ||
1 | 0.7 | 0.8 | 0.2 | ||
0.5 | 0.1 | 0.2 | 0.9 | ||
0.4 | 0.4 | 0.5 | 0.9 | ||
0.1 | 0.7 | 0.5 | 0.4 |
Centroids | x-Axis | y-Axis | Centroids | x-Axis | y-Axis |
---|---|---|---|---|---|
0.38 | 0.24 | 0.3636 | 0.8 | ||
0.8769 | 0.3 | 0.8875 | 0.75 |
0.5602 | 0.5005 | 0.7195 | ||
0.7166 | 0.4501 | |||
0.5262 | ||||
Global periodT | 1 | 2 | 3 | 4 | 5 … |
UAV period | 1 | 2 | 3 | 4 | 1 … |
Clusters | … | ||||
No. members | 10 | 13 | 8 | 11 | 10 … |
Members | , , , , , , , , , | , , , , , , , , , , , , | , , , , , , , | , , , , , , , , , , | , , , , , , , , , |
, , , , , , , , , | |
, , , , , , , , , , | |
, , , , , , , , , , , , | |
, , , , , , , |
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. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Tran, T.-N.; Nguyen, T.-L.; Hoang, V.T.; Voznak, M. Sensor Clustering Using a K-Means Algorithm in Combination with Optimized Unmanned Aerial Vehicle Trajectory in Wireless Sensor Networks. Sensors 2023, 23, 2345. https://doi.org/10.3390/s23042345
Tran T-N, Nguyen T-L, Hoang VT, Voznak M. Sensor Clustering Using a K-Means Algorithm in Combination with Optimized Unmanned Aerial Vehicle Trajectory in Wireless Sensor Networks. Sensors. 2023; 23(4):2345. https://doi.org/10.3390/s23042345
Chicago/Turabian StyleTran, Thanh-Nam, Thanh-Long Nguyen, Vinh Truong Hoang, and Miroslav Voznak. 2023. "Sensor Clustering Using a K-Means Algorithm in Combination with Optimized Unmanned Aerial Vehicle Trajectory in Wireless Sensor Networks" Sensors 23, no. 4: 2345. https://doi.org/10.3390/s23042345
APA StyleTran, T. -N., Nguyen, T. -L., Hoang, V. T., & Voznak, M. (2023). Sensor Clustering Using a K-Means Algorithm in Combination with Optimized Unmanned Aerial Vehicle Trajectory in Wireless Sensor Networks. Sensors, 23(4), 2345. https://doi.org/10.3390/s23042345