Sleep stage staging method based on standard deviation

Through the sleep stage staging method based on standard deviation, the distortion problem of heart rate and respiratory rate data of non-contact sleep detection equipment is solved, the accurate division of deep sleep, light sleep and awake stages is achieved, and the problem of sensor pressure distortion is solved. It is a difficult problem, and the test results are highly consistent with the EEG sleep measurement.

CN118614879AActive Publication Date: 2024-09-10BEIJING YOUJIAN YIXIN NETWORK CULTURE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411096744.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-09-10
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

In non-contact sleep detection equipment, the sensor is prone to signal distortion under the pillow or mattress, making it impossible to effectively classify sleep states.

Method used

The sleep stage staging method based on standard deviation is used to obtain the heart rate and respiration rate data, perform distortion processing and interpolation completion, calculate the heart rate standard deviation and respiration rate difference, and analyze the heart rate variability and respiration rate based on the threshold value and duration. Level of stability, dividing the stages of deep sleep, light sleep and wakefulness.

Benefits of technology

It effectively solves the problem of sleep staging caused by sensor pressure distortion, improves the accuracy and consistency of sleep states, and has a consistent rate of 85% with the test results of EEG sleep medical equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure QLYQS_81
    Figure QLYQS_81
  • Figure QLYQS_96
    Figure QLYQS_96
  • Figure QLYQS_94
    Figure QLYQS_94
Patent Text Reader

Abstract

The invention discloses a sleep stage staging method based on standard deviation, which relates to the technical field of non-contact sleep monitoring, and is characterized in that distortion parts at the head and the tail of original heart rate data and original respiration rate data are reserved; carrying out interpolation processing on a distortion part between effective data in the original heart rate data and the original breathing rate data, calculating a heart rate standard deviation and a breathing rate difference value of two adjacent minutes based on the heart rate data and the breathing rate data after interpolation processing, and judging whether a person lies on the mattress or not based on the data distortion part. Based on the heart rate standard deviation and the respiratory rate difference value of two adjacent minutes, the heart rate variability and the respiratory rate stability degree of the person lying on the mattress are further analyzed, so that the deep sleep stage, the shallow sleep stage and the waking stage of the person in the lying state are divided. The problems that when a non-contact sleep detection device sensor is arranged below a mattress or a pillow, the sensor is pressed and distorted, and sleep stage division is difficult to carry out are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of non-contact sleep monitoring, and more particularly to a sleep stage classification method based on standard deviation. Background Art

[0002] Traditional sleep monitoring devices mainly rely on contact sensors attached to the human body to measure, thereby obtaining real-time human parameter signals. For sensitive users, contact sensors attached to the human body can easily affect the user's natural sleeping habits and sleep quality.

[0003] For this reason, non-contact sleep monitoring devices came into being. They do not need to contact the user's body surface, are more comfortable to use, and will not cause interference or discomfort to the user's sleep.

[0004] Chinese patent CN109480787A provides a non-contact sleep detection device and sleep staging method based on ultra-wideband radar. The non-contact sleep detection device collects radar echo data of a human body lying down, obtains body movement status, respiratory rate and heart rate, and divides the sleep state into wakefulness, light sleep and deep sleep based on the acquired data.

[0005] The above patent requires that the sensor be installed in an unobstructed location such as the bedside or wall. When some children install it for the elderly, some privacy-conscious elderly people often resist. However, if the sensor is installed under the pillow or mattress, the signal collected by the sensor will easily be distorted due to the change in the pressure of the human body on the sensor, making it impossible to divide the sleep state. Summary of the invention

[0006] In view of the problem in the prior art that the sensor is installed under the pillow or mattress, which is prone to signal distortion and causes the non-contact sleep detection device to be unable to achieve sleep state classification, the purpose of the present invention is to provide a sleep stage classification method based on standard deviation, which includes the following steps: S1. Use a sensor placed under a mattress or pillow to obtain raw data, the raw data is as follows: Heart rate data H = { , ,……, }, h represents the heart rate per minute.

[0007] Respiration rate data B = { , ,……, }, b represents the respiratory rate per minute.

[0008] S2, given distortion rate judgment value , given the distorted breathing rate judgment value . Set H to be greater than or equal to The h value is assigned to 0, and we get . Set B to be greater than or equal to The b value is assigned to 0, and we get .

[0009] S3, if =0, then judge from n to 1 in sequence Is the h value zero? ≠0, j<n. If =0, then judge in order from 1 to n Is the h value zero? ≠0, i<n. like ≠0, then In = .like ≠0, then In = .

