Digital and Remote Interventions for Musculoskeletal Aging: Real-Time Muscle Strain Severity Detection Using Artificial Intelligence
Zulaikha Fatima, Abdullah, Nida Hafeez, Rolando Quintero Téllez, Miguel Jesús Torres Ruiz, Carlos Guzmán Sánchez Mejorada, Miguel Félix Mata-Rivera, Roberto Zagal-FloresAs global populations grow and technology advances, daily life is increasingly shaped by digital systems such as computers and smart devices. However, prolonged device use has contributed to increasing physical and mental health concerns, particularly those associated with poor sitting posture. Posture-related strain is frequently overlooked and contributes to musculoskeletal discomfort, including back, neck, shoulder, and wrist pain, and may also be associated with sleep disturbances and elevated stress levels. To the best of our knowledge and based on the existing literature, this is the first study to introduce a machine learning-based framework for advanced muscle strain severity classification using Internet of Things (IoT) devices that integrates posture monitoring and muscle strain detection into a unified low-cost framework ($23 hardware cost). The primary objective of this work is accurate classification of muscle strain severity, while real-time alerts serve as a secondary ergonomic feedback mechanism. Specifically, this study makes four major contributions. First, we created a novel dataset through real-time acquisition of electromyography (EMG) and posture signals from participants in hospital and industrial environments, capturing diverse muscle strain patterns validated against clinical assessment procedures. Second, we designed a two-part hardware architecture consisting of posture detection (PD) and strain detection (SD) modules using a NodeMCU ESP8266, HC-SR04 ultrasonic sensor, EMG sensor, and buzzer for real-time physiological monitoring, incorporating EMG-specific preprocessing including band-pass filtering, rectification, and RMS smoothing. Third, we proposed and evaluated a hybrid machine learning framework integrating Vision Transformer (ViT) and XGBoost to classify strain severity into three study-specific categories: baseline (EMG RMS < 40 µV), compensatory strain (40–59 µV), and overload (≥60 µV). These categories were used as reproducible severity proxies for machine learning annotation and should not be interpreted as universal biomarkers of structural tissue damage. Finally, the proposed framework achieved a classification accuracy of 99.0% (95% CI: 98.5–99.5%) with an inference latency of 15.2 ms.