Next Article in Journal
Community-Aware Network Dismantling via Gateways: Large-Scale Evaluation on LFR Benchmarks
Next Article in Special Issue
Edge-AI Enabled Wearables for Construction Safety: Real-Time Physiological Monitoring and Localised Data Processing
Previous Article in Journal
A Hybrid CNN–LSTM–Attention Framework for Intrusion Detection in Smart Mobility Networks
Previous Article in Special Issue
A Multicriteria Framework for Evaluation and Selection of Conversational AI Assistants in Mental Health
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Wearable System for Real-Time Fall Detection on Resource-Constrained Devices

1
Department of Computer Applications, Manipal University Jaipur, Jaipur 303007, Rajasthan, India
2
Doon School of Advanced Computing, DBS Global University, Dehradun 248011, Uttarakhand, India
3
Department of Electrical, Electronics, and Computer Engineering, Cape Peninsula University of Technology, Cape Town 7535, South Africa
4
School of Computer Sciecne and Engineering, Chandigarh University, Unnao 140413, Uttar Pradesh, India
*
Authors to whom correspondence should be addressed.
Future Internet 2026, 18(4), 211; https://doi.org/10.3390/fi18040211
Submission received: 4 March 2026 / Revised: 10 April 2026 / Accepted: 13 April 2026 / Published: 16 April 2026
(This article belongs to the Special Issue Artificial Intelligence-Enabled Smart Healthcare)

Abstract

In this study, we propose a wearable fall detection system that combines wearable sensors, TinyML model, and IoT-based communication for real-time monitoring and detection of falls. The system is designed for resource-constrained IoT devices where memory, power, and processing capacity are limited. The system works by collecting body motion data using accelerometer sensors placed on the human body. The data is then processed using a feedforward neural network trained on preprocessed signals. The trained model is quantized so that it can run on low-power embedded hardware with small memory size. The model performs inference directly on the device. This reduces latency and avoids sending raw sensor data to the cloud. When a fall is detected, the result is sent through Bluetooth to a gateway. The gateway forwards the data to a cloud server using the MQTT protocol. The cloud stores the data and supports monitoring and analysis. The experimental results show that the quantized TinyML model achieves 98.40% accuracy with more than 80% F1-score and more than 99% recall. The deployed model uses only ∼5 KB of RAM and ∼40 KB of flash memory. The inference time is 7 ms per class. These results show that wearable sensing with quantized TinyML models and IoT communication can provide fast and reliable fall detection for real-world safety monitoring systems.

1. Introduction

Human Activity Recognition is a growing research field that focuses on developing machine learning models to detect and classify different human activities. The activity recognition system is used in many domains such as healthcare, sports training, and child monitoring. Traditional activity detection systems use fixed sensors in the environment or sensors attached to different parts of the human body. These setups can be uncomfortable and inconvenient for the person who uses them. The progress in TinyML and embedded machine learning have now enabled machine learning models for activity recognition to run directly on resource-constrained microcontrollers, which as a result reduces latency, bandwidth for sending and receiving data, and dependence on cloud inference [1,2,3].
The motivation for this work comes from the need to improve human safety using practical and reliable technology. Fall detection is an important application in healthcare monitoring, especially for older adults, due to the high risk of injury, disability, and mortality associated with falls. The proposed approach may also be relevant for individuals with mobility impairments, neurological conditions, or balance disorders that increase the risk of falling. However, the present study does not include clinical validation for these populations and is limited to controlled experimental evaluation. Early detection helps in providing timely assistance, reducing the severity of injuries, and supporting better patient care. In healthcare, continuous monitoring with wearable systems also helps detect abnormal motion patterns and possible health events at an early stage, which may contribute to reducing long-term medical costs.
Conventional fall detection systems employ wearable technologies such as smartphones, chest straps, pendants, buttons, and smartwatches and are commonly based on inertial sensors embedded in these devices. These systems continuously monitor body movement and orientation, enabling real-time identification of abnormal motion patterns associated with falls. However, such devices can be uncomfortable or inconvenient, which may reduce user acceptance. In addition, fixed sensors placed on floors or walls may not work effectively in all situations, particularly in outdoor environments. Because of this, researchers are developing unobtrusive and effective fall detection systems.
Recent developments in IoT and machine learning models that run locally on-device have opened up new opportunities in applications such as activity tracking and fall detection. IoT enables communication and data flow between devices, while lightweight machine learning models can perform inference on resource-constrained hardware such as microcontrollers. In this work, a hybrid fall detection framework is proposed that combines supervised TinyML-based classification with K-means-based anomaly detection. The classification model identifies predefined activities such as falling, walking, and idle, while the anomaly detection module provides complementary information by identifying motion patterns that deviate from normal behavior [4,5,6,7,8,9].
IoT-enabled wearable devices are widely used in healthcare monitoring, sports and rehabilitation, smart homes, assisted living, and industrial safety. However, many existing IoT systems still depend on continuous transmission of raw sensor data to remote cloud servers for inference, which as a result increases inference latency and is also a privacy risk. Such systems also depend on continuous network connectivity, which can make them less reliable in case of poor or no-connectivity environments. These limitations highlight the importance of on-device intelligence, which makes the machine learning models run directly on edge devices such as microcontrollers, reducing cloud dependency, lowering latency, and preserving privacy.
TinyML models are executed on low-power and low-resource microcontroller devices and do not rely on cloud servers. This enables the processing of data in real time and is very important for fall detection and activity monitoring. Since the raw sensor data are process by these TinyML models locally on edge devices, it also reduces the overhead of sending data to cloud servers for inference and get back the result thus help in reducing cost and also improves privacy [10,11].
Previous research on fall detection has investigated both cloud-based and edge-based systems. Among these, edge-based approaches provide added benefits such as instant response, improved privacy, reduced network dependence, and lower data transmission requirements [12]. A wearable IoT system using a three-axis accelerometer and low-power wireless sensing combined with real-time analytics achieved high fall classification accuracy with edge computing support [13]. In a smart home environment, an accelerometer-based wearable device connected via Bluetooth Low Energy to a home automation platform demonstrated fall detection with low energy consumption and integration with smart home systems [14]. IoT-based fall detection systems have also been developed that combine wearable sensors with layered network architecture and artificial neural network classifiers to support near real-time processing [15]. Studies on smartphone-based fall detection highlight that built-in accelerometers in mobile devices can be effectively used for fall recognition in IoT-enabled environments, discussing practical challenges and sensor strategies [16].
These studies help explain the main challenges in building human activity recognition systems for low-resource devices. In this study, we propose a wearable smart garment, particularly a jacket, with embedded electronics that uses accelerometer data and a TinyML-based model to detect fall events and other human activities in real time. TinyML models can run on devices with limited memory and power, which makes them suitable for on-device activity detection with the following characteristics:
  • Resource Efficiency: TinyML models are lightweight and optimized, ensuring efficient execution on the edge.
  • Low Latency: This is essential for real-time performance and quick action in applications where immediate response is required.
  • Optimized for Edge Devices: TinyML models are quantized and are an ideal choice for resource-constrained environments.
Despite significant progress in wearable fall detection systems, several limitations remain. Many existing approaches rely on cloud-based processing or smartphone-class hardware, which introduces latency, energy consumption, and dependency on network connectivity. Furthermore, a large number of studies focus primarily on classification accuracy without addressing the constraints of deployment on microcontroller-class devices, such as memory footprint, inference latency, and energy efficiency. In addition, only a limited number of works provide an end-to-end integration of wearable sensing, on-device TinyML inference, and real-time IoT-based alert mechanisms. These gaps highlight the need for a lightweight, embedded, and fully integrated fall detection system that operates efficiently on resource-constrained hardware while maintaining acceptable detection performance.
The main contributions of this work are as follows:
  • A wearable fall detection system is designed using an IMU-based sensing approach integrated into a lightweight embedded platform.
  • A TinyML-based classification model is developed for real-time activity recognition, focusing on three activity classes: falling, walking, and idle.
  • The model is optimized for deployment on resource-constrained microcontroller hardware, and both floating-point and quantized implementations are evaluated.
  • The system integrates on-device inference with an IoT-based communication pipeline to enable real-time alert transmission.
  • The study provides detailed evaluation metrics along with deployment considerations, including memory usage, latency, and system feasibility.
  • Limitations related to dataset size, validation strategy, and real-world generalization are discussed to guide future improvements.
