Next Article in Journal
Ambient Electromagnetic Radiation as a Predictor of Honey Bee (Apis mellifera) Traffic in Linear and Non-Linear Regression: Numerical Stability, Physical Time and Energy Efficiency
Next Article in Special Issue
The Retrieval and Effect of Core Parameters for Near-Field Inter-Body Coupling Communication
Previous Article in Journal
Integrated Probe System for Measuring Soil Carbon Dioxide Concentrations
Previous Article in Special Issue
5G Technology in Healthcare and Wearable Devices: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improving BLE-Based Passive Human Sensing with Deep Learning

by
Giancarlo Iannizzotto
1,*,
Lucia Lo Bello
2 and
Andrea Nucita
1
1
Department of Cognitive Sciences, Psychology, Education and Cultural Studies (COSPECS), University of Messina, 98122 Messina, Italy
2
Department of Electrical, Electronic and Computer Engineering (DIEEI), University of Catania, 95125 Catania, Italy
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(5), 2581; https://doi.org/10.3390/s23052581
Submission received: 24 January 2023 / Revised: 16 February 2023 / Accepted: 21 February 2023 / Published: 26 February 2023
(This article belongs to the Special Issue Wearable Communication and Sensing Systems: Advances and Challenges)

Abstract

:
Passive Human Sensing (PHS) is an approach to collecting data on human presence, motion or activities that does not require the sensed human to carry devices or participate actively in the sensing process. In the literature, PHS is generally performed by exploiting the Channel State Information variations of dedicated WiFi, affected by human bodies obstructing the WiFi signal propagation path. However, the adoption of WiFi for PHS has some drawbacks, related to power consumption, large-scale deployment costs and interference with other networks in nearby areas. Bluetooth technology and, in particular, its low-energy version Bluetooth Low Energy (BLE), represents a valid candidate solution to the drawbacks of WiFi, thanks to its Adaptive Frequency Hopping (AFH) mechanism. This work proposes the application of a Deep Convolutional Neural Network (DNN) to improve the analysis and classification of the BLE signal deformations for PHS using commercial standard BLE devices. The proposed approach was applied to reliably detect the presence of human occupants in a large and articulated room with only a few transmitters and receivers and in conditions where the occupants do not directly occlude the Line of Sight between transmitters and receivers. This paper shows that the proposed approach significantly outperforms the most accurate technique found in the literature when applied to the same experimental data.

1. Introduction

Passive Human Sensing (PHS), often referred to as deviceless or device-free human sensing, is a technique to gather data on human presence, motion or activities that does not entail for the sensed human the need to carry devices or play an active role in the sensing process [1]. PHS exploits the deformation of an RF signal emitted and received by the sensing infrastructure to collect information about the environment, the presence of human bodies in the area illuminated by the signal, and its reflected and refracted components [2]. As a consequence, PHS differs radically from most indoor and outdoor localization approaches, which instead require the human to carry a handheld or wearable device that receives or transmits a localization signal to a support infrastructure [3,4]. PHS also differs from vision-based human sensing [5,6,7,8] for several reasons. Firstly, PHS does not require Line of Sight (LoS) visibility between the sensor and the sensed human. Second, PHS does not suffer from low illumination quality. Finally, PHS does not raise the well-known privacy issues related to camera-based sensing [9,10,11,12].
Among the RF signals sources available for PHS, WiFi was soon identified as the most suitable one thanks to its wide diffusion and the flexibility of its devices, thus attracting the interest of researchers from the very beginning [1,13]. Early studies mainly focused on the modifications introduced in the Received Signal Strength Indicator (RSSI) of the WiFi signal by an obstructing human body. However, for about a decade, the Channel State Information (CSI) has been considered a more reliable and richer source of information [14]. In fact, RSSI is a scalar measure that characterizes the radio signal attenuation during propagation, therefore the sensing approaches based on RSSI alone (used either as a measure of path loss or as a radio-based fingerprint) suffer from dramatic performance degradation in complex situations due to multipath fading and changes in the environment [15]. The Channel State Information instead offers a set of channel measurements that describe the amplitudes and phases of each subcarrier of an Orthogonal Frequency Division Multiplexing (OFDM) transmission, which is typical of recent 802.11 a/g/n standards. RSSI is the superimposition of multipath signals with fast-changing phases, whereas CSI produces fine-grained, per-subcarrier information, thus allowing for a better discrimination of multipath signals. In the last decade, the analysis of the CSI variations enabled the experimentation of a large number of applications, such as human detection and counting, person identification/authentication, person localization and tracking, recognition of human activity and the detection and monitoring of vital signs [16,17].
Despite the wide interest raised in the research community, WiFi-based PHS has a number of drawbacks. First of all, the WiFi protocols do not support the coexistence of communication and sensing. As a consequence, trying to perform sensing and communication at the same time on the same network or using two networks working in proximity to each other can result in severe performance and accuracy degradation for both [18], unless suitable mechanisms are introduced to support multiple traffic classes with different Quality of Service (QoS), thus giving higher priority to the sensing traffic [19,20]. This problem is even worsened by the 300-m range of WiFi, which generates a relatively large collision domain for the two networks. Furthermore, WiFi is not designed for low power consumption. Consequently, since PHS requires frequent transmissions to allow prompt detection and adequate sampling of the sensed entity dynamics, the deployment of a WiFi-based sensing network requires careful planning to provide the devices with an adequate power source. Finally, large-scale deployments of WiFi devices, e.g., to monitor entire buildings or industrial plants [21], can be quite expensive.
Bluetooth technology, in particular after the introduction of the Bluetooth Low Energy (BLE) specifications, represents a valid alternative to WiFi. In fact, BLE [22]:
  • Is capable of working in noisy environments and in proximity to other wireless communication technologies, such as WiFi, thanks to its Adaptive Frequency Hopping (AFH) mechanism [23];
  • Is integrated into most of portable devices (such as tablets, smartphones, PDAs, etc.);
  • Is energy efficient;
  • Allows for simple and flexible deployment in business, industrial and home environments, as BLE devices are small, minimally invasive and less expensive than other solutions;
  • Provides an indoor communication range of approximately 20–30 m, depending on the specific device and the characteristics of the environment [24]. As a consequence, the BLE probability of interfering with other networks working in proximity is significantly lower.
As reported in our recent survey on Bluetooth-based PHS [22], despite the evident advantages and its wide adoption for active mobile localization [25]—that is, the localization of a moving transmitter with respect to a network of fixed receivers—not many research works in the literature focus on the application of BLE to PHS. This is mainly due to the following three limitations of the BLE standard:
  • It is difficult to obtain RSSI samples at high rates from BLE-based devices; therefore, the ability of a BLE-based PHS system to match the dynamics of human activities and gestures may be insufficient for some applications [26];
  • The BLE protocol does not allow the application layer to know the current transmission frequency, that is, the PHS application has no legal (i.e., compliant with the protocol) way to extract the frequency selected by the AFH mechanism to transmit a specific message. This is a security-related constraint, so it will not be relaxed anytime soon;
  • The WiFi CSI can be obtained directly from some devices through the WiFi multicarrier encoding mechanism, whereas BLE does not natively support such a measurement.
Notwithstanding the limitations mentioned above, activities such as passive human detection [27], counting [28], and motion tracking [29] can be effectively performed using BLE networks, although with a generally lower accuracy than their WiFi counterparts [30]. Despite the recent advancement and wide diffusion of Deep Learning (DL) techniques, only a few research works in the literature apply DL to BLE-based PHS. In [31], a classroom scenario is considered and a Radial Basis Function Neural Network is used to classify RSSI samples emitted by carefully placed BLE beacons and received by a BLE receiver, with a varying number of occupants in the room. Unfortunately, the dataset used for the reported experiments is not publicly available and the paper does not report sufficient information to repeat the experiments. In [32] a rather complex reinforcement learning approach is proposed, using BLE RSSI for PHS and exploiting CO2 sensors and other IoT devices to generate feedback information for the reinforcement learning process. The presented approach is claimed to be adaptive to changes in the environment. However, the approach requires an initial fine-tuning process that closely resembles training and the presented results are comparable to those obtained with much simpler statistical approaches, such as the one in [27]. In [33], a BLE-based PHS is presented and compared with state-of-the-art WiFi-based competitors. However, the presented architecture requires manual measurement of the distance between transmitters and receivers at training time. In addition, the best performance is obtained by forcing the sampling rate of the sensing network to very high rates (up to 200 Hz), i.e., well beyond the advertisement message transmission rate of standard BLE beacons.
This work proposes the application of a Deep Neural Network (DNN) to improve the analysis and classification of BLE signal deformations for Passive Human Sensing. Our aim was to improve over the current state-of-the-art in terms of both accuracy and flexibility. To this end, the proposed approach was applied to reliably detect the presence of human occupants in a large, articulated room with only a few BLE 4.x standard beacons as transmitters and a few receivers equipped with BLE 4.x standard modules. Furthermore, no specific restrictions were imposed on the location and motion dynamics of the room occupants.
The main contributions of this work are:
  • A PHS architecture for human detection based on standard BLE 4.x Commercial-Off-The-Shelf (COTS) devices that does not impose strong restrictions, such as direct Line-Of-Sight (LoS) visibility, on the position of the sensed occupants in the monitored environment. The transmitting devices are common BLE stand-alone beacons, which do not require any additional communication connection to external computational resources and can be battery-operated. The receiving device can be built on Arduino Zero or Raspberry Pi cards, equipped with their BLE onboard adapter;
  • A Deep Convolutional Neural Network to analyze the sequence of RSSI samples captured by the BLE receivers and extract the occupancy information of the area covered by the BLE sensing network. Our approach is novel compared to previous work, which adopted Long Short-term Memory (LSTM) networks [32];
  • An assessment of the proposed architecture in a real-life environment, that is, a student laboratory where occupants are free to move in and out. The room was not rectangular but L-shaped with several non-LoS regions with respect to the BLE receivers, and the environment was polluted by RF noise due to several WiFi and Bluetooth operating devices that were randomly moved in and out of the room by the students;
  • A comparison of the proposed approach with the one in the literature that offers the best performance [27].
