TWI827419B - Method for detecting blood oxygen saturation, equipment, electronic device and storage medium - Google Patents

Method for detecting blood oxygen saturation, equipment, electronic device and storage medium Download PDF

Info

Publication number
TWI827419B
TWI827419B TW111149829A TW111149829A TWI827419B TW I827419 B TWI827419 B TW I827419B TW 111149829 A TW111149829 A TW 111149829A TW 111149829 A TW111149829 A TW 111149829A TW I827419 B TWI827419 B TW I827419B
Authority
TW
Taiwan
Prior art keywords
channel
blood oxygen
oxygen saturation
ppg
signal quality
Prior art date
Application number
TW111149829A
Other languages
Chinese (zh)
Inventor
雷宇
黃志斌
劉秉昊
Original Assignee
鴻海精密工業股份有限公司
疆域醫創科技有限公司
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
Priority claimed from CN202211436912.4A external-priority patent/CN118044807A/en
Application filed by 鴻海精密工業股份有限公司, 疆域醫創科技有限公司 filed Critical 鴻海精密工業股份有限公司
Application granted granted Critical
Publication of TWI827419B publication Critical patent/TWI827419B/en

Links

Images

Abstract

A method for detecting a blood oxygen saturation includes: obtaining PPG signals of a plurality of channels; determining a signal quality of each of the plurality of channels based on the PPG signals of the plurality of channels; selecting object PPG signals matched a preset signal quality standard from the PPG signals of the plurality of channels based on the signal quality of each of the plurality of channels; detecting the blood oxygen saturation based on the object PPG signals. An equipment for detecting blood oxygen saturation, an electronic device and a storage medium are also provided.

Description

血氧飽和度檢測方法、裝置、電子設備和存儲介質 Blood oxygen saturation detection method, device, electronic equipment and storage medium

本申請涉及醫療設備領域,尤其涉及一種血氧飽和度檢測方法、裝置、電子設備和電腦可讀存儲介質。 The present application relates to the field of medical equipment, and in particular to a blood oxygen saturation detection method, device, electronic equipment and computer-readable storage medium.

血氧飽和度(Oxygen saturation,SpO2),可簡稱為血氧,指的是血液中實際結合氧氣的血紅蛋白量佔血液中血紅蛋白總量的百分比。 Oxygen saturation (SpO2), which can be referred to as blood oxygen for short, refers to the percentage of the actual amount of hemoglobin combined with oxygen in the blood to the total amount of hemoglobin in the blood.

目前可藉由多通道的電子設備,如多通道的智慧穿戴設備等進行血氧測量。然,由於每個通道測量的信號存在差異,導致血氧飽和度的測量成功率不高,測量準確性較差。 Currently, blood oxygen measurement can be carried out through multi-channel electronic devices, such as multi-channel smart wearable devices. However, due to differences in the signals measured by each channel, the success rate of blood oxygen saturation measurement is not high and the measurement accuracy is poor.

鑒於上述,本申請提供一種血氧飽和度檢測方法、裝置、電子設備和電腦可讀存儲介質,其可結合各通道採集的信號品質以提高血氧飽和度測量的成功率和準確率。 In view of the above, this application provides a blood oxygen saturation detection method, device, electronic equipment and computer-readable storage medium, which can combine the signal quality collected by each channel to improve the success rate and accuracy of blood oxygen saturation measurement.

本申請一實施方式提供一種血氧飽和度檢測方法,應用於電子設備,所述電子設備包括用於檢測血氧飽和度的多個通道,所述血氧飽和度檢測方法包括:獲取所述多個通道中的每個通道的光電容積脈搏波 (Photoplethysmography,PPG)信號基於所述每個通道的PPG信號,確定所述每個通道的信號品質;基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號;根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度。 An embodiment of the present application provides a blood oxygen saturation detection method, which is applied to electronic equipment. The electronic equipment includes multiple channels for detecting blood oxygen saturation. The blood oxygen saturation detection method includes: obtaining the multiple channels. Photoplethysmogram for each of the channels (Photoplethysmography, PPG) signal is based on the PPG signal of each channel, and the signal quality of each channel is determined; based on the signal quality of each channel, the PPG signals of the multiple channels are selected to meet the preset PPG signal of signal quality standard; detect blood oxygen saturation based on PPG signal that meets the preset signal quality standard.

本申請實施例測量各通道的信號品質,藉由滿足信號品質標準的PPG信號對應的通道進行血氧飽和度計算,避免因通道的信號品質低導致的血氧飽和度計算不成功或者準確率低的情況。 The embodiment of the present application measures the signal quality of each channel and performs blood oxygen saturation calculation on the channel corresponding to the PPG signal that meets the signal quality standard to avoid unsuccessful blood oxygen saturation calculation or low accuracy due to low signal quality of the channel. situation.

在一些實施例中,每個通道均包括檢測光源,所述檢測光源包括:紅光光源和綠光光源,每個PPG信號包括:紅光資料和綠光資料,所述基於所述每個通道的PPG信號,確定每個通道的信號品質,包括:計算所述每個通道中PPG信號的紅光資料和綠光資料的相關係數;根據所述相關係數,確定所述每個通道的信號品質。 In some embodiments, each channel includes a detection light source, the detection light source includes: a red light source and a green light source, and each PPG signal includes: red light data and green light data, based on each channel The PPG signal determines the signal quality of each channel, including: calculating the correlation coefficient of the red light data and green light data of the PPG signal in each channel; determining the signal quality of each channel according to the correlation coefficient .

採用該技術方案將相關係數作為評估信號品質的依據,能夠進一步提高血氧飽和度的測量成功率和準確性。 Using this technical solution to use the correlation coefficient as a basis for evaluating signal quality can further improve the success rate and accuracy of blood oxygen saturation measurement.

在一些實施例中,每個通道還包括光電轉換器件,所述每個通道的檢測光源和所述光電轉換器件的間距不同。 In some embodiments, each channel further includes a photoelectric conversion device, and the distance between the detection light source and the photoelectric conversion device of each channel is different.

本申請實施例中檢測光源和光電轉換器件間距不同,便於探測到不同深度的PPG信號。 In the embodiment of the present application, the distance between the detection light source and the photoelectric conversion device is different, which facilitates the detection of PPG signals at different depths.

在一些實施例中,基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號,包括:若當前通道對應的相關係數在預設的相關係數範圍內,則判定所述當前通道的PPG信號為滿足所述預設信號品質標準的PPG信號。 In some embodiments, based on the signal quality of each channel, screening PPG signals that meet a preset signal quality standard from the PPG signals of the multiple channels includes: if the correlation coefficient corresponding to the current channel is within the preset If the correlation coefficient is within the range of the correlation coefficient, it is determined that the PPG signal of the current channel is a PPG signal that meets the preset signal quality standard.

相關係數在預設範圍內,能在保證血氧飽和度的測量成功率的情況下,儘量保證血氧飽和度的測量準確性。 The correlation coefficient is within the preset range, which can ensure the accuracy of blood oxygen saturation measurement while ensuring the success rate of blood oxygen saturation measurement.

在一些實施例中,根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度,包括:在滿足所述預設信號品質標準的PPG信號所處的通道中,確定相關係數最大的目標通道;根據所述目標通道的PPG信號檢測血氧飽和度。 In some embodiments, detecting blood oxygen saturation based on the PPG signal that meets the preset signal quality standard includes: determining the target with the largest correlation coefficient in the channel where the PPG signal that meets the preset signal quality standard is located. Channel; detect blood oxygen saturation based on the PPG signal of the target channel.

相關係數越大,血氧飽和度的準確率越高,因此,該技術方案能夠進一步提高血氧飽和度的測量準確率。 The larger the correlation coefficient, the higher the accuracy of blood oxygen saturation. Therefore, this technical solution can further improve the accuracy of blood oxygen saturation measurement.

在一些實施例中,血氧飽和度檢測方法還包括:若不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號。 In some embodiments, the blood oxygen saturation detection method further includes: if there is no PPG signal that meets the preset signal quality standard, reacquiring the PPG signal of each channel until a PPG signal that meets the preset signal quality standard is obtained. Signal quality standard PPG signal.

