Sleep posture is a key factor in assessing sleep quality, especially for individuals with Obstructive Sleep Apnea (OSA), where the sleeping position directly affects breathing patterns: the side position alleviates symptoms, while the supine position exacerbates them. Accurate detection of sleep posture is essential in assessing and improving sleep quality. Automatic sleep posture detection systems, both wearable and non-wearable, have been developed to assess sleep quality. However, wearable solutions can be intrusive and affect sleep, while non-wearable systems, such as camera-based approaches and pressure sensor arrays, often face challenges related to privacy, cost, and computational complexity. The system in this paper proposes a microcontroller-based approach exploiting the execution of an embedded machine learning (ML) model for posture classification. By locally processing data from a minimal set of pressure sensors, the system avoids the need to transmit raw data to remote units, making it lightweight and suitable for real-time applications. Our results demonstrate that this approach maintains high classification accuracy (i.e., 0.90 and 0.96 for the configurations with 6 and 15 sensors, respectively) while reducing both hardware and computational requirements.
Read full abstract