1. Introduction
The weight of the human body is borne by the feet; therefore, foot alignment is a critical factor in overall biomechanical health. Proper foot alignment ensures biomechanical efficiency, reduces muscle strain and injury risk, supports correct posture, and helps alleviate pain [
1]. As illustrated in
Figure 1, the concept of foot alignment plays a key role in evenly distributing forces across the foot, thereby helping to prevent common overuse injuries such as plantar fasciitis and shin splints [
2]. Correct foot mechanics enhance balance and stability, crucial for older adults, and improve athletic performance by boosting speed, agility, and endurance [
3]. Additionally, maintaining good foot form promotes long-term joint health and overall comfort during physical activities, encouraging a more active lifestyle (
Figure 1A).
Poor foot alignment (
Figure 1B) can lead to musculoskeletal pain in the feet, knees, hips, and lower back, increasing the risk of injuries and reducing physical performance. It can cause gait and postural abnormalities, impacting mobility and quality of life [
4]. Additionally, chronic pain resulting from foot misalignment can negatively affect mental health and overall quality of life, while compensatory movement strategies may lead to secondary musculoskeletal disorders [
5]. Among the most common forms of improper foot alignment are in-toeing and out-toeing gait patterns [
6], as illustrated in
Figure 1C where the former is characterized by the feet pointing inward rather than straight ahead and is often associated with structural abnormalities such as metatarsus adductus or femoral anteversion, as well as neuromuscular conditions including cerebral palsy [
7]. The later anomaly is typically caused by conditions like external tibial torsion or femoral retroversion which can result from genetic predisposition and are commonly seen in young children [
8]. While they may ameliorate with growth, persistent cases might require medical intervention. Treatment options range from physiotherapy to orthopedic braces or surgery [
9].
Early diagnosis and appropriate management are essential to prevent long-term complications and to promote normal gait development. Regular clinical follow-ups play a critical role in monitoring progression and evaluating treatment effectiveness [
10]. Gait abnormalities vary in prevalence and severity, with most mild cases resolving spontaneously; however, more severe manifestations can significantly impair mobility and necessitate medical intervention, as shown in
Figure 1D. One particularly challenging condition is persistent or idiopathic causes, which may require prolonged treatment and continuous monitoring. Progress is often gradual, and therapeutic interventions while effective can demand substantial time and resources, with improvements not always immediately apparent [
11]. Consequently, sustained engagement from parents and caregivers, along with consistent follow-up appointments, is crucial. If toe walking does not improve under current treatment protocols, further clinical evaluation or alternative interventions may be required [
12]. Designing and developing a system that can observe, detect issues and report on improvements via an IoT-based sensing platform could benefit this treatment process, which serves as the main target of this research. Our novel contributions are listed as follows:
Implement multi-point data acquisition using Inertial Measurement Units (IMUs) to comprehensively monitor the foot rotation and linear movement, thereby enriching the data for subsequent analysis.
Design a portable and user-friendly device with a simple structure for easy wearability and biomechanical analysis empowered with IoT capabilities to enable remote monitoring without the need for a doctor’s presence during testing. The device can accurately capture foot movement from multiple angles and positions.
Develop data visualization with line charts to facilitate intuitive understanding of gait data for both professionals and users.
Enable practical clinical application by providing accurate foot rotation data for developing personalized treatment plans and rehabilitation strategies.
The authors believe that this design holds significant importance for a wide range of individuals. For those experiencing pronation issues, the system provides timely monitoring and feedback, raising awareness and guiding appropriate rehabilitation to prevent further injuries and discomfort. Additionally, for professionals who spend long hours standing or walking, such as service workers or construction personnel, this project acts as a health companion, helping to prevent pain and fatigue caused by abnormal gait, thereby enhancing work efficiency and quality of life.
The paper is organized as follows:
Section 2 outlines the related work.
Section 3 details the design structure, including hardware while
Section 4 details software descriptions, data preparation, and analysis including, test statistics and protocols, environment, metrics, and results. Finally,
Section 5 provides the conclusion. This paper extends our previous conference paper, “IoTToe: A Smart System for In/Out-Toeing Foot Identification,” which was accepted and presented at the IEEE 6th International Conference on Communications, Information System and Computer Engineering (CISCE 2024) [
13].
2. Related Work
A review of published research papers on the design and development of foot alignment systems is conducted to document previous works. For example, Mancinelli et al. (2009) explored the use of a sensor integrated footwear to monitor gait abnormalities in children with cerebral palsy, focusing on the equinus (toe-walking) gait pattern. By analyzing features from center of pressure trajectories and ankle kinematics, the study proved that a classifier can predict the severity of toe-walking with high accuracy. It is suggested that the sensorized shoe could be a valuable tool for frequent, objective gait assessments, potentially improving clinical management [
14]. Senanayake et al. (2010) presented an intelligent gait-phase detection algorithm that leverages fuzzy logic to handle the complexities of varying gait parameters, using real-time data from force-sensitive resistors and inertial sensors. The system effectively detected gait phases, used to identify abnormalities and provide accurate feedback timing. A software application was also developed to manage the extensive data required for quality gait analysis. The study identified that most errors occurred during the stance phase, primarily due to varying shoe sizes among subjects, suggesting the need for customized insoles to improve accuracy. Comparative analysis showed the proposed system performed better than several existing methods, though further enhancement using advanced machine learning techniques could improve accuracy despite potential increases in computational complexity [
15].
Schoepflin et al. (2010) developed a novel bio-driven mobile-assistive device for toddlers, controlled by foot motion to enhance gross motor skill development while providing independent mobility. The feasibility was tested on five normal toddlers and one with spastic Cerebral Palsy (CP). All were able to successfully navigate a maze using the device. The study suggested that the device is intuitive, supports motor development, and offers potential for real-world applications. Future improvements could include reducing the device’s size, enhancing camera accuracy, and further refining the control interface for children with mobility impairments [
16]. The study by Mancinelli et al. (2012) introduced Active Gait, a novel sensorized shoe system designed to monitor and classify the severity of gait deviations in children with CP by addressing the limitations of current clinical practices, which rely on infrequent assessments in controlled environments using home-based evaluations. Active Gait captures data on gait deviations through Center of Pressure (CoP) trajectories and employs a Random Forest classifier to estimate severity scores based on the Edinburgh Visual Scale. Preliminary testing involved 11 children with varying degrees of CP-related gait deviations. The results demonstrated that the classifier achieved over 80% accuracy for six out of seven observations in field testing, indicating the system’s feasibility for clinical use. Additionally, the system showed over 90% accuracy in home-based testing for a single subject, suggesting that gait assessments in natural environments may provide a more accurate reflection of a child’s condition compared to controlled settings concluding that Active Gait has the potential to become a valuable tool for longitudinal monitoring of gait severity in children with CP [
17]. Farago et al. (2020) introduced a wearable system to assess gait biomechanics by cross-correlating plantar pressure from insole sensors with EMG data from lower-limb muscles. The system generates a gait map to distinguish normal from pathological walking. Validated in a lab, it showed great potential for clinical applications in detecting gait abnormalities and muscle dysfunction. Future work aims to miniaturize the device for broader use in rehabilitation and gait analysis [
18].
Zhang et al. (2022) developed a method for real-time gait phase estimation in multi-locomotion modes using Inertial Measurement Units (IMUs). They employed a Long Short-Term Memory (LSTM) network for gait pattern recognition and a Dual Adaptive Frequency Oscillator (DAFO) for continuous phase estimation. The approach achieved a 98.58% classification accuracy with an F1 score of 0.9875 and effectively detected toe-off events with an average error of 15.34 ± 40.58 ms. The method shows improved stability over traditional models and suggests future work on reducing IMU count, predicting gait phases, expanding datasets, and including additional gait events [
19].
Xia et al. (2020) introduced a haptic feedback-sensorized shoe designed for modifying foot progression angle (FPA) during walking. The shoe features an inertial and magnetometer module for FPA estimation and vibration motors for providing feedback. Feasibility tests showed an overall FPA performance error of 0.2 ± 4.1°, with a mean absolute error of 3.1 ± 2.6°. Reducing the no-feedback window improved performance. This shoe offers a portable, non-laboratory-based solution for FPA modification, potentially benefiting knee osteoarthritis treatment and other clinical applications [
20].
Mani et al. (2020) developed a wearable ultrasonic-based system for gait analysis that directly measures ankle angle (AA) and toe clearance (MTC) without complex sensor fusion algorithms. This system uses triangulation methods to avoid issues with drift in inertial measurement units (IMUs). Tested against a video-based reference, the system showed root mean square errors of 0.91 to 1.54 degrees for AA and 0.36 to 1.26 cm for MTC. The repeatability ranged from 1.53 to 2.56 degrees for AA and 0.27 to 1.42 cm for MTC. The system demonstrated strong correlations (
r = 0.98 for AA and
r = 0.99 for MTC) with normative gait patterns, suggesting its efficacy for continuous gait monitoring [
21]. Wu et al. (2021) developed an intelligent in-shoe system for real-time gait monitoring, focusing on optimized sampling frequency to ensure high signal fidelity. Their system addresses the limitations of previous wearable sensors by enhancing data acquisition bandwidth. In validation with an optical motion capture system across 20 sessions with four subjects, the system achieved percentage mean absolute errors of 1.19% for stride time, 1.68% for stride length, 2.08% for stride velocity, and 1.23% for cadence. Additionally, they introduced a new gait metric using eigen analysis and principal component analysis to differentiate gait patterns, showing promise for gait disorder diagnostics [
22].
Martínez-Barba et al. (2020) introduced a self-calibrating sensor-footwear system designed for plantar pressure distribution (PPD) measurements. The system adjusts the force measurement range (FMR) to user weight, with options ranging from 0 to 25 N to 0–200 N, enhancing force resolution. The study highlights that sensor responses vary across different footwear sections (back, middle, front), and a coefficient of variation (CV) of 2.62% was observed before installation, increasing to 16.61% after installation. To address this, the authors developed an in-shoe characterization method to standardize sensor responses and ensure accurate force readings. The footwear system, equipped with wireless communication for real-time PPD visualization and recording, demonstrates the critical role of in-shoe sensor calibration [
23].
Wouda et al. (2021) developed a method to estimate the foot progression angle (FPA) using a single foot-worn inertial sensor (accelerometer and gyroscope). Their approach involves recalculating a dynamic step frame during each step’s stance phase to minimize drift and avoid using a magnetometer. The FPA is determined as the angle between the walking direction and this dynamic frame. Validated with five subjects across three gait types (normal, toe-in, toe-out), the method achieved a maximum mean error of 2.6° and effectively distinguished between gait types. This approach offers a practical solution for FPA estimation in various environments, including those with magnetic distortions [
24]. Xu et al. (2021) designed a low-cost gait-recognition system for children to classify pathological gaits using an 8 × 8 pressure-sensor array. Their method, known as the intelligent gait-recognition method (IGRM), relies on machine learning to analyze plantar pressure data in both static and dynamic settings. The system was tested with 17 children to recognize three pathological gaits (toe-in, toe-out, and flat) and normal gait. The IGRM achieved 92.41% and 97.79% intra-subject recognition accuracy, and 85.78% and 78.81% inter-subject recognition accuracy in static and dynamic conditions, respectively. The system demonstrated high precision and real-time performance, making it a promising tool for monitoring and providing feedback on gait abnormalities in children [
25].
Caderby et al. (2022) evaluated two methods for estimating the foot progression angle (FPA) using force-plate data, comparing them to a motion capture system. Ten healthy adults walked at slow, preferred, and fast speeds while FPA was measured. The study found that a novel force-plate method was more accurate and precise than a previously reported method. The novel method had a mean absolute error of 3.3 ± 2.1° at slow speed, and 2.0 ± 1.2° at both preferred and fast speeds, showing no significant speed effect (
p > 0.05). This novel method provides a valid alternative for measuring FPA in the absence of kinematic data [
26]. In another study, Ershadi et al. (2021) introduced the Smart Insole platform, designed for remote monitoring and feedback of toe walking patterns, which involves walking on the toes without heel contact, leading to serious foot and muscle issues. The Smart Insole uses two pressure sensors to detect walking patterns and triggers vibrations to alert users when toe walking is detected. The algorithm achieved an average accuracy of 91.3% in distinguishing between toe walking, heel-to-toe walking, sitting, and standing. This platform aids in gait rehabilitation by providing accurate monitoring and feedback, supporting orthopedic professionals in managing toe walking [
27].
Prasanth et al. (2021) reviewed wearable sensors for real-time gait analysis, highlighting the shift from costly lab-based systems to more accessible, affordable options. They found IMUs and insole pressure sensors most common, with rule-based methods like threshold detection frequently used. Heel strike and toe-off events were noted as key focus areas. The review recommends combining IMUs with rule-based techniques for effective gait detection and emphasizes the need for validation on target populations. Future research should standardize performance metrics and consider clinical applications to enhance rehabilitation for gait impairments [
28]. Ardhianto et al. (2022) developed a deep learning model based on YOLO (You Only Look Once) for detecting foot progression angle (FPA) using plantar pressure images to address gait pathologies. They tested three YOLO networks (v3, v4, v5x) on 1424 images, finding YOLOv4 to have the highest accuracy. YOLOv4 achieved an average precision of 100% for left foot and 99.78% for right foot, with FPA measurements closely matching ground-truth values (5.58 ± 0.10°). YOLOv3 and YOLOv5x showed less accuracy. The study concludes that YOLOv4 is effective for precise FPA detection, aiding in the assessment of physical therapy impacts on knee conditions [
29]. Kim et al. (2022) developed a deep-learning LSTM model for automatically detecting gait events (initial contact (IC) and toe-off (TO)) in children with cerebral palsy using foot-marker kinematics. They analyzed data from 363 subjects and evaluated different marker combinations. The model detected IC with 89.7% accuracy and an 18.5% false alarm rate, but TO detection was less accurate at 71.6% with a 33.8% false alarm rate. The combination of TOE and HEE markers was effective for IC detection, while TO detection varied by gait subgroup, showing 5–10% performance differences. The study suggests LSTM-based detection can improve accuracy and reduce manual annotation efforts [
30].
Lee et al. (2022) developed an IoT-based sensor shoe system to monitor and correct gait abnormalities using pressure sensors, a three-axis accelerometer, and a gyroscope. The system identifies pigeon-toed and splay-footed walking patterns, transferring sensor data via Bluetooth to PC and smartphone apps. Gait abnormalities are visually indicated through color changes in the sensors. The system achieved a 56.25% recognition rate for toe-in gait and 81.25% for toe-out gait. It continuously collects and monitors gait data, helping users manage and correct abnormal walking patterns in real-time [
31].
Caderby et al. (2022) compares two force-plate methods for estimating foot progression angle (FPA) with a reference motion capture system. The study finds that a novel method based on center of pressure data is more accurate and precise, with mean absolute errors of 3.3° at slow speed and 2.0° at preferred and fast speeds, showing no significant speed effect. This novel method proves to be a valid and effective alternative for measuring FPA without the need for kinematic data [
26]. Cao et al. (2024) analyzed the relationship between foot progression angle (FPA), plantar loading, and gait symmetry in children with in toeing using pedobarographic and spatiotemporal data. They found significant correlations between FPA and pressure, force, and impulse in the forefoot and heel regions, particularly in bilateral cases. The study showed that although children exhibit gait self-adjustment, this mechanism weakens as in toeing severity increases, emphasizing the need for early bilateral assessment [
32].
Detecting foot alignment involves assessing foot positioning and gait to identify deviations or abnormalities (
Figure 1D). Visual inspection includes static assessment of the foot from different angles while standing, and dynamic assessment via walking or running for abnormal movements [
33]. Footprint analysis, through wet foot tests and pressure mapping, helps to assess arch height and pressure distribution. Gait analysis uses video and 3D motion capture to evaluate foot strike patterns and alignment [
33]. Clinical evaluation involves specific tests and orthotic assessment by professionals. Digital tools like foot scanners and wearable sensors offer detailed analysis and real-time tracking of foot movements [
34]. Physical examination includes range of motion tests and palpation to detect misalignments. These methods enable accurate detection and analysis of foot alignment issues, which can be addressed with corrective footwear, physical therapy, or orthotic devices [
35].
Among these methods, IMU sensors offer real-time, precise data of foot and ankle movements, providing comprehensive analysis of foot biomechanics. They enable continuous monitoring in natural environments and are less intrusive compared to traditional methods. However, they can be expensive, complex to interpret, and require proper calibration. In contrast, traditional methods may lack the precision and real-time capabilities of IMUs but are often less costly and simpler to use [
36]. IMU based approach enhances diagnostics and intervention effectiveness for foot alignment issues. To detect toe walking, doctors analyze gait metrics such as heel contact, ankle dorsiflexion, knee extension, cadence, and step length. In addition, muscle strength, joint range of motion, and balance are also evaluated. Gait analysis with Inertial Measurement Units (IMUs) measures parameters like foot strike angle, step length, cadence, stance phase, and swing phase, helping identify abnormalities in walking patterns. These metrics assist in diagnosing and understanding the specifics of toe walking. Stretching exercises, Splints or braces, Physical therapy, and Surgery [
37,
38]. However, few designs address IoT capabilities, particularly those focusing on affordable, long-term solutions that can track improvements over the course of treatment. Despite these advancements, few designs incorporate IoT capabilities, especially those that provide affordable, long-term solutions for tracking improvements over the course of treatment. Addressing these gaps could lead to more comprehensive and accessible tools for foot alignment analysis and monitoring. To this end, the focus of this research paper is the development of an IoT-based wearable design called IOTToe which is tested on real samples to evaluate its efficiency and performance.
3. Proposed Design
The primary focus of this research is the design and implementation of an IOTToe system, structured as illustrated in
Figure 2. The design combines acceleration sensors and processor control boards to enable data acquisition on the hardware side. On the software side, the data is displayed on a custom webpage created using HTML, CSS, and JavaScript, allowing users to easily view and interpret the results [
13].
(A) IoT Toe Hardware Components: The hardware design system (
Figure 2A) comprises three main sections: the Sensor Unit, the Processor, and the Battery. Each component is detailed as follows: In the
(1) Sensor Part: The system integrates six ADXL345 accelerometers (developed by Analog Devices (ADI), Wilmington, MA, USA), renowned for their versatility in motion detection. These sensors are economical, compatible, and energy-efficient, making them ideal for tilt sensing, motion detection, and gesture recognition. They use digital interfaces like I2C or SPI to provide critical acceleration data for applications in orientation, activity tracking, and robotics.
(2) Processor: The hardware section utilizes the NodeMCU (ESP8266) (developed by Espressif Systems, Shanghai, China) as the processor. This versatile Wi-Fi module features an integrated microcontroller, offering affordable and low-power connectivity for IoT applications. It includes a built-in TCP/IP protocol stack, supports multiple interfaces (I2C, UART, SPI), and provides flash memory for storage. Its compact size, powerful microcontroller, and cost-effectiveness make it an ideal choice for both novice and experienced developers.
(3) Battery: The system is powered by a battery with a 5 V, 2 A output and a capacity of 20,000 mAh (74 Wh). This battery provides up to 3 h of operation on a full charge.
(4) Web Monitoring hardware: The system includes a web monitoring component accessible via a PC or mobile phone. Users can observe and interact with the created webpage to view real- time data and system status.
(B) Web Monitoring Data: The webpage interface serves three primary functions: displaying sensor values (
Figure 2B), offering a download feature, and providing data visualization through a line chart. The NodeMCU transmits processed data to the back-end server, which then processes and displays it on the webpage. This setup enables users to observe real-time data, visualize it through charts, and download it for offline analysis. The section includes the following components: (1) Sensor Data (
Figure 2B): This section of the webpage displays real-time charts for six sensors, organized into three devices, with X, Y, and Z readings updated every second. Device 1 comprises Sensor 1 and Sensor 2, Device 2 includes Sensor 3 and Sensor 4, and Device 3 contains Sensor 5 and Sensor 6. (2) Plot Data (
Figure 2C): This subsection features a line chart that visualizes sensor data trends, providing a clear view of how data changes over time. (3) Download Section (
Figure 2B,C): This section includes a download button that allows users to save real-time data as a local Excel file, improving data accessibility and enabling offline analysis. The front-end of the webpage is developed using a combination of HTML for structure, CSS for styling and layout, and JavaScript for interactivity and dynamic functionality. This approach ensures a responsive and user-friendly interface, enhancing the overall user experience.
(C) IoTToe Software and Algorithm: The three NodeMCU devices collect and transmit data to the server in a predefined format. Each NodeMCU must be connected to a Wi-Fi network, with the server operating on the same local area network (LAN) to ensure continuous data processing. The NodeMCU microcontroller establishes a network connection and communicates with multiple ADXL sensors using SPI or I2C protocols. Once initialized, the NodeMCU connects to the designated Wi-Fi network, enabling remote access. It sets up a web server on the NodeMCU to interact with web clients. The NodeMCU continuously polls the ADXL sensors, gathering acceleration data in three dimensions: X, Y, and Z axes. This real-time data is temporarily stored in the NodeMCU memory. A web client, such as a browser, connects to the NodeMCU web server through asynchronous requests (AJAX) to request sensor data. Upon receiving these requests, the NodeMCU provides the data to the web client, which dynamically updates an HTML page with interactive plots or visual representations of the acceleration data. The HTML page, enhanced with JavaScript, facilitates dynamic rendering of these plots, allowing users to visualize real-time sensor readings. The NodeMCU continuously streams updated data to the web client, refreshing the plots on the HTML page to ensure users have access to the latest sensor information. This integration of hardware and web technologies enables remote monitoring and visualization of acceleration data, allowing users to gain insights into various physical phenomena or applications in real time. Overall, the proposed design system combines robust hardware with an intuitive software interface, facilitating comprehensive data acquisition, monitoring, and analysis. The use of ADXL345 sensors and ESP8266 modules, alongside a web-based interface, provides a powerful and flexible solution for real-time motion detection and data visualization. Further details about the design and algorithms are provided in [
13].
(D) IoT Toe Sensor Location: All six sensors are positioned on both the right and left legs, with three sensor sites considered for each leg.
Figure 3 shown in, the setup results in a total of six sensors placed on both feet of the volunteer, with all sensors oriented such that their Z-axis faces upwards, aligning with the foot’s direction. As shown in
Figure 3, these sites include the instep of the feet, the gastrocnemius muscle, and the Achilles tendon.
The ADXL345 sensors are lightweight, compact, and secured with soft, adjustable straps to minimize pressure and avoid restricting natural foot movement. Cables are carefully routed to prevent obstruction or discomfort. During pilot testing, participants reported no discomfort or limitations in movement, confirming the device’s suitability for continuous gait monitoring. From an ergonomic perspective, the low-profile placement and flexible connections allow participants to walk comfortably, ensuring that natural gait patterns are accurately captured.
4. Data Preparation and Analysis
4.1. Data Acquisition
In this project, 45 participants were tested, the sample distribution with respect to Gender (36 male and 9 female). The sample size analysis was calculated a priori using the software G-Power 3.1 (Faul et al., 2007 [
39]). Assuming the effect size of 0.25 (which is medium, Cohen, 1988 [
40]), the type I error (
p-value) of 0.05 to claim statistical significance, the power of 0.95, correlation among repetition of measures of 0.5, and non-sphericity correction ϵ of 1, the required sample size was 44 (22 for right and left leg). We recorded data from more participants to avoid a potential reduction in power due to dropouts. Forty-five young people (i.e., 90 right and left legs, 7 females, 3 left footed) volunteered for the study (mean ± SD, age: 22.1 ± 1.5 years, body weight: 69.5 ± 21.3 kg, body height: 168.7 ± 7.3 cm, body-mass index: 24.4 ± 7.2 kg/m
2, average steps: 5505 ± 2957 steps/day). All participants received information about the task and the procedure and gave written informed consent prior to the experiment [
39,
40]. The distribution of sample sizes across genders is due to the limited availability of volunteers for the tests.
As shown in
Figure 4, the data provides insights into the demographic characteristics of the participants in terms of age, weight, height, and BMI, highlighting some distinctions between male and female participants in these aspects. Regarding the participant’s distribution, with respect to age, the average age for males was approximately 22.28 years, with a range from 20 to 25 years. For female participants, the average age was approximately 21.56 years, with a range from 17 to 24 years. This indicates a slightly younger age profile among female participants. Considering the weight, male participants had an average weight of 63.28 kg approximately, ranging from 160.5 kg to 180 kg while female participants had an average weight of about 55.54 kg, ranging from 144 kg to 175 kg. The data suggests that male participants, on average, had a higher weight compared to female participants. For the height parameter, male participants had an average height of about 171.15 cm, with a range from 45 cm to 86 cm, while female participants had an average height of about 161 cm. This indicates a noticeable difference in height between male and female participants. With respect to body mass index (BMI), the average value for the male participants was approximately 21.58, with a range from 15.57 to 26.56. For female participants, the average BMI was approximately 21.45, with a range from 17.58 to 27.49. To evaluate the reliability and consistency of the measurements across phases, sensor configurations, and gait patterns, we conducted Intraclass Correlation Coefficient (ICC) and Cronbach’s alpha analyses that ensure the reproducibility of results while minimizing the effect of random variations [
41].
4.2. Test Protocol
The study was conducted in accordance with the ethical standards set forth by the Declaration of Helsinki, and approval was obtained from the Institutional Review Board (IRB) at Jiangxi University of Science and Technology. All participants provided written informed consent before participating in the study. The testing path consists of straight and zigzag routes chosen for evaluating the design data (
Figure 5). The test is designed so that participants must follow a straight path (5.85 m one way, totaling 11.70 m round trip) and a zig zag path (18.85 m round trip), all within a lab room in Jiangxi University of Science and Technology. The zigzag path was selected because it is generally more difficult for individuals with in-toeing or out-toeing. Its sharp direction changes require rapid adjustments in foot placement, which increases joint stress and balance challenges. This makes the zigzag path more demanding compared to a curved path. In contrast, curved paths offer smoother transitions, reducing joint strain and making it easier to maintain consistent foot alignment. By choosing a zigzag path, the focus is on testing the ability to handle these additional challenges [
42].
The user wears the device to walk along each path, and then follows the path back to the origin point. Before beginning the test, participants are asked to review and sign the “Satisfaction Agreement” (
Appendix A.2), which outlines the study’s purpose and participation details. They will also be asked to answer qualitative questions in
Appendix A.3 which include the demographics, medical and health data, footwear preferences and conditions, as well as walking environment. This information will help to deduce results and support study’s objectives after ensuring ethical guidelines of data collection.
The test sequence as mentioned in
Figure 5, involved several steps: First, participants stood still for 30 s to record their baseline data. Next, they walked along a predefined path at a normal speed. After completing the walk, participants waited for 30 s before resting for 3 min while seated. Movement data were recorded in three stages: STG1 (initial 30 s of no movement), STG2 (movement phase), and STG3 (final 30 s of no movement). To ensure data accuracy, each path was tested three times and data was displayed on a web page that is downloadable for analysis. During the walk, the device recorded real-time data, which was then transferred to an Excel file for further analysis. Testing under these varying conditions allowed for a comprehensive evaluation of the device’s performance across different scenarios. As mentioned before, data collection for the proposed IoTToe design involved 45 volunteers walking on both straight and zig-zag paths, with data collected for the right and left legs. To obtain accurate data, each path was tested three times as shown in
Figure 6.
4.3. Metrics
For calculating the sensor data, Equation (1) was used to determine the angle in degrees between two sensors. Considering each sensors X, Y and Z (Sensor A: (
X1,
Y1,
Z1), Sensor B: (
X2,
Y2,
Z2), Sensor C: (
X3,
Y3,
Z3)). The angle between each two sensors can be calculated based on Equation (1).
where sensors
X1,
Y1, and
Z1 correspond to Sensor A; sensors
X2,
Y2, and
Z2 correspond to Sensor B; and sensors
X3,
Y3, and
Z3 correspond to Sensor C. The analysis uses the angle in degrees, by multiplying with 180/π.
Standard deviation (SD): SD values are used for the population and sample between Sensors A-B, B-C, and A-C for both the right and left legs across three repeated measures (before, during, and after) on a curved path, as shown in Equation (2).
In Equation (2), σ represents the standard deviation of the population, and N is the total number of data points in the population. The variable xi denotes each individual data point, while μ is the mean of these data points, calculated as shown in Equation (3). The term ‘s’ stands for the sample standard deviation, with N representing the number of data points in the sample. Equation (2a) is used to calculate the population standard deviation (σ), and Equation (2b) is for the sample standard deviation (s). The term represents the sum of the squares of the data points, and denotes the square of the sum of the data points.
Detrended Fluctuation Analysis (DFA): Moreover, inspired by the complex fractal patterns formed through the arrangement of repetitive motifs, time series data can be analyzed using a fractal perspective. In the context of the Detrended Fluctuation Analysis (DFA) method, these fluctuations are viewed as a metric for evaluating randomness [
43,
44]. By quantifying the level of randomness in these fluctuations, the DFA method effectively measures the self-similarity present in the observed time series. The core principle of this method is similar to the root mean square error, but it is distinguished by its greater robustness to the non-stationary nature of the processes being analyzed [
45].
Equation (3) provides the formula to compute the magnitude of fluctuations.
In Equation (3), the variable
y(
k) represents the integral of the analyzed time series, with a total length of
N, which is divided into sub-intervals of varying lengths, denoted as
n. The choice of ‘
n’ depends on the duration of the time series and the periodicity of the underlying patterns, resulting in different possible values. Simultaneously,
yn(
k) refers to the coefficients corresponding to the slope of the least-squares error line, typically fitted to each individual sub-interval. An investigation into the relationship between
F(
n) and ‘
n’ reveals a significant exponential increase in the magnitude of fluctuations as the length of the sub-intervals grows. Interestingly, this relationship appears nearly linear when viewed in a log-log scale. In particular,
F(
n), which measures the magnitude of fluctuations, is well-approximated by
nα. The parameter ‘α,’ known as the DFA number, represents the slope of the tangent line on the log-log plot linking
F(
n) and ‘
n’. This essential parameter quantifies the degree of correlation within the fluctuations [
44]. The relationship between α and the stochastic nature of temporal variations throughout the successive phases is concisely represented by Equation (4).
The results obtained from this methodology serve a dual purpose, proving useful in the biological understanding of motor control dynamics [
33]. A notable advantage of this approach is its ability to support the underlying biological framework of the central nervous system. For example, the insights gained through this method have been linked to the complex network of supra-spinal circuits involved in motor control. Additionally, these findings offer valuable perspectives on the operational mechanisms of the central pattern generator, which coordinates rhythmic motor movements [
46].
4.4. Results and Discussion
4.4.1. Reliability Analysis
The ICC (Intraclass Correlation Coefficient) and Cronbach’s alpha were computed to assess the reliability of the measured data. As a general guideline, values below 0.5 indicate poor reliability, those between 0.5 and 0.75 indicate moderate reliability, values from 0.75 to 0.9 indicate good reliability, and values above 0.9 indicate excellent reliability [
41]. The ICC, calculated using a two-way mixed-effects model with absolute agreement, demonstrated good and high reliability, with values exceeding 0.785 for all indices (SD and DFA for both right and left legs at rest and during walking).
Additionally, Cronbach’s alpha was greater than 0.793 for all indices, indicating strong internal consistency. Together, these values confirm the high reliability of the measured data (
Table 1).
4.4.2. Results Evaluation
The main effect of Path, and the interactions of Path × Leg, Path × Sensor, Path × Time, Path × Time × Leg, Path × Sensor × Leg, Path × Sensor × Time, Path × Sensor × Time × Leg were not significant (
p > 0.070) meaning that there was no significant difference between the two path even in details (
Figure 7). The results, as shown in
Table 2, were analyzed using ANOVA, which allowed for the comparison of different conditions and groups to determine if there were statistically significant differences in the data.
As
Table 2 shows, the analysis provided insights into the effectiveness of the IoTToe design and its impact on various gait parameters across different participants. The main effect of leg was significant (F(1, 88) = 187.63,
p = 0.003, η
P = 0.095) because of the lower values of the right leg (3.57 ± 0.16) compared to the left leg (4.25 ± 0.16). It can be described by the majority of the participants who were right-footed. The main effect of Sensor was significant (F(2, 176) = 40.97,
p < 0.001, η
P = 0.318) because of the higher values of AC combination compared to the others and lower values of the AB combination compared to the others (AB: 3.44 ± 0.13, AC: 4.29 ± 0.11, BC: 3.99 ± 0.13). The Leg × Sensor interaction was significant (F(2, 176) = 44.04,
p < 0.001, η
P = 0.334). Post hoc comparisons revealed that the values for sensor combinations of AC and BC were higher in the left leg compared to the right leg (for both,
p < 0.022). Moreover, the values of the AC were higher compared to AB and BC for both legs (
p < 0.001). It means that the AC sensor combination is more sensitive compared to the others. The main effect of Time was significant (F(2, 176) = 1142,
p < 0.001, η
P = 0.928) because of the higher values of during compared to before and after (before: 0.72 ± 0.05, during: 10.13 ± 0.29, after: 0.87 ± 0.05). It means that the change between the orientations of the sensors during walking was much more than during sanding which is normal. The Leg × Time interaction was significant (F(2, 176) = 8.74,
p < 0.001, η
P = 0.090). Posthoc comparisons revealed significant higher values in the left leg (11.02 ± 0.41) compared to the right leg (9.25 ± 0.41) just during walking (
p = 0.003) and there was no difference between the two legs in standing positions (before and after walking,
p > 0.085). Moreover, the values were higher during walking compared to the standing positions (i.e., before and after; for all comparisons,
p < 0.001). The Sensor × Time interaction was significant (F(4, 352) = 28.71,
p < 0.001, η
P = 0.246). Post hoc comparisons revealed that during walking the values of AC sensor combination were significantly higher than the others and the values of the AB sensor combination were significantly lower than the others (for all comparisons,
p < 0.015). Moreover, for all sensor combinations, the values during walking were significantly higher than the standing positions (i.e., before and after;
p < 0.001).
It confirms the difference between the data in walking and standing positions. The Leg × Sensor × Time interaction was significant (F(4, 352) = 21.17, p < 0.001, ηP = 0.194). Post hoc comparisons revealed higher values in the left leg compared to right leg for AC and BC sensor combinations during walking (for both comparisons, p < 0.012). Furthermore, the sensitivity of the AC and BC sensor combinations was higher than AB sensor combination, while the values of AC sensor combination were higher compared to the others for both legs during walking (for all comparisons, p < 0.002). Pearson correlation revealed significant negative correlation between body height and the values for all sensor combinations during walking (for all, p < 0.012, correlation coefficients < −0.37). It confirms the effect of body height on the walking pattern. There was not a significant correlation between the values and body weight, age, and number of steps per day.
The negative correlation suggests that the taller the individual, the less variation in the ankle area for a better movement control [
47]. Taller individuals generally exhibit smaller differences in angle variability. This is consistent with the idea that greater deviations in ankle alignment can cause significant deviations in the upper body, complicating the maintenance of center of pressure and balance. Moreover, the variability in the right foot was lower than the left foot, showing better control of the right foot [
48]. It can be interpreted by having the majority right-footed participants. Additionally, the sensor combination of AC had a greater variability compared to the other two sensor combinations as shown in
Figure 8. This implies that the number of sensors could be optimized in certain designs. For instance, sensor B, which is located on the Gastrocnemius muscle, could potentially be removed without compromising data quality.
4.5. Statistical Analysis and Results
The DFA number was analyzed using repeated measures of ANOVA with the Action (Rest, straight walking, curve walking) and Leg (right and left) as within factors.
4.5.1. The Sensor A with Respect to B
Repeated measures ANOVA on the DFA revealed a significant effect of Action (F(2, 88) = 20.00, p < 0.001, ηP2 = 0.313), with higher values observed at rest compared to walking.
Additionally, the effect of Leg was significant (F (1, 44) = 4.901, p = 0.044, ηP2 = 0.129), with higher values for the right leg (0.685 ± 0.016) compared to the left leg (0.564 ± 0.016). The Action × Leg interaction was not significant (p = 0.851).
4.5.2. Sensor A with Respect to C
Repeated measures ANOVA on the DFA revealed a significant effect of Action (F(2, 88) = 13.24, p < 0.001, ηP2 = 0.231), with higher values observed at rest (0.679) compared to movement (0.569). However, the effect of Leg (p = 0.298) and the Action × Leg interaction (p = 0.334) were not significant.
4.5.3. Sensor B with Respect to C
Repeated measures ANOVA on the DFA revealed a significant effect of Action (F(2, 88) = 5.72, p = 0.005, ηP2 = 0.115), with higher values at rest compared to movement. Additionally, the effect of Leg was significant (F(1, 44) = 12.98, p = 0.001, ηP2 = 0.228), with higher values for the right leg (0.667 ± 0.018) compared to the left leg (0.594 ± 0.014). The Action × Leg interaction was not significant (p = 0.448).
IOTToe system is composed of six ADXL345 sensors that can be positioned in various parts of the participant’s foot. The system is integrated with a webpage, empowering healthcare providers to detect and monitor the curvature process online without the need for physical tests or direct contact. The system is designed to be installed on children as young as 3 years up to adults and can be used as assistive tool during therapy or for diagnosis of in/out Toe. In balance control and walking, a DFA exponent (α) between 0.5 and 1 reflects the long-range positive correlations and suggests an adaptive, well-regulated system with a balanced degree of variability.
For Walking (Gait Variability): An α between 0.5 and 1 in walking data suggests a gait that is neither too rigid nor too random, with a balance that supports adaptability and stability. This is often seen as optimal for dynamic environments where quick, minor adjustments are needed to maintain a steady gait. This range indicates that the gait pattern has a stable structure with long-range positive correlations as we have in our results, meaning that past strides influence future strides, but not rigidly. This balance of variability suggests an adaptive gait, allowing adjustments for minor irregularities without over-correcting. Healthy young adults commonly show α values in this range, as it represents a flexible gait pattern with resilience to minor disturbances. Values closer to 1 may imply more consistent step patterns, while those closer to 0.5 reflect more variability but within a controlled range. In our results, the values for the left leg were closer to 0.5, while those for the right leg were higher, indicating more consistent control in the right leg. This can be attributed to the majority of right-footed participants in our experiment, which likely contributed to a more stable gait pattern on the dominant side.
For Balance (Postural Control in Standing): For standing balance, α between 0.5 and 1 is typically ideal, suggesting the system can effectively manage balance perturbations without excessive rigidity. Healthy individuals, especially younger adults, often show values in this range, as it allows them to respond to balance challenges with agility and minimal risk of falling. In balance control, this range suggests a stationary, adaptive postural control strategy. With α values in this range, postural sway shows correlated fluctuations, meaning small movements are adjusted through ongoing corrections, maintaining stability while allowing flexibility. This range indicates that balance adjustments are stable yet responsive to subtle shifts, which is characteristic of healthy postural control. Values closer to 0.5 show more variability and adaptability, while values closer to 1 indicate a more stable, slightly more consistent sway pattern. We should note that the higher DFA in standing balance points to a more stable, controlled posture, while the lower DFA in walking reflects the adaptability needed for dynamic movement.
The results based on ANOVA test promised to discern data of left and right leg. Moreover, we showed that the AC sensor combination was more sensitive compared to the others meaning that we can reduce the number of sensors by eliminating the sensor from B location. Moreover, the data found a difference between left and right leg confirming the method to detect some parameters of walking. It opens a new window to realize an affordable device to detect walking parameters. Since the location of the sensors are in the lowest parts of the leg and foot, we expect this system can be used to detect some walking deformation or defect in future by recording data from healthy and patients. Taller individuals generally exhibit smaller differences in angle variability. This is consistent with the idea that greater deviations in ankle alignment can cause significant deviations in the upper body, complicating the maintenance of center of pressure and balance. Additionally, the sensor combination of AC had a greater variability compared to the other two sensor combinations. This implies that the number of sensors could be optimized in certain designs. For instance, sensor B, which is located on the Gastrocnemius muscle, could potentially be removed without compromising data quality. The results are promising for discriminating between the left and right legs. Most participants were right-footed, so better control of the right leg was expected. Our results showed that the DFA value for the left leg was lower and closer to 0.5, indicating more randomness and less long-range correlation. This suggests that the time series for the left leg behaved more like a random walk, with weak or minimal long-range correlation.
4.6. Discussion
The results of this study align with previous research highlighting the impact of foot misalignment on gait and overall health. Chronic foot malalignment, such as in-toeing or out-toeing, not only affects musculoskeletal function but can also influence mental health and quality of life due to compensatory movement strategies that may lead to secondary disorders [
5]. In-toeing (pigeon toes) is often associated with structural abnormalities like metatarsus adductus or femoral anteversion, whereas out-toeing (duck feet) is commonly linked to external tibial torsion or femoral retroversion [
6,
7,
8]. While many mild cases resolve naturally during growth, persistent deviations may require clinical intervention through physical therapy, orthoses, or surgery [
9,
10]. Idiopathic or persistent toe walking presents particular challenges, often necessitating prolonged monitoring and repeated clinical evaluations [
11,
12].
The present IoTToe system addresses several limitations of traditional gait assessment methods. Conventional techniques, while simple and cost-effective, often lack real-time monitoring and high sensitivity, particularly for long-term or at-home tracking [
35,
36,
37]. IMU-based systems provide continuous, precise measurements of foot orientation, step length, cadence, and rotational motion, enabling detection of subtle gait deviations such as in-/out-toeing. Our results demonstrated that the AC sensor combination (instep to Achilles tendon) was most sensitive, capturing higher variability during walking, particularly in the left leg, while the right leg showed more consistent control—likely reflecting the dominance of right-footed participants. This finding is consistent with previous literature suggesting dominant-leg stability reduces angular variability in gait [
48].
Statistical analyses, including repeated-measures ANOVA and DFA, confirmed the system’s ability to detect significant differences between legs and sensor combinations, as well as gait versus standing conditions. For instance, DFA values during walking were lower for the left leg (closer to 0.5), suggesting greater variability and adaptive gait behavior, whereas the right leg showed higher DFA values, indicating more stable and controlled steps. The AC sensor combination demonstrated the highest sensitivity, implying that sensor placement could be optimized by potentially eliminating less informative sensors, such as sensor B on the gastrocnemius. Furthermore, taller participants exhibited smaller angle variability, consistent with prior findings that ankle alignment deviations influence upper-body stability and center-of-pressure maintenance.
Following established approaches for wearable data quality assessment [
49,
50], we evaluated the quality of the recorded signals using intraclass correlation coefficients (ICC) and detrended fluctuation analysis (DFA) to assess signal consistency and temporal structure, thereby ensuring the reliability of the wearable monitoring data. Additionally, our multi-MCU, multi-sensor platform follows the smart wearable standards for health monitoring discussed by Andreu-Perez et al. (2015) [
51] and Deng et al. (2023) [
52].
Furthermore, we would like to add that the IoTToe system utilizes a total of three NodeMCU microcontrollers and six ADXL345 sensors distributed across both legs. As shown in the system design, each of the three discrete wearable units consists of two ADXL345 sensors connected to one NodeMCU. This 2:1 sensor-to-MCU ratio allows for tight hardware-level synchronization via a wired I2C bus, ensuring that the paired sensors on each unit are sampled simultaneously by a single master clock. Moreover, statistical reliability while the data recording can be sensitive to jitter, the system’s empirical reliability is confirmed by high-resolution metrics:
Internal Consistency: Cronbach’s alpha values exceeded 0.793, indicating high internal consistency across all indices.
Reliability: Intraclass Correlation Coefficient (ICC) values reached up to 0.911, demonstrating “good to high” reliability in capturing gait dynamics.
Stability: DFA was used to quantify signal randomness. Values remained between 0.5 and 1.0, confirming persistent long-range correlations and that the captured data reflects stable patterns rather than white noise from sampling jitter.
Moreover, to handle the data flow from multiple MCUs, the system employs a real-time transfer protocol to a central web monitoring page. Data is subsequently downloaded into a single Excel file, allowing for synchronized temporal alignment during secondary analysis. Our results successfully distinguished significant, consistent differences in Leg × Sensor interactions (e.g., right leg values of 3.57 ± 0.16 vs. left leg at 4.25 ± 0.16), proving that network “dilation” did not impair the detection of biomechanical variations.
Based on the results, potential in-toeing or out-toeing can be inferred from leg-specific patterns and sensor combinations:
- ▪
Leg differences:
- ✓
The left leg exhibited higher variability than the right leg during walking.
- ✓
The right leg showed lower variability, consistent with most participants being right-footed.
- ✓
Greater variability often reflects increased deviations in ankle orientation, potentially indicating mild in- or out-toeing.
- ▪
Sensor combinations:
- ✓
The AC sensor combination (instep to Achilles tendon) showed the highest variability in both legs, suggesting more medial-lateral or rotational foot motion.
- ✓
The AB combination (instep to gastrocnemius) had the lowest variability, indicating minimal rotational deviation.
- ▪
Walking vs. standing:
- ✓
Differences were prominent during walking, not standing, indicating that in-/out-toeing manifests primarily during dynamic gait.
- ▪
Interpretation:
- ✓
Participants with higher AC sensor values in the left leg during walking may exhibit more in- or out-toeing on that side.
- ✓
The right leg is generally more stable, showing less toe deviation.
- ✓
While AC sensor values are most indicative of rotational foot motion, exact in-/out-toeing direction requires confirmation via angle orientation measurements.
5. Conclusions
Toe-in and toe-out foot alignment refers to the inward or outward angle of the toes, which can affect gait, posture, and joint stress. Detecting and monitoring these alignments, along with assessing improvements, are crucial for managing their impact on individuals. Exact global numbers are not available, many individuals experience internal or external foot rotation unknowingly, particularly during activities like walking, running, or sitting. Chronic pronation, where the foot turns inward during walking, can lead to various health issues. Prolonged pronation may cause an abnormal gait, increasing pressure on the knee, hip, and spine, resulting in pain and fatigue in these areas. It can also contribute to arch collapse, heightened plantar pressure, and conditions like flat feet and plantar fasciitis. Additionally, long-term pronation affects ankle stability, elevating the risk of sprains and injuries. Conversely, sustained external foot rotation may lead to excessively raised arches, elevated plantar pressure, and conditions such as high arches and plantar warts. It can also destabilize the inner ankle, increasing the likelihood of sprains. Abnormal gait patterns from prolonged external rotation can further strain the knee, hip, and spine, causing discomfort and fatigue. In this paper, we propose a wearable IOT device called IoTToe and investigate its performance with 45 participants (36 men and 9 women) aged 20 to 25 years, each with varying BMI indices. The average age for males is 21.58 years and for females is 21.45 years. Sample sizes were calculated using G-Power software.
Limitations of this study include a relatively small, convenience-based sample restricted to healthy young adults, which may limit generalizability. The system was not yet tested on clinical populations or children with severe gait abnormalities, which may present distinct movement patterns. Additionally, while IMU sensors provide precise rotational data, calibration and placement errors may introduce variability, and the system does not yet measure exact joint angles for direct classification of in- versus out-toeing.
Despite these limitations, the IoTToe design demonstrates significant promise for affordable, long-term gait monitoring. It offers clinicians and caregivers real-time, multi-point foot motion data, with potential applications for early detection of gait deviations, treatment monitoring, and rehabilitation guidance. Future studies should focus on validating the system in clinical populations, refining sensor placement, and integrating angle-specific measurements to improve classification of in-/out-toeing patterns.
In summary, the proposed design boasts advantages across multiple dimensions, including comprehensive data collection, accuracy, and reliability, enhanced user experience and portability, and significant potential for clinical applications. These strengths not only make the project highly valuable but also pave the way for significant advancements and innovations in the realms of gait monitoring and rehabilitation therapy. IOTToe design represents not only a technological innovation but also a compassionate approach to human health. It has the potential to reshape how foot health is understood and managed, offering a healthier and more comfortable life. The system’s successful outcomes underscore its potential for telemetric applications in hospital environments, providing valuable insights and data for medical professionals and researchers. It can monitor and analyze critical parameters remotely, thereby enhancing healthcare efficiency and supporting advanced research in various medical fields. Future work will focus on optimizing the hardware design, such as integrating all six sensors via a single NodeMCU to reduce complexity and power consumption. Data collection will be expanded to include clinical populations, children with gait abnormalities, and individuals with confirmed toe-in or toe-out alignment. Additionally, the web-based interface will be enhanced to provide clinically meaningful outputs, including automated toe-in/toe-out detection, gait classification, and decision-support functionalities. Increasing the sample size, particularly for female participants, will improve generalizability and provide more comprehensive insights into gait patterns and related complications.