[0010] like =0, then judge from n to 1 in sequence Is the b value zero? ≠0, p<n. If =0, then judge in order from 1 to n Is the b value zero? ≠0, q<n. If ≠0, then In = .like ≠0, then In = .

[0011] S4. middle and Each h value equal to zero is assigned the average of the two non-zero h values ​​before and after it, and we get .Will middle and Each b value equal to zero is assigned the average of the two non-zero b values ​​before and after it, and the result is .

[0012] S5. Calculate in sequence The difference between each b value and the first b value after it ,get ={ , ,……, }.

[0013] Calculate in sequence The standard deviation of each h value and the next h value or the next consecutive h values .get { , ,……, }.

[0014] S6. According to , and Determines sleep stage results for each minute, with sleep stage results being deep sleep, light sleep, or wakefulness.

[0015] The present invention is further configured as follows: S6 specifically steps as follows: assuming that deep sleep is , light sleep is , sober for .according to , and Determine sleep stage results per minute : y∈[1,n], when y is equal to n, Recorded as 0, Recorded as 0. Given Threshold values ​​E1 and E2, E1>E2, given Threshold value F, given Duration C, C≥2.

[0016] =0, = .

[0017] ≠0, if ≥E1, ≤F, and The two adjacent ones that are larger than F If the time interval between is greater than or equal to C, then = .like ,and <E2, then = .like ,and ,but = .

[0018] The present invention is further set as: F=0.

[0019] The present invention is further configured as: C=4 or C=5.

[0020] The present invention is further configured as: E1=4 or E1=3.

[0021] The present invention is further configured as: E2=1.

[0022] The present invention is further configured as follows: The calculation steps are as follows: Given a value A, 30≥A≥15. middle There are at least A-1 h values ​​after that, x∈[1,n], then calculate , μ represents the mean, .like middle If the number of h values ​​is less than A-1, and x∈[1,n], then calculate , μ represents the mean, .

[0023] The present invention is further set as: A=20.

[0024] The present invention is further configured as follows: The single-minute heart rate value corresponding to the upper limit of the sensor measurement. The single-minute respiration rate value corresponding to the upper limit of the sensor measurement.

[0025] The present invention is further configured as follows: the sensor is a radar sensor or a piezoelectric sensor, the radar sensor is used to transmit radar waves to the human body and receive radar echo data, and obtain raw data based on the radar echo data. The piezoelectric sensor is used to convert small pressure changes on the mattress into electrical signals, and obtain raw data based on the electrical signals.

[0026] In summary, the present invention has the following beneficial effects compared to the prior art: the present invention retains the distorted parts at the beginning and end of the original heart rate data and the original respiratory rate data, performs interpolation processing on the distorted parts of the original heart rate data and the original respiratory rate data located between the valid data, calculates the heart rate standard deviation and the respiratory rate difference of two consecutive minutes based on the interpolated heart rate data and respiratory rate data, determines whether someone is lying on the mattress based on the distorted part of the data, and further analyzes the heart rate variability and respiratory rate stability when someone is lying on the mattress based on the heart rate standard deviation and the respiratory rate difference of two consecutive minutes, so as to divide the deep sleep stage, light sleep stage and awake stage of the person in the lying state. The method provided by the present invention solves the problem that when the sensor of the non-contact sleep detection equipment is set under the mattress or pillow, the sensor is compressed and distorted, making it difficult to divide the sleep stages. DETAILED DESCRIPTION

[0027] The technical solution of the present invention will be clearly described below. Obviously, the described embodiments are not all embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the invention.

[0028] Example This embodiment provides a sleep stage classification method based on standard deviation, which includes the following steps: S1. Use a sensor placed under a mattress or pillow to obtain raw data. The sensor is a radar sensor or a piezoelectric sensor. The radar sensor is used to transmit radar waves to the human body and receive radar echo data. Raw data is obtained based on the radar echo data. The piezoelectric sensor is used to convert small pressure changes on the mattress into electrical signals. Raw data is obtained based on the electrical signals. The raw data is as follows: Heart rate data H = { , ,……, }, h represents the heart rate per minute.

[0029] Respiration rate data B = { , ,……, }, b represents the respiratory rate per minute.

[0030] S2, given distortion rate judgment value , given the distorted breathing rate judgment value . Set H to be greater than or equal to The h value is determined as the distorted heart rate and assigned to 0 to obtain the heart rate data . Set B to be greater than or equal to The b value is determined as the distorted breathing rate and assigned to 0 to obtain the breathing rate data. .

[0031] The single-minute heart rate value corresponding to the upper limit of the sensor measurement. The single-minute respiration rate value corresponding to the upper limit of the sensor measurement.

[0032] S3, if =0, then judge from n to 1 in sequence Is the h value zero? ≠0, j<n. If =0, then judge in order from 1 to n Is the h value zero? ≠0, i<n. like ≠0, then In = .like ≠0, then In = . arrive The data represents the heart rate data of a person lying in bed.

[0033] like =0, then judge from n to 1 in sequence Is the b value zero? ≠0, p<n. If =0, then judge in order from 1 to n Is the b value zero? ≠0, q<n. If ≠0, then In = .like ≠0, then In = . middle arrive The data represents the breathing rate of a person lying in bed.

[0034] The calculation steps are as follows: Given a value A, A represents the time required to fall asleep normally, 30≥A≥15. middle There are at least A-1 h values ​​after that, x∈[1,n], then calculate , μ represents the mean, .like middle If the number of h values ​​is less than A-1, and x∈[1,n], then calculate , μ represents the mean, In this embodiment, A=20.

[0035] S4. middle and Each h value equal to zero is assigned the average of the two non-zero h values ​​before and after it, and the distorted heart rate data of the person lying on the bed is interpolated and supplemented to obtain the heart rate data. .Will middle and Each b value equal to zero is assigned the average of the two non-zero b values ​​before and after it, and the distorted breathing rate in the breathing rate data of a person lying on the bed is interpolated and supplemented to obtain the breathing rate data. .

[0036] S5. Calculate in sequence The difference between each b value and the first b value after it ,get ={ , ,……, }.

[0037] Calculate in sequence The standard deviation of each h value and the next h value or the next consecutive h values .get { , ,……, }.

[0038] S6. According to , and Determine the sleep stage result for each minute, and the sleep stage result is deep sleep, light sleep, or wakefulness. It can be used to classify whether a person is lying in bed. Can be used to determine how steady a person's breathing is. Can be used to determine a person's heart rate variability. and Combined, it can be used for the deep sleep stage, light sleep stage and wakefulness stage of a person in a lying state.

[0039] It should be noted that the deep sleep in this embodiment is equivalent to the non-rapid eye movement (NREM) state in the art, and the light sleep in this embodiment is equivalent to the rapid eye movement (REM) state in the art.

[0040] It is a parameter that measures the degree of fluctuation of respiratory rate. The smaller the value, the steadier the breathing. Because the breathing in the NREM state is generally deep and slow, and the breathing rhythm is more regular, multiple consecutive and small values It can be used as one of the measures of deep sleep.

[0041] It is an important parameter to measure heart rate variability. The smaller it is, the smaller the heart rate variability HRV is; The larger the HRV, the greater the heart rate variability. According to the literature "Study on Heart Rate Variability of Short-term Sleep Based on Limited Crossing Horizontal Visibility Diagram", the transition from wakefulness to non-rapid eye movement (NREM) sleep is associated with increasing parasympathetic modulation and decreasing sympathetic modulation. During NREM sleep, as the degree of sleep deepens from light sleep to deep sleep, parameters such as heart rate gradually decrease, while HRV increases. On the contrary, from the NREM stage to the REM sleep stage, HRV will decrease significantly, accompanied by changes in the balance of the sympathetic vagus nerves, in the direction of weakened vagal control and enhanced sympathetic modulation. Therefore, in the deep sleep stage, Maximum, awake The smallest, lightest sleep stage , in deep sleep and awake stage between.

[0042] The specific steps are as follows: Set deep sleep to , light sleep is , sober for .according to , and Determine sleep stage results per minute : y∈[1,n], when y is equal to n, and It is impossible to calculate according to the steps described in S5, so Recorded as 0, Recorded as 0. Given Threshold values ​​E1 and E2, E1>E2, given Threshold value F, given Duration C, C≥2.

[0043] =0, = .

[0044] ≠0, if ≥E1, ≤F, and The two adjacent ones that are larger than F If the time interval between is greater than or equal to C, then = .like ,and <E2, then = .like ,and ,but = .

[0045] In this embodiment, F=0, C=4 or C=5, E1=4 or E1=3, and E2=1.

[0046] After testing, the deep sleep stage, light sleep stage and wakefulness stage divided based on the method of this embodiment have a consistency rate of about 85% with the test results of the Class II electroencephalogram sleep measurement medical device.