The paper is organized as follows. Section 2 describes the proposed sensing architecture and experimental setup. Section 3 presents the experimental data obtained during the validation experiments and a comparison of our approach with the most accurate state-of-the-art approach from the relevant literature. Section 4 reports our analysis of the experimental results and Section 5 presents our conclusions and suggestions for further research.

2. Materials and Methods

BLE-based PHS takes advantage of the deformations inducted in the RF signal by the human bodies that obtrude its pathway. When the obtruding body is situated exactly on a linear and clear (that is, otherwise unobtruded) pathway between the transmitter and the receiver, it affects the Line-of-Sight (LoS) visibility between the two devices and the signal that reaches the receiver is mainly the refracted component of the original signal (see Figure 1a). In general, the refracted component of the signal is deformed while traversing the human body and such a deformation transports useful information about the obtruding entity. Instead, if the obtruding body is not situated along a straight and clean pathway between transmitter and receiver, then the signal that reaches the receiver is refracted or reflected, either before or after traversing the obtruding body (Non-Line-Of-Sight visibility, see Figure 1b).
Since the exact position of each obtruding body is not known in advance and is not fixed, in order to reduce the number of transmitters and receivers, for the sensing process we relied on Non-Line-Of-Sight visibility. An interesting side effect of this approach is that multiple signals from different transmitters traverse the body and reach the receiver, thus transporting information acquired from different angles. Moreover, such signals go through different paths of different lengths; therefore, they have different phase shifts, i.e., they carry information on the body traversed at different instants in time [15]. As a consequence, the sensing system acquires information at a much higher spatial and temporal resolution than LoS visibility would support (see Figure 2).
Clearly, the problem is how to extract this information. One reason is that, to benefit from the increased temporal resolution, accurate clock synchronization would be needed among all transmitters and receivers, but this feature is not supported by the BLE protocol. For the sake of simplicity, in this work we chose to treat the higher temporal resolution as redundancy, that is, we combined the samples acquired in very close time instants to produce more reliable average samples.
The BLE 4.x protocol only allows for the extraction of RSSI measurements from a message on the receiver side, that is, only a coarse-grained sampling of the received signal can be obtained. Moreover, security reasons impose that the AFH mechanism does not allow the application to know the channel from which the message was received. As RSSI has different mean values for each channel [34], it is not possible to differentiate the RSSI samples based on the channel. This induces high variability in the RSSI distribution, which hinders the classification accuracy of most BLE-based PHS approaches. To overcome this problem, some works in the literature fix the transmission channel on the transmitter side [29]; however, such a trick is generally not allowed by COTS BLE 4.x beacons. A different solution proposed in the literature is to obtain the transmission channel by exploiting some specific vulnerability on the receiver side [35], but this possibility might disappear at any time with an OS update.
As a consequence of the inability to determine the transmission channel of the received message, a very effective classification approach is needed that can take into account the large variability in the RSSI signal and produce an accurate classification.
In our architecture, the PHS network is based on n BLE 4.x beacons and m receiver devices equipped with BLE 4.x modules. The number n of beacons is only constrained by the need to illuminate with the BLE signal all the occupants of the monitored area, wherever they are. The number m is constrained by the need that, for each occupant, at least one receiver obtains from one of the BLE beacons of the sensing network an advertising message that has traversed the body of the occupant. The advertising message may have been reflected by any surface before reaching the receiver, i.e., the occupant does not need to occlude the Line of Sight between the beacon and the receiver, as illustrated in Figure 3.
As the BLE devices are not synchronized, we cannot exploit the phase shift of different messages sent at the same time, for example, to improve spatial resolution [36]. Consequently, we prefer to sacrifice temporal resolution for noise robustness and combine the RSSI of k messages, sent by the same i-th beacon and received by receiver r with similar timestamps around the time instant t, into a single representative sample calculated as the median of the k RSSI values, which we call the Median RSSI Sample received by r at time t ( M R S r , i ( t ) ). This approach strongly reduces the effects of unwanted abrupt changes in RSSI due to the AFH mechanism of the BLE protocol, while also reducing the temporal resolution (that is, the PHS sampling frequency) by a factor of k. The temporal subsampling introduced above is illustrated in Figure 4.
At each receiver and at each receiving time instant j, the Median RSSI Samples with similar timestamps, but transmitted by different beacons, are collected in a row of RSSI samples marked with the representative timestamp j. Thus, each receiver r maintains a list  M R S L r  of rows, each identified by a representative time instant j and containing the sequence of n values  M R S r , i ( j )  received at that time and sent by the different beacons.
The m lists (which we named  M R S L r ) are all sent to a central server that combines them into a single list and orders its rows according to their representative timestamps. This list is the input for the classifier. At this point of the algorithm the temporal resolution is sufficiently coarse to allow us to neglect the effects of loss of synchronization between the receivers and the central server. In fact, in general the transmission rate of the advertising messages in BLE 4.x is 100 ms, therefore the temporal resolution at this stage of the algorithm is  1 / ( k 0.1 )  samples per second. On the server, the list of rows is fed to a DNN that classifies them and produces a decision about whether there are human occupants in the monitored area or not.
Several DNN architectures were investigated to build the classifier. In particular, a baseline network with three dense layers and dropout, a single-layer Long Short-Term Memory (LSTM) network, a two-layer LSTM network and a two-layer 1D convolutional network were initially tested. The proposed DNN (see Figure 5), a pure convolutional network with 25,409 trainable parameters composed of three 1D convolutional layers with batch normalization, a global average pooling and a final dense output layer, consistently outperformed its competitors in all tests. For completeness, the two-layer LSTM architecture, the best performer among competitors of the proposed architecture, is included in the experiments reported in Section 3.
After deploying the BLE network, training and testing data are collected by manually annotating the time at which each occupant entered and exited the monitored area. This step is only needed to collect data for training and performance analysis. Once a sufficient number of samples are collected, the DNN can be trained. The Maximum Training Epochs parameter is set to 500, however in our experiments training generally stopped around 300 epochs as an effect of the early stopping mechanism [37].