採用該技術方案,在各通道的PPG信號均不滿足預設信號標準時,重新獲取PPG信號進行計算,從而進一步提高血氧飽和度測量的成功率。 Using this technical solution, when the PPG signals of each channel do not meet the preset signal standards, the PPG signals are reacquired for calculation, thereby further improving the success rate of blood oxygen saturation measurement.

在一些實施例中,若不存在滿足預設信號品質標準的PPG信號,則重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號,包括:若未超過預設的血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述各通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號;若超過所述血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則輸出用於指示使用者調整所述電子設備的位置的提示資訊。 In some embodiments, if there is no PPG signal that meets the preset signal quality standard, the PPG signal of each channel is reacquired until a PPG signal that meets the preset signal quality standard is obtained, including: if not If the preset blood oxygen saturation detection time is exceeded and there is no PPG signal that meets the preset signal quality standard, the PPG signals of each channel are reacquired until a PPG that meets the preset signal quality standard is obtained. signal; if the blood oxygen saturation detection time exceeds and there is no PPG signal that meets the preset signal quality standard, then output prompt information for instructing the user to adjust the position of the electronic device.

該技術方案藉由設置血氧飽和度檢測時間,若超過該血氧飽和度檢測時間,提示使用者調整電子設備位置,以避免因電子設備位置導致無法測得血氧飽和度的情況。 This technical solution sets the blood oxygen saturation detection time. If the blood oxygen saturation detection time exceeds, the user is prompted to adjust the position of the electronic device to avoid the situation where the blood oxygen saturation cannot be measured due to the position of the electronic device.

本申請一實施方式提供一種血氧飽和度檢測裝置,應用於電子設備,所述電子設備包括用於檢測血氧飽和度的多個通道,所述血氧飽和度檢測裝置包括:獲取模組,用於獲取所述多個通道中的每個通道的PPG信號;確定 模組,用於基於所述每個通道的PPG信號,確定所述每個通道的信號品質;篩選模組,用於基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號;檢測模組,用於根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度。 One embodiment of the present application provides a blood oxygen saturation detection device, which is applied to electronic equipment. The electronic equipment includes multiple channels for detecting blood oxygen saturation. The blood oxygen saturation detection device includes: an acquisition module, Used to obtain the PPG signal of each channel in the plurality of channels; determine A module for determining the signal quality of each channel based on the PPG signal of each channel; a screening module for determining the signal quality of each channel from the PPG signals of the multiple channels based on the signal quality of each channel PPG signals that meet the preset signal quality standards are screened; the detection module is used to detect blood oxygen saturation based on the PPG signals that meet the preset signal quality standards.

本申請一實施方式提供一種電子設備,電子設備包括處理器及記憶體,記憶體用於存儲指令,處理器用於調用記憶體中的指令,使得電子設備執行上述的血氧飽和度檢測方法。 An embodiment of the present application provides an electronic device. The electronic device includes a processor and a memory. The memory is used to store instructions. The processor is used to call instructions in the memory, so that the electronic device executes the above blood oxygen saturation detection method.

本申請一實施方式提供一種電腦可讀存儲介質,其上存儲有電腦指令,當電腦指令在電子設備上運行時,使得電子設備執行上述的血氧飽和度檢測方法。 One embodiment of the present application provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are run on an electronic device, the electronic device executes the above blood oxygen saturation detection method.

上述電子設備及電腦可讀存儲介質均與上述血氧飽和度檢測方法對應,因此,其所能達到的有益效果可參考上文所提供的對應的方法中的有益效果,此處不再贅述。 The above-mentioned electronic devices and computer-readable storage media all correspond to the above-mentioned blood oxygen saturation detection methods. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be described again here.

1011:檢測光源 1011: Detect light source

1012:光電感測器 1012: Photoelectric sensor

101:PPG感測器 101:PPG sensor

201:光電感測器 201: Photoelectric sensor

202:檢測光源 202: Detect light source

203:光電感測器 203: Photoelectric sensor

301、302、303、304:步驟 301, 302, 303, 304: steps

501:獲取模組 501: Get the module

502:確定模組 502: Confirm module

503:篩選模組 503: Screening module

504:檢測模組 504:Detection module

200:電子設備 200:Electronic equipment

20:記憶體 20:Memory

30:處理器 30: Processor

40:電腦程式 40:Computer program

圖1是本申請一實施例中的PPG感測器的一個通道的工作原理的示意圖。 FIG. 1 is a schematic diagram of the working principle of one channel of the PPG sensor in an embodiment of the present application.

圖2是本申請一實施例中檢測光源和光電轉換器件間距設置的示意圖。 Figure 2 is a schematic diagram of the spacing between the detection light source and the photoelectric conversion device in an embodiment of the present application.

圖3是本申請一實施例中血氧飽和度檢測的步驟流程圖。 Figure 3 is a flow chart of steps for detecting blood oxygen saturation in an embodiment of the present application.

圖4是本申請一實施例中某通道的相關係數和血氧誤差的關係示意圖。 Figure 4 is a schematic diagram of the relationship between the correlation coefficient of a certain channel and the blood oxygen error in an embodiment of the present application.

圖5為本申請一實施例中的血氧飽和度檢測裝置的模組示意圖。 Figure 5 is a schematic diagram of a module of a blood oxygen saturation detection device in an embodiment of the present application.

圖6為本申請一實施例中的電子設備示意圖。 Figure 6 is a schematic diagram of an electronic device in an embodiment of the present application.

為了能夠更清楚地理解本申請的上述目的、特徵和優點,下面結合附圖和具體實施方式對本申請進行詳細描述。需要說明的是,在不衝突的情況下,本申請的實施方式及實施方式中的特徵可以相互組合。 In order to more clearly understand the above objects, features and advantages of the present application, the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation modes. It should be noted that, as long as there is no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

在下面的描述中闡述了很多具體細節以便於充分理解本申請,所描述的實施方式僅僅是本申請一部分實施方式,而不是全部的實施方式。 Many specific details are set forth in the following description to facilitate a full understanding of the present application. The described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments.

除非另有定義,本文所使用的所有的技術和科學術語與屬於本申請的技術領域的技術人員通常理解的含義相同。本文中在本申請的說明書中所使用的術語只是為了描述具體的實施方式的目的,不是旨在於限制本申請。 Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing specific embodiments only and is not intended to limit the application.

進一步需要說明的是,在本文中,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者裝置不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者裝置所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括該要素的過程、方法、物品或者裝置中還存在另外的相同要素。 It should be further noted that, as used herein, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or device that includes a list of elements includes not only those elements , but also includes other elements not expressly listed or inherent in such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element.

本申請中“至少一個”是指一個或者多個,“多個”是指兩個或多於兩個。“和/或”,描述關聯物件的關聯關係,表示可以存在三種關係,例如,A和/或B可以表示:單獨存在A,同時存在A和B,單獨存在B的情況,其中A,B可以是單數或者複數。本申請的說明書和請求項書及附圖中的術語“第一”、“第二”、“第三”、“第四”等(如果存在)是用於區別類似的物件,而不是用於描述特定的順序或先後次序。 In this application, “at least one” refers to one or more, and “plurality” refers to two or more than two. "And/or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can Is singular or plural. The terms "first", "second", "third", "fourth", etc. (if present) in the description, claims and drawings of this application are used to distinguish similar objects, rather than to Describe a specific order or sequence.

在本申請實施例中,“示例性的”或者“例如”等詞用於表示作例子、例證或說明。本申請實施例中被描述為“示例性的”或者“例如”的任 何實施例或設計方案不應被解釋為比其它實施例或設計方案更優選或更具優勢。確切而言,使用“示例性的”或者“例如”等詞旨在以具體方式呈現相關概念。 In the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Anything described as “exemplary” or “such as” in the embodiments of this application No embodiment or design should be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.

本申請提供一種血氧飽和度檢測方法,應用於電子設備,電子設備包括用於檢測血氧飽和度的多個通道,血氧飽和度檢測方法包括:獲取多個通道中的每個通道的PPG信號;基於每個通道的PPG信號,確定每個通道的信號品質;基於每個通道的信號品質,從多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號;根據滿足預設信號品質標準的PPG信號檢測血氧飽和度。 This application provides a blood oxygen saturation detection method, which is applied to electronic equipment. The electronic equipment includes multiple channels for detecting blood oxygen saturation. The blood oxygen saturation detection method includes: obtaining the PPG of each channel in the multiple channels. signal; based on the PPG signal of each channel, determine the signal quality of each channel; based on the signal quality of each channel, select PPG signals that meet the preset signal quality standards from the PPG signals of multiple channels; based on the signal that meets the preset signal Quality standard PPG signal detects blood oxygen saturation.

本申請實施例測量各通道的信號品質,藉由滿足信號品質標準的PPG信號對應的通道進行血氧飽和度計算,避免因通道的信號品質低導致的血氧飽和度計算不成功或者準確率低的情況,即,本申請實施例能夠提高血氧飽和度的測量成功率和準確率。 The embodiment of the present application measures the signal quality of each channel and performs blood oxygen saturation calculation on the channel corresponding to the PPG signal that meets the signal quality standard to avoid unsuccessful blood oxygen saturation calculation or low accuracy due to low signal quality of the channel. situation, that is, the embodiments of the present application can improve the success rate and accuracy of measuring blood oxygen saturation.

本申請的血氧飽和度檢測方法可以應用在電子設備中。電子設備可以是一種能夠按照事先設定或存儲的指令,自動進行數值計算和/或資訊處理的設備,其硬體包括但不限於微處理器、專用積體電路(Application Specific Integrated Circuit,ASIC)、可程式設計閘陣列(Field-Programmable Gate Array,FPGA)、數文書處理器(Digital Signal Processor,DSP)、嵌入式設備等。例如,電子設備可以是穿戴式的血氧測量設備,如運動手環、智慧手錶、指環等計算設備。電子設備可以與使用者藉由鍵盤、滑鼠、遙控器、觸控板或聲控設備等方式進行人機交互。 The blood oxygen saturation detection method of the present application can be applied in electronic equipment. An electronic device can be a device that can automatically perform numerical calculations and/or information processing according to preset or stored instructions. Its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuits, ASICs), Programmable Gate Array (Field-Programmable Gate Array, FPGA), Digital Signal Processor (DSP), embedded devices, etc. For example, the electronic device may be a wearable blood oxygen measurement device, such as a sports bracelet, a smart watch, a finger ring and other computing devices. Electronic devices can interact with users through keyboards, mice, remote controls, touch pads, or voice-activated devices.

電子設備的硬體還可包括PPG感測器,PPG感測器上設置有檢測光源和多個光電感測器件(Photodiode,pd)。 The hardware of the electronic device may also include a PPG sensor. The PPG sensor is provided with a detection light source and a plurality of photoelectric sensing devices (Photodiode, pd).

每個通道均包括:光電感測器件和檢測光源,一個光電感測器件 可與一個檢測光源一一對應,也可多個光電感測器共用一個檢測光源,本申請實施例不對此進行限定。一個pd採集的PPG信號也可理解為pd所在的通道採集的PPG信號。 Each channel includes: photoelectric sensing device and detection light source, a photoelectric sensing device It can correspond to one detection light source one by one, or multiple photoelectric sensors can share one detection light source, which is not limited in the embodiments of the present application. The PPG signal collected by a PD can also be understood as the PPG signal collected by the channel where the PD is located.

在電子設備的PPG感測器中,通道中的檢測光源用於產生預設波長的光,並將該預設波長的光照射至待進行血氧檢測的使用者的皮膚組織,與該檢測光源處於同一通道的光電轉換器件可用於接收透過皮膚組織被反射回來的光,得到PPG信號,PPG信號表徵皮膚組織反射回來的發射光的光資料,光電轉換器件可將反射回來的光轉換為電信號,因此,光資料可以電信號的形式表示。 In the PPG sensor of the electronic device, the detection light source in the channel is used to generate light of a preset wavelength, and irradiate the light of the preset wavelength to the skin tissue of the user to be tested for blood oxygen, and the detection light source The photoelectric conversion device in the same channel can be used to receive the light reflected back through the skin tissue to obtain the PPG signal. The PPG signal represents the light data of the emitted light reflected back by the skin tissue. The photoelectric conversion device can convert the reflected light into an electrical signal. , therefore, optical data can be expressed in the form of electrical signals.

其中,檢測光源產生的光的波長可根據皮膚組織對不同波長的光的反射吸收情況設置。例如預設波長的光可包括:紅光、綠光、紅外光中一種或幾種,但不限於此。紅光的波長可為660nm,紅外光的波長可為904nm和綠光的波長可為520nm。 Among them, the wavelength of the light generated by the detection light source can be set according to the reflection and absorption of light of different wavelengths by the skin tissue. For example, the preset wavelength of light may include one or more of red light, green light, and infrared light, but is not limited thereto. The wavelength of red light may be 660nm, the wavelength of infrared light may be 904nm and the wavelength of green light may be 520nm.

檢測光源的類型可為發光二極體光源(Light Emitting Diode,LED),對應的,檢測光源可包括:紅光led,綠光led,紅外光led中的一種或幾種。 The type of detection light source may be a light emitting diode light source (LED). Correspondingly, the detection light source may include one or more of: red LED, green LED, and infrared LED.

例如,可參考圖1所示,圖1為PPG感測器101中一個通道的工作原理的示意圖,檢測光源1011向手指處的皮膚組織發射預設波長的光,透過皮膚組織的光被反射回來,由光電感測器1012接收,並進行處理,得到PPG信號。 For example, refer to Figure 1, which is a schematic diagram of the working principle of a channel in the PPG sensor 101. The detection light source 1011 emits light of a preset wavelength to the skin tissue at the finger, and the light that passes through the skin tissue is reflected back. , is received by the photoelectric sensor 1012 and processed to obtain a PPG signal.

在一些實施例中,不同通道的檢測光源和光電轉換器件之間可設置不同間距。本實施例的不同通道的檢測光源和光電轉換器件間距不同,便於後續探測到不同深度的PPG信號。 In some embodiments, different spacings may be set between detection light sources and photoelectric conversion devices of different channels. In this embodiment, the distance between the detection light source and the photoelectric conversion device of different channels is different, which facilitates subsequent detection of PPG signals at different depths.

例如,可參照圖2所示,圖2為檢測光源和光電轉換器件間距設置的示意圖,圖2中示出兩個通道,分別為通道a和通道b。通道a包括:光電感 測器201和檢測光源202,通道b包括光電感測器203和檢測光源202,檢測光源202包括3個光源,該3個光源可發出不同波長的光。 For example, refer to FIG. 2 , which is a schematic diagram of the distance setting between the detection light source and the photoelectric conversion device. FIG. 2 shows two channels, namely channel a and channel b. Channel a includes: photoinductor Detector 201 and detection light source 202, channel b includes a photoelectric sensor 203 and detection light source 202. The detection light source 202 includes 3 light sources, and the 3 light sources can emit light of different wavelengths.

在通道a中,光電感測器201和檢測光源202間距為d1,皮膚組織反射至光電感測器201的光的深度為h1;在通道b中,光電感測器203和檢測光源202間距為d2,皮膚組織反射至光電感測器203的光的深度為h2,由於d1和d2不同,因此,h1和h2不同,進而便於後續探測到不同深度的PPG信號。 In channel a, the distance between the photo sensor 201 and the detection light source 202 is d1, and the depth of the light reflected by the skin tissue to the photo sensor 201 is h1; in channel b, the distance between the photo sensor 203 and the detection light source 202 is d2, the depth of the light reflected by the skin tissue to the photoelectric sensor 203 is h2. Since d1 and d2 are different, h1 and h2 are different, which facilitates subsequent detection of PPG signals at different depths.

圖3是本申請一實施例中血氧飽和度檢測的步驟流程圖。根據不同的需求,所述流程圖中步驟的順序可以改變,某些步驟可以省略。 Figure 3 is a flow chart of steps for detecting blood oxygen saturation in an embodiment of the present application. According to different needs, the order of steps in the flow chart can be changed, and some steps can be omitted.

參閱圖3所示,血氧飽和度檢測方法可以具體包括以下步驟。 Referring to Figure 3, the blood oxygen saturation detection method may specifically include the following steps.

步驟301,獲取多個通道中的每個通道的PPG信號。 Step 301: Obtain the PPG signal of each channel in multiple channels.

電子設備的光電感測器件接收到透過皮膚組織被反射回來的光之後,可將光信號轉換成電信號,對電信號進行濾波和採樣,PPG信號可以為經濾波和採樣後的電信號。在檢測光源包括:紅光led,綠光led,紅外光led的情況下,PPG信號的採樣點均包括:紅光資料、綠光資料和紅外光資料。 After receiving the light reflected back through the skin tissue, the photoelectric sensing device of the electronic device can convert the light signal into an electrical signal, and filter and sample the electrical signal. The PPG signal can be a filtered and sampled electrical signal. When the detection light source includes: red LED, green LED, and infrared LED, the sampling points of the PPG signal include: red light data, green light data, and infrared light data.

在濾波過程中,可將電信號藉由高通濾波器進行濾波,以去除低頻干擾和基線,並藉由低通濾波器進行濾波,以去除高頻雜訊。例如,先採用無限衝擊回應(infinite impulse response,IIR)高通濾波器進行濾波,截止頻率為0.5HZ,然後,採用有限長單位衝激回應(Finite Impulse Response,FIR)低通濾波器進行濾波,截止頻率為5HZ。 During the filtering process, the electrical signal can be filtered with a high-pass filter to remove low-frequency interference and baseline, and filtered with a low-pass filter to remove high-frequency noise. For example, first use an infinite impulse response (IIR) high-pass filter for filtering, with a cutoff frequency of 0.5HZ, and then use a finite-length unit impulse response (FIR) low-pass filter for filtering, with a cutoff frequency of 0.5HZ. The frequency is 5HZ.

在採樣過程中,可根據實際需求設置信號取樣速率,以便於PPG中有足夠的資料進行後續信號品質評估以及血氧的檢測。例如,可以將採樣信號頻率設置為50HZ。 During the sampling process, the signal sampling rate can be set according to actual needs so that there is enough data in the PPG for subsequent signal quality evaluation and blood oxygen detection. For example, the sampling signal frequency can be set to 50HZ.

步驟302,基於每個通道的PPG信號,確定每個通道的信號品質。 Step 302: Determine the signal quality of each channel based on the PPG signal of each channel.

在一些實施例中,若PPG信號中包括紅外光資料,紅外光資料包 括:紅外光交流值和紅外光直流值,電子設備可計算每個通道的灌注指數(Perfusion Index,PI),根據PI值確定每個通道的信號品質,其中,PI=紅外光交流值/紅外光直流值*100%,PI值越大,通道的信號品質越強,PI值越小,代表通道容易受到雜訊影響,PPG信號品質差。 In some embodiments, if the PPG signal includes infrared light data, the infrared light data packet Including: infrared light AC value and infrared light DC value. Electronic equipment can calculate the perfusion index (PI) of each channel, and determine the signal quality of each channel based on the PI value, where PI = infrared light AC value/infrared Optical DC value * 100%. The larger the PI value, the stronger the signal quality of the channel. The smaller the PI value, it means that the channel is easily affected by noise and the PPG signal quality is poor.

然,在根據PI值確定通道的信號品質的情況下,若PPG信號存在輕微的持續擾動,PI值不能夠準確反應出PPG信號所存在的輕微持續擾動,從而導致該通道的PPG信號可能會被誤判有效PPG信號,即被誤判為滿足預設的信號品質標準的PPG信號;在PI值較低但干擾小的情況下,由於PI值低,該PPG信號可能被誤判為無效PPG信號,即被誤判為不滿足預設的信號品質標準的PPG信號。 However, when the signal quality of the channel is determined based on the PI value, if there is a slight continuous disturbance in the PPG signal, the PI value cannot accurately reflect the slight continuous disturbance in the PPG signal, causing the PPG signal of the channel to be affected. A valid PPG signal is misjudged as a PPG signal that meets the preset signal quality standard; when the PI value is low but the interference is small, the PPG signal may be misjudged as an invalid PPG signal due to the low PI value, that is, it is misjudged as a PPG signal that meets the preset signal quality standards. Misjudged as a PPG signal that does not meet the preset signal quality standards.

也就是說,通道中出現輕微干擾會導致反射到光電轉換器件上的光也會收到干擾,進而導致血氧的檢測結果出現偏差,而PI值並不能夠準確反應通道中出現的輕微干擾,因此,藉由PI值反應通道的信號品質並不準確。 In other words, slight interference in the channel will cause the light reflected to the photoelectric conversion device to be interfered, which will lead to deviations in the blood oxygen detection results, and the PI value cannot accurately reflect the slight interference in the channel. Therefore, the signal quality of the channel reflected by the PI value is not accurate.

鑒於此,在另一些實施例中,檢測光源可包括:紅光光源和綠光光源,每個PPG信號可包括:紅光資料和綠光資料,步驟302可進一步包括:計算每個通道中PPG信號的紅光資料和綠光資料的相關係數;根據相關係數確定所述每個通道的信號品質。 In view of this, in other embodiments, the detection light source may include: a red light source and a green light source, and each PPG signal may include: red light data and green light data. Step 302 may further include: calculating the PPG in each channel. The correlation coefficient between the red light data and the green light data of the signal; determine the signal quality of each channel according to the correlation coefficient.

相關係數能夠反應PPG信號中紅光資料和綠光資料的相似程度,相似程度越大,表徵該通道的信號品質越強。 The correlation coefficient can reflect the similarity between the red light data and the green light data in the PPG signal. The greater the similarity, the stronger the signal quality that characterizes the channel.

具體地,可藉由紅光資料中的紅光交流值和綠光資料中的綠光交流值進行相關係數的計算。 Specifically, the correlation coefficient can be calculated based on the red light AC value in the red light data and the green light AC value in the green light data.

在通道收到干擾的情況下,紅光資料的紅光RD、綠光資料GR均會出現明顯擾動,該通道相關係數也會出現明顯下降,因此,紅光資料和綠光資料的相關係數能夠反應通道的干擾情況,將相關係數作參考通道的信號品質 的依據,能夠更準確的反應出通道的信號品質的實際強弱,進而提高血氧檢測的準確性。 When the channel receives interference, the red light RD and green light data GR of the red light data will be significantly disturbed, and the correlation coefficient of the channel will also decrease significantly. Therefore, the correlation coefficient of the red light data and the green light data can Reflects the interference of the channel, and uses the correlation coefficient as a reference for the signal quality of the channel. Based on this, it can more accurately reflect the actual strength of the signal quality of the channel, thereby improving the accuracy of blood oxygen detection.

以下說明計算通道中PPG信號的紅光資料和綠光資料的相關係數的過程。 The following explains the process of calculating the correlation coefficient of the red light data and green light data of the PPG signal in the channel.

獲取某個預設時間段得到的PPG信號,該PPG信號中包括採樣點1,採樣點2,…..採樣點m,m為PPG信號中包括的採樣點的總數,採樣點i包括紅光資料rd i ,綠光數據gr i ,相關係數M計算公式如下:

Figure 111149829-A0305-02-0011-2
Obtain the PPG signal obtained in a preset time period. The PPG signal includes sampling point 1, sampling point 2,...sampling point m, m is the total number of sampling points included in the PPG signal, and sampling point i includes red light. The data rd i , green light data gr i , and the correlation coefficient M are calculated as follows:
Figure 111149829-A0305-02-0011-2

步驟303,基於每個通道的信號品質,從多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號。 Step 303: Based on the signal quality of each channel, select PPG signals that meet the preset signal quality standard from the PPG signals of multiple channels.

在一些實施例中,若當前通道對應的相關係數在預設的相關係數範圍內,則判定所述當前通道的PPG信號為滿足所述預設信號品質標準的PPG信號。 In some embodiments, if the correlation coefficient corresponding to the current channel is within a preset correlation coefficient range, it is determined that the PPG signal of the current channel is a PPG signal that meets the preset signal quality standard.

預設的相關係數範圍具體可為大於某一預設的相關係數閾值,預設相關係數閾值的取值可為0.3-0.9之間的自然數。 Specifically, the preset correlation coefficient range may be greater than a certain preset correlation coefficient threshold, and the value of the preset correlation coefficient threshold may be a natural number between 0.3 and 0.9.

可參考圖4所示,圖4為某次實驗中通道的相關係數mutual_coef和血氧誤差SpO2_err的關係,由該圖可看出,相關係數越大,血氧誤差越小。 Please refer to Figure 4, which shows the relationship between the channel's correlation coefficient mutual_coef and the blood oxygen error SpO2_err in a certain experiment. It can be seen from this figure that the greater the correlation coefficient, the smaller the blood oxygen error.

如下表1所示,表1為某次實驗中相關係數閾值的取值和血氧準確率,以及有效資料率的關係,有效資料率即為滿足預設信號品質標準的PPG信號的個數佔總PPG信號N的個數的比值,血氧均方根誤差SpO2_rmse的計算公式如下:

Figure 111149829-A0305-02-0011-3
As shown in Table 1 below, Table 1 shows the relationship between the value of the correlation coefficient threshold, the blood oxygen accuracy rate, and the effective data rate in a certain experiment. The effective data rate is the number of PPG signals that meet the preset signal quality standard. The ratio of the number of total PPG signals N and the calculation formula of the blood oxygen root mean square error SpO2_rmse are as follows:
Figure 111149829-A0305-02-0011-3

表1

Figure 111149829-A0305-02-0012-1
Table 1
Figure 111149829-A0305-02-0012-1

由上表可看出,相關係數閾值的取值越大,血氧均方根誤差越小,即血氧準確率越大,有效資料率越小,有效資料率可以反應血氧計算的成功率,因此,本申請實施例將取值範圍設置在0.3-0.9之間,能夠在保證血氧飽和度的測量成功率的情況下,儘量保證血氧飽和度測量的準確性。 As can be seen from the above table, the greater the value of the correlation coefficient threshold, the smaller the root mean square error of blood oxygenation, that is, the greater the accuracy of blood oxygenation, the smaller the effective data rate. The effective data rate can reflect the success rate of blood oxygenation calculation. , therefore, the embodiment of the present application sets the value range between 0.3 and 0.9, which can ensure the accuracy of blood oxygen saturation measurement as much as possible while ensuring the success rate of blood oxygen saturation measurement.

步驟304,根據滿足預設信號品質標準的PPG信號檢測血氧飽和度。 Step 304: Detect blood oxygen saturation based on the PPG signal that meets the preset signal quality standard.

在一些實施例中,可在滿足預設信號品質標準的PPG信號中隨機選取一個PPG信號檢測血氧飽和度。 In some embodiments, one PPG signal may be randomly selected from PPG signals that meet preset signal quality standards to detect blood oxygen saturation.

藉由PPG信號可以確定檢測光源產生的光被皮膚組織的吸收程度,可將該吸收程度換算為血氧飽和度。 The PPG signal can be used to determine the degree of absorption of the light generated by the detection light source by the skin tissue, and the absorption degree can be converted into blood oxygen saturation.

在另一些實施例中,在滿足預設信號品質標準的PPG信號所處的通道中,確定相關係數最大的目標通道;根據目標通道的PPG信號檢測血氧飽和度。 In other embodiments, among the channels where the PPG signals that meet the preset signal quality standards are located, the target channel with the largest correlation coefficient is determined; and the blood oxygen saturation is detected based on the PPG signal of the target channel.

例如,若電子設備包括通道a和通道b,通道a的相關係數為Ma,通道b的相關係數為Mb,通道a和通道b的PPG信號均為滿足預設信號品質標準的PPG信號,且Ma大於Mb,通道a即為目標通道,藉由通道a獲取的相關係數可進行血氧的計算。 For example, if the electronic device includes channel a and channel b, the correlation coefficient of channel a is Ma, the correlation coefficient of channel b is Mb, the PPG signals of channel a and channel b are both PPG signals that meet the preset signal quality standard, and Ma If it is greater than Mb, channel a is the target channel. The correlation coefficient obtained from channel a can be used to calculate blood oxygen.

上述步驟301至304為存在滿足預設信號品質標準的PPG信號,在實際情況,當前採樣得到的PPG信號可能均不滿足預設信號品質標準,在此情況下,可重新進入步驟301,即重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號。 The above steps 301 to 304 indicate that there is a PPG signal that meets the preset signal quality standard. In actual situations, the currently sampled PPG signals may not meet the preset signal quality standard. In this case, step 301 can be re-entered, that is, re-entering step 301. The PPG signal of each channel is acquired until a PPG signal that meets the preset signal quality standard is acquired.

本實施例在各通道的PPG信號均不滿足預設信號品質標準時,可以重新獲取PPG信號進行計算,相較於隨機選取一個不滿足預設信號品質標準的PPG信號,本實施例能夠提高血氧飽和度測量的成功率和準確率。 In this embodiment, when the PPG signals of each channel do not meet the preset signal quality standards, the PPG signals can be reacquired for calculation. Compared with randomly selecting a PPG signal that does not meet the preset signal quality standards, this embodiment can improve blood oxygenation. Success rate and accuracy of saturation measurements.

然,若是各通道長時間不能採集到滿足預設信號品質標準,將會造成血氧檢測結果過長,影響用戶體感。 However, if each channel fails to collect signals that meet the preset quality standards for a long time, the blood oxygen detection results will take too long and affect the user's sense of touch.

造成長時間不能採集到滿足預設信號品質標準的原因可能是由於電子設備的位置導致的,例如穿戴設備的佩戴狀態異常,因此,在另一些實施例中,若未超過預設的血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述各通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號。 The reason why the signal quality that meets the preset standard cannot be collected for a long time may be due to the location of the electronic device, such as the abnormal wearing state of the wearable device. Therefore, in other embodiments, if the preset blood oxygen saturation is not exceeded, detection time, and there is no PPG signal that meets the preset signal quality standard, then the PPG signals of each channel are reacquired until a PPG signal that meets the preset signal quality standard is obtained.

若超過所述血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則輸出用於指示使用者調整所述電子設備的位置的提示資訊。例如,提示使用者調整電子設備的佩戴狀態。 If the blood oxygen saturation detection time exceeds and there is no PPG signal that meets the preset signal quality standard, prompt information for instructing the user to adjust the position of the electronic device is output. For example, the user is prompted to adjust the wearing status of the electronic device.

本實施例藉由設置血氧飽和度檢測時間,在超過該血氧飽和度檢測時間,提示使用者調整電子設備位置,以避免因電子設備位置導致無法測得血氧飽和度的情況,從而提高使用者體驗感。 This embodiment sets the blood oxygen saturation detection time. When the blood oxygen saturation detection time exceeds, the user is prompted to adjust the position of the electronic device to avoid the situation where the blood oxygen saturation cannot be measured due to the position of the electronic device, thereby improving the performance of the system. User experience.

圖5為本申請實施例提供的一種血氧飽和度檢測裝置的模組示意圖。 Figure 5 is a schematic diagram of a module of a blood oxygen saturation detection device provided by an embodiment of the present application.

參閱圖5所示,血氧飽和度檢測裝置可應用於電子設備。電子設備包括用於檢測血氧飽和度的多個通道,血氧飽和度檢測裝置可以包括一個或多個模組。例如,參閱圖5所示,血氧飽和度檢測裝置可以包括獲取模組501、確定模組502、篩選模組503、以及檢測模組504。 Referring to Figure 5, the blood oxygen saturation detection device can be applied to electronic equipment. The electronic device includes multiple channels for detecting blood oxygen saturation, and the blood oxygen saturation detection device may include one or more modules. For example, as shown in FIG. 5 , the blood oxygen saturation detection device may include an acquisition module 501 , a determination module 502 , a screening module 503 , and a detection module 504 .