The system proposed in this study is also useful outside healthcare applications. It can also be used in sports and physical training, where real-time movement analysis helps to evaluate performance. The rest of the paper is organized as follows. Section 2 reviews related work on wearable fall detection and activity monitoring. Section 3 explains the system design and methods. Section 4 presents the results and performance. Section 5 gives the conclusion and future work.

2. Related Work

Fall detection and Human Activity Recognition (HAR) have received strong research attention in recent years. These systems are applied in healthcare, sports, and security. Different techniques have been studied, including wearable sensors, ambient sensors, and computer vision systems. Wearable sensors are the most commonly used option among these. They are simple to use and easy to deploy. However, long-term use of wearable sensors can be uncomfortable. In some cases, the sensor data can also be noisy or unreliable.
Qaness et al. [17] examines how metaheuristic optimization algorithms can improve fall detection and HAR using sensor data. The authors have employed different metaheuristic feature selection techniques to improve classification performance. They have employed SVM and Random Forest techniques. They also applied preprocessing and segmentation techniques. Different strategies, like multi-class involving seven datasets and binary classification on the Sis-Fall dataset and the experimental results, have shown that these optimization techniques have improved the overall performance for both HAR and fall detection.
The top-performing technique from the Challenge: Up Multimodal Fall Detection competition was [18]. This work pertains to finding out what happens when someone falls, which is important because falls are a big cause of injuries in elderly individuals. In the proposed system, five wearable inertial measurement devices like gyroscopes and accelerometers are used. To find daily activities and falls, a machine learning technique that combines data from multiple sensors is used. Syed et al. [19] have suggested a system that takes into account both the direction and intensity of falls. The data from the inertial measurement units is split into windows that do not overlap. Then, an FNN is used to obtain features from the data. An extreme gradient boosting classifier is used to perform the final classification.
A different sensing approach based on millimeter wave sensing for human activity recognition is proposed [20]. Instead of using micro-Doppler features or large labeled datasets, the method uses five features with physical meaning. These features are used to build a feature-driven recognition system. For smart healthcare, a multimodal deep learning fusion approach is proposed, which combines visual data and multi-sensory data [21]. It uses convolutional long short-term memory (ConvLSTM) and self-attention mechanisms for activity recognition, a technique that combines motion data from IMUs with audio data from smartwatches for human activity detection using deep learning techniques [22]. The network design of a smartwatch-based monitoring system is described [23]. The system collects bio-signals and recognizes activities in a home environment. Bluetooth Low Energy is used for data transmission to reduce cost and remove the need for a smartphone. A central node selects the best gateway to receive data from the smartwatches. The system is applied to fall detection
Boutellaa et al. [24] have proposed a framework using tensors to represent data from wearable inertial sensors for fall detection and HAR. To reduce the data size while keeping important information, multilinear principal component analysis is applied. Results on a public dataset show that tensor-based data representation works better than simple concatenated vectors. Li et al. [25] have designed a multilayer bi-LSTM-based multimodal fusion model for the identification of human activity. The model is used to detect normal activities and high-risk events such as falls. The system uses data from FMCW radar and wearable sensors. Hard fusion and soft feature fusion methods are applied. These are then combined using a hybrid fusion approach. The method achieves 96% accuracy and performs well across many participants. Saleh et al. [26] have designed a low-cost and high-accuracy machine learning-based fall detection system for wearable devices. The system uses an online feature extraction method to capture time-related patterns of falls. The model is designed to balance accuracy and computational cost. The model requires less than 500 floating point operations per second. This allows it to run on low-power wearable devices. Tests on a large open dataset show accuracy above 99.9%.
Hnoohom et al. [27] have explored how multiple sensors in wearable devices can be used to detect complex human activities such as smoking, eating, and drinking. The authors show that using two inertial measurement units improves performance. These units include accelerometers and gyroscopes. The study also analyzes how different window sizes affect the performance of deep learning models for complex activity recognition. A CNN-based method for HAR using wearable inertial sensors is proposed [28]. The model uses a shallow CNN with cross-channel communication to capture more useful features from sensor data. To make the model lightweight for embedded systems, redundant cross-channel information is reduced, and graph neural networks are used so that one channel can communicate with others. Experiments on standard HAR datasets show better accuracy than baseline deep models and faster inference on embedded devices.
Several standard public datasets are widely used in wearable fall detection research, including SisFall, MobiFall, MobiAct, UniMiB SHAR, and KFall, which support fairer benchmarking of proposed methods [29,30,31,32,33,34].
Although prior studies demonstrate promising results in wearable fall detection and activity recognition, several limitations can be observed. Many approaches rely on high-performance computing platforms or do not explicitly consider deployment constraints such as memory usage and inference latency. In addition, only a limited number of works provide detailed reporting of embedded implementation metrics, including quantization effects and real-time performance on microcontrollers. Furthermore, some studies utilize complex multi-sensor setups that may not be suitable for wearable or low-power applications. These limitations motivate the present work, which focuses on a compact, wearable, and resource-efficient TinyML-based system with explicit evaluation of deployment feasibility. Table 1 summarizes the main approaches, datasets, and performance reported in these studies.
Numerous algorithms and system designs have been proposed to improve the accuracy of human motion monitoring systems while maintaining low computational complexity. Wearable sensors have emerged as a key modality in this domain due to their ability to continuously capture motion-related data. Machine learning techniques enable the identification and classification of complex human motions, including falls and daily activities such as eating, drinking, and smoking. However, achieving high accuracy while operating under strict computational and energy constraints remains a significant challenge, limiting the deployment of many existing approaches in real-world settings. In this study, we propose FNN-based TinyML model for fall detection on resource-constrained wearable devices. The system runs the model directly on the device. This reduces latency. We applied post-training quantization to reduce the memory footprint of the TinyML model without decreasing it accuracy. An anomaly detection method is also added to improve robustness and reliability of the TinyML model. This helps in detecting abnormal motion patterns. The proposed method is suitable for real-time fall detection and human motion analysis-based applications.

3. Materials and Methods

3.1. Dataset

Accelerometer data is used in this study to detect fall and non-fall events. The dataset is collected using wearable sensor nodes. These nodes continuously record acceleration, orientation, and body motion. The data collection includes fall events along with common daily activities such as walking and idle states. The sensor measurements produce time-series data. This data captures changes in movement and body orientation and represent different physical activities and behaviors.
Table 2 shows a sample of the collected dataset with accelerometer readings and their timestamps. The timestamp shows the time when each sensor value is recorded. This helps in analyzing the time-based change in motion. The sample in Table 2 is from one activity class. Similar datasets are collected for all activity classes. These include idle, walking, and falling. This data is used for supervised learning and classification.
Each row in the dataset consists of multiple attributes, including acceleration values along the three spatial axes ( A x , A y , A z ). The data are sampled at regular intervals and capture variations in acceleration and angular velocity across different activity classes. This data is used to train the machine learning model to differentiate between motion patterns associated with falls and normal daily activities such as walking. The wearable sensor node, which integrates an accelerometer is embedded within the garment to collect motion data and processed using a TinyML-based model for on-device activity classification.

3.2. Data Collection

The dataset used in this study was collected from 20 participants of Indian origin under controlled experimental conditions. The participants performed three activity classes such as falling, walking, and idle for the motion patterns. The data were recorded using a wearable inertial sensor placed on a jacket below the neck near the chest region. This provides stable and consistent motion signals for fall detection. The accelerometer data along three axes ( A x , A y , A z ) at a constant sampling frequency of 62.5 Hz were collected, and zero-padding was applied during preprocessing to ensure uniform input length.
Each trial consists of a 2 s window of sensor data, and approximately 2 h of data were collected in total. Based on this configuration, the dataset contains approximately 3600 trials (2 h = 7200 s, divided into 2 s windows). The annotation process was performed manually by labeling each segment, as shown in Figure 1, Figure 2 and Figure 3 according to the performed activity, ensuring correct alignment between sensor signals and activity classes.
The dataset was divided into training, validation, and testing sets using a split strategy of ratio 70:15:15. The samples from the same participants appear in both training and testing sets, which reflects a subject-dependent evaluation setting. While this setup allows the model to learn personalized motion patterns, future work will focus on subject-independent evaluation to further assess generalization performance across unseen individuals.
The acceleration magnitude can be computed from the three-axis accelerometer values:
a x 2 + a y 2 + a z 2
The raw sensor data were segmented into fixed-length windows using a sliding window approach. Each segment was labeled according to the performed activity. The dataset was then divided into training, validation, and testing subsets.
The data split was performed at the window level. Therefore, samples from the same participant may appear in both training and validation sets. This should be considered when interpreting the reported performance, as subject-independent generalization is not fully evaluated in the present study.
All participants provided informed consent prior to data collection.

3.3. Pre-Processing

The accelerometer data is normalized so that all sensor values are on the same scale. This helps the model learn better. The normalization is performed using the following formula.
Let X be a set of data points as denoted below.
X = [ x 1 , x 2 , x 3 , , x n ]
The mean of X, denoted as m e a n ( X ) , is calculated as:
m e a n ( X ) = 1 n · ( x i )
Here, n represents the total number of data points. The standard deviation of X, denoted by s t d ( X ) , is computed as:
s t d ( X ) = 1 n · ( x i m e a n ( X ) ) 2
For a given data point x i , the normalized value x n i
x n i = x i m e a n ( X ) s t d ( X )
This equation can be applied to each data point in X to normalize it. The dataset is then segmented into fixed window size to capture the temporal patterns.
Applying this formula to all values in X normalizes the full dataset. The data is then split into fixed-length time windows to capture patterns over time. The following notation explains the moving window method, where the window shifts forward by a fixed step size.
Let:
  • D represent the original dataset
  • S i represent the i-th data segment
  • w be the window size (number of data points)
  • s be the stride, which is how far the window moves each time
The moving window segmentation can be written as:
S i = D [ i s : i s + w ]
where:
  • D [ i s : i s + w ] is a part of the original dataset D, starting at index i s and ending at i s + w .
  • i is the segment number, which shows the start of each window.
Using this formula, each segment S i contains a fixed-size window of data with length w. The window then moves forward by the stride s to create the next segment. Figure 4 shows the segmented data after normalization.

3.4. Feature Extraction

Feature engineering is carried out after sensor data collection and before the classification step. Most studies use orientation invariant features such as magnitude. This ensures that the results do not depend on how the device is worn or placed. This makes the system more flexible and user friendly. The main engineered features are explained below. These features are computed from the acceleration components ( a x , a y , a z ) collected over N time samples [35,36,37,38,39,40,41,42,43,44,45,46,47,48,49].

3.4.1. Magnitude Features

Acceleration magnitude:
a t = a t , x 2 + a t , y 2 + a t , z 2
G-Force:
G t = a t 9.8

3.4.2. Differential Features

Gravity cross-rate:
Z g = 1 2 N i = 0 N 1 s i g n ( a i g u ) s i g n ( a i 1 g l )
where
g u = g u p p e r b o u n d g l = g l o w e r b o u n d
Tilt:
cos Θ t 1 , t 2 = a t 1 · a t 2 a t 1 a t 2
Velocity:
V t = V t 0 + i = t 0 t a i d t
Absolute Acceleration Magnitude Variation:
A A M V I = 1 | I | i I a i + 1 a i

3.4.3. Statistical Features

Standard deviation:
σ k = 1 N 1 i = 0 N 1 ( a i , k μ k ) 2
Skewness:
μ k ( 3 ) = 1 N 1 i = 0 N 1 ( a i , k μ k ) 3 σ k 3
Kurtosis:
μ k ( 4 ) = 1 N 1 i = 0 N 1 ( a i , k μ k ) 4 σ k 4

3.4.4. Time Domain Features

To capture how activities change over time, time duration features are often used in human activity recognition and fall detection. These features describe how long different body movements last, which helps the model tell activities apart and detect rare events such as falls. Some common examples of time duration features used in these tasks are given below:
  • Fall Duration (FD): The time from the start of a fall to the moment of impact or landing.
  • Activity Duration (AD): The time spent doing an activity such as walking, or idle. It shows how long the activity lasts.
  • Transition Duration (TD): The time taken to move from one activity to another, for example from walking to idle, or from falling to idle.
  • Post-Fall Recovery Duration (PFRD): The time taken to recover after a fall. It shows how long a person needs to regain balance or return to normal activity.

3.5. System Model

In this proposed system, a wearable jacket uses sensors and a TinyML model to detect activities such as falling, idle, and walking. The model based on a feedforward neural network (FNN) is used.
The proposed classification model is implemented as a lightweight feedforward neural network (multilayer perceptron). The network consists of two hidden layers with 40 and 20 neurons, respectively. Each hidden layer performs a linear transformation followed by a nonlinear activation function. The operation of the l-th hidden layer is defined as:
h ( l ) = f W ( l ) h ( l 1 ) + b ( l )
where h ( l 1 ) represents the input to the layer, W ( l ) is the weight matrix, b ( l ) is the bias vector, and f ( · ) denotes the ReLU activation function. To reduce overfitting, a dropout layer with a dropout rate of 0.5 is applied after the hidden layers. Additionally, L1 regularization is incorporated to encourage sparsity and improve generalization.
The final output layer uses the softmax function to produce class probabilities:
y ^ = softmax W ( o ) h ( L ) + b ( o )
where L denotes the last hidden layer and ( o ) represents the output layer. The softmax function converts logits into normalized probability values as follows:
σ ( z ) i = e z i j = 1 K e z j
Since this is a multi-class classification problem, the categorical cross-entropy loss function is used to measure the discrepancy between predicted and true labels:
L = 1 N n = 1 N i = 1 C y n , i log ( y ^ n , i )
where N is the number of samples, C is the number of classes, y n , i is the ground-truth label, and y ^ n , i is the predicted probability.
The network is trained using the Adam optimization algorithm, which computes adaptive learning rates based on the first and second moments of the gradients. The first moment estimate is given by:
m t = β 1 m t 1 + ( 1 β 1 ) g t
The second moment estimate is defined as:
v t = β 2 v t 1 + ( 1 β 2 ) g t 2
To correct initialization bias, the bias-corrected estimates are computed as:
m ^ t = m t 1 β 1 t , v ^ t = v t 1 β 2 t
Finally, the network parameters are updated using:
w t + 1 = w t α m ^ t v ^ t + ϵ
The proposed classification model is implemented as a lightweight FNN designed for deployment on resource-constrained devices. The input to the model consists of feature vectors extracted from segmented accelerometer data. The input layer receives a fixed-length feature vector, which is followed by two fully connected hidden layers with 40 and 20 neurons, respectively. Each hidden layer uses the Rectified Linear Unit (ReLU) activation function to introduce non-linearity. Dropout regularization is applied between layers to reduce overfitting. The final output layer uses a softmax activation function to classify the input into one of three activity classes: falling, walking, and idle. This architecture is selected due to its low computational complexity, making it suitable for real-time inference on embedded microcontroller platforms.
The model is trained for 50 epochs with a learning rate of 0.0005. The FNN is implemented using Keras [50]. After training, the model is converted to TensorFlow Lite using INT8 quantization [51,52] and also exported in Float32 format for deployment.
Figure 5 shows the FNN architecture used to extract and classify fall-related features from the input data. The selection of model parameters and activation functions helps improve classification accuracy.

3.6. Anomaly Detection

In addition to the supervised classification model, an unsupervised anomaly detection module is incorporated to enhance the robustness of the system. The anomaly detection approach learns the patterns of known activities in the feature space using a clustering-based representation, similar to approaches used in embedded machine learning frameworks for detecting out-of-distribution data [53]. During training, feature vectors corresponding to known motion patterns are used to form clusters that represent the normal operating behavior of the system.
Specifically, the anomaly detection module operates on feature vectors of dimensionality D = 9 . Before clustering, each feature is normalized using mean and scale parameters obtained during training so that all feature dimensions contribute consistently to the clustering process. The learned representation consists of multiple clusters, where each cluster is defined by a centroid c k and a maximum admissible reconstruction error or boundary radius r k .
During inference, each incoming feature vector is compared against the learned clusters, and an anomaly score is computed based on its distance from the nearest cluster representation. This score reflects how well the input sample fits within the patterns observed during training. Unlike classification models, the anomaly detection module produces a continuous anomaly score rather than a discrete class label. The anomaly score is computed as the minimum distance between the input feature vector and the boundary of the nearest learned cluster:
d ( x ) = min k x c k 2 r k
where x represents the input feature vector, c k denotes the centroid of the k-th cluster, and r k denotes the corresponding cluster boundary estimated during training. If a sample lies within the boundary of a learned cluster, the anomaly score is negative or close to zero, indicating that the sample is consistent with previously observed patterns. Positive anomaly scores indicate that the sample lies outside the learned clusters and therefore deviates from known activity patterns. To distinguish between known and unknown patterns, a threshold T is applied to the anomaly score.
In this work, the threshold is selected empirically from the anomaly score distribution obtained on validation data. Since known activity samples typically produce negative or near-zero anomaly scores, while unseen or out-of-distribution samples produce larger positive values, the threshold is chosen slightly above zero to balance false positives and anomaly sensitivity. This procedure improves reproducibility by explicitly linking threshold selection to the observed validation score distribution rather than to an arbitrary fixed value.
Anomaly ( x ) = 1 , if d ( x ) > T 0 , if d ( x ) T
In this framework, samples that fall within the learned clusters correspond to known activities such as walking, idle, or fall patterns observed during training. In contrast, samples that lie outside these clusters are treated as anomalous, indicating motion patterns that were not present in the training data, such as unseen gestures or unexpected movements. The anomaly detection module complements the supervised TinyML classifier by identifying patterns that cannot be confidently classified into predefined categories. This enables the detection of out-of-distribution motion patterns and improves system reliability by handling both known and previously unseen activities.
The clustering-based anomaly module therefore serves as a complementary safeguard to the supervised classifier. While the classifier predicts one of the predefined activity classes, the anomaly detector evaluates whether the input pattern is sufficiently similar to the data observed during training. This hybrid design improves robustness in practical deployment, especially when the system encounters motion patterns that were not explicitly represented in the labeled training set.

3.7. Data Pipeline

Although the hardware platform includes both accelerometer and gyroscope sensors, the present study utilizes only the three-axis accelerometer data ( A x , A y , A z ) for model training and evaluation. The gyroscope data were not included in the current model to maintain simplicity and reduce computational overhead. Future work may explore multimodal sensor fusion to improve classification performance.
The built-in accelerometer is used to measure acceleration and changes in velocity along one or more directions. Its main objective is to monitor and identify physical activities of a person to detect and respond when fall has occurred. The accelerometer detects a change in velocity whenever a fall occurs. This information is then used by the TinyML model to identify the fall. In the proposed system, an algorithm is designed to determine if a fall has occurred and if emergency medical attention is required.
Accelerometers provide real-time data to detect falls and other physical activity of a person. This allows for early involvement in lowering the risk of fall-related injuries. Accelerometers and gyroscopes are used to train the TinyML model to improve detection of falls and help in taking necessary action by giving an alert about a fall. As a result, medical personnel can respond to falls and provide rapid help and the appropriate care.
Figure 6 shows the overall system architecture of the proposed fall detection system. The pipeline includes sensor data acquisition, preprocessing, feature extraction, and TinyML-based classification, followed by IoT-based alert transmission. This architecture highlights the integration of embedded inference with real-time communication.
The TinyML model detects the human activity or fall with the help of data from the accelerometer, and then the data is transferred to the gateway device via Bluetooth Low Energy (BLE). The data is further transmitted from the gateway device to an IoT cloud server using the MQTT protocol. Finally, a web application sends an alert to medical professionals if a fall has occurred, which allows them to respond quickly to take care of a person or patient. The proposed system enables a continuous flow of information and ensures effective communication between the sensor node, gateway device, cloud server, and healthcare experts. In this way, the system improves fall detection and response to falls.
The overall data processing pipeline of the system consists of the following steps:
  • Raw accelerometer signals are acquired from the wearable device.
  • The signals are normalized to reduce scale variations.
  • The data are segmented into fixed-length overlapping windows.
  • Feature extraction is performed on each segment to obtain a compact representation.
  • The extracted feature vectors are provided as input to the TinyML classifier.
  • The model performs real-time inference and outputs activity predictions.
The proposed system differentiate various human activities like falling, idle, and walking, with precise accuracy. The TinyML model is trained on labelled activity data to recognize such activities by analyzing patterns of body movement. Figure 6 and Figure 7 used in this section were created manually and later visually refined using AI-assisted graphic tools to improve clarity, layout alignment, and visual presentation.

4. Experimentation, Result, and Analysis

