TWI733247B - Detection device and detection method for obstructive sleep apnea - Google Patents
Detection device and detection method for obstructive sleep apnea Download PDFInfo
- Publication number
- TWI733247B TWI733247B TW108140966A TW108140966A TWI733247B TW I733247 B TWI733247 B TW I733247B TW 108140966 A TW108140966 A TW 108140966A TW 108140966 A TW108140966 A TW 108140966A TW I733247 B TWI733247 B TW I733247B
- Authority
- TW
- Taiwan
- Prior art keywords
- electrocardiogram
- data set
- sleep apnea
- obstructive sleep
- intervals
- Prior art date
Links
- 208000001797 obstructive sleep apnea Diseases 0.000 title claims abstract description 68
- 238000001514 detection method Methods 0.000 title claims abstract description 39
- 238000012549 training Methods 0.000 claims abstract description 49
- 238000010801 machine learning Methods 0.000 claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 13
- 208000024891 symptom Diseases 0.000 claims description 62
- 230000001269 cardiogenic effect Effects 0.000 claims description 18
- 238000013527 convolutional neural network Methods 0.000 claims description 18
- 230000000241 respiratory effect Effects 0.000 claims description 13
- 238000012706 support-vector machine Methods 0.000 claims description 13
- 208000008784 apnea Diseases 0.000 claims description 11
- 230000029058 respiratory gaseous exchange Effects 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 2
- 201000002859 sleep apnea Diseases 0.000 claims description 2
- 230000001568 sexual effect Effects 0.000 claims 2
- 230000008569 process Effects 0.000 abstract description 3
- 238000011176 pooling Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 11
- 238000005070 sampling Methods 0.000 description 7
- 230000004913 activation Effects 0.000 description 5
- 210000002569 neuron Anatomy 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000002565 electrocardiography Methods 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 208000019116 sleep disease Diseases 0.000 description 2
- 230000008665 sleep physiology Effects 0.000 description 2
- 206010067775 Upper airway obstruction Diseases 0.000 description 1
- 210000001015 abdomen Anatomy 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000000474 nursing effect Effects 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 210000003800 pharynx Anatomy 0.000 description 1
- 208000020685 sleep-wake disease Diseases 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
Description
本揭露是有關於一種偵測裝置和偵測方法,且特別是有關於一種阻塞性睡眠呼吸暫停(obstructive sleep apnea,OSA)症狀的偵測裝置和偵測方法。The present disclosure relates to a detection device and detection method, and in particular to a detection device and detection method for obstructive sleep apnea (OSA) symptoms.
OSA症狀是一種常見的睡眠障礙,其是在睡眠期間因為咽部塌陷造成完全或部分上呼吸道阻塞,而導致呼吸暫停或減弱的症狀。目前,要診斷阻塞型睡眠呼吸中止症,主要的依據是睡眠多項生理檢查(polysomnography,PSG)。進行PSG的檢查時,受試者必須到睡眠實驗室或睡眠中心睡一個晚上,在護理人員的監督下,在頭部、眼角、下巴、心臟、以及腿部貼上電極貼片,並且在胸部及腹部套上感應帶,在手指套上血氧測量器,在口鼻套上呼吸感應器,在手臂套上血壓計,以記錄整個晚上的睡眠生理資料。然而,並不是所有病患都有時間能在睡眠實驗室或睡眠中心過夜,並且患有OSA症狀的病患也不是每晚都會發生呼吸暫停(apnea)事件。因此,即使病患前往睡眠實驗室或睡眠中心過夜以測量睡眠生理資料,當夜所測量到的睡眠生理資料也有可能無法幫助醫生診斷出病患的OSA症狀。據此,如何提出一種簡化且方便的睡眠障礙診斷方法,是本領域人員致力的目標之一。OSA symptom is a common sleep disorder, which is a symptom of apnea or weakened due to complete or partial upper airway obstruction due to the collapse of the pharynx during sleep. At present, the main basis for the diagnosis of obstructive sleep apnea is polysomnography (PSG). During the PSG examination, the subject must go to the sleep laboratory or sleep center to sleep for one night. Under the supervision of the nursing staff, stick electrode patches on the head, corners of the eyes, chin, heart, and legs, and place them on the chest. Wear a sensor belt on your abdomen, put a blood oxygen meter on your fingers, put a breathing sensor on your nose and mouth, and put a sphygmomanometer on your arm to record your sleep physiological data throughout the night. However, not all patients have time to spend the night in a sleep laboratory or sleep center, and patients with OSA symptoms do not suffer from apnea events every night. Therefore, even if the patient goes to the sleep laboratory or sleep center overnight to measure the sleep physiology data, the sleep physiology data measured that night may not help the doctor to diagnose the patient’s OSA symptoms. Based on this, how to propose a simplified and convenient method for diagnosing sleep disorders is one of the goals of those skilled in the art.
本揭露提供一種OSA症狀的偵測裝置和偵測方法,可診斷受試者是否罹患OSA症狀。The present disclosure provides an OSA symptom detection device and detection method, which can diagnose whether a subject suffers from OSA symptoms.
本揭露的阻塞性睡眠呼吸暫停症狀的偵測裝置,包括處理器、儲存媒體以及收發器。收發器取得第一心電圖,其中第一心電圖包括對應於非阻塞性睡眠呼吸暫停症狀的第一資料集合以及對應於阻塞性睡眠呼吸暫停症狀的第二資料集合。儲存媒體儲存多個模組。處理器耦接儲存媒體和收發器,並且存取和執行多個模組,其中多個模組包括訓練模組和偵測模組。訓練模組將第一資料集合以及第二資料集合作為訓練資料以訓練機器學習模型。偵測模組通過收發器取得受試者的第二心電圖,並且根據機器學習模型以及第二心電圖判斷受試者是否罹患阻塞性睡眠呼吸暫停症狀。The device for detecting obstructive sleep apnea symptoms disclosed in the present disclosure includes a processor, a storage medium, and a transceiver. The transceiver obtains a first electrocardiogram, where the first electrocardiogram includes a first data set corresponding to symptoms of non-obstructive sleep apnea and a second data set corresponding to symptoms of obstructive sleep apnea. The storage medium stores multiple modules. The processor is coupled to the storage medium and the transceiver, and accesses and executes a plurality of modules, wherein the plurality of modules include a training module and a detection module. The training module uses the first data set and the second data set as training data to train the machine learning model. The detection module obtains the subject's second electrocardiogram through the transceiver, and determines whether the subject suffers from obstructive sleep apnea symptoms according to the machine learning model and the second electrocardiogram.
在本揭露的一實施例中,上述的第一心電圖以及第二心電圖對應於非呼吸暫停事件。In an embodiment of the present disclosure, the above-mentioned first electrocardiogram and second electrocardiogram correspond to non-apnea events.
在本揭露的一實施例中,上述的機器學習模型為卷積神經網路模型。In an embodiment of the present disclosure, the above-mentioned machine learning model is a convolutional neural network model.
在本揭露的一實施例中,上述的訓練模組根據第一心電圖產生對應的心源性呼吸訊號,根據第一心電圖測量多個RR間隔,根據多個RR間隔以及心源性呼吸訊號的至少其中之一產生第二訓練資料,並且根據第二訓練資料訓練支援向量機模型。In an embodiment of the present disclosure, the above-mentioned training module generates a corresponding cardiogenic breathing signal according to the first electrocardiogram, measures a plurality of RR intervals according to the first electrocardiogram, and according to at least the plurality of RR intervals and the cardiogenic respiratory signal One of them generates second training data, and trains the support vector machine model based on the second training data.
在本揭露的一實施例中,上述的偵測模組根據支援向量機模型、機器學習模型以及第二心電圖判斷受試者是否罹患阻塞性睡眠呼吸暫停症狀。In an embodiment of the present disclosure, the aforementioned detection module determines whether the subject suffers from obstructive sleep apnea symptoms based on the support vector machine model, the machine learning model, and the second electrocardiogram.
在本揭露的一實施例中,上述的訓練模組從多個RR間隔或心源性呼吸訊號萃取多個特徵,並且根據多個特徵產生第二訓練資料。In an embodiment of the present disclosure, the aforementioned training module extracts multiple features from multiple RR intervals or cardiogenic breathing signals, and generates second training data based on the multiple features.
在本揭露的一實施例中,上述的多個特徵關聯於下列的至少其中之一:RR間隔平均值、RR間隔的第二或第三序列相關係數、RR間隔對的數量,其中RR間隔對包括相鄰的兩個RR間隔,且兩個RR間隔之間的時間間隔超過50毫秒、相鄰的兩個RR間隔的標準差、RR間隔的正規化的極低頻範圍功率、心源性呼吸訊號的正規化的極低頻範圍功率、心源性呼吸訊號的正規化的低頻範圍功率以及心源性呼吸訊號的正規化的高頻範圍功率。In an embodiment of the present disclosure, the above-mentioned multiple features are associated with at least one of the following: the average value of the RR interval, the correlation coefficient of the second or third sequence of the RR interval, the number of RR interval pairs, wherein Including two adjacent RR intervals, and the time interval between the two RR intervals exceeds 50 milliseconds, the standard deviation of the two adjacent RR intervals, the normalized extremely low frequency range power of the RR interval, and the cardiogenic respiratory signal The normalized very low frequency range power of the normalized low frequency range power of the cardiogenic respiratory signal, and the normalized high frequency range power of the cardiogenic respiratory signal.
在本揭露的一實施例中,上述的偵測模組響應於判斷受試者罹患阻塞性睡眠呼吸暫停症狀而通過收發器發出警示。In an embodiment of the present disclosure, the above-mentioned detection module sends a warning through the transceiver in response to determining that the subject is suffering from obstructive sleep apnea symptoms.
本揭露的阻塞性睡眠呼吸暫停症狀的偵測方法,包括:取得第一心電圖,其中第一心電圖包括對應於非阻塞性睡眠呼吸暫停症狀的第一資料集合以及對應於阻塞性睡眠呼吸暫停症狀的第二資料集合;將第一資料集合以及第二資料集合作為訓練資料以訓練機器學習模型;取得受試者的第二心電圖;以及根據機器學習模型以及第二心電圖判斷受試者是否罹患阻塞性睡眠呼吸暫停症狀。The method for detecting obstructive sleep apnea symptoms disclosed in the present disclosure includes: obtaining a first electrocardiogram, wherein the first electrocardiogram includes a first data set corresponding to non-obstructive sleep apnea symptoms and a first data set corresponding to obstructive sleep apnea symptoms The second data set; use the first data set and the second data set as training data to train the machine learning model; obtain the subject's second electrocardiogram; and determine whether the subject suffers from obstruction based on the machine learning model and the second electrocardiogram Symptoms of sleep apnea.
基於上述,可利用受試者在正常狀況下(即:未發生非呼吸暫停事件)的心電圖來診斷受試者是否罹患OSA症狀。Based on the above, the ECG of the subject under normal conditions (ie, no non-apnea events) can be used to diagnose whether the subject suffers from OSA symptoms.
為了使本揭露之內容可以被更容易明瞭,以下特舉實施例作為本揭露確實能夠據以實施的範例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟,係代表相同或類似部件。In order to make the content of this disclosure more comprehensible, the following embodiments are specifically cited as examples on which this disclosure can indeed be implemented. In addition, wherever possible, elements/components/steps with the same reference numbers in the drawings and embodiments represent the same or similar components.
圖1根據本揭露的實施例繪示OSA症狀的偵測裝置100的示意圖。偵測裝置100包括處理器110、儲存媒體120以及收發器130。FIG. 1 shows a schematic diagram of an OSA
處理器110例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微控制單元(micro control unit,MCU)、微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)、圖形處理器(graphics processing unit,GPU)、算數邏輯單元(arithmetic logic unit,ALU)、複雜可程式邏輯裝置(complex programmable logic device,CPLD)、現場可程式化邏輯閘陣列(field programmable gate array,FPGA)或其他類似元件或上述元件的組合。處理器110可耦接至儲存媒體120以及收發器130,並且存取和執行儲存於儲存媒體120中的多個模組和各種應用程式。The
儲存媒體120例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器110執行的多個模組或各種應用程式。在本實施例中,儲存媒體120可儲存包括訓練模組121以及偵測模組122等多個模組,其功能將於後續說明。The
收發器130以無線或有線的方式傳送及接收訊號。收發器130還可以執行例如低噪聲放大、阻抗匹配、混頻、向上或向下頻率轉換、濾波、放大以及類似的操作。收發器130可用以接收作為訓練資料的第一心電圖或接收測量自受試者的第二心電圖。舉例來說,收發器130可通訊連接至黏貼於受試者身上的電極,其中所述電極可感測受試者的心跳以產生受試者的第二心電圖。舉例來說,收發器130可通過例如全球行動通信(global System for mobile communication,GSM)、個人手持式電話系統(personal handy-phone system,PHS)、碼多重擷取(code division multiple access,CDMA)系統、寬頻碼分多址(wideband code division multiple access,WCDMA)系統、長期演進(long term evolution,LTE)系統、全球互通微波存取(worldwide interoperability for microwave access,WiMAX)系統、無線保真(wireless fidelity,Wi-Fi)系統或藍牙(Bluetooth)等通訊技術接收作為訓練資料的第一心電圖,或接收由黏貼在受試者胸部的電極所測量到的第二心電圖。The
作為訓練資料的第一心電圖可包括對應於非OSA症狀的第一資料集合以及對應於OSA症狀的第二資料集合,其中第一資料集合例如是測量自未罹患OSA症狀之人員在正常狀況(即:該名人員未發生呼吸暫停事件)下的心跳而產生的心電圖,並且第二資料集合例如是測量自重度OSA症狀患者在正常狀況(即:該名患者未發生呼吸暫停事件)下的心跳而產生的心電圖。在本實施例中,第一資料集合可包括對應於非OSA症狀的多個一分鐘長度的心電圖,且每一個心電圖測量的期間並未發生呼吸暫停事件。第二資料集合可包括對應於OSA症狀的多個一分鐘長度的心電圖,且每一個心電圖測量的期間並未發生呼吸暫停事件。The first electrocardiogram as training data may include a first data set corresponding to non-OSA symptoms and a second data set corresponding to OSA symptoms. : The electrocardiogram generated by the person’s heartbeat under no apnea event), and the second data set is, for example, measuring the heartbeat of a patient with severe OSA symptoms under normal conditions (ie: the patient has not had an apnea event). The generated electrocardiogram. In this embodiment, the first data set may include a plurality of one-minute electrocardiograms corresponding to non-OSA symptoms, and no apnea event occurs during each electrocardiogram measurement period. The second data set may include a plurality of one-minute electrocardiograms corresponding to OSA symptoms, and no apnea event occurred during each electrocardiogram measurement period.
訓練模組121可將第一資料集合和第二資料集合作為訓練資料以訓練機器學習模型,其中訓練好的機器學習模型可用以根據測量自受試者的第二心電圖判斷受試者是否罹患OSA症狀。值得注意的是,本實施例的訓練資料可以是未經小波轉換過的時域訊號,而非經小波轉換過的時頻訊號。由於時域訊號的維度較時頻訊號的維度為低,故使用時域訊號而非時頻訊號來訓練機器學習模型的訓練模組121將花費較少的運算力。The
在一實施例中,作為訓練資料的第一心電圖更包括代表受到雜訊干擾之心電圖的第三資料集合。訓練模組121可將第一資料集合、第二資料集合和第三資料集合作為訓練資料以訓練機器學習模型。由第一資料集合、第二資料集合和第三資料集合所訓練出的機器學習模型不僅能根據測量自受試者的第二心電圖判斷受試者是否罹患OSA症狀,還能根據第二心電圖判斷由收發器130所接收的第二心電圖的資料可能受到雜訊干擾。因此,運算模組122在判斷受試者的OSA症狀的嚴重程度時,可先過濾掉受到雜訊干擾的資料。In one embodiment, the first electrocardiogram as training data further includes a third data set representing the electrocardiogram interfered by noise. The
在訓練完機器學習模型後,偵測模組122可根據機器學習模型以及測量自受試者的第二心電圖判斷受試者是否罹患OSA症狀。After training the machine learning model, the
在一實施例中,若偵測模組122判斷受試者罹患OSA症狀,則偵測模組122可通過收發器130發出警示以提示受試者其已罹患OSA症狀。舉例來說,偵測模組122可在判斷了受試者罹患OSA症狀後,通過收發器130傳送警示訊息至受試者的行動裝置。In one embodiment, if the
上述的機器學習模型例如是卷積神經網路(convolutional neural network,CNN)模型。卷積神經網路與傳統的多層感知網路最大的差異在於卷積神經網路多了卷積層與池化層,這兩層讓卷積神經網路具有能力可以萃取出輸入訊號的特徵。卷積層的設計具有多項特色。第一個特色是局部感知。在傳統神經網路中每個神經元都要與每個取樣點互相連接,因此需要大量的權重,使得訓練網路時的困難度極高。而在卷積神經網路中,每個神經元的權重數量都與卷積核的尺寸相同,因此相當於每個神經元只與對應的部分取樣點互相連接,因而能大幅地減少權重的數量。比較少的權重數量可以降低過度擬合(overfitting)的風險。第二個特色是權重共享機制。卷積神經網路是通過反向傳播誤差算法來訓練並更新最佳的卷積核權重,但是在卷積的過程中,卷積核的權重並不會改變。第三個特色是多卷積核。如果只使用一個卷積核則只能萃取訊號的部份特徵。如果使用多個卷積核則可以萃取輸入訊號的多個特徵。卷積層的數量越多,卷積神經網路所能萃取的特徵越多。The above-mentioned machine learning model is, for example, a convolutional neural network (CNN) model. The biggest difference between convolutional neural networks and traditional multi-layer perception networks is that convolutional neural networks have more convolutional layers and pooling layers. These two layers allow convolutional neural networks to extract the characteristics of the input signal. The design of the convolutional layer has many characteristics. The first feature is local perception. In traditional neural networks, each neuron must be connected to each sampling point, so a large number of weights are required, which makes it extremely difficult to train the network. In a convolutional neural network, the number of weights of each neuron is the same as the size of the convolution kernel, so it is equivalent to that each neuron is only connected to the corresponding part of the sampling points, which can greatly reduce the number of weights. . A smaller number of weights can reduce the risk of overfitting. The second feature is the weight sharing mechanism. The convolutional neural network trains and updates the best convolution kernel weight through the back propagation error algorithm, but during the convolution process, the weight of the convolution kernel does not change. The third feature is multiple convolution kernels. If only one convolution kernel is used, only partial features of the signal can be extracted. If multiple convolution kernels are used, multiple features of the input signal can be extracted. The more the number of convolutional layers, the more features the convolutional neural network can extract.
在輸入訊號經過由卷積層和激活函數進行的非線性轉換後,可產生特徵圖(feature map)。激活函數最重要的功能在於引入神經網路的非線性,因為如果沒有加入激活函數,卷積層與全連接層只是單純的線性運算,對於線性不可分的問題仍然是無解。After the input signal undergoes nonlinear conversion by the convolutional layer and activation function, a feature map can be generated. The most important function of the activation function is to introduce the nonlinearity of the neural network, because if the activation function is not added, the convolutional layer and the fully connected layer are just simple linear operations, and there is still no solution to the linear inseparable problem.
為了減少經卷積運算萃取出的特徵的維度並提高學習過程的速度,卷積層之後會接著一個池化層。池化層是一個壓縮特徵圖並保留重要資訊的方法。池化層採用的取樣方法可包括最大池化法(max pooling)或平均池化法(mean pooling)。最大池化法是選擇池化視窗中的最大值作為取樣值。平均池化法是將池化視窗中的所有值相加後取平均以作為取樣值。池化之後的特徵圖還是保留局部範圍比對的最大可能性。換言之,池化後的資訊更可以專注於特徵圖中是否存在相符的特徵,而不是專注於這些特徵所在的位置。因此,相較於傳統的神經網路,卷積神經網路更可以判斷出特徵圖中是否包含某項特徵,而不需考量到特徵所在的位置。因此,就算輸入訊號的特徵發生偏移,卷積神經網路也可辨識出該特徵。在池化層之後,全連接層會將前面經過多次卷積與池化後高度抽象化的特徵進行整合。然後再由輸出層對各種分類都輸出一個相對應的機率,其中所有分類的機率總和為1。In order to reduce the dimensionality of the features extracted by the convolution operation and increase the speed of the learning process, a pooling layer is followed by the convolution layer. The pooling layer is a method of compressing feature maps and retaining important information. The sampling method adopted by the pooling layer may include max pooling or mean pooling. The maximum pooling method is to select the maximum value in the pooling window as the sampling value. The average pooling method is to add all the values in the pooling window and average them as the sampling value. The feature map after pooling still retains the greatest possibility of local area comparison. In other words, the pooled information can be more focused on whether there are matching features in the feature map instead of focusing on the location of these features. Therefore, compared with the traditional neural network, the convolutional neural network can determine whether a feature is included in the feature map without considering the location of the feature. Therefore, even if the feature of the input signal is shifted, the convolutional neural network can recognize the feature. After the pooling layer, the fully connected layer integrates the highly abstracted features after multiple convolutions and pooling. Then the output layer outputs a corresponding probability for each classification, where the sum of the probability of all classifications is 1.
圖2根據本揭露的實施例繪示卷積神經網路模型200的示意圖,其中卷積神經網路模型200是由訓練模組121所訓練出的機器學習模型中的一種態樣。卷積神經網路模型200可包括輸入層220、卷積層231、池化層232、卷積層241、池化層242、全連接層251、全連接層252以及輸出層260。如圖2所示的卷積神經網路模型200的輸入資料210例如是測量自受試者的第二心電圖,並且卷積神經網路模型200的輸出資料270代表是否罹患OSA症狀的判斷結果。FIG. 2 illustrates a schematic diagram of a convolutional neural network model 200 according to an embodiment of the disclosure, where the convolutional neural network model 200 is one aspect of the machine learning model trained by the
在本實施例中,輸入資料210為1分鐘的第二心電圖,並且輸入資料210包括在100Hz取樣頻率下取樣出的6,000個取樣點。卷積層231包括128個尺寸為
的卷積核。經過卷積層231的輸入資料210會轉變為128個尺寸為
的特徵圖。接著,池化層232使用尺寸為
的滑動視窗對卷積層231輸出的特徵圖進行取樣以產生128個尺寸為
的特徵圖。卷積層241包括64個尺寸16
的卷積核。卷積層241進一步地對池化層232輸出的特徵圖進行卷積運算以產生64個尺寸為
的特徵圖。接著,池化層242使用尺寸為
的滑動視窗對卷積層241輸出的特徵圖進行取樣以產生64個尺寸為
的特徵圖。而後,池化層242輸出的特徵圖依序地輸入至具有128個神經元的全連接層251以及具有64個神經元的全連接層252。輸出層260可根據Softmax激活函數來計算全連接層252的輸出的對應於罹患OSA症狀的第一機率以及對應於未罹患OSA症狀的第二機率。若第一機率大於第二機率,則偵測模組122可判斷輸入資料210對應於罹患OSA症狀的患者。反之,若第一機率小於或等於第二機率,則偵測模組122可判斷輸入資料210對應未罹患OSA症狀的人員。
In this embodiment, the
值得注意的是,輸出層260所使用的激活函數可例如是softmax函數、sigmoid函數、hyperbolic tangent函數或線性整流單元(rectified linear unit,ReLU)函數,本揭露不限於此。It is worth noting that the activation function used by the
在一實施例中,訓練模組121更可產生支援向量機(support vector machine,SVM)模型。偵測模組122可根據支援向量機模型、機器學習模型以及測量自受試者的第二心電圖判斷受試者是否罹患OSA症狀。舉例來說,若支援向量機模型以及機器學習模型的至少其中之一判斷受試者罹患OSA症狀,則偵測模組122可響應於支援向量機模型以及機器學習模型的至少其中之一判斷受試者罹患OSA症狀而輸出代表受試者罹患OSA症狀的判斷結果。In an embodiment, the
訓練模組121可根據第一心電圖訓練出前述的支援向量機模型。訓練模組121可根據作為訓練資料的第一心電圖產生對應的心源性呼吸(ECG-derived respiration,EDR)訊號。另一方面,訓練模組121可根據第一心電圖測量多個RR間隔。接著,訓練模組121可根據心源性呼吸訊號以及所述多個RR間隔的至少其中之一產生用以訓練支援向量機模型的第二訓練資料,並接著根據第二訓練資料來訓練前述的支援向量機模型。具體來說,訓練模組121可從心源性呼吸訊號或多個RR間隔萃取多個特徵,並且根據該些特徵產生第二訓練資料。所述多個特徵例如關聯於RR間隔平均值、RR間隔的第二或第三序列相關係數、RR間隔對的數量(RR間隔對包括相鄰的兩個RR間隔,且兩個RR間隔之間的時間間隔超過50毫秒)、相鄰的兩個RR間隔的標準差、RR間隔的正規化的極低頻範圍功率(very low frequency power,VLFP)、心源性呼吸訊號的正規化的極低頻範圍功率、心源性呼吸訊號的正規化的低頻範圍功率(low frequency power,LFP)或心源性呼吸訊號的正規化的高頻範圍功率(high frequency power,HFP),但本揭露不限於此。VLFP大約介於0.003-0.04Hz之間。上述的LFP大約介於0.04-0.15Hz之間並且HFP大約介於0.15-0.4Hz之間。The
圖3根據本揭露的實施例繪示OSA症狀的偵測方法的流程圖,其中所述偵測方法例如是由如圖1所示的偵測裝置100實施。在步驟S301中,取得第一心電圖,其中第一心電圖包括對應於非阻塞性睡眠呼吸暫停症狀的第一資料集合以及對應於阻塞性睡眠呼吸暫停症狀的第二資料集合。在步驟S302中,將第一資料集合以及第二資料集合作為訓練資料以訓練機器學習模型。在步驟S303中,取得受試者的第二心電圖。在步驟S304中,根據機器學習模型以及第二心電圖判斷受試者是否罹患阻塞性睡眠呼吸暫停症狀。FIG. 3 illustrates a flowchart of a method for detecting OSA symptoms according to an embodiment of the present disclosure, wherein the detecting method is implemented by, for example, the detecting
綜上所述,本揭露可將正常狀況(即:未發生呼吸暫停事件)下的非OSA症狀患者以及和OSA症狀患者的心電圖作為訓練資料以訓練機器學習模型。訓練好的機器學習模型可在受試者處於正常狀況下判斷出受試者是否罹患OSA症狀。換句話說,即使罹患OSA症狀的受試者未發生呼吸暫停事件,本揭露仍能根據該受試者的心電圖準確地預測該受試者罹患了OSA症狀,並進一步地提示該受試者前往醫院檢查。如此,則受試者的OSA症狀可被及早發現及治療。In summary, the present disclosure can use ECGs of patients with non-OSA symptoms and patients with OSA symptoms under normal conditions (ie, no apnea events) as training data to train machine learning models. The trained machine learning model can determine whether the subject suffers from OSA symptoms under normal conditions. In other words, even if the subject suffering from OSA symptoms does not have an apnea event, the present disclosure can still accurately predict that the subject has OSA symptoms based on the subject’s electrocardiogram, and further prompt the subject to go to Hospital inspection. In this way, the OSA symptoms of the subject can be detected and treated early.
100:偵測裝置
110:處理器
120:儲存媒體
121:訓練模組
122:偵測模組
130:收發器
210:輸入資料
220:輸入層
231、241:卷積層
232、242:池化層
251、252:全連接層
260:輸出層
270:輸出資料
S301、S302、S303、S304:步驟
100: Detection device
110: Processor
120: storage media
121: Training Module
122: Detection module
130: Transceiver
210: Input data
220:
圖1根據本揭露的實施例繪示OSA症狀的偵測裝置的示意圖。 圖2根據本揭露的實施例繪示卷積神經網路模型的示意圖。 圖3根據本揭露的實施例繪示OSA症狀的偵測方法的流程圖。 FIG. 1 illustrates a schematic diagram of an OSA symptom detection device according to an embodiment of the disclosure. FIG. 2 illustrates a schematic diagram of a convolutional neural network model according to an embodiment of the disclosure. FIG. 3 illustrates a flowchart of a method for detecting OSA symptoms according to an embodiment of the disclosure.
100:偵測裝置 110:處理器 120:儲存媒體 121:訓練模組 122:偵測模組 130:收發器 100: Detection device 110: Processor 120: storage media 121: Training Module 122: Detection module 130: Transceiver
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108140966A TWI733247B (en) | 2019-11-12 | 2019-11-12 | Detection device and detection method for obstructive sleep apnea |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108140966A TWI733247B (en) | 2019-11-12 | 2019-11-12 | Detection device and detection method for obstructive sleep apnea |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202119402A TW202119402A (en) | 2021-05-16 |
| TWI733247B true TWI733247B (en) | 2021-07-11 |
Family
ID=77020841
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW108140966A TWI733247B (en) | 2019-11-12 | 2019-11-12 | Detection device and detection method for obstructive sleep apnea |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI733247B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI819436B (en) * | 2021-12-15 | 2023-10-21 | 緯創資通股份有限公司 | Prediction-model-constructing method, state prediction method and devices thereof |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150066533A1 (en) * | 2001-02-06 | 2015-03-05 | Lawrence A. Lynn | Method for automatically detecting sepsis and displaying dynamic sepsis images in a hospital system |
| CN105228508A (en) * | 2013-03-08 | 2016-01-06 | 新加坡健康服务有限公司 | A kind of system and method measured for the risk score of classifying |
| TW201622641A (en) * | 2014-12-22 | 2016-07-01 | 財團法人工業技術研究院 | Method and system for detecting sleep event |
| TW201820106A (en) * | 2016-10-25 | 2018-06-01 | 加拿大商一號工作室控股有限公司 | Flexible conductive apparatus and systems for detecting pressure |
| TWM590434U (en) * | 2019-11-12 | 2020-02-11 | 國立勤益科技大學 | Detection device for obstructive sleep apnea |
-
2019
- 2019-11-12 TW TW108140966A patent/TWI733247B/en not_active IP Right Cessation
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150066533A1 (en) * | 2001-02-06 | 2015-03-05 | Lawrence A. Lynn | Method for automatically detecting sepsis and displaying dynamic sepsis images in a hospital system |
| CN105228508A (en) * | 2013-03-08 | 2016-01-06 | 新加坡健康服务有限公司 | A kind of system and method measured for the risk score of classifying |
| TW201622641A (en) * | 2014-12-22 | 2016-07-01 | 財團法人工業技術研究院 | Method and system for detecting sleep event |
| TW201820106A (en) * | 2016-10-25 | 2018-06-01 | 加拿大商一號工作室控股有限公司 | Flexible conductive apparatus and systems for detecting pressure |
| TWM590434U (en) * | 2019-11-12 | 2020-02-11 | 國立勤益科技大學 | Detection device for obstructive sleep apnea |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202119402A (en) | 2021-05-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190076098A1 (en) | Artificial Neural Network Based Sleep Disordered Breathing Screening Tool | |
| Gutiérrez-Tobal et al. | Pattern recognition in airflow recordings to assist in the sleep apnoea–hypopnoea syndrome diagnosis | |
| US20220175324A1 (en) | Computer-based prediction of fetal and maternal outcomes | |
| TWM593240U (en) | Detection device for apnea based on unipolar ecg | |
| CN106714682A (en) | Apparatus, system, method and computer program for assessing the risk of an exacerbation and/or hospitalization | |
| CN115802931A (en) | Detecting temperature of a user and assessing physiological symptoms of a respiratory condition | |
| CN113520343A (en) | Sleep risk prediction method and device and terminal equipment | |
| Rahman et al. | Automated assessment of pulmonary patients using heart rate variability from everyday wearables | |
| CN111508607A (en) | Obesity prediction system based on BP neural network | |
| TWM590434U (en) | Detection device for obstructive sleep apnea | |
| TWI733247B (en) | Detection device and detection method for obstructive sleep apnea | |
| KR102852926B1 (en) | Device, method and computer program for scoring sleep quality | |
| TWI773385B (en) | Monitoring system and monitoring method for sleep apnea | |
| TWI766471B (en) | System capable of detecting sleep breathing intensity based on wavelet transformation and spectral intensity | |
| Wu et al. | Improving the diagnostic ability of the sleep apnea screening system based on oximetry by using physical activity data | |
| KR102340670B1 (en) | Deep learning-based psychophysiological test system and method | |
| TWI748281B (en) | Detection method for apnea based on unipolar ecg | |
| TWM593242U (en) | Detection device for apnea based on chest respiratory signal | |
| JP7521836B2 (en) | Apparatus, method and computer program for scoring sleep quality | |
| TWI750531B (en) | Detection device and detection method for apnea based on chest respiratory signal | |
| TWI815546B (en) | Establishing method of sleep apnea assessment program, sleep apnea assessment system, and sleep apnea assessment method | |
| CN115153426A (en) | Monitoring system and monitoring method for sleep apnea | |
| US20250176839A1 (en) | Heart Failure Diagnostic Tools and Methods Using Signal Trace Analysis | |
| TWI772086B (en) | A method of monitoring apnea and hypopnea events by using fully convolutional networks | |
| TW202302032A (en) | A method of monitoring apnea and hypopnea events based on the classification of the descent rate of heartbeat intervals |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |