CN106175770A - Apneic determination methods and system during a kind of sleep - Google Patents

Apneic determination methods and system during a kind of sleep Download PDF

Info

Publication number
CN106175770A
CN106175770A CN201610630791.5A CN201610630791A CN106175770A CN 106175770 A CN106175770 A CN 106175770A CN 201610630791 A CN201610630791 A CN 201610630791A CN 106175770 A CN106175770 A CN 106175770A
Authority
CN
China
Prior art keywords
apnea
sleep
pulse rate
during sleep
subject
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.)
Granted
Application number
CN201610630791.5A
Other languages
Chinese (zh)
Other versions
CN106175770B (en
Inventor
李翔
张涵
陈澎彬
庞志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG JUNFENG BFS INDUSTRY CO LTD
Original Assignee
South China Normal University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by South China Normal University filed Critical South China Normal University
Priority to CN201610630791.5A priority Critical patent/CN106175770B/en
Publication of CN106175770A publication Critical patent/CN106175770A/en
Application granted granted Critical
Publication of CN106175770B publication Critical patent/CN106175770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • A61B5/0826Detecting or evaluating apnoea events
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • A61B5/0816Measuring devices for examining respiratory frequency
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4818Sleep apnoea
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/02Details of sensors specially adapted for in-vivo measurements
    • A61B2562/0247Pressure sensors

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Surgery (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Public Health (AREA)
  • Molecular Biology (AREA)
  • Physics & Mathematics (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physiology (AREA)
  • Pulmonology (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Power Engineering (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

本发明涉及一种睡眠期间呼吸暂停的判断方法及系统,其中,该方法包括:步骤1:实时采集受测者睡眠期间的睡眠呼吸信号;步骤2:对所述睡眠呼吸信号处理得到呼吸率波形图和脉率波形图;步骤3:对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论。由此,本发明通过上述方案实现了不需要与受测者接触,即可实现对睡眠暂停的判定,无辐射,检测结果准确,且便于携带,使用方便快捷,能满足用户处于居家或差旅等环境下进行呼吸暂停的检测与排查时的使用,减少时间和金钱成本消耗。

The present invention relates to a method and system for judging apnea during sleep, wherein the method comprises: step 1: collecting sleep breathing signals during sleep of a subject in real time; step 2: processing the sleep breathing signals to obtain a respiration rate waveform Figure and pulse rate waveform; step 3: analyze the respiration rate waveform and pulse rate waveform to determine whether apnea occurs during sleep. Therefore, the present invention realizes the determination of sleep suspension without contacting the subject through the above-mentioned scheme, no radiation, accurate detection results, easy to carry, convenient and fast to use, and can satisfy the needs of users at home or on business trips. It can be used in the detection and investigation of apnea in other environments, reducing time and money costs.

Description

一种睡眠期间呼吸暂停的判断方法及系统Method and system for judging apnea during sleep

技术领域technical field

本发明涉及一种适用于日常生活环境下的睡眠呼吸暂停的检测技术,特别涉及一种以非接触的方式监测睡眠中的呼吸、脉搏等生命体征,对睡眠中的呼吸暂停状态进行判断的睡眠期间呼吸暂停的判断方法及系统。The invention relates to a sleep apnea detection technology suitable for daily life environment, in particular to a sleep apnea detection technology which monitors breathing, pulse and other vital signs during sleep in a non-contact manner and judges the apnea state during sleep. A method and system for judging period apnea.

背景技术Background technique

睡眠呼吸暂停综合症——Sleep Apnea Syndrome(SAS),是一种常见的在睡眠过程中发生呼吸障碍的病症,具体来说,是指每晚7小时睡眠过程中呼吸暂停反复发作30次以上或睡眠呼吸暂停低通气指数(通常简称为AHI)≥5次/小时并伴有嗜睡等临床病症的一种睡眠呼吸疾病。SAS已成为危及人类生命的隐形杀手,据统计目前在发达国家经诊治的SAS患者占患者总数的20%,我国占有2%。究其原因主要为标准监测方法睡眠多导图(PSG)流程复杂、费用昂贵、用户体验度差等而难以普及应用。因此,研究一种替代PSG的方便、准确率高的检测方法将为SAS患者早期检查与诊断提供有力的技术支持,具有较高的实用价值。Sleep Apnea Syndrome—Sleep Apnea Syndrome (SAS) is a common disease that occurs during sleep. Specifically, it refers to repeated episodes of apnea for more than 30 times or more during 7 hours of sleep per night. A sleep apnea-hypopnea index (usually abbreviated as AHI) ≥ 5 times/hour and accompanied by clinical symptoms such as lethargy. SAS has become an invisible killer that endangers human life. According to statistics, SAS patients diagnosed and treated in developed countries account for 20% of the total number of patients, and our country accounts for 2%. The main reason is that the standard monitoring method polysomnography (PSG) has a complicated process, high cost, and poor user experience, which makes it difficult to popularize and apply. Therefore, researching a convenient and highly accurate detection method to replace PSG will provide strong technical support for the early detection and diagnosis of SAS patients, and has high practical value.

目前,现有检测睡眠呼吸暂停综合症的方法一般具有以下几种:At present, the existing methods for detecting sleep apnea syndrome generally have the following types:

1、减少PSG测量的生理参数,测量与睡眠呼吸暂停有关的主要参数:如专利文献CN202776304U公开了一种分析睡眠呼吸暂停事件的装置,其通过口鼻气流传感器、胸腹呼吸运动传感器、体位传感器对多种生理信号进行检测,来判别睡眠呼吸事件的发生。这类方法虽然比PSG的监测参数少,但仍需要受测者佩戴多种传感器,影响受测者的睡眠状态。1. Reduce the physiological parameters of PSG measurement and measure the main parameters related to sleep apnea: for example, patent document CN202776304U discloses a device for analyzing sleep apnea events, which uses mouth and nose airflow sensors, chest and abdomen breathing motion sensors, body position sensors A variety of physiological signals are detected to identify the occurrence of sleep breathing events. Although this type of method has fewer monitoring parameters than PSG, it still requires the subject to wear a variety of sensors, which affects the sleep state of the subject.

2、采用非接触的测量方式或者使用更少的监测信号,使操作尽量简单,对使用者的睡眠影响尽量少的方案:如专利文献CN102475541A公开了一种简易睡眠状态呼吸脉搏检测报警装置,利用呼吸音和体温传感器来监测,即在使用体温传感器的同时在床边设置扩音器,基于睡眠中的受测者的体温和呼吸音对睡眠中的呼吸动作进行监测。这类方法由于主要基于呼吸音来辨别呼吸暂停状态,因此有可能将与呼吸音相同频带的声音也识别成呼吸音,从而存在测定精度不高的问题。2. Adopt a non-contact measurement method or use fewer monitoring signals to make the operation as simple as possible and have as little impact on the user's sleep as possible: as the patent document CN102475541A discloses a simple sleep state breathing pulse detection alarm device, using Breathing sounds and body temperature sensors are used to monitor, that is, a loudspeaker is set at the bedside while using a body temperature sensor, and breathing movements during sleep are monitored based on the body temperature and breathing sounds of the subject in sleep. Since this type of method distinguishes the state of apnea mainly based on breath sounds, it is possible to identify sounds in the same frequency band as breath sounds as breath sounds, which has the problem of low measurement accuracy.

3、采用其他生理特征对呼吸暂停进行判断:如专利文献CN102973244A公开了一种基于热红外成像技术的非接触式睡眠呼吸暂停监测方法及装置,利用热成像仪实时采集人体睡眠过程中鼻孔和口腔热红外图像,通过分析图像实现非接触式监测睡眠呼吸暂停。也如专利文献CN102641125A公开了一种睡眠呼吸暂停判定装置,通过对睡眠中被检测的胸部、腹部发出的微波的反射波的检测实现对呼吸暂停状态的判定。这类方法必须基于受测者鼻孔处检测才能实现热成像,且利用微波的反射对受测者的身体健康及安全造成一定影响,这两种方式均影响受测者的正常睡眠健康,长期使用甚至会带有潜在的安全隐患。3. Use other physiological characteristics to judge apnea: For example, the patent document CN102973244A discloses a non-contact sleep apnea monitoring method and device based on thermal infrared imaging technology, which uses a thermal imager to collect real-time data from the nostrils and oral cavity during human sleep. Thermal infrared images, enabling non-contact monitoring of sleep apnea by analyzing images. For example, patent document CN102641125A discloses a sleep apnea judging device, which realizes judging the apnea state by detecting reflected waves of microwaves emitted by the detected chest and abdomen during sleep. This type of method must be based on the detection of the subject's nostrils to achieve thermal imaging, and the use of microwave reflections has a certain impact on the health and safety of the subject. Both of these methods affect the normal sleep health of the subject. Long-term use There may even be potential safety hazards.

4、应用人工智能技术,提高检测准确率:如专利文献CN103083770A公开了一种诊断和治疗患者呼吸模式的系统和方法,通过口鼻面罩监测患者的气流,记录呼吸参数的中值、平均值、范围及标准差,将其汇总输入到神经网络,通过神经网络检测患者状态。也如专利文献CN103690168A公开了一种阻塞型睡眠呼吸暂停综合症的检测方法,通过检测血氧饱和度、鼾声、呼吸信号三种参数,根据人工智能决策理论,构建模糊元素集合隶属函数,然后通过最大隶属原则判定是否患有睡眠呼吸暂停综合症。这类方法所应用的神经网络、最大隶属元素等算法缺乏一定的先验知识,在呼吸暂停的判决过程中缺乏可信度。4. Apply artificial intelligence technology to improve detection accuracy: For example, patent document CN103083770A discloses a system and method for diagnosing and treating patients' breathing patterns, which monitors the patient's airflow through an oral and nasal mask, and records the median, average, and The range and standard deviation are summed and input to the neural network, and the patient status is detected through the neural network. Also as the patent document CN103690168A discloses a detection method of obstructive sleep apnea syndrome, by detecting three parameters of blood oxygen saturation, snoring sound and breathing signal, according to the artificial intelligence decision theory, a fuzzy element set membership function is constructed, and then passed The principle of maximum membership determines whether to suffer from sleep apnea syndrome. Algorithms such as neural networks and maximum membership elements used in such methods lack certain prior knowledge, and lack credibility in the judgment process of apnea.

因此,上述判定呼吸暂停的方法均需要依赖复杂繁琐且用户体验极低的PSG,在医院环境下才能实现检测排查,无法应用于家庭或差旅等日常生活环境。Therefore, the above-mentioned methods for judging apnea all need to rely on PSG, which is complex and cumbersome and has extremely low user experience, and can only be detected and checked in a hospital environment, and cannot be applied to daily life environments such as home or business travel.

发明内容Contents of the invention

本发明的目的是为了解决上述现有技术的缺点和不足,提供一种睡眠期间呼吸暂停的判断方法及系统,不需要与受测者接触,即可实现对睡眠暂停的判定,无辐射,检测结果准确,且便于携带,使用方便快捷,能满足用户处于居家或差旅等环境下进行呼吸暂停的检测与排查时的使用,减少时间和金钱成本消耗。The purpose of the present invention is to solve the shortcomings and deficiencies of the above-mentioned prior art, and provide a method and system for judging apnea during sleep, which can realize the judgment of apnea without contact with the subject, without radiation, and can detect The result is accurate, easy to carry, convenient and quick to use, and can meet the needs of users in the detection and troubleshooting of apnea at home or on business trips, reducing time and money costs.

为了实现上述目的,本发明采用的技术方案如下:In order to achieve the above object, the technical scheme adopted in the present invention is as follows:

首先,提供一种睡眠期间呼吸暂停的判断方法,其包括以下步骤:First, a method for judging apnea during sleep is provided, which includes the following steps:

步骤1:实时采集受测者睡眠期间的睡眠呼吸信号;Step 1: Collect the sleep breathing signal of the subject during sleep in real time;

步骤2:对所述睡眠呼吸信号处理得到呼吸率波形图和脉率波形图;Step 2: processing the sleep respiration signal to obtain a respiration rate waveform and a pulse rate waveform;

步骤3:对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论。Step 3: Analyze the respiration rate waveform diagram and the pulse rate waveform diagram to obtain a judgment conclusion whether apnea occurs during sleep.

具体地,所述步骤1中,具体包括以下步骤:Specifically, in the step 1, the following steps are specifically included:

步骤11:通过压电传感器实时采集受测者睡眠期间的睡眠呼吸模拟信号;Step 11: collecting the simulated sleep breathing signal of the subject during sleep in real time through the piezoelectric sensor;

步骤12:通过A/D转换模块将所述睡眠呼吸模拟信号转换为睡眠呼吸数字信号。Step 12: Convert the sleep breathing analog signal into a sleep breathing digital signal through an A/D conversion module.

进一步,所述步骤2中,具体包括以下步骤:Further, in the step 2, the following steps are specifically included:

步骤21:对所述睡眠呼吸数字信号进行初步分析得到呼吸率的波形和脉率的波形;Step 21: Preliminarily analyze the sleep breathing digital signal to obtain the waveform of the respiratory rate and the waveform of the pulse rate;

步骤22:依次通过形态滤波、峰值滤波和协方差匹配分别对所述呼吸率的波形和所述脉率的波形进行处理,计算得到准确的呼吸率和脉率,并分别生成相应的呼吸率波形图和脉率波形图。Step 22: Process the waveform of the respiration rate and the waveform of the pulse rate respectively through morphological filtering, peak filtering and covariance matching, calculate the accurate respiration rate and pulse rate, and generate corresponding respiration rate waveforms respectively graph and pulse rate waveform graph.

进一步,所述步骤3中,具体包括以下步骤:Further, in the step 3, the following steps are specifically included:

步骤31:于所述呼吸率波形图和所述脉率波形图的同一时间段中分别抽取稳定期内20s的呼吸率和20s的脉率,并在20s内的每一秒取一呼吸率的最大值Xi和一脉率的最大值Yi,其中i为整数,且1≤i≤20;Step 31: In the same time period of the respiration rate waveform diagram and the pulse rate waveform diagram, respectively extract the respiration rate of 20s and the pulse rate of 20s in the stable period, and take a respiration rate every second within 20s The maximum value Xi and the maximum value Yi of a pulse rate, where i is an integer, and 1≤i≤20;

步骤32:根据公式计算得到呼吸暂停状态判别的初步阈值M;Step 32: According to the formula Calculate and obtain the preliminary threshold value M of apnea state discrimination;

步骤33:在实时采集受测者睡眠期间的睡眠呼吸信号时,在所述步骤31中的所述同一时间段内缓存5s的呼吸率数据和脉率数据,并在5s内的每一秒取一呼吸率的最大值Ai’和一脉率的最大值Bi’,其中i’为整数,且1≤i’≤5;Step 33: When collecting the sleep respiration signal during the sleep of the subject in real time, cache the respiration rate data and pulse rate data of 5s in the same time period in the step 31, and take each second within 5s A maximum value Ai' of the respiration rate and a maximum value Bi' of the pulse rate, where i' is an integer, and 1≤i'≤5;

步骤34:根据公式计算得到呼吸暂停状态判别的参数N;Step 34: According to the formula Calculate the parameter N of apnea state discrimination;

步骤35:在实时采集受测者睡眠期间的睡眠呼吸信号时,每次缓存5s的呼吸率和脉率信号,每隔1s重复一次所述步骤33和所述步骤34,依次循环,直至睡眠期间结束;Step 35: When collecting the sleep respiration signal of the subject during sleep in real time, cache the respiration rate and pulse rate signal for 5s each time, repeat the step 33 and the step 34 every 1s, and cycle in turn until the sleep period Finish;

步骤36:设定初始呼吸暂停次数count=0,每重复一次步骤33和步骤34时,比较N与7×M的大小;当且仅当N>7×M时,count=count+1,表示发生了一次呼吸暂停事件;当count>2时,比较N与14×M的大小,当且仅当N>14×M时,count=count+1,表示发生了一次呼吸暂停事件;得到睡眠期间是否出现呼吸暂停及呼吸暂停次数的判定结论。Step 36: Set the initial number of times of apnea count=0, and compare the size of N and 7×M every time step 33 and step 34 are repeated; if and only when N>7×M, count=count+1, indicating An apnea event has occurred; when count>2, compare the size of N and 14×M, if and only if N>14×M, count=count+1, indicating that an apnea event has occurred; get sleep period Whether there is apnea and the judgment conclusion of the number of apnea.

为进一步提高判定结论的准确性,作为本发明的进一步改进,所述步骤3还包括以下步骤:In order to further improve the accuracy of the judgment conclusion, as a further improvement of the present invention, the step 3 also includes the following steps:

步骤37:在所述步骤36中,count值每加1时,对所述步骤36中的判定结论依据进行二次判断;该二次判断具体包括以下步骤:Step 37: In the step 36, when the count value is increased by 1, a second judgment is performed on the basis of the judgment conclusion in the step 36; the second judgment specifically includes the following steps:

步骤371:分别对所述步骤33中缓存的5s的呼吸率数据和脉率数据依次进行10倍降采样处理和10倍插值处理,其中采样频率fs=1000Hz,分别在该5s内得到数量为5×fs=5000点的呼吸率数据和数量为5×fs=5000点的脉率数据;将5000点的呼吸率数据记录分别为ai”,并将5000点的脉率数据记录分别为bi”,其中,i”为整数,且1≤i”≤5000;Step 371: Perform 10-fold down-sampling processing and 10-fold interpolation processing on the respiratory rate data and pulse rate data buffered in step 33 for 5 s respectively, wherein the sampling frequency fs=1000 Hz, and the number obtained within the 5 s is 5 × fs = 5000 points of respiratory rate data and 5 × fs = 5000 points of pulse rate data; record the respiratory rate data of 5000 points as a i" respectively, and record the pulse rate data of 5000 points as b i " , where i" is an integer, and 1≤i"≤5000;

步骤372:根据公式计算得到呼吸率数据和脉率数据的行斜率方差S2的值;Step 372: According to the formula Calculate the value of the line slope variance S2 of the respiration rate data and the pulse rate data ;

步骤373:根据步骤36中发生呼吸暂停事件的多组参数N的确定确实发生呼吸暂停事件的行斜率方差的值域范围;Step 373: According to the multiple groups of parameters N in which apnea events occur in step 36, it is determined that the value range of the slope variance of the line where apnea events do occur;

步骤374:当通过所述步骤372计算得到的行斜率方差值处于所述步骤373中的值域范围时,判定结论为受测者在睡眠期间发生呼吸暂停事件;否则,当通过所述步骤372计算得到的行斜率方差值处于所述步骤373中的值域范围以外时,判定结论为受测者在睡眠期间无发生呼吸暂停事件。Step 374: When the row slope variance value calculated by the step 372 is within the value range in the step 373, it is concluded that the subject has an apnea event during sleep; otherwise, when the step is passed When the row slope variance value calculated in step 372 is outside the value range in step 373, it is determined that the subject does not have apnea events during sleep.

作为本发明的进一步改进,所述步骤373中确实发生呼吸暂停事件的行斜率方差的值域范围的确定具体包括以下步骤:As a further improvement of the present invention, in the step 373, the determination of the range range of the slope variance of the line that does have an apnea event specifically includes the following steps:

步骤3731:根据所述步骤33和所述步骤34得到C组呼吸暂停状态判别的参数N,并根据所述步骤35和所述步骤36对所述C组呼吸暂停状态判别参数N进行判断,在所述C组呼吸暂停状态判别参数N中选取出发生了暂停呼吸事件的D组呼吸暂停状态判别参数N;其中C和D均为正整数,C>D,且50≤C≤500;Step 3731: According to the step 33 and the step 34, obtain the group C apnea state discrimination parameter N, and judge the C group apnea state discrimination parameter N according to the step 35 and the step 36, in The group C apnea state discrimination parameter N is selected from the D group apnea state discrimination parameter N in which apnea events occur; wherein C and D are both positive integers, C>D, and 50≤C≤500;

步骤3732:根据所述步骤371分别对所述D组呼吸暂停状态判别参数N对应的5s内的呼吸率数据和脉率数据进行处理,处理后经所述步骤372计算得到D组中每组的行斜率方差的值,并分别依次标记为 Step 3732: According to the step 371, the respiration rate data and pulse rate data within 5s corresponding to the apnea state discrimination parameter N of the group D are respectively processed, and after the processing, the step 372 is used to calculate the pulse rate data of each group in the D group. The value of the row slope variance, and respectively labeled as

步骤3733:于所述D组的行斜率方差的值中选取一最小的行斜率方差值Q1和一最大的行斜率方差值Q2,并得到确实发生呼吸暂停事件的行斜率方差的值域范围为(Q1,Q2)或[Q1,Q2]。Step 3733: The value of the row slope variance in the D group Select a minimum line slope variance value Q 1 and a maximum line slope variance value Q 2 , and obtain the value range of the line slope variance of the apnea event that actually occurs as (Q 1 , Q 2 ) or [Q 1 , Q2 ].

为进一步简化本发明的系统的结构并保证受测者的舒适度,不影响受测者睡眠体验,作为本发明的进一步改进,所述步骤11中,通过压电传感器设置于受测者的枕头底部而实现实时采集受测者睡眠期间的睡眠呼吸模拟信号。In order to further simplify the structure of the system of the present invention and ensure the comfort of the subject without affecting the sleep experience of the subject, as a further improvement of the present invention, in the step 11, the piezoelectric sensor is arranged on the subject's pillow The bottom realizes the real-time collection of sleep breathing simulation signals of the subject during sleep.

作为本发明的进一步改进,所述A/D转换模块包括依次电连接的滤波电路、放大电路和A/D转换电路;所述滤波电路与所述压电传感器电连接,并对由压电传感器传送的模拟信号进行滤波处理后输入到放大电路;所述放大电路对经滤波处理后的模拟信号进行放大,并传送至所述A/D转换电路,由所述A/D转换电路将依次经过滤波和放大处理的模拟信号转换成数字信号。As a further improvement of the present invention, the A/D conversion module includes a filter circuit, an amplification circuit, and an A/D conversion circuit that are electrically connected in sequence; the filter circuit is electrically connected to the piezoelectric sensor, and is connected to the piezoelectric sensor The transmitted analog signal is filtered and then input to the amplifying circuit; the amplifying circuit amplifies the filtered analog signal and transmits it to the A/D conversion circuit, and the A/D conversion circuit will sequentially pass through Filter and amplify the processed analog signal into a digital signal.

为进一步简化计算步骤和处理过程,作为本发明的进一步改进,所述步骤21中,通过将所述睡眠呼吸数字信号输入到处理器或计算机上通过LabVIEW软件进行初步分析得到呼吸率的波形和脉率的波形。In order to further simplify the calculation steps and processing process, as a further improvement of the present invention, in the step 21, by inputting the sleep breathing digital signal to a processor or a computer, the waveform and pulse of the respiratory rate are obtained through preliminary analysis by LabVIEW software. rate waveform.

其次,为达到本发明的另一目的,本发明还提供了一种与所述睡眠期间呼吸暂停的判断方法对应的睡眠期间呼吸暂停的判断系统,该系统包括依次连接的压电传感器、A/D转换模块和处理器;Secondly, in order to achieve another purpose of the present invention, the present invention also provides a system for judging apnea during sleep corresponding to the method for judging apnea during sleep, which system includes piezoelectric sensors connected in sequence, A/ D conversion modules and processors;

所述压电传感器用于实时采集受测者睡眠期间的睡眠呼吸模拟信号,并传送至所述A/D转换模块;The piezoelectric sensor is used to collect the sleep breathing analog signal of the subject during sleep in real time, and transmit it to the A/D conversion module;

所述A/D转换模块用于将所述睡眠呼吸模拟信号转换成睡眠呼吸数字信号,并传送至所述处理器;The A/D conversion module is used to convert the sleep breathing analog signal into a sleep breathing digital signal and send it to the processor;

所述处理器用于对所述睡眠呼吸数字信号处理得到呼吸率波形图和脉率波形图,并对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论。The processor is used to process the sleep breathing digital signal to obtain a waveform diagram of a respiratory rate and a waveform diagram of a pulse rate, and analyze the waveform diagram of a respiratory rate and a waveform diagram of a pulse rate to obtain a judgment conclusion whether apnea occurs during sleep.

通过上述技术方案,本发明睡眠期间呼吸暂停的判断方法及系统达到了以下有益的技术效果:Through the above technical solution, the method and system for judging apnea during sleep of the present invention have achieved the following beneficial technical effects:

1)通过压电传感器检测受测者睡眠时对枕头产生的压力的变化情况,解析出受测者脉搏和呼吸两路的信号,并结合受测者脉搏和呼吸两路信号的数据综合判别呼吸暂停,比现有仅依靠呼吸信号的可信度更强,且不需要与受测者接触,即可实现对睡眠暂停的判定,无辐射,检测结果准确;并且,解决了现有在需要准确判断出呼吸暂停的状态对睡眠质量作出正确的评估的条件下,必须依靠价格昂贵的多导图睡眠图PSG而导致的患者必须在实验室或医院进行熟睡、并在技术人员的监督下连接许多监测电极,从而影响受测者睡眠质量,也消费了消费者的时间和金钱成本,而本发明的检测系统不要与受测者接触即能实现对受测者呼吸暂停状态的判别,且检测系统小巧便携,使用方便快捷,能满足用户处于居家或差旅等环境下进行呼吸暂停的检测与排查时的使用,减少时间和金钱成本消耗。1) Use the piezoelectric sensor to detect the change of the pressure on the pillow when the subject is sleeping, analyze the two-way signal of the subject's pulse and respiration, and combine the data of the two-way signal of the subject's pulse and respiration to comprehensively judge the respiration Pause, which is more reliable than the existing breathing signal alone, and can realize the judgment of sleep apnea without contact with the subject, no radiation, and the detection result is accurate; and it solves the existing need for accurate detection Under the conditions of judging the state of apnea and making a correct assessment of sleep quality, patients must rely on the expensive polysomnogram PSG. Monitoring electrodes, thereby affecting the sleep quality of the subject, also consumes the time and money cost of the consumer, and the detection system of the present invention can realize the discrimination of the apnea state of the subject without contact with the subject, and the detection system Small and portable, convenient and quick to use, it can meet the needs of users in the detection and troubleshooting of apnea at home or on business trips, reducing time and money costs.

2)通过所述步骤371,去除掉呼吸率和脉率数据中过高或过低的点,有利于呼吸率波形和脉率波形曲线的平滑;2) Through the step 371, the excessively high or low points in the respiratory rate and pulse rate data are removed, which is beneficial to the smoothing of the respiratory rate waveform and pulse rate waveform curve;

3)通过所述步骤372~374,对经过一次判断的呼吸暂停事件进行第二次判断,由此通过两次判断有利于进一步提高了睡眠期间呼吸暂停的判别的准确性。3) Through the steps 372-374, a second judgment is performed on the apnea event that has been judged once, so that the judgment accuracy of the apnea during sleep can be further improved by making two judgments.

为了更好地理解和实施,下面结合附图详细说明本发明。For better understanding and implementation, the present invention will be described in detail below in conjunction with the accompanying drawings.

附图说明Description of drawings

图1是本发明睡眠期间呼吸暂停的判断方法的简要流程框图;Fig. 1 is a brief flow diagram of the method for judging apnea during sleep of the present invention;

图2是本发明睡眠期间呼吸暂停的判断系统的结构图;Fig. 2 is the structural diagram of the judging system of apnea during sleep of the present invention;

图3是图2中的睡眠期间呼吸暂停的判断系统进一步改进后的结构图。FIG. 3 is a further improved structure diagram of the system for judging apnea during sleep in FIG. 2 .

具体实施方式detailed description

请参阅图1,为解决现有技术存在的问题,本发明提供了一种睡眠期间呼吸暂停的判断方法,其包括以下步骤:Please refer to Fig. 1, in order to solve the problems in the prior art, the present invention provides a method for judging apnea during sleep, which includes the following steps:

步骤1:实时采集受测者睡眠期间的睡眠呼吸信号;具体地,所述步骤1包括以下步骤:Step 1: collecting the sleep breathing signal of the subject during sleep in real time; specifically, the step 1 includes the following steps:

步骤11:通过压电传感器实时采集受测者睡眠期间的睡眠呼吸模拟信号;Step 11: collecting the simulated sleep breathing signal of the subject during sleep in real time through the piezoelectric sensor;

步骤12:通过A/D转换模块将所述睡眠呼吸模拟信号转换为睡眠呼吸数字信号。Step 12: Convert the sleep breathing analog signal into a sleep breathing digital signal through an A/D conversion module.

步骤2:对所述睡眠呼吸信号处理得到呼吸率波形图和脉率波形图;具体地,所述步骤2包括以下步骤:Step 2: processing the sleep respiration signal to obtain a respiration rate waveform and a pulse rate waveform; specifically, the step 2 includes the following steps:

步骤21:对所述睡眠呼吸数字信号进行初步分析得到呼吸率的波形和脉率的波形;Step 21: Preliminarily analyze the sleep breathing digital signal to obtain the waveform of the respiratory rate and the waveform of the pulse rate;

步骤22:依次通过形态滤波、峰值滤波和协方差匹配分别对所述呼吸率的波形和所述脉率的波形进行处理,计算得到准确的呼吸率和脉率,并分别生成相应的呼吸率波形图和脉率波形图。Step 22: Process the waveform of the respiration rate and the waveform of the pulse rate respectively through morphological filtering, peak filtering and covariance matching, calculate the accurate respiration rate and pulse rate, and generate corresponding respiration rate waveforms respectively graph and pulse rate waveform graph.

步骤3:对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论;具体地,所述步骤3包括以下步骤:Step 3: Analyze the respiration rate waveform and the pulse rate waveform to determine whether apnea occurs during sleep; specifically, the step 3 includes the following steps:

步骤31:于所述呼吸率波形图和所述脉率波形图的同一时间段中分别抽取稳定期内20s的呼吸率和20s的脉率,并在20s内的每一秒取一呼吸率的最大值Xi和一脉率的最大值Yi,其中i为整数,且1≤i≤20;Step 31: In the same time period of the respiration rate waveform diagram and the pulse rate waveform diagram, respectively extract the respiration rate of 20s and the pulse rate of 20s in the stable period, and take a respiration rate every second within 20s The maximum value Xi and the maximum value Yi of a pulse rate, where i is an integer, and 1≤i≤20;

步骤32:根据公式计算得到呼吸暂停状态判别的初步阈值M;Step 32: According to the formula Calculate and obtain the preliminary threshold value M of apnea state discrimination;

步骤33:在实时采集受测者睡眠期间的睡眠呼吸信号时,在所述步骤31中的所述同一时间段内缓存5s的呼吸率数据和脉率数据,并在5s内的每一秒取一呼吸率的最大值Ai’和一脉率的最大值Bi’,其中i’为整数,且1≤i’≤5;Step 33: When collecting the sleep respiration signal during the sleep of the subject in real time, cache the respiration rate data and pulse rate data of 5s in the same time period in the step 31, and take each second within 5s A maximum value Ai' of the respiration rate and a maximum value Bi' of the pulse rate, where i' is an integer, and 1≤i'≤5;

步骤34:根据公式计算得到呼吸暂停状态判别的参数N;Step 34: According to the formula Calculate the parameter N of apnea state discrimination;

步骤35:在实时采集受测者睡眠期间的睡眠呼吸信号时,每次缓存5s的呼吸率和脉率信号,每隔1s重复一次所述步骤33和所述步骤34,依次循环,直至睡眠期间结束;Step 35: When collecting the sleep respiration signal of the subject during sleep in real time, cache the respiration rate and pulse rate signal for 5s each time, repeat the step 33 and the step 34 every 1s, and cycle in turn until the sleep period Finish;

步骤36:设定初始呼吸暂停次数count=0,每重复一次步骤33和步骤34时,比较N与7×M的大小;当且仅当N>7×M时,count=count+1,表示发生了一次呼吸暂停事件;当count>2时,比较N与14×M的大小,当且仅当N>14×M时,count=count+1,表示发生了一次呼吸暂停事件;得到睡眠期间是否出现呼吸暂停及呼吸暂停次数的判定结论。Step 36: Set the initial number of times of apnea count=0, and compare the size of N and 7×M every time step 33 and step 34 are repeated; if and only when N>7×M, count=count+1, indicating An apnea event has occurred; when count>2, compare the size of N and 14×M, if and only if N>14×M, count=count+1, indicating that an apnea event has occurred; get sleep period Whether there is apnea and the judgment conclusion of the number of apnea.

为进一步提高判定结论的准确性,作为本发明一种更优的技术方案,对所述步骤3进行进一步完善,完善后的步骤3除包括步骤31~36外,还包括以下步骤:In order to further improve the accuracy of the judgment conclusion, as a better technical solution of the present invention, the step 3 is further improved, and the improved step 3 includes the following steps in addition to steps 31-36:

步骤37:在所述步骤36中,count值每加1时,对所述步骤36中的判定结论依据进行二次判断;该二次判断具体包括以下步骤:Step 37: In the step 36, when the count value is increased by 1, a second judgment is performed on the basis of the judgment conclusion in the step 36; the second judgment specifically includes the following steps:

步骤371:分别对所述步骤33中缓存的5s的呼吸率数据和脉率数据依次进行10倍降采样处理和10倍插值处理,其中采样频率fs=1000Hz,分别在该5s内得到数量为5×fs=5000点的呼吸率数据和数量为5×fs=5000点的脉率数据;将5000点的呼吸率数据记录分别为ai”,并将5000点的脉率数据记录分别为bi”,其中,i”为整数,且1≤i”≤5000;Step 371: Perform 10-fold down-sampling processing and 10-fold interpolation processing on the respiratory rate data and pulse rate data buffered in step 33 for 5 s respectively, wherein the sampling frequency fs=1000 Hz, and the number obtained within the 5 s is 5 × fs = 5000 points of respiratory rate data and 5 × fs = 5000 points of pulse rate data; record the respiratory rate data of 5000 points as a i" respectively, and record the pulse rate data of 5000 points as b i " , where i" is an integer, and 1≤i"≤5000;

步骤372:根据公式计算得到呼吸率数据和脉率数据的行斜率方差S2的值;Step 372: According to the formula Calculate the value of the line slope variance S2 of the respiration rate data and the pulse rate data ;

步骤373:根据步骤36中发生呼吸暂停事件的多组参数N的确定确实发生呼吸暂停事件的行斜率方差的值域范围;具体包括以下步骤:Step 373: According to the determination of multiple groups of parameters N that the apnea event occurs in step 36, the value range of the line slope variance of the apnea event does occur; specifically, the following steps are included:

步骤3731:根据所述步骤33和所述步骤34得到C组呼吸暂停状态判别的参数N,并根据所述步骤35和所述步骤36对所述C组呼吸暂停状态判别参数N进行判断,在所述C组呼吸暂停状态判别参数N中选取出发生了暂停呼吸事件的D组呼吸暂停状态判别参数N;其中C和D均为正整数,C>D,且50≤C≤500;Step 3731: According to the step 33 and the step 34, obtain the group C apnea state discrimination parameter N, and judge the C group apnea state discrimination parameter N according to the step 35 and the step 36, in The group C apnea state discrimination parameter N is selected from the D group apnea state discrimination parameter N in which apnea events occur; wherein C and D are both positive integers, C>D, and 50≤C≤500;

步骤3732:根据所述步骤371分别对所述D组呼吸暂停状态判别参数N对应的5s内的呼吸率数据和脉率数据进行处理,处理后经所述步骤372计算得到D组中每组的行斜率方差的值,并分别依次标记为 Step 3732: According to the step 371, the respiration rate data and pulse rate data within 5s corresponding to the apnea state discrimination parameter N of the group D are respectively processed, and after the processing, the step 372 is used to calculate the pulse rate data of each group in the D group. The value of the row slope variance, and respectively labeled as

步骤3733:于所述D组的行斜率方差的值中选取一最小的行斜率方差值Q1和一最大的行斜率方差值Q2,并得到确实发生呼吸暂停事件的行斜率方差的值域范围为(Q1,Q2)或[Q1,Q2]。Step 3733: The value of the row slope variance in the D group Select a minimum line slope variance value Q 1 and a maximum line slope variance value Q 2 , and obtain the value range of the line slope variance of the apnea event that actually occurs as (Q 1 , Q 2 ) or [Q 1 , Q2 ].

步骤374:当通过所述步骤372计算得到的行斜率方差值处于所述步骤373中的值域范围时,判定结论为受测者在睡眠期间发生呼吸暂停事件;否则,当通过所述步骤372计算得到的行斜率方差值处于所述步骤373中的值域范围以外时,判定结论为受测者在睡眠期间无发生呼吸暂停事件。Step 374: When the row slope variance value calculated by the step 372 is within the value range in the step 373, it is concluded that the subject has an apnea event during sleep; otherwise, when the step is passed When the row slope variance value calculated in step 372 is outside the value range in step 373, it is determined that the subject does not have apnea events during sleep.

另外,在其它变形实施例中,可以改变C的取值范围,使得获取得到的数值D越大越好,这样也有利于进一步提高呼吸暂停判别的准确性。In addition, in other modified embodiments, the value range of C may be changed so that the obtained value D is as large as possible, which is also beneficial to further improve the accuracy of apnea discrimination.

为进一步简化本发明的系统的结构并保证受测者的舒适度,不影响受测者睡眠体验,作为本发明一种更优的技术方案,所述步骤11中,通过压电传感器设置于受测者的枕头底部而实现实时采集受测者睡眠期间的睡眠呼吸模拟信号。In order to further simplify the structure of the system of the present invention and ensure the comfort of the subject without affecting the sleep experience of the subject, as a better technical solution of the present invention, in step 11, the piezoelectric sensor is set on the subject Real-time collection of sleep breathing simulation signals of the subject during sleep.

为得到外部干扰小的睡眠呼吸数字信号,以进一步提高呼吸暂停判别的准确性,作为一种更优的技术方案,所述A/D转换模块包括依次电连接的滤波电路、放大电路和A/D转换电路。所述滤波电路与所述压电传感器电连接,并对由压电传感器传送的模拟信号进行滤波处理后输入到放大电路;所述放大电路对经滤波处理后的模拟信号进行放大,并传送至所述A/D转换电路,由所述A/D转换电路将依次经过滤波和放大处理的模拟信号转换成数字信号。In order to obtain sleep breathing digital signals with little external interference, to further improve the accuracy of apnea discrimination, as a better technical solution, the A/D conversion module includes a filter circuit, an amplifier circuit and an A/D converter that are electrically connected in sequence. D conversion circuit. The filter circuit is electrically connected to the piezoelectric sensor, and the analog signal transmitted by the piezoelectric sensor is filtered and then input to the amplifying circuit; the amplifying circuit amplifies the filtered analog signal and sends it to The A/D conversion circuit converts the analog signal that has been filtered and amplified sequentially into a digital signal by the A/D conversion circuit.

为进一步简化计算步骤和处理过程,作为一种更优的技术方案,所述步骤21中,通过将所述睡眠呼吸数字信号输入到处理器或计算机上通过LabVIEW软件进行初步分析得到呼吸率的波形和脉率的波形。其中,计算机可以是便携式计算机也可以是台式计算机,可根据受测者的环境需要选择方便的处理设备。In order to further simplify the calculation steps and processing process, as a better technical solution, in the step 21, the waveform of the respiration rate is obtained by inputting the sleep respiration digital signal to a processor or a computer through LabVIEW software for preliminary analysis and pulse rate waveforms. Wherein, the computer can be a portable computer or a desktop computer, and a convenient processing device can be selected according to the environmental needs of the subject.

另外,在其它实施例中,还可以用除LabVIEW软件外的其它软件生成呼吸率的波形和脉率的波形,如MALAB软件等。In addition, in other embodiments, other software besides LabVIEW software can also be used to generate the waveform of the respiration rate and the waveform of the pulse rate, such as MALAB software and the like.

请参阅图2,另外,本发明还提供了一种与所述睡眠期间呼吸暂停的判断方法对应的睡眠期间呼吸暂停的判断系统,该系统包括依次连接的压电传感器10、A/D转换模块20和处理器30。Please refer to Fig. 2, in addition, the present invention also provides a kind of judging system of apnea during sleep corresponding to the judging method of apnea during sleep, the system includes piezoelectric sensor 10, A/D conversion module connected in sequence 20 and processor 30.

所述压电传感器10用于实时采集受测者睡眠期间的睡眠呼吸模拟信号,并传送至所述A/D转换模块20;The piezoelectric sensor 10 is used to collect the simulated sleep breathing signal of the subject during sleep in real time, and transmit it to the A/D conversion module 20;

所述A/D转换模块20用于将所述睡眠呼吸模拟信号转换成睡眠呼吸数字信号,并传送至所述处理器30;The A/D conversion module 20 is used to convert the sleep breathing analog signal into a sleep breathing digital signal, and transmit it to the processor 30;

所述处理器30用于对所述睡眠呼吸数字信号处理得到呼吸率波形图和脉率波形图,并对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论。The processor 30 is used to process the sleep breathing digital signal to obtain a waveform diagram of a respiratory rate and a waveform diagram of a pulse rate, and analyze the waveform diagram of a respiratory rate and a waveform diagram of a pulse rate to obtain a judgment conclusion on whether apnea occurs during sleep.

请参阅图3,为避免压电传感器10受到环境因素影响而发生走位现象,同时延长压电传感器10的使用寿命,作为一种更优的技术方案,本发明睡眠期间呼吸暂停的判断系统还包括一传感器安装板40;所述压电传感器10嵌设安装于所述传感器安装板40的中部,且其检测端外漏设置于所述传感器安装板40的表面,并与传感器安装板40的表面平齐。在本实施例中,传感器安装板40的长宽大小优选为与受测者的枕头的长宽大小一致或相近。Please refer to Fig. 3, in order to prevent the piezoelectric sensor 10 from being affected by environmental factors and to prolong the service life of the piezoelectric sensor 10, as a better technical solution, the system for judging apnea during sleep of the present invention is also It includes a sensor mounting plate 40; the piezoelectric sensor 10 is embedded and installed in the middle of the sensor mounting plate 40, and its detection end is leakingly arranged on the surface of the sensor mounting plate 40, and is connected to the sensor mounting plate 40 The surface is even. In this embodiment, the length and width of the sensor mounting plate 40 are preferably consistent with or similar to the length and width of the subject's pillow.