The wearable sensor-based application in this study aims to improve user safety by quickly and accurately recognizing human activities. Spectral features are used to achieve better accuracy in fall detection and activity recognition. This method applies the Fast Fourier Transform (FFT) to convert signals from the time domain to the frequency domain and then analyzes the frequency spectrum for classification [54].
Different filters are applied to the signals to focus on useful frequency ranges and extract spectral features. The Butterworth filter [55,56] is commonly used for this purpose. In this study, a low-pass Butterworth filter is applied with an 8 Hz cut-off frequency with one scale axis and eight poles.
FFT is used to convert the signal to the frequency domain to obtain spectral information. An FFT length of 64 is used. To improve the quality of spectral features, overlapping FFT frames are used to provide smoother and more stable frequency responses. The combination of filtering, overlapping FFT frames, and using the spectrum log improves the spectral features for fall detection and activity classification, as shown in Figure 8.
The TinyML model achieves high training accuracy for the three classes (falling, walking, and idle). This shows that the model has learned the patterns of these activities well from the training data. The following metrics are used to evaluate the model’s performance.
A c c u r a c y = T P + T N T P + T N + F P + F N
P r e c i s i o n = T P T P + F P
R e c a l l = T P T P + F N
F 1 S c o r e = 2 · P r e c i s i o n · R e c a l l P r e c i s i o n + R e c a l l
Figure 9 illustrates the training and validation accuracy of the model over epochs. The model demonstrates stable convergence, as indicated by the close alignment between training and validation curves. This suggests that the model generalizes reasonably well within the experimental setup.
The confusion matrices in Figure 10 for the Float32 and INT8 models show that both model variants achieve highly reliable classification of falling, idle, and walking activities on the validation set. The Float32 model achieves an overall accuracy of 98.93%, correctly classifying all fall and walking samples, with only minor confusion observed for the idle class. The INT8 quantized model achieves a very similar accuracy of 98.40%, again perfectly classifying all falling samples and correctly identifying most of the walking samples, while slightly increasing the misclassification of idle samples. The small drop in accuracy after quantization is marginal (0.5%) and is mainly due to additional confusion between idle and neighboring activity classes, which exhibit similar inertial signal patterns during short transitions. Overall, the confusion matrices demonstrate that post-training INT8 quantization preserves the discriminative capability of the model while enabling efficient deployment on resource-constrained edge devices, making the trade-off between performance and efficiency highly favorable.
Table 3 shows the class-wise precision, recall, and F1-score for the Float32 model. The results indicate strong and balanced performance across all three activity classes. The falling class achieves perfect recall, which means that all fall events in the evaluation set are correctly identified. The idle and walking classes also show high precision and recall, indicating stable recognition of normal daily activities. The Float32 model achieves an overall accuracy of 98.93%, demonstrating reliable classification performance under the controlled experimental setup.
Table 4 presents the results for the INT8 quantized model. After quantization, a slight reduction in precision and F1-score is observed, particularly for the idle class. However, the falling class still achieves perfect recall, indicating that fall events remain reliably detected. The overall accuracy remains high at 98.40%, showing that quantization introduces only a minor performance loss while improving suitability for deployment on resource-constrained embedded devices.
Table 5 compares both models. The Float32 model shows slightly better ROC-AUC and lower loss than the INT8 model. This confirms a small trade-off between performance and deployment efficiency. The results show that the INT8 model provides a good balance between accuracy and computational efficiency for deployment on resource-constrained devices. The results indicate that the proposed TinyML-based model provides competitive performance while maintaining low computational complexity, making it suitable for embedded deployment.
The Data Explorer plot in Figure 11 shows how the training samples cluster in feature space after being learned by the model. Each dot is one sensor window; nearby dots represent similar motion patterns. The clear separation between idle, walking, and the small falling cluster explains the high accuracy, while the few red/orange points at cluster edges indicate ambiguous transition samples where misclassifications occur.
The anomaly detection results are shown in Figure 12, which illustrates the distribution of extracted features in the feature space. The clustering behavior shows that the learned activity patterns form distinct regions, while samples that fall outside these regions can be treated as anomalous. In addition, the anomaly detection module provides an anomaly score that indicates how far an input sample lies from the learned clusters.
The combined use of classification and anomaly detection highlights the hybrid nature of the system, where classification provides direct recognition of known activities while anomaly detection supports the identification of previously unseen or out-of-distribution motion patterns [57,58,59,60].
The model is deployed as an Arduino library and uploaded to the Nicla device [61]. Figure 13 shows the prototype of the system consisting of a wearable jacket embedded with a sensor device that runs the TinyML model. Figure 14 demonstrates that the model correctly identifies all three classes with high confidence scores.
Both of these figures present the hardware prototype of the wearable fall detection system. This demonstrates the practical feasibility of deploying the proposed approach on a wearable platform.
Table 6 presents a quantitative comparison between the proposed system and representative fall detection approaches reported in the literature. The comparison focuses on key performance metrics, including accuracy, recall, F1-score, computational cost, and memory footprint, which are essential for evaluating both recognition performance and suitability for embedded deployment. Only explicitly reported values are included, while unavailable metrics are denoted as NR (Not Reported) to maintain consistency.
As observed, several existing approaches achieve high detection accuracy, with some methods reporting performance above 99%. However, most of these studies do not provide complete information regarding deployment-related characteristics such as inference latency and memory usage, which are critical for real-time wearable and TinyML-based systems. In contrast, the proposed approach provides a comprehensive evaluation by reporting both classification performance and embedded implementation metrics. The proposed Float32 and INT8 models achieve competitive accuracy while maintaining low inference time (11 ms and 7 ms, respectively) and a compact memory footprint, demonstrating the practicality and efficiency of the system for resource-constrained wearable fall detection applications.
The results indicate that the proposed system achieves strong classification performance under the controlled experimental setup. However, the findings should be interpreted as a proof-of-concept rather than a fully validated real-world deployment. The limited number of fall samples and the absence of subject-independent validation may affect generalization to unseen users and real-world conditions.

5. Conclusions and Future Scope

This study presents a wearable TinyML-based fall detection system designed for resource-constrained embedded platforms. The proposed approach demonstrates the feasibility of performing real-time activity classification using a lightweight neural network deployed on a microcontroller. The results show that the system achieves promising performance for detecting falling, walking, and idle activities under controlled experimental conditions. The use of model optimization techniques, including quantization, enables efficient deployment with low memory usage and reduced inference latency. However, the current study has several limitations. The dataset size is relatively limited, particularly for fall events, and the evaluation does not include subject-independent validation. As a result, the findings should be interpreted as a proof-of-concept rather than a fully generalized real-world solution.
Future work will focus on collecting larger and more diverse datasets, including evaluation of standard benchmark datasets such as SisFall, MobiFall, MobiAct, UniMiB SHAR, and KFall to enable broader comparison with prior studies. Additional directions include subject-independent evaluation, incorporation of additional sensor modalities such as gyroscope data, and validation of the system in real-world scenarios with continuous monitoring. Furthermore, future studies should provide a more comprehensive dataset description, including participant count, demographic summary, exact sampling frequency, and detailed trial information.

Author Contributions

Methodology: T.M., G.M.U., S.T. and P.K.S.; Conceptualization and Data Curation: V.K.M., G.G., P.K.S. and V.B.; Writing—Original Draft Preparation: T.M., P.K.S., G.G. and V.B.; Writing—Review and Editing: T.M., G.M.U., S.T., V.K.M., V.B. and P.K.S.; Formal Analysis and validation: S.T., V.K.M., G.G., V.B. and P.K.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The dataset used in this study can be made available from the corresponding author on reasonable request.

Acknowledgments

No AI tools were used in writing this manuscript. However, the authors acknowledge the use of AI-assisted graphic editing tools to improve the visual presentation of Figure 6 and Figure 7. These tools were used only for layout and stylistic refinement of the diagrams prepared by the authors.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. David, R.; Duke, J.; Jain, A.; Reddi, V.J.; Jeffries, N.; Li, J.; Kreeger, N.; Nappier, I.; Natraj, M.; Wang, T.; et al. TensorFlow Lite Micro: Embedded machine learning for TinyML systems. Proc. Mach. Learn. Syst. 2021, 3. [Google Scholar]
  2. Contoli, C.; Freschi, V.; Lattanzi, E. Energy-aware human activity recognition for wearable devices: A comprehensive review. Pervasive Mob. Comput. 2024, 104, 101976. [Google Scholar] [CrossRef]
  3. Thottempudi, P.; Acharya, B.; Moreira, F. High-performance real-time human activity recognition using machine learning. Mathematics 2024, 12, 3622. [Google Scholar] [CrossRef]
  4. Rodrigues, T.B.; Salgado, D.P.; Cordeiro, M.C.; Osterwald, K.M.; Teodiano Filho, F.B.; de Lucena, V.F., Jr.; Murray, N. Fall detection system by machine learning framework for public health. Procedia Comput. Sci. 2018, 141, 358–365. [Google Scholar] [CrossRef]
  5. Wang, X.; Ellul, J.; Azzopardi, G. Elderly fall detection systems: A literature survey. Front. Robot. AI 2020, 7, 71. [Google Scholar] [CrossRef]
  6. Li, S.; Xu, L.D.; Zhao, S. The internet of things: A survey. Inf. Syst. Front. 2015, 17, 243–259. [Google Scholar] [CrossRef]
  7. Greengard, S. The Internet of Things; MIT Press: Cambridge, MA, USA, 2021. [Google Scholar]
  8. Jobanputra, C.; Bavishi, J.; Doshi, N. Human activity recognition: A survey. Procedia Comput. Sci. 2019, 155, 698–703. [Google Scholar] [CrossRef]
  9. Vrigkas, M.; Nikou, C.; Kakadiaris, I.A. A review of human activity recognition methods. Front. Robot. AI 2015, 2, 28. [Google Scholar] [CrossRef]
  10. Dhar, S.; Guo, J.; Liu, J.; Tripathi, S.; Kurup, U.; Shah, M. A survey of on-device machine learning: An algorithms and learning theory perspective. ACM Trans. Internet Things 2021, 2, 1–49. [Google Scholar] [CrossRef]
  11. Murshed, M.S.; Murphy, C.; Hou, D.; Khan, N.; Ananthanarayanan, G.; Hussain, F. Machine learning at the network edge: A survey. ACM Comput. Surv. 2021, 54, 1–37. [Google Scholar] [CrossRef]
  12. Mrozek, D.; Koczur, A.; Małysiak-Mrozek, B. Fall detection in older adults with mobile IoT devices and machine learning in the cloud and on the edge. Inf. Sci. 2020, 537, 132–147. [Google Scholar] [CrossRef]
  13. Kulurkar, P.; Dixit, C.K.; Bharathi, V.C.; Monikavishnuvarthini, A.; Dhakne, A.; Preethi, P. AI based elderly fall prediction system using wearable sensors: A smart home-care technology with IoT. Meas. Sens. 2023, 25, 100614. [Google Scholar] [CrossRef]
  14. Sprute, D.; Pörtner, A.; Weinitschke, A.; König, M. Smart fall: Accelerometer-based fall detection in a smart home environment. In Proceedings of the International Conference on Smart Homes and Health Telematics; Springer: Berlin/Heidelberg, Germany, 2015; pp. 194–205. [Google Scholar]
  15. Yacchirema, D.; Suárez de Puga, J.; Palau, C.; Esteve, M. Fall detection system for elderly people using IoT and ensemble machine learning algorithm. Pers. Ubiquitous Comput. 2019, 23, 801–817. [Google Scholar] [CrossRef]
  16. Stampfler, T.; Elgendi, M.; Fletcher, R.R.; Menon, C. Fall detection using accelerometer-based smartphones: Where do we go from here? Front. Public Health 2022, 10, 996021. [Google Scholar] [CrossRef] [PubMed]
  17. Al-Qaness, M.A.; Helmi, A.M.; Dahou, A.; Elaziz, M.A. The applications of metaheuristics for human activity recognition and fall detection using wearable sensors: A comprehensive analysis. Biosensors 2022, 12, 821. [Google Scholar] [CrossRef]
  18. Gjoreski, H.; Stankoski, S.; Kiprijanovska, I.; Nikolovska, A.; Mladenovska, N.; Trajanoska, M.; Gams, M. Wearable sensors data-fusion and machine-learning method for fall detection and activity recognition. In Challenges and Trends in Multimodal Fall Detection for Healthcare; Springer: Cham, Switzerland, 2020; pp. 81–96. [Google Scholar]
  19. Syed, A.S.; Sierra-Sosa, D.; Kumar, A.; Elmaghraby, A. A deep convolutional neural network–XGB for direction and severity-aware fall detection and activity recognition. Sensors 2022, 22, 2547. [Google Scholar] [CrossRef]
  20. Shen, X.; Xiong, Y.; Li, S.; Peng, Z. Indoor human activity recognition using millimeter-wave radio signals. In Proceedings of the International Conference on Sensing, Measurement & Data Analytics in the Era of AI (ICSMD); IEEE: New York, NY, USA, 2022; pp. 1–6. [Google Scholar]
  21. Islam, M.M.; Nooruddin, S.; Karray, F. Multimodal human activity recognition for smart healthcare applications. In Proceedings of the IEEE International Conference on Systems, Man and Cybernetics (SMC); IEEE: New York, NY, USA, 2022; pp. 196–203. [Google Scholar]
  22. Mollyn, V.; Ahuja, K.; Verma, D.; Harrison, C.; Goel, M. SAMoSA: Sensing activities with motion and subsampled audio. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. 2022, 6, 1–19. [Google Scholar] [CrossRef]
  23. Castillo-Sánchez, J.B.; Casilari, E.; Cano-García, J.M.; González-Parada, E.; González-Cañete, F.J. A low-cost home monitoring architecture for human activity recognition using smartwatches. In Proceedings of the IEEE International Mediterranean Conference on Communications and Networking (MeditCom); IEEE: New York, NY, USA, 2022; pp. 172–177. [Google Scholar]
  24. Boutellaa, E.; Ghanem, K.; Tayakout, H.; Kerdjidj, O.; Harizi, F.; Bourennane, S. A tensor approach for activity recognition and fall detection using wearable inertial sensors. In Proceedings of the International Conference of Smart Systems and Emerging Technologies (SMARTTECH); IEEE: New York, NY, USA, 2020; pp. 203–207. [Google Scholar]
  25. Li, H.; Shrestha, A.; Heidari, H.; Le Kernec, J.; Fioranelli, F. Bi-LSTM network for multimodal continuous human activity recognition and fall detection. IEEE Sens. J. 2019, 20, 1191–1201. [Google Scholar] [CrossRef]
  26. Saleh, M.; Jeannès, R.L.B. Elderly fall detection using wearable sensors: A low-cost highly accurate algorithm. IEEE Sens. J. 2019, 19, 3156–3164. [Google Scholar] [CrossRef]
  27. Hnoohom, N.; Jitpattanakul, A.; You, I.; Mekruksavanich, S. Deep learning approach for complex activity recognition using heterogeneous sensors from wearable devices. In Proceedings, 2022 Research, Invention, and Innovation Congress (RI2C); IEEE: New York, NY, USA, 2021; pp. 60–65. [Google Scholar]
  28. Huang, W.; Zhang, L.; Gao, W.; Min, F.; He, J. Shallow convolutional neural networks for human activity recognition using wearable sensors. IEEE Trans. Instrum. Meas. 2021, 70, 2510811. [Google Scholar] [CrossRef]
  29. Sucerquia, A.; López, J.D.; Vargas-Bonilla, J.F. SisFall: A fall and movement dataset. Sensors 2017, 17, 198. [Google Scholar] [CrossRef]
  30. Vavoulas, G.; Pediaditis, M.; Chatzaki, C.; Spanakis, E.G.; Tsiknakis, M. The MobiFall dataset: Fall detection and classification with a smartphone. In Artificial Intelligence: Concepts, Methodologies, Tools, and Applications; IGI Global Scientific Publishing: Hershey, PA, USA, 2017; pp. 1218–1231. [Google Scholar]
  31. Vavoulas, G.; Chatzaki, C.; Malliotakis, T.; Pediaditis, M.; Tsiknakis, M. The MobiAct dataset: Recognition of activities of daily living using smartphones. In Proceedings of the International Conference on Information and Communication Technologies for Ageing Well and e-Health (ICT4AWE 2016), Rome, Italy, 21–22 April 2016; pp. 143–151. [Google Scholar]
  32. Micucci, D.; Mobilio, M.; Napoletano, P. UniMiB SHAR: A dataset for human activity recognition using acceleration data from smartphones. Appl. Sci. 2017, 7, 1101. [Google Scholar] [CrossRef]
  33. Yu, X.; Jang, J.; Xiong, S. A large-scale open motion dataset (KFall) and benchmark algorithms for detecting pre-impact fall of the elderly using wearable inertial sensors. Front. Aging Neurosci. 2021, 13, 692865. [Google Scholar] [CrossRef] [PubMed]
  34. Casilari, E.; Santoyo-Ramón, J.A.; Cano-García, J.M. Analysis of public datasets for wearable fall detection systems. Sensors 2017, 17, 1513. [Google Scholar] [CrossRef] [PubMed]
  35. Shi, Y.; Shi, Y.; Wang, X. Fall detection on mobile phones using features from a five-phase model. In Proceedings of the International Conference on Ubiquitous Intelligence and Computing and Autonomic and Trusted Computing; IEEE: New York, NY, USA, 2012; pp. 951–956. [Google Scholar]
  36. Aguiar, B.; Rocha, T.; Silva, J.; Sousa, I. Accelerometer-based fall detection for smartphones. In Proceedings of the IEEE International Symposium on Medical Measurements and Applications (MeMeA); IEEE: New York, NY, USA, 2014; pp. 1–6. [Google Scholar]
  37. Pierleoni, P.; Pernini, L.; Belli, A.; Palma, L.; Valenti, S.; Paniccia, M. SVM-based fall detection method for elderly people using android low-cost smartphones. In Proceedings of the IEEE Sensors Applications Symposium (SAS); IEEE: New York, NY, USA, 2015; pp. 1–5. [Google Scholar]
  38. Helmy, A.; Helmy, A. Seizario: Novel mobile algorithms for seizure and fall detection. In Proceedings of the IEEE Globecom Workshops; IEEE: New York, NY, USA, 2015; pp. 1–6. [Google Scholar]
  39. Cao, Y.; Chen, S.; Hou, P.; Brown, D. FAST: A fog computing assisted distributed analytics system to monitor fall for stroke mitigation. In Proceedings of the IEEE International Conference on Networking, Architecture and Storage (NAS); IEEE: New York, NY, USA, 2015; pp. 2–11. [Google Scholar]
  40. Vermeulen, J.; Willard, S.; Aguiar, B.; De Witte, L.P. Validity of a smartphone-based fall detection application on different phones worn on a belt or in a trouser pocket. Assist. Technol. 2015, 27, 18–23. [Google Scholar] [CrossRef]
  41. Srisuphab, A.; Silapachote, P.; Phongpawarit, J.; Visetpalitpol, S.; Jirapasitchai, S. Redle: Elderly care on clouds. In Proceedings of the International Joint Conference on Computer Science and Software Engineering (JCSSE); IEEE: New York, NY, USA, 2016; pp. 1–4. [Google Scholar]
  42. Chaitep, T.; Chawachat, J. A three-phase threshold algorithm for smartphone-based fall detection. In Proceedings of the International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON); IEEE: New York, NY, USA, 2017; pp. 183–186. [Google Scholar]
  43. Tsinganos, P.; Skodras, A. A smartphone-based fall detection system for the elderly. In Proceedings of the International Symposium on Image and Signal Processing and Analysis; IEEE: New York, NY, USA, 2017; pp. 53–58. [Google Scholar]
  44. Tran, H.A.; Ngo, Q.T.; Tong, V. A new fall detection system on android smartphone: Application to an SDN-based IoT system. In Proceedings of the International Conference on Knowledge and Systems Engineering (KSE); IEEE: New York, NY, USA, 2017; pp. 1–6. [Google Scholar]
  45. Shahzad, A.; Kim, K. Falldroid: An automated smartphone-based fall detection system using multiple kernel learning. IEEE Trans. Ind. Inform. 2018, 15, 35–44. [Google Scholar] [CrossRef]
  46. Ning, Y.; Hu, S.; Nie, X.; Liang, S.; Li, H.; Zhao, G. Real-time action recognition and fall detection based on smartphone. In Proceedings of the IEEE Engineering in Medicine and Biology Society (EMBC); IEEE: New York, NY, USA, 2018; pp. 4418–4422. [Google Scholar]
  47. Lee, J.S.; Tseng, H.H. Development of an enhanced threshold-based fall detection system using smartphones with built-in accelerometers. IEEE Sens. J. 2019, 19, 8293–8302. [Google Scholar] [CrossRef]
  48. Salama, M.S.; Eskaf, K. An intelligent mobile app for fall detection. In Proceedings of the International Conference on Computing: Theory and Applications (ICCTA); IEEE: New York, NY, USA, 2020; pp. 65–70. [Google Scholar]
  49. Muralidharan, K.; Ramesh, A.; Rithvik, G.; Prem, S.; Reghunaath, A.A.; Gopinath, M.P. 1D convolution approach to human activity recognition using sensor data and comparison with machine learning algorithms. Int. J. Cogn. Comput. Eng. 2021, 2, 130–143. [Google Scholar] [CrossRef]
  50. Lee, H.; Song, J. Introduction to convolutional neural network using Keras: An understanding from a statistician. Commun. Stat. Appl. Methods 2019, 26, 591–610. [Google Scholar] [CrossRef]
  51. Jain, S.; Gural, A.; Wu, M.; Dick, C. Trained quantization thresholds for accurate and efficient fixed-point inference of deep neural networks. Proc. Mach. Learn. Syst. 2020, 2, 112–128. [Google Scholar]
  52. Liang, T.; Glossner, J.; Wang, L.; Shi, S.; Zhang, X. Pruning and quantization for deep neural network acceleration: A survey. Neurocomputing 2021, 461, 370–403. [Google Scholar] [CrossRef]
  53. Edge Impulse Inc. Anomaly Detection Using Edge Impulse. Available online: https://docs.edgeimpulse.com/docs/anomaly-detection (accessed on 26 March 2026).
  54. Dirican, A.C.; Aksoy, S. Step counting using smartphone accelerometer and fast Fourier transform. Sigma J. Eng. Nat. Sci. 2017, 8, 175–182. [Google Scholar]
  55. Boonstra, M.C.; Van der Slikke, R.M.; Keijsers, N.L.; Van Lummel, R.C.; de Waal Malefijt, M.C.; Verdonschot, N. The accuracy of measuring the kinematics of rising from a chair with accelerometers and gyroscopes. J. Biomech. 2006, 39, 354–358. [Google Scholar] [CrossRef] [PubMed]
  56. Chen, K.H.; Yang, J.J.; Jaw, F.S. Accelerometer-based fall detection using feature extraction and support vector machine algorithms. Instrum. Sci. Technol. 2016, 44, 333–342. [Google Scholar] [CrossRef]
  57. Salau, H.B.; Onumanyi, A.J.; Aibinu, A.M.; Onwuka, E.N.; Dukiya, J.J.; Ohize, H. A survey of accelerometer-based techniques for road anomalies detection and characterization. Int. J. Eng. Sci. Appl. 2019, 3, 8–20. [Google Scholar]
  58. Micucci, D.; Mobilio, M.; Napoletano, P.; Tisato, F. Falls as anomalies? An experimental evaluation using smartphone accelerometer data. J. Ambient Intell. Humaniz. Comput. 2017, 8, 87–99. [Google Scholar] [CrossRef]
  59. Badurowicz, M.; Karczmarek, P.; Montusiewicz, J. Fuzzy extensions of isolation forests for road anomaly detection. In Proceedings of the Sixth IEEE International Conference on Fuzzy Systems (FUZZ-IEEE); IEEE: New York, NY, USA, 2021; pp. 1–6. [Google Scholar]
  60. Zhao, S.; Li, W.; Cao, J. A user-adaptive algorithm for activity recognition based on k-means clustering, local outlier factor, and multivariate Gaussian distribution. Sensors 2018, 18, 1850. [Google Scholar] [CrossRef]
  61. Arduino Nicla Sense ME. Available online: https://docs.arduino.cc/resources/datasheets/ABX00050-datasheet.pdf (accessed on 13 February 2026).
  62. Tseng, C.-K.; Huang, S.-J.; Kau, L.-J. Wearable fall detection system with real-time localization and notification capabilities. Sensors 2025, 25, 3632. [Google Scholar] [CrossRef]
  63. Alshuhail, A.; Alshahrani, A.; Mahgoub, H.; Ghaleb, M.; Darem, A.A.; Aljehane, N.O.; Alotaibi, A.M.; Alzahrani, F. Machine edge-aware IoT framework for real-time health monitoring and fall detection. Ain Shams Eng. J. 2025, 129, 1349–1361. [Google Scholar]
  64. Booranawong, A.; Sukveeraphan, S.; Pan, L.; Jindapetch, N.; Phukpattaranont, P.; Saito, H. A real-time system for monitoring and classification of human falls on stairs using 2.4 GHz XBee3 micro modules with a tri-axial accelerometer and KNN algorithms. Egypt. Inform. J. 2025, 30, 100643. [Google Scholar] [CrossRef]
  65. Wang, T.; Wang, B.; Shen, Y.; Zhao, Y.; Li, W.; Yao, K.; Liu, X.; Luo, Y. Accelerometer-based human fall detection using sparrow search algorithm-optimized machine learning. Measurement 2022, 204, 112104. [Google Scholar] [CrossRef]
  66. Fernández-Bermejo, J.; Martinez-Del-Rincon, J.; Dorado, J.; Toro, X.D.; Santofimia, M.J.; Lopez, J.C. Edge computing transformers for fall detection in older adults. Int. J. Neural Syst. 2024, 34, 2450026. [Google Scholar] [CrossRef]