3. Results

In our experiments, the BLE traffic was generated by COTS standalone and fully standard BLE 4.0 beacons, Eddystone-compliant and battery-operated. The receivers were built on consumer-grade Raspberry Pi 3B embedded computers, equipped with a BLE 4.1-compliant chipset onboard. A commercial notebook equipped with an Intel i7-10750H CPU @ 2.60 GHz, 16 GB RAM main memory, and an NVIDIA GTX 1650Ti GPU was used to both train and run the Deep Neural Network adopted for the classification of the BLE signal RSSI samples into the “Presence” and “Non-Presence” classes. With the proposed server architecture, the training was completed in a few minutes, thus allowing a very simple deployment of the PHS system.
The room where the experiments were performed was a research laboratory with six work stations and several computers and other instruments. As the room was L-shaped, we placed approximately one beacon at each corner to fully illuminate the room area. Similarly, we placed three receivers in such a way that most of the beacon signals would be consistently received. No specific optimizations were performed during the placement of the transmitting and receiving devices. In our experience, the exact positioning of the beacons and receivers is not critical; however, we tried not to place the receivers too close to the beacons. Figure 6 shows a map of the laboratory with the location of the transmitters, receivers, and work stations that were used by the occupants during the experiment. Noticeably, the occupants occasionally moved across the room as in normal laboratory operations; however, the number of moving occupants was not logged in time, so the only information available is that the occupants were not forced to sit at their workstation, but could stand up and move freely across the room.
For our experiments, after cleanup we obtained a total of 10,412 samples from  r = 3  receivers and  b = 7  beacons during several hours of daily working and non-working time. We randomly split the samples into 7288 (i.e., two-thirds of the total) for training and validation, and 3124 (i.e., one-third of the total) for testing. The two datasets are approximately balanced, that is, in both datasets, the numbers of samples belonging to the “Presence” and “Non-presence” classes differ by less than 10%, as shown in Figure 7. The Test dataset was then put aside for the final evaluation, while the 7288 samples were further equally split into the “Training” and “Validation” datasets.
After an initial oscillation phase, the training process steadily converges towards an accuracy of 100% and a 0% error in both training and validation, as shown in Figure 8.
After training and validating the proposed model, we tested it on the Test dataset, made of samples that did not belong to the Training and Validation datasets and were, therefore, completely unknown to the model. The discrimination ability of the model is well evidenced by the confusion matrix related to our experiments, shown in Figure 9.
The accuracy obtained during the tests, i.e., 0.9974 (99.74%), was consistently achieved and even exceeded along several iterations of the training–validation–test sequence.
To compare our architecture with the literature, we selected the state-of-the-art approach that a recent survey [22] reported to be the best performer in a similar experimental setup [27] and tested it with our datasets. In [27], a network of BLE beacons and BLE receivers was used to sense the occupancy of a lecture room. Several approaches for data preprocessing and several classifiers were investigated and evaluated and a final 98.97% accuracy is reported for the best combination. We re-trained and tested on our datasets the same data preprocessing and classification methods described in [27] and selected the best performing combination, that is, Support Vector Machine (SVM) with linear kernel (SVM-LK) classifier in combination with the DS3 data preprocessing method. The results obtained are shown in Table 1 for comparison with our approach and with the two-layer LSTM network that performed second during our preliminary investigation (see Section 2).
As a further test, to investigate the robustness of our approach with respect to the number and location of the transmitting and receiving devices, we progressively dropped the receivers and beacons and measured the performance of the degraded sensing system. With reference to Figure 6, Table 2 shows the degraded network configurations and the performance obtained with our approach and with the method reported in [27].

4. Discussion

To effectively test our approach, we selected a very general scenario in terms of both spatial configuration and usage patterns. In particular:
  • The shape of the laboratory is concave, so some receiver/beacon couples are not in direct LoS;
  • The laboratory is used for research and not for lecturing, so the number of occupants and the entrance and exit times are not fixed;
  • The number of occupants is generally small, i.e., from zero to five, therefore the RSSI variation due to the presence of occupants in the laboratory can be very small;
  • Computers and other transmitting devices pollute the BLE transmission frequencies, thus triggering the BLE Frequency Hopping mechanism frequently;
  • The beacons and the receivers were positioned according to general illumination considerations and not taking into account the expected location of the occupants.
Conversely, the scenarios adopted in other works in the literature, including the one compared with our method in Section 3, are generally nearly ideal, with occupants restricted within specific areas for most of the time and beacons placed within the LoS of the receivers in such a way that any occupant would fully obstruct the LoS.
Our approach achieved an accuracy of 99.74% with 100% f1-score. To the best of our knowledge, this is the best performance in the literature considering the test scenario. Moreover, our approach performed considerably better (+3% accuracy and f1-score) than its direct competitor, as reported in Table 1.
In addition, we demonstrated that our approach does not require direct LoS visibility between beacons and receivers and does not need a large number of beacons and receivers to achieve state-of-the-art performance. Table 2 shows that dropping half of the beacons or two out of three receivers, thus breaking the LoS visibility between most of the beacon/receiver couples, only marginally reduces the detection accuracy.
Finally, the proposed detection architecture is lightweight enough to run on an embedded computer such as a Raspberry Pi 3B+. In fact, the bare RSSI measurement task can be easily performed by much cheaper and less power-intensive hardware, such as the Raspberry Pi0. Instead, we purposely chose to build the receivers on the more powerful Pi3B+ platform because in future work we plan to run the detection software on each receiver and develop a distributed sensing platform instead of delegating all the computation to a centralized server.
Two important limitations affect the proposed approach, the first being its intrinsically low detection speed, due to the low sampling rate of its architecture. Based on the analysis of RSSI of advertising messages transmitted by commercially available BLE 4.x beacons, the sampling rate of the proposed architecture is bound by the maximum advertising rate of the BLE 4.x standard, that is, 50 messages per second. Moreover, due to the subsampling mechanism introduced to deal with the lack of inter-node synchronization, the sampling rate is further divided by k. In our experiments, the actual sampling rate was reduced to 2 Hz, which is sufficient in most cases but not for higher dynamics applications, for example, when a person rapidly traversing a small area needs to be detected.
Consequently, as a further development of our PHS platform, we plan to exploit the enhanced services and features of the BLE 5.x architecture [38,39] to improve the current spatial and time resolution of our PHS platform, thus also supporting the estimation of the number of occupants in the monitored area and allowing for the recognition of their activity.
A second limitation, shared with most other approaches in the literature, is that a training phase is needed to calibrate the PHS before it can be used effectively to detect the presence of occupants in a room. This procedure is performed only once at deployment time, takes about 3–4 h, and requires manual recording of the presence and absence of occupants in the monitored area.

5. Conclusions

This work presented a novel architecture for passive human sensing based on a network consisting of commercial BLE 4.x beacons and receivers built with a Raspberry Pi board equipped with its standard on-board BLE 4.x module. A Deep Convolutional Neural Network (DNN) was used to analyze and classify the RSSI samples of the signals emitted by the BLE beacons and extract the occupancy information of the area covered by the BLE sensing network.
The advantages and limitations of the architecture presented were illustrated and a detailed description of the experimental results conducted to assess its validity was provided.
In our experiments, the proposed approach outperformed the state-of-the-art method described in [27] and achieved an accuracy of 99.74% and a 100% f1-score in a fairly general scenario, thus was demonstrated to be, to our knowledge, the best performer with respect to the literature.

Author Contributions