本申請實施例所稱的模組可以是指能夠完成特定功能的一系列電腦程式指令段,也可以是電腦程式指令段與硬體配合形成的功能模組,模組的 劃分為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,本申請對此不作限定。 The module referred to in the embodiment of this application may refer to a series of computer program instruction segments that can complete specific functions, or it may be a functional module formed by the cooperation of computer program instruction segments and hardware. The module The division is a kind of logical function division, and there may be other division methods in actual implementation, which is not limited in this application.

可以理解的是,對應於上述血氧飽和度檢測方法中的各實施方式,血氧飽和度檢測裝置可以包括圖5中所示的各功能模組中的一部分或全部,各模組501~504的功能將在以下具體介紹。需要說明的是,以上血氧飽和度檢測方法的各實施方式中相同的名詞相關名詞及其具體的解釋說明也可以適用於以下對各模組501~504的功能介紹。為節省篇幅及避免重複起見,在此就不再贅述。 It can be understood that, corresponding to each embodiment of the above blood oxygen saturation detection method, the blood oxygen saturation detection device may include part or all of the functional modules shown in Figure 5, each module 501~504. The functions will be introduced in detail below. It should be noted that the same nouns and related nouns and their specific explanations in the above embodiments of the blood oxygen saturation detection method can also be applied to the following function introduction of each module 501 to 504. In order to save space and avoid repetition, they will not be described again here.

獲取模組501,用於獲取所述多個通道中的每個通道的PPG信號;確定模組502,用於基於所述每個通道的PPG信號,確定所述每個通道的信號品質;篩選模組503,用於基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號;檢測模組504,用於根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度。 The acquisition module 501 is used to acquire the PPG signal of each channel in the plurality of channels; the determination module 502 is used to determine the signal quality of each channel based on the PPG signal of each channel; filtering The module 503 is used to screen PPG signals that meet the preset signal quality standards from the PPG signals of the multiple channels based on the signal quality of each channel; the detection module 504 is used to filter the PPG signals that meet the preset signal quality standards based on the signal quality of each channel. Signal quality standard PPG signal detects blood oxygen saturation.

在一些實施例中,每個通道均包括檢測光源,所述檢測光源包括:紅光光源和綠光光源,每個PPG信號包括:紅光資料和綠光資料,確定模組502中基於所述每個通道的PPG信號,確定每個通道的信號品質,包括:計算所述每個通道中PPG信號的紅光資料和綠光資料的相關係數;根據所述相關係數,確定所述每個通道的信號品質。 In some embodiments, each channel includes a detection light source. The detection light source includes: a red light source and a green light source. Each PPG signal includes: red light data and green light data. The determination module 502 is based on the The PPG signal of each channel determines the signal quality of each channel, including: calculating the correlation coefficient of the red light data and green light data of the PPG signal in each channel; and determining the signal quality of each channel according to the correlation coefficient. signal quality.

採用該技術方案將相關係數作為評估信號品質的依據,能夠進一步提高血氧飽和度的測量成功率和準確性。 Using this technical solution to use the correlation coefficient as a basis for evaluating signal quality can further improve the success rate and accuracy of blood oxygen saturation measurement.

在一些實施例中,每個通道還包括光電轉換器件,所述每個通道的檢測光源和所述光電轉換器件的間距不同。 In some embodiments, each channel further includes a photoelectric conversion device, and the distance between the detection light source and the photoelectric conversion device of each channel is different.

本申請實施例中檢測光源和光電轉換器件間距不同,便於探測到不同深度的PPG信號。 In the embodiment of the present application, the distance between the detection light source and the photoelectric conversion device is different, which facilitates the detection of PPG signals at different depths.

在一些實施例中,篩選模組503中基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號,包括:若當前通道對應的相關係數在預設的相關係數範圍內,則判定所述當前通道的PPG信號為滿足所述預設信號品質標準的PPG信號。 In some embodiments, based on the signal quality of each channel, the screening module 503 screens PPG signals that meet the preset signal quality standards from the PPG signals of the multiple channels, including: if the relevant signal corresponding to the current channel If the coefficient is within the preset correlation coefficient range, it is determined that the PPG signal of the current channel is a PPG signal that meets the preset signal quality standard.

相關係數在預設範圍內,能在保證血氧飽和度的測量成功率的情況下,儘量保證血氧飽和度的測量準確性。 The correlation coefficient is within the preset range, which can ensure the accuracy of blood oxygen saturation measurement while ensuring the success rate of blood oxygen saturation measurement.

在一些實施例中,檢測模組504中根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度,包括:在滿足所述預設信號品質標準的PPG信號所處的通道中,確定相關係數最大的目標通道;根據所述目標通道的PPG信號檢測血氧飽和度。 In some embodiments, detecting blood oxygen saturation based on the PPG signal that meets the preset signal quality standard in the detection module 504 includes: in the channel where the PPG signal that meets the preset signal quality standard is located, determine The target channel with the largest correlation coefficient; detect the blood oxygen saturation based on the PPG signal of the target channel.

相關係數越大,血氧飽和度的準確率越高,因此,該技術方案能夠進一步提高血氧飽和度的測量準確率。 The larger the correlation coefficient, the higher the accuracy of blood oxygen saturation. Therefore, this technical solution can further improve the accuracy of blood oxygen saturation measurement.

在一些實施例中,篩選模組503中若不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號。 In some embodiments, if there is no PPG signal that meets the preset signal quality standard in the screening module 503, the PPG signal of each channel is reacquired until a PPG signal that meets the preset signal quality standard is obtained. PPG signal.

採用該技術方案,在各通道的PPG信號均不滿足預設信號標準時,重新獲取PPG信號進行計算,從而進一步提高血氧飽和度測量的成功率。 Using this technical solution, when the PPG signals of each channel do not meet the preset signal standards, the PPG signals are reacquired for calculation, thereby further improving the success rate of blood oxygen saturation measurement.

在一些實施例中,篩選模組503中若不存在滿足預設信號品質標準的PPG信號,則重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號,包括:若未超過預設的血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述各通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號;若超過所述血氧飽 和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則輸出用於指示使用者調整所述電子設備的位置的提示資訊。 In some embodiments, if there is no PPG signal that meets the preset signal quality standard in the screening module 503, the PPG signal of each channel is reacquired until a PPG signal that meets the preset signal quality standard is obtained. , including: if the preset blood oxygen saturation detection time does not exceed and there is no PPG signal that meets the preset signal quality standard, then re-acquire the PPG signals of each channel until the PPG signal that meets the preset signal quality standard is obtained. PPG signal with signal quality standard; if it exceeds the blood oxygen saturation If the time is detected and there is no PPG signal that meets the preset signal quality standard, prompt information for instructing the user to adjust the position of the electronic device is output.

該技術方案藉由設置血氧飽和度檢測時間,若超過該血氧飽和度檢測時間,提示使用者調整電子設備位置,以避免因電子設備位置導致無法測得血氧飽和度的情況。 This technical solution sets the blood oxygen saturation detection time. If the blood oxygen saturation detection time exceeds, the user is prompted to adjust the position of the electronic device to avoid the situation where the blood oxygen saturation cannot be measured due to the position of the electronic device.

圖6為本申請電子設備一實施例的示意圖。 FIG. 6 is a schematic diagram of an embodiment of the electronic device of the present application.

電子設備200包括記憶體20、處理器30以及存儲在記憶體20中並可在處理器30上運行的電腦程式40。處理器30執行電腦程式40時可以實現上述血氧飽和度檢測方法實施例中的步驟,例如圖3所示的步驟301~304。 The electronic device 200 includes a memory 20 , a processor 30 , and a computer program 40 stored in the memory 20 and executable on the processor 30 . When the processor 30 executes the computer program 40, the steps in the above blood oxygen saturation detection method embodiment can be implemented, such as steps 301 to 304 shown in Figure 3.