[0047] In summary, this embodiment retains the distorted parts at the beginning and end of the original heart rate data and the original respiratory rate data, interpolates the distorted parts of the original heart rate data and the original respiratory rate data that are between the valid data, calculates the heart rate standard deviation and the respiratory rate difference of two consecutive minutes based on the interpolated heart rate data and respiratory rate data, determines whether someone is lying on the mattress based on the distorted part of the data, and further analyzes the heart rate variability and respiratory rate stability when someone is lying on the mattress based on the heart rate standard deviation and the respiratory rate difference of two consecutive minutes, so as to divide the deep sleep stage, light sleep stage and awake stage of the person in the lying state. The method provided in this embodiment solves the problem that when the sensor of the non-contact sleep detection equipment is set under the mattress or pillow, the sensor is compressed and distorted, making it difficult to divide the sleep stages.

[0048] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A sleep stage classification method based on standard deviation, Features: The steps include: S1. Use a sensor placed under a mattress or pillow to obtain raw data, the raw data is as follows: Heart rate data H = { , ,……, }, h represents the heart rate per minute; Respiration rate data B = { , ,……, }, b represents the respiratory rate per minute; S2, given distortion rate judgment value , given the distorted breathing rate judgment value ; Set H to be greater than or equal to The h value is assigned to 0, and we get ; Set the value in B that is greater than or equal to The b value is assigned to 0, and we get ; S3, if =0, then judge from n to 1 in sequence Is the h value zero? ≠0, j<n; if =0, then judge in order from 1 to n Is the h value zero? ≠0, i<n; if ≠0, then In = ;like ≠0, then In = ; like =0, then judge from n to 1 in sequence Is the b value zero? ≠0, p<n; if =0, then judge in order from 1 to n Is the b value zero? ≠0, q<n; if ≠0, then In = ;like ≠0, then In = ; S4. middle and Each h value equal to zero is assigned the average of the two non-zero h values ​​before and after it, and we get ;Will middle and Each b value equal to zero is assigned the mean of the two non-zero b values ​​before and after it, and the result is ; S5. Calculate in sequence The difference between each b value and the first b value after it ,get ={ , ,……, }; Calculate in sequence The standard deviation of each h value and the next h value or the next consecutive h values ; get { , ,……, }; S6. According to , and Determines sleep stage results for each minute, with sleep stage results being deep sleep, light sleep, or awake.

2. A sleep stage classification method based on standard deviation according to claim 1, Features: The specific steps of S6 are as follows: Set deep sleep to , light sleep is , sober for ;according to , and Determine sleep stage results per minute : y∈[1,n], when y is equal to n, Recorded as 0, Recorded as 0; given Threshold values ​​E1 and E2, E1>E2, given Threshold value F, given Duration C, C≥2; =0, = ; ≠0, if ≥E1, ≤F, and The two adjacent ones that are larger than F If the time interval between is greater than or equal to C, then = ;like ,and <E2, then = ;like ,and ,but = .

3. A sleep stage classification method based on standard deviation according to claim 2, Features: F=0。 4. A sleep stage classification method based on standard deviation according to claim 2 or 3, Features: C=4 or C=5.

5. A sleep stage classification method based on standard deviation according to claim 2, Features: E1=4 or E1=3.

6. A sleep stage classification method based on standard deviation according to claim 2 or 5, Features: E2=1。 7. A sleep stage classification method based on standard deviation according to claim 1 or 2, Features: The calculation steps are as follows: given a value A, 30≥A≥15; if middle There are at least A-1 h values ​​after that, x∈[1,n], then calculate , μ represents the mean, ;like middle If the number of h values ​​is less than A-1, and x∈[1,n], then calculate , μ represents the mean, .

8. A sleep stage classification method based on standard deviation according to claim 7, Features: A=20。 9. A sleep stage classification method based on standard deviation according to claim 1 or 2, Features: The single-minute heart rate value corresponding to the upper limit of sensor measurement; The single-minute respiration rate value corresponding to the upper limit of the sensor measurement.

10. A sleep stage classification method based on standard deviation according to claim 1 or 2, Features: The sensor is a radar sensor or a piezoelectric sensor. The radar sensor is used to transmit radar waves to the human body and receive radar echo data, and obtain original data based on the radar echo data; the piezoelectric sensor is used to convert the pressure change on the mattress into an electrical signal, and obtain original data based on the electrical signal.

Citation Information

Patent Citations

  • Sleep stage staging method for self-adaptive cluster point generation

    CN112617761A

  • Sleep staging stage identification method based on human body monitoring sleep data

    CN112842266A

  • Sleep sign and state detection method

    CN114176543A

  • Non-contact sleep stage judgment method and system, computer equipment and medium

    CN115500789A

  • Method and system for generating insomnia mind-correcting treatment task training scheme

    CN116936036A