Figure 1. Accelerometer data for falling class.
Figure 1. Accelerometer data for falling class.
Futureinternet 18 00211 g001
Figure 2. Accelerometer data for walking class.
Figure 2. Accelerometer data for walking class.
Futureinternet 18 00211 g002
Figure 3. Accelerometer data for idle class.
Figure 3. Accelerometer data for idle class.
Futureinternet 18 00211 g003
Figure 4. Segmentation of ‘falling’ class data on accelerometer readings.
Figure 4. Segmentation of ‘falling’ class data on accelerometer readings.
Futureinternet 18 00211 g004
Figure 5. Proposed system architecture.
Figure 5. Proposed system architecture.
Futureinternet 18 00211 g005
Figure 6. Working principle of the system.
Figure 6. Working principle of the system.
Futureinternet 18 00211 g006
Figure 7. Working of proposed system.
Figure 7. Working of proposed system.
Futureinternet 18 00211 g007
Figure 8. Spectral Features of the sample training data for accelerometer.
Figure 8. Spectral Features of the sample training data for accelerometer.
Futureinternet 18 00211 g008
Figure 9. Training graphs, (a) accuracy, and (b) loss.
Figure 9. Training graphs, (a) accuracy, and (b) loss.
Futureinternet 18 00211 g009
Figure 10. Confusion matrix for (a) unoptimized (Float32) and (b) quantized (INT8) Models.
Figure 10. Confusion matrix for (a) unoptimized (Float32) and (b) quantized (INT8) Models.
Futureinternet 18 00211 g010
Figure 11. Two-dimensional embedding of training samples.
Figure 11. Two-dimensional embedding of training samples.
Futureinternet 18 00211 g011
Figure 12. Anomaly explorer.
Figure 12. Anomaly explorer.
Futureinternet 18 00211 g012
Figure 13. Device prototype embedded in jacket.
Figure 13. Device prototype embedded in jacket.
Futureinternet 18 00211 g013
Figure 14. Real-time on-device inferencing.
Figure 14. Real-time on-device inferencing.
Futureinternet 18 00211 g014
Table 1. Comparison of existing solutions with the proposed system.
Table 1. Comparison of existing solutions with the proposed system.
ReferenceApproachTechniques/ModelsDatasetPerformance Summary
Al-Qaness et al. [17]Metaheuristic optimization for feature selectionDeep learning, SVM,
Random Forest
SisFall and multiple
multiclass datasets
Promising results for fall detection and motion classification
Gjoreski et al. [18]Multi-sensor data fusion using inertial sensorsWearable inertial sensors, machine learningChallenge Up multimodal fall detection datasetWinning solution in fall detection competition
Syed et al. [19]Direction- and severity-aware fall analysisIMUs, CNN, XGBoost classifierCustom datasetClassification into multiple fall and motion classes
Shen et al. [20]Feature-driven recognition using RF sensingMillimeter-wave sensing, feature metricsCustom datasetEffective feature-based recognition approach
Islam et al. [21]Deep learning-based multimodal fusionConvLSTM, self-attentionMultimodal image and
sensor data
Improved multimodal
motion understanding
Mollyn et al. [22]Multimodal learning using motion and audio dataIMUs, audio signals,
deep learning
Wearable device dataEnhanced recognition through multimodal fusion
Castillo-Sánchez et al. [23]Smartwatch-based monitoring architectureBluetooth Low Energy,
gateway selection
Home monitoring environmentFall detection-focused monitoring system
Boutellaa et al. [24]Tensor-based motion representationInertial sensors, tensor
models, MPCA
Public HAR datasetRobust tensor-based
motion representation
Li et al. [25]Multimodal temporal modelingWearable sensors, FMCW
radar, bi-LSTM
Radar and wearable sensor dataImproved multimodal
motion analysis
Saleh et al. [26]Lightweight ML-based fall detectionOnline feature extraction,
ML classifiers
Large open datasetAccurate and low-cost
fall detection
Hnoohom et al. [27]Complex motion analysis using heterogeneous sensorsInertial sensors, deep learningComplex activity datasetImproved recognition of complex motions
Huang et al. [28]CNN-based inertial
motion modeling
Inertial sensors, CNN, graph neural networksBenchmark HAR datasetsFaster inference and improved embedded performance
Proposed SystemTinyML-based wearable
fall detection
Wearable sensors,
quantized CNN
Custom datasetLow latency, low memory footprint, and high
detection accuracy
Table 2. Dataset structure showing sample accelerometer readings.
Table 2. Dataset structure showing sample accelerometer readings.
Timestamp A x A y A z
6921−18296393657
6931−18336553653
6941−18556293671
6951−18576113674
6961−18545933670
Table 3. Per-class performance metrics for the proposed model (Float32).
Table 3. Per-class performance metrics for the proposed model (Float32).
Class IDClass LabelPrecisionRecallF1-Score
0falling0.98941.00000.9947
1idle0.98920.97860.9839
2walking0.98930.98930.9893
Overall Accuracy98.93%
Table 4. Per-class performance metrics for the proposed model (INT8).
Table 4. Per-class performance metrics for the proposed model (INT8).
Class IDClass LabelPrecisionRecallF1-Score
0falling0.98421.00000.9920
1idle0.98370.96790.9757
2walking0.98400.98400.9840
Overall Accuracy98.40%
Table 5. Overall performance comparison between Float32 and INT8 models.
Table 5. Overall performance comparison between Float32 and INT8 models.
Model IDModel TypeAccuracyROC-AUCLoss
0Float320.98930.99960.2145
1INT80.98400.99700.2793
Table 6. Quantitative comparison of representative fall detection and edge-oriented systems.
Table 6. Quantitative comparison of representative fall detection and edge-oriented systems.
ReferenceAccuracy (%)RecallF1-ScoreLatency/ComputeMemory
Li et al. [25]96.0NRNRNRNR
Saleh et al. [26]>99.9NRNR<500 FLOPSNR
Tseng et al. [62]99.797.9NRNRNR
Alshuhail et al. [63]95.4NRNR0.045 sNR
Booranawong et al. [64]95.6NRNRNRNR
Wang et al. [65]98.3/92.0/96.1NRNRNRNR
Fernández-Bermejo et al. [66]89.9997.29NRNRNR
Proposed (Float32)98.931.00000.9839–0.994711 ms∼80 KB Flash, ∼6 KB RAM
Proposed (INT8)98.401.00000.9757–0.99207 ms∼40 KB Flash, ∼5 KB RAM
Note: The recall reported for the proposed system corresponds to the falling class, as accurate detection of fall events is the primary objective. The F1-score is reported as the range across all classes.
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