Conceptualization, G.I. and A.N.; Methodology, G.I., L.L.B. and A.N.; Validation, L.L.B. and A.N.; Investigation, G.I.; Writing—original draft, G.I.; Writing—review & editing, L.L.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

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. Youssef, M.; Mah, M.; Agrawala, A. Challenges: Device-Free Passive Localization for Wireless Environments. In Proceedings of the 13th Annual ACM International Conference on Mobile Computing and Networking (MobiCom’07), New York, NY, USA, 3–7 October 2007; Association for Computing Machinery: New York, NY, USA, 2007; pp. 222–229. [Google Scholar] [CrossRef]
  2. Woyach, K.; Puccinelli, D.; Haenggi, M. Sensorless Sensing in Wireless Networks: Implementation and Measurements. In Proceedings of the International Symposium on Modeling and Optimization in Mobile, Ad Hoc and Wireless Networks, Ottawa, ON, Canada, 17–19 August 2006; pp. 1–8. [Google Scholar] [CrossRef] [Green Version]
  3. Yang, T.; Cabani, A.; Chafouk, H. A Survey of Recent Indoor Localization Scenarios and Methodologies. Sensors 2021, 21, 8086. [Google Scholar] [CrossRef] [PubMed]
  4. Carvalho, D.F.; Depari, A.; Ferrari, P.; Flammini, A.; Rinaldi, S.; Sisinni, E. On the feasibility of mobile sensing and tracking applications based on LPWAN. In Proceedings of the 2018 IEEE Sensors Applications Symposium (SAS), Seoul, Republic of Korea, 12–14 March 2018; pp. 1–6. [Google Scholar] [CrossRef]
  5. Lei, Q.; Du, J.X.; Zhang, H.B.; Ye, S.; Chen, D.S. A Survey of Vision-Based Human Action Evaluation Methods. Sensors 2019, 19, 4129. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Iannizzotto, G.; Lo Bello, L.; Patti, G. Personal Protection Equipment detection system for embedded devices based on DNN and Fuzzy Logic. Expert Syst. Appl. 2021, 184, 115447. [Google Scholar] [CrossRef]
  7. Aggarwal, J.; Ryoo, M. Human Activity Analysis: A Review. ACM Comput. Surv. 2011, 43, 1–43. [Google Scholar] [CrossRef]
  8. Iannizzotto, G.; La Rosa, F. Competitive combination of multiple eye detection and tracking techniques. IEEE Trans. Ind. Electron. 2011, 58, 3151–3159. [Google Scholar] [CrossRef]
  9. Hussain, Z.; Sheng, Q.Z.; Zhang, W.E. A review and categorization of techniques on device-free human activity recognition. J. Netw. Comput. Appl. 2020, 167, 102738. [Google Scholar] [CrossRef]
  10. Iannizzotto, G.; Nucita, A.; Fabio, R.A.; Caprì, T.; Lo Bello, L. More Intelligence and Less Clouds in Our Smart Homes. In Economic and Policy Implications of Artificial Intelligence; Marino, D., Monaca, M.A., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 123–136. [Google Scholar] [CrossRef]
  11. Battaglia, F.; Iannizzotto, G.; Lo Bello, L. A Person Authentication System Based on RFID Tags and a Cascade of Face Recognition Algorithms. IEEE Trans. Circuits Syst. Video Technol. 2017, 27, 1676–1690. [Google Scholar] [CrossRef]
  12. Battaglia, F.; Iannizzotto, G.; Lo Bello, L. A biometric authentication system based on face recognition and rfid tags. Mondo Digit. 2014, 13, 340–346. [Google Scholar]
  13. Zhou, Z.; Wu, C.; Yang, Z.; Liu, Y. Sensorless sensing with WiFi. Tsinghua Sci. Technol. 2015, 20, 1–6. [Google Scholar] [CrossRef]
  14. Long, Y.; Zhou, M.; Zhang, Z.; Nie, W. CSI Ranging-based Wi-Fi Indoor Localization Error Analysis. In Proceedings of the 2021 13th International Conference on Wireless Communications and Signal Processing (WCSP), Online, 20–22 October 2021; pp. 1–5. [Google Scholar] [CrossRef]
  15. Yang, Z.; Zhou, Z.; Liu, Y. From RSSI to CSI: Indoor Localization via Channel Response. ACM Comput. Surv. 2013, 46, 1–32. [Google Scholar] [CrossRef]
  16. Ma, Y.; Zhou, G.; Wang, S. WiFi Sensing with Channel State Information: A Survey. ACM Comput. Surv. 2019, 52, 1–36. [Google Scholar] [CrossRef] [Green Version]
  17. 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] [PubMed]
  18. 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), Foshan, China, 11–13 August 2022; pp. 836–841. [Google Scholar] [CrossRef]
  19. Fedullo, T.; Tramarin, F.; Vitturi, S. The Impact of Rate Adaptation Algorithms on Wi-Fi-Based Factory Automation Systems. Sensors 2020, 20, 5195. [Google Scholar] [CrossRef] [PubMed]
  20. Lo Bello, L.; Ashjaei, M.; Patti, G.; Behnam, M. Schedulability analysis of Time-Sensitive Networks with scheduled traffic and preemption support. J. Parallel Distrib. Comput. 2020, 144, 153–171. [Google Scholar] [CrossRef]
  21. Huang, B.; Liu, J.; Sun, W.; Yang, F. A Robust Indoor Positioning Method based on Bluetooth Low Energy with Separate Channel Information. Sensors 2019, 19, 3487. [Google Scholar] [CrossRef] [Green Version]
  22. Iannizzotto, G.; Milici, M.; Nucita, A.; Lo Bello, L. A Perspective on Passive Human Sensing with Bluetooth. Sensors 2022, 22, 3523. [Google Scholar] [CrossRef]
  23. Woolley, M. Understanding Reliability in Bluetooth Technology. Available online: https://www.bluetooth.com/wp-content/uploads/2020/10/EN-Understanding_Reliability.pdf (accessed on 1 December 2022).
  24. Hortelano, D.; Olivares, T.; Ruiz, M.C.; Garrido-Hidalgo, C.; López, V. From Sensor Networks to Internet of Things. Bluetooth Low Energy, a Standard for This Evolution. Sensors 2017, 17, 372. [Google Scholar] [CrossRef] [Green Version]
  25. Shen, Y.; Hwang, B.; Jeong, J.P. Particle Filtering-Based Indoor Positioning System for Beacon Tag Tracking. IEEE Access 2020, 8, 226445–226460. [Google Scholar] [CrossRef]
  26. Ramirez, R.; Huang, C.Y.; Liao, C.A.; Lin, P.T.; Lin, H.W.; Liang, S.H. A Practice of BLE RSSI Measurement for Indoor Positioning. Sensors 2021, 21, 5181. [Google Scholar] [CrossRef]
  27. Münch, M.; Huffstadt, K.; Schleif, F. Towards a device-free passive presence detection system with Bluetooth Low Energy beacons. In Proceedings of the 27th European Symposium on Artificial Neural Networks, ESANN 2019, Bruges, Belgium, 24–26 April 2019. [Google Scholar]
  28. Münch, M.; Schleif, F.M. Device-Free Passive Human Counting with Bluetooth Low Energy Beacons. In Advances in Computational Intelligence; Rojas, I., Joya, G., Catala, A., Eds.; Springer International Publishing: Cham, Switzerland, 2019; pp. 799–810. [Google Scholar] [CrossRef]
  29. Brockmann, F.; Figura, R.; Handte, M.; Marrón, P.J. RSSI Based Passive Detection of Persons for Waiting Lines Using Bluetooth Low Energy. In Proceedings of the 2018 International Conference on Embedded Wireless Systems and Networks (EWSN’18), Madrid, Spain, 14–16 February 2018; Junction Publishing: Junction, TX, USA, 2018; pp. 102–113. [Google Scholar]
  30. Feng, C.; Arshad, S.; Liu, Y. MAIS: Multiple Activity Identification System Using Channel State Information of WiFi Signals. In Wireless Algorithms, Systems, and Applications; Ma, L., Khreishah, A., Zhang, Y., Yan, M., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 419–432. [Google Scholar]
  31. Beato Gutiérrez, M.E.; Sánchez, M.M.; Berjón Gallinas, R.; Fermoso García, A.M. Capacity Control in Indoor Spaces Using Machine Learning Techniques Together with BLE Technology. J. Sens. Actuator Netw. 2021, 10, 35. [Google Scholar] [CrossRef]
  32. Billah, M.F.R.M.; Saoda, N.; Gao, J.; Campbell, B. BLE Can See: A Reinforcement Learning Approach for RF-Based Indoor Occupancy Detection. In Proceedings of the 20th International Conference on Information Processing in Sensor Networks (Co-Located with CPS-IoT Week 2021) (IPSN’21), Nashville, TN, USA, 18–21 May 2021; Association for Computing Machinery: New York, NY, USA, 2021; pp. 132–147. [Google Scholar] [CrossRef]
  33. Demrozi, F.; Chiarani, F.; Turetta, C.; Kindt, P.H.; Pravadelli, G. Estimating Indoor Occupancy Through Low-Cost BLE Devices. IEEE Sens. J. 2021, 21, 17053–17063. [Google Scholar] [CrossRef]
  34. Faragher, R.; Harle, R. Location Fingerprinting with Bluetooth Low Energy Beacons. IEEE J. Sel. Areas Commun. 2015, 33, 2418–2428. [Google Scholar] [CrossRef]
  35. Gentner, C.; Günther, D.; Kindt, P.H. Identifying the BLE Advertising Channel for Reliable Distance Estimation on Smartphones. IEEE Access 2020, 10, 9563–9575. [Google Scholar] [CrossRef]
  36. Fink, A.; Beikirch, H.; Voß, M.; Schröder, C. RSSI-based indoor positioning using diversity and Inertial Navigation. In Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation, Zurich, Switzerland, 15–17 September 2010; pp. 1–7. [Google Scholar] [CrossRef]
  37. Song, H.; Kim, M.; Park, D.; Lee, J.G. Prestopping: How Does Early Stopping Help Generalization against Label Noise? arXiv 2019, arXiv:1911.08059. [Google Scholar]
  38. Koutris, A.; Siozos, T.; Kopsinis, Y.; Pikrakis, A.; Merk, T.; Mahlig, M.; Papaharalabos, S.; Karlsson, P. Deep Learning-Based Indoor Localization Using Multi-View BLE Signal. Sensors 2022, 22, 2759. [Google Scholar] [CrossRef]
  39. Pau, G.; Arena, F.; Gebremariam, Y.E.; You, I. Bluetooth 5.1: An Analysis of Direction Finding Capability for High-Precision Location Services. Sensors 2021, 21, 3589. [Google Scholar] [CrossRef]