示例性的,電腦程式40同樣可以被分割成一個或多個模組/單元,所述一個或者多個模組/單元被存儲在記憶體20中,並由處理器30執行。所述一個或多個模組/單元可以是能夠完成特定功能的一系列電腦程式指令段,所述指令段用於描述電腦程式40在電子設備200中的執行過程。例如,可以分割成圖5所示的獲取模組501、確定模組502、篩選模組503、以及檢測模組504。 For example, the computer program 40 can also be divided into one or more modules/units, and the one or more modules/units are stored in the memory 20 and executed by the processor 30 . The one or more modules/units may be a series of computer program instruction segments capable of completing specific functions. The instruction segments are used to describe the execution process of the computer program 40 in the electronic device 200 . For example, it can be divided into the acquisition module 501, the determination module 502, the screening module 503, and the detection module 504 shown in FIG. 5 .

電子設備200可以是桌上型電腦、筆記本、掌上型電腦、工業電腦、平板電腦、伺服器等計算設備。本領域技術人員可以理解,所述示意圖僅僅是電子設備200的示例,並不構成對電子設備200的限定,可以包括比圖示更多或更少的部件,或者組合某些部件,或者不同的部件,例如電子設備200還可以包括輸入輸出設備、網路接入設備、匯流排等。 The electronic device 200 may be a computing device such as a desktop computer, a notebook, a palmtop computer, an industrial computer, a tablet computer, a server, or the like. Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 200 and does not constitute a limitation of the electronic device 200. The electronic device 200 may include more or fewer components than shown, or some components may be combined or different. Components such as electronic device 200 may also include input and output devices, network access devices, buses, etc.

處理器30可以是中央處理單元(Central Processing Unit,CPU),還可以是其他通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件等。通用處理器可以是微處理器、單片機 或者處理器30也可以是任何常規的處理器等。 The processor 30 may be a Central Processing Unit (CPU), other general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or an off-the-shelf processor. Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or a microcontroller Or the processor 30 can also be any conventional processor, etc.

記憶體20可用於存儲電腦程式40和/或模組/單元,處理器30藉由運行或執行存儲在記憶體20內的電腦程式和/或模組/單元,以及調用存儲在記憶體20內的資料,實現電子設備200的各種功能。記憶體20可主要包括存儲程式區和存儲資料區,其中,存儲程式區可存儲作業系統、至少一個功能所需的應用程式(比如聲音播放功能、圖像播放功能等)等;存儲資料區可存儲根據電子設備200的使用所創建的資料(比如音訊資料)等。此外,記憶體20可以包括高速隨機存取記憶體,還可以包括非易失性記憶體,例如硬碟、記憶體、插接式硬碟,智慧存儲卡(Smart Media Card,SMC),安全數位(Secure Digital,SD)卡,快閃記憶體卡(Flash Card)、至少一個磁碟記憶體件、快閃記憶體器件、或其他非易失性固態記憶體件。 The memory 20 can be used to store computer programs 40 and/or modules/units. The processor 30 runs or executes the computer programs and/or modules/units stored in the memory 20 and calls the computer programs 40 stored in the memory 20. information to realize various functions of the electronic device 200. The memory 20 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store Store data created according to the use of the electronic device 200 (such as audio data), etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one disk memory device, flash memory device, or other non-volatile solid-state memory device.

電子設備200集成的模組/單元如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣的理解,本申請實現上述實施例方法中的全部或部分流程,也可以藉由電腦程式來指令相關的硬體來完成,所述的電腦程式可存儲於一電腦可讀存儲介質中,所述電腦程式在被處理器執行時,可實現上述各個方法實施例的步驟。其中,所述電腦程式包括電腦程式代碼,所述電腦程式代碼可以為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。所述電腦可讀介質可以包括:能夠攜帶所述電腦程式代碼的任何實體或裝置、記錄介質、U盤、移動硬碟、磁碟、光碟、電腦記憶體、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、電載波信號、電信信號以及軟體分發介質等。需要說明的是,所述電腦可讀介質包含的內容可以根據司法管轄區內立法和專利實踐的要求進行適當的增減,例如在某些司法管轄區,根據立法和專利實踐,電腦可讀介質不包括電載波信號和電信信號。 If the modules/units integrated in the electronic device 200 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the above embodiment methods by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in the form of original program code, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, mobile hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-only memory). Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium Excludes electrical carrier signals and telecommunications signals.

在本申請所提供的幾個實施例中,應該理解到,所揭露的電子設備和方法,可以藉由其它的方式實現。例如,以上所描述的電子設備實施例僅僅是示意性的,例如,所述單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式。 In the several embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the electronic device embodiments described above are only illustrative. For example, the division of units is only a logical function division, and there may be other division methods in actual implementation.

另,在本申請各個實施例中的各功能單元可以集成在相同處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在相同單元中。上述集成的單元既可以採用硬體的形式實現,也可以採用硬體加軟體功能模組的形式實現。 In addition, each functional unit in each embodiment of the present application can be integrated in the same processing unit, or each unit can exist physically alone, or two or more units can be integrated in the same unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

最後應說明的是,以上實施例僅用以說明本申請的技術方案而非限制,儘管參照上述實施例對本申請進行了詳細說明,本領域的普通技術人員應當理解,可以對本申請的技術方案進行修改或等同替換,而不脫離本申請技術方案的精神和範圍。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not limiting. Although the present application has been described in detail with reference to the above embodiments, those of ordinary skill in the art will understand that the technical solutions of the present application can be modified. Modifications or equivalent substitutions may be made without departing from the spirit and scope of the technical solution of the present application.

301、302、302、304:步驟 301, 302, 302, 304: steps

Claims (10)

