CN112806966B - A non-interference sleep apnea early warning system - Google Patents
A non-interference sleep apnea early warning system Download PDFInfo
- Publication number
- CN112806966B CN112806966B CN202110146421.5A CN202110146421A CN112806966B CN 112806966 B CN112806966 B CN 112806966B CN 202110146421 A CN202110146421 A CN 202110146421A CN 112806966 B CN112806966 B CN 112806966B
- Authority
- CN
- China
- Prior art keywords
- time
- breathing
- module
- interference
- sleep
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 201000002859 sleep apnea Diseases 0.000 title claims description 26
- 230000029058 respiratory gaseous exchange Effects 0.000 claims abstract description 55
- 238000009529 body temperature measurement Methods 0.000 claims abstract description 20
- 238000001931 thermography Methods 0.000 claims abstract description 20
- 230000008859 change Effects 0.000 claims abstract description 15
- 230000009471 action Effects 0.000 claims abstract description 12
- 238000005259 measurement Methods 0.000 claims abstract description 9
- 208000008784 apnea Diseases 0.000 claims abstract description 4
- 238000000034 method Methods 0.000 claims description 19
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 7
- 239000011159 matrix material Substances 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 5
- 238000013528 artificial neural network Methods 0.000 claims description 5
- 238000001914 filtration Methods 0.000 claims description 3
- 239000000463 material Substances 0.000 claims description 3
- 238000012549 training Methods 0.000 claims description 3
- 230000007704 transition Effects 0.000 claims description 3
- 230000002452 interceptive effect Effects 0.000 claims description 2
- 230000002618 waking effect Effects 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 abstract description 20
- 230000036544 posture Effects 0.000 abstract 1
- 238000004458 analytical method Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000000241 respiratory effect Effects 0.000 description 4
- 230000007812 deficiency Effects 0.000 description 2
- 238000003331 infrared imaging Methods 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000017531 blood circulation Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 230000010412 perfusion Effects 0.000 description 1
- 230000001766 physiological effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 208000019116 sleep disease Diseases 0.000 description 1
- 208000020685 sleep-wake disease Diseases 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4818—Sleep apnoea
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/01—Measuring temperature of body parts ; Diagnostic temperature sensing, e.g. for malignant or inflamed tissue
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Measuring devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor or mobility of a limb
- A61B5/1116—Determining posture transitions
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/74—Details of notification to user or communication with user or patient; User input means
- A61B5/746—Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M2021/0005—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
- A61M2021/0083—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus especially for waking up
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Public Health (AREA)
- Animal Behavior & Ethology (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Veterinary Medicine (AREA)
- Molecular Biology (AREA)
- Pathology (AREA)
- Surgery (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Physiology (AREA)
- Hematology (AREA)
- Acoustics & Sound (AREA)
- Anesthesiology (AREA)
- Psychology (AREA)
- Dentistry (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
Description
技术领域technical field
本发明涉及睡眠监测技术领域,具体涉及一种非干扰式睡眠中呼吸暂停预警系统。The invention relates to the technical field of sleep monitoring, in particular to a non-interference sleep apnea early warning system.
背景技术Background technique
睡眠呼吸暂停是一种严重的睡眠障碍,主要发生于睡眠过程中个人的呼吸中断时。因此,对于睡眠中呼吸暂停的监测和及时报警是十分必要的。Sleep apnea is a serious sleep disorder that occurs primarily when an individual's breathing is interrupted during sleep. Therefore, it is very necessary to monitor and timely alarm for sleep apnea.
现有技术普遍存在的一个限制是无法做到无干扰的监测睡眠状况,会对人的睡眠造成一定的影响。现有的基于动态心电与呼吸波采集的睡眠呼吸暂停采集分析系统采用的是一套可穿戴的分析系统,使用动态心电图记录器同步记录动态心电图与呼吸波,利用HRV和呼吸波2种指标相互佐证,对采集的数据进行推导和图像显示的分析,睡眠时采用这种方法进行睡眠呼吸状况的监测会对被测者的睡眠状况产生一定的影响。现有的监测设备还可以制造成便携式设备,从而可以在家庭使用,但也是需要穿戴外部设备,这也会造成对被测者的睡眠状况的影响。A common limitation of the prior art is that it is impossible to monitor sleep conditions without interference, which will have a certain impact on human sleep. The existing sleep apnea acquisition and analysis system based on ambulatory ECG and respiratory wave acquisition adopts a set of wearable analysis system, which uses a dynamic electrocardiogram recorder to record the dynamic electrocardiogram and respiratory wave synchronously, and uses two indicators of HRV and respiratory wave. Corroborating each other, deducing the collected data and analyzing the image display. Using this method to monitor the sleep breathing state during sleep will have a certain impact on the sleep state of the tested person. Existing monitoring equipment can also be made into portable equipment, so that it can be used at home, but also needs to wear external equipment, which will also affect the sleep status of the tested person.
此外还有部分研究采用红外热成像技术来监测睡眠呼吸状况。这种方法的基本原理是捕捉在呼吸过程中鼻子和嘴巴周围的温度波动,通过对波动的结果分析来判定呼吸状况。同时还有些研究主张在使用红外热成像技术监测睡眠呼吸状况时还应采用人脸捕捉系统;而使用红外热成像技术进行监测的主要局限性在于如果睡姿发生改变,在无法十分准确的进行人脸追踪的情况下,很难十分准确的输出睡眠呼吸状况。而如果加入了人脸识别系统,第一会导致算法编写难度加大,需要进行点对点的识别;第二监测数据更加丰富,例如如果不加入人脸识别系统,当被测者将头埋入被子中,只测试温度波动就略显不足。In addition, some studies have used infrared thermal imaging technology to monitor sleep breathing. The basic principle of this method is to capture the temperature fluctuations around the nose and mouth during breathing, and to determine the breathing status by analyzing the results of the fluctuations. At the same time, some studies advocate that a face capture system should also be used when using infrared thermal imaging technology to monitor sleep breathing conditions; the main limitation of using infrared thermal imaging technology for monitoring is that if the sleeping position changes, it cannot be very accurate. In the case of face tracking, it is difficult to output sleep breathing conditions very accurately. If the face recognition system is added, firstly, it will make the algorithm more difficult to write, requiring point-to-point identification; secondly, the monitoring data will be more abundant, for example, if the face recognition system is not added, when the subject buries his head in the quilt , it is slightly insufficient to only test for temperature fluctuations.
还有一种可穿戴式戒指,该设备可以监控心率、血氧饱和度水平、灌注指数以及睡眠期间的运动量,而只需通过手指中的毛细血管监控血流即可。虽然可以通过毛细血管流动等数据进行睡眠监测,但是这类产品的局限性在于不能做到及时预警。该设备采用振动提示并且可以告诉用户完整的睡眠状况的报告,但是就报警作用而言,仅仅是使用振动进行报警并不足以解决睡眠呼吸暂停的预警问题,无法十分及时且有效的发出警报。There is also a wearable ring that monitors heart rate, blood oxygen saturation levels, perfusion index, and exercise volume during sleep, all by monitoring blood flow through capillaries in the fingers. Although sleep monitoring can be performed through data such as capillary flow, the limitation of such products is that they cannot provide timely warning. The device uses vibration prompts and can tell the user a complete report of the sleep status, but in terms of alarm function, just using vibration to alarm is not enough to solve the early warning problem of sleep apnea, and it cannot issue an alarm in a timely and effective manner.
综上,现有技术都普遍存在着一些不足,包括:无法做到完全无干扰式监测、监测数据过于单一、无法及时有效地发出警报等,都极大地限制了上述监测方法的使用。To sum up, the existing technologies generally have some deficiencies, including: the inability to achieve completely non-interference monitoring, the monitoring data is too single, and the inability to issue alarms in a timely and effective manner, etc., which greatly limit the use of the above monitoring methods.
发明内容SUMMARY OF THE INVENTION
为了克服现有技术存在的缺陷与不足,本发明提供一种非干扰式睡眠中呼吸暂停预警系统,本发明解决了现有技术影响被检测者睡眠的问题,能够在被测者处于完全自然的状况下对睡眠中的呼吸状况进行监测,实现无干扰测量及多方面联合监测。In order to overcome the defects and deficiencies of the prior art, the present invention provides a non-interference sleep apnea early warning system. The present invention solves the problem that the prior art affects the sleep of the tested person, and can be used when the tested person is in a completely natural state. It can monitor the breathing state during sleep under the condition of no interference measurement and multi-faceted joint monitoring.
为了达到上述目的,本发明采用以下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
本发明提供一种非干扰式睡眠中呼吸暂停预警系统,包括:控制中心、红外测温模块、微压力传感模块、报警模块和用户终端;The invention provides a non-interference sleep apnea early warning system, comprising: a control center, an infrared temperature measurement module, a micro-pressure sensing module, an alarm module and a user terminal;
所述红外测温模块、微压力传感模块、报警模块和用户终端均与控制中心连接;The infrared temperature measurement module, the micro pressure sensing module, the alarm module and the user terminal are all connected with the control center;
所述红外测温模块用于采集热成像图像,所述微压力传感模块用于采集压力数据,所述报警模块用于传输呼吸暂停的报警信号,所述用户终端用于显示实时的压力数据、实时热成像图像以及告警信息;The infrared temperature measurement module is used to collect thermal imaging images, the micro pressure sensing module is used to collect pressure data, the alarm module is used to transmit an alarm signal of apnea, and the user terminal is used to display real-time pressure data , real-time thermal imaging images and alarm information;
所述控制中心用于接收热成像图像和压力数据,将热成像图像流进行目标跟踪,对睡姿进行分类及记录,判断是否发生呼吸干扰动作;The control center is used for receiving thermal imaging images and pressure data, tracking the thermal imaging image stream, classifying and recording sleeping positions, and judging whether breathing interference occurs;
将微压力传感模块检测到的压力值进行判断分析,根据两次呼吸之间的压力变化值判定用户呼吸是否正常,结合呼吸干扰动作,判定睡眠呼吸是否暂停,输出报警信号。Judging and analyzing the pressure value detected by the micro-pressure sensing module, determining whether the user's breathing is normal according to the pressure change value between two breaths, and combining the breathing interference action to determine whether sleep apnea is suspended, and outputting an alarm signal.
作为优选的技术方案,还设有摄像模块,所述摄像模块与控制中心连接,所述摄像模块用于采集摄像视频流数据。As a preferred technical solution, a camera module is also provided, the camera module is connected to the control center, and the camera module is used to collect camera video stream data.
作为优选的技术方案,所述压力传感器采用柔性材料。As a preferred technical solution, the pressure sensor adopts a flexible material.
本发明还提供一种非干扰式睡眠中呼吸暂停预警系统的预警方法,包括下述步骤:The present invention also provides an early warning method for a non-interference sleep apnea early warning system, comprising the following steps:
将红外测温模块采集的热成像图像流进行目标跟踪,构建BP神经网络进行睡姿分类训练,得到睡姿分类器,所述睡姿分类器对睡姿进行分类及记录,并判断当前睡姿是否与上一时刻的睡姿相同;The thermal imaging image stream collected by the infrared temperature measurement module is used for target tracking, and a BP neural network is constructed for sleep posture classification training to obtain a sleep posture classifier. The sleep posture classifier classifies and records the sleeping posture, and judges the current sleeping posture. Whether it is the same sleeping position as the previous moment;
检测人脸区域作为红外测温模块的感兴趣区域,获取感兴趣区域的平均灰度值,将平均灰度值进行卡尔曼滤波,计算滤波后数据的相邻波峰的时间并作为呼吸周期;Detect the face area as the area of interest of the infrared temperature measurement module, obtain the average gray value of the area of interest, perform Kalman filtering on the average gray value, and calculate the time of adjacent peaks of the filtered data as the breathing cycle;
设置呼吸周期个数n,若连续n个计算得到的呼吸周期均超出设定的正常呼吸周期范围,则判定为呼吸异常;Set the number of breathing cycles n. If the breathing cycles obtained by continuous n calculations exceed the set normal breathing cycle range, it is determined that the breathing is abnormal;
将微压力传感模块检测到的压力值进行判断分析,若两次呼吸之间的压力变化值小于预设值时,判定用户呼吸正常;若两次呼吸之间的压力变化值为预设值或者超过了预设值,并且没有在正常呼吸时间间隔内接收到来自微压力传感器的下一个压力值时,记录当前时间;Judging and analyzing the pressure value detected by the micro-pressure sensing module, if the pressure change value between two breaths is less than the preset value, it is determined that the user is breathing normally; if the pressure change value between two breaths is the preset value Or when the preset value is exceeded, and the next pressure value from the micro pressure sensor is not received within the normal breathing time interval, the current time is recorded;
睡姿分类器判断所述当前时间的睡姿是否与上一时刻的睡姿相同,若不相同,则判定为发生呼吸干扰动作;若无发生呼吸干扰动作,则判定睡眠呼吸暂停,输出报警信号。The sleeping posture classifier judges whether the sleeping posture at the current time is the same as the sleeping posture at the previous moment, if not, it is determined that a breathing interference action occurs; if there is no breathing interference action, it is determined that sleep apnea occurs, and an alarm signal is output. .
作为优选的技术方案,所述睡姿分类器对睡姿进行分类及记录,具体步骤包括:As a preferred technical solution, the sleeping posture classifier classifies and records the sleeping posture, and the specific steps include:
设用户的睡眠姿态集合为C={C1,C2,C3}={仰卧,左侧卧,右侧卧},建立相应的数据集;Set the user's sleep posture set as C={C 1 , C 2 , C 3 }={ supine, left side, right side}, and establish a corresponding data set;
所述BP神经网络采用所述相应的数据集进行训练,得到睡姿分类器;The BP neural network is trained using the corresponding data set to obtain a sleeping posture classifier;
所述睡姿分类器输出判断结果,当前时间的睡姿与上一时刻的睡姿不同时,将发生睡姿变化的时刻t进行存储,最终得到睡眠过程中的睡姿变化时刻的有序向量Sall=[t1,t2,…N]。The sleeping posture classifier outputs the judgment result. When the sleeping posture at the current time is different from the sleeping posture at the previous moment, the time t when the sleeping posture changes is stored, and finally the ordered vector of the sleeping posture changing time in the sleeping process is obtained. S all = [t 1 , t 2 , . . . N ].
作为优选的技术方案,所述获取感兴趣区域的平均灰度值,具体计算公式为:As a preferred technical solution, the specific calculation formula for obtaining the average gray value of the region of interest is:
其中,rm、rn分别是感兴趣区域的宽和高,k表示任意时刻。Among them, rm and rn are the width and height of the region of interest, respectively, and k represents any time.
作为优选的技术方案,所述将平均灰度值进行卡尔曼滤波,具体计算公式为:As a preferred technical solution, the Kalman filter is performed on the average gray value, and the specific calculation formula is:
zk=ASk+υk z k =AS k +υ k
Pk|k-1=APk-1|k-1 AT+QP k|k-1 =AP k-1|k-1 A T +Q
Kk=Pk|k-1 AT(APk|k-1 AT+R)-1 K k =P k|k-1 A T (AP k|k-1 A T +R) -1
Pk|k=(I-Kk A)Pk|k-1 P k|k =(IK k A)P k|k-1
其中,A表示测量状态转移矩阵,υk~N(0,R)表示观测的满足高斯分布的噪声,R表示测量噪声协方差,zk表示k时刻的观测值,表示k时刻的先验状态估计值,分别表示k-1和k时刻的后验状态估计值;Pk|k-1表示k时刻的先验估计协方差,Pk-1|k-1、Pk|k分别表示k-1、k时刻的后验状态估计协方差;Q表示过程噪音协方差矩阵;Kk表示卡尔曼增益。Among them, A represents the measurement state transition matrix, υ k ~N(0, R) represents the observed noise that satisfies the Gaussian distribution, R represents the measurement noise covariance, z k represents the observed value at time k, represents the prior state estimate at time k, represent the posterior state estimates at time k-1 and k, respectively; P k|k-1 represents the prior estimated covariance at time k, and P k-1|k-1 and P k|k represent k-1, The posterior state estimate covariance at time k; Q is the process noise covariance matrix; K k is the Kalman gain.
作为优选的技术方案,所述计算滤波后数据的相邻波峰的时间并作为呼吸周期,所述波峰获取步骤包括:As a preferred technical solution, the time of the adjacent peaks of the filtered data is calculated as the breathing cycle, and the peak acquisition step includes:
在第k时刻,若满足且则k时刻为第l个波峰点记作Cl=k;At the kth moment, if the and then k time Denote the lth peak point as C l =k;
相邻两个波峰之间的时刻差为第l波峰点计算得到的呼吸周期,即Tl=Cl-Cl-1;The time difference between two adjacent peaks is the breathing cycle calculated from the first peak point, that is, T l =C l -C l-1 ;
正常呼吸周期范围设置为[Tlow,Thigh]。The normal breathing cycle range is set to [T low ,T high ].
作为优选的技术方案,所述输出报警信号具体采用下述报警方式中的任意一种或多种:As a preferred technical solution, the output alarm signal specifically adopts any one or more of the following alarm methods:
对使用者进行震动唤醒、对使用者家属通过所绑定手机通知、对所处地的救护单位通过网络通知的方式。The method of vibrating and waking up the user, notifying the user's family members through the bound mobile phone, and notifying the local ambulance unit through the network.
本发明与现有技术相比,具有如下优点和有益效果:Compared with the prior art, the present invention has the following advantages and beneficial effects:
(1)本发明通过红外测温模块和微压力传感模块进行数据采集,红外测温模块通过不直接接触人体的方式采集数据,也不会产生影响睡眠的噪声和亮光;而微压力传感模块通过将其嵌入在床垫中的方式采集数据,若处于正常睡眠情况不会启动震动唤醒模式,解决了现有技术影响被检测者睡眠的问题,能够在被测者处于完全自然的状况下对睡眠中的呼吸状况进行监测,实现无干扰测量及多方面联合监测。(1) The present invention collects data through an infrared temperature measurement module and a micro pressure sensing module, and the infrared temperature measurement module collects data by not directly contacting the human body, and will not generate noise and light that affect sleep; and the micro pressure sensor The module collects data by embedding it in the mattress. If it is in a normal sleep condition, the vibration wake-up mode will not be activated, which solves the problem that the existing technology affects the sleep of the tested person, and can make the tested person in a completely natural state. Monitor the breathing state during sleep to achieve non-interfering measurement and multi-faceted joint monitoring.
(2)本发明在检测到停止呼吸的时间达到危险时长(4-6分钟大脑会发生不可逆损伤)时会立即发出警报,达到了及时报警的效果。(2) The present invention will immediately issue an alarm when it is detected that the time to stop breathing reaches a dangerous time (irreversible damage to the brain occurs in 4-6 minutes), thereby achieving the effect of timely alarming.
附图说明Description of drawings
图1为本发明非干扰式睡眠中呼吸暂停预警系统的结构框架示意图;Fig. 1 is the structural frame schematic diagram of the non-interference type sleep apnea early warning system of the present invention;
图2为本发明非干扰式睡眠中呼吸暂停预警方法的流程示意图;2 is a schematic flowchart of a non-interference sleep apnea early warning method of the present invention;
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
实施例Example
如图1所示,本实施例提供一种非干扰式睡眠中呼吸暂停预警系统,包括:控制中心、摄像模块、红外测温模块、微压力传感模块、报警模块。As shown in FIG. 1 , this embodiment provides a non-interference sleep apnea early warning system, including: a control center, a camera module, an infrared temperature measurement module, a micro-pressure sensing module, and an alarm module.
在本实施例中,控制中心负责处理、分析该系统中监测的所有数据,若分析结果正常将不作为,若分析结果异常甚至出现睡眠中呼吸暂停后则交付报警模块及时报警。In this embodiment, the control center is responsible for processing and analyzing all data monitored in the system. If the analysis result is normal, no action will be taken. If the analysis result is abnormal or even after sleep apnea occurs, it will be delivered to the alarm module to give an alarm in time.
其中,监测的数据包括:由摄像模块捕获的摄像视频流数据、红外测温模块获得的热成像图像以及压力传感数据。The monitored data includes: camera video stream data captured by the camera module, thermal imaging images obtained by the infrared temperature measurement module, and pressure sensing data.
在本实施例中,摄像模块用于捕获的摄像视频流数据,本实施例在判断睡眠呼吸的过程中也可以不用摄像模块,不用采用其RGB图及摄像视频流数据,此处增加是为了丰富整个系统的功能。In this embodiment, the camera module is used to capture the video stream data of the camera. In this embodiment, the camera module may not be used in the process of judging sleep respiration, and the RGB image and the video stream data of the camera may not be used. The addition here is to enrich the function of the entire system.
控制中心的处理方式还包括,将分析数据传输至用户终端,用户终端可以直接显示实时的监测视频、实时红外成像以及相关的分析信息。The processing method of the control center also includes transmitting the analysis data to the user terminal, and the user terminal can directly display the real-time monitoring video, real-time infrared imaging and related analysis information.
在本实施例中,红外测温模块覆盖床及附近0.5m区域,床头的两边各有一个,以便于在侧身睡的情况下也能获得精确的温度变化,同时远离窗户、空调等影响温度变化的无关要素。In this embodiment, the infrared temperature measurement module covers the bed and the nearby 0.5m area, and there is one on each side of the head of the bed, so that accurate temperature changes can be obtained even when sleeping on the side, and the temperature is affected by staying away from windows, air conditioners, etc. irrelevant elements of change.
如图2所示,本实施例提供一种非干扰式睡眠中呼吸暂停预警方法,对红外测温模块得到的热成像视频流进行目标跟踪,并将用户行为加以分类,分析用户当前睡姿。As shown in FIG. 2 , this embodiment provides a non-interference sleep apnea early warning method, which performs target tracking on the thermal imaging video stream obtained by the infrared temperature measurement module, classifies user behavior, and analyzes the user's current sleeping posture.
其中睡姿分析按以下步骤进行:The sleeping position analysis is carried out according to the following steps:
(1)定义用户的睡眠姿态集合为C={C1,C2,C3}={仰卧,左侧卧,右侧卧},建立相应的数据集;(1) Define the user's sleep posture set as C={C 1 , C 2 , C 3 }={ supine, left side, right side}, and establish a corresponding data set;
(2)构建用于睡姿分类的BP神经网络,并用上述数据集进行训练,从而得到睡姿分类器;(2) Constructing a BP neural network for sleeping posture classification, and using the above data set for training, thereby obtaining a sleeping posture classifier;
(3)将(2)中分类器用于实时视频分析,可以得到随时间变化的分类器结果Ψ(t)∈C,若Ψ(t)=Ψ(t-)则说明睡姿在时刻t没有发生变化,若Ψ(t)≠Ψ(t-)则睡姿在时刻t发生了变化,Ψ(t-)为上一时刻的分类器结果,把发生睡姿变化的时刻存进Sall,则最后可以得到用户睡眠过程中的睡姿变化时刻的有序向量Sall=[t1,t2,…tN];(3) Using the classifier in (2) for real-time video analysis, the time-varying classifier result Ψ(t)∈C can be obtained. If Ψ(t)=Ψ(t - ), it means that the sleeping position does not exist at time t If Ψ(t)≠Ψ(t - ), the sleeping position has changed at time t, Ψ(t - ) is the classifier result of the previous moment, and the moment when the sleeping position changed is stored in S all , Then finally, the ordered vector S all =[t 1 , t 2 , ... t N ] of the sleeping posture change time during the user's sleeping process can be obtained;
(4)若存在tk∈Sall,k>m满足tk-tk-m<τ,m为设定的正常数,τ为设定的时间参数,则可视为睡姿激烈变化,最后可统计出睡姿激烈变化的总次数为K;(4) If there is t k ∈ S all , k>m satisfies t k -t km <τ, m is a set normal number, τ is a set time parameter, it can be regarded as a drastic change in sleeping position, and finally The total number of violent changes in sleeping position is counted as K;
在本实施例中,人脸检测采用目前已经比较成熟的算法,比如V&J算法,主要就是利用haar特征与Adaboost分类器。In this embodiment, the face detection adopts a relatively mature algorithm at present, such as the V&J algorithm, which mainly uses the haar feature and the Adaboost classifier.
在本实施例中,将检测的人脸区域作为红外测温模块的ROI(感兴趣)区域,H∈Rrm *rn,其中rm、rn分别是ROI区域的宽和高,由于红外测温模块得到的红外图像中温度会影响H图像中的灰度值,因此,可以将估计鼻子温度变化的周期转化成估计红外图像灰度值变化的周期;由于视频录制帧率通常为30fps,则每3帧取一帧,并按以下策略进行处理:In this embodiment, the detected face area is taken as the ROI (interesting) area of the infrared temperature measurement module, H∈R rm *rn , where rm and rn are the width and height of the ROI area, respectively, because the infrared temperature measurement module The temperature in the obtained infrared image will affect the gray value in the H image. Therefore, the period of estimating the temperature change of the nose can be converted into the period of estimating the gray value change of the infrared image; since the video recording frame rate is usually 30fps, every 3 A frame is taken and processed according to the following strategy:
a、求出k时刻,ROI区域的平均灰度值为: a. Find the average gray value of the ROI area at time k:
b、计算ROI区域平均灰度值变化的周期,由于正常情况下人体呼吸是一个类周期的生理活动,因此平均灰度值的变化也是与之对应的类周期变化,所以我们可以通过求平均灰度值两个波峰(或波谷)来估计呼吸的周期;b. Calculate the period of the average gray value change in the ROI area. Since human respiration is a period-like physiological activity under normal circumstances, the change in the average gray value is also the corresponding period-like change, so we can calculate the average gray value by calculating the average gray value. The two peaks (or troughs) of the degree value are used to estimate the cycle of respiration;
c、但由于环境中存在噪声等等原因,为了获得由于呼吸引起的波峰波谷而非噪声或其他原因造成的小型的波峰波谷,这里引入卡尔曼滤波对获得的平均灰度值进行再处理:c. However, due to the existence of noise in the environment and other reasons, in order to obtain the peaks and valleys caused by breathing instead of small peaks and valleys caused by noise or other reasons, Kalman filtering is introduced here to reprocess the obtained average gray value:
zk=ASk+υk (1)z k =AS k +υ k (1)
Pk|k-1=APk-1|k-1AT+Q (3)P k|k-1 =AP k-1|k-1 A T +Q (3)
Kk=Pk|k-1AT(APk|k-1AT+R)-1 (4)K k =P k|k-1 A T (AP k|k-1 A T +R) -1 (4)
Pk|k=(I-KkA)Pk|k-1 (6)P k|k = (IK k A)P k|k-1 (6)
其中,A是测量状态转移矩阵,υk~N(0,R)是观测的满足高斯分布的噪声,R是测量噪声协方差,一般可以观测得到,是滤波器的已知条件;zk是k时刻的观测值;是k时刻的先验状态估计值,分别是k-1和k时刻的后验状态估计值;Pk|k-1是k时刻的先验估计协方差,Pk-1|k-1、Pk|k分别为是k-1、k时刻的后验状态估计协方差;Q为过程噪音协方差矩阵;Kk为卡尔曼增益;Among them, A is the measurement state transition matrix, υ k ~ N(0, R) is the observed noise that satisfies the Gaussian distribution, R is the measurement noise covariance, which can generally be observed and is the known condition of the filter; z k is The observed value at time k; is the prior state estimate at time k, are the posterior state estimates at time k-1 and k, respectively; P k|k-1 is the a priori estimated covariance at time k, and P k-1|k-1 and P k|k are k-1 respectively , the posterior state estimation covariance at time k; Q is the process noise covariance matrix; K k is the Kalman gain;
对于连续获得的一组数据,按以下策略获得波峰:For a set of data obtained continuously, the peaks are obtained according to the following strategy:
如果在第k时刻,满足且则k时刻为第l个波峰点记作Cl=k;If at time k, satisfy and then k time Denote the lth peak point as C l =k;
相邻两个波峰之间的时刻差为第l波峰点计算得到的呼吸周期,即Tl=Cl-Cl-1;The time difference between two adjacent peaks is the breathing cycle calculated from the first peak point, that is, T l =C l -C l-1 ;
设置正常呼吸周期范围[Tlow,Thigh],判断呼吸异常情况:Set the normal breathing cycle range [T low ,T high ] to judge abnormal breathing:
如果连续n个计算得到的呼吸周期均不在范围内,则判断为呼吸出现异常。n的取值会影响判断准确性,n过小,容易出现误判,n过大则会延缓判断时间,严重时候可能会错过救治时间。If none of the consecutive n calculated breathing cycles are within the range, it is determined that the breathing is abnormal. The value of n will affect the accuracy of judgment. If n is too small, misjudgment is prone to occur. If n is too large, the judgment time will be delayed. In severe cases, the treatment time may be missed.
在本实施例中,在微压力传感模块方面,若两次呼吸之间的压力变化值小于预设值时,判定“用户呼吸正常”,并对呼吸数据继续进行监测分析;当两次呼吸之间的压力变化值为预设值或者超过了预设值,并且没有在正常呼吸时间间隔内接收到来自微压力传感器的下一个压力值时,记录当前时间t,结合红外测温睡姿分类器联合分析,若睡姿分类器结果Ψ(t)≠Ψ(t-)即用户存在翻身等动作,则判定“呼吸干扰动作”,并对呼吸数据继续进行监测分析;若成像模块没有显示用户发生呼吸干扰动作,则判定“用户睡眠呼吸暂停”。人在睡眠过程中无论采取何种睡姿,都可以进行识别并且识别因呼吸改变的热量。In this embodiment, in terms of the micro-pressure sensing module, if the pressure change value between the two breaths is less than the preset value, it is determined that "the user's breathing is normal", and the breathing data continues to be monitored and analyzed; when the two breaths are When the pressure change value between the two is the preset value or exceeds the preset value, and the next pressure value from the micro pressure sensor is not received within the normal breathing time interval, the current time t is recorded, combined with infrared temperature measurement and sleep posture classification If the result of the sleeping posture classifier is Ψ(t)≠Ψ(t - ), that is, the user has actions such as turning over, it will determine the "breathing interference action", and continue to monitor and analyze the breathing data; if the imaging module does not display the user If a breathing interference action occurs, it is determined that "user sleep apnea". No matter what sleeping position a person adopts during sleep, they can identify and recognize the heat changed by breathing.
在本实施例中,突发状况下的报警方式为:对使用者进行震动唤醒、对使用者家属通过所绑定手机通知、对所处地的医院等救护单位通过网络通知的方式及时对使用者进行急救,采用上述报警方式的其中任意一种或多种;In this embodiment, the methods of alarming in emergencies are as follows: vibrate the user to wake up, notify the user's family members through the bound mobile phone, and notify the ambulance unit such as the hospital where they are located through the network. First aid is carried out by any one or more of the above-mentioned alarm methods;
在本发明中,采用了远程监测、红外成像和微压力传感结合进行监测的模式,使得被测者在一次监测中可以有多个变量被监测到,从而实现安全、有效、无干扰的对睡眠过程中的呼吸状况进行监测。In the present invention, the monitoring mode of remote monitoring, infrared imaging and micro-pressure sensing is adopted, so that the subject can have multiple variables monitored in one monitoring, so as to realize safe, effective and interference-free monitoring. Respiratory status during sleep is monitored.
本发明还采用了微压力传感器进行监测以防止出现如:睡眠时被子把头遮住影响摄像头的识别功能等特殊情况。且本发明的操作及监控系统都与被测者无接触,压力传感器采用的是柔性材料,是被测者处于自然睡眠状态,使监测结果更准确。The invention also adopts a micro pressure sensor for monitoring to prevent the occurrence of special situations such as: the head is covered by a quilt during sleep, which affects the recognition function of the camera. In addition, the operation and monitoring system of the present invention has no contact with the subject, and the pressure sensor adopts a flexible material, so that the subject is in a natural sleep state, so that the monitoring result is more accurate.
上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited by the above-mentioned embodiments, and any other changes, modifications, substitutions, combinations, The simplification should be equivalent replacement manners, which are all included in the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110146421.5A CN112806966B (en) | 2021-02-03 | 2021-02-03 | A non-interference sleep apnea early warning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110146421.5A CN112806966B (en) | 2021-02-03 | 2021-02-03 | A non-interference sleep apnea early warning system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112806966A CN112806966A (en) | 2021-05-18 |
CN112806966B true CN112806966B (en) | 2022-07-26 |
Family
ID=75860814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110146421.5A Active CN112806966B (en) | 2021-02-03 | 2021-02-03 | A non-interference sleep apnea early warning system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112806966B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113273967A (en) * | 2021-05-20 | 2021-08-20 | 贵州优品睡眠健康产业有限公司 | Sleep sign monitoring system |
CN114190916B (en) * | 2021-12-07 | 2023-05-23 | 河南省儿童医院郑州儿童医院 | Fabric sensor-based child respiration monitoring method and system |
CN113877033B (en) * | 2021-12-09 | 2022-02-18 | 南京舒普思达医疗设备有限公司 | Breathing machine regulation and control method and system based on sleep characteristics |
CN114909790B (en) * | 2022-03-28 | 2024-04-12 | 青岛海尔空调器有限总公司 | Air conditioning control method, device, equipment and storage medium |
PL441747A1 (en) * | 2022-07-15 | 2024-01-22 | Healthnomic Spółka Akcyjna | System and method for diagnosing obstructive sleep apnoea |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110010014A1 (en) * | 2008-02-25 | 2011-01-13 | Kingsdown, Inc. | Systems and methods for controlling a bedroom environment and for providing sleep data |
CN202648699U (en) * | 2012-04-20 | 2013-01-02 | 北京西润电子设备有限公司 | Multifunctional home monitoring and nursing network system |
CN102973273A (en) * | 2012-11-29 | 2013-03-20 | 中国人民解放军第四军医大学 | Sleep respiratory function monitoring system based on infrared radiation detection |
CN102973244A (en) * | 2012-11-16 | 2013-03-20 | 西南石油大学 | Non-contact type sleep apnea monitoring method based on infrared thermography technology and device |
CN104834946A (en) * | 2015-04-09 | 2015-08-12 | 清华大学 | Method and system for non-contact sleep monitoring |
CN105231995A (en) * | 2015-09-29 | 2016-01-13 | 无锡市润华碳晶地暖设备有限公司 | Sleep system |
CN108309286A (en) * | 2017-12-15 | 2018-07-24 | 中国人民解放军第二军医大学第二附属医院 | Sleep disturbance detects treatment system |
CN109310348A (en) * | 2016-05-19 | 2019-02-05 | 汉考克医药公司 | Postural Obstructive Sleep Apnea Detection System |
CN110313897A (en) * | 2019-07-04 | 2019-10-11 | 合肥赛为智能有限公司 | Sleep monitoring device and its monitoring method based on silica gel air bag |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104504852A (en) * | 2014-10-24 | 2015-04-08 | 天津科技大学 | Image-based forewarning infant safety monitor and infant safety judging method |
-
2021
- 2021-02-03 CN CN202110146421.5A patent/CN112806966B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110010014A1 (en) * | 2008-02-25 | 2011-01-13 | Kingsdown, Inc. | Systems and methods for controlling a bedroom environment and for providing sleep data |
CN202648699U (en) * | 2012-04-20 | 2013-01-02 | 北京西润电子设备有限公司 | Multifunctional home monitoring and nursing network system |
CN102973244A (en) * | 2012-11-16 | 2013-03-20 | 西南石油大学 | Non-contact type sleep apnea monitoring method based on infrared thermography technology and device |
CN102973273A (en) * | 2012-11-29 | 2013-03-20 | 中国人民解放军第四军医大学 | Sleep respiratory function monitoring system based on infrared radiation detection |
CN104834946A (en) * | 2015-04-09 | 2015-08-12 | 清华大学 | Method and system for non-contact sleep monitoring |
CN105231995A (en) * | 2015-09-29 | 2016-01-13 | 无锡市润华碳晶地暖设备有限公司 | Sleep system |
CN109310348A (en) * | 2016-05-19 | 2019-02-05 | 汉考克医药公司 | Postural Obstructive Sleep Apnea Detection System |
CN108309286A (en) * | 2017-12-15 | 2018-07-24 | 中国人民解放军第二军医大学第二附属医院 | Sleep disturbance detects treatment system |
CN110313897A (en) * | 2019-07-04 | 2019-10-11 | 合肥赛为智能有限公司 | Sleep monitoring device and its monitoring method based on silica gel air bag |
Also Published As
Publication number | Publication date |
---|---|
CN112806966A (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112806966B (en) | A non-interference sleep apnea early warning system | |
US12016655B2 (en) | Video-based patient monitoring systems and associated methods for detecting and monitoring breathing | |
US11065958B2 (en) | Control system and method | |
CN110780600B (en) | Sleep-assisting mattress with alarm function | |
JP5855019B2 (en) | Method and apparatus for processing periodic physiological signals | |
CN104091408B (en) | Infant sleeping posture intelligent identification method and device based on thermal infrared imaging | |
CA2787170A1 (en) | Multivariate residual-based health index for human health monitoring | |
CN104257353A (en) | Sleep apnea syndrome detecting system | |
CA2847412C (en) | System and methods for estimating respiratory airflow | |
CN110021140A (en) | Monitoring system and monitoring method applied to infant | |
CN111248890A (en) | A non-contact heart rate monitoring method and system for newborns based on facial video | |
DK177536B1 (en) | Method for detecting seizures | |
CN104083160A (en) | Sleep state monitoring method and device based on machine vision | |
CN114926957B (en) | Infant and child monitoring system and monitoring method based on smart home | |
CN111544001A (en) | A non-contact apnea detection device and method | |
CN104077881A (en) | Infant monitoring method and device based on robot vision | |
CN110811547A (en) | Multi-guide sleep monitor and sleep monitoring method | |
Wiede et al. | Remote respiration rate determination in video data-vital parameter extraction based on optical flow and principal component analysis | |
CN113907742A (en) | Sleep respiration data monitoring method and device | |
CN114469004A (en) | Human sleep health monitoring method based on fiber bragg grating sensor | |
CN115100159A (en) | Breathing state detection method, device, equipment and storage medium | |
Carter et al. | Deep learning-enabled sleep staging from vital signs and activity measured using a near-infrared video camera | |
JP2018126423A (en) | Bed monitoring system | |
CN114652274B (en) | An intelligent sleep monitoring system with three-dimensional and multi-dimensional data | |
TWI766471B (en) | System capable of detecting sleep breathing intensity based on wavelet transformation and spectral intensity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information |
Inventor after: Xin Xuegang Inventor after: Tang Shengnan Inventor after: Chen Xinlian Inventor after: Yang Xinyi Inventor after: Cai Xiang Inventor after: Huang Shengzhao Inventor after: Zhou Weihao Inventor after: Li Yuanqin Inventor before: Tang Shengnan Inventor before: Xin Xuegang Inventor before: Chen Xinlian Inventor before: Yang Xinyi Inventor before: Cai Xiang Inventor before: Huang Shengzhao Inventor before: Zhou Weihao Inventor before: Li Yuanqin |
|
CB03 | Change of inventor or designer information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |