1. Introduction
Developments in sensing technologies have made positive impacts on many applications ranging from aerospace to automotive and healthcare. In the medical and health sectors, biosensors are deployed to monitor patient’s physiological conditions in hospital environments. Although the hospital environment has advantages such as direct supervision by specialists, appointment booking, logistical concerns, and a feeling of discomfort are some of the disadvantages.
Several activities and rehabilitation exercises can be monitored outside the hospital settings, such as assisted living and home environments [
1]. Whilst the assisted living communities are noted for increased physical activities and socialisation opportunities, the home environment offers a more relaxed and convenient setting for rehabilitation exercises such as spinal cord injury rehabilitation exercises [
2], cardio rehabilitation [
3], post-stroke rehabilitation exercises [
4,
5], and Home-Based Ankle Rehabilitation [
6].
Sprained ankles are injuries sustained due to inappropriate movement of the ankle. Although they are generally regarded as common injuries, they can degenerate into lifelong problems if not adequately treated. Common causes of a sprained ankle include ankle twists during a fall, awkward landing during sports activities, and stepping on uneven surfaces during walking or exercising. Sprained Ankle Rehabilitation Exercises (SPAREs) include a range of exercises aimed at helping recovery from these injuries [
7]. Typical SPAREs include Range of Motion (RoM), balance, stretching, control, and strengthening exercises [
8,
9]. RoM exercises entail trying to move the ankle in all directions or some specific directions. The sufferer can take a sitting position, place the non-affected foot flat on the floor while attempting to move the affected foot in predetermined directions [
8]. Common examples of RoM include controlled-resistant cycling and cord-assisted stretching. While RoM can be active, there is also evidence of the performance of passive RoM.
Balance and control exercises can involve the use of wobble boards with supports to avoid tipping [
10]. It is often recommended for those with little or no pain on the sprained ankle. In addition, the duration of the exercise can span between a minute or more and up to six times in each session [
8]. Balance exercises can include standing on the affected leg with the hands to the sides of the body or folded across the chest. Stretching exercises, on the other hand, involve extending the calf muscle and the Achilles tendon by pushing against a wall with the affected foot stretched out at the back. Strengthening exercises can include foot dorsiflexion, plantarflexion, inversion, and eversion [
10]. Home-based SPAREs include a range of exercises that can be performed within the home environment to help recovery. Whilst some of these exercises can be performed using common devices such as elastic bands, wobble boards, and deformable plastic materials, sophisticated instruments, namely, treadmills, actuators, and cycling machines, can also be used.
The ability to monitor SPAREs can help to understand if the exercises and activities have been performed as prescribed. The monitoring devices can include a range of wearables and non-wearables, such as video cameras, gyroscopes, and accelerometers. Whilst video cameras pose issues ranging from privacy to storage capacity, accelerometers and gyroscopes require users to remember to charge and wear the devices. Battery life problems, data disruption, and a feeling of discomfort due to skin irritations from bands and cuffs are also common challenges with the use of wearables [
11].
This study considers the sprained ankle strengthening exercises involving foot movement in the four fundamental directions. The present work aims to monitor SPAREs such as dorsiflexion, plantarflexion, inversion, and eversion using Unobtrusive Sensing Solutions (USSs) such as radar and thermal sensors. The main contributions of this paper include (i) privacy-friendly monitoring of SPAREs in a home environment, (ii) fusion of SPAREs data from homogeneous and heterogeneous USSs, and (iii) analysis and comparison of results from single, homogeneous, and heterogeneous USSs.
The remainder of the paper is organised as follows.
Section 2 reviews Sensing Solutions (SSs) in home-based SPAREs monitoring,
Section 3 presents the materials and methods for data acquisition and analysis,
Section 4 presents experimental results,
Section 5 discusses findings from the study, and
Section 6 presents the conclusion.
3. Materials and Methods
The methods employed in this work included data collection through experiments and preprocessing of the acquired (thermal and radar SSs) data. Others included thermal and radar sensors data processing using a Sensor Data Fusion (SDF) architecture. The sensors data were processed as single, homogeneous, and heterogeneous datasets. The SDF architecture presents two algorithmic pathways: Hierarchical Clustering Algorithm (HCA) and the K-Means++ Algorithm (KMA). Further analysis of the datasets with KMA is made to compare the averages of the model.
The statistical analysis method in the present work considered the averaging of model parameters against selecting the best model in order to aid subsequent computations. This includes obtaining the row averages of metrics such as Area Under the Curve (AUC), Classification Accuracy (CA), F1, Precision, and Recall for each model. Then, the row averages from KMA, HCA, fused homogeneous, and fused heterogeneous datasets are tabulated for column-wise averages. T-Test and descriptive analysis using ANOVA are performed on the column data referred to as KMA Averages (KMA-A), HCA Averages (HCA-A), data fusion averages from the side-facing and the front-facing ITA-32 sensors (SF-Fusion), and data fusion averages from the Infrared Thermopile Array (ITA-32) and Radar sensor (Rad-T Fusion). The averaging method was chosen against the best model method to avoid bias and present more data points in further analysis, such as T-Test and ANOVA.
The experimental setup involved the use of multiple sensors to record SPAREs in a laboratory living room that mimics a real-world living room. They included (i) one Frequency Modulated Continuous Wave (FMCW) radar sensor, (ii) one Multi-Chirp Frequency Modulated Continuous Wave Mono-pulse (MC-FMCW-M) radar sensor, (iii) two ITA-32 sensors, and (iv) two Shimmer-3 accelerometer (S3BA) SSs. The S3BAs were used for ground truth measurement of velocity. While the radar and thermal sensors were mounted on tripod stands and placed for side and frontal views of the ankles, the two S3BAs were attached to the metatarsal to record the acceleration of each foot in the X, Y, and Z directions. The rationale for taking measurements from the front and side views was to avoid the effects of occlusion. The rationale for using multiple sensors was to allow for complementary monitoring, redundancy, and cross-validation of measurements. The setting of the study, including the Living Lab in which the study was conducted, the physical location of the participants, and the SSs are presented in
Figure 1.
In
Figure 1a, the red and the white spots indicate the location of the side-facing and the front-facing SS that were used to monitor the SPAREs. The yellow spot indicates where the participants sat during data collection. Whilst their legs were usually stretched towards the white spot (front-facing SS), side views of their actions were obtained with the side-facing SS to avoid occlusion. A total of 15 healthy participants, randomly selected from the School of Computing, took part in this study. In an upright sitting position, 20 directional movements were performed by the participants for 20 s on each leg. These included twisting the ankle in 4 fundamental directions of human ankle movement: (i) dorsiflexion, (ii) plantarflexion, (iii) eversion, and (iv) inversion. These movements were recorded simultaneously by all the sensors. The parameters measured included the angular orientation of the ankles and postures. Other parameters included their ranges and velocities at instances of dorsiflexion, plantarflexion, eversion, and inversion. However, data from the wearable sensors (S3BAs) were not considered in the data analysis. The rationale for not considering the S3BA data is that data analysis involving the S3BAs and the FMWC radar (aimed at comparing their velocity values) was considered in our previous study [
45]. Data obtained by the thermal sensors were stored in a bespoke time-series database (
SensorCentral) [
46].
Data collected during this study were analysed using an SDF architecture referred to as Modified Distributed Sensor Data Fusion and Evaluation Architecture (MDSFEA) [
23], as presented in
Figure 2. The MDSFEA is an architecture suitable for data analysis ranging from homogeneous to heterogeneous datasets.
In
Figure 2, data from thermal and radar SSs can be imported to the architecture with the help of the image and data import toolkits, respectively [
47]. While the radar sensors data are stored in a CSV file, the thermal sensors data are stored as PNG files. Information such as the range of participants, speed, and the AAR from the radar SS were fused to the corresponding thermal images with the help of their timestamps using the data merging system. After the preliminary feature extraction that took place at the data merging system, Definitive Feature Extraction (DFE) began automatically. The DFE leveraged the data embedding toolkit to extract up to 1000 features from the datasets and represented them as vectors (n
0 to n
999) [
48]. Although the MDSFEA description (in
Figure 2) suits heterogeneous datasets such as those from thermal and radar SSs, it should be noted that the same architecture was used for the single and homogeneous datasets analysis.
Two main algorithms were used to further process the sensors datasets after the DFE stage namely, the HCA and the KMA. While the HCA used the Distance Toolbox (DT) to access the data embedder, the K-Means toolkit dissected the datasets (from the embedder) into clusters and conveyed them directly to the Test and Evaluation Toolkit (TET) (see
Figure 2). The DT used Euclidean Distance Matrix (EDM) to further perform feature-based segregation on the datasets. The rationale for using the EDM includes the ability to perform distancing on raw data without previous analysis being affected by the addition of new data [
49]. The HCA used Weighted Average Linkage (WAL) on the distanced features before the TET. The implementation of WAL on the datasets enhances feature prioritisation and the discriminant ability of the HCA algorithm [
50,
51,
52]. DM models such as K-Nearest Neighbours (KNN), Support Vector Machine (SVM), Stochastic Gradient Descent (SGD), Random Forest (RF), and Neural Network (NN), amongst others, were used to evaluate the performance of the architecture.
Thermal blobs from the ITA-32 thermal sensors were automatically binarised using a sequence of codes in MATLAB. To remove excess blobs from heating and electrical devices, a blob-based background subtraction algorithm was used [
53,
54,
55]. Hence, the clear and distinct thermal blobs are presented in
Figure 3a,b. The RGB equivalents demonstrating similar actions by the ITA thermal SS are shown in
Figure 4.
6. Conclusions
This paper presented the use of privacy-friendly USSs such as thermal and radar sensors to monitor SPAREs in home environments. Data gleaned from the USSs were analysed and fused using the MDSFEA on instances involving single, homogeneous, and heterogeneous SS. Experimental results from model averages indicated mean accuracy values of 91.9%, 92.4%, 92.0%, and 96.9% for KMA-A, HCA-A, SF-Fusion, and Rad-T Fusion, respectively, with models such as KNN, Decision Tree, SVM, SGD, RF, NN, Naïve Bayes, and CN2 inducer. Descriptive analysis of the model averages further indicated that the highest average percentage accuracy was obtained in the heterogeneous datasets involving thermal and radar sensors, demonstrating the added advantages of using heterogeneous USSs and data fusion in home-based SPAREs.