Machine Learning Classifiers For Fall Detection Leveraging LoRa Communication Network
Machine Learning Classifiers For Fall Detection Leveraging LoRa Communication Network
Corresponding Author:
I. V. Subba Reddy
Department of Physics, GITAM (Deemed to be University)
Rudraram, Patancheru mandal, Hyderabad-502329, Telangana, India
Email: [email protected]
1. INTRODUCTION
In today's world, technological advancements have become indispensable in the field of human health
monitoring. With the advancement of data mining and artificial intelligence technologies integrated with
systems monitoring human posture and other physiological parameters, it is significantly easier to determine
how people's habits and activities impact their health and longevity [1]. Hospitals and doctors play an essential
part in conventional health monitoring, but this approach necessitates significant time commitments for patient
preparation, appointment making, patient waiting, doctor consultation and checkup.
Due to the difficulties of contacting professional specialists in person, adopting low-cost internet of
things (IoT) technologies for patient health monitoring is essential [2]. Smart cities emphasize more innovative
living and transportation and structured and intelligent health monitoring systems. On the other hand,
supervising the daily activities of some particular populations, such as youngsters and the elderly, ensures that
they get daily exercise. Using wearable sensors as an early diagnostic tool, noninvasively assessing vital
parameters such as respiration rate, body temperature, and blood oxygen level tool, noninvasively assessing
offers considerable promise [3]. Health and fitness status tracking of people has been one area in which this
kind of technology has proved to be very beneficial. Miniaturized, unobtrusive, and ubiquitous gadgets are
used to communicate and change their behavior according to the preferences of the user [4]. The IoT concept,
which clearly refers to devices permanently connected to communication networks, has transformed how we
use different technology, allowing for a wide variety of applications that rely on elements like a population's
economic condition and digital abilities [5]. With the development of IoT technology, it's now possible to
connect all kinds of devices, like WiFi networks, smartphones, and sensors connected, to a mobile network
(3G, 4G, and eventually 5G). It paves the way for communication between these numerous gadgets and the
development of collaborative smart systems that enhance the living conditions of its users [6]. However, many
communities and people residing in remote areas, small towns, or single-family homes without access to
extended family or consistent institutional support, especially the elderly, cannot benefit from this
technological advancement [7]. Recent studies have demonstrated that the global population at risk of
developing or suffering from mental disorders is expanding tremendously.
Moreover, the epidemic that has broken in the last couple of years has thrown challenges to the health
sector. The United States centers for disease control and prevention (US CDC) report that 14% of confirmed
SARS-CoV-2 cases required hospitalization. The sheer volume of seriously ill patients has strained healthcare
facilities, resulting in delays in patient care, and compromised efficiency. The US CDC reported that 14% of
SARS-CoV-2 patients required hospitalization [8]. So, it is vital to connect and use various communication
and information technologies to mitigate the negative effects of these illnesses on public health [9], [10]. In the
previous decade, substantial advancements have been accomplished in building wearable sensors for
physiological and environmental monitoring and biochemical indicators. Wearable technology makes
physiological monitoring more comfortable and affordable for consumers and healthcare professionals [11].
Intelligent sensor technologies that monitor necessary biophysical signals in real-time and let healthcare staff
remotely monitor and manage health which can reduce morbidity and mortality.
To satisfy these objectives, this research offers a long range (LoRa)-based, multisensory-based health
monitoring system. LoRa low-power wide-area network (LPWAN) technology extends signal transmission
range and reduces battery usage. In urban areas, the theoretical coverage of LoRa is 5 km, whereas in suburban
areas, it is 15 km. Therefore, a single LoRa gateway is sufficient for an entity, such as a scientific research
center, school, or any organization, to deploy a LoRa system. As systems for managing and monitoring people's
data advance, we seek to improve their quality of life, particularly for seniors with modest incomes. In the
present study, we proposed a method using LoRa networks and cloud services.
2. RELATED WORK
In recent years, several investigations have been conducted on the usage of LoRa and low-power
consumption networks. There are several potential applications of the IoT have emerged, focusing on rural
development and the agricultural industry. In recent years, LoRa networks and other comparable technologies
like LTE-M [12], NB-IoT [13], TV whitespace [14], and SigFox [15] have been used to construct low-power,
LoRa networks for health monitoring, home automation, and agricultural applications. Also, the LPWAN
technology group, especially LoRa wide area network (LoRaWAN), permits long-distance communication.
LoRa communication technology connects thousands of battery-powered devices over great distances while
consuming minimal power, even under bad situations, with 7 km in urban areas and 15 km in open space [16].
In addition, devices designed for prolonged battery operation must have a low power consumption. LoRa
technology uses unlicensed frequencies: 433 MHz in Asia, 915 MHz in North America, and 868 MHz in
Europe [17].
Modern IoT technologies use mesh network architecture which increases the communication range.
But the additional responsibility of nodes to transfer messages to other nodes significantly affects the device's
battery life. LoRaWAN employs star topology to boost the battery life for LoRa communication. LoRa network
elements are nodes or endpoints, gateways, and network servers. Specifically, LoRa endpoints are the sensors
or applications that perform the sensing and controlling. These hubs are generally located remotely. In
LoRaWAN, nodes are associated with a specific gateway and transmit the received signal to a cloud-based
server. Cloud-stored data are later made available through interface platforms that contain dashboards. These
dashboards enable data availability and interaction on other platforms utilizing message queuing telemetry
transport (MQTT) and REST web services [18]. González et al. [19] presented a tailored health monitoring
system that monitors heart rate, temperature, and ambient characteristics, including gas level, through sensors,
and transmits data wirelessly. It alerts the healthcare experts and the attendees. Health specialists will analyze
the information. They collect and make decisions remotely without ever meeting with the patients themselves.
Mirjalali et al. [20] compiled a study of the most recent peripheral sensor devices that can accurately
assess vital signs at the point of care. This review focused on different materials, designs, and mechanisms of
wearable sensors for evaluating body temperature, respiratory behavior, and blood oxygen level to diagnose
and monitor Covid-19. In work [21], the researchers provide an IoT-based physiological data monitoring from
commercially available smart bands construction workers wear. This built platform is intended for use by
construction workers in hot environments. The proposed system helps authorized individuals observe a
Machine learning classifiers for fall detection leveraging LoRa communication network (I. V. Subba Reddy)
78 ISSN: 2089-4864
construction worker's status remotely using a computer or smartphone. Knowledge of a patient's breathing
rhythm can aid in diagnosing a vast range of medical disorders. The authors of [22] proposed a cost-effective
system for classifying a patient's breathing pattern. The identification and extraction of respiratory signals from
IRT and RGB films were matched to respiratory belt sensors, and the results demonstrated the viability of
contactless technologies for undertaking a comprehensive breathing pattern evaluation. Another author proved
the viability of monitoring LoRaWAN based wind farms and demonstrated that implementing LoRa networks
permit good communication across long distances [23]. LoRa access points and edge gateways are proposed
as part of Yu et al. [24] proposed architecture for a fall detection system (fog layer). In their implementation,
bluetooth low energy (BLE) transmits health and relevant information to a LoRa gateway, which is condensed
before being transmitted on a recurrent neural network (RNN) and distributed storage system. However, the
authors examined only the accuracy of the proposed RNN and did not evaluate the performance of the edge
and fog. Tuli et al. [25] introduced FogBus, a framework, to demonstrate a cost-effective sleep apnea patient
prototype. Both fog computing and blockchain are included in the framework. Wireless protocols such as
Zigbee, Bluetooth, and NFC link these fog nodes to the sensing layer. In work [26]–[29] implemented a real-
time healthcare system model where the system architecture integrates the LoRa communication protocol,
blockchain technologies, and fog/edge computing and performed runtime, cost, and power consumption
analysis to evaluate the system.
3. PROPOSED METHOD
3.1. Problem statement
Low-energy-consumption, and high-precision portable sensors, have been employed in numerous
investigations on patients with disorders [30], [31]. Many authors have worked on portable sensors,
demonstrating the benefits of these devices in monitoring and tracking individuals. Different sensors, such as
accelerometers, gyroscopes, and global positioning systems (GPS), are included in today's mobile
communication devices or smartphones. But these devices are challenging to operate by people in remote
places with poor network connections; as a result, we suggest exploring and improving the usage of these
devices embedded with sensors by incorporating them into a system to monitor people's health condition both
inside and outside the home.
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 1, March 2024: 76-84
Int J Reconfigurable & Embedded Syst ISSN: 2089-4864 79
Machine learning classifiers for fall detection leveraging LoRa communication network (I. V. Subba Reddy)
80 ISSN: 2089-4864
In the present research paper, ESP32 is a master node to collect data from various remote nodes.
ESP32 is a low-power and low-cost, system-on-a-chip with embedded Bluetooth and WiFi modules, which
easily be connected to the cloud. ESP32 is designed for IoT applications, wearable electronics, and mobile
devices. It achieves ultra-low power consumption with the use of a blend of proprietary software. The ESP32
delivers invaluable capability and versatility to applications that require minimal printed circuit board (PCB)
specifications.
𝑇𝑃
𝑃𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 = (2)
𝑇𝑃+𝐹𝑃
𝑇𝑃
𝑅𝑒𝑐𝑎𝑙𝑙 = (3)
𝑇𝑃+𝐹𝑁
𝑃𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 𝑋 𝑅𝑒𝑐𝑎𝑙𝑙
𝐹1 = (4)
𝑃𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛+𝑅𝑒𝑐𝑎𝑙𝑙
where TP is true positive, FP is false positive, TN is true negative, and FN is false negative.
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 1, March 2024: 76-84
Int J Reconfigurable & Embedded Syst ISSN: 2089-4864 81
When the data collection is huge, we use python programming to construct a decision tree by
randomly selecting a subset of the whole dataset. By repeating the aforementioned procedure, it is possible to
generate multiple decision trees with diverse nodes and shapes. These trees form a RF by joining together.
With bootstrap sampling, n subsamples are first selected from the sample set. We create a decision tree for
each sample subset by randomly picking K features, including normal, fallen right, fallen back, and fallen front.
Machine learning classifiers for fall detection leveraging LoRa communication network (I. V. Subba Reddy)
82 ISSN: 2089-4864
To create a random forest with n CART decision trees, repeat the previous two steps n times. As illustrated in
Figure 3, n decision trees' voting outcomes determine the record type.
All symbols that have been used in the equations should be defined in the following text. The
confusion matrix is shown in Table 2 and according to Table 2(a), all predicted normal (upright) position
occurrences were accurately identified, with just three instances classified incorrectly, which is not very
noteworthy in the training dataset. As a consequence, the model is quite close to reality. After that, the decision
tree model was deployed to a test groups shown in Table 2(b), yielding remarkably consistent results with just
two occurrences incorrectly categorized.
Table 2. Confusion matrix for (a) training dataset and (b) testing dataset
Parameter Normal Fallen left Fallen right Fallen front Fallen back
Normal 514 0 0 0 0
Fallen left 0 220 0 0 0
Fallen right 0 0 688 0 0
Fallen front 2 0 0 371 0
Fallen back 0 0 1 0 378
(a)
Parameter Normal Fallen left Fallen right Fallen front Fallen back
Normal 248 0 0 0 0
Fallen left 1 83 0 0 0
Fallen right 0 0 266 0 0
Fallen front 0 0 1 169 0
Fallen back 0 0 0 0 164
(b)
Table 3 compares the degrees of accuracy achieved by each of the algorithms we have used. The
various accuracy metrics are shown in the table. The accuracy measurements are presented in the comparison
table in a manner that is lowering with respect to the training and test ratios. We are able to see that the decision
tree achieved a good level of accuracy by obtaining 0.998634 when the ratio was 70-30. Following that is
XGboost with an accuracy of 0.99862 at a 70-30 ratio, and the accuracy that is achieved by gradient boosting
using the classifier technique as a basis has the lowest accuracy at 0.99785 at a 70-30 ratio. Based on the table
of results, we can see that the decision tree classifier did very well in contrast to the other methods.
5. CONCLUSION
This research investigates a very important societal use, taking into account the potential underlying
LoRa technology, which is currently available on the market at a reasonable price. The increasing demand for
designing low-cost, low-power, and LoRa IoT systems as wearable devices or remote nodes has great potential
for monitoring elderly people and their residences. We analyze and forecast fall detection properties using
different classifier algorithms. To further investigate the efficacy of fall detection utilizing the LoRa
communication network, a CART model has been constructed using an enhanced decision tree algorithm. All
reliable data classifiers employ optimum splitting settings and advanced tree pruning methods to increase
accuracy. By comparing the outcomes of the decision tree CART, RF, adaptive boosting, gradient boosting,
and XGBoost algorithms, as well as by constructing a decision tree algorithm based on the CART classifier, it
was found that a decision tree algorithm with a different number of classifiers improved the classification
evaluation indexes. As a result, the true rate, precision-P, recall-R, and F1 values were all increased, and the
decision tree method achieved an accuracy of 0.99864. The precision of the classification has now been
achieved at its optimal efficiency.
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 1, March 2024: 76-84
Int J Reconfigurable & Embedded Syst ISSN: 2089-4864 83
REFERENCES
[1] J. Han et al., “LoRa-based smart IoT application for smart city: an example of human posture detection,” Wireless Communications
and Mobile Computing, vol. 2020, pp. 1–15, Aug. 2020, doi: 10.1155/2020/8822555.
[2] P. Gupta, A. V. Chouhan, M. A. Wajeed, S. Tiwari, A. S. Bist, and S. C. Puri, “Prediction of health monitoring with deep learning
using edge computing,” Measurement: Sensors, vol. 25, Feb. 2023, doi: 10.1016/j.measen.2022.100604.
[3] D. J. Miller, C. Sargent, and G. D. Roach, “A validation of six wearable devices for estimating sleep, heart rate and heart rate
variability in healthy adults,” Sensors, vol. 22, no. 16, Aug. 2022, doi: 10.3390/s22166317.
[4] J. P. Lousado, I. M. Pires, E. Zdravevski, and S. Antunes, “Monitoring the health and residence conditions of elderly people, using
LoRa and the things network,” Electronics, vol. 10, no. 14, Jul. 2021, doi: 10.3390/electronics10141729.
[5] W. S. Chin, H. Kim, Y. J. Heo, and J. W. Jang, “A context-based future network infrastructure for IoT services,” Procedia Computer
Science, vol. 56, pp. 266–270, 2015, doi: 10.1016/j.procs.2015.07.207.
[6] S. Vimal, Y. H. Robinson, S. Kadry, H. V. Long, and Y. Nam, “IoT based smart health monitoring with CNN using edge
computing,” Journal of Internet Technology, vol. 22, no. 1, pp. 173–185, 2021.
[7] N. Thakur and C. Y. Han, “A study of fall detection in assisted living: Identifying and improving the optimal machine learning
method,” Journal of Sensor and Actuator Networks, vol. 10, no. 3, Jun. 2021, doi: 10.3390/jsan10030039.
[8] A. I. Paganelli et al., “A conceptual IoT-based early-warning architecture for remote monitoring of COVID-19 patients in wards
and at home,” Internet of Things, vol. 18, May 2022, doi: 10.1016/j.iot.2021.100399.
[9] S. Abdullah and T. Choudhury, “Sensing technologies for monitoring serious mental illnesses,” IEEE MultiMedia, vol. 25, no. 1,
pp. 61–75, Jan. 2018, doi: 10.1109/MMUL.2018.011921236.
[10] P. Maresova et al., “Technological solutions for older people with Alzheimer’s disease: review,” Current Alzheimer Research, vol.
15, no. 10, pp. 975–983, Aug. 2018, doi: 10.2174/1567205015666180427124547.
[11] M. Stočes, J. Vaněk, J. Masner, and J. Pavlík, “Internet of things (IoT) in agriculture - selected aspects,” Agris on-line Papers in
Economics and Informatics, vol. VIII, no. 1, pp. 83–88, Mar. 2016, doi: 10.7160/aol.2016.080108.
[12] “Long term evolution for machines: LTE-M,” GSMA-Internet of Things. Accessed Feb. 20, 2023. [Online.] Available:
https://www.gsma.com/iot/long-term-evolution-machine-type-communication-lte-mtc-cat-m1/.
[13] “Narrowband IoT (NB-IoT),” Thales group, 2020. Accessed Feb. 27, 2023. [Online.] Available:
https://www.thalesgroup.com/en/markets/digital-identity-and-security/iot/resources/innovation-technology/nb-iot/.
[14] B. Harris, “How TV white space is helping bridge the digital divide,” Microsoft, 2019. Accessed Feb. 27, 2022. [Online.] Available:
https://news.microsoft.com/on-the-issues/2019/06/25/airband-white-space/.
[15] “SIGFOX A 0G NETWORK,” Sgfox, 2022. Accessed Feb. 27, 2023. [Online.] Available: https://www.sigfox.com/en.
[16] J. de C. Silva, J. J. P. C. Rodrigues, A. M. Alberti, P. Solic, and A. L. L. Aquino, “LoRaWAN—a low power WAN protocol for
internet of things: a review and opportunities,” in 2017 2nd International Multidisciplinary Conference on Computer and Energy
Science (SpliTech), 2017, pp. 1–6.
[17] “3GLTEinfo,” 3GLTEInfo, 2022. Accessed Mar. 4, 2023 [Online]. Available: https://www.3glteinfo.com
[18] M. M. Islam, A. Rahaman, and M. R. Islam, “Development of smart healthcare monitoring system in IoT environment,” SN
Computer Science, vol. 1, no. 3, May 2020, doi: 10.1007/s42979-020-00195-y.
[19] E. González, J. Casanova-Chafer, A. Romero, X. Vilanova, J. Mitrovics, and E. Llobet, “LoRa sensor network development for air
quality monitoring or detecting gas leakage events,” Sensors, vol. 20, no. 21, Oct. 2020, doi: 10.3390/s20216225.
[20] S. Mirjalali, S. Peng, Z. Fang, C. Wang, and S. Wu, “Wearable sensors for remote health monitoring: potential applications for
early diagnosis of Covid-19,” Advanced Materials Technologies, vol. 7, no. 1, Jan. 2022, doi: 10.1002/admt.202100545.
[21] J. H. Kim, B. W. Jo, J. H. Jo, and D. K. Kim, “Development of an IoT-based construction worker physiological data monitoring
platform at high temperatures,” Sensors, vol. 20, no. 19, Oct. 2020, doi: 10.3390/s20195682.
[22] J. Kunczik, K. Hubbermann, L. Mösch, A. Follmann, M. Czaplik, and C. B. Pereira, “Breathing pattern monitoring by using remote
sensors,” Sensors, vol. 22, no. 22, Nov. 2022, doi: 10.3390/s22228854.
[23] K. Mikhaylov, A. Moiz, A. Pouttu, J. M. M. Rapun, and S. A. Gascon, “LoRa WAN for wind turbine monitoring: prototype and
practical deployment,” in 2018 10th International Congress on Ultra Modern Telecommunications and Control Systems and
Workshops (ICUMT), Nov. 2018, pp. 1–6. doi: 10.1109/ICUMT.2018.8631240.
[24] Y. Yu, M. Li, L. Liu, Y. Li, and J. Wang, “Clinical big data and deep learning: applications, challenges, and future outlooks,” Big
Data Mining and Analytics, vol. 2, no. 4, pp. 288–305, 2019, doi: 10.26599/BDMA.2019.9020007.
[25] S. Tuli, R. Mahmud, S. Tuli, and R. Buyya, “FogBus: a blockchain-based lightweight framework for edge and fog computing,”
Journal of Systems and Software, vol. 154, pp. 22–36, Aug. 2019, doi: 10.1016/j.jss.2019.04.050.
[26] A.-T. Shumba, T. Montanaro, I. Sergi, L. Fachechi, M. De Vittorio, and L. Patrono, “Leveraging IoT-aware technologies and AI
techniques for real-time critical healthcare applications,” Sensors, vol. 22, no. 19, Oct. 2022, doi: 10.3390/s22197675.
[27] T. A. Najafi, A. Abramo, K. Kyamakya, and A. Affanni, “Development of a smart chair sensors system and classification of sitting
postures with deep learning algorithms,” Sensors, vol. 22, no. 15, Jul. 2022, doi: 10.3390/s22155585.
[28] B. Dammak, M. Turki, S. Cheikhrouhou, M. Baklouti, R. Mars, and A. Dhahbi, “LoRaChainCare: an IoT architecture integrating
blockchain and LoRa network for personal health care data monitoring,” Sensors, vol. 22, no. 4, Feb. 2022, doi: 10.3390/s22041497.
[29] S. J. Johnston et al., “City scale particulate matter monitoring using LoRaWAN based air quality IoT devices,” Sensors, vol. 19,
no. 1, Jan. 2019, doi: 10.3390/s19010209.
[30] M. Ermes, J. Parkka, J. Mantyjarvi, and I. Korhonen, “Detection of daily activities and sports with wearable sensors in controlled
and uncontrolled conditions,” IEEE Transactions on Information Technology in Biomedicine, vol. 12, no. 1, pp. 20–26, Jan. 2008,
doi: 10.1109/TITB.2007.899496.
[31] T. Shany, S. J. Redmond, M. R. Narayanan, and N. H. Lovell, “Sensors-based wearable systems for monitoring of human movement
and falls,” IEEE Sensors Journal, vol. 12, no. 3, pp. 658–670, Mar. 2012, doi: 10.1109/JSEN.2011.2146246.
[32] G. Tao, H. Song, J. Liu, J. Zou, and Y. Chen, “A traffic accident morphology diagnostic model based on a rough set decision tree,”
Transportation Planning and Technology, vol. 39, no. 8, pp. 751–758, Nov. 2016, doi: 10.1080/03081060.2016.1231894.
[33] M. S. Yorgun and R. B. Rood, “A decision tree algorithm for investigation of model biases related to dynamical cores and physical
parameterizations,” Journal of Advances in Modeling Earth Systems, vol. 8, no. 4, pp. 1769–1785, Dec. 2016, doi:
10.1002/2016MS000657.
[34] Z. Zhang, Z. Zhao, and D.-S. Yeom, “Decision tree algorithm- based model and computer simulation for evaluating the effectiveness
of physical education in Universities,” Complexity, vol. 2020, pp. 1–11, Oct. 2020, doi: 10.1155/2020/8868793.
[35] A. K. Pandey, P. M. Agarkar, A. P. L. Esteban, V. Selvakumar, A. Gupta, and S. V. Athawale, “Cluster based grid computing with
privacy preserving optimization using deep learning technique,” International Journal of Intelligent Systems and Applications in
Engineering, vol. 10, no. 2s, pp. 272–275, 2022.
Machine learning classifiers for fall detection leveraging LoRa communication network (I. V. Subba Reddy)
84 ISSN: 2089-4864
BIOGRAPHIES OF AUTHORS
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 1, March 2024: 76-84