Towards Energy Efficient Wireless Sensing by Leveraging Ambient Wi-Fi Traffic †
Abstract
:1. Introduction
1.1. Background
1.2. Motivation and Contributions
- This paper makes a crucial contribution to the real-world application of wireless sensing by investigating the robustness of human occupancy counting based on Wi-Fi traffic that is not limited to ICMP Ping packets. The authors explore the potential of ambient Internet of Things (IoT) traffic as a source of Wi-Fi traffic for occupancy counting, which could enable covert sensing in public spaces without a dedicated transmitter;
- We introduce a novel framework that characterises the correlation between Channel State Information (CSI) and the underlying network traffic in an otherwise static channel. This is subsequently exploited as our paper considers Wi-Fi sensing, which aggregates multiple transmission sources, a necessary advancement for eventual implementation of Integrated Sensing and Communications (ISAC) in public spaces;
- Having shown that ambient Wi-Fi traffic can be used for sensing, we also demonstrate the varying utility of traffic that is sourced from internet control packets, payload packets, and whether these packets are travelling upstream or downstream;
- Lastly, this paper makes recommendations regarding the implementation of passive Wi-Fi sensing systems, after experimentally demonstrating the varying utility of packets derived from streaming devices against wireless access points.
1.3. Paper Organisation
2. State of the Art
2.1. Sensing Using Wi-Fi
2.2. Processing CSI
2.3. Machine Learning Techniques
2.4. Ambient Sensing
3. System Description
3.1. CSI Sensing Model
3.2. Ambient Device Architecture
- The sensing system is not concealed, since the MAC address and presence of Tx will be visible due to the propagation of Ping packets. Furthermore, occupying the channel with Ping packets for sensing will severely degrade the bandwidth available for everyday users.
- A dedicated transmitter introduces computational and power expenses, and prevents us from sensing environments where we do not have access to place a transmitter. This shortcoming prevents implementation in discrete surveillance applications, and increases the burden of power requirements on the user.
- Doppler artefacts: As the transmission devices themselves could be moving, this will introduce additional changes to the dynamic signal path P as defined by Equation (2). In applications such as occupancy monitoring or activity recognition where the dynamic signal path is vital, this Tx movement creates a significant barrier to accurate sensing outcomes.
- Spatial diversity: The use of multiple transmission devices for CSI harvesting creates spatial diversity within the sensing system. Whilst this can improve the sensing systems coverage over the environment, it poses additional challenges to the classifier and increases the processing resource requirements.
- NLOS: The signals propagating between Tx and Rx may not have LOS coverage over the sensing subject. Rather than using a dedicated transmitter placed in a specific LOS position, the system is dependent on harvesting traffic from Wi-Fi devices which could have any location within the room. Referring to Equation (2), this represents a change in the static signal path .
- Varying packet contents: As the Wi-Fi devices are unrestrained, their packet streams will reflect normal user activities such as music streaming, video buffering, or web browsing. Firstly, the non-uniformity of the transmission characteristics for these media types creates inequality in the attainable CSI sampling rate for Rx. Furthermore, It has been shown in prior work that the underlying CSI varies when harvested from varying traffic types [42]. Here, we recall that the operating principle of Wi-Fi sensing is to correlate changes in CSI with changes in the physical channel. Hence, it is likely that any unwanted changes in CSI due to changes in packet type or transmission rate will reduce the robustness of the trained classifier.
3.3. CSI Sensing with Different Traffic
3.3.1. Variation in CSI with Packet
3.3.2. Degrees of Freedom
- Traffic Type (Control or Payload)
- Media Type (Video or Text)
- Direction (Upstream or Downstream)
- Source Device (Access Point or Laptop)
4. Occupancy Counting Framework
4.1. Data Processing and System Flow
4.2. Feature Set
4.3. Probability Mass Function of CSI Amplitude
5. Real World Ambient Sensing
5.1. Experimental Setup
- CSI Extractor 1, on the lectern, only collects CSI on traffic received from Laptop 1 and Laptop 2.
- CSI Extractor 2, in the bottom right corner, collects CSI on traffic received from the Wi-Fi AP.
- It can be installed on Raspberry Pi devices, which are portable and inexpensive;
- Estimation of CSI on 56 subcarriers as opposed to the Intel5300 tool [27], which provides 30 for a 20 MHz bandwidth channel;
- Higher precision than the Intel5300 tool, with 16-bit integers to represent each of the real and imaginary components of CSI;
- Nexmon CSI allows for passive CSI extraction without the need to establish a direct Wi-Fi connection between Tx and Rx, unlike the Intel5300 tool.
- To measure the counting accuracy with a single transmitter, where the single CSI stream has different underlying traffic types;
- To collect CSI from both laptops with varying network traffic. The two transmitters are pictured in Figure 5, and the traffic types utilised were Ping, Twitch, and YouTube.
5.2. Occupancy Counting with Different Network Traffic
5.3. Occupancy Counting with Multiple Transmitters
- When neither of the testing traffics is the training traffic, Ping, the accuracy will understandably diminish due to an inherent difference in CSI for the different traffic types.
- Diversity in the testing traffic can be exploited in the case where the traffic is unseen. For example, referring again to Table 3, the accuracy for our SVM evaluated with YouTube–Twitch is higher than the evaluation with YouTube–YouTube or Twitch–Twitch. Although both these traffics are unseen to the SVM during the training phase, testing with a combination of multiple unseen traffic performs better than testing with one specific unseen traffic.
6. Effects of Upload and Download Payloads on Sensing Outcomes
6.1. Experimental Setup
6.2. Request vs. Service
6.3. Uplink vs. Downlink
7. Concluding Remarks
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
MDPI | Multidisciplinary Digital Publishing Institute |
DOAJ | Directory of open access journals |
CSI | Channel State Information |
OFDM | Orthogonal Frequency Division Multiplexing |
RSSI | Received Signal Strength Indicator |
PMF | Probability Mass Function |
ICMP | Internet Control Message Protocol |
IoT | Internet of Things |
ISAC | Integrated Sensing and Communications |
ML | Machine Learning |
NLOS | Non Line of Sight |
NIC | Network Interface Card |
PCA | Principle Component Analysis |
DNN | Deep Neural Network |
CNN | Convolutional Neural Network |
SVM | Support Vector Machine |
KNN | K-Nearest-Neighbour |
TL | Transfer Learning |
LOS | Line of Sight |
Tx | Transmitter |
Rx | Receiver |
CDD | Cyclic Delay Diversity |
IFFT | Inverse Fast Fourier Transform |
ADC | Analogue to Digital Converter |
FFT | Fast Fourier Transform |
FIR | Finite Impulse Response |
AP | Access Point |
WLAN | Wireless Local Area Network |
References
- Strohmayer, J.; Kampel, M. WiFi CSI-Based Long-Range Through-Wall Human Activity Recognition with the ESP32. In Proceedings of the International Conference on Computer Vision Systems, Vienna, Austria, 27–29 September 2023; Springer: Cham, Switzerland, 2023; pp. 41–50. [Google Scholar]
- Ma, Y.; Zhou, G.; Wang, S. WiFi Sensing with Channel State Information: A Survey. ACM Comput. Surv. 2019, 52, 1–36. [Google Scholar] [CrossRef]
- Timmer, R. RSSI-Based Indoor WiFi Localization Using Deep Learning; Vrije Universiteit Amsterdam: Amsterdam, The Netherlands, 2021. [Google Scholar]
- Wu, D.; Zeng, Y.; Zhang, F.; Zhang, D. WiFi CSI-based device-free sensing: From Fresnel zone model to CSI-ratio model. CCF Trans. Pervasive Comput. Interact. 2022, 4, 88–102. [Google Scholar] [CrossRef]
- Abdelnasser, H.; Harras, K.; Youssef, M. A Ubiquitous WiFi-Based Fine-Grained Gesture Recognition System. IEEE Trans. Mob. Comput. 2019, 18, 2474–2487. [Google Scholar] [CrossRef]
- Habaebi, M.; Rosli, R. RSSI-based human presence detection system for energy saving automation. Indones. J. Electr. Eng. Inform. 2017, 5, 339–350. [Google Scholar] [CrossRef]
- Haseeb, M.A.A.; Parasuraman, R. Wisture: Touch-less hand gesture classification in unmodified smartphones using Wi-Fi signals. IEEE Sens. J. 2018, 19, 257–267. [Google Scholar] [CrossRef]
- Mei, X.; Chen, Y.; Xu, X.; Wu, H. RSS Localization Using Multistep Linearization in the Presence of Unknown Path Loss Exponent. IEEE Sens. Lett. 2022, 6, 1–4. [Google Scholar] [CrossRef]
- Mei, X.; Wu, H.; Xian, J.; Chen, B. RSS-Based Byzantine Fault-Tolerant Localization Algorithm Under NLOS Environment. IEEE Commun. Lett. 2021, 25, 474–478. [Google Scholar] [CrossRef]
- Mei, X.; Wu, H.; Xian, J. Matrix Factorization-Based Target Localization via Range Measurements with Uncertainty in Transmit Power. IEEE Wirel. Commun. Lett. 2020, 9, 1611–1615. [Google Scholar] [CrossRef]
- Zhang, D.; Wu, D.; Niu, K.; Wang, X.; Zhang, F.; Yao, J.; Jiang, D.; Qin, F. Practical issues and challenges in CSI-based integrated sensing and communication. In Proceedings of the 2022 IEEE International Conference on Communications Workshops (ICC Workshops), Seoul, Republic of Korea, 16–20 May 2022; pp. 836–841. [Google Scholar]
- Chen, C.; Zhou, G.; Lin, Y. Cross-Domain WiFi Sensing with Channel State Information: A Survey. ACM Comput. Surv. 2023, 55, 1–37. [Google Scholar] [CrossRef]
- Soto, J.C.; Galdino, I.; Caballero, E.; Ferreira, V.; Muchaluat-Saade, D.; Albuquerque, C. A survey on vital signs monitoring based on Wi-Fi CSI data. Comput. Commun. 2022, 195, 99–110. [Google Scholar] [CrossRef]
- Feng, X.; Nguyen, K.A.; Luo, Z. A survey of deep learning approaches for WiFi-based indoor positioning. J. Inf. Telecommun. 2022, 6, 163–216. [Google Scholar] [CrossRef]
- Hernandez, S.M.; Bulut, E. Wifi sensing on the edge: Signal processing techniques and challenges for real-world systems. IEEE Commun. Surv. Tutorials 2022, 25, 46–76. [Google Scholar] [CrossRef]
- Zhao, Y.; Liu, S.; Xue, F.; Chen, B.; Chen, X. DeepCount: Crowd Counting with Wi-Fi using Deep Learning. J. Commun. Inf. Netw. 2019, 4, 38–52. [Google Scholar] [CrossRef]
- Lv, J.; Man, D.; Yang, W.; Gong, L.; Du, X.; Yu, M. Robust Device-Free Intrusion Detection Using Physical Layer Information of WiFi Signals. Appl. Sci. 2019, 9, 175. [Google Scholar] [CrossRef]
- Shi, Z.; Cheng, Q.; Zhang, J.A.; Da Xu, R.Y. Environment-robust WiFi-based human activity recognition using enhanced CSI and deep learning. IEEE Internet Things J. 2022, 9, 24643–24654. [Google Scholar] [CrossRef]
- Li, J.; Sharma, A.; Mishra, D.; Batista, G.; Seneviratne, A. COVID-Safe Spatial Occupancy Monitoring Using OFDM-Based Features and Passive WiFi Samples. ACM Trans. Manage. Inf. Syst. 2021, 12, 1–24. [Google Scholar] [CrossRef]
- Wang, W.; Liu, A.X.; Shahzad, M.; Ling, K.; Lu, S. Device-Free Human Activity Recognition Using Commercial WiFi Devices. IEEE J. Sel. Areas Commun. 2017, 35, 1118–1131. [Google Scholar] [CrossRef]
- Zeng, Y.; Pathak, P.H.; Mohapatra, P. WiWho: WiFi-Based Person Identification in Smart Spaces. In Proceedings of the International Conference on Information Processing in Sensor Networks, Vienna, Austria, 11–14 April 2016; pp. 1–12. [Google Scholar]
- Li, F.; Al-qaness, M.A.A.; Zhang, Y.; Zhao, B.; Luan, X. A Robust and Device-Free System for the Recognition and Classification of Elderly Activities. Sensors 2016, 16, 2043. [Google Scholar] [CrossRef]
- Gringoli, F.; Schulz, M.; Link, J.; Hollick, M. Free Your CSI: A Channel State Information Extraction Platform For Modern Wi-Fi Chipsets. In Proceedings of the International Workshop on Wireless Network Testbeds, Experimental Evaluation & Characterization, Los Cabos, Mexico, 25 October 2019; Association for Computing Machinery: New York, NY, USA, 2019; pp. 21–28. [Google Scholar] [CrossRef]
- Taso, Y.; Yeh, S.C.; Liang, Y.Y.; Wang, C.H.; Fang, S.H. Subcarrier selection for efficient CSI-based indoor localization. Proc. IOP Conf. Ser. Mater. Sci. Eng. 2018, 383, 012017. [Google Scholar] [CrossRef]
- Yang, J.; Liu, Y.; Liu, Z.; Wu, Y.; Li, T.; Yang, Y. A Framework for Human Activity Recognition Based on WiFi CSI Signal Enhancement. Int. J. Antennas Propag. 2021, 2021, 6654752. [Google Scholar] [CrossRef]
- Tadayon, N.; Rahman, M.T.; Han, S.; Valaee, S.; Yu, W. Decimeter Ranging with Channel State Information. IEEE Trans. Wirel. Commun. 2019, 18, 3453–3468. [Google Scholar] [CrossRef]
- Halperin, D.; Hu, W.; Sheth, A.; Wetherall, D. Tool Release: Gathering 802.11n Traces with Channel State Information. Comput. Commun. Rev. 2011, 41, 53. [Google Scholar] [CrossRef]
- Yang, J.; Chen, X.; Zou, H.; Wang, D.; Xu, Q.; Xie, L. EfficientFi: Towards Large-Scale Lightweight WiFi Sensing via CSI Compression. IEEE Internet Things J. 2021, 9, 13086–13095. [Google Scholar] [CrossRef]
- Wang, C.; Liu, J.; Chen, Y.; Liu, H.; Wang, Y. Towards In-baggage Suspicious Object Detection Using Commodity WiFi. In Proceedings of the IEEE Conference on Communications and Network Security, Beijing, China, 30 May–1 June 2018; pp. 1–9. [Google Scholar]
- Wang, F.; Han, J.; Lin, F.; Ren, K. WiPIN: Operation-Free Passive Person Identification Using Wi-Fi Signals. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019; pp. 1–6. [Google Scholar] [CrossRef]
- Sharma, A.; Mishra, D.; Zia, T.; Seneviratne, A. A Novel Approach to Channel Profiling Using the Frequency Selectiveness of WiFi CSI Samples. In Proceedings of the GLOBECOM 2020—2020 IEEE Global Communications Conference, Taipei, Taiwan, 7–11 December 2020; pp. 1–6. [Google Scholar] [CrossRef]
- Yang, J.; Chen, X.; Zou, H.; Lu, C.X.; Wang, D.; Sun, S.; Xie, L. SenseFi: A library and benchmark on deep-learning-empowered WiFi human sensing. Patterns 2023, 4, 100703. [Google Scholar] [CrossRef]
- Kumar, A.; Singh, S.; Rawal, V.; Garg, S.; Agrawal, A.; Yadav, S. CNN-based device-free health monitoring and prediction system using WiFi signals. Int. J. Inf. Technol. 2022, 14, 3725–3737. [Google Scholar] [CrossRef]
- Sharma, A.; Jiang, W.; Mishra, D.; Jha, S.; Seneviratne, A. Optimised CNN for Human Counting Using Spectrograms of Probabilistic WiFi CSI. In Proceedings of the GLOBECOM 2022–2022 IEEE Global Communications Conference, Rio de Janeiro, Brazil, 4–8 December 2022; pp. 1–6. [Google Scholar] [CrossRef]
- Zhang, L.; Wang, Z.; Yang, L. Commercial Wi-Fi Based Fall Detection with Environment Influence Mitigation. In Proceedings of the 2019 16th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON), Boston, MA, USA, 10–13 June 2019; pp. 1–9. [Google Scholar] [CrossRef]
- He, Y.; Chen, Y.; Hu, Y.; Zeng, B. WiFi Vision: Sensing, Recognition, and Detection with Commodity MIMO-OFDM WiFi. IEEE Internet Things J. 2020, 7, 8296–8317. [Google Scholar] [CrossRef]
- Ding, X.; Jiang, T.; Zhong, Y.; Huang, Y.; Li, Z. Wi-Fi-based location-independent human activity recognition via meta learning. Sensors 2021, 21, 2654. [Google Scholar] [CrossRef] [PubMed]
- Wu, D.; Zeng, Y.; Gao, R.; Li, S.; Li, Y.; Shah, R.C.; Lu, H.; Zhang, D. WiTraj: Robust Indoor Motion Tracking with WiFi Signals. IEEE Trans. Mob. Comput. 2021, 22, 3062–3078. [Google Scholar] [CrossRef]
- Zhu, Y.; Xiao, Z.; Chen, Y.; Li, Z.; Liu, M.; Zhao, B.Y.; Zheng, H. Et Tu Alexa? When Commodity WiFi Devices Turn into Adversarial Motion Sensors. In Proceedings of the Network and Distributed System Security Symposium, San Diego, CA, USA, 23–26 February 2020. [Google Scholar] [CrossRef]
- Wang, Z.; Jiang, K.; Hou, Y.; Dou, W.; Zhang, C.; Huang, Z.; Guo, Y. A Survey on Human Behavior Recognition Using Channel State Information. IEEE Access 2019, 7, 155986–156024. [Google Scholar] [CrossRef]
- Ding, J.; Wang, Y. WiFi CSI-based human activity recognition using deep recurrent neural network. IEEE Access 2019, 7, 174257–174269. [Google Scholar] [CrossRef]
- Li, J.; Mishra, D.; Seneviratne, A. Network traffic classification using wifi sensing. In Proceedings of the Modelling, Analysis, and Simulation of Computer and Telecommunication Systems: 28th International Symposium, MASCOTS 2020, Nice, France, 17–19 November 2020; Springer: Cham, Switzerland, 2021; pp. 48–61. [Google Scholar]
Item | Manufacturer | Purpose | Specification |
---|---|---|---|
Raspberry Pi 4B | Raspberry Pi, Sydney, Australia | Rx1 and Rx2 | Equipped with Nexmon CSI Firmware |
Macbook Pro 13 inch 2018 | Apple, Sydney, Australia | Laptop 1 | Airport Wireless Card and MAC OSX |
Dell XPS 15 | Dell, Sydney, Australia | Laptop 2 | Killer Wireless 1535 NIC |
Huawei HG659 Modem | Huawei, Sydney, Australia | AP | n compatible @ GHz, 3 dual band antennas with 12 dBi gain |
Laptop 1 | Laptop 2 | Samples |
---|---|---|
- | Ping | |
- | YouTube | |
- | Twitch | |
Ping | Ping | |
Ping | Twitch | |
Ping | YouTube | |
Twitch | Twitch | |
Twitch | YouTube | |
YouTube | YouTube |
Testing Traffic | Accuracy |
---|---|
Ping–Ping | |
Ping–YouTube | |
Ping–Twitch | |
YouTube–Twitch | |
YouTube–YouTube | |
Twitch–Twitch |
Item | Manufacturer | Purpose | Specification |
---|---|---|---|
Raspberry Pi 4B | Raspberry Pi, Sydney, Australia | Rx | Equipped with Nexmon CSI Firmware |
HP Z8 G4 Workstation | Hewlett Packard, Sydney, Australia | Computer | Netgear A6100 Wi-Fi Adapter |
Huawei HG659 Modem | Huawei, Sydney, Australia | AP | 802.11n Compatible @ 2.4 GHz and 5 GHz, 3 dual band antennas with 2 dBi gain |
SVM Training Traffic | SVM Evaluation Traffic | Accuracy |
---|---|---|
YouTube Upload | YouTube Request | |
YouTube Request | YouTube Upload | |
Twitch Upload | Twitch Request | |
Twitch Request | Twitch Upload | |
Ping Send | Ping Response | |
Ping Response | Ping Send |
SVM Training Traffic | SVM Evaluation Traffic | Accuracy |
---|---|---|
YouTube Upload Payload | YouTube Download Payload | |
YouTube Download Payload | YouTube Upload Payload | |
Twitch Upload Payload | Twitch Download Payload | |
Twitch Download Payload | Twitch Upload Payload |
Independent Variable | Outcome |
---|---|
Network Traffic | Different traffics could be used to sense with similar accuracies, but we observed a degradation in sensing accuracy when packets were cross validated. |
Number of Devices | CSI from two devices could be combined to train an SVM which counts the occupancy level. We showed that the accuracy goes down when the evaluation streams vary from the training streams. In the case where both streams are unknown traffic types, diversity lead to better accuracy. |
Packet Type | Payload and control packets from AP’s and end-user devices were compared, and the control packets offered better sensing in an ambient setting with diverse traffic types. |
Traffic Direction | Sensing was performed using CSI estimated from download and upload packets, respectively, and it was shown that upload traffic achieved better accuracy, which was demonstrable in the larger interclass discrepancy of their PMF plots. |
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. |
© 2024 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
Sharma, A.; Li, J.; Mishra, D.; Jha, S.; Seneviratne, A. Towards Energy Efficient Wireless Sensing by Leveraging Ambient Wi-Fi Traffic. Energies 2024, 17, 485. https://doi.org/10.3390/en17020485
Sharma A, Li J, Mishra D, Jha S, Seneviratne A. Towards Energy Efficient Wireless Sensing by Leveraging Ambient Wi-Fi Traffic. Energies. 2024; 17(2):485. https://doi.org/10.3390/en17020485
Chicago/Turabian StyleSharma, Aryan, Junye Li, Deepak Mishra, Sanjay Jha, and Aruna Seneviratne. 2024. "Towards Energy Efficient Wireless Sensing by Leveraging Ambient Wi-Fi Traffic" Energies 17, no. 2: 485. https://doi.org/10.3390/en17020485
APA StyleSharma, A., Li, J., Mishra, D., Jha, S., & Seneviratne, A. (2024). Towards Energy Efficient Wireless Sensing by Leveraging Ambient Wi-Fi Traffic. Energies, 17(2), 485. https://doi.org/10.3390/en17020485