一種血氧飽和度檢測方法,應用於電子設備,所述電子設備包括用於檢測血氧飽和度的多個通道,所述血氧飽和度檢測方法包括:獲取所述多個通道中的每個通道的PPG信號;基於所述每個通道的PPG信號,確定所述每個通道的信號品質;基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號;根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度。 A blood oxygen saturation detection method, applied to electronic equipment, the electronic equipment includes multiple channels for detecting blood oxygen saturation, the blood oxygen saturation detection method includes: obtaining each of the multiple channels The PPG signal of each channel; based on the PPG signal of each channel, determine the signal quality of each channel; based on the signal quality of each channel, select signals that satisfy the preset from the PPG signals of the multiple channels PPG signal of quality standard; detect blood oxygen saturation based on PPG signal that meets the preset signal quality standard. 如請求項1所述的血氧飽和度檢測方法,其中,所述每個通道均包括檢測光源,所述檢測光源包括:紅光光源和綠光光源,每個PPG信號包括:紅光資料和綠光資料,所述基於所述每個通道的PPG信號,確定每個通道的信號品質,包括:計算所述每個通道中PPG信號的紅光資料和綠光資料的相關係數;根據所述相關係數,確定所述每個通道的信號品質。 The blood oxygen saturation detection method according to claim 1, wherein each of the channels includes a detection light source, the detection light source includes: a red light source and a green light source, and each PPG signal includes: red light data and Green light data. Determining the signal quality of each channel based on the PPG signal of each channel includes: calculating the correlation coefficient of the red light data and green light data of the PPG signal in each channel; according to the The correlation coefficient determines the signal quality of each channel. 如請求項2所述的血氧飽和度檢測方法,其中,所述每個通道還包括光電轉換器件,所述每個通道的檢測光源和所述光電轉換器件的間距不同。 The blood oxygen saturation detection method according to claim 2, wherein each channel further includes a photoelectric conversion device, and the distance between the detection light source and the photoelectric conversion device of each channel is different. 如請求項2所述的血氧飽和度檢測方法,其中,所述基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號,包括:若當前通道對應的相關係數在預設的相關係數範圍內,則判定所述當前通道的PPG信號為滿足所述預設信號品質標準的PPG信號。 The blood oxygen saturation detection method according to claim 2, wherein based on the signal quality of each channel, selecting PPG signals that meet a preset signal quality standard from the PPG signals of the multiple channels includes: : If the correlation coefficient corresponding to the current channel is within the preset correlation coefficient range, it is determined that the PPG signal of the current channel is a PPG signal that meets the preset signal quality standard. 如請求項4所述的血氧飽和度檢測方法,其中,所述根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度,包括: 在滿足所述預設信號品質標準的PPG信號所處的通道中,確定相關係數最大的目標通道;根據所述目標通道的PPG信號檢測血氧飽和度。 The blood oxygen saturation detection method according to claim 4, wherein the detecting blood oxygen saturation based on the PPG signal that meets the preset signal quality standard includes: Among the channels where the PPG signal that meets the preset signal quality standard is located, the target channel with the largest correlation coefficient is determined; and the blood oxygen saturation is detected according to the PPG signal of the target channel. 根據請求項1至5中任一項所述的血氧飽和度檢測方法,其中,所述血氧飽和度檢測方法還包括:若不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號。 The blood oxygen saturation detection method according to any one of claims 1 to 5, wherein the blood oxygen saturation detection method further includes: if there is no PPG signal that meets the preset signal quality standard, re- The PPG signal of each channel is acquired until a PPG signal that meets the preset signal quality standard is acquired. 根據請求項6所述的血氧飽和度檢測方法,其中,所述若不存在滿足預設信號品質標準的PPG信號,則重新獲取所述每個通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號,包括:若未超過預設的血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則重新獲取所述各通道的PPG信號,直至獲取到滿足所述預設信號品質標準的PPG信號;若超過所述血氧飽和度檢測時間,且不存在滿足所述預設信號品質標準的PPG信號,則輸出用於指示使用者調整所述電子設備的位置的提示資訊。 The blood oxygen saturation detection method according to claim 6, wherein if there is no PPG signal that meets the preset signal quality standard, the PPG signal of each channel is reacquired until a PPG signal that meets the preset signal quality standard is obtained. Suppose the PPG signal of the signal quality standard includes: if the preset blood oxygen saturation detection time does not exceed and there is no PPG signal that meets the preset signal quality standard, then re-acquire the PPG signal of each channel until A PPG signal that meets the preset signal quality standard is obtained; if the blood oxygen saturation detection time exceeds and there is no PPG signal that meets the preset signal quality standard, output is used to instruct the user to adjust the Prompt information for the location of electronic devices. 一種血氧飽和度檢測裝置,應用於電子設備,所述電子設備包括用於檢測血氧飽和度的多個通道,所述血氧飽和度檢測裝置包括:獲取模組,用於獲取所述多個通道中的每個通道的PPG信號;確定模組,用於基於所述每個通道的PPG信號,確定所述每個通道的信號品質;篩選模組,用於基於所述每個通道的信號品質,從所述多個通道的PPG信號中篩選滿足預設信號品質標準的PPG信號;檢測模組,用於根據滿足所述預設信號品質標準的PPG信號檢測血氧飽和度。 A blood oxygen saturation detection device is applied to electronic equipment. The electronic equipment includes multiple channels for detecting blood oxygen saturation. The blood oxygen saturation detection device includes: an acquisition module for acquiring the multiple channels. The PPG signal of each channel in the channels; the determination module is used to determine the signal quality of each channel based on the PPG signal of each channel; the filtering module is used to determine the signal quality of each channel based on the PPG signal of each channel. The signal quality is used to select PPG signals that meet the preset signal quality standards from the PPG signals of the multiple channels; the detection module is used to detect blood oxygen saturation based on the PPG signals that meet the preset signal quality standards. 一種電子設備,包括處理器及記憶體,所述記憶體用於存儲指令,所述處理器用於調用所述記憶體中的指令,使得所述電子設備執行如請求項1至請求項7中任一項所述的血氧飽和度檢測方法。 An electronic device includes a processor and a memory. The memory is used to store instructions. The processor is used to call the instructions in the memory so that the electronic device executes any one of claims 1 to 7. The blood oxygen saturation detection method described in one item. 一種電腦可讀存儲介質,其上存儲有電腦指令,當所述電腦指令在電子設備上運行時,使得所述電子設備執行如請求項1至請求項7中任一項所述的血氧飽和度檢測方法。 A computer-readable storage medium with computer instructions stored thereon. When the computer instructions are run on an electronic device, the electronic device causes the electronic device to perform the blood oxygen saturation described in any one of claims 1 to 7. degree detection method.
TW111149829A 2022-11-16 2022-12-23 Method for detecting blood oxygen saturation, equipment, electronic device and storage medium TWI827419B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211436912.4A CN118044807A (en) 2022-11-16 Blood oxygen saturation detection method, device, electronic equipment and storage medium
CN2022114369124 2022-11-16

Publications (1)

Publication Number Publication Date
TWI827419B true TWI827419B (en) 2023-12-21

Family

ID=90053503

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111149829A TWI827419B (en) 2022-11-16 2022-12-23 Method for detecting blood oxygen saturation, equipment, electronic device and storage medium

Country Status (1)

Country Link
TW (1) TWI827419B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM542444U (en) * 2016-11-08 2017-06-01 黃勝榮 Wearable pulse contour analysis device with multiple diagnositic functions
CN112674739A (en) * 2020-12-18 2021-04-20 深圳市汇顶科技股份有限公司 Biological characteristic information detection device, biological characteristic information detection method and electronic equipment
TW202220615A (en) * 2020-11-25 2022-06-01 緯創資通股份有限公司 Signal quality detection method and signal detection device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM542444U (en) * 2016-11-08 2017-06-01 黃勝榮 Wearable pulse contour analysis device with multiple diagnositic functions
TW202220615A (en) * 2020-11-25 2022-06-01 緯創資通股份有限公司 Signal quality detection method and signal detection device thereof
CN112674739A (en) * 2020-12-18 2021-04-20 深圳市汇顶科技股份有限公司 Biological characteristic information detection device, biological characteristic information detection method and electronic equipment

Similar Documents

Publication Publication Date Title
KR101872753B1 (en) Fingerprint recognition method and fingerprint recognition apparatus
US9510779B2 (en) Analyte monitoring using one or more accelerometers
US9380969B2 (en) Systems and methods for varying a sampling rate of a signal
US20120190944A1 (en) Devices and methods for non-invasive optical physiological measurements
TWI438658B (en) User interface system and optical finger mouse system
US20070149872A1 (en) Method and apparatus for eliminating interference in pulse oxygen measurement
CN107595297B (en) Physiological information detection device and method
US8913012B2 (en) Optical mouse and operating method thereof
EP3915476A1 (en) Blood oxygen detection method and device
TW201517875A (en) Method and apparatus for determining SpO2 of a subject from an optical measurement
TW201322060A (en) Optical finger mouse, mouse control module and physiological characteristic detection method thereof
JP2015192865A (en) pulse photometer
CN107714050B (en) Three-wavelength oxyhemoglobin saturation detection method and device and wearable equipment
US20090326347A1 (en) Synchronous Light Detection Utilizing CMOS/CCD Sensors For Oximetry Sensing
JP2013031502A (en) Information processing apparatus, information processing method, program, and information processing system
JP2013104851A (en) Biometric device, biometric method, program, and recording medium
TWI827419B (en) Method for detecting blood oxygen saturation, equipment, electronic device and storage medium
CN105310697B (en) Measure the method and device of blood oxygen saturation
TW201710712A (en) Multi-segment optical component and related optical detecting device capable of increasing SNR
WO2021046700A1 (en) Heart rate measurement method and apparatus, chip, electronic device and storage medium
CN110267587A (en) Optical sensing apparatus and corresponding optical sensing method
CN118044807A (en) Blood oxygen saturation detection method, device, electronic equipment and storage medium
WO2017133883A1 (en) Optical vital signs sensor
US20230233117A1 (en) Combination of reflective and transmissive sensors with characteristic wavelengths for physiological monitoring
KR20200095891A (en) Heartbeat index determination apparatus and method