为得到外部干扰小的睡眠呼吸数字信号,以进一步提高呼吸暂停判别的准确性,作为一种更优的技术方案,所述A/D转换模块20包括依次电连接并集成于同一PCB板上的滤波电路、放大电路和A/D转换电路。所述滤波电路与所述压电传感器10电连接,并对由压电传感器10传送的模拟信号进行滤波处理后输入到放大电路;所述放大电路对经滤波处理后的模拟信号进行放大,并传送至所述A/D转换电路;所述A/D转换电路通过PCB板上的串口与处理器30连接,其将依次经过滤波和放大处理的模拟信号转换成数字信号,并通过串口将数字信号传送至处理器30,由处理器30对所述数字信号分析处理得到呼吸暂停状况的判定结论。In order to obtain sleep breathing digital signals with little external interference, to further improve the accuracy of apnea discrimination, as a better technical solution, the A/D conversion module 20 includes sequentially electrically connected and integrated on the same PCB board filter circuit, amplifier circuit and A/D conversion circuit. The filtering circuit is electrically connected to the piezoelectric sensor 10, and the analog signal transmitted by the piezoelectric sensor 10 is filtered and then input to the amplifying circuit; the amplifying circuit amplifies the filtered analog signal, and Delivered to the A/D conversion circuit; the A/D conversion circuit is connected with the processor 30 through the serial port on the PCB board, which converts the analog signal through filtering and amplifying successively into a digital signal, and converts the digital signal through the serial port The signal is sent to the processor 30, and the processor 30 analyzes and processes the digital signal to obtain a judgment conclusion of the apnea condition.

在需要检测呼吸信号和脉搏信号时,将整块传感器安装板40放置在受测者睡眠时需要用到的枕头的底面,或套入到枕头的枕巾内,和枕头一起受压;而A/D转换模块20可以放置在床边或其它方便放置的地方。待受测者睡眠时即可通过本系统检测呼吸信号和脉搏信号,处理器30即可在受测者的睡眠期间不断处理数据,完成后续分析、处理和判定的工作。具体地,可结合本发明的睡眠期间呼吸暂停的判断方法对本发明的睡眠期间呼吸暂停的判断系统的工作过程和工作原理进行理解,故在此不再赘述。When it is necessary to detect respiratory signals and pulse signals, the entire sensor mounting plate 40 is placed on the bottom surface of the pillow that the subject needs to use when sleeping, or inserted into the pillow cover of the pillow, and pressed together with the pillow; and A/ The D conversion module 20 can be placed beside the bed or other convenient places. When the subject is sleeping, the system can detect the respiratory signal and pulse signal, and the processor 30 can continuously process the data during the sleep period of the subject, and complete the subsequent analysis, processing and judgment. Specifically, the working process and working principle of the system for judging apnea during sleep of the present invention can be understood in combination with the method for judging apnea during sleep of the present invention, so details are not repeated here.

在其它变形实施例中,所述处理器30可以替换为计算机、手机、平板电脑或者手表等其它智能终端设备。In other modified embodiments, the processor 30 may be replaced by other intelligent terminal devices such as a computer, a mobile phone, a tablet computer, or a watch.

相对于现有技术,本发明睡眠期间呼吸暂停的判断方法及系统不需要与受测者接触,即可实现对睡眠暂停的判定,无辐射,检测结果准确,且便于携带,使用方便快捷,能满足用户处于居家或差旅等环境下进行呼吸暂停的检测与排查时的使用,减少时间和金钱成本消耗。Compared with the prior art, the method and system for judging apnea during sleep of the present invention can realize the judgment of apnea without contact with the subject, without radiation, with accurate detection results, easy to carry, convenient and quick to use, and can Satisfy the user's use in the detection and troubleshooting of apnea at home or on business trips, reducing time and money costs.

本发明并不局限于上述实施方式,如果对本发明的各种改动或变形不脱离本发明的精神和范围,倘若这些改动和变形属于本发明的权利要求和等同技术范围之内,则本发明也意图包含这些改动和变形。The present invention is not limited to the above-mentioned embodiments, if the various changes or deformations of the present invention do not depart from the spirit and scope of the present invention, if these changes and deformations belong to the claims of the present invention and the equivalent technical scope, then the present invention is also It is intended that such modifications and variations are included.

Claims (10)

1.一种睡眠期间呼吸暂停的判断方法,其特征在于:包括以下步骤:1. a method for judging apnea during sleep, characterized in that: comprising the following steps: 步骤1:实时采集受测者睡眠期间的睡眠呼吸信号;Step 1: Collect the sleep breathing signal of the subject during sleep in real time; 步骤2:对所述睡眠呼吸信号处理得到呼吸率波形图和脉率波形图;Step 2: processing the sleep respiration signal to obtain a respiration rate waveform and a pulse rate waveform; 步骤3:对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论。Step 3: Analyze the respiration rate waveform diagram and the pulse rate waveform diagram to obtain a judgment conclusion whether apnea occurs during sleep. 2.根据权利要求1所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤1中,具体包括以下步骤:2. the judgment method of apnea during sleep according to claim 1, is characterized in that: in described step 1, specifically comprises the following steps: 步骤11:通过压电传感器实时采集受测者睡眠期间的睡眠呼吸模拟信号;Step 11: collecting the simulated sleep breathing signal of the subject during sleep in real time through the piezoelectric sensor; 步骤12:通过A/D转换模块将所述睡眠呼吸模拟信号转换为睡眠呼吸数字信号。Step 12: Convert the sleep breathing analog signal into a sleep breathing digital signal through an A/D conversion module. 3.根据权利要求2所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤2中,具体包括以下步骤:3. the judgment method of apnea during sleep according to claim 2, is characterized in that: in described step 2, specifically comprises the following steps: 步骤21:对所述睡眠呼吸数字信号进行初步分析得到呼吸率的波形和脉率的波形;Step 21: Preliminarily analyze the sleep breathing digital signal to obtain the waveform of the respiratory rate and the waveform of the pulse rate; 步骤22:依次通过形态滤波、峰值滤波和协方差匹配分别对所述呼吸率的波形和所述脉率的波形进行处理,计算得到准确的呼吸率和脉率,并分别生成相应的呼吸率波形图和脉率波形图。Step 22: Process the waveform of the respiration rate and the waveform of the pulse rate respectively through morphological filtering, peak filtering and covariance matching, calculate the accurate respiration rate and pulse rate, and generate corresponding respiration rate waveforms respectively graph and pulse rate waveform graph. 4.根据权利要求1~3任一项所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤3中,具体包括以下步骤:4. The method for judging apnea during sleep according to any one of claims 1 to 3, wherein the step 3 specifically includes the following steps: 步骤31:于所述呼吸率波形图和所述脉率波形图的同一时间段中分别抽取稳定期内20s的呼吸率和20s的脉率,并在20s内的每一秒取一呼吸率的最大值Xi和一脉率的最大值Yi,其中i为整数,且1≤i≤20;Step 31: In the same time period of the respiration rate waveform diagram and the pulse rate waveform diagram, respectively extract the respiration rate of 20s and the pulse rate of 20s in the stable period, and take a respiration rate every second within 20s The maximum value Xi and the maximum value Yi of a pulse rate, where i is an integer, and 1≤i≤20; 步骤32:根据公式计算得到呼吸暂停状态判别的初步阈值M;Step 32: According to the formula Calculate and obtain the preliminary threshold value M of apnea state discrimination; 步骤33:在实时采集受测者睡眠期间的睡眠呼吸信号时,在所述步骤31中的所述同一时间段内缓存5s的呼吸率数据和脉率数据,并在5s内的每一秒取一呼吸率的最大值Ai’和一脉率的最大值Bi’,其中i’为整数,且1≤i’≤5;Step 33: When collecting the sleep respiration signal during the sleep of the subject in real time, cache the respiration rate data and pulse rate data of 5s in the same time period in the step 31, and take each second within 5s A maximum value Ai' of the respiration rate and a maximum value Bi' of the pulse rate, where i' is an integer, and 1≤i'≤5; 步骤34:根据公式计算得到呼吸暂停状态判别的参数N;Step 34: According to the formula Calculate the parameter N of apnea state discrimination; 步骤35:在实时采集受测者睡眠期间的睡眠呼吸信号时,每次缓存5s的呼吸率和脉率信号,每隔1s重复一次所述步骤33和所述步骤34,依次循环,直至睡眠期间结束;Step 35: When collecting the sleep respiration signal of the subject during sleep in real time, cache the respiration rate and pulse rate signal for 5s each time, repeat the step 33 and the step 34 every 1s, and cycle in turn until the sleep period Finish; 步骤36:设定初始呼吸暂停次数count=0,每重复一次步骤33和步骤34时,比较N与7×M的大小;当且仅当N>7×M时,count=count+1,表示发生了一次呼吸暂停事件;当count>2时,比较N与14×M的大小,当且仅当N>14×M时,count=count+1,表示发生了一次呼吸暂停事件;得到睡眠期间是否出现呼吸暂停及呼吸暂停次数的判定结论。Step 36: Set the initial number of times of apnea count=0, and compare the size of N and 7×M every time step 33 and step 34 are repeated; if and only when N>7×M, count=count+1, indicating An apnea event has occurred; when count>2, compare the size of N and 14×M, if and only if N>14×M, count=count+1, indicating that an apnea event has occurred; get sleep period Whether there is apnea and the judgment conclusion of the number of apnea. 5.根据权利要求4所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤3还包括以下步骤:5. the method for judging apnea during sleep according to claim 4, characterized in that: said step 3 further comprises the following steps: 步骤37:在所述步骤36中,count值每加1时,对所述步骤36中的判定结论依据进行二次判断;该二次判断具体包括以下步骤:Step 37: In the step 36, when the count value is increased by 1, a second judgment is performed on the basis of the judgment conclusion in the step 36; the second judgment specifically includes the following steps: 步骤371:分别对所述步骤33中缓存的5s的呼吸率数据和脉率数据依次进行10倍降采样处理和10倍插值处理,其中采样频率fs=1000Hz,分别在该5s内得到数量为5×fs=5000点的呼吸率数据和数量为5×fs=5000点的脉率数据;将5000点的呼吸率数据记录分别为ai”,并将5000点的脉率数据记录分别为bi”,其中,i”为整数,且1≤i”≤5000;Step 371: Perform 10-fold down-sampling processing and 10-fold interpolation processing on the respiratory rate data and pulse rate data buffered in step 33 for 5 s respectively, wherein the sampling frequency fs=1000 Hz, and the number obtained within the 5 s is 5 × fs = 5000 points of respiratory rate data and 5 × fs = 5000 points of pulse rate data; record the respiratory rate data of 5000 points as a i" respectively, and record the pulse rate data of 5000 points as b i " , where i" is an integer, and 1≤i"≤5000; 步骤372:根据公式计算得到呼吸率数据和脉率数据的行斜率方差S2的值;Step 372: According to the formula Calculate the value of the line slope variance S2 of the respiration rate data and the pulse rate data ; 步骤373:根据步骤36中发生呼吸暂停事件的多组参数N的确定确实发生呼吸暂停事件的行斜率方差的值域范围;Step 373: According to the multiple groups of parameters N in which apnea events occur in step 36, it is determined that the value range of the slope variance of the line where apnea events do occur; 步骤374:当通过所述步骤372计算得到的行斜率方差值处于所述步骤373中的值域范围时,判定结论为受测者在睡眠期间发生呼吸暂停事件;否则,当通过所述步骤372计算得到的行斜率方差值处于所述步骤373中的值域范围以外时,判定结论为受测者在睡眠期间无发生呼吸暂停事件。Step 374: When the row slope variance value calculated by the step 372 is within the value range in the step 373, it is concluded that the subject has an apnea event during sleep; otherwise, when the step is passed When the row slope variance value calculated in step 372 is outside the value range in step 373, it is determined that the subject does not have apnea events during sleep. 6.根据权利要求5所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤373中确实发生呼吸暂停事件的行斜率方差的值域范围的确定具体包括以下步骤:6. the method for judging apnea during sleep according to claim 5, is characterized in that: the determination of the value domain range of the row slope variance that really takes place apnea event in the said step 373 specifically comprises the following steps: 步骤3731:根据所述步骤33和所述步骤34得到C组呼吸暂停状态判别的参数N,并根据所述步骤35和所述步骤36对所述C组呼吸暂停状态判别参数N进行判断,在所述C组呼吸暂停状态判别参数N中选取出发生了暂停呼吸事件的D组呼吸暂停状态判别参数N;其中C和D均为正整数,C>D,且50≤C≤500;Step 3731: According to the step 33 and the step 34, obtain the group C apnea state discrimination parameter N, and judge the C group apnea state discrimination parameter N according to the step 35 and the step 36, in The group C apnea state discrimination parameter N is selected from the D group apnea state discrimination parameter N in which apnea events occur; wherein C and D are both positive integers, C>D, and 50≤C≤500; 步骤3732:根据所述步骤371分别对所述D组呼吸暂停状态判别参数N对应的5s内的呼吸率数据和脉率数据进行处理,处理后经所述步骤372计算得到D组中每组的行斜率方差的值,并分别依次标记为 Step 3732: According to the step 371, the respiration rate data and pulse rate data within 5s corresponding to the apnea state discrimination parameter N of the group D are respectively processed, and after the processing, the step 372 is used to calculate the pulse rate data of each group in the D group. The value of the row slope variance, and respectively labeled as 步骤3733:于所述D组的行斜率方差的值中选取一最小的行斜率方差值Q1和一最大的行斜率方差值Q2,并得到确实发生呼吸暂停事件的行斜率方差的值域范围为(Q1,Q2)或[Q1,Q2]。Step 3733: The value of the row slope variance in the D group Select a minimum line slope variance value Q 1 and a maximum line slope variance value Q 2 , and obtain the value range of the line slope variance of the apnea event that actually occurs as (Q 1 , Q 2 ) or [Q 1 , Q2 ]. 7.根据权利要求2所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤11中,通过压电传感器设置于受测者的枕头底部而实现实时采集受测者睡眠期间的睡眠呼吸模拟信号。7. The method for judging apnea during sleep according to claim 2, characterized in that: in the step 11, the piezoelectric sensor is arranged on the bottom of the subject's pillow to realize real-time acquisition of the subject's sleep during sleep Breathing simulation signal. 8.根据权利要求2所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述A/D转换模块包括依次电连接的滤波电路、放大电路和A/D转换电路;所述滤波电路与所述压电传感器电连接,并对由压电传感器传送的模拟信号进行滤波处理后输入到放大电路;所述放大电路对经滤波处理后的模拟信号进行放大,并传送至所述A/D转换电路,由所述A/D转换电路将依次经过滤波和放大处理的模拟信号转换成数字信号。8. The method for judging apnea during sleep according to claim 2, characterized in that: the A/D conversion module includes a filter circuit, an amplifying circuit and an A/D conversion circuit electrically connected in sequence; the filter circuit and the A/D conversion circuit The piezoelectric sensor is electrically connected, and the analog signal transmitted by the piezoelectric sensor is filtered and then input to the amplifying circuit; the amplifying circuit amplifies the filtered analog signal and transmits it to the A/D A conversion circuit, the A/D conversion circuit converts the analog signal that has been filtered and amplified in sequence into a digital signal. 9.根据权利要求3所述的睡眠期间呼吸暂停的判断方法,其特征在于:所述步骤21中,通过将所述睡眠呼吸数字信号输入到处理器或计算机上通过LabVIEW软件进行初步分析得到呼吸率的波形和脉率的波形。9. the judgment method of apnea during sleep according to claim 3, is characterized in that: in described step 21, by inputting described sleep breathing digital signal on processor or computer, carry out preliminary analysis by LabVIEW software and obtain breathing rate waveform and pulse rate waveform. 10.一种睡眠期间呼吸暂停的判断系统,其特征在于:包括依次连接的压电传感器、A/D转换模块和处理器;10. A judgment system for apnea during sleep, characterized in that: comprising a piezoelectric sensor, an A/D conversion module and a processor connected in sequence; 所述压电传感器用于实时采集受测者睡眠期间的睡眠呼吸模拟信号,并传送至所述A/D转换模块;The piezoelectric sensor is used to collect the sleep breathing analog signal of the subject during sleep in real time, and transmit it to the A/D conversion module; 所述A/D转换模块用于将所述睡眠呼吸模拟信号转换成睡眠呼吸数字信号,并传送至所述处理器;The A/D conversion module is used to convert the sleep breathing analog signal into a sleep breathing digital signal and send it to the processor; 所述处理器用于对所述睡眠呼吸数字信号处理得到呼吸率波形图和脉率波形图,并对呼吸率波形图和脉率波形图进行分析得到睡眠期间是否出现呼吸暂停的判定结论。The processor is used to process the sleep breathing digital signal to obtain a waveform diagram of a respiratory rate and a waveform diagram of a pulse rate, and analyze the waveform diagram of a respiratory rate and a waveform diagram of a pulse rate to obtain a judgment conclusion whether apnea occurs during sleep.
CN201610630791.5A 2016-08-01 2016-08-01 The judgement system of apnea during a kind of sleep Active CN106175770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610630791.5A CN106175770B (en) 2016-08-01 2016-08-01 The judgement system of apnea during a kind of sleep

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610630791.5A CN106175770B (en) 2016-08-01 2016-08-01 The judgement system of apnea during a kind of sleep

