KR20230024189A - Electronic device adjusting oxygen saturation and method for controlling the same - Google Patents
Electronic device adjusting oxygen saturation and method for controlling the same Download PDFInfo
- Publication number
- KR20230024189A KR20230024189A KR1020220033113A KR20220033113A KR20230024189A KR 20230024189 A KR20230024189 A KR 20230024189A KR 1020220033113 A KR1020220033113 A KR 1020220033113A KR 20220033113 A KR20220033113 A KR 20220033113A KR 20230024189 A KR20230024189 A KR 20230024189A
- Authority
- KR
- South Korea
- Prior art keywords
- oxygen saturation
- electronic device
- value
- posture
- sensor
- Prior art date
Links
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 title claims abstract description 236
- 229910052760 oxygen Inorganic materials 0.000 title claims abstract description 236
- 239000001301 oxygen Substances 0.000 title claims abstract description 236
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000033001 locomotion Effects 0.000 claims abstract description 166
- 238000012423 maintenance Methods 0.000 claims abstract description 92
- 238000001514 detection method Methods 0.000 claims abstract description 69
- 238000004891 communication Methods 0.000 claims description 57
- 230000008859 change Effects 0.000 claims description 30
- 230000007958 sleep Effects 0.000 abstract description 14
- 230000036544 posture Effects 0.000 description 167
- 238000010586 diagram Methods 0.000 description 17
- 238000012937 correction Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 10
- 238000005259 measurement Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000013528 artificial neural network Methods 0.000 description 8
- 230000001133 acceleration Effects 0.000 description 7
- 238000002106 pulse oximetry Methods 0.000 description 7
- 230000036279 refractory period Effects 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 239000008280 blood Substances 0.000 description 3
- 210000004369 blood Anatomy 0.000 description 3
- 230000036772 blood pressure Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 201000002859 sleep apnea Diseases 0.000 description 3
- 210000004204 blood vessel Anatomy 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 210000000707 wrist Anatomy 0.000 description 2
- 238000002835 absorbance Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000017531 blood circulation Effects 0.000 description 1
- 230000036760 body temperature Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000747 cardiac effect Effects 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000000449 premovement Effects 0.000 description 1
- 210000002321 radial artery Anatomy 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000029058 respiratory gaseous exchange Effects 0.000 description 1
- 230000036387 respiratory rate Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/145—Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
- A61B5/1455—Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
- A61B5/14551—Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters for measuring blood gases
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/145—Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
- A61B5/1495—Calibrating or testing of in-vivo probes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6801—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
- A61B5/6802—Sensor mounted on worn items
- A61B5/681—Wristwatch-type devices
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
- A61B5/7207—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal of noise induced by motion artifacts
- A61B5/721—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal of noise induced by motion artifacts using a separate sensor to detect motion or using motion information derived from signals other than the physiological signal to be measured
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Surgery (AREA)
- Public Health (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Pathology (AREA)
- Veterinary Medicine (AREA)
- Optics & Photonics (AREA)
- Signal Processing (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physiology (AREA)
- Psychiatry (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
본 개시의 실시 예들은, 산소 포화도를 보정하는 전자 장치 및 이의 제어 방법에 관한 것이다.Embodiments of the present disclosure relate to an electronic device for correcting oxygen saturation and a control method thereof.
사용자들의 건강에 대한 관심이 증가함에 따라 사용자가 휴대하는 전자 장치를 통해 생체 신호를 측정하는 기술이 발전하고 있다. As users' interest in health increases, technology for measuring bio-signals through electronic devices carried by users is developing.
예를 들어, 전자 장치에 포함된 센서를 통해 심전도, 혈압, 맥박, 호흡수, 체온 및 산소 포화도 측정이 가능하다.For example, electrocardiogram, blood pressure, pulse rate, respiratory rate, body temperature, and oxygen saturation can be measured through sensors included in electronic devices.
펄스 옥시메트리(pulse oximetry)는 비침습적으로 산소 포화도를 측정할 수 있는 유용한 방법으로, 심박출에 의해 일시적으로 혈류량이 증가된 동맥혈이 두 파장에서 (RED, Infrared)에서 갖는 흡광도의 비율을 이용하여 산소 포화도를 측정할 수 있다.Pulse oximetry is a useful method to measure oxygen saturation noninvasively, using the ratio of absorbance of arterial blood whose blood flow is temporarily increased by cardiac ejection at two wavelengths (RED, Infrared). Oxygen saturation can be measured.
펄스 옥시메트리는 비침습적이라는 장점으로 사용자의 신체에 접촉되는 전자 장치(예: 웨어러블 장치)에 탑재되고 있다.Pulse oximetry is being installed in electronic devices (eg, wearable devices) that come into contact with the user's body due to its non-invasive advantage.
대부분의 웨어러블 장치는 펄스 옥시메트리 기능을 탑재하고 있으며, 웨어러블 장치에 탑재된 펄스 옥시메트리 기능을 지원하는 센서는 반사형 구조를 가지고 있다.Most wearable devices are equipped with a pulse oximetry function, and sensors supporting the pulse oximetry function mounted in the wearable device have a reflective structure.
의료 기기인 투과형 펄스 옥시메트리와 달리 반사형 펄스 옥시메트리는 두 파장에서 (RED, Infrared)의 경로 차이, 광학적 단락(optical shunt)과 같이 산소 포화도 측정의 오류 요소가 많다는 문제가 있다.Unlike transmission-type pulse oximetry, which is a medical device, reflection-type pulse oximetry has a problem in that there are many error factors in measuring oxygen saturation, such as a path difference between (RED and infrared) at two wavelengths and an optical shunt.
특히, 안정적인 산소 포화도 측정을 위해서는 안정적인 자세 유지가 필요한데, 수면 중에는 안정적인 자세를 유지하기가 어려우며, 수면 중 뒤척임에 의해, 측정 부위에 압력이 인가되거나, 심장과 측정 부위의 상대적인 위치, 신체와 센서(예: 펄스 옥시메트리 측정 센서) 사이의 들뜸으로 인해 광학적 단락이 발생하며, 이로 인해 측정된 산소 포화도에 오차가 발생할 수 있다.In particular, it is necessary to maintain a stable posture for stable oxygen saturation measurement. It is difficult to maintain a stable posture during sleep, and pressure is applied to the measurement area due to tossing and turning during sleep, or the relative position of the heart and the measurement area, the body and the sensor ( Excitation between pulse oximetry measuring sensors (e.g.) can cause an optical short circuit, which can lead to errors in the measured oxygen saturation.
본 개시는 오차가 포함된 산소 포화도를 보정하는 전자 장치 및 이의 제어 방법을 제공한다.The present disclosure provides an electronic device for correcting oxygen saturation including an error and a method for controlling the same.
다양한 실시 예에 따르면, 전자 장치는, 움직임을 감지하기 위한 제1 센서, 산소 포화도 측정을 위한 제2 센서, 메모리 및 상기 제1 센서, 상기 제2 센서 및 상기 메모리와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 제1 센서를 통해 설정된 값 이상의 움직임이 감지되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하고, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 상기 메모리에 저장된 산소 포화도 기준 값을 획득하고, 상기 움직임 감지 이전의 자세 유지 기간 동안 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments, an electronic device may include a first sensor for detecting motion, a second sensor for measuring oxygen saturation, a memory, and at least one sensor operatively connected to the first sensor, the second sensor, and the memory. and a processor, wherein the at least one processor checks whether a posture maintenance period before motion detection is equal to or longer than a predetermined period when a motion greater than a set value is detected through the first sensor, and the posture maintenance period before motion detection If the period is longer than the set period, an oxygen saturation reference value stored in the memory may be acquired, and an oxygen saturation value acquired through the second sensor during a posture maintenance period before the motion detection may be corrected based on the oxygen saturation reference value. there is.
다양한 실시 예에 따라, 전자 장치의 제어 방법은, 움직임을 감지하기 위한 제1 센서를 통해 설정된 값 이상의 움직임이 감지되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하는 동작, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 메모리에 저장된 산소 포화도 기준 값을 획득하는 동작 및 상기 움직임 감지 이전의 자세 유지 기간 동안 산소 포화도 측정을 위한 제2 센서를 통해 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a control method of an electronic device may include, when a movement equal to or greater than a set value is detected through a first sensor for detecting motion, determining whether a period of maintaining a posture prior to motion detection is greater than or equal to a set period of time, the motion If the posture maintenance period before detection is longer than the set period, the oxygen saturation value obtained through the operation of acquiring the oxygen saturation reference value stored in the memory and the oxygen saturation value obtained through the second sensor for measuring oxygen saturation during the posture maintenance period before the motion detection is described as An operation of correcting based on the oxygen saturation reference value may be included.
다양한 실시 예에 따라, 전자 장치는, 통신 모듈, 메모리 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 모듈을 통해 외부 전자 장치로부터 수신된 센싱 값을 기반으로 설정된 값 이상의 상기 외부 전자 장치의 움직임이 확인되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하고, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 상기 메모리에 저장된 산소 포화도 기준 값을 획득하고, 상기 움직임 감지 이전의 자세 유지 기간 동안 상기 외부 전자 장치로부터 수신된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments of the present disclosure, an electronic device includes a communication module, a memory, and at least one processor operatively connected to the communication module and the memory, and the at least one processor receives information from an external electronic device through the communication module. When the motion of the external electronic device is determined to be greater than or equal to a set value based on the received sensing value, it is determined whether the posture maintenance period before the motion detection is longer than a set period, and if the posture maintenance period before the motion detection is longer than a set period, An oxygen saturation reference value stored in the memory may be acquired, and an oxygen saturation value received from the external electronic device during a posture maintenance period prior to the motion detection may be corrected based on the oxygen saturation reference value.
본 개시의 다양한 실시 예에 따른 전자 장치는, 수면 중 뒤척임에 따라 전자 장치가 사용자의 신체에 눌리거나, 들뜸으로 인해 산소 포화도 측정에 오차가 발생되는 경우, 오차를 정상 범위로 보정하여 보다 정확한 수면 중 산소 포화도 값을 획득할 수 있다.In an electronic device according to various embodiments of the present disclosure, when an error occurs in measurement of oxygen saturation due to the electronic device being pressed against the user's body or lifting due to tossing and tossing during sleep, the electronic device corrects the error to a normal range to provide more accurate sleep. Oxygen saturation values can be obtained.
도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시 예에 따른 전자 장치의 간략한 구성을 설명하기 위한 도면이다.
도 3은 다양한 실시 예에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 흐름도이다.
도 4는 다양한 실시 예에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 도면이다.
도 5는 다양한 실시 예에 따라 자세 유지 기간에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 흐름도이다.
도 6은 다양한 실시 예에 따른 수면 자세에 따른 전자 장치의 방향을 설명하기 위한 도면이다.
도 7은 다양한 실시 예에 따른 전자 장치의 자세 인덱스 변경 동작을 설명하기 위한 흐름도이다.
도 8은 다양한 실시 예에 따른 전자 장치의 자세 인덱스 변경 동작을 설명하기 위한 도면이다.
도 9는 다양한 실시 예에 따라 시간에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 도면이다.
도 10a는 다양한 실시 예에 따른 전자 장치의 자세 유지 기간의 역치를 설정하는 동작을 설명하기 위한 도면이다.
도 10b는 다양한 실시 예에 따른 전자 장치의 자세 유지 기간의 역치를 설정하는 동작을 설명하기 위한 도면이다.1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a diagram for explaining a simple configuration of an electronic device according to various embodiments.
3 is a flowchart illustrating an oxygen saturation correction operation of an electronic device according to various embodiments of the present disclosure.
4 is a diagram for explaining an oxygen saturation correction operation of an electronic device according to various embodiments of the present disclosure.
5 is a flowchart illustrating an oxygen saturation correction operation of an electronic device according to a posture maintenance period according to various embodiments of the present disclosure.
6 is a diagram for explaining a direction of an electronic device according to a sleeping posture according to various embodiments of the present disclosure;
7 is a flowchart illustrating an operation of changing a posture index of an electronic device according to various embodiments.
8 is a diagram for explaining an operation of changing a posture index of an electronic device according to various embodiments.
9 is a diagram for explaining an oxygen saturation correction operation of an electronic device according to time according to various embodiments of the present disclosure;
10A is a diagram for explaining an operation of setting a threshold value for a posture maintenance period of an electronic device according to various embodiments.
10B is a diagram for explaining an operation of setting a threshold for a posture maintenance period of an electronic device according to various embodiments.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
The
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the
도 2는 다양한 실시 예에 따른 전자 장치의 간략한 구성을 설명하기 위한 도면이다.2 is a diagram for explaining a simple configuration of an electronic device according to various embodiments.
다양한 실시 예에 따라, 도 2를 참조하면, 전자 장치(101)(예: 도 1의 전자 장치(101))는 제1 센서(210)(예: 도 1의 센서 모듈(176)), 제2 센서(220)(예: 도 1의 센서 모듈(176)), 메모리(130)(예: 도 1의 메모리(130)) 및 프로세서(120)(예: 도 1의 프로세서(120))를 포함할 수 있다.According to various embodiments, referring to FIG. 2 , an electronic device 101 (eg, the
다양한 실시 예에 따라, 전자 장치(101)는 사용자의 신체에 장착되는 웨어러블 장치(예: 스마트 워치, 스마트 밴드, 스마트 링, 무선 이어폰, 스마트 안경)일 수 있다. 이하에서는 설명의 편의를 위해 전자 장치(101)가 웨어러블 장치인 것으로 설명하지만, 다양한 실시 예에 따라, 전자 장치(101)는 사용자의 신체에 장착되는 웨어러블 장치와 통신하는 단말 장치(예: 스마트폰) 또는 서버일 수도 있다.According to various embodiments, the
다양한 실시 예에 따라, 제1 센서(210)는 전자 장치(101)의 움직임을 감지할 수 있다. 다양한 실시 예에 따라, 제1 센서(210)는 전자 장치(101)의 속도, 가속도, 각속도, 각가속도 또는 중력에 대한 방향 변화 중 적어도 하나를 기반으로 전자 장치(101)의 움직임을 감지할 수 있다. 예를 들어, 제1 센서(210)는 가속도계(accelerometer), 자이로 센서(gyro sensor) 또는 중력 가속도 센서(gravitational acceleration sensor) 중 적어도 하나를 포함할 수 있다. 이에 한정되지 않고, 제1 센서(210)는 전자 장치(101)를 착용한 사용자의 자세(또는 움직임)를 감지할 수 있는 다양한 종류의 센서를 포함할 수 있다. 일 실시예에 따르면, 프로세서(120)는 가속도 센서의 가속도 정보(예: 3축(예: x, y, 및 z축)의 크기) 및/또는 전자 장치(101)의 변위가 변화함에 따른 기압 센서의 기압 데이터(예: 기압 그래디언트(gradient) 및 기압 p2p(peak2peak) 값)를 확인함에 기초하여, 사용자의 자세를 확인할 수 있다. 다양한 실시 예에 따라, 프로세서(120)는 제1 센서(210) 및/또는 제2 센서(220)로부터 획득되는 데이터의 조합에 기초하여, 사용자의 자세를 확인할 수도 있다.According to various embodiments, the
다양한 실시 예에 따라, 제2 센서(220)는 사용자의 신체에 접촉되어 산소 포화도를 측정할 수 있다. 예컨대, 제2 센서(220)(예컨대, 도 1의 센서 모듈(176))는 PPG 센서 또는 펄스 옥시메트리(pulse oxymetry) 중 적어도 하나를 포함할 수 있다.According to various embodiments, the
다양한 실시 예에 따라, 제2 센서(220)는 두 파장의 빛(예: RED, Infrared)을 발광하는 광원과 광원에서 방출된 후 사용자의 피부 또는 혈관에 일부 반사된 빛을 센싱하는 수광부(예: 광 다이오드)를 포함할 수 있다. 예를 들어, 제2 센서(220)는 동일한 또는 서로 다른 파장의 광을 각각 방출할 수 있는 복수의 광원을 이용하여 사용자의 신체 부위(예: 손가락 또는 손목에 위치한 혈관, 손목의 아래쪽 요골 동맥)에 광신호를 방사할 수 있고, 복수의 수광부를 통해 반사 혹은 투과되어 입사되는 빛의 양에 상응하는 광 전하를 축적하고, 축적된 광 전하에 따른 아날로그 전류 형태의 생체 신호를 디지털 신호로 변환할 수 있다. 제2 센서(220)는, 복수의 생체 정보, 예를 들어, 심박수, 혈중 산소 포화도, BIA신호, ECG신호 및 혈압 중 적어도 2개 이상의 생체 정보가 획득되도록 동작할 수 있다. 예를 들어, 제2 센서(220)는, 심박수, 혈중 산소 포화도, 및 BIA신호가 동시에 획득되도록 동작할 수 있다. 일 실시 예에 따라, 제2 센서(220)는, 레이저 다이오드(laser diode: LD) 및 이미지 센서(image sensor)를 포함할 수 있다. 일 실시 예에 따라, 제 2 센서(220)는, 복수의 생체 정보 각각을 획득하기 위한 복수의 센서들을 포함할 수 있다. 예를 들어, 제 2 센서(220)는, 맥박을 획득하기 위한 센서, 산소 포화도를 획득하기 위한 센서, 및 혈압을 획득하기 위한 센서와 같이, 복수의 생체 정보 각각을 획득하기 위한 독립된(또는 별개의) 센서들을 포함할 수 있다.According to various embodiments, the
다양한 실시 예에 따라, 메모리(130)에는 제1 센서(210)를 통해 획득되는 전자 장치(101)의 움직임과 관련된 센싱 값 또는 제2 센서(220)를 통해 획득되는 산소 포화도 값이 저장될 수 있다.According to various embodiments, a sensing value related to the movement of the
다양한 실시 예에 따라, 메모리(130)는 버퍼를 포함할 수 있다. 예를 들어, 전자 장치(101)는 제2 센서(220)로부터 획득되는 산소 포화도 값을 버퍼에 일시적으로 저장할 수 있다. According to various embodiments, the
다양한 실시 예에 따라, 프로세서(120)는 제1 센서(210), 제2 센서(220) 및 메모리(130)와 작동적으로 연결될 수 있다. 예를 들어, 프로세서(120)는 제1 센서(210), 제2 센서(220) 및 메모리(130)로부터 데이터를 획득, 처리 또는 저장 중 적어도 하나를 수행할 수 있다.According to various embodiments, the
다양한 실시 예에 따라, 프로세서(120)는 제1 센서(210)를 통해 설정된 값 이상의 움직임이 감지되면, 버퍼에 저장된 산소 포화도 값을 보정하고, 보정된 산소 포화도 값을 메모리(130)에 저장할 수 있다. 일 실시 예에 따라, 프로세서(220)는 버퍼의 크기에 제한이 있는 경우, 보정 완료 후, 버퍼를 초기화할 수도 있다. 일 실시 예에 따라, 프로세서(220)는, 주기적으로 메모리(130)에 저장된 데이터를 삭제할 수 있다. 예컨대, 프로세서(120)는, 일정 기간(예: 3개월) 이상 메모리에 저장된 산소 포화도 데이터를 삭제할 수 있다. 예컨대, 프로세서(120)는, 기저장된 산소 포화도 데이터들이 지정된 개수 이상이 되면 가장 먼저 저장된 데이터부터 순차적으로 삭제할 수 있다. 이상에서는 전자 장치(101)에 제1 센서(210) 및 제2 센서(220)가 포함된 것으로 기재하였지만, 다양한 실시 예에 따라, 전자 장치(101)는 웨어러블 장치인 외부 전자 장치와 통신하는 단말 장치 또는 서버일 수 있다. According to various embodiments, the
다양한 실시 예에 따라, 전자 장치(101)가 웨어러블 장치와 통신하는 단말 장치 또는 서버인 경우, 전자 장치(101)는 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 외부 전자 장치로부터 외부 전자 장치의 움직임과 관련된 센싱 값 또는 산소 포화도 값을 수신하고, 수신된 산소 포화도 값을 보정할 수도 있다. 예를 들어, 전자 장치(101)는 외부 전자 장치로부터 수신된 센싱 값을 기반으로 설정된 값 이상의 외부 전자 장치의 움직임이 확인되면, 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인할 수 있다. 다양한 실시 예에 따라, 전자 장치(101)는 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 메모리에 저장된 산소 포화도 기준 값을 획득하고, 움직임 감지 이전의 자세 유지 기간 동안 외부 전자 장치로부터 수신된 산소 포화도 값을 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments, when the
다양한 실시 예에 따라, 전자 장치(101)가 웨어러블 장치와 통신하는 단말 장치 또는 서버인 경우에도, 센서를 통해 전자 장치(101)의 움직임을 센싱하는 동작 및 산소 포화도 값을 측정하는 동작 이외에는 이하 도 3 내지 도 11의 동작을 통해 산소 포화도 값을 보정할 수 있다.According to various embodiments, even when the
도 3은 다양한 실시 예에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 흐름도이다.3 is a flowchart illustrating an oxygen saturation correction operation of an electronic device according to various embodiments of the present disclosure.
다양한 실시 예에 따라, 도 3을 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 1의 프로세서(120), 도 2의 전자 장치(101) 또는 도 2의 프로세서(120))는 310 동작에서, 제1 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제1 센서(210))를 통해 설정된 값 이상의 움직임이 감지되면, 움직임 감지 이전의 자세 유지 기간이 설정된 값 이상인지 확인할 수 있다.According to various embodiments, referring to FIG. 3 , an electronic device (eg, the
다양한 실시 예에 따라, 전자 장치는 제1 센서를 통해 직교 좌표계 또는 구 좌표계를 기반으로 한 센싱 값을 획득할 수 있다. 다양한 실시 예에 따라, 전자 장치는 제1 센서를 통해 직교 좌표계를 기반으로 한 센싱 값이 획득되면, 직교 좌표계를 기반으로 한 센싱 값을 구 좌표계를 기반으로 한 센싱 값으로 변환할 수 있다. According to various embodiments, the electronic device may acquire a sensing value based on a Cartesian coordinate system or a spherical coordinate system through the first sensor. According to various embodiments, when a sensing value based on a Cartesian coordinate system is obtained through the first sensor, the electronic device may convert the sensing value based on the Cartesian coordinate system into a sensing value based on a spherical coordinate system.
다양한 실시 예에 따라, 전자 장치는 구 좌표계를 기반으로 한 센싱 값의 변화가 설정된 값 이상이면, 설정된 값 이상의 움직임으로 감지할 수 있다. 다양한 실시 예에 따른 전자 장치의 움직임 감지 동작은 이하 도 7을 참조하여 설명하기로 한다.According to various embodiments of the present disclosure, when a change in a sensing value based on a spherical coordinate system is greater than or equal to a set value, the electronic device may detect movement equal to or greater than the set value. A motion detection operation of an electronic device according to various embodiments will be described below with reference to FIG. 7 .
다양한 실시 예에 따라, 전자 장치는 설정된 값 이상의 움직임이 감지되면, 메모리에 저장된 자세 인덱스를 증가시킬 수 있다. 예를 들어, 움직임 이전의 자세 인덱스가 메모리에 저장된 상태에서, 설정된 값 이상의 움직임이 감지되면, 전자 장치는 사용자의 자세가 변경된 것으로 확인하고, 저장된 자세 인덱스에 1을 더하고, 1이 더해진 자세 인덱스를 메모리에 저장할 수 있다. 다양한 실시 예에 따라, 자세 인덱스는 사용자의 수면 중 취하는 복수의 자세를 구분하기 위한 태그(tag)일 수 있다.According to various embodiments of the present disclosure, the electronic device may increase the posture index stored in the memory when a movement greater than a set value is detected. For example, in a state where a posture index prior to motion is stored in memory and a motion greater than a set value is detected, the electronic device determines that the user's posture has changed, adds 1 to the stored posture index, and returns the posture index to which 1 was added. can be stored in memory. According to various embodiments, the posture index may be a tag for distinguishing a plurality of postures taken by the user while sleeping.
다양한 실시 예에 따라, 전자 장치는 자세 인덱스를 증가시킨 후 설정된 기간 동안 설정된 값 이상의 움직임이 감지되어도 증가된 자세 인덱스를 유지할 수 있다. 예를 들어, 수면 중 사용자가 뒤척임에 따라 전자 장치가 지속적으로 움직이는 경우, 전자 장치는 설정된 값 이상의 움직임이 감지된 이후 설정된 시간(예: 3초) 동안 한번 이상 설정된 값 이상의 움직임이 감지되어도 자세 인덱스를 유지하여 자세 인덱스가 불필요하게 증가되는 것을 방지할 수 있다.According to various embodiments, after increasing the posture index, the electronic device may maintain the increased posture index even if a movement greater than the set value is detected for a set period of time. For example, if the electronic device continuously moves as the user rolls over during sleep, the electronic device detects a motion greater than the set value once or more for a set time (eg, 3 seconds) after detecting a motion greater than the set value, the electronic device indexes the posture even if the motion exceeds the set value is detected. It is possible to prevent the posture index from being unnecessarily increased by maintaining .
다양한 실시 예에 따라 자세 인덱스를 증가시키는 동작 및 설정된 기간 동안 자세 인덱스를 유지하는 동작은 이하 도 5, 도 7 및 도 8을 참조하여 설명하기로 한다.An operation of increasing a posture index and an operation of maintaining a posture index for a set period of time according to various embodiments will be described below with reference to FIGS. 5, 7, and 8 .
다양한 실시 예에 따라, 320 동작에서, 전자 장치는 자세 유지 기간이 설정된 기간 이상이면, 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(130))에 저장된 기측정된 산소 포화도 기준 값을 획득할 수 있다.According to various embodiments of the present disclosure, in
다양한 실시 예에 따라, 자세 유지 기간의 설정된 기간은, 산소 포화도 측정 전에 미리 설정된 값으로, 제조사 또는 사용자에 의해 설정될 수 있다. According to various embodiments, the set period of the posture maintenance period may be set by a manufacturer or a user as a preset value prior to measurement of oxygen saturation.
다양한 실시 예에 따라, 자세 유지 기간의 설정된 기간은, 서로 다른 길이의 복수의 기간 중 각 기간 내 측정된 산소 포화도 값의 최대 값과 산소 포화도 기준 값의 차이가 설정된 범위 이내인 최소 기간으로 획득될 수 있다. According to various embodiments, the set period of the posture maintenance period may be obtained as a minimum period in which a difference between the maximum value of the oxygen saturation value measured in each period and the oxygen saturation reference value is within a set range among a plurality of periods of different lengths. can
다양한 실시 예에 따라, 자세 유지 기간의 설정된 기간을 획득하는 동작은 이하 도 10a 및 도 10b를 참조하여 설명하기로 한다.According to various embodiments, an operation of obtaining a set period of a posture maintenance period will be described with reference to FIGS. 10A and 10B.
다양한 실시 예에 따라, 메모리에 저장된 산소 포화도 기준 값은, 수면 중 산소 포화도 측정 동작 전, 안정 상태에서 기측정된 산소 포화도 값의 최대 값일 수 있다. 예를 들어, 안정 상태는 사용자가 비수면 및 호흡이 안정된 상태이고, 제2 센서가 정상 동작하는 상황을 의미할 수 있다. 다양한 실시 예에 따라, 산소 포화도 기준 값은, 안정 상태에서 기측정된 산소 포화도 값의 평균 값일 수도 있다. 다양한 실시 예에 따라, 전자 장치는, 전자 장치와 작동적으로(operatively) 연결된 외부 전자 장치를 통해 안정 상태에서 기 저장된 산소 포화도 데이터를 수신할 수 있다. 다른 예를 들어, 전자 장치는 동일한 계정으로 연결된 서버를 통해 기 저장된 산소 포화도 데이터를 수신할 수도 있다.According to various embodiments, the oxygen saturation reference value stored in the memory may be a maximum value of oxygen saturation values pre-measured in a resting state before measuring oxygen saturation during sleep. For example, the stable state may mean a situation in which the user is in a non-sleep and respiration stable state and the second sensor operates normally. According to various embodiments, the oxygen saturation reference value may be an average value of previously measured oxygen saturation values in a stable state. According to various embodiments, the electronic device may receive pre-stored oxygen saturation data in a stable state through an external electronic device operatively connected to the electronic device. For another example, the electronic device may receive pre-stored oxygen saturation data through a server connected to the same account.
다양한 실시 예에 따라, 330 동작에서, 전자 장치는 자세 유지 기간 동안 제2 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제2 센서(220))를 통해 획득된 산소 포화도 값을 산소 포화도 기준 값을 기반으로 보정할 수 있다. According to various embodiments, in
다양한 실시 예에 따라, 메모리는 버퍼를 포함하고, 전자 장치는 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 버퍼에 저장할 수 있다. 다양한 실시 예에 따라, 버퍼는 데이터를 일시적으로 저장할 수 있다.According to various embodiments of the present disclosure, the memory may include a buffer, and the electronic device may store an oxygen saturation value obtained during a posture maintenance period prior to motion detection in the buffer. According to various embodiments, the buffer may temporarily store data.
다양한 실시 예에 따라, 전자 장치는 설정된 값 이상의 움직임이 감지되면, 버퍼에 저장된 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 산소 포화도 기준 값을 기반으로 보정할 수 있다. 다양한 실시 예에 따라, 전자 장치는 보정된 산소 포화도 값을 메모리에 저장할 수 있다. According to various embodiments of the present disclosure, when a motion greater than a set value is detected, the electronic device may correct an oxygen saturation value stored in a buffer and obtained during a posture maintenance period prior to motion detection based on an oxygen saturation reference value. According to various embodiments, the electronic device may store the corrected oxygen saturation value in a memory.
다양한 실시 예에 따라, 전자 장치는 설정된 값 이상의 움직임이 감지된 이후 제2 센서를 통해 획득된 산소 포화도 값을 버퍼에 저장할 수 있다. 다양한 실시 예에 따라, 설정된 값 이상의 새로운 움직임이 감지되면, 전자 장치는 버퍼에 저장된 새로운 움직임이 감지되기 이전의 산소 포화도 값에 대한 보정 동작을 수행할 수 있다. According to various embodiments of the present disclosure, the electronic device may store the oxygen saturation value obtained through the second sensor in a buffer after a movement greater than a set value is detected. According to various embodiments of the present disclosure, when a new motion equal to or greater than a set value is detected, the electronic device may perform a correction operation for an oxygen saturation value stored in a buffer before the new motion is detected.
다양한 실시 예에 따라, 전자 장치는 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값의 최대 값을 획득할 수 있다. 예를 들어, 전자 장치는 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값의 최대 값을 산소 포화도 값의 베이스 라인으로 획득할 수 있다. 다양한 실시 예에 따라, 전자 장치는 움직임 감지 이전의 자세 유지 기간을 복수의 구간으로 나누고, 각 구간의 산소 포화도 값의 최대 값을 베이스 라인으로 획득할 수 있다.According to various embodiments of the present disclosure, the electronic device may obtain a maximum value of oxygen saturation obtained during a posture maintenance period prior to motion detection. For example, the electronic device may obtain the maximum value of the oxygen saturation value obtained during the posture maintenance period before motion detection as the base line of the oxygen saturation value. According to various embodiments of the present disclosure, the electronic device may divide the posture maintenance period before motion detection into a plurality of sections, and obtain the maximum oxygen saturation value of each section as a baseline.
다양한 실시 예에 따라, 전자 장치는 최대 값과 산소 포화도 기준 값의 차이를 기반으로 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 보정할 수 있다.According to various embodiments of the present disclosure, the electronic device may correct an oxygen saturation value obtained during a posture maintenance period prior to motion detection based on a difference between a maximum value and an oxygen saturation reference value.
다양한 실시 예에 따라, 전자 장치는 움직임 감지 이전의 자세 유지 기간을 복수의 구간으로 나누고, 각 구간의 산소 포화도 값의 평균 값을 베이스 라인으로 획득하고, 획득된 평균 값과 산소 포화도 기준 값의 차이를 기반으로 자세 유지 기간 동안 획득된 산소 포화도 값을 보정할 수도 있다. 다양한 실시 예에 따라, 산소 포화도 값의 평균 값이 베이스 라인으로 획득되는 경우, 산소 포화도 기준 값도 안정 상태에서 측정된 산소 포화도 값의 평균 값일 수 있다. According to various embodiments, the electronic device divides a posture maintenance period before motion detection into a plurality of sections, obtains an average value of oxygen saturation values in each section as a baseline, and obtains a difference between the obtained average value and the oxygen saturation reference value. An oxygen saturation value acquired during the posture maintenance period may be corrected based on . According to various embodiments, when an average value of oxygen saturation values is obtained as a baseline, the oxygen saturation reference value may also be an average value of oxygen saturation values measured in a stable state.
다양한 실시 예에 따라, 전자 장치는 움직임 감지 이전의 자세 유지 기간이 설정된 기간 미만이면, 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 무시할 수 있다. According to various embodiments of the present disclosure, when the posture maintenance period before motion detection is less than a set period, the electronic device may ignore the oxygen saturation value obtained during the posture maintenance period before motion detection.
다양한 실시 예에 따라, 시간에 따른 산소 포화도 보정 동작은 이하 도 9를 참조하여 설명하기로 한다.According to various embodiments, an oxygen saturation correction operation according to time will be described with reference to FIG. 9 .
도 4는 다양한 실시 예에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 도면이다.4 is a diagram for explaining an oxygen saturation correction operation of an electronic device according to various embodiments of the present disclosure.
다양한 실시 예에 따라, 도 4를 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 1의 프로세서(120), 도 2의 전자 장치(101) 또는 도 2의 프로세서(120))는 전자 장치의 움직임을 측정하기 위한 제1 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제1 센서(210))를 통해 전자 장치의 움직임과 관련된 센싱 값(420)을 획득하고, 산소 포화도를 측정하기 위한 제2 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제2 센서(220))를 통해 산소 포화도 값(410)을 획득할 수 있다.According to various embodiments, referring to FIG. 4 , an electronic device (eg, the
다양한 실시 예에 따라, 전자 장치는 전자 장치의 움직임과 관련된 센싱 값(420)이 설정된 값 이상 변하는 지점(430, 431)을 감지할 수 있다.According to various embodiments, the electronic device may detect
다양한 실시 예에 따라, 전자 장치는 전자 장치의 움직임과 관련된 센싱 값(420)이 설정된 값 이상 변하는 지점(430, 431)에서 전자 장치를 착용한 사용자의 자세가 변경된 것으로 확인하고, 전자 장치의 움직임과 관련된 센싱 값(420)이 설정된 값 이상 변하는 지점(430, 431)의 센싱 값이 유지되는 구간은 사용자의 자세가 유지되는 것으로 확인할 수 있다.According to various embodiments, the electronic device determines that the posture of the user wearing the electronic device has changed at
다양한 실시 예에 따라, 전자 장치의 움직임이 감지된 제1 지점(430) 및 제2 지점(431) 사이에 제2 센서를 통해 획득된 산소 포화도 값(412)은 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(130))에 저장된 안정 상태의 산소 포화도 기준 값(411)에 비해 오프셋(413)이 있음을 확인할 수 있다.According to various embodiments, the
다양한 실시 예에 따라, 전자 장치는 전자 장치의 움직임과 관련된 센싱 값(420)이 설정된 값 이상 변하는 제2 지점(431)이 감지되면, 제1 지점(430)과 제2 지점(431) 사이의 산소 포화도 값(412)을 산소 포화도 기준 값(411)을 기반으로 보정하여, 보정된 산소 포화도 값(414)을 획득할 수 있다. According to various embodiments of the present disclosure, when the electronic device detects a
이로 인해 수면 중 뒤척임에 따라 전자 장치가 사용자의 신체에 눌리거나, 들뜸으로 인해 산소 포화도 측정에 오차가 발생되는 경우, 오차를 정상 범위로 보정하여 보다 정확한 수면 중 산소 포화도 값을 획득할 수 있다.As a result, if an error occurs in oxygen saturation measurement due to the electronic device being pressed against the user's body due to tossing or lifting during sleep, a more accurate oxygen saturation value during sleep can be obtained by correcting the error to a normal range.
도 5는 다양한 실시 예에 따라 자세 유지 기간에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 흐름도이다.5 is a flowchart illustrating an oxygen saturation correction operation of an electronic device according to a posture maintenance period according to various embodiments of the present disclosure.
다양한 실시 예에 따라, 도 5를 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 1의 프로세서(120), 도 2의 전자 장치(101) 또는 도 2의 프로세서(120))는, 510 동작에서 움직임 측정 및 산소 포화도를 측정할 수 있다.According to various embodiments, referring to FIG. 5 , an electronic device (eg, the
다양한 실시 예에 따라, 전자 장치는 제1 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제1 센서(210))를 통해 전자 장치의 움직임을 측정하고, 제2 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제2 센서(220))를 통해 산소 포화도 값을 측정할 수 있다. According to various embodiments, the electronic device measures the movement of the electronic device through a first sensor (eg, the
다양한 실시 예에 따라, 전자 장치는 움직임 측정 값 및 산소 포화도 값을 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(130), 버퍼)에 저장할 수 있다.According to various embodiments, the electronic device may store the motion measurement value and the oxygen saturation value in a memory (eg, the
다양한 실시 예에 따라, 520 동작에서, 전자 장치는 전자 장치가 설정된 값 이상 움직였는지 여부를 확인할 수 있다.According to various embodiments, in
다양한 실시 예에 따라, 전자 장치는 제1 센서를 통해 획득된 센싱 값이 설정된 값 이상인 경우, 사용자의 자세가 변경된 것으로 확인할 수 있다. 예를 들어, 센싱 값을 기반으로 전자 장치의 방향이 변경된 경우, 전자 장치는 사용자의 자세가 변경된 것으로 확인할 수 있다. According to various embodiments of the present disclosure, when a sensing value obtained through the first sensor is greater than or equal to a set value, the electronic device may determine that the user's posture has changed. For example, when the direction of the electronic device is changed based on the sensed value, the electronic device may determine that the user's posture has changed.
다양한 실시 예에 따른 사용자의 수면 자세에 따른 전자 장치의 방향은 이하 도 6을 참조하여 설명하기로 한다. The orientation of an electronic device according to a user's sleeping posture according to various embodiments will be described below with reference to FIG. 6 .
다양한 실시 예에 따라, 설정된 값 이상의 움직임이 확인되지 않으면(520 동작-아니오), 전자 장치는 510 동작으로 돌아가, 움직임 측정 및 산소 포화도 측정을 계속 수행할 수 있다. According to various embodiments of the present disclosure, if movement greater than a set value is not confirmed (Operation 520 - No), the electronic device may return to
다양한 실시 예에 따라, 설정된 값 이상의 움직임이 확인되면(520-예), 530 동작에서, 전자 장치는 자세 인덱스를 증가시킬 수 있다.According to various embodiments of the present disclosure, when a motion equal to or greater than a set value is confirmed (520-Yes), the electronic device may increase the posture index in
다양한 실시 예에 따라, 전자 장치는 자세 인덱스를 증가시킨 후 설정된 기간 동안 설정된 값 이상의 움직임이 감지되어도 증가된 자세 인덱스를 유지할 수 있다. 예를 들어, 수면 중 사용자가 뒤척임에 따라 전자 장치가 지속적으로 움직이는 경우, 전자 장치는 설정된 값 이상의 움직임이 감지된 이후 설정된 시간(예: 3초) 동안 한번 이상 설정된 값 이상의 움직임이 감지되어도 자세 인덱스를 유지하여 자세 인덱스가 불필요하게 증가되는 것을 방지할 수 있다.According to various embodiments, after increasing the posture index, the electronic device may maintain the increased posture index even if a movement greater than the set value is detected for a set period of time. For example, if the electronic device continuously moves as the user rolls over during sleep, the electronic device detects a motion greater than the set value once or more for a set time (eg, 3 seconds) after detecting a motion greater than the set value, the electronic device indexes the posture even if the motion exceeds the set value is detected. It is possible to prevent the posture index from being unnecessarily increased by maintaining .
다양한 실시 예에 따라, 540 동작에서, 전자 장치는 이전 자세 인덱스 유지 기간이 설정된 기간 이상인지 여부를 확인할 수 있다. 예를 들어, 전자 장치는 움직임에 따라 자세 인덱스가 증가되면, 자세 인덱스가 증가되기 이전의 인덱스 유지 기간이 설정된 기간 이상인지 여부를 확인할 수 있다. According to various embodiments, in
다양한 실시 예에 따라, 자세 유지 기간의 설정된 기간은, 산소 포화도 측정 전에 미리 설정된 값으로, 제조사 또는 사용자에 의해 설정될 수 있다. 다양한 실시 예에 따라, 자세 유지 기간의 설정된 기간을 획득하는 동작은 이하 도 10a 및 도 10b를 참조하여 설명하기로 한다.According to various embodiments, the set period of the posture maintenance period may be set by a manufacturer or a user as a preset value prior to measurement of oxygen saturation. According to various embodiments, an operation of obtaining a set period of a posture maintenance period will be described with reference to FIGS. 10A and 10B.
다양한 실시 예에 따라, 이전 자세 인덱스 유지 기간이 설정된 기간 이상이면(540 동작-예), 전자 장치는 550 동작에서, 저장된 산소 포화도 기준 값을 기반으로 오프셋을 보정할 수 있다. 다양한 실시 예에 따라, 전자 장치는 움직임 감지 이전 자세가 설정된 기간 이상인 경우에만 산소 포화도 보정 동작을 수행할 수 있다. According to various embodiments, if the previous posture index maintenance period is equal to or longer than the set period (Operation 540-Yes), the electronic device may correct the offset based on the stored oxygen saturation reference value in
예를 들어, 전자 장치는 이전 자세 인덱스 유지 기간이 설정된 기간이 설정된 기간 이상이면, 전자 장치는 버퍼에 저장된, 이전 자세 인덱스 유지 기간 동안 획득된 산소 포화도 값을 기반으로 베이스 라인을 획득할 수 있다. 다양한 실시 예에 따라, 전자 장치는 이전 자세 인덱스 유지 기간을 복수의 구간으로 나누고, 각 구간의 산소 포화도 값의 최대 값 또는 평균 값을 베이스 라인으로 획득할 수 있다.For example, if the period during which the previous posture index maintenance period is set is equal to or longer than the set period, the electronic device may obtain a baseline based on an oxygen saturation value stored in a buffer and acquired during the previous posture index maintenance period. According to various embodiments, the electronic device may divide the previous posture index maintenance period into a plurality of sections, and obtain a maximum value or an average value of oxygen saturation values in each section as a baseline.
다양한 실시 예에 따라, 전자 장치는 메모리에 저장된 산소 포화도 기준 값을 기반으로 베이스 라인과 산소 포화도 기준 값의 오프셋을 획득할 수 있다. 예를 들어, 산소 포화도 기준 값은 안정 상태의 산소 포화도의 최대 값 또는 평균 값일 수 있다. 예를 들어, 오프셋은 베이스 라인과 산소 포화도 기준 값의 차이일 수 있다. 다양한 실시 예에 따라, 오프셋은 산소 포화도 기준 값에 대한 베이스 라인의 비율(예: 베이스 라인을 산소 포화도 기준 값으로 나눈 값)일 수도 있다.According to various embodiments, the electronic device may obtain an offset between a baseline and an oxygen saturation reference value based on an oxygen saturation reference value stored in a memory. For example, the oxygen saturation reference value may be a maximum value or an average value of oxygen saturation in a stable state. For example, the offset may be a difference between the baseline and the oxygen saturation reference value. According to various embodiments, the offset may be a ratio of the baseline to the oxygen saturation reference value (eg, a value obtained by dividing the baseline by the oxygen saturation reference value).
다양한 실시 예에 따라, 전자 장치는 이전 자세 인덱스 유지 기간 동안 획득된 산소 포화도 값에 획득된 오프셋을 반영하여 이전 자세 인덱스 유지 기간 동안 획득된 산소 포화도 값을 보정할 수 있다. 예를 들어, 전자 장치는 이전 자세 인덱스 유지 기간 동안 획득된 산소 포화도 값에 오프셋을 더하거나 빼서 산소 포화도 값을 보정할 수 있다. 다양한 실시 예에 따라, 전자 장치는 산소 포화도 값에 오프셋을 곱하여 산소 포화도 값을 보정할 수도 있다.According to various embodiments, the electronic device may correct the oxygen saturation value obtained during the previous posture index maintenance period by reflecting the acquired offset to the oxygen saturation value obtained during the previous posture index maintenance period. For example, the electronic device may correct the oxygen saturation value by adding or subtracting an offset from the oxygen saturation value obtained during the previous posture index maintenance period. According to various embodiments, the electronic device may correct the oxygen saturation value by multiplying the oxygen saturation value by an offset.
다양한 실시 예에 따라, 이전 자세 인덱스 유지 기간이 설정된 기간 미만이면(540 동작-아니오), 전자 장치는 산소 포화도 보정 동작을 종료할 수 있다. 다양한 실시 예에 따라, 전자 장치는 이전 자세 인덱스 기간 동안 측정된 산소 포화도 값을 무시할 수 있다. According to various embodiments, if the previous posture index maintenance period is less than the set period (Operation 540 - No), the electronic device may end the oxygen saturation correction operation. According to various embodiments, the electronic device may ignore the oxygen saturation value measured during the previous attitude index period.
도 6은 다양한 실시 예에 따른 수면 자세에 따른 전자 장치의 방향을 설명하기 위한 도면이다.6 is a diagram for explaining a direction of an electronic device according to a sleeping posture according to various embodiments of the present disclosure;
다양한 실시 예에 따라, 도 6을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(101))의 방향은 수면 자세와 연관될 수 있다.According to various embodiments, referring to FIG. 6 , the direction of an electronic device (eg, the
예를 들어, 수면 자세가 바로 누운 자세(a)(supine position)인 경우, 전자 장치 방향은, 전자 장치 내의 3차원 좌표계에서 중력 방향이 -Z 축과 일치되며, Z 축과의 각도인 세타(theta)는 180도이고, X 축과의 각도인 파이(psi)는 0도일 수 있다. For example, when the sleeping posture is the supine position (a), the direction of the electronic device is such that the direction of gravity in the 3-dimensional coordinate system within the electronic device coincides with the -Z axis, and the angle with the Z axis is theta ( theta) is 180 degrees, and psi, which is an angle with the X axis, may be 0 degrees.
다양한 실시 예에 따라, 수면 자세가 엎드린 자세(prone position)인 경우, 전자 장치의 방향은 바로 누운 자세인 경우와 유사하나, 전자 장치의 방향을 지속적으로 센싱함으로써, 방향의 변화를 감지함을 통해 전자 장치는 바로 누운 자세와 엎드린 자세를 구별할 수 있다.According to various embodiments of the present disclosure, when the sleeping posture is a prone position, the direction of the electronic device is similar to that of the lying posture, but the direction of the electronic device is continuously sensed, thereby detecting a change in direction. The electronic device can distinguish between a supine position and a prone position.
다양한 실시 예에 따라, 수면 자세가 왼쪽으로 누운 자세(b)(left lateral position)인 경우, 전자 장치의 방향은, 전자 장치 내의 3차원 좌표계에서 중력 방향이 Z 축과 일치되며, 세타는 0도이고, 파이는 0도일 수 있다.According to various embodiments of the present disclosure, when the sleeping posture is a left lateral position (b), the direction of the electronic device corresponds to the direction of gravity in the 3D coordinate system within the electronic device and the Z axis, and theta is 0 degrees. , and pi may be 0 degrees.
다양한 실시 예에 따라, 수면 자세가 오른쪽으로 누운 자세(c)(right lateral position)인 경우, 전자 장치의 방향은, 전자 장치 내의 3차원 좌표계에서 중력 방향이 어느 축과도 일치되지 않으며, 세타는 120도이고, 파이는 30도일 수 있다.According to various embodiments, when the sleeping posture is the right lateral position (c), the direction of the electronic device does not coincide with any axis in the 3D coordinate system in the electronic device, and theta is 120 degrees, and pi may be 30 degrees.
다양한 실시 예에 따라 수면 자세와 전자 장치의 방향은 상술한 내용에 한정되지 않으며, 이와 같이 수면 자세의 변화에 따라 전자 장치의 방향이 변화되므로, 전자 장치는 전자 장치의 방향의 변화가 감지되면 수면 자세가 변화된 것으로 확인할 수 있다. 다양한 실시 예에 따라, 전자 장치는 움직임 이전의 수면 자세, 전자 장치의 방향 및 움직임 이후의 전자 장치의 방향을 기반으로 움직임 이후의 수면 자세를 확인할 수도 있다. According to various embodiments, the sleeping posture and the direction of the electronic device are not limited to the above description, and since the direction of the electronic device changes according to the change in the sleeping posture, the electronic device sleeps when a change in the direction of the electronic device is detected. It can be seen that the attitude has changed. According to various embodiments, the electronic device may check a sleeping posture after movement based on a sleeping posture before movement, a direction of the electronic device, and a direction of the electronic device after movement.
도 7은 다양한 실시 예에 따른 전자 장치의 자세 인덱스 변경 동작을 설명하기 위한 흐름도이다.7 is a flowchart illustrating an operation of changing a posture index of an electronic device according to various embodiments.
다양한 실시 예에 따라, 도 7을 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 1의 프로세서(120), 도 2의 전자 장치(101) 또는 도 2의 프로세서(120))는 710 동작에서, 제1 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제1 센서(210))를 통해 전자 장치의 움직임을 측정할 수 있다. 예를 들어, 전자 장치는 제1 센서(예: 가속도 센서)를 통해 직교 좌표계를 기반으로 한 움직임을 측정할 수 있다. 예를 들어, 전자 장치는 X축 방향으로의 움직임, Y축 방향으로의 움직임 및 Z축 방향으로의 움직임을 측정할 수 있다. According to various embodiments, referring to FIG. 7 , an electronic device (eg, the
다양한 실시 예에 따라, 전자 장치는 720 동작에서 자세 정보를 추출할 수 있다. 예를 들어, 전자 장치는 직교 좌표계를 기반으로 한 센싱 값을 구 좌표계를 기반으로 한 센싱 값으로 변경할 수 있다. 다양한 실시 예에 따라, 전자 장치는 X축 방향으로의 움직임, Y축 방향으로의 움직임 및 Z축 방향으로의 움직임을 기반으로, 전자 장치 내의 3차원 좌표계 내에서 Z축 과의 각도인 세타(theta) 및 X축과의 각도인 파이(psi)를 획득할 수 있다. 다양한 실시 예에 따라, 전자 장치는 구 좌표계를 기반으로 한 센싱 값을 기반으로 전자 장치의 방향을 확인할 수 있다. According to various embodiments, the electronic device may extract posture information in
다양한 실시 예에 따라, 전자 장치는 전자 장치의 방향을 기반으로 사용자의 수면 자세를 확인할 수 있다. 예를 들어, 전자 장치는 움직임 이전의 수면 자세, 전자 장치의 방향 및 움직임 이후의 전자 장치의 방향을 기반으로 움직임 이후의 수면 자세를 확인할 수 있다. According to various embodiments, the electronic device may check the sleeping posture of the user based on the direction of the electronic device. For example, the electronic device may check a sleeping posture after movement based on a sleeping posture before movement, a direction of the electronic device, and a direction of the electronic device after movement.
다양한 실시 예에 따라, 전자 장치가 제1 센서를 통해 구 좌표계를 기반으로 한 센싱 값을 획득하는 경우, 직교 좌표계를 기반으로 한 센싱 값을 구 좌표계를 기반으로 한 센싱 값으로 변경하는 동작은 생략될 수 있다.According to various embodiments, when the electronic device obtains a sensing value based on a spherical coordinate system through the first sensor, an operation of changing the sensing value based on the Cartesian coordinate system to a sensing value based on the spherical coordinate system is omitted. It can be.
다양한 실시 예에 따라, 730 동작에서, 전자 장치는 파이의 변화량(Abs(△psi))이 역치 값 이상인지 여부를 확인할 수 있다. 예를 들어, 역치는 파이의 변화량에 대해 미리 설정된 값일 수 있다. According to various embodiments, in
다양한 실시 예에 따라, 파이의 변화량이 설정된 값 미만이면(730 동작-아니오), 740 동작에서, 전자 장치는 자세 인덱스를 유지할 수 있다. 예를 들어, 전자 장치는 파이의 변화량이 설정된 값 미만이면, 자세가 변하지 않은 것으로 확인하고, 자세 인덱스를 유지할 수 있다.According to various embodiments of the present disclosure, when the change amount of pie is less than a set value (Operation 730-No), the electronic device may maintain the posture index in
다양한 실시 예에 따라, 파이의 변화량이 설정된 값 이상이면(730 동작-예), 750 동작에서, 전자 장치는 세타의 변화량(Abs(△theta))이 역치 값 이상인지 여부를 확인할 수 있다. 예를 들어, 역치는 세타의 변화량에 대해 미리 설정된 값일 수 있다.According to various embodiments, if the change in pi is greater than or equal to the set value (operation 730 - Yes), in
다양한 실시 예에 따라, 세타의 변화량이 설정된 값 미만이면(750 동작-아니오), 740 동작에서, 전자 장치는 자세 인덱스를 유지할 수 있다. 예를 들어, 전자 장치는 세타의 변화량이 설정된 값 미만이면, 자세가 변하지 않은 것으로 확인하고, 자세 인덱스를 유지할 수 있다.According to various embodiments, if the change in theta is less than the set value (Operation 750 - No), in
다양한 실시 예에 따라, 세타의 변화량이 설정된 값 이상이면(750 동작-예), 760 동작에서, 전자 장치는 불응기 경과 여부를 확인할 수 있다. 예를 들어, 불응기는 수면 중 사용자가 뒤척임에 따라 전자 장치가 지속적으로 움직이는 경우, 불필요하게 자세 인덱스가 증가함을 방지하기 위해 설정된 기간(예: 3초)일 수 있다. According to various embodiments, if the change in theta is equal to or greater than the set value (Operation 750 - Yes), the electronic device may determine whether the refractory period has elapsed in
다양한 실시 예에 따라, 파이의 변화량을 확인하는 730 동작이 세타의 변화량을 확인하는 750 동작 이후에 수행될 수도 있다. 다양한 실시 예에 다라, 파이의 변화량 및 세타의 변화량 이외에도, 각 축의 벡터 값, 피치(pitch), 롤(roll), 요(yaw) 값을 기반으로 자세의 변화를 확인할 수도 있다.According to various embodiments,
다양한 실시 예에 따라, 불응기가 경과하지 않은 경우(760-아니오), 740 동작에서, 전자 장치는 자세 인덱스를 유지할 수 있다. 예를 들어, 자세 인덱스가 증가한 이후 불응기 내인 경우에는 설정된 값 이상의 세타 변화량 및 파이 변화량이 감지되어도, 전자 장치는 자세 인덱스를 증가시키지 않고 유지할 수 있다. According to various embodiments, when the refractory period has not elapsed (760 - No), in
다양한 실시 예에 따라, 불응기가 경과한 경우(760-예), 770 동작에서, 전자 장치는 자세 인덱스를 증가시킬 수 있다. 예를 들어, 전자 장치는 저장된 자세 인덱스 값에 1을 더한 값을 자세 인덱스로 업데이트할 수 있다. According to various embodiments, when the refractory period has elapsed (760-Yes), in
도 8은 다양한 실시 예에 따른 전자 장치의 자세 인덱스 변경 동작을 설명하기 위한 도면이다. 예를 들어, 도 8은 전자 장치의 불응기의 동작을 도시한 것이다.8 is a diagram for explaining an operation of changing a posture index of an electronic device according to various embodiments. For example, FIG. 8 illustrates the operation of a refractory period of an electronic device.
다양한 실시 예에 따라, 도 8을 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 1의 프로세서(120), 도 2의 전자 장치(101) 또는 도 2의 프로세서(120))는 측정된 세타(theta) 및 파이(psi) 값이 연속적으로 변경되는 경우에도, 자세 인덱스(position index)를 19에서 20으로 증가시킨 이후 설정된 기간 동안(810)은 자세 인덱스를 유지하며, 설정된 기간이 지나면, 자세 인덱스를 20에서 21로 증가시킬 수 있다. 다양한 실시 예에 따라, 자세 인덱스를 21로 증가시킨 이후에도 설정된 기간(810) 동안은 세타와 파이 값이 설정된 값 이상 변하더라도, 자세 인덱스를 유지할 수 있다. According to various embodiments, referring to FIG. 8 , an electronic device (eg, the
이로 인해, 사용자가 연속적으로 움직여 전자 장치의 방향이 연속적으로 변경되는 경우, 불필요한 자세 인덱스의 증가를 방지할 수 있다. Accordingly, when the user continuously moves and the direction of the electronic device continuously changes, an unnecessary increase in the posture index can be prevented.
도 9는 다양한 실시 예에 따라 시간에 따른 전자 장치의 산소 포화도 보정 동작을 설명하기 위한 도면이다.9 is a diagram for describing an oxygen saturation correction operation of an electronic device according to time according to various embodiments of the present disclosure.
다양한 실시 예에 따라, 도 9(a)를 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 1의 프로세서(120), 도 2의 전자 장치(101) 또는 도 2의 프로세서(120))는 자세 인덱스가 11인 상태에서 산소 포화도(SpO2) 값(예: 95%)을 측정할 수 있다. 예를 들어, 측정된 산소 포화도 값은 버퍼에 저장될 수 있다. According to various embodiments, referring to FIG. 9(a) , an electronic device (eg, the
다양한 실시 예에 따라, 전자 장치는 자세 인덱스가 10에서 11로 변경되는 시점에 자세 인덱스가 10인 기간 동안 측정된 산소 포화도 값을 보정하여 보정된 산소 포화도 값(910)을 획득할 수 있다. 예를 들어, 자세 인덱스가 10인 기간 동안 측정된 산소 포화도 값이 일정하고, 보정된 산소 포화도 값(910)이 93%이므로, 산소 포화도 기준 값은 93%일 수 있다.According to various embodiments, the electronic device may acquire the corrected
다양한 실시 예에 따라, 도 9(b)를 참조하면, 전자 장치는 t1인 시점에 감지된 전자 장치의 움직임에 기반하여 자세 인덱스를 11에서 12로 변경하고, 자세 인덱스가 11인 기간 동안 측정된 산소 포화도 값의 보정 여부를 확인할 수 있다. 예를 들어, 전자 장치는 움직임 이전 자세 인덱스가 유지되는 기간이 설정된 기간(예: 5구간) 이상이면 산소 포화도 값을 보정하는 것으로 확인할 수 있다.According to various embodiments, referring to FIG. 9(b) , the electronic device changes the posture index from 11 to 12 based on the motion of the electronic device detected at time t1, and the posture index is 11. It is possible to check whether the oxygen saturation value has been corrected. For example, the electronic device may check that the oxygen saturation value is corrected if the period during which the pre-movement posture index is maintained is longer than a set period (eg, 5 sections).
다양한 실시 예에 따라, 자세 인덱스가 11인 기간은 2구간으로, 설정된 자세 유지 기간인 5구간보다 짧은 바, 전자 장치는 측정된 산소 포화도 값을 보정하지 않고 무시(920)할 수 있다. According to various embodiments, the period in which the posture index is 11 is 2 sections, which is shorter than the set posture maintenance period of 5 sections, so the electronic device may ignore (920) the measured oxygen saturation value without correcting it.
다양한 실시 예에 따라, 도 9(c)를 참조하면, 전자 장치는 자세 인덱스가 12로 변경된 t1 이후 현재인 t2까지 측정된 산소 포화도 값(930)을 버퍼에 저장할 수 있다. According to various embodiments, referring to FIG. 9(c) , the electronic device may store the
다양한 실시 예에 따라, 도 9(d)를 참조하면, 전자 장치는 t2 이후에도 자세 인덱스가 12로 유지되므로, 자세 인덱스가 12로 유지되는 기간 동안 측정된 산소 포화도 값(940)을 버퍼에 저장할 수 있다. According to various embodiments, referring to FIG. 9(d) , since the posture index is maintained at 12 even after t2, the electronic device may store the
다양한 실시 예에 따라, 전자 장치는 t3인 시점에 감지된 전자 장치의 움직임에 기반하여 자세 인덱스를 12에서 13으로 변경하고, 자세 인덱스가 12 기간 동안 측정된 산소 포화도 값의 보정 여부를 확인할 수 있다.According to various embodiments, the electronic device may change the posture index from 12 to 13 based on the movement of the electronic device detected at time t3, and check whether the oxygen saturation value measured for the 12 period is corrected for the posture index. .
다양한 실시 예에 따라, 자세 인덱스가 12인 기간은, 설정된 자세 유지 기간인 5구간보다 긴 바, 전자 장치는 자세 인덱스가 12인 기간 동안 측정된 산소 포화도 값(940)을 산소 포화도 기준 값(예: 93%)을 기반으로 보정을 수행할 수 있다. According to various embodiments, a period in which the posture index is 12 is longer than a set posture maintenance period of 5 sections, and the electronic device converts the
다양한 실시 예에 따라, 도 9(e)를 참조하면, 전자 장치는 자세 인덱스가 12인 기간에 측정된 산소 포화도 값의 최대 값인 80%을 안정된 상태인 것으로 확인하고, 80%을 산소 포화도 기준 값 93%과 대응되도록 보정하여, 보정된 산소 포화도 값(950)을 획득할 수 있다.According to various embodiments, referring to FIG. 9(e), the electronic device determines that 80%, the maximum value of the oxygen saturation value measured in a period in which the posture index is 12, is in a stable state, and 80% is the oxygen saturation reference value. Corrected
도 10a는 다양한 실시 예에 따른 전자 장치의 자세 유지 기간의 역치를 설정하는 동작을 설명하기 위한 도면이다. 예를 들어, 자세 유지 기간의 역치는 전자 장치의 제조시에 설정될 수 있으며, 사용자에 의해 설정될 수도 있다. 다양한 실시 예에 따라, 도 10a는 수면 무호흡 환자의 산소 포화도 측정 값에 무빙 윈도우(moving window) 방식을 적용하여 획득한 그래프이다. 다양한 실시 예에 따라, 윈도우의 길이는 자세 유지 기간의 역치의 후보일 수 있다.10A is a diagram for explaining an operation of setting a threshold value for a posture maintenance period of an electronic device according to various embodiments. For example, the threshold of the posture maintenance period may be set when the electronic device is manufactured, or may be set by the user. According to various embodiments, FIG. 10A is a graph obtained by applying a moving window method to an oxygen saturation measurement value of a sleep apnea patient. According to various embodiments, the length of the window may be a candidate for a threshold of the posture maintenance period.
다양한 실시 예에 따라, 도 10a를 참조하면, 윈도우(window) 길이에 따른 윈도우 내 산소 포화도(SpO2)의 최대 값을 나타내는 히스토그램 및 윈도우 내에서의 산소 포화도의 최대 값과 안정 상태의 산소 포화도 값의 차이(Movmax(SpO2,t))를 나타낸 그래프를 확인할 수 있다. 다양한 실시 예에 따라, 윈도우의 길이는 1초(s), 30초, 60초, 5분(m), 10분, 20분 또는 30분일 수 있다.According to various embodiments, referring to FIG. 10A , a histogram showing the maximum value of oxygen saturation (SpO 2 ) within the window according to the length of the window and the maximum value of oxygen saturation within the window and the oxygen saturation value in a stable state. You can check the graph showing the difference (Movmax(SpO2,t)). According to various embodiments, the length of the window may be 1 second (s), 30 seconds, 60 seconds, 5 minutes (m), 10 minutes, 20 minutes, or 30 minutes.
다양한 실시 예에 따라, 히스토그램의 x축은 산소 포화도이고, y축은 해당 산소 포화도가 최대 값인 윈도우의 개수 또는 전체 윈도우의 개수에 대한 해당 산소 포화도가 최대 값인 윈도우의 비율일 수 있다.According to various embodiments, the x-axis of the histogram may be the oxygen saturation, and the y-axis may be the number of windows having the maximum oxygen saturation or a ratio of windows having the maximum oxygen saturation to the total number of windows.
다양한 실시 예에 따라, 히스토그램을 참조하면, 윈도우의 길이가 길수록 윈도우 내의 산소 포화도 값의 최대 값이 수면 무호흡에 의한 간헐적 산소 포화도 값의 떨어짐은 없고, 안정 상태의 산소 포화도(1010) 이상인 분포를 확인할 수 있다. 이를 참조하면, 윈도우의 길이가 길수록 수면 무호흡에 의해 떨어진 산소 포화도 값은 무시됨을 확인할 수 있다. 또한, 자세 유지 기간의 역치가 길면, 자세가 일정하게 유지된 경우에도 측정된 산소 포화도 값이 보정 없이 무시되는 데이터가 많아질 수 있다.According to various embodiments, referring to the histogram, as the length of the window increases, a distribution in which the maximum value of the oxygen saturation value within the window does not drop in the intermittent oxygen saturation value due to sleep apnea and is equal to or greater than the stable state oxygen saturation (1010) can be confirmed. can Referring to this, it can be seen that the longer the length of the window, the lower the oxygen saturation value due to sleep apnea is ignored. In addition, if the threshold of the posture maintenance period is long, even when the posture is maintained constant, there may be a large amount of data in which the measured oxygen saturation value is ignored without correction.
다양한 실시 예에 따라, 윈도우의 길이가 짧은 경우에는 윈도우 내에서의 산소 포화도의 최대 값과 안정 상태의 산소 포화도 값의 차이(Movmax(SpO2,t))를 참조하면, 윈도우 내 산소 포화도의 최대 값과, 안정 상태의 산소 포화도(1010)의 차이가 윈도우마다 다른 값을 가져, 일정하지 않음을 확인할 수 있다. 이를 참조하면, 윈도우의 길이가 너무 짧은 경우, 윈도우마다 오프셋이 달라 보정으로 인해 오히려 부정확한 산소 포화도 값이 획득될 수가 있다.According to various embodiments, when the length of the window is short, referring to the difference between the maximum value of oxygen saturation within the window and the value of oxygen saturation in a stable state (Movmax(SpO2,t)), the maximum value of oxygen saturation within the window It can be confirmed that the difference between the
다양한 실시 예에 따라, 도 10b에 도시된 바와 같이, 자세 유지 기간의 역치는 복수의 윈도우의 길이 중 측정된 산소 포화도 값의 최대 값과 상기 산소 포화도 기준 값의 차이가 설정된 범위 이내인 최소 기간으로 설정될 수 있다. According to various embodiments, as shown in FIG. 10B, the threshold of the posture maintenance period is the minimum period in which the difference between the maximum value of the measured oxygen saturation value and the oxygen saturation reference value among the lengths of a plurality of windows is within a set range. can be set.
도 10b는 다양한 실시 예에 따른 전자 장치의 자세 유지 기간의 역치를 설정하는 동작을 설명하기 위한 도면이다. 예를 들어, 도 10b는, 1인에서 획득된 도 10a 윈도우 내에서의 산소 포화도의 최대 값과 안정 상태의 산소 포화도 값의 차이의 최소 값을 719명으로부터 얻어 윈도우의 길이에 따라 그래프로 작성한 것이다. 다양한 실시 예에 따라, 윈도우가 30분일 때의 산소 포화도 값의 최대 값을 안정 상태의 산소 포화도 값으로 가정할 수도 있다.10B is a diagram for explaining an operation of setting a threshold for a posture maintenance period of an electronic device according to various embodiments. For example, FIG. 10B shows the minimum value of the difference between the maximum value of oxygen saturation within the window of FIG. 10A obtained from 1 person and the minimum value of the oxygen saturation value in a stable state obtained from 719 people and prepared as a graph according to the length of the window. . According to various embodiments, the maximum oxygen saturation value when the window is 30 minutes may be assumed as the stable oxygen saturation value.
다양한 실시 예에 따라, 도 10b를 참조하면, 윈도우의 길이가 30초로 짧은 경우, 윈도우의 최대 값을 베이스 라인으로 간주하면, 안정 상태의 산소 포화도 값과 평균 6% 차이가 남을 확인할 수 있다. 이러한 차이는 윈도우의 길이가 늘어날수록 감소하며, 산소 포화도의 측정 오차를 2%로 감안하면, 5분 내지 10분의 윈도우의 길이가 자세 유지 기간의 역치로 적합함을 확인할 수 있다. 다양한 실시 예에 따라, 수면 자세가 변한 뒤, 5분 내지 10분 이상 자세가 유지되었다면, 해당 구간의 최대 값은 안정 상태에 대응되는 베이스 라인으로 볼 수 있다. According to various embodiments, referring to FIG. 10B , when the length of the window is as short as 30 seconds, when the maximum value of the window is considered as the baseline, it can be confirmed that an average difference of 6% from the oxygen saturation value in the stable state remains. This difference decreases as the length of the window increases, and considering the measurement error of oxygen saturation as 2%, it can be confirmed that the length of the window of 5 to 10 minutes is suitable as the threshold for the posture maintenance period. According to various embodiments, if the posture is maintained for 5 to 10 minutes or more after the sleeping posture is changed, the maximum value of the corresponding section may be regarded as a baseline corresponding to a stable state.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(101))는, 움직임을 감지하기 위한 제1 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제1 센서(210)), 산소 포화도 측정을 위한 제2 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 제2 센서(220)), 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(130)) 및 상기 제1 센서, 제2 센서 및 상기 메모리와 작동적으로 연결된 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(120))를 포함하고, 상기 적어도 하나의 프로세서는, 상기 제1 센서를 통해 설정된 값 이상의 움직임이 감지되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하고, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 상기 메모리에 저장된 산소 포화도 기준 값을 획득하고, 상기 움직임 감지 이전의 자세 유지 기간 동안 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments, an electronic device (eg, the
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 제1 센서를 통해 직교 좌표계를 기반으로 한 센싱 값을 획득하고, 상기 직교 좌표계를 기반으로 한 센싱 값을 기반으로 구 좌표계를 기반으로 한 센싱 값을 획득하고, 상기 구 좌표계를 기반으로 한 센싱 값의 변화가 상기 설정된 값 이상이면, 상기 설정된 값 이상의 움직임으로 감지할 수 있다.According to various embodiments, the at least one processor obtains a sensing value based on a Cartesian coordinate system through the first sensor, and performs sensing based on a spherical coordinate system based on the sensing value based on the Cartesian coordinate system. A value is acquired, and if a change in the sensing value based on the spherical coordinate system is greater than or equal to the set value, it may be detected as a movement greater than or equal to the set value.
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 설정된 값 이상의 움직임이 감지되면, 상기 메모리에 저장된 자세 인덱스를 증가시키고, 상기 자세 인덱스를 증가시킨 후 설정된 기간 동안 상기 설정된 값 이상의 움직임이 감지되어도 증가된 자세 인덱스를 유지할 수 있다.According to various embodiments of the present disclosure, the at least one processor increases a posture index stored in the memory when a motion greater than the set value is detected, and even if a motion greater than the set value is detected for a set period of time after increasing the posture index. An increased posture index can be maintained.
다양한 실시 예에 따라, 상기 설정된 기간은, 서로 다른 길이의 복수의 기간 중 각 기간 내 측정된 산소 포화도 값의 최대 값과 상기 산소 포화도 기준 값의 차이가 설정된 범위 이내인 최소 기간으로 획득될 수 있다.According to various embodiments, the set period may be obtained as a minimum period in which a difference between the maximum oxygen saturation value measured in each period and the oxygen saturation reference value is within a set range among a plurality of periods having different lengths. .
다양한 실시 예에 따라, 상기 메모리는 버퍼를 포함하고, 상기 적어도 하나의 프로세서는, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 버퍼에 저장하고, 상기 설정된 값 이상의 움직임이 감지되면, 상기 버퍼에 저장된 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments of the present disclosure, the memory includes a buffer, and the at least one processor stores an oxygen saturation value obtained during a posture maintenance period before motion detection in the buffer, and when a motion greater than or equal to the set value is detected. , The oxygen saturation value obtained during the posture maintenance period before the motion detection stored in the buffer may be corrected based on the oxygen saturation reference value.
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 설정된 값 이상의 움직임이 감지된 이후 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 버퍼에 저장할 수 있다.According to various embodiments, the at least one processor may store the oxygen saturation value obtained through the second sensor in the buffer after a movement equal to or greater than the set value is detected.
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값의 최대 값을 획득하고, 상기 최대 값과 상기 산소 포화도 기준 값의 차이를 기반으로 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 보정할 수 있다.According to various embodiments of the present disclosure, the at least one processor obtains a maximum value of oxygen saturation values obtained during a posture maintenance period before detecting the motion, and performs the movement based on a difference between the maximum value and the oxygen saturation reference value. An oxygen saturation value obtained during a posture maintenance period prior to detection may be corrected.
다양한 실시 예에 따라, 상기 산소 포화도 기준 값은, 안정 상태에서 기측정된 산소 포화도 값의 최대 값일 수 있다. According to various embodiments, the oxygen saturation reference value may be a maximum value of previously measured oxygen saturation values in a stable state.
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 미만이면, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 무시할 수 있다.According to various embodiments of the present disclosure, the at least one processor may ignore the oxygen saturation value obtained during the posture maintenance period before the motion detection when the posture maintenance period before the motion detection is less than a set period.
다양한 실시 예에 따라, 전자 장치의 제어 방법은, 움직임을 감지하기 위한 제1 센서를 통해 설정된 값 이상의 움직임이 감지되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하는 동작, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 메모리에 저장된 산소 포화도 기준 값을 획득하는 동작 및 상기 움직임 감지 이전의 자세 유지 기간 동안 산소 포화도 측정을 위한 제2 센서를 통해 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a control method of an electronic device may include, when a movement equal to or greater than a set value is detected through a first sensor for detecting motion, determining whether a period of maintaining a posture prior to motion detection is greater than or equal to a set period of time, the motion If the posture maintenance period before detection is longer than the set period, the oxygen saturation value obtained through the operation of acquiring the oxygen saturation reference value stored in the memory and the oxygen saturation value obtained through the second sensor for measuring oxygen saturation during the posture maintenance period before the motion detection is described as An operation of correcting based on the oxygen saturation reference value may be included.
다양한 실시 예에 따라, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하는 동작은, 상기 제1 센서를 통해 직교 좌표계를 기반으로 한 센싱 값을 획득하고, 상기 직교 좌표계를 기반으로 한 센싱 값을 기반으로 구 좌표계를 기반으로 한 센싱 값을 획득하고, 상기 구 좌표계를 기반으로 한 센싱 값의 변화가 상기 설정된 값 이상이면, 상기 설정된 값 이상의 움직임으로 감지할 수 있다.According to various embodiments of the present disclosure, the operation of determining whether the period of maintaining the posture before the motion detection is equal to or longer than a set period of time may include obtaining a sensing value based on the Cartesian coordinate system through the first sensor, and performing sensing based on the Cartesian coordinate system. Based on the value, a sensing value based on a spherical coordinate system is acquired, and if a change in the sensing value based on the spherical coordinate system is greater than or equal to the set value, a movement greater than or equal to the set value may be detected.
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 설정된 값 이상의 움직임이 감지되면, 상기 메모리에 저장된 자세 인덱스를 증가시키는 동작 및 상기 자세 인덱스를 증가시킨 후 설정된 기간 동안 상기 설정된 값 이상의 움직임이 감지되어도 증가된 자세 인덱스를 유지하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, the at least one processor, when detecting a motion greater than the set value, increases the posture index stored in the memory, and detects a motion greater than the set value for a set period of time after increasing the posture index. Even if it is, an operation of maintaining the increased posture index may be further included.
다양한 실시 예에 따라, 상기 설정된 기간은, 서로 다른 길이의 복수의 기간 중 각 기간 내 측정된 산소 포화도 값의 최대 값과 상기 산소 포화도 기준 값의 차이가 설정된 범위 이내인 최소 기간으로 획득될 수 있다.According to various embodiments, the set period may be obtained as a minimum period in which a difference between the maximum oxygen saturation value measured in each period and the oxygen saturation reference value is within a set range among a plurality of periods having different lengths. .
다양한 실시 예에 따라, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 메모리에 포함된 버퍼에 저장하는 동작을 더 포함하고, 상기 보정하는 동작은, 상기 설정된 값 이상의 움직임이 감지되면, 상기 버퍼에 저장된 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments of the present disclosure, the method may further include storing an oxygen saturation value obtained during a posture maintenance period prior to motion detection in a buffer included in the memory, and the correcting operation may be performed when a motion greater than or equal to the set value is detected. , The oxygen saturation value obtained during the posture maintenance period before the motion detection stored in the buffer may be corrected based on the oxygen saturation reference value.
다양한 실시 예에 따라, 상기 설정된 값 이상의 움직임이 감지된 이후 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 버퍼에 저장하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include storing an oxygen saturation value obtained through the second sensor in the buffer after a motion equal to or greater than the set value is detected.
다양한 실시 예에 따라, 상기 보정하는 동작은, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값의 최대 값을 획득하고, 상기 최대 값과 상기 산소 포화도 기준 값의 차이를 기반으로 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 보정할 수 있다.According to various embodiments of the present disclosure, the correcting operation may include obtaining a maximum value of oxygen saturation values obtained during a posture maintenance period prior to the motion detection, and detecting the motion based on a difference between the maximum value and the oxygen saturation reference value. An oxygen saturation value obtained during a previous posture maintenance period may be corrected.
다양한 실시 예에 따라, 상기 산소 포화도 기준 값은, 안정 상태에서 기측정된 산소 포화도 값의 최대 값일 수 있다. According to various embodiments, the oxygen saturation reference value may be a maximum value of previously measured oxygen saturation values in a stable state.
다양한 실시 예에 따라, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 미만이면, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 무시하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, if the posture maintenance period before the motion detection is less than a set period, an operation of ignoring the oxygen saturation value obtained during the posture maintenance period before the motion detection may be further included.
다양한 실시 예에 따라, 전자 장치는, 통신 모듈, 메모리 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 모듈을 통해 외부 전자 장치로부터 수신된 센싱 값을 기반으로 설정된 값 이상의 상기 외부 전자 장치의 움직임이 확인되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하고, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 상기 메모리에 저장된 산소 포화도 기준 값을 획득하고, 상기 움직임 감지 이전의 자세 유지 기간 동안 상기 외부 전자 장치로부터 수신된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정할 수 있다.According to various embodiments of the present disclosure, an electronic device includes a communication module, a memory, and at least one processor operatively connected to the communication module and the memory, and the at least one processor receives information from an external electronic device through the communication module. When the motion of the external electronic device is determined to be greater than or equal to a set value based on the received sensing value, it is determined whether the posture maintenance period before the motion detection is longer than a set period, and if the posture maintenance period before the motion detection is longer than a set period, An oxygen saturation reference value stored in the memory may be acquired, and an oxygen saturation value received from the external electronic device during a posture maintenance period prior to the motion detection may be corrected based on the oxygen saturation reference value.
다양한 실시 예에 따라, 상기 적어도 하나의 프로세서는, 상기 설정된 값 이상의 상기 외부 전자 장치의 움직임이 확인되면, 상기 메모리에 저장된 자세 인덱스를 증가시키고, 상기 자세 인덱스를 증가시킨 후 설정된 기간 동안 상기 설정된 값 이상의 상기 외부 전자 장치의 움직임이 감지되어도 증가된 자세 인덱스를 유지할 수 있다.According to various embodiments of the present disclosure, when the movement of the external electronic device equal to or greater than the set value is confirmed, the at least one processor increases a posture index stored in the memory, and increases the posture index to the set value for a set period of time. Even if the movement of the external electronic device is detected, the increased posture index may be maintained.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg,
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component among the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
Claims (20)
움직임을 감지하기 위한 제1 센서;
산소 포화도 측정을 위한 제2 센서;
메모리; 및
상기 제1 센서, 상기 제2 센서 및 상기 메모리와 작동적으로 연결된 적어도 하나의 프로세서;를 포함하고,
상기 적어도 하나의 프로세서는,
상기 제1 센서를 통해 설정된 값 이상의 움직임이 감지되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하고,
상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 상기 메모리에 저장된 산소 포화도 기준 값을 획득하고,
상기 움직임 감지 이전의 자세 유지 기간 동안 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하도록 설정된 전자 장치.
In electronic devices,
a first sensor for detecting movement;
a second sensor for measuring oxygen saturation;
Memory; and
at least one processor operatively coupled with the first sensor, the second sensor, and the memory;
The at least one processor,
When a motion greater than a set value is detected through the first sensor, it is determined whether a period of maintaining the posture before the motion detection is greater than or equal to a set period;
Obtaining an oxygen saturation reference value stored in the memory when the posture maintenance period before the motion detection is longer than a set period,
An electronic device configured to correct an oxygen saturation value obtained through the second sensor during a posture maintenance period before motion detection based on the oxygen saturation reference value.
상기 적어도 하나의 프로세서는,
상기 제1 센서를 통해 직교 좌표계를 기반으로 한 센싱 값을 획득하고,
상기 직교 좌표계를 기반으로 한 센싱 값을 기반으로 구 좌표계를 기반으로 한 센싱 값을 획득하고,
상기 구 좌표계를 기반으로 한 센싱 값의 변화가 상기 설정된 값 이상이면, 상기 설정된 값 이상의 움직임으로 감지하는 전자 장치.
According to claim 1,
The at least one processor,
Obtaining a sensing value based on an orthogonal coordinate system through the first sensor,
Obtaining a sensing value based on a spherical coordinate system based on a sensing value based on the Cartesian coordinate system,
If the change in the sensing value based on the spherical coordinate system is greater than or equal to the set value, the electronic device detects a movement greater than or equal to the set value.
상기 적어도 하나의 프로세서는,
상기 설정된 값 이상의 움직임이 감지되면, 상기 메모리에 저장된 자세 인덱스를 증가시키고,
상기 자세 인덱스를 증가시킨 후 설정된 기간 동안 상기 설정된 값 이상의 움직임이 감지되어도 증가된 자세 인덱스를 유지하는 전자 장치.
According to claim 1,
The at least one processor,
When a motion greater than the set value is detected, a posture index stored in the memory is increased,
An electronic device that maintains the increased posture index even if a motion greater than the set value is detected for a set period of time after increasing the posture index.
상기 설정된 기간은,
서로 다른 길이의 복수의 기간 중 각 기간 내 측정된 산소 포화도 값의 최대 값과 상기 산소 포화도 기준 값의 차이가 설정된 범위 이내인 최소 기간으로 획득되는 것인 전자 장치.
According to claim 1,
The set period is
The electronic device according to claim 1 , wherein a difference between a maximum oxygen saturation value measured in each period and the oxygen saturation reference value among a plurality of periods having different lengths is obtained as a minimum period within a set range.
상기 메모리는 버퍼를 포함하고,
상기 적어도 하나의 프로세서는,
상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 버퍼에 저장하고,
상기 설정된 값 이상의 움직임이 감지되면, 상기 버퍼에 저장된 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하는 전자 장치.
According to claim 1,
The memory includes a buffer,
The at least one processor,
Storing an oxygen saturation value obtained during a posture maintenance period before motion detection in the buffer;
The electronic device corrects an oxygen saturation value obtained during a posture maintenance period prior to the motion detection stored in the buffer based on the oxygen saturation reference value when a motion greater than the set value is detected.
상기 적어도 하나의 프로세서는,
상기 설정된 값 이상의 움직임이 감지된 이후 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 버퍼에 저장하는 전자 장치.
According to claim 5,
The at least one processor,
An electronic device that stores the oxygen saturation value obtained through the second sensor in the buffer after a motion equal to or greater than the set value is detected.
상기 적어도 하나의 프로세서는,
상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값의 최대 값을 획득하고,
상기 최대 값과 상기 산소 포화도 기준 값의 차이를 기반으로 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 보정하는 전자 장치.
According to claim 1,
The at least one processor,
Obtaining a maximum value of oxygen saturation values obtained during a posture maintenance period before motion detection;
An electronic device that corrects an oxygen saturation value obtained during a posture maintenance period prior to motion detection based on a difference between the maximum value and the oxygen saturation reference value.
상기 산소 포화도 기준 값은,
안정 상태에서 기측정된 산소 포화도 값의 최대 값인 전자 장치.
According to claim 1,
The oxygen saturation reference value is,
An electronic device that is the maximum value of pre-measured oxygen saturation in a steady state.
상기 적어도 하나의 프로세서는,
상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 미만이면, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 무시하는 전자 장치.
According to claim 1,
The at least one processor,
The electronic device ignoring the oxygen saturation value obtained during the posture maintenance period before the motion detection when the posture maintenance period before the motion detection is less than a set period.
움직임을 감지하기 위한 제1 센서를 통해 설정된 값 이상의 움직임이 감지되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하는 동작;
상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 메모리에 저장된 산소 포화도 기준 값을 획득하는 동작; 및
상기 움직임 감지 이전의 자세 유지 기간 동안 산소 포화도 측정을 위한 제2 센서를 통해 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하는 동작;을 포함하는 전자 장치의 제어 방법.
In the control method of an electronic device,
When a motion greater than a set value is detected through a first sensor for detecting motion, checking whether a period of maintaining the posture before the motion detection is longer than a set period;
obtaining an oxygen saturation reference value stored in a memory when the period of maintaining the posture before the motion detection is equal to or longer than a set period; and
and correcting, based on the oxygen saturation reference value, an oxygen saturation value acquired through a second sensor for measuring oxygen saturation during a posture maintenance period prior to motion detection.
상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하는 동작은,
상기 제1 센서를 통해 직교 좌표계를 기반으로 한 센싱 값을 획득하고,
상기 직교 좌표계를 기반으로 한 센싱 값을 기반으로 구 좌표계를 기반으로 한 센싱 값을 획득하고,
상기 구 좌표계를 기반으로 한 센싱 값의 변화가 상기 설정된 값 이상이면, 상기 설정된 값 이상의 움직임으로 감지하는 전자 장치의 제어 방법.
According to claim 10,
The operation of checking whether the posture maintenance period before the motion detection is longer than the set period,
Obtaining a sensing value based on a Cartesian coordinate system through the first sensor,
Obtaining a sensing value based on a spherical coordinate system based on a sensing value based on the Cartesian coordinate system,
If the change in the sensing value based on the spherical coordinate system is greater than or equal to the set value, detecting a motion greater than or equal to the set value.
상기 설정된 값 이상의 움직임이 감지되면, 상기 메모리에 저장된 자세 인덱스를 증가시키는 동작; 및
상기 자세 인덱스를 증가시킨 후 설정된 기간 동안 상기 설정된 값 이상의 움직임이 감지되어도 증가된 자세 인덱스를 유지하는 동작;을 더 포함하는 전자 장치의 제어 방법.
According to claim 10,
increasing a posture index stored in the memory when a motion equal to or greater than the set value is detected; and
After increasing the posture index, maintaining the increased posture index even if a motion greater than the set value is detected for a set period of time.
상기 설정된 기간은,
서로 다른 길이의 복수의 기간 중 각 기간 내 측정된 산소 포화도 값의 최대 값과 상기 산소 포화도 기준 값의 차이가 설정된 범위 이내인 최소 기간으로 획득되는 것인 전자 장치의 제어 방법.
According to claim 10,
The set period is
A control method of an electronic device according to claim 1 , wherein a difference between a maximum oxygen saturation value measured in each period and the oxygen saturation reference value among a plurality of periods having different lengths is obtained as a minimum period within a set range.
상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 메모리에 포함된 버퍼에 저장하는 동작;을 더 포함하고,
상기 보정하는 동작은,
상기 설정된 값 이상의 움직임이 감지되면, 상기 버퍼에 저장된 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하는 전자 장치의 제어 방법.
According to claim 10,
Storing the oxygen saturation value obtained during the posture maintenance period before the motion detection in a buffer included in the memory;
The correcting operation is
and correcting, based on the oxygen saturation reference value, an oxygen saturation value obtained during a posture maintenance period prior to the motion detection, stored in the buffer, when a motion greater than the set value is detected.
상기 설정된 값 이상의 움직임이 감지된 이후 상기 제2 센서를 통해 획득된 산소 포화도 값을 상기 버퍼에 저장하는 동작;을 더 포함하는 전자 장치의 제어 방법.
According to claim 14,
The control method of the electronic device further comprising: storing the oxygen saturation value obtained through the second sensor in the buffer after a motion equal to or greater than the set value is detected.
상기 보정하는 동작은,
상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값의 최대 값을 획득하고,
상기 최대 값과 상기 산소 포화도 기준 값의 차이를 기반으로 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 보정하는 전자 장치의 제어 방법.
According to claim 11,
The correcting operation is
Obtaining a maximum value of oxygen saturation values obtained during a posture maintenance period before motion detection;
A control method of an electronic device for correcting an oxygen saturation value obtained during a posture maintenance period before motion detection based on a difference between the maximum value and the oxygen saturation reference value.
상기 산소 포화도 기준 값은,
안정 상태에서 기측정된 산소 포화도 값의 최대 값인 전자 장치의 제어 방법.
According to claim 10,
The oxygen saturation reference value is,
A control method of an electronic device that is the maximum value of the oxygen saturation value measured in a steady state.
상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 미만이면, 상기 움직임 감지 이전의 자세 유지 기간 동안 획득된 산소 포화도 값을 무시하는 동작;을 더 포함하는 전자 장치의 제어 방법.
According to claim 10,
and ignoring the oxygen saturation value obtained during the posture maintenance period before the motion detection if the posture maintenance period before the motion detection is less than the set period.
통신 모듈;
메모리; 및
상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 적어도 하나의 프로세서;를 포함하고,
상기 적어도 하나의 프로세서는,
상기 통신 모듈을 통해 외부 전자 장치로부터 수신된 센싱 값을 기반으로 설정된 값 이상의 상기 외부 전자 장치의 움직임이 확인되면, 상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상인지 확인하고,
상기 움직임 감지 이전의 자세 유지 기간이 설정된 기간 이상이면, 상기 메모리에 저장된 산소 포화도 기준 값을 획득하고,
상기 움직임 감지 이전의 자세 유지 기간 동안 상기 외부 전자 장치로부터 수신된 산소 포화도 값을 상기 산소 포화도 기준 값을 기반으로 보정하도록 설정된 전자 장치.
In electronic devices,
communication module;
Memory; and
at least one processor operatively coupled with the communication module and the memory;
The at least one processor,
When the movement of the external electronic device is confirmed based on the sensing value received from the external electronic device through the communication module and exceeds a set value, it is determined whether a period of maintaining the posture before the motion detection is longer than a set period;
Obtaining an oxygen saturation reference value stored in the memory when the posture maintenance period before the motion detection is longer than a set period,
An electronic device configured to correct an oxygen saturation value received from the external electronic device during a posture maintenance period before the motion detection based on the oxygen saturation reference value.
상기 적어도 하나의 프로세서는,
상기 설정된 값 이상의 상기 외부 전자 장치의 움직임이 확인되면, 상기 메모리에 저장된 자세 인덱스를 증가시키고,
상기 자세 인덱스를 증가시킨 후 설정된 기간 동안 상기 설정된 값 이상의 상기 외부 전자 장치의 움직임이 감지되어도 증가된 자세 인덱스를 유지하는 전자 장치.According to claim 19,
The at least one processor,
When the movement of the external electronic device equal to or greater than the set value is confirmed, a posture index stored in the memory is increased;
After increasing the posture index, the electronic device maintains the increased posture index even when a motion of the external electronic device greater than or equal to the set value is detected for a set period of time.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202280047250.3A CN117615707A (en) | 2021-08-11 | 2022-05-24 | Electronic apparatus for correcting oxygen saturation and control method thereof |
EP22855974.6A EP4342374A1 (en) | 2021-08-11 | 2022-05-24 | Electronic device for correcting oxygen saturation and method for controlling same |
PCT/KR2022/007349 WO2023017972A1 (en) | 2021-08-11 | 2022-05-24 | Electronic device for correcting oxygen saturation and method for controlling same |
US17/809,495 US20230053252A1 (en) | 2021-08-11 | 2022-06-28 | Electronic device adjusting oxygen saturation and method for controlling the same |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210105812 | 2021-08-11 | ||
KR20210105812 | 2021-08-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20230024189A true KR20230024189A (en) | 2023-02-20 |
Family
ID=85329257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220033113A KR20230024189A (en) | 2021-08-11 | 2022-03-17 | Electronic device adjusting oxygen saturation and method for controlling the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20230024189A (en) |
-
2022
- 2022-03-17 KR KR1020220033113A patent/KR20230024189A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3860446B1 (en) | Electronic device for obtaining blood pressure value using pulse wave velocity algorithm and method for obtaining blood pressure value | |
CN113613553B (en) | Electronic device for measuring blood pressure and method for measuring blood pressure | |
KR20220080972A (en) | Method for detecting sleep apnea and electronic device for supporting the same | |
US20220386885A1 (en) | Wearable electronic device measuring blood pressure and method for operating the same | |
KR20230024189A (en) | Electronic device adjusting oxygen saturation and method for controlling the same | |
EP4342374A1 (en) | Electronic device for correcting oxygen saturation and method for controlling same | |
US20220354422A1 (en) | Method for detecting biometric information and electronic device supporting the same | |
CN117615707A (en) | Electronic apparatus for correcting oxygen saturation and control method thereof | |
KR20210108275A (en) | Method for transceiving information and electronic device thereof | |
US20230118067A1 (en) | Electronic device and method to measure bioelectrical impedance | |
KR20220152633A (en) | Method for detecting biometric information and electronic device supporting the same | |
KR20230109314A (en) | Electronic device for determining vital sign of user and method for thereof | |
US20220175311A1 (en) | Method for detecting sleep apnea and electronic device for supporting the same | |
KR20230052779A (en) | Apparatus and method for weight data clibration | |
KR20220125967A (en) | Electronic device to improve signal stabilization time and the method thereof | |
KR20220163010A (en) | Wearable electronic device for measuring blood pressure and method of operating the same | |
US20230190167A1 (en) | Method for acquiring biometric information and electronic device therefor | |
US20230218201A1 (en) | Electronic device for determining users vital sign and method for operating the same | |
US20220192530A1 (en) | Electronic device including sensor array and method for controlling thereof | |
US20240008775A1 (en) | Electronic device and method for obtaining biometric information | |
KR20240028888A (en) | Electronic device for measuring biometric information and method for controlling thereof | |
KR20240064485A (en) | Electronic device and method for controlloing a plurality of electronic devices | |
US20230165531A1 (en) | Electronic device for providing biometric information and operating method thereof | |
US20240172948A1 (en) | Electronic device and method for identifying body temperature of user | |
KR20220155029A (en) | Method and electronic device for detecting wearing using polarization |