Application of Inertial Measurement Units and Machine Learning Classification in Cerebral Palsy: Randomized Controlled Trial

Siavash Khaksar, Huizhu Pan, Bita Borazjani, Iain Murray, Himanshu Agrawal, Wanquan Liu, Catherine Elliott, Christine Imms, Amity Campbell, Corrin WalmsleyJMIR 2021

Abstract

Cerebral palsy (CP) is a prevalent physical disability affecting movement and posture. Traditional clinical assessments rely on manual tools like goniometers, which can be subjective and difficult to use with pediatric patients. This study explores a digital solution using custom-built Inertial Measurement Units (IMUs) and machine learning (ML) to classify movement features and evaluate therapy effectiveness. By utilizing raw IMU data, the researchers bypassed complex kinematic calculations, achieving high classification accuracy (up to 89.39%) across two distinct age groups. The findings suggest that wearable sensors offer a portable, objective alternative to laboratory-bound motion capture systems.

Introduction

Cerebral palsy (CP) impacts approximately 17 million people globally, including 34,000 in Australia. In clinical settings, measuring joint angles and range of motion (ROM) is essential for assessing the efficacy of interventions, such as wrist orthoses. However, the standard tools—goniometers and inclinometers—are often impractical for use with children, particularly those with motor impairments who may struggle to remain still during measurement.

While high-end optical motion capture systems (such as Vicon) provide a "gold standard" for accuracy, they require expensive equipment and dedicated laboratory space, making them unsuitable for mass data collection in everyday clinical environments. This research, a collaboration between Curtin University and clinical teams, proposes a portable solution: wearable IMUs coupled with machine learning to provide automated, objective movement classification.

Methodology

The study utilized custom-developed IMUs containing accelerometers, gyroscopes, and magnetometers. These sensors were placed on the wrists and forearms of participants to capture movement data during clinical trials.

Data Collection and Cohorts

Data were drawn from two major Australian clinical trials to ensure the models could handle different developmental stages:

  1. Minimising Impairment Trial (MIT): Focused on participants approaching 15 years of age. This cohort provided 263 samples from 89 participants with CP and 199 samples from 30 typically developing participants.
  2. Infant Wrist Hand Orthoses Trial (iWHOT): Focused on toddlers approaching 3 years of age. This cohort included 171 samples from 51 participants with CP and 149 samples from 20 control participants.

Machine Learning Classification

A significant technical contribution of this work is the direct application of ML to raw IMU data. Traditional kinematic analysis requires calculating Euler angles or quaternions to reconstruct joint positions—a computationally intensive process. This study demonstrates that the "signatures" of CP are present in the raw acceleration and rotation streams. By training algorithms on this raw data, the researchers significantly reduced the time required for classification. Nine different ML algorithms were evaluated to determine the most effective model for each age group.

Results

The system successfully validated wrist joint angle calculations against Vicon motion capture data. Furthermore, the ML models demonstrated high accuracy in distinguishing CP-related movement features from typical movements.

  • Adolescent Cohort (~15 years): The Random Forest algorithm achieved the highest accuracy at 87.75%. The k-nearest neighbors algorithm also performed well, yielding an Area Under the Curve (AUC) of 0.890.
  • Toddler Cohort (~3 years): The C4.5 decision tree algorithm reached an accuracy of 89.39%, while Naive Bayes achieved an AUC of 0.890.

These results indicate that the optimal algorithm varies by age, likely due to the evolving nature of motor control and the physical dynamics of movement as children grow from toddlers into teenagers.

Discussion

The findings suggest that raw sensor data contains sufficient information to identify pathological movement without the need for full skeletal reconstruction. This efficiency is a critical step toward real-time clinical applications.

Clinical Feedback and Practical Challenges

Researchers from the MIT trial provided positive anecdotal feedback, noting that IMUs were significantly easier to implement than manual goniometry, especially with younger, more active children. However, the study identified several practical hurdles:

  • Sensor Drift: Like all IMU-based systems, these sensors suffer from inherent drift over time, requiring sophisticated mitigation for long-term stability.
  • Physical Constraints: In the infant group, the small size of the participants' limbs occasionally caused the wrist and forearm sensors to touch or "clash," creating noise in the data.
  • External Interference: Accidental contact between the therapist and the sensors during guided movement tasks also introduced data artifacts.

Conclusion

This study demonstrates that wearable IMUs and machine learning offer a robust, objective method for classifying movement in children with Cerebral Palsy. By achieving high accuracy using raw data, the system provides a scalable solution for clinical monitoring that avoids the complexities of traditional kinematics. Future work will focus on transitioning these tools from the clinic to the home, enabling continuous monitoring of hand movements throughout a child's daily life to better understand how therapy translates into real-world functional improvements.

Summary updated

BibTeX
@inproceedings{khaksar2021application,
  author = {Siavash Khaksar and Huizhu Pan and Bita Borazjani and Iain Murray and Himanshu Agrawal and Wanquan Liu and Catherine Elliott and Christine Imms and Amity Campbell and Corrin Walmsley},
  title = {{Application of Inertial Measurement Units and Machine Learning Classification in Cerebral Palsy: Randomized Controlled Trial}},
  booktitle = {JMIR},
  year = {2021},
  doi = {10.2196/29769},
}
Figure