Publications (2)

Publication Number Publication Date
CN106175770A true CN106175770A (en) 2016-12-07
CN106175770B CN106175770B (en) 2018-08-21

Family

ID=57497172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610630791.5A Active CN106175770B (en) 2016-08-01 2016-08-01 The judgement system of apnea during a kind of sleep

Country Status (1)

Country Link
CN (1) CN106175770B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109480783A (en) * 2018-12-20 2019-03-19 深圳和而泰智能控制股份有限公司 A kind of apnea detection method, apparatus and calculate equipment
CN109691990A (en) * 2017-10-20 2019-04-30 纳智源科技(唐山)有限责任公司 Sleep apnea low detection device and method
WO2020042897A1 (en) * 2018-08-29 2020-03-05 深圳融昕医疗科技有限公司 Method and device for determining apnea event type, and storage medium
CN113613552A (en) * 2019-04-03 2021-11-05 帝人株式会社 Sleep state detection device, sleep state detection method, and sleep state detection program
CN114732391A (en) * 2022-06-13 2022-07-12 亿慧云智能科技(深圳)股份有限公司 Microwave radar-based heart rate monitoring method, device and system in sleep state
CN117338253A (en) * 2023-12-05 2024-01-05 华南师范大学 Sleep apnea detection method and device based on physiological signals

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070161917A1 (en) * 2006-01-10 2007-07-12 Denso Corporation Method and apparatus of analyzing respiratory signals corresponding to changes in subject's loads applied to bed
US20100145167A1 (en) * 2008-08-08 2010-06-10 Hanbyul Meditech Co., Ltd. Pillow having apparatus for determining sleeping state under unrestricted non-self-awareness condition
CN202568219U (en) * 2012-03-01 2012-12-05 北京麦邦光电仪器有限公司 Sleeping heart rate and breath monitoring system
WO2014114438A1 (en) * 2013-01-23 2014-07-31 Sissel International GmbH Sleeping pillow for alleviating a sleep apnea
CN204483674U (en) * 2015-01-05 2015-07-22 武汉理工大学 A kind of can the intelligent pillow of monitoring sleep quality
CN104873173A (en) * 2015-05-19 2015-09-02 上海兆观信息科技有限公司 Non-contact type sleep stage classification and sleep breathing disorder detection method
CN105662375A (en) * 2016-03-17 2016-06-15 广州中科新知科技有限公司 Method and device for non-contact detecting vital sign signals

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070161917A1 (en) * 2006-01-10 2007-07-12 Denso Corporation Method and apparatus of analyzing respiratory signals corresponding to changes in subject's loads applied to bed
US20100145167A1 (en) * 2008-08-08 2010-06-10 Hanbyul Meditech Co., Ltd. Pillow having apparatus for determining sleeping state under unrestricted non-self-awareness condition
CN202568219U (en) * 2012-03-01 2012-12-05 北京麦邦光电仪器有限公司 Sleeping heart rate and breath monitoring system
WO2014114438A1 (en) * 2013-01-23 2014-07-31 Sissel International GmbH Sleeping pillow for alleviating a sleep apnea
CN204483674U (en) * 2015-01-05 2015-07-22 武汉理工大学 A kind of can the intelligent pillow of monitoring sleep quality
CN104873173A (en) * 2015-05-19 2015-09-02 上海兆观信息科技有限公司 Non-contact type sleep stage classification and sleep breathing disorder detection method
CN105662375A (en) * 2016-03-17 2016-06-15 广州中科新知科技有限公司 Method and device for non-contact detecting vital sign signals

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁媛: "便携式睡眠监测系统及其分析软件的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑 》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109691990A (en) * 2017-10-20 2019-04-30 纳智源科技(唐山)有限责任公司 Sleep apnea low detection device and method
CN109691990B (en) * 2017-10-20 2024-02-20 纳智源科技(唐山)有限责任公司 Sleep apnea hypopnea detection device and method
WO2020042897A1 (en) * 2018-08-29 2020-03-05 深圳融昕医疗科技有限公司 Method and device for determining apnea event type, and storage medium
CN109480783A (en) * 2018-12-20 2019-03-19 深圳和而泰智能控制股份有限公司 A kind of apnea detection method, apparatus and calculate equipment
CN113613552A (en) * 2019-04-03 2021-11-05 帝人株式会社 Sleep state detection device, sleep state detection method, and sleep state detection program
CN114732391A (en) * 2022-06-13 2022-07-12 亿慧云智能科技(深圳)股份有限公司 Microwave radar-based heart rate monitoring method, device and system in sleep state
CN114732391B (en) * 2022-06-13 2022-08-23 亿慧云智能科技(深圳)股份有限公司 Heart rate monitoring method, device and system in sleep state based on microwave radar
US11793415B1 (en) 2022-06-13 2023-10-24 Yihuiyun Intelligent Technology (Shenzhen) Co., Ltd. Method, apparatus and system for monitoring heart rate in sleep state based on microwave radar
CN117338253A (en) * 2023-12-05 2024-01-05 华南师范大学 Sleep apnea detection method and device based on physiological signals
CN117338253B (en) * 2023-12-05 2024-03-26 华南师范大学 Sleep apnea detection method and device based on physiological signals

Also Published As

Publication number Publication date
CN106175770B (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN106175770B (en) The judgement system of apnea during a kind of sleep
CN109907729B (en) A method for detecting vital signs during sleep
CN104257353A (en) Sleep apnea syndrome detecting system
CN110051329A (en) A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing
CN110169756A (en) A kind of no-induction sleep monitoring device and monitoring system
CN110876621A (en) A neural network-based detection system for sleep apnea syndrome
CN104545818A (en) Sleep apnea syndrome detection method based on pulse and blood oxygen signals
CN205411149U (en) Sleep monitor mattress
CN109463936B (en) a smart mattress
CN102579010A (en) Method for diagnosing obstructive sleep apnea hypopnea syndrome according to snore
CN103153183A (en) Apparatus and method for diagnosing obstructive sleep apnea
CN113080849A (en) Intelligent mattress and sleep monitoring method thereof
CN115153444A (en) Multi-equipment multi-sensor sleep monitoring system
CN105581775A (en) Projection capacitance type human body action detection system
CN203763087U (en) Sleep monitoring device
CN112155560A (en) Apnea detection method and system based on real-time cardiac shock signal
CN116269298B (en) Non-contact sleep breathing monitoring method and system based on millimeter wave radar
JP7250173B2 (en) Respiratory arrest detection system, respiratory arrest detection method, computing device, regression model construction method, and computer-readable recording medium
TW200840546A (en) Monitoring apparatus, system and method
WO2023024270A1 (en) Non-contact cardiopulmonary monitor and cardiopulmonary monitoring system
CN211833665U (en) A smart mattress with sleep monitoring intervention system
Park et al. Force-sensing-based unobtrusive system for awakening and respiration rate analysis during sleep
CN203290920U (en) Portable emotion analysis meter
CN210990210U (en) Non-inductive sleep monitoring device and monitoring system
Jiao et al. Noncontact sleep monitoring system under a mattress

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240207

Address after: Building 2, No. 38 Junfeng Road, Huangpu District, Guangzhou City, Guangdong Province, 510000

Patentee after: GUANGDONG JUNFENG BFS INDUSTRY CO.,LTD.

Country or region after: China

Address before: School of Physics and Telecommunications Engineering, South China Normal University, No. 378 Outer Ring West Road, Guangzhou University City, Panyu District, Guangzhou City, Guangdong Province, 510006

Patentee before: SOUTH CHINA NORMAL University

Country or region before: China