Malche, T.; Upadhyay, G.M.; Tharewal, S.; Balyan, V.; Mishra, V.K.; Gupta, G.; Soni, P.K. A Wearable System for Real-Time Fall Detection on Resource-Constrained Devices. Future Internet 2026, 18, 211. https://doi.org/10.3390/fi18040211

AMA Style

Malche T, Upadhyay GM, Tharewal S, Balyan V, Mishra VK, Gupta G, Soni PK. A Wearable System for Real-Time Fall Detection on Resource-Constrained Devices. Future Internet. 2026; 18(4):211. https://doi.org/10.3390/fi18040211

Chicago/Turabian Style

Malche, Timothy, Govind Murari Upadhyay, Sumegh Tharewal, Vipin Balyan, Vikash Kumar Mishra, Gunjan Gupta, and Pramod Kumar Soni. 2026. "A Wearable System for Real-Time Fall Detection on Resource-Constrained Devices" Future Internet 18, no. 4: 211. https://doi.org/10.3390/fi18040211

APA Style

Malche, T., Upadhyay, G. M., Tharewal, S., Balyan, V., Mishra, V. K., Gupta, G., & Soni, P. K. (2026). A Wearable System for Real-Time Fall Detection on Resource-Constrained Devices. Future Internet, 18(4), 211. https://doi.org/10.3390/fi18040211

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