Figure 1. Line-of-Sight (LoS) visibility (a). Non-Line-of-Sight and through-the-wall visibility (b). This figure was adapted from [22].
Figure 1. Line-of-Sight (LoS) visibility (a). Non-Line-of-Sight and through-the-wall visibility (b). This figure was adapted from [22].
Sensors 23 02581 g001
Figure 2. Multipath (Non-LoS) PHS. Note that multiple signals traverse the same obtruding human body from different angles and with different time (phase) shifts, thus transporting spatially and temporally diverse information.
Figure 2. Multipath (Non-LoS) PHS. Note that multiple signals traverse the same obtruding human body from different angles and with different time (phase) shifts, thus transporting spatially and temporally diverse information.
Sensors 23 02581 g002
Figure 3. Constraints on the number and position of beacons and receivers. The beacons must be placed in such a way as to illuminate each occupant in the monitored room. The receivers must be placed in such a way that for each occupant, at least one transmission from a beacon traverses the occupant and is received by one of the receivers. The transmission may be reflected by some surface, i.e., it is not necessary that the occupant lays on the Line of Sight between the beacon and the receiver.
Figure 3. Constraints on the number and position of beacons and receivers. The beacons must be placed in such a way as to illuminate each occupant in the monitored room. The receivers must be placed in such a way that for each occupant, at least one transmission from a beacon traverses the occupant and is received by one of the receivers. The transmission may be reflected by some surface, i.e., it is not necessary that the occupant lays on the Line of Sight between the beacon and the receiver.
Sensors 23 02581 g003
Figure 4. Graph of data collection and subsampling in a generic receiver r. The samples sent by each beacon are grouped in chunks of k, a representative sample is selected as the median element of the k samples and keeps its timestamp (see text). The symbol  t j  means “approximately  t j ”, that is, all samples from the same group of k have similar timestamps.
Figure 4. Graph of data collection and subsampling in a generic receiver r. The samples sent by each beacon are grouped in chunks of k, a representative sample is selected as the median element of the k samples and keeps its timestamp (see text). The symbol  t j  means “approximately  t j ”, that is, all samples from the same group of k have similar timestamps.
Sensors 23 02581 g004
Figure 5. The proposed DNN architecture with a total number of 25,793 parameters.
Figure 5. The proposed DNN architecture with a total number of 25,793 parameters.
Sensors 23 02581 g005
Figure 6. Arrangement of BLE devices in the laboratory testbed. The blue chair symbols represent the average positions of the occupants, i.e., the white chair was empty most of the time.
Figure 6. Arrangement of BLE devices in the laboratory testbed. The blue chair symbols represent the average positions of the occupants, i.e., the white chair was empty most of the time.
Sensors 23 02581 g006
Figure 7. Histograms of the “Presence” values of the samples, showing the balance between the Presence and Non-Presence samples in the Training (a) and Test (b) datasets.
Figure 7. Histograms of the “Presence” values of the samples, showing the balance between the Presence and Non-Presence samples in the Training (a) and Test (b) datasets.
Sensors 23 02581 g007
Figure 8. Graph showing Accuracy and Validation Accuracy (a) and Error and Validation Error (b) during the training process. (a) Accuracy and Validation Accuracy during the training process. (b) Error and Validation Error during the training process.
Figure 8. Graph showing Accuracy and Validation Accuracy (a) and Error and Validation Error (b) during the training process. (a) Accuracy and Validation Accuracy during the training process. (b) Error and Validation Error during the training process.
Sensors 23 02581 g008
Figure 9. The confusion matrix relevant to the presented experiments.
Figure 9. The confusion matrix relevant to the presented experiments.
Sensors 23 02581 g009
Table 1. Performance comparison of our approach with the method proposed in [27]. Figures in bold refer to the best performing approach.
Table 1. Performance comparison of our approach with the method proposed in [27]. Figures in bold refer to the best performing approach.
ApproachAccuracyPrecisionRecallF1-Score
SVM-LK0.96821.000.940.97
LSTM0.98190.980.980.98
our approach0.99741.001.001.00
Table 2. Performance comparison of our approach with the method proposed in [27] and with the LSTM network, in “degraded network conditions” (dropped receivers and/or beacons). The first column indicates which devices were available in each degraded configuration (i.e., the devices that are not indicated were dropped). r1, r2, r3 are the receivers and b1,…, b7 are the beacons. Figures in bold refer to the best performing approach.
Table 2. Performance comparison of our approach with the method proposed in [27] and with the LSTM network, in “degraded network conditions” (dropped receivers and/or beacons). The first column indicates which devices were available in each degraded configuration (i.e., the devices that are not indicated were dropped). r1, r2, r3 are the receivers and b1,…, b7 are the beacons. Figures in bold refer to the best performing approach.
Avail. Devs.ApproachAccuracyPrecisionRecallF1-Score
All beacons,
r1 & r3
SVM-LK0.65080.740.460.57
LSTM0.97710.980.980.98
our approach0.98860.990.990.99
All beacons,
only r2
SVM-LK0.76980.930.590.72
LSTM0.96350.960.960.96
our approach0.97130.970.970.97
All beacons,
only r1
SVM-LK0.69050.790.520.63
LSTM0.96150.960.960.96
our approach0.97130.970.970.97
b1, b2, b6, b7,
r1 & r3
SVM-LK0.55560.570.480.52
LSTM0.95590.960.950.96
our approach0.96690.970.970.97
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

Iannizzotto, G.; Lo Bello, L.; Nucita, A. Improving BLE-Based Passive Human Sensing with Deep Learning. Sensors 2023, 23, 2581. https://doi.org/10.3390/s23052581

AMA Style

Iannizzotto G, Lo Bello L, Nucita A. Improving BLE-Based Passive Human Sensing with Deep Learning. Sensors. 2023; 23(5):2581. https://doi.org/10.3390/s23052581

Chicago/Turabian Style

Iannizzotto, Giancarlo, Lucia Lo Bello, and Andrea Nucita. 2023. "Improving BLE-Based Passive Human Sensing with Deep Learning" Sensors 23, no. 5: 2581. https://doi.org/10.3390/s23052581

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