KR102256287B1 - Apparatus and method for measuring a heart rate using photoplethysmography in a electronic device - Google Patents

Apparatus and method for measuring a heart rate using photoplethysmography in a electronic device Download PDF

Info

Publication number
KR102256287B1
KR102256287B1 KR1020140041446A KR20140041446A KR102256287B1 KR 102256287 B1 KR102256287 B1 KR 102256287B1 KR 1020140041446 A KR1020140041446 A KR 1020140041446A KR 20140041446 A KR20140041446 A KR 20140041446A KR 102256287 B1 KR102256287 B1 KR 102256287B1
Authority
KR
South Korea
Prior art keywords
heart rate
electronic device
blood flow
sensor
unit
Prior art date
Application number
KR1020140041446A
Other languages
Korean (ko)
Other versions
KR20150083000A (en
Inventor
한주만
최종민
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US14/587,550 priority Critical patent/US10856747B2/en
Priority to EP14200706.1A priority patent/EP2896359B1/en
Publication of KR20150083000A publication Critical patent/KR20150083000A/en
Application granted granted Critical
Publication of KR102256287B1 publication Critical patent/KR102256287B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02405Determining heart rate variability
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/026Measuring blood flow
    • A61B5/0261Measuring blood flow using optical means, e.g. infrared light
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/026Measuring blood flow
    • A61B5/0285Measuring or recording phase velocity of blood waves

Abstract

전자장치의 심박수 처리 방법이, PPG신호를 감지하는 동작과, 상기 측정된 PPG신호로부터 제1심박수를 생성하는 동작과, 상기 측정된 PPG신호로부터 제2심박수를 생성하는 동작과, 상기 제1심박수와 제2심박수를 분석하여 출력 심박수를 결정하는 동작과, 상기 출력 심박수를 표시하는 동작을 포함할 수 있다. 또한, 다른 실시예가 가능하다.The heart rate processing method of the electronic device includes an operation of detecting a PPG signal, an operation of generating a first heart rate from the measured PPG signal, an operation of generating a second heart rate from the measured PPG signal, and the first heart rate. And an operation of determining an output heart rate by analyzing the second heart rate and an operation of displaying the output heart rate. Also, other embodiments are possible.

Figure R1020140041446
Figure R1020140041446

Description

전자장치의 심박수 측정장치 및 방법{APPARATUS AND METHOD FOR MEASURING A HEART RATE USING PHOTOPLETHYSMOGRAPHY IN A ELECTRONIC DEVICE}Heart rate measuring device and method of electronic device {APPARATUS AND METHOD FOR MEASURING A HEART RATE USING PHOTOPLETHYSMOGRAPHY IN A ELECTRONIC DEVICE}

본 개시의 다양한 실시예는 전자 장치에서 광혈류량을 측정하여 심박수를 계산 및 표시할 수 있는 장치 및 방법에 관한 것이다.Various embodiments of the present disclosure relate to an apparatus and method capable of calculating and displaying a heart rate by measuring the amount of optical blood flow in an electronic device.

전자장치는 다양한 기능들이 탑재하고 있다. 예를들면 전자장치는 광혈류량 (PPG: Photoplethysmography)을 측정하여 심박수를 계산할 수 있다. 심장이 수축/이완을 반복하면서 말초혈관의 혈류량이 변화하게 되고 혈관의 부피가 변하게 된다. 상기 광혈류량 검사(이하 PPG라 칭한다)는 혈관의 변화에 따른 빛의 투과량을 측정하여 심장의 박동을 파형으로 보여 주는 기술로서, 혈관내 혈액양의 변화나 산소포화도를 측정하는데 사용할 수 있다.Electronic devices are equipped with various functions. For example, an electronic device can calculate a heart rate by measuring photoplethysmography (PPG). As the heart repeats contraction/relaxation, the blood flow in the peripheral blood vessels changes and the volume of the blood vessels changes. The optical blood flow test (hereinafter referred to as PPG) is a technique that shows the heartbeat in a waveform by measuring the transmission amount of light according to changes in blood vessels, and can be used to measure changes in blood volume or oxygen saturation in blood vessels.

상기 PPG를 이용한 심박수 계산을 하기 위해서는 포토다이오드에서 받아 들이는 빛의 양을 측정하여, ADC로 변환한 다음 심박수(heart rate: 이하 HR이라 칭한다) 값을 계산할 수 있다. 그러나 심박수의 측정을 시작할 때 장치가 안정화되는데에는 일정 시간이 필요할 수 있다. 예를들면 상기 HR 값을 계산하기 위해서는 센서에서 감지되는 PPG신호에 섞여 있는 주변 광의 유입에 의한 잡음, 장치의 움직임(Motion)에 의한 영향들을 제거할 수 있는 시간이 필요할 수 있다. 따라서 전자장치가 심박수 측정을 시작하는 시점에서는 안정된 측정 결과값을 처리할 수 있는 시간 동안 잘못 측정된 HR 결과값을 출력할 수 있다. In order to calculate the heart rate using the PPG, the amount of light received from the photodiode is measured, converted into an ADC, and then the heart rate (hereinafter referred to as HR) may be calculated. However, it may take some time for the device to stabilize when starting to measure heart rate. For example, in order to calculate the HR value, it may take time to remove noise caused by the inflow of ambient light mixed with the PPG signal detected by the sensor, and effects caused by motion of the device. Therefore, when the electronic device starts measuring heart rate, it is possible to output an incorrectly measured HR result value for a period of time during which a stable measurement result value can be processed.

본 발명의 다양한 실시예들은 PPG 신호를 분석하여 적절한 HR 출력 데이터를 제공하는 방법을 제안한다.Various embodiments of the present invention propose a method of providing appropriate HR output data by analyzing a PPG signal.

본 개시의 다양한 실시예들에 따른 전자장치의 심박수 처리방법은 PPG신호를 감지하는 동작과, 상기 측정된 PPG신호로부터 제1심박수를 생성하는 동작과, 상기 측정된 PPG신호로부터 제2심박수를 생성하는 동작과, 상기 제1심박수와 제2심박수를 분석하여 출력 심박수를 결정하는 동작과, 상기 출력 심박수를 표시하는 동작을 포함할 수 있다. The heart rate processing method of an electronic device according to various embodiments of the present disclosure includes an operation of detecting a PPG signal, generating a first heart rate from the measured PPG signal, and generating a second heart rate from the measured PPG signal. And determining an output heart rate by analyzing the first heart rate and the second heart rate, and displaying the output heart rate.

다양한 실시예에 따른 전자장치의 심박수 처리 방법이, 심박수 측정 시작시 PPG신호로부터 제1심박수를 생성하여 출력하는 동작과, 상기 장치의 움직임을 감지하고, 감지된 움직임에 따라 상기 PPG신호를 보정한 후, 상기 보정된 PPG신호로부터 제2심박수를 생성하는 동작과, 상기 제1심박수와 제2심박수를 분석하며, 상기 제2심박수가 안정된 출력을 하면 상기 제2심박수를 출력심박수로 결정하는 동작과, 상기 출력 심박수를 표시하는 동작을 포함할 수 있다.A heart rate processing method of an electronic device according to various embodiments includes an operation of generating and outputting a first heart rate from a PPG signal at the start of heart rate measurement, detecting a movement of the device, and correcting the PPG signal according to the detected movement. Thereafter, generating a second heart rate from the corrected PPG signal, analyzing the first heart rate and the second heart rate, and determining the second heart rate as an output heart rate when the second heart rate is stable output, and And displaying the output heart rate.

다양한 실시예에 따른 전자장치가, PPG신호를 감지하는 광센서와, 장치 상태를 감지하는 센서부와, 상기 측정된 PPG신호로부터 제1심박수, 제2심박수를 생성하고, 상기 제1심박수 및 제2심박수를 분석하여 출력 심박수를 결정하는 제어부와, 상기 결정된 심박수를 표시하는 표시부를 포함할 수 있다.An electronic device according to various embodiments includes an optical sensor detecting a PPG signal, a sensor unit detecting a device state, and generating a first heart rate and a second heart rate from the measured PPG signal, and generating the first heart rate and the second heart rate. 2 A control unit for determining an output heart rate by analyzing the heart rate, and a display unit for displaying the determined heart rate may be included.

본 개시의 다양한 실시예들에 따른 방법 및 장치는 PPG를 이용한 HR 측정 방법을 제공할 수 있다. HR 표시 방법에 있어서, 안정된 HR 값들을 취득하기 전까지 센서로부터 측정되는 PPG신호를 출력 HR로 표시하며, 안정된 HR 값을 취득하게 되었을 때, 해당 값을 출력으로 제공하는 방법을 제시하여, 사용자가 자신의 HR 값이 표시될 때까지 실제값과 차이가 많이나는 오정보를 표시하는 동작을 최소화할 수 있다.The method and apparatus according to various embodiments of the present disclosure may provide a method of measuring HR using PPG. In the HR display method, the PPG signal measured from the sensor is displayed as an output HR until stable HR values are acquired, and when the stable HR values are acquired, a method of providing the corresponding value as an output is provided. It is possible to minimize the operation of displaying erroneous information that differs greatly from the actual value until the HR value of is displayed.

도 1은 다양한 실시예에 따른, 전자 장치 101을 포함하는 네트워크 환경 100를 도시한다.
도 2는 heart rate 측정모듈을 포함하는 전자장치의 구성을 도시하는 도면이다.
도 3A는 LED와 포토 다이오드를 이용하여 PPG를 측정하는 일예를 도시하는 도면이다.
도 3B는 광센서에서 출력되는 PPG신호와 PPI 계산을 예시하는 도면이다.
도 3C는 전자장치에서 심박수를 측정할 때 실제 심박수와 측정된 심박수의 관계를 설명하기 위한 도면이다
도 4는 전자장치에서 심박수를 측정하는 제어부의 구성을 도시하는 도면이다.
도 5A 및 도 5B는 제1HR생성부에서 초기 심박수 HR1을생성하는 방법을 설명하기 위한 도면이다.
도 6은 다양한 실시예들에 따른 전자 장치의 블록도를 도시하는 도면이다.
도 7은 전자장치에서 heart rate를 측정하는 방법을 도시하는 흐름도이다.
도 8은 전자장치에서 PPG신호를 이용하여 심박수를 계산하는 방법을 도시하는 흐름도이다.
도 9는 전자장치에서 PPG신호 및 센서를 이용하여 심박수를 계산하는 방법을 도시하는 흐름도이다.
도 10은 전자장치에서 HR 측정 절차를 도시하는 흐름도이다.
도 11은 전자장치에서 HR 측정 절차의 다른 예를 도시하는 흐름도이다.
1 illustrates a network environment 100 including an electronic device 101 according to various embodiments.
2 is a diagram showing the configuration of an electronic device including a heart rate measurement module.
3A is a diagram illustrating an example of measuring PPG using an LED and a photodiode.
3B is a diagram illustrating calculation of a PPG signal and a PPI output from an optical sensor.
3C is a diagram for explaining a relationship between an actual heart rate and a measured heart rate when measuring heart rate in an electronic device
4 is a diagram illustrating a configuration of a control unit for measuring heart rate in an electronic device.
5A and 5B are diagrams for explaining a method of generating an initial heart rate HR1 in a first HR generation unit.
6 is a diagram illustrating a block diagram of an electronic device according to various embodiments.
7 is a flowchart illustrating a method of measuring a heart rate in an electronic device.
8 is a flowchart illustrating a method of calculating a heart rate using a PPG signal in an electronic device.
9 is a flowchart illustrating a method of calculating a heart rate using a PPG signal and a sensor in an electronic device.
10 is a flowchart illustrating an HR measurement procedure in an electronic device.
11 is a flowchart illustrating another example of an HR measurement procedure in an electronic device.

이하, 본 발명의 다양한 실시예가 첨부된 도면과 연관되어 기재된다. 본 발명의 다양한 실시예는 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들이 도면에 예시되고 관련된 상세한 설명이 기재되어 있다. 그러나, 이는 본 발명의 다양한 실시예를 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 다양한 실시예의 사상 및 기술 범위에 포함되는 모든 변경 및/또는 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용되었다.Hereinafter, various embodiments of the present invention will be described in connection with the accompanying drawings. Various embodiments of the present invention may be modified in various ways and may have various embodiments, and specific embodiments are illustrated in the drawings and related detailed descriptions are described. However, this is not intended to limit the various embodiments of the present invention to specific embodiments, it should be understood to include all changes and/or equivalents or substitutes included in the spirit and scope of the various embodiments of the present invention. In connection with the description of the drawings, similar reference numerals have been used for similar elements.

본 발명의 다양한 실시예에서 사용될 수 있는“포함한다” 또는 “포함할 수 있다” 등의 표현은 개시(disclosure)된 해당 기능, 동작 또는 구성요소 등의 존재를 가리키며, 추가적인 하나 이상의 기능, 동작 또는 구성요소 등을 제한하지 않는다. 또한, 본 발명의 다양한 실시예에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. Expressions such as “include” or “may include” that may be used in various embodiments of the present invention indicate the existence of a corresponding function, operation, or component that has been disclosed, and an additional one or more functions, operations, or It does not limit the components, etc. In addition, in various embodiments of the present invention, terms such as "comprises" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, It is to be understood that it does not preclude the possibility of the presence or addition of one or more other features or numbers, steps, actions, components, parts, or combinations thereof.

본 발명의 다양한 실시예에서 “또는” 등의 표현은 함께 나열된 단어들의 어떠한, 그리고 모든 조합을 포함한다. 예를 들어, “A 또는 B”는, A를 포함할 수도, B를 포함할 수도, 또는 A 와 B 모두를 포함할 수도 있다.In various embodiments of the present invention, expressions such as "or" include any and all combinations of words listed together. For example, "A or B" may include A, may include B, or may include both A and B.

본 발명의 다양한 실시예에서 사용된 “제 1,”“제2,”“첫째,”또는“둘째,”등의 표현들은 다양한 실시예들의 다양한 구성요소들을 수식할 수 있지만, 해당 구성요소들을 한정하지 않는다. 예를 들어, 상기 표현들은 해당 구성요소들의 순서 및/또는 중요도 등을 한정하지 않는다. 상기 표현들은 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 수 있다. 예를 들어, 제1 사용자 기기와 제 2 사용자 기기는 모두 사용자 기기이며, 서로 다른 사용자 기기를 나타낸다. 예를 들어, 본 발명의 다양한 실시예의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.Expressions such as “first,” “second,” “first,” or “second,” used in various embodiments of the present invention may modify various elements of various embodiments, but limit the corresponding elements. I never do that. For example, the expressions do not limit the order and/or importance of corresponding elements. The above expressions may be used to distinguish one component from another component. For example, a first user device and a second user device are both user devices and represent different user devices. For example, without departing from the scope of the rights of various embodiments of the present invention, a first component may be referred to as a second component, and similarly, a second component may be referred to as a first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재하지 않는 것으로 이해될 수 있어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, the component is directly connected to or may be connected to the other component, but the component and It should be understood that new other components may exist between the other components. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it will be understood that no new other component exists between the component and the other component. Should be able to.

본 발명의 다양한 실시예에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 다양한 실시예를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. The terms used in various embodiments of the present invention are only used to describe specific embodiments, and are not intended to limit the various embodiments of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 다양한 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명의 다양한 실시예에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms including technical or scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. Terms as defined in a commonly used dictionary should be interpreted as having a meaning consistent with the meaning in the context of the related technology, and unless explicitly defined in various embodiments of the present invention, ideal or excessively formal It is not interpreted in meaning.

본 발명의 다양한 실시예에 따른 전자 장치는, heart rate 측정 기능이 포함된 장치일 수 있다. 예를 들면, 전자 장치는 스마트 폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 화상전화기, 전자북 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device)(예: 전자 안경과 같은 head-mounted-device(HMD), 전자 의복, 전자 팔찌, 전자 목걸이, 전자 앱세서리(appcessory), 전자 문신, 또는 스마트 와치(smart watch))중 적어도 하나를 포함할 수 있다. An electronic device according to various embodiments of the present disclosure may be a device including a heart rate measurement function. For example, electronic devices include smart phones, tablet personal computers (PCs), mobile phones, video phones, e-book readers, desktop personal computers (desktop personal computers), and laptops. Laptop personal computer (PC), netbook computer, personal digital assistant (PDA), portable multimedia player (PMP), MP3 player, mobile medical device, camera, or wearable device (e.g.: It may include at least one of a head-mounted-device (HMD) such as electronic glasses, an electronic clothing, an electronic bracelet, an electronic necklace, an electronic appcessory, an electronic tattoo, or a smart watch.

어떤 실시예들에 따르면, 전자 장치는 heart rate 측정 기능을 갖춘 스마트 가전 제품(smart home appliance)일 수 있다. 스마트 가전 제품은, 예를 들자면, 전자 장치는 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), TV 박스(예를 들면, 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(game consoles), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be a smart home appliance having a heart rate measurement function. Smart home appliances, for example, include televisions, digital video disk (DVD) players, audio, refrigerators, air conditioners, vacuum cleaners, ovens, microwave ovens, washing machines, air purifiers, set-top boxes, and TVs. It may include at least one of a box (eg, Samsung HomeSync™, Apple TV™, or Google TV™), game consoles, electronic dictionary, electronic key, camcorder, or electronic frame.

어떤 실시예들에 따르면, 전자 장치는 각종 의료기기(예: MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 초음파기 등), 네비게이션(navigation) 장치, GPS 수신기(global positioning system receiver), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치 및 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛, 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller’s machine) 또는 상점의 POS(point of sales) 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device includes various medical devices (eg, magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT)), an imager, an ultrasound device, etc.), a navigation device, and a GPS receiver. (global positioning system receiver), EDR (event data recorder), FDR (flight data recorder), automobile infotainment device, marine electronic equipment (e.g. marine navigation equipment and gyro compass, etc.), avionics, It may include at least one of a security device, a vehicle head unit, an industrial or domestic robot, an automatic teller's machine (ATM) of a financial institution, or a point of sales (POS) of a store.

어떤 실시예들에 따르면, 전자 장치는 heart rate 측정 기능을 포함한 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 입력장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 본 발명의 다양한 실시예에 따른 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 또한, 본 발명의 다양한 실시예에 따른 전자 장치는 플렉서블 장치일 수 있다. 또한, 본 발명의 다양한 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않음은 당업자에게 자명하다.According to some embodiments, the electronic device is a piece of furniture or building/structure including a heart rate measurement function, an electronic board, an electronic signature receiving device, a projector, Alternatively, it may include at least one of various measuring devices (eg, water, electricity, gas, or radio wave measuring devices). An electronic device according to various embodiments of the present disclosure may be a combination of one or more of the aforementioned various devices. Also, an electronic device according to various embodiments of the present disclosure may be a flexible device. In addition, it is obvious to those skilled in the art that the electronic device according to various embodiments of the present disclosure is not limited to the above-described devices.

이하, 첨부된 도면을 참조하여 다양한 실시예에 따른 전자 장치에 대해서 살펴본다. 다양한 실시예에서 이용되는 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. Hereinafter, electronic devices according to various embodiments will be described with reference to the accompanying drawings. The term user used in various embodiments may refer to a person using an electronic device or a device (eg, an artificial intelligence electronic device) using an electronic device.

도 1은 다양한 실시예에 따른, 전자 장치 101을 포함하는 네트워크 환경 100를 도시한다. 도 1을 참조하면, 상기 전자 장치 101는 버스 110, 프로세서 120, 메모리 130, 입출력 인터페이스 140, 디스플레이 150, 통신 인터페이스 160 및 heart rate 측정 모듈170을 포함할 수 있다.1 illustrates a network environment 100 including an electronic device 101 according to various embodiments. Referring to FIG. 1, the electronic device 101 may include a bus 110, a processor 120, a memory 130, an input/output interface 140, a display 150, a communication interface 160, and a heart rate measurement module 170.

상기 버스 110는 전술한 구성요소들을 서로 연결하고, 전술한 구성요소들 간의 통신(예: 제어 메시지)을 전달하는 회로일 수 있다.The bus 110 may be a circuit that connects the above-described components to each other and transmits communication (eg, a control message) between the above-described components.

상기 프로세서 120는, 예를 들면, 상기 버스 110를 통해 전술한 다른 구성요소들(예: 상기 메모리 130, 상기 입출력 인터페이스 140, 상기 디스플레이 150, 상기 통신 인터페이스 160, 또는 heart rate 측정 모듈170 등)로부터 명령을 수신하여, 수신된 명령을 해독하고, 해독된 명령에 따른 연산이나 데이터 처리를 실행할 수 있다.The processor 120, for example, from the other components described above (eg, the memory 130, the input/output interface 140, the display 150, the communication interface 160, or the heart rate measurement module 170, etc.) through the bus 110 By receiving an instruction, it is possible to decrypt the received instruction, and perform an operation or data processing according to the decrypted instruction.

상기 메모리 130는, 상기 프로세서 120 또는 다른 구성요소들(예: 상기 입출력 인터페이스 140, 상기 디스플레이 150, 상기 통신 인터페이스 160, 또는 heart rate 측정 모듈170 등 )로부터 수신되거나 상기 프로세서 120 또는 다른 구성요소들에 의해 생성된 명령 또는 데이터를 저장할 수 있다. 상기 메모리 130는, 예를 들면, 커널 131, 미들웨어 132, 어플리케이션 프로그래밍 인터페이스(API: application programming interface) 133 또는 어플리케이션 134 등의 프로그래밍 모듈들을 포함할 수 있다. 전술한 각각의 프로그래밍 모듈들은 소프트웨어, 펌웨어, 하드웨어 또는 이들 중 적어도 둘 이상의 조합으로 구성될 수 있다.The memory 130 may be received from the processor 120 or other components (eg, the input/output interface 140, the display 150, the communication interface 160, or the heart rate measurement module 170), or to the processor 120 or other components. Can store commands or data generated by The memory 130 may include programming modules such as a kernel 131, a middleware 132, an application programming interface (API) 133 or an application 134, for example. Each of the above-described programming modules may be composed of software, firmware, hardware, or a combination of at least two or more of them.

상기 커널 131은 나머지 다른 프로그래밍 모듈들, 예를 들면, 상기 미들웨어 132, 상기 API 133 또는 상기 어플리케이션 134에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 상기 버스 110, 상기 프로세서 120 또는 상기 메모리 130 등)을 제어 또는 관리할 수 있다. 또한, 상기 커널 131은 상기 미들웨어 132, 상기 API 133 또는 상기 어플리케이션 134에서 상기 전자 장치 101의 개별 구성요소에 접근하여 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. The kernel 131 includes system resources (e.g., the bus 110, the processor 120) used to execute an operation or function implemented in the other programming modules, for example, the middleware 132, the API 133, or the application 134. Alternatively, the memory 130, etc.) may be controlled or managed. In addition, the kernel 131 may provide an interface through which the middleware 132, the API 133, or the application 134 can access and control or manage individual components of the electronic device 101.

상기 미들웨어 132는 상기 API 133 또는 상기 어플리케이션 134이 상기 커널 131과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 상기 미들웨어 132는 상기 어플리케이션 134로부터 수신된 작업 요청들과 관련하여, 예를 들면, 상기 어플리케이션 134 중 적어도 하나의 어플리케이션에 상기 전자 장치 101의 시스템 리소스(예: 상기 버스 110, 상기 프로세서 120 또는 상기 메모리 130 등)를 사용할 수 있는 우선 순위를 배정하는 등의 방법을 이용하여 작업 요청에 대한 제어(예: 스케쥴링 또는 로드 밸런싱)을 수행할 수 있다.The middleware 132 may serve as an intermediary so that the API 133 or the application 134 communicates with the kernel 131 to exchange data. In addition, the middleware 132 provides a system resource (eg, the bus 110, the processor 120, or the electronic device 101) to at least one application among the applications 134 in relation to the job requests received from the application 134. Control (eg, scheduling or load balancing) on a work request may be performed by using a method such as assigning a priority that can use the memory 130 or the like.

상기 API 133는 상기 어플리케이션 134이 상기 커널 131 또는 상기 미들웨어 132에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 화상 처리 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. The API 133 is an interface for the application 134 to control functions provided by the kernel 131 or the middleware 132, for example, at least one interface or function for file control, window control, image processing or text control, etc. (Example: command) can be included.

다양한 실시예에 따르면, 상기 어플리케이션 134는 SMS/MMS 어플리케이션, 이메일 어플리케이션, 달력 어플리케이션, 알람 어플리케이션, 건강 관리(health care) 어플리케이션(예: 운동량 또는 혈당 등을 측정하는 어플리케이션) 또는 환경 정보 어플리케이션(예: 기압, 습도 또는 온도 정보 등을 제공하는 어플리케이션) 등을 포함할 수 있다. 추가적으로 또는 대체적으로, 상기 어플리케이션 134은 상기 전자 장치 101와 외부 전자 장치(예: 전자 장치 104) 사이의 정보 교환과 관련된 어플리케이션일 수 있다. 상기 정보 교환과 관련된 어플리케이션은, 예를 들어, 상기 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 상기 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다. According to various embodiments, the application 134 is an SMS/MMS application, an email application, a calendar application, an alarm application, a health care application (eg, an application that measures exercise amount or blood sugar), or an environmental information application (eg: An application that provides information on atmospheric pressure, humidity, or temperature), etc. may be included. Additionally or alternatively, the application 134 may be an application related to information exchange between the electronic device 101 and an external electronic device (eg, the electronic device 104). The application related to the information exchange may include, for example, a notification relay application for delivering specific information to the external electronic device, or a device management application for managing the external electronic device. I can.

예를 들면, 상기 알림 전달 어플리케이션은 상기 전자 장치 101 의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션 또는 환경 정보 어플리케이션 등)에서 발생한 알림 정보를 외부 전자 장치(예: 전자 장치 104)로 전달하는 기능을 포함할 수 있다. 추가적으로 또는 대체적으로, 상기 알림 전달 어플리케이션은, 예를 들면, 외부 전자 장치(예: 전자 장치 104)로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 상기 장치 관리 어플리케이션은, 예를 들면, 상기 전자 장치 101와 통신하는 외부 전자 장치(예: 전자 장치 104)의 적어도 일부에 대한 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴온/턴오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 상기 외부 전자 장치에서 동작하는 어플리케이션 또는 상기 외부 전자 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스)를 관리(예: 설치, 삭제 또는 업데이트)할 수 있다. For example, the notification delivery application transmits notification information generated from another application (eg, SMS/MMS application, email application, health management application, environment information application, etc.) of the electronic device 101 to an external electronic device (eg, electronic device 104). ) Can be included. Additionally or alternatively, the notification delivery application may receive notification information from an external electronic device (eg, electronic device 104) and provide it to a user. The device management application includes, for example, a function for at least a part of an external electronic device (eg, electronic device 104) communicating with the electronic device 101 (eg, turning on/on of the external electronic device itself (or some component parts)). Turn off or adjust the brightness (or resolution) of the display), manage applications running on the external electronic device or services (eg, call service or message service) provided by the external electronic device (eg, install, delete, or update) )can do.

다양한 실시예에 따르면, 상기 어플리케이션 134은 상기 외부 전자 장치(예: 전자 장치 104)의 속성(예: 전자 장치의 종류)에 따라 지정된 어플리케이션을 포함할 수 있다. 예를 들어, 외부 전자 장치가 MP3 플레이어인 경우, 상기 어플리케이션 134은 음악 재생과 관련된 어플리케이션을 포함할 수 있다. 유사하게, 외부 전자 장치가 모바일 의료기기인 경우, 상기 어플리케이션 134은 건강 관리와 관련된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 상기 어플리케이션 134은 전자 장치 101에 지정된 어플리케이션 또는 외부 전자 장치(예: 서버 106 또는 전자 장치 104)로부터 수신된 어플리케이션 중 적어도 하나를 포함할 수 있다.According to various embodiments, the application 134 may include an application designated according to a property (eg, type of electronic device) of the external electronic device (eg, electronic device 104). For example, when the external electronic device is an MP3 player, the application 134 may include an application related to music playback. Similarly, when the external electronic device is a mobile medical device, the application 134 may include an application related to health management. According to an embodiment, the application 134 may include at least one of an application designated to the electronic device 101 or an application received from an external electronic device (eg, the server 106 or the electronic device 104).

상기 입출력 인터페이스 140은, 입출력 장치(예: 센서, 키보드 또는 터치 스크린)를 통하여 사용자로부터 입력된 명령 또는 데이터를, 예를 들면, 상기 버스 110를 통해 상기 프로세서 120, 상기 메모리 130, 상기 통신 인터페이스 160, 또는 상기 heart rate 측정 모듈170에 전달할 수 있다. 예를 들면, 상기 입출력 인터페이스 140은 터치 스크린을 통하여 입력된 사용자의 터치에 대한 데이터를 상기 프로세서 120로 제공할 수 있다. 또한, 상기 입출력 인터페이스 140은, 예를 들면, 상기 버스 110을 통해 상기 프로세서 120, 상기 메모리 130, 상기 통신 인터페이스 160, 또는 상기 heart rate 측정 모듈170로부터 수신된 명령 또는 데이터를 상기 입출력 장치(예: 스피커 또는 디스플레이)를 통하여 출력할 수 있다. 예를 들면, 상기 입출력 인터페이스 140은 상기 프로세서 120를 통하여 처리된 음성 데이터를 스피커를 통하여 사용자에게 출력할 수 있다. The input/output interface 140 includes commands or data input from a user through an input/output device (eg, a sensor, a keyboard, or a touch screen), for example, the processor 120, the memory 130, and the communication interface 160 through the bus 110. Or it may be transmitted to the heart rate measurement module 170. For example, the input/output interface 140 may provide data on a user's touch input through a touch screen to the processor 120. In addition, the input/output interface 140 may transmit commands or data received from the processor 120, the memory 130, the communication interface 160, or the heart rate measurement module 170 through the bus 110 to the input/output device (eg: Speaker or display). For example, the input/output interface 140 may output voice data processed through the processor 120 to a user through a speaker.

상기 디스플레이 150은 사용자에게 각종 정보(예: 멀티미디어 데이터 또는 텍스트 데이터 등)을 표시할 수 있다.The display 150 may display various types of information (eg, multimedia data or text data) to a user.

상기 통신 인터페이스 160은 상기 전자 장치 101와 외부 장치(예: 전자 장치 104 또는 서버 106) 간의 통신을 연결할 수 있다. 예를 들면, 상기 통신 인터페이스 160은 무선 통신 또는 유선 통신을 통해서 네트워크 162에 연결되어 상기 외부 장치와 통신할 수 있다. 상기 무선 통신은, 예를 들어, Wifi(wireless fidelity), BT(Bluetooth), NFC(near field communication), GPS(global positioning system) 또는 cellular 통신(예: LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등) 중 적어도 하나를 포함할 수 있다. 상기 유선 통신은, 예를 들어, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard 232) 또는 POTS(plain old telephone service) 중 적어도 하나를 포함할 수 있다.The communication interface 160 may connect communication between the electronic device 101 and an external device (eg, the electronic device 104 or the server 106). For example, the communication interface 160 may be connected to a network 162 through wireless communication or wired communication to communicate with the external device. The wireless communication is, for example, Wifi (wireless fidelity), BT (Bluetooth), NFC (near field communication), GPS (global positioning system) or cellular communication (e.g., LTE, LTE-A, CDMA, WCDMA, UMTS , WiBro or GSM, etc.). The wired communication may include, for example, at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), or a plain old telephone service (POTS).

한 실시예에 따르면, 상기 네트워크 162는 통신 네트워크(telecommunications network)일 수 있다. 상기 통신 네트워크 는 컴퓨터 네트워크(computer network), 인터넷(internet), 사물 인터넷(internet of things) 또는 전화망(telephone network) 중 적어도 하나를 포함할 수 있다. 한 실시예에 따르면, 상기 전자 장치 101와 외부 장치 간의 통신을 위한 프로토콜(예: transport layer protocol, data link layer protocol 또는 physical layer protocol))은 어플리케이션 134, 어플리케이션 프로그래밍 인터페이스 133, 상기 미들웨어 132, 커널 131 또는 통신 인터페이스 160 중 적어도 하나에서 지원될 수 있다. According to an embodiment, the network 162 may be a telecommunications network. The communication network may include at least one of a computer network, the Internet, the Internet of things, and a telephone network. According to an embodiment, a protocol for communication between the electronic device 101 and an external device (eg, transport layer protocol, data link layer protocol, or physical layer protocol) is an application 134, an application programming interface 133, the middleware 132, and a kernel 131. Alternatively, it may be supported by at least one of the communication interfaces 160.

도 2는 heart rate 측정모듈을 포함하는 전자장치의 구성을 도시하는 도면이다. 상기 전자장치는 제어부200, 저장부210, 광센서220, 센서부230, 표시부240 및 입력부250을 포함할 수 있다.2 is a diagram showing the configuration of an electronic device including a heart rate measurement module. The electronic device may include a control unit 200, a storage unit 210, an optical sensor 220, a sensor unit 230, a display unit 240, and an input unit 250.

상기 도 2를 참조하면, 광센서220은 광혈류량을 측정하기 위한 광을 발생하는 발광부와, 혈관의 이완 및 수축에 따라 변화되는 광을 수신하는 수광부를 포함하며, 피부의 혈관 이완 및 수축에 따른 광변화에 따라 광혈류량을 감지할 수 있다. 센서부230은 장치의 움직임을 감지하는 센서, 장치 주변의 밝기를 감지하는 센서들을 구비할 수 있다. 여기서 상기 장치의 움직임을 감지하는 센서는 3축 가속도센서가 될 수 있다. 그리고 상기 전자장치가 착용이 가능한 전자장치(wearable electronic device)(예를들면 watch type의 장치)인 경우 착용 여부를 감지하는 센서를 더 포함할 수 있다. 이하의 설명에서 상기 광센서220은 PPG센서와 동일한 의미로 사용될 것이다. Referring to FIG. 2, the optical sensor 220 includes a light emitting unit that generates light for measuring the amount of light blood flow, and a light receiving unit that receives light that changes according to the relaxation and contraction of blood vessels. The amount of light blood flow can be detected according to the light change accordingly. The sensor unit 230 may include sensors that detect movement of the device and sensors that detect brightness around the device. Here, the sensor for detecting the movement of the device may be a 3-axis acceleration sensor. In addition, when the electronic device is a wearable electronic device (for example, a watch type device), a sensor for detecting whether the electronic device is worn may be further included. In the following description, the optical sensor 220 will be used with the same meaning as the PPG sensor.

제어부200은 상기 광센서220에서 측정된 광혈류량으로부터 제1심박수를 생성하고, 상기 센서부230에서 감지되는 장치의 움직임에 따라 상기 광센서220에서 출력되는 광혈류량을 보정한 후 상기 보정된 광혈류량으로부터 제2심박수를 생성할 수 있다. 그리고 상기 제어부200은 상기 제1심박수와 제2심박수 분석하여 심박수를 결정하며, 상기 결정된 심박수를 표시하도록 제어할 수 있다.The control unit 200 generates a first heart rate from the optical blood flow amount measured by the optical sensor 220, corrects the optical blood flow amount output from the optical sensor 220 according to the movement of the device detected by the sensor unit 230, and then the corrected optical blood flow amount. The second heart rate can be generated from. In addition, the controller 200 may determine a heart rate by analyzing the first heart rate and the second heart rate, and control to display the determined heart rate.

저장부210은 전자장치의 동작을 제어하기 위한 프로그램 및 데이터들을 저장할 수 있다. 또한 상기 저장부210은 광혈류량에 대응되는 심박수 값들을 저장할 수 있다. The storage 210 may store programs and data for controlling the operation of the electronic device. In addition, the storage unit 210 may store heart rate values corresponding to the amount of light blood flow.

표시부240은 상기 제어부200의 제어하에 심박수를 표시할 수 있다. 입력부250은 상기 휴대단말기의 동작 명령 및 통신을 위한 키 데이터 등을 발생할 수 있다. 여기서 상기 표시부240 및 입력부250은 일체화된 터치 스크린으로 구현할 수 있다.The display unit 240 may display a heart rate under the control of the controller 200. The input unit 250 may generate an operation command of the portable terminal and key data for communication. Here, the display unit 240 and the input unit 250 may be implemented as an integrated touch screen.

도 3A는 LED와 포토 다이오드를 이용하여 PPG를 측정하는 일예를 도시하는 도면이다.상기 도 3A를 상기 혈류량 검사(PPG: Photoplethysmography)는 광을 이용하여 손끝 등 동맥이 지나는 신체 부위에서 혈관 내 혈액양의 변화나 산소포화도를 측정하는 기술이 될 수 있다. 예를들면 심장이 수축 이완을 반복하면서 변화되는 말초혈관의 부피가 변화될 수 있으며, 상기 광센서220은 상기 혈관의 부피 변화에 따른 빛의 투과량을 감지하여 PPG신호를 발생할 수 있다. 상기 광센서220은 광을 발생하는 발광부310과 광을 수광하는 수광부315로 구성될 수 있다. 예들들면 상기 발광부310은 발광 다이오드가 될 수 있으며, 상기 수광부315는 포토다이오드가 될 수 있다. 광센서220의 손가락을 위치시키면, 상기 도 3A에 도시된 바와 같이 뼈325를 감싸고 있는 피부320이 광센서220에 접촉될 수 있다. 이때 상기 광센서220의 발광다이오드310에서 발광되는 빛은 피부320을 통해 포토다이오드315에 인가될 수 있으며, 포토다이오드315는 빛의 투과량 변화를 감지할 수 있다. 예를들면 손가락을 광센서220의 부위에 밀착시키면, 발광다이오드310발광되는 빛이 손가락의 여러 매질을 지나 확산 및 분산되면서 넓게 퍼지게 되고, 그 중의 일부를 포토다이오드315를 통해 검출할 수 있다. 상기 광센서220은 발광다이오드310에서 발광되는 빛이 측정하고자 하는 신체 부위320을 투과한 후 반대측 포토다이오드315에서 신호를 검출하는 투과형 방법, 또는 발광다이오드310에서 발광되는 빛을 측정하고자 하는 신체 부위에 입사시킨 후 반사되어 나오는 신호를 검출하는 반사형 방법 중에 한가지 방법을 사용할 수 있다. 상기 PPG 측정을 위한 발광다이오드310의 광원으로는 green, red또는 infrared를 사용할 수 있다. 3A is a diagram showing an example of measuring PPG using an LED and a photodiode. The blood flow test (PPG: Photoplethysmography) uses light to measure the amount of blood in a blood vessel at a body part through an artery such as a fingertip. It can be a technique to measure change or oxygen saturation. For example, the volume of peripheral blood vessels that are changed while the heart repeats contraction and relaxation may be changed, and the optical sensor 220 may generate a PPG signal by detecting the amount of light transmitted according to the volume change of the blood vessel. The photosensor 220 may include a light emitting unit 310 generating light and a light receiving unit 315 receiving light. For example, the light emitting unit 310 may be a light emitting diode, and the light receiving unit 315 may be a photodiode. When the finger of the optical sensor 220 is positioned, the skin 320 surrounding the bone 325 may contact the optical sensor 220 as shown in FIG. 3A. In this case, the light emitted from the light emitting diode 310 of the photosensor 220 may be applied to the photodiode 315 through the skin 320, and the photodiode 315 may detect a change in the amount of light transmitted. For example, when the finger is in close contact with the part of the photosensor 220, light emitted from the light emitting diode 310 spreads and spreads widely as it passes through various media of the finger, and a part of the light can be detected through the photodiode 315. The optical sensor 220 is a transmissive method in which light emitted from the LED 310 passes through the body part 320 to be measured, and then detects a signal from the photodiode 315 on the opposite side, or the body part to measure the light emitted by the LED 310. One of the reflective methods can be used to detect the reflected signal after incident. Green, red, or infrared may be used as a light source of the light emitting diode 310 for measuring the PPG.

도 3B는 광센서에서 출력되는 PPG신호와 PPI(peak to peak interval) 계산을 예시하는 도면이다.3B is a diagram illustrating a PPG signal output from an optical sensor and a peak to peak interval (PPI) calculation.

상기 도 3B를 참조하면, 상기 광센서220은 심박수에 따라 수축기에는 손가락에 혈액이 많아져 약간 어둡게 되고, 이완기에는 혈액이 빠지면서 손가락이 밝아지는 변화를 감지할 수 있다. 수축기일 때는 포토다이오드315에서 검출되는 광량은 345와 같이 적어지며, 이완기일 때에는 포토다이오드315에서 검출되는 광량이 340과 같이 많아지는 PPG신호를 출력할 수 있다. 상기 제어부200은 상기 검출되는 광량의 변화량을 분석하여 PPG 신호를 출력하고, 상기 PPG 신호를 분석하여 상기 PPG 신호의 검출된 peak의 PPI를 검출하여 심박수를 결정할 수 있다. 예를들면 상기 제어부200은 340과 같은 PPG신호의 PPI 350 또는 345와 같이 최소값을 가지는 간격(예를들면 펄스의 주기)을 측정하고, 그 결과 초당 몇 번의 펄스가 발생하는지를 계산하여 심박수를 결정할 수 있다.Referring to FIG. 3B, the photosensor 220 may detect a change in which the finger becomes brighter as the blood is discharged during the systolic phase and becomes slightly darker in the systolic phase according to the heart rate. In the systolic phase, the amount of light detected by the photodiode 315 decreases as 345, and in the diastolic phase, the PPG signal in which the amount of light detected by the photodiode 315 increases as such as 340 can be output. The control unit 200 may analyze the amount of change in the detected amount of light to output a PPG signal, and determine a heart rate by analyzing the PPG signal and detecting a PPI of the detected peak of the PPG signal. For example, the control unit 200 may determine the heart rate by measuring the interval (e.g., the period of the pulse) having a minimum value such as PPI 350 or 345 of the PPG signal such as 340, and calculating how many pulses per second are generated as a result. have.

도 3C는 전자장치에서 심박수를 측정할 때 실제 심박수와 측정된 심박수의 관계를 설명하기 위한 도면이다.3C is a diagram illustrating a relationship between an actual heart rate and a measured heart rate when measuring heart rate in an electronic device.

상기 도 3C를 참조하면, 심박수를 측정할 때 광센서220에서 출력되는 PPG신호에 포함되는 주변 광의 유입에 따른 잡음 및 장치의 움직임에 따른 영향 등을 제거하여야 정확한 심박수를 측정할 수 있다. 따라서 심박수를 측정할 때 이런 외부 요인을 제거하면서 안정된 PPG신호를 측정할 수 있는 시간을 필요로 할 수 있다. 예를들면, 도 3C에 도시된 바와 같이 초기 심박수 측정 구간에서는 신호처리에 의한 HR값이 심박수를 측정할 때, 초기 구동 시점에서는 시 370과 같이 신호처리에 의해 측정되는 HR 값은 참조번호 370과 같은 실제 HR값과 380과 같은 차이값을 가질 수 있다. 따라서 심박수를 측정할 때, 초기 구동시간에서는 광센서220에서 출력되는 PPG신호를 이용하여 심박수를 결정 및 표시하고, 일정 시간이 경과된 후 전자장치가 안정화되는 시간에서 장치의 움직임 및 외부 잡음 요인을 제거한 PPG신호를 이용하여 심박수를 출력하는 방법이 효과적일 수 있다.Referring to FIG. 3C, when measuring heart rate, accurate heart rate can be measured only when noise caused by the inflow of ambient light included in the PPG signal output from the optical sensor 220 and the effect of movement of the device are removed. Therefore, when measuring heart rate, it may require time to measure a stable PPG signal while removing these external factors. For example, as shown in FIG. 3C, when the HR value by signal processing measures the heart rate in the initial heart rate measurement section, the HR value measured by the signal processing as at 370 at the initial driving point is reference number 370 and It can have the same actual HR value and a difference value equal to 380. Therefore, when measuring the heart rate, the heart rate is determined and displayed using the PPG signal output from the optical sensor 220 at the initial driving time, and the movement of the device and external noise factors are determined at the time when the electronic device is stabilized after a certain period of time has elapsed. A method of outputting a heart rate using the removed PPG signal may be effective.

본 발명의 다양한 실시예들에서는 HR 측정 방법에서, 안정된 HR 값을 취득하기 위하여, 외부 환경을 분석처리 혹은 적응필터(Adaptive filter) 처리가 포함될 수 있다. 상기 프로세서 수가 증가에 따라 안정된 HR 출력 생성 지연이 발생될 수 있다. 상기 안정된 HR 값을 취득하기 전까지 프로세스 수가 적은 방법에 의하여 HR을 출력할 수 있다. 도 4는 전자장치에서 심박수를 측정하는 제어부의 구성을 도시하는 도면이다. 제어부200은 변환부410, 제1HR생성부420, 제2HR생성부430 및 HR처리부400을 포함할 수 있다.In various embodiments of the present invention, in the HR measurement method, in order to obtain a stable HR value, an external environment analysis process or an adaptive filter process may be included. As the number of processors increases, a stable HR output generation delay may occur. The HR can be output by a method with a small number of processes until the stable HR value is obtained. 4 is a diagram illustrating a configuration of a control unit for measuring heart rate in an electronic device. The control unit 200 may include a conversion unit 410, a first HR generation unit 420, a second HR generation unit 430, and an HR processing unit 400.

상기 도 4를 참조하면, 변환부410은 상기 광센서220에서 출력되는 PPG신호를 증폭 및 디지털신호로 처리할 수 있다. 상기 변환부410은 상기 제어부200와 광센서220의 사이에 위치될 수 있다. 제1 HR생성부420은 상기 변환부410에서 출력되는 PPG신호를 PPI를 계산하여 HR1 신호를 발생할 수 있다. 그리고 상기 제2 HR생성부430은 센서부230에서 출력되는 장치의 움직임(motion) 성분을 적응필터(adaptive filter)을 이용하여 필터링하며, 상기 적응필터의 출력을 상기 변환부410에서 출력되는 PPG신호에 인가하여 장치의 움직임을 보상하는 PPG신호를 이용하여 HR2를 생성할 수 있다. 예를들면 상기 센서부230은 가속도센서가 될 수 있다.Referring to FIG. 4, the conversion unit 410 may amplify the PPG signal output from the photosensor 220 and process it as a digital signal. The conversion unit 410 may be located between the control unit 200 and the optical sensor 220. The first HR generation unit 420 may generate a HR1 signal by calculating a PPI of the PPG signal output from the conversion unit 410. Further, the second HR generation unit 430 filters a motion component of the device output from the sensor unit 230 using an adaptive filter, and the output of the adaptive filter is a PPG signal output from the conversion unit 410. It is possible to generate HR2 by using a PPG signal that compensates for the motion of the device by applying it to. For example, the sensor unit 230 may be an acceleration sensor.

HR처리부400은 상기 생성된 HR1 및 HR2를 분석하여 최종적인 HR을 출력할 수 있다. 상기 HR처리부400은 초기 구동시 HR1 및 HR2의 차이값을 분석하여 출력되는 HR을 결정할 수 있다. Heart rate 측정 모듈을 구비하는 전자장치는 상기 광센서220은 PPG신호를 생성할 수 있다. 예를들면 상기 광센서220은 LED에서 빛을 발생하고, LED에서 나온 빛이 사용자의 피부 속으로 전달된 뒤, 포토다이오드에서 빛의 일부를 검출하여 PPG신호를 발생할 수 있다. 그리고 상기 PPG신호는 변환부410에서 증폭되고, ADC 변환을 통해 디지털 데이터로 변환될 수 있다. 상기 PPG 데이터는 전자장치의 Motion에 의한 영향을 보상하는 알고리즘을 통해 보상된 PPG 데이터로 변환될 수 있으며, 보상된 PPG 데이터를 이용하여 HR신호를 생성 및 출력할 수 있다. The HR processing unit 400 may analyze the generated HR1 and HR2 and output a final HR. The HR processing unit 400 may determine an output HR by analyzing a difference value between HR1 and HR2 during initial driving. In an electronic device including a heart rate measurement module, the optical sensor 220 may generate a PPG signal. For example, the photosensor 220 may generate a PPG signal by generating light from an LED, and after the light from the LED is transmitted into the user's skin, a photodiode detects a part of the light. In addition, the PPG signal may be amplified by a conversion unit 410 and converted into digital data through ADC conversion. The PPG data may be converted into compensated PPG data through an algorithm that compensates for the influence of motion of the electronic device, and an HR signal may be generated and output using the compensated PPG data.

본 개시의 다양할 실시예에 따른 전자장치는 상기 HR을 생성 및 출력할 때, HR1을 생성하는 구성과 안정적인 HR값인 HR2를 생성하는 구성을 포함할 수 있다. 상기 HR1과 HR2의 값 차이가 많이 난다는 것은 초기상태에 안정적인 HR 값이 계산되지 않는 것이라고 할 수 있다. 따라서 HR1과 HR2 값을 비교하여 최종적인 HR을 결정한다. 예를들면 상기 HR1 및 HR2의 차이값이 미리 정해 놓은 문턱치(threshold 또는 기준값) 이상의 값을 가지면 HR1을 출력 값으로 표시하고, 상기 차이값이 미리 정해 놓은 문턱치 내의 값을 가지면안정된 값이 계산되고 있다는 것을 의미하므로 HR2 값을 출력 값으로 표시할 수 있다.상기 HR2 값을 출력으로 표시하기 시작한 다음, 상기 HR처리부는 연속해서 계산되는 HR2 값을 출력으로 표시해 주고, 경우에 따라서는 안정된 상태에 들어 간 다음 어떤 순간의 값을 출력으로 계속 표시할 수 있다.The electronic device according to various embodiments of the present disclosure may include a configuration for generating HR1 and a configuration for generating HR2, which is a stable HR value, when generating and outputting the HR. The large difference between HR1 and HR2 may mean that a stable HR value is not calculated in an initial state. Therefore, the final HR is determined by comparing the HR1 and HR2 values. For example, if the difference between HR1 and HR2 has a value equal to or greater than a predetermined threshold (threshold or reference value), HR1 is displayed as an output value, and if the difference value has a value within a predetermined threshold, a stable value is calculated. The HR2 value can be displayed as an output value. After starting to display the HR2 value as an output, the HR processing unit displays the continuously calculated HR2 value as an output, and in some cases enters a stable state. The value of the next moment can be displayed continuously as output.

도 5A 및 도 5B는 제1HR생성부에서 HR1을 생성하는 방법을 설명하기 위한 도면이다. 5A and 5B are diagrams for explaining a method of generating HR1 in a first HR generation unit.

도 5A를 참조하면, 상기 HR처리부400은 신호처리에 의하여 상기 광센서220에서 출력되는 PPG신호(HR raw 데이터)의 peak 검출을 통해 HR1을 계산 및 생성하는 제1HR생성부420의 출력을 선택할 수 있다. 상기 제1HR생성부420은 피크검출기(peak detector)를 포함할 수 있으며, 상기 PPG 데이터의 peak 값을 검출한 후, 검출된 피크값들의 간격 PPI를 계산하여 HR1을 생성할 수 있다. 상기 PPI 간격은 시간 도메인 상태의 간격이 되며, 주파수로 변경된 경우는 별도의 간격을 측정하지 않고 주요 주파수 대역을 확인하여 출력할 수 있다. 상기 피크검출기는 negative peak 또는 positive peak 검출기를 구성할 수 있다. 이때 도 5A의 510과 같이 피크값이 빠르게 검출되면 심박수는 높은 값으로 생성될 수 있으며, 도 5A의 520과 같이 피크값이 느리게 검출되면 심박수는 상대적으로 낮은 값으로 생성될 수 있다. 도 5B를 참조하면, 상기 HR처리부400은 신호처리에 의하여 PPG 데이터(HR raw 데이터)의 기울기(slope)를 측정하여 HR 주기를 HR1으로 생성하는 제1HR생성기420의 출력을 선택할 수 있다. 이를 위하여 상기 저장부210은 상기 기울기에 대응되는 HR값들을 저장할 수 있으며, 상기 제1HR생성기420은 기울기 검출기(slope detector)를 포함할 수 있다. 상기 제1HR생성기420의 기울기검출기는 555 또는 565와 같이 PPG 데이터의 기울기를 검출한 후, 상기 검출된 기울기에 해당하는 HR 값을 상기 저장부210에서 억세스하여 HR1으로 출력할 수 있다. . 상기 도 5B의 550은 가파른 기울기의 경우에 HR값이 큰 경향을 이용하는 예를 도시하고 있으며, 상기 도 5B의 560은 완만한 기울기의 경우에 HR 값이 작은 경향을 이용하는 예를 도시하고 있다.5A, the HR processing unit 400 may select the output of the first HR generator 420 that calculates and generates HR1 through peak detection of the PPG signal (HR raw data) output from the optical sensor 220 through signal processing. have. The first HR generator 420 may include a peak detector, and after detecting a peak value of the PPG data, may generate HR1 by calculating an interval PPI of the detected peak values. The PPI interval becomes an interval in the time domain state, and when the interval is changed to a frequency, the main frequency band may be checked and outputted without measuring a separate interval. The peak detector may constitute a negative peak or positive peak detector. In this case, if the peak value is detected quickly as shown in 510 of FIG. 5A, the heart rate may be generated as a high value, and if the peak value is detected slowly as shown in 520 of FIG. 5A, the heart rate may be generated as a relatively low value. Referring to FIG. 5B, the HR processing unit 400 may measure a slope of PPG data (HR raw data) by signal processing and select an output of the first HR generator 420 that generates an HR period as HR1. To this end, the storage unit 210 may store HR values corresponding to the slope, and the first HR generator 420 may include a slope detector. The slope detector of the first HR generator 420 may detect the slope of the PPG data as in 555 or 565, and then access the HR value corresponding to the detected slope from the storage unit 210 and output it as HR1. . 550 of FIG. 5B shows an example of using a tendency of a large HR value in case of a steep slope, and 560 of FIG. 5B shows an example of using a tendency of a small HR value in case of a gentle slope.

상기 제2HR생성부430은 상기 변환부410에서 출력되는 PPG 데이터 및 센서부230의 출력을 입력하며, 상기 장치의 움직임 및 외부 요인에 의해서 상기 PPG 데이터에 유입될 수 있는 잡음을 제거할 수 있다. 그리고 상기 제2HR생성부430의 잡음이 제거된 PPG 데이터를 계산하여 HR2를 생성할 수 있다. 여기서 상기 센서는 3축 가속도센서가 될 수 있으며, 상기 외부요인에 의해 잡음은 조명의 주파수(예를들면 60Hz)가 될 수 있다. The second HR generation unit 430 may input the PPG data output from the conversion unit 410 and the output of the sensor unit 230, and may remove noise that may be introduced into the PPG data due to movement of the device and external factors. In addition, HR2 may be generated by calculating PPG data from which noise of the second HR generator 430 is removed. Here, the sensor may be a 3-axis acceleration sensor, and the noise may be a frequency of illumination (for example, 60 Hz) due to the external factor.

상기 제2HR생성부420은 가속도계를 이용한 적응형 필터를 이용하여 HR2를 생성할 수 있다. 상기 PPG를 측정할 때 외부 요인(예를들면 장치의 움직임 및/또는 주변의 조명 환경 등)에 PPG 신호가 왜곡될 수 있다. 예를들면 측정자(Examinee)가 이동할 때, 광센서220의 의 LED 및 PD(photo diode, photo detector)도 이동되며, 이로인해 상기 광센서220의 PD는 반사되거나 역반사된(back scattered) 빛을 정확하게 검출하지 못할 수 있다. 즉, 장치가 불안정한 상태에 놓이면 상기 광센서220에서 감지되는 PPG 신호가 왜곡될 수 있다. 따라서 상기 제HR생성부420은 적응형 노이즈 제거(Adaptive Noise Cancellation) 방식을 사용하여 유용한 신호들로부터 백그라운드 노이즈를 제거할 수 있다. The second HR generator 420 may generate HR2 using an adaptive filter using an accelerometer. When measuring the PPG, the PPG signal may be distorted due to external factors (eg, movement of the device and/or the surrounding lighting environment). For example, when the examiner moves, the LED of the optical sensor 220 and the photo diode (photo detector) of the optical sensor 220 are also moved, and thus the PD of the optical sensor 220 transmits reflected or back scattered light. It may not be accurately detected. That is, when the device is placed in an unstable state, the PPG signal detected by the photosensor 220 may be distorted. Accordingly, the HR generator 420 may remove background noise from useful signals using an adaptive noise cancellation method.

상기 제2HR생성부430은 상기 센서부230(예를들면 가속도센서)의 출력에서 장치의 상태(예를들면 움직임 성분)를 검출하는 움직임검출부와, 상기 움직임검출부의 출력을 적용한 적응형 필터(adative filter)와, 상기 광센서230에서 출력되는 PPG신호에서 적응형 필터의 출력을 이용(예를들면 차감)하여 보상된 PPG신호를 발생하는 보상기(예를들면 감산기)와, 보상된 PPG 데이터를 계산하여 HR2를 계산하는 HR계산기 등을 포함할 수 있다. The second HR generation unit 430 includes a motion detection unit that detects a state of the device (eg, a motion component) from an output of the sensor unit 230 (eg, an acceleration sensor), and an adaptive filter to which the output of the motion detection unit is applied. filter), a compensator (e.g., a subtractor) that generates a compensated PPG signal by using (for example, subtracting) the output of an adaptive filter from the PPG signal output from the photosensor 230, and calculates the compensated PPG data. Thus, it may include an HR calculator that calculates HR2.

상기 광센서220에서 PPG 신호가 측정되는 상태에서 전자장치의 움직임이 발생될 때, 상기 광센서220은 트루 신호(true signal, 순수 PPG신호)와 모션 노이즈(장치의 움직임 및 외부 조명 등에 의해 발생될 수 있는 왜곡)가 포함된 혼합신호(mixture signal)을 검출할 수 있다. 그리고 센서부230(예를들면 3축 이상의 가속도센서) 장치의 움직임(motion)을 검출할 수 있다. 그러면 상기 적응형 필터는 측정된 가속도에 대한 응답으로, 왜곡 프로세스의 다이나믹스를 추정하고, 왜곡 신호의 추정치를 계산할 수 있다. 그리고 추정된 왜곡은 보상기에서 보상할 수 있다. 상기 보상기는 광센서220에서 출력에서 상기 추정된 왜곡을 차감하여 보상된 PPG신호를 생성할 수 있다. 상기 적응형 필터는 왜곡된 신호 요소가 가속도에 대한 응답으로 어떻게 생성되는지를 예측하는 다이나믹 모델을 포함할 수 있다.When the movement of the electronic device occurs while the PPG signal is measured by the optical sensor 220, the optical sensor 220 generates a true signal and motion noise (the movement of the device and external lighting, etc.). It is possible to detect a mixed signal (mixture signal) including possible distortion). In addition, the sensor unit 230 (for example, an acceleration sensor of three or more axes) may detect motion of the device. Then, the adaptive filter may estimate the dynamics of the distortion process and calculate an estimate of the distortion signal in response to the measured acceleration. And the estimated distortion can be compensated by the compensator. The compensator may generate a compensated PPG signal by subtracting the estimated distortion from the output of the photosensor 220. The adaptive filter may include a dynamic model that predicts how a distorted signal component is generated in response to acceleration.

상기한 바와 같이 상기 HR 초기 측정시 상기 HR처리부400은 상기 제2HR생성부430의 안정된 HR2를 생성할 때까지 상기 제1HR생성부220에서 출력되는 HR1을 최종 HR로 결정하여 출력할 수 있다. 그리고 상기 제2HR생성부430이 안정된 HR2를 생성하면, 상기 HR처리부400은 상기 HR2를 최종 HR로 출력하는 동작을 유지한다.As described above, during the initial measurement of HR, the HR processing unit 400 may determine and output HR1 output from the first HR generation unit 220 as the final HR until the stable HR2 of the second HR generation unit 430 is generated. When the second HR generation unit 430 generates a stable HR2, the HR processing unit 400 maintains an operation of outputting the HR2 as a final HR.

HR을 초기 구동할 때, 구동할 때 HR처리부400은 상기 HR1 및 HR2 비교하여 차이값을 출력하는 비교부450과, 상기 차이값을 설정된 기준값과 비교하여 상기 기준값보다 크면 상기 HR1을 출력하고, 상기 기준값보다 작으면 상기 HR2를 출력하는 판정부450을 포함할 수 있다. 상기 HR처리부400은 HR 측정을 시작하는 시간에서 상기 제2 HR생성부430이 안정된 HR2신호를 생성할 때 까지 상기 HR1을 선택하여 출력하고, 상기 제2 HR생성부430의 동작이 안정되면(예를들면 상기 HR1 및 HR2의 차이값이 설정된 기준값 이내의 값을 가지면) 상기 HR2를 선택하여 출력한다. 그리고 상기 제2 HR생성부430가 안정된 HR2를 출력하면, 상기 HR처리부400은 HR2의 출력을 유지한다.When the HR is initially driven, the HR processing unit 400 compares the HR1 and HR2 to output a difference value when the HR processing unit 400 compares the difference value with a set reference value and outputs the HR1 when it is greater than the reference value. If it is smaller than the reference value, it may include a determination unit 450 that outputs the HR2. The HR processing unit 400 selects and outputs the HR1 from the time when the HR measurement starts until the second HR generation unit 430 generates a stable HR2 signal, and when the operation of the second HR generation unit 430 is stabilized (e.g. For example, if the difference between the HR1 and HR2 has a value within the set reference value), the HR2 is selected and output. And when the second HR generation unit 430 outputs a stable HR2, the HR processing unit 400 maintains the output of HR2.

그리고 HR처리부400은 급격한 조건의 변화가 감지되면, 상기 제2HR생성부430의 안정된 HR2를 생성할 때까지 상기 제1HR생성부220에서 출력되는 HR1을 최종 HR로 결정하여 출력할 수 있다. 예를들면 상기 전자장치가 손목 등에 착용할 수 있는 워치(watch) 또는 밴드 타입의 전자장치인 경우, 전자장치를 벗었다가 다시 착용하면 상기 HR2생성부430의 동작이 안정될 때까지 수렴하는 시간의 많이 걸릴 수 있다. 이런 경우, 상기 HR처리부400은 초기 HR 측정시와 동일한 조건으로 HR을 출력할 수 있다. 이때 상기 급격한 조건의 변화를 감지하는 방법은 PPG신호를 이용하거나 또는 별도의 센서를 이용할 수 있다. 예를들면 워치 또는 밴드 타입의 전자장치인 경우, 착용하고 있는 상태에서는 DC 레벨이 착용하지 않은 상태에서보다 상대적으로 높게 감지된다. 따라서 상기 HR처리부400은 상기 PPG신호의 DC 레벨을 측정한 후, 측정된 DC 레벨이 급격하게 변화되면(예를들면 전자장치를 착용한 상태에서 벗거나 또는 벗은 상태에서 착용하는 경우), 초기 HR 측정시와 동일한 방법으로 HR을 결정하여 출력할 수 있다. In addition, when a sudden change in condition is detected, the HR processing unit 400 may determine and output HR1 output from the first HR generation unit 220 as a final HR until a stable HR2 of the second HR generation unit 430 is generated. For example, if the electronic device is a watch or band type electronic device that can be worn on a wrist, etc., when the electronic device is removed and worn again, the time that the HR2 generator 430 converges until the operation is stabilized. It can take a lot. In this case, the HR processing unit 400 may output HR under the same conditions as in the initial HR measurement. In this case, a method of detecting the sudden change in condition may use a PPG signal or a separate sensor. For example, in the case of a watch or band type electronic device, the DC level is sensed relatively higher when the device is worn than when the device is not worn. Therefore, the HR processing unit 400 measures the DC level of the PPG signal, and if the measured DC level changes abruptly (for example, when the electronic device is taken off while wearing or worn while the electronic device is worn), the initial HR HR can be determined and output in the same way as for measurement.

상기한 바와 같이 다양한 실시예에 따라 HR을 측정할 수 있는 전자장치는 빛을 발생하는 LED와 포토다이오드로 구성된 광센서220, 광학부에서 센싱된 신호를 처리하는 변환부410, 움직임에 대한 정보를 제공하는 가속도 센서부230과, 변환부410의 출력과 가속도 센서 출력을 받아 디지털 연산하는 제어부를 포함할 수 있다. As described above, the electronic device capable of measuring HR according to various embodiments includes an optical sensor 220 including an LED and a photodiode that generates light, a conversion unit 410 that processes a signal sensed by the optical unit, and information about motion. It may include an acceleration sensor unit 230 provided, and a control unit that receives the output of the conversion unit 410 and the acceleration sensor output and performs digital calculation.

그리고 상기 광센서220은 Photo Detector와 IR, Red LED를 포함할 수 있다. 또한 상기 광센서220은 Photo Detector와 Green LED를 포함할 수 있다. 또한 상기 광센서220은 Green과 IR, Red LED를 함께 포함할 수 있다. In addition, the optical sensor 220 may include a Photo Detector, IR, and Red LED. In addition, the optical sensor 220 may include a Photo Detector and a Green LED. In addition, the optical sensor 220 may include Green, IR, and Red LEDs together.

상기 변환부410은 증폭기와 ADC를 포함할 수 있다. 상기 센서부230은 3축이상의 가속도 센서를 사용할 수 있다. 상기 제어부200은 제1HR생성부420, 모션제거 알고리즘 및HR계산 알고리즘 포함할 수 있는 제2HR생성부430 및 HR1 및 HR2를 판정하여 최종 HR을 결정 및 출력하는 HR처리부400 등을 포함할 수 있다.The conversion unit 410 may include an amplifier and an ADC. The sensor unit 230 may use an acceleration sensor having three or more axes. The control unit 200 may include a first HR generation unit 420, a second HR generation unit 430 that may include a motion removal algorithm and an HR calculation algorithm, and an HR processing unit 400 that determines and outputs a final HR by determining HR1 and HR2.

도 6은 다양한 실시예들에 따른 전자 장치의 블록도를 도시한다. 상기 전자 장치는, 예를 들면, 도 1에 도시된 전자 장치 101의 전체 또는 일부를 구성할 수 있다. 도 6을 참조하면, 상기 전자 장치는 하나 이상의 어플리케이션 프로세서(AP: application processor) 610, 통신 모듈 620, SIM(subscriber identification module) 카드 624, 메모리 630, 센서 모듈 640, 입력 장치 650, 디스플레이 660, 인터페이스 670, 오디오 모듈 680, 카메라 모듈 691, 전력관리 모듈 695, 배터리 696, 인디케이터 697 및 모터 698 를 포함할 수 있다. 6 is a block diagram of an electronic device according to various embodiments. The electronic device may constitute, for example, all or part of the electronic device 101 illustrated in FIG. 1. Referring to FIG. 6, the electronic device includes at least one application processor (AP) 610, a communication module 620, a subscriber identification module (SIM) card 624, a memory 630, a sensor module 640, an input device 650, a display 660, and an interface. 670, an audio module 680, a camera module 691, a power management module 695, a battery 696, an indicator 697, and a motor 698.

상기 AP 610은 운영체제 또는 응용 프로그램을 구동하여 상기 AP 610에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 멀티미디어 데이터를 포함한 각종 데이터 처리 및 연산을 수행할 수 있다. 상기 AP 610은, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 상기 AP 610은 GPU(graphic processing unit, 미도시)를 더 포함할 수 있다.The AP 610 may control a plurality of hardware or software components connected to the AP 610 by driving an operating system or an application program, and may perform various data processing and operations including multimedia data. The AP 610 may be implemented with, for example, a system on chip (SoC). According to an embodiment, the AP 610 may further include a Graphic Processing Unit (GPU) (not shown).

상기 통신 모듈 620(예: 상기 통신 인터페이스 160)은 상기 전자 장치 (예: 상기 전자 장치 101)와 네트워크를 통해 연결된 다른 전자 장치들(예: 전자 장치 104 또는 서버 106) 간의 통신에서 데이터 송수신을 수행할 수 있다. 한 실시예에 따르면, 상기 통신 모듈 620은 셀룰러 모듈 621, Wifi 모듈 623, BT 모듈 625, GPS 모듈 627, NFC 모듈 628 및 RF(radio frequency) 모듈 629를 포함할 수 있다.The communication module 620 (eg, the communication interface 160) performs data transmission/reception in communication between the electronic device (eg, the electronic device 101) and other electronic devices (eg, the electronic device 104 or the server 106) connected through a network. can do. According to an embodiment, the communication module 620 may include a cellular module 621, a Wifi module 623, a BT module 625, a GPS module 627, an NFC module 628, and a radio frequency (RF) module 629.

상기 셀룰러 모듈 621은 통신망(예: LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등)을 통해서 음성 통화, 영상 통화, 문자 서비스 또는 인터넷 서비스 등을 제공할 수 있다. 또한, 상기 셀룰러 모듈 621은, 예를 들면, 가입자 식별 모듈(예: SIM 카드 624)을 이용하여 통신 네트워크 내에서 전자 장치의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 상기 셀룰러 모듈 621은 상기 AP 610이 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 예를 들면, 상기 셀룰러 모듈 621은 멀티 미디어 제어 기능의 적어도 일부를 수행할 수 있다. The cellular module 621 may provide a voice call, a video call, a text service, or an Internet service through a communication network (eg, LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro, GSM, etc.). In addition, the cellular module 621 may distinguish and authenticate electronic devices within a communication network using, for example, a subscriber identification module (eg, a SIM card 624). According to an embodiment, the cellular module 621 may perform at least some of the functions that the AP 610 can provide. For example, the cellular module 621 may perform at least a part of a multimedia control function.

한 실시예에 따르면, 상기 셀룰러 모듈 621은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다. 또한, 상기 셀룰러 모듈 621은, 예를 들면, SoC로 구현될 수 있다. 도 6에서는 상기 셀룰러 모듈 621(예: 커뮤니케이션 프로세서), 상기 메모리 630 또는 상기 전력관리 모듈 695 등의 구성요소들이 상기 AP 610과 별개의 구성요소로 도시되어 있으나, 한 실시예에 따르면, 상기 AP 과610이 전술한 구성요소들의 적어도 일부(예: 셀룰러 모듈 621)를 포함하도록 구현될 수 있다.According to an embodiment, the cellular module 621 may include a Communication Processor (CP). In addition, the cellular module 621 may be implemented as an SoC, for example. In FIG. 6, components such as the cellular module 621 (for example, a communication processor), the memory 630, or the power management module 695 are shown as separate components from the AP 610, but according to an embodiment, the AP and The 610 may be implemented to include at least some of the above-described components (eg, the cellular module 621).

한 실시예에 따르면, 상기 AP 610 또는 상기 셀룰러 모듈 621(예: 커뮤니케이션 프로세서)은 각각에 연결된 비휘발성 메모리 또는 다른 구성요소 중 적어도 하나로부터 수신한 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리할 수 있다. 또한, 상기 AP 610 또는 상기 셀룰러 모듈 621은 다른 구성요소 중 적어도 하나로부터 수신하거나 다른 구성요소 중 적어도 하나에 의해 생성된 데이터를 비휘발성 메모리에 저장(store)할 수 있다.According to an embodiment, the AP 610 or the cellular module 621 (for example, a communication processor) loads and processes commands or data received from at least one of a nonvolatile memory or other components connected to each of the volatile memory. can do. In addition, the AP 610 or the cellular module 621 may store data received from at least one of the other components or generated by at least one of the other components in a nonvolatile memory.

상기 Wifi 모듈 623, 상기 BT 모듈 625, 상기 GPS 모듈 627 또는 상기 NFC 모듈 628 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 도 6에서는 셀룰러 모듈 621, Wifi 모듈 623, BT 모듈 625, GPS 모듈 627 또는 NFC 모듈 628이 각각 별개의 블록으로 도시되었으나, 한 실시예에 따르면, 셀룰러 모듈 621, Wifi 모듈 623, BT 모듈 625, GPS 모듈 627 또는 NFC 모듈 628 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. 예를 들면, 셀룰러 모듈 621, Wifi 모듈 623, BT 모듈 625, GPS 모듈 627 또는 NFC 모듈 628 각각에 대응하는 프로세서들 중 적어도 일부(예: 셀룰러 모듈 621에 대응하는 커뮤니케이션 프로세서 및 Wifi 모듈 623에 대응하는 Wifi 프로세서)는 하나의 SoC로 구현될 수 있다. Each of the Wifi module 623, the BT module 625, the GPS module 627, or the NFC module 628 may include, for example, a processor for processing data transmitted and received through a corresponding module. In FIG. 6, the cellular module 621, the Wifi module 623, the BT module 625, the GPS module 627 or the NFC module 628 are shown as separate blocks, respectively, but according to an embodiment, the cellular module 621, the Wifi module 623, the BT module 625, GPS At least some (eg, two or more) of the module 627 or the NFC module 628 may be included in one integrated chip (IC) or IC package. For example, at least some of the processors corresponding to each of the cellular module 621, the Wifi module 623, the BT module 625, the GPS module 627, or the NFC module 628 (e.g., a communication processor corresponding to the cellular module 621 and a communication processor corresponding to the Wifi module 623) Wifi processor) can be implemented with one SoC.

상기 RF 모듈 629는 데이터의 송수신, 예를 들면, RF 신호의 송수신을 할 수 있다. 상기 RF 모듈 629는, 도시되지는 않았으나, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter) 또는 LNA(low noise amplifier) 등을 포함할 수 있다. 또한, 상기 RF 모듈 629는 무선 통신에서 자유 공간상의 전자파를 송수신하기 위한 부품, 예를 들면, 도체 또는 도선 등을 더 포함할 수 있다. 도 6에서는 셀룰러 모듈 621, Wifi 모듈 623, BT 모듈 625, GPS 모듈 627 및 NFC 모듈 628이 하나의 RF 모듈 629을 서로 공유하는 것으로 도시되어 있으나, 한 실시예에 따르면, 셀룰러 모듈 621, Wifi 모듈 623, BT 모듈 625, GPS 모듈 627 또는 NFC 모듈 628 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호의 송수신을 수행할 수 있다. The RF module 629 may transmit/receive data, for example, transmit/receive an RF signal. Although not shown, the RF module 629 may include, for example, a transceiver, a power amp module (PAM), a frequency filter, or a low noise amplifier (LNA). In addition, the RF module 629 may further include a component for transmitting and receiving electromagnetic waves in free space in wireless communication, for example, a conductor or a conducting wire. In FIG. 6, the cellular module 621, the Wifi module 623, the BT module 625, the GPS module 627, and the NFC module 628 are shown to share one RF module 629 with each other, but according to one embodiment, the cellular module 621, the Wifi module 623 At least one of the BT module 625, the GPS module 627, and the NFC module 628 may transmit/receive an RF signal through a separate RF module.

상기 SIM 카드 624는 가입자 식별 모듈을 포함하는 카드일 수 있으며, 전자 장치의 특정 위치에 형성된 슬롯에 삽입될 수 있다. 상기 SIM 카드 624는 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The SIM card 624 may be a card including a subscriber identification module, and may be inserted into a slot formed at a specific location of the electronic device. The SIM card 624 may include unique identification information (eg, integrated circuit card identifier (ICCID)) or subscriber information (eg, international mobile subscriber identity (IMSI)).

상기 메모리 630(예: 상기 메모리 130)는 내장 메모리 632 또는 외장 메모리 634를 포함할 수 있다. 상기 내장 메모리 632는, 예를 들면, 휘발성 메모리(예를 들면, DRAM(dynamic RAM), SRAM(static RAM), SDRAM(synchronous dynamic RAM) 등) 또는 비휘발성 메모리(non-volatile Memory, 예를 들면, OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, NAND flash memory, NOR flash memory 등) 중 적어도 하나를 포함할 수 있다.The memory 630 (for example, the memory 130) may include an internal memory 632 or an external memory 634. The internal memory 632 may be, for example, a volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), synchronous dynamic RAM (SDRAM), etc.)) or non-volatile memory (e.g., , At least one of OTPROM (one time programmable ROM), PROM (programmable ROM), EPROM (erasable and programmable ROM), EEPROM (electrically erasable and programmable ROM), mask ROM, flash ROM, NAND flash memory, NOR flash memory, etc.) It may include.

한 실시예에 따르면, 상기 내장 메모리 632는 Solid State Drive (SSD)일 수 있다. 상기 외장 메모리 634는 flash drive, 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital) 또는 Memory Stick 등을 더 포함할 수 있다. 상기 외장 메모리 634는 다양한 인터페이스를 통하여 상기 전자 장치와 기능적으로 연결될 수 있다. 한 실시예에 따르면, 상기 전자 장치 101는 하드 드라이브와 같은 저장 장치(또는 저장 매체)를 더 포함할 수 있다.According to an embodiment, the internal memory 632 may be a solid state drive (SSD). The external memory 634 is a flash drive, for example, compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), mini secure digital (Mini-SD), extreme digital (xD), or a Memory Stick. And the like may be further included. The external memory 634 may be functionally connected to the electronic device through various interfaces. According to an embodiment, the electronic device 101 may further include a storage device (or storage medium) such as a hard drive.

상기 센서 모듈 640은 물리량을 계측하거나 전자 장치 101의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 상기 센서 모듈 640은, 예를 들면, 제스처 센서 640A, 자이로 센서 640B, 기압 센서 640C, 마그네틱 센서 640D, 가속도 센서 640E, 그립 센서 640F, 근접 센서 640G, color 센서 640H(예: RGB(red, green, blue) 센서), 생체 센서 640I, 온/습도 센서 640J, 조도 센서 640K 또는 UV(ultra violet) 센서 640M 중의 적어도 하나를 포함할 수 있다. The sensor module 640 may measure a physical quantity or detect an operating state of the electronic device 101 and convert the measured or detected information into an electric signal. The sensor module 640 is, for example, a gesture sensor 640A, a gyro sensor 640B, an atmospheric pressure sensor 640C, a magnetic sensor 640D, an acceleration sensor 640E, a grip sensor 640F, a proximity sensor 640G, a color sensor 640H (e.g., RGB (red, green, blue) sensor), a biometric sensor 640I, a temperature/humidity sensor 640J, an illuminance sensor 640K, or an ultra violet (UV) sensor 640M.

여기서 상기 생체센서640I는 heart rate 측정 센서가 될 수 있다. 상기 heart rate 센서는 LED 및 포토다이오드를 구비할 수 있다. 상기 LED에서는 빛을 발생하는 일을 할 수 있다. LED에서 나온 빛이 사용자의 피부 속으로 전달된 뒤, 포토다이오드에서 빛의 일부를 검출하는 일을 할 수 있다. 검출된 빛은 증폭기를 통해 증폭되고, ADC 변환을 통해 디지털 값이 프로세서로 전달될 수 있다. 또한 가속도센서840E는 별도로 가속도 센서의 정보를 프로세서에서 전달할 수 있다. Here, the biosensor 640I may be a heart rate measurement sensor. The heart rate sensor may include an LED and a photodiode. The LED can work to generate light. After the light from the LED is transmitted into the user's skin, the photodiode can detect a part of the light. The detected light is amplified through an amplifier, and a digital value can be transferred to the processor through ADC conversion. In addition, the acceleration sensor 840E can separately transmit information of the acceleration sensor from the processor.

그러면 상기 AP 810은가속도 센서를 통해 측정한 Motion에 의한 영향을 보상하는 알고리즘을 수행하고, 디지털 변환된 입력신호를 가지고 HR을 계산해 주는 처리를 할 수 있다. 상기 AP810은 HR값을 측정하여 출력할 때, HR1값을 계산하고, HR2값을 계산한 후, 상기 HR1값과 HR2값을 비교하여 출력 HR값을 결정하며, 상기 결정된 HR값을 출력할 수 있다.Then, the AP 810 may perform an algorithm for compensating for the influence of the motion measured through the acceleration sensor, and may perform a process of calculating HR using the digitally converted input signal. When measuring and outputting the HR value, the AP810 calculates the HR1 value, calculates the HR2 value, compares the HR1 value and the HR2 value to determine an output HR value, and outputs the determined HR value. .

추가적으로 또는 대체적으로, 상기 센서 모듈 640은, 예를 들면, 후각 센서(E-nose sensor, 미도시), EMG 센서(electromyography sensor, 미도시), EEG 센서(electroencephalogram sensor, 미도시), ECG 센서(electrocardiogram sensor, 미도시), IR(infra red) 센서(미도시), 홍채 센서(미도시) 또는 지문 센서(미도시) 등을 포함할 수 있다. 상기 센서 모듈 640은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다.Additionally or alternatively, the sensor module 640 may include, for example, an olfactory sensor (E-nose sensor, not shown), an EMG sensor (electromyography sensor, not shown), an EEG sensor (electroencephalogram sensor, not shown), and an ECG sensor ( An electrocardiogram sensor, not shown), an infrared (IR) sensor (not shown), an iris sensor (not shown), or a fingerprint sensor (not shown). The sensor module 640 may further include a control circuit for controlling at least one or more sensors included therein.

상기 입력 장치 650은 터치 패널(touch panel) 652, (디지털) 펜 센서(pen sensor) 654, 키(key) 656 또는 초음파(ultrasonic) 입력 장치 658를 포함할 수 있다. 상기 터치 패널 652은, 예를 들면, 정전식, 감압식, 적외선 방식 또는 초음파 방식 중 적어도 하나의 방식으로 터치 입력을 인식할 수 있다. 또한, 상기 터치 패널 652은 제어 회로를 더 포함할 수도 있다. 정전식의 경우, 물리적 접촉 또는 근접 인식이 가능하다. 상기 터치 패널 652은 택타일 레이어(tactile layer)를 더 포함할 수도 있다. 이 경우, 상기 터치 패널 652은 사용자에게 촉각 반응을 제공할 수 있다. The input device 650 may include a touch panel 652, a (digital) pen sensor 654, a key 656, or an ultrasonic input device 658. The touch panel 652 may recognize a touch input using at least one of, for example, a capacitive type, a pressure sensitive type, an infrared type, or an ultrasonic type. In addition, the touch panel 652 may further include a control circuit. In the case of capacitive type, physical contact or proximity recognition is possible. The touch panel 652 may further include a tactile layer. In this case, the touch panel 652 may provide a tactile reaction to a user.

상기 (디지털) 펜 센서 654는, 예를 들면, 사용자의 터치 입력을 받는 것과 동일 또는 유사한 방법 또는 별도의 인식용 쉬트(sheet)를 이용하여 구현될 수 있다. 상기 키 656은, 예를 들면, 물리적인 버튼, 광학식 키 또는 키패드를 포함할 수 있다. 상기 초음파(ultrasonic) 입력 장치 658은 초음파 신호를 발생하는 입력 도구를 통해, 전자 장치 101에서 마이크(예: 마이크 688)로 음파를 감지하여 데이터를 확인할 수 있는 장치로서, 무선 인식이 가능하다. 한 실시예에 따르면, 상기 전자 장치 801는 상기 통신 모듈 620를 이용하여 이와 연결된 외부 장치(예: 컴퓨터 또는 서버)로부터 사용자 입력을 수신할 수도 있다. The (digital) pen sensor 654 may be implemented using, for example, a method identical or similar to that of receiving a user's touch input or a separate recognition sheet. The key 656 may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device 658 is a device capable of checking data by detecting sound waves with a microphone (eg, a microphone 688) in the electronic device 101 through an input tool generating an ultrasonic signal, and wireless recognition is possible. According to an embodiment, the electronic device 801 may receive a user input from an external device (eg, a computer or a server) connected thereto by using the communication module 620.

상기 디스플레이 660(예: 상기 디스플레이 150)은 패널 662, 홀로그램 장치 664 또는 프로젝터 666을 포함할 수 있다. 상기 패널 662은, 예를 들면, LCD(liquid-crystal display) 또는 AM-OLED(active-matrix organic light-emitting diode) 등일 수 있다. 상기 패널 662은, 예를 들면, 유연하게(flexible), 투명하게(transparent) 또는 착용할 수 있게(wearable) 구현될 수 있다. 상기 패널 662은 상기 터치 패널 652과 하나의 모듈로 구성될 수도 있다. 상기 홀로그램 장치 664은 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 상기 프로젝터 666는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 상기 스크린은, 예를 들면, 상기 전자 장치 101의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 상기 디스플레이 660은 상기 패널 662, 상기 홀로그램 장치 664, 또는 프로젝터 666를 제어하기 위한 제어 회로를 더 포함할 수 있다. The display 660 (eg, the display 150) may include a panel 662, a hologram device 664, or a projector 666. The panel 662 may be, for example, a liquid-crystal display (LCD) or an active-matrix organic light-emitting diode (AM-OLED). The panel 662 may be implemented to be flexible, transparent, or wearable, for example. The panel 662 may be configured with the touch panel 652 as a single module. The hologram device 664 may show a 3D image in the air by using interference of light. The projector 666 may display an image by projecting light onto a screen. The screen may be located inside or outside the electronic device 101, for example. According to an embodiment, the display 660 may further include a control circuit for controlling the panel 662, the hologram device 664, or the projector 666.

상기 인터페이스 670는, 예를 들면, HDMI(high-definition multimedia interface) 672, USB(universal serial bus) 674, 광 인터페이스(optical interface) 676 또는 D-sub(D-subminiature) 678를 포함할 수 있다. 상기 인터페이스 670은, 예를 들면, 도 1에 도시된 통신 인터페이스 160에 포함될 수 있다. 추가적으로 또는 대체적으로, 상기 인터페이스 670은, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure Digital) 카드/MMC(multi-media card) 인터페이스 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The interface 670 may include, for example, a high-definition multimedia interface (HDMI) 672, a universal serial bus (USB) 674, an optical interface 676, or a D-subminiature (D-sub) 678. The interface 670 may be included in, for example, the communication interface 160 illustrated in FIG. 1. Additionally or alternatively, the interface 670 includes, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card/multi-media card (MMC) interface, or an infrared data association (IrDA) standard interface. can do.

상기 오디오 모듈 680은 소리(sound)와 전기신호를 쌍방향으로 변환시킬 수 있다. 상기 오디오 모듈 680의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스 140에 포함될 수 있다. 상기 오디오 모듈 680은, 예를 들면, 스피커 682, 리시버 684, 이어폰 686 또는 마이크 688 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. The audio module 680 may bidirectionally convert sound and electrical signals. At least some components of the audio module 680 may be included in, for example, the input/output interface 140 illustrated in FIG. 1. The audio module 680 may process sound information input or output through, for example, a speaker 682, a receiver 684, an earphone 686, or a microphone 688.

상기 카메라 모듈 691은 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈(미도시), ISP(image signal processor, 미도시) 또는 플래쉬 (flash, 미도시)(예: LED 또는 xenon lamp)를 포함할 수 있다.The camera module 691 is a device capable of photographing still images and moving pictures, and according to an embodiment, one or more image sensors (eg, a front sensor or a rear sensor), a lens (not shown), an image signal processor (ISP, not shown) ) Or flash (not shown) (eg, LED or xenon lamp).

상기 전력 관리 모듈 695은 상기 전자 장치101의 전력을 관리할 수 있다. 도시하지는 않았으나, 상기 전력 관리 모듈 695은, 예를 들면, PMIC(power management integrated circuit), 충전 IC(charger integrated circuit) 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. The power management module 695 may manage power of the electronic device 101. Although not shown, the power management module 695 may include, for example, a power management integrated circuit (PMIC), a charger integrated circuit (IC), or a battery or fuel gauge.

상기 PMIC는, 예를 들면, 집적회로 또는 SoC 반도체 내에 탑재될 수 있다. 충전 방식은 유선과 무선으로 구분될 수 있다. 상기 충전 IC는 배터리를 충전시킬 수 있으며, 충전기로부터의 과전압 또는 과전류 유입을 방지할 수 있다. 한 실시예에 따르면, 상기 충전 IC는 유선 충전 방식 또는 무선 충전 방식 중 적어도 하나를 위한 충전 IC를 포함할 수 있다. 무선 충전 방식으로는, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등이 있으며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로 또는 정류기 등의 회로가 추가될 수 있다.The PMIC may be mounted in, for example, an integrated circuit or an SoC semiconductor. Charging methods can be divided into wired and wireless. The charger IC may charge a battery and prevent overvoltage or overcurrent from flowing from a charger. According to an embodiment, the charger IC may include a charger IC for at least one of a wired charging method or a wireless charging method. The wireless charging method includes, for example, a magnetic resonance method, a magnetic induction method, or an electromagnetic wave method, and additional circuits for wireless charging, for example, a circuit such as a coil loop, a resonance circuit, or a rectifier may be added. have.

상기 배터리 게이지는, 예를 들면, 상기 배터리 696의 잔량, 충전 중 전압, 전류 또는 온도를 측정할 수 있다. 상기 배터리 696는 전기를 저장 또는 생성할 수 있고, 그 저장 또는 생성된 전기를 이용하여 상기 전자 장치 101에 전원을 공급할 수 있다. 상기 배터리 696는, 예를 들면, 충전식 전지(rechargeable battery) 또는 태양 전지(solar battery)를 포함할 수 있다. The battery gauge may measure, for example, the remaining amount of the battery 696, voltage, current, or temperature during charging. The battery 696 may store or generate electricity, and supply power to the electronic device 101 by using the stored or generated electricity. The battery 696 may include, for example, a rechargeable battery or a solar battery.

상기 인디케이터 697는 상기 전자 장치 101혹은 그 일부(예: 상기 AP 610)의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 상기 모터 698는 전기적 신호를 기계적 진동으로 변환할 수 있다. 도시되지는 않았으나, 상기 전자 장치101는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 상기 모바일 TV지원을 위한 처리 장치는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting) 또는 미디어플로우(media flow) 등의 규격에 따른 미디어 데이터를 처리할 수 있다. 본 발명의 다양한 실시예에 따른 전자 장치의 전술한 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 본 발명의 다양한 실시예에 따른 전자 장치는 전술한 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 본 발명의 다양한 실시예에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.The indicator 697 may display a specific state of the electronic device 101 or a part thereof (eg, the AP 610), for example, a boot state, a message state, or a charging state. The motor 698 may convert an electrical signal into mechanical vibration. Although not shown, the electronic device 101 may include a processing device (eg, a GPU) for supporting mobile TV. The processing device for supporting mobile TV may process media data according to standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or media flow. Each of the above-described components of an electronic device according to various embodiments of the present disclosure may be composed of one or more components, and the name of the corresponding component may vary according to the type of the electronic device. An electronic device according to various embodiments of the present disclosure may include at least one of the above-described components, and some components may be omitted or additional other components may be further included. In addition, some of the constituent elements of an electronic device according to various embodiments of the present disclosure are combined to form a single entity, so that functions of the corresponding constituent elements before the combination may be performed in the same manner.

다양한 실시에에 따른 전자장치는 PPG신호를 감지하는 광센서와, 장치 상태를 감지하는 센서부와, 상기 측정된 PPG신호로부터 제1심박수, 제2심박수를 생성하고, 상기 제1심박수 및 제2심박수를 분석하여 출력 심박수를 결정하는 제어부와, 상기 결정된 심박수를 표시하는 표시부를 포함할 수 있다.Electronic devices according to various embodiments include an optical sensor detecting a PPG signal, a sensor unit detecting a device state, and generating a first heart rate and a second heart rate from the measured PPG signal, and generating the first heart rate and the second heart rate. A control unit configured to analyze the heart rate to determine an output heart rate, and a display unit to display the determined heart rate.

상기 제어부는 상기 PPG 신호를 이용하여 제1심박수를 생성하는 제1심박수생성기와, 제2심박수생성기와, 상기 제1심박수 및 제 2심박수를 비교 분석하는 심박수 처리부를 포함할 수 있다. The control unit may include a first heart rate generator that generates a first heart rate using the PPG signal, a second heart rate generator, and a heart rate processor that compares and analyzes the first heart rate and the second heart rate.

상기 심박수처리부는 상기 제1심박수 및 제2심박수 차이의 절대값(예컨대, 분석 처리값)을 설정된 기준값과 비교하는 비교부와, 상기 차이의 절대값(분석 처리값)이 상기 기준값보다 크면 상기 제1심박수를 출력하고, 상기 기준값보다 작으면 상기 제2심박수를 출력하는 판정부를 포함할 수 있다. The heart rate processing unit compares the absolute value (eg, analysis processing value) of the difference between the first heart rate and the second heart rate with a set reference value, and when the absolute value (analysis processing value) of the difference is greater than the reference value, It may include a determination unit that outputs one heart rate and outputs the second heart rate when it is less than the reference value.

상기 광센서는 PPG신호를 측정하기 위한 광을 발생하는 발광부와, 혈관의 이완 및 수축에 따라 변화되는 광을 수신하는 수광부를 포함할 수 있다. The optical sensor may include a light-emitting unit that generates light for measuring a PPG signal, and a light-receiving unit that receives light that changes according to relaxation and contraction of blood vessels.

상기 제1심박수생성기는 상기 PPG신호의 피크값을 검출하여 PPI를 구하고, 기준시간에서 상기 PPI를 계산하여 상기 제1심박수를 생성할 수 있다. The first heart rate generator may detect a peak value of the PPG signal to obtain a PPI, and may generate the first heart rate by calculating the PPI at a reference time.

상기 제1심박수생성기는 상기 PPG신호의 기울기에 대응되는 심박수 값들을 저장하는 메모리를 더 포함할 수 있으며, 상기 제1심박수 생성기는 상기 PPG신호의 기울기를 검출하고, 상기 메모리에서 상기 측정된 기울기에 대응되는 심박수 값을 결정할 수 있다. The first heart rate generator may further include a memory for storing heart rate values corresponding to the slope of the PPG signal, and the first heart rate generator detects the slope of the PPG signal and corresponds to the measured slope in the memory. The corresponding heart rate value can be determined.

상기 기 제2심박수생성기는 상기 센서부의 출력에서 장치의 상태를 검출하는 상태 검출부와, 상기 검출부에서 상기 장치의 상태 정보를 반영하는 적응(Adaptive) 필터와, 상기 PPG 신호를 적응 필터를 이용하여 보상된 PPG를 생성하는 보상기와, 상기 보상된 PPG신호를 분석하여 제2심박수를 계산하는 제2심박수계산기를 포함할 수 있다. The second heart rate generator comprises a state detection unit that detects the state of the device from the output of the sensor unit, an adaptive filter that reflects the state information of the device from the detection unit, and compensates the PPG signal using an adaptive filter. A compensator for generating the obtained PPG, and a second heart rate calculator for calculating a second heart rate by analyzing the compensated PPG signal.

상기 상태검출부는 가속도 센서 또는 온도센서 중 적어도 하나를 포함할 수 있다.The state detection unit may include at least one of an acceleration sensor and a temperature sensor.

상기 제어부는 상기 출력 심박수를 상기 제2심박수로 결정한 후 상기 제2심박수의 출력을 유지하며, 상기 PPG신호의 레벨 변화가 설정된 기준값을 초과하면 상기 제1심박수를 출력 심박수로 결정할 수 있다.After determining the output heart rate as the second heart rate, the controller maintains the output of the second heart rate, and when the level change of the PPG signal exceeds a set reference value, the first heart rate may be determined as the output heart rate.

상기 제어부는 상기 제2심박수를 결정한 후 상기 제2심박수의 출력을 계속 유지할 수 있다. After determining the second heart rate, the controller may continue to maintain the output of the second heart rate.

상기 제어부는 상기 제2심박수를 유지하는 동안에 상기 PPG신호를 분석하며, 상기 PPG신호의 변화가 기준값을 초과하면 상기 제1심박수를 출력 심박수로 결정할 수 있다. The controller analyzes the PPG signal while maintaining the second heart rate, and may determine the first heart rate as the output heart rate when the change in the PPG signal exceeds a reference value.

도 7은 전자장치에서 heart rate를 측정하는 방법을 도시하는 흐름도이다.7 is a flowchart illustrating a method of measuring a heart rate in an electronic device.

상기 도 7을 참조하면, 상기 제어부200은 711동작에서 광센서220에서 출력되는 PPG신호를 계산하여 HR1을 생성하며, 713동작에서 상기 광센서220에서 출력되는 PPG신호와 센서부230의 출력을 이용하여 HR2신호를 생성한다. 그리고 상기 제어부200은 715동작에서 장치가 안정화된 상태인가 검사한다. 이때 상기 제어부200은 심박수 측정이 시작되는 초기 구동 시점이면 상기 HR1과 HR2의 차이값을 계산한 후 상기 차이값을 설정된 기준값과 비교하며, 상기 차이값이 상기 기준값보다 크면 장치가 불안정한 상태로 판정하고 상기 차이값이 상기 기준값 범위 내의 값을 가지면 장치가 안정한 상태로 판정할 수 있다. 또한 상기 초기 구동시 상기 HR2신호를 생성하는 제2HR생성부430이 안정된 출력을 발생하는 시간을 측정하고, 상기 제어부200은 상기 측정된 시간이 경과하면 상기 장치가 안정된 상태로 판정할 수도 있다. 상기 제어부200은 715동작에서 장치가 불안정한 상태로 판단되면 717동작에서 상기 HR1을 출력하고, 장치가 안정된 상태로 판단되면 719동작에서 HR2를 출력할 수 있다.Referring to FIG. 7, the control unit 200 generates HR1 by calculating the PPG signal output from the optical sensor 220 in operation 711, and uses the PPG signal output from the optical sensor 220 and the output of the sensor unit 230 in operation 713. Thus, the HR2 signal is generated. In operation 715, the control unit 200 checks whether the device is in a stabilized state. At this time, the control unit 200 calculates a difference value between the HR1 and HR2 at the initial driving time when heart rate measurement starts, and then compares the difference value with a set reference value, and if the difference value is greater than the reference value, the device is determined to be in an unstable state. If the difference value has a value within the reference value range, the device can be determined to be in a stable state. In addition, during the initial driving, the second HR generator 430 that generates the HR2 signal measures a time for generating a stable output, and the control unit 200 may determine that the device is in a stable state when the measured time elapses. The controller 200 may output HR1 in operation 717 when it is determined that the device is in an unstable state in operation 715, and output HR2 in operation 719 when it is determined that the device is in a stable state.

또한 상기 장치가 안정된 상태에서 급격한 움직임이 발생되면, 장치가 불안정한 상태가 될 수 있다. 예를들면 착용형 전자장치에서 전자장치를 착용하거나 또는 벗는 경우 상기 광센서220에서 발생되는 PPG신호에 왜곡이 크게 발생할 수 있으며, 상기 제2HR생성부430에서 움직임 성분의 왜곡을 완전하게 보상하지 못할 수 있다. 예를들면 상기 장치가 혈관에 접촉된 상태에서 접촉이 해제되거나 또는 해제된 상태에서 접촉되는 경우, 또는 장치가 혈관에 근접한 상태에서 움직임이 발생되는 경우, 상기 장치는 불안정한 상태가 될 수 있다. 상기 제어부200은 상기 장치의 움직임에 따라(예를들면 장치가 혈관에 접촉,근접 접촉 또는 일정거리 이격 등)에 상기 광센서220에서 감지되는 PPG신호의 DC 레벨이 변경될 수 있다. 따라서 상기 제어부100은 상기 PPG신호의 DC레벨이 크게 변경되면 상기 715동작에서 장치가 불안정한 상태로 판정할 수 있다. 그리고 상기 715동작에서 장치가 불안정한 상태로 판단되면, 상기 제어부200은 717동작에서 HR1을 출력할 수 있다.In addition, if the device is in a stable state and sudden movement occurs, the device may become unstable. For example, in a wearable electronic device, when the electronic device is worn or taken off, the PPG signal generated by the optical sensor 220 may be greatly distorted, and the second HR generator 430 may not completely compensate for the distortion of the motion component. I can. For example, when the device is in contact with the blood vessel and the contact is released or the contact is released while the device is in contact with the blood vessel, or if movement occurs while the device is close to the blood vessel, the device may be in an unstable state. The controller 200 may change the DC level of the PPG signal detected by the optical sensor 220 according to the movement of the device (for example, the device contacts a blood vessel, close contact, or spaced a predetermined distance, etc.). Accordingly, if the DC level of the PPG signal is significantly changed, the control unit 100 may determine that the device is in an unstable state in operation 715. In addition, if it is determined in operation 715 that the device is in an unstable state, the control unit 200 may output HR1 in operation 717.

도 8은 전자장치에서 PPG신호를 이용하여 심박수를 계산하는 방법을 도시하는 흐름도이다. 상기 도 8은 PPG신호의 피크치를 검출하여 HR을 생성하는 방법을 설명하고 있다.8 is a flowchart illustrating a method of calculating a heart rate using a PPG signal in an electronic device. 8 illustrates a method of generating HR by detecting a peak value of a PPG signal.

상기 도 8을 참조하면, 전자장치는 811동작에서 광센서220에서 출력되는 PPG신호를 수신하며, 813동작에서 상기 PPG신호를 증폭 및 디지털 데이터로 변환한다. 여기서 상기 811동작 및 813동작은 제어부200과 광센서220 사이에 위치될 수 있는 신호처리부(예를들면 아날로그신호 처리부)에서 처리할 수 있다. 이후 상기 제어부200은 815동작에서 상기 PPG 데이터의 피크치를 검출하고, 817동작에서 피크치 간격(PPI)을 계산하여 HR1을 생성한다. 그리고 제어부200은 819동작에서 장치가 안정화되기 전이면 상기 HR1을 출력한다. Referring to FIG. 8, the electronic device receives a PPG signal output from the photosensor 220 in operation 811, and amplifies and converts the PPG signal into digital data in operation 813. Here, operations 811 and 813 may be processed by a signal processing unit (eg, an analog signal processing unit) that may be located between the control unit 200 and the optical sensor 220. Thereafter, the control unit 200 detects the peak value of the PPG data in operation 815, and calculates the peak value interval (PPI) in operation 817 to generate HR1. In operation 819, the controller 200 outputs the HR1 if the device is not stabilized.

상기 제어부200이 HR1을 계산하는 방법은 도 8의 815동작과 같이 PPG 데이터의 피크값을 검출하여 HR1을 계산하는 방법과 PPG 데이터의 기울기를 검출하여 HR1을 계산하는 방법을 사용할 수 있다. 먼저 전자의 방법은 상기 PPG 데이터의 peak 값을 검출한 후, 검출된 피크값들의 간격 PPI(예를들면 주파수)를 계산하여 HR1을 생성할 수 있다. 상기 피크검출 방법은 negative peak 또는 positive peak 검출 방법을 사용할 수 있다. 이때 피크값이 빠르게 검출되면 심박수는 높은 값으로 생성될 수 있으며, 피크값이 느리게 검출되면 심박수는 상대적으로 낮은 값으로 생성될 수 있다. 또한 상기 제어부200은 PPG 데이터(HR raw 데이터)의 기울기(slope)를 측정하여 HR 주기를 결정하고, 결정된 HR을 HR1으로 생성할 수 있다. 예를들면 상기 제어부200은 PPG 데이터의 기울기를 검출한 후, 상기 검출된 기울기에 해당하는 HR 값을 상기 저장부210에서 억세스하여 HR1으로 출력할 수 있다. 이때 상기 PPG 데이터가 가파른 기울기를 가지면 HR1값이 큰 값으로 추정될 수 있으며, 완만한 기울기를 가지면 HR1 값이 작은 값으로 추정할 수 있다.The method of calculating HR1 by the control unit 200 may include a method of calculating HR1 by detecting a peak value of PPG data as in operation 815 of FIG. 8, and a method of calculating HR1 by detecting a slope of PPG data. First, the former method may generate HR1 by detecting a peak value of the PPG data, and then calculating an interval PPI (eg, frequency) between the detected peak values. The peak detection method may use a negative peak or a positive peak detection method. In this case, when the peak value is detected quickly, the heart rate may be generated as a high value, and when the peak value is detected slowly, the heart rate may be generated as a relatively low value. In addition, the controller 200 may determine an HR cycle by measuring a slope of PPG data (HR raw data), and generate the determined HR as HR1. For example, after detecting the slope of the PPG data, the control unit 200 may access the HR value corresponding to the detected slope from the storage unit 210 and output it as HR1. At this time, if the PPG data has a steep slope, the HR1 value can be estimated as a large value, and when the PPG data has a gentle slope, the HR1 value can be estimated as a small value.

도 9는 전자장치에서 PPG신호 및 센서를 이용하여 심박수를 계산하는 방법을 도시하는 흐름도이다. 9 is a flowchart illustrating a method of calculating a heart rate using a PPG signal and a sensor in an electronic device.

상기 도 9를 참조하면, 전자장치는 911동작에서 광센서220에서 출력되는 PPG신호를 수신하며, 913동작에서 상기 PPG신호를 증폭 및 디지털 데이터로 변환한다. 여기서 상기 911동작 및 913동작은 제어부200과 광센서220 사이에 위치될 수 있는 신호처리부(예를들면 아날로그신호 처리부)에서 처리할 수 있다. 이때 상기 광센서220에서 출력되는 PPG신호는 순수 PPG신호에 모션 노이즈가 포함된 혼합신호(mixture signal가 될 수 있다. 이를 제거하기 위하여, 상기 제어부200은 917동작에서 센서부230(예를들면 3축 이상의 가속도센서)의 출력을 수신하여 장치의 움직임(motion)을 검출하고, 919동작에서 측정된 가속도에 대한 응답으로, 왜곡 프로세스의 다이나믹스를 추정하고, 왜곡 신호의 추정치를 계산할 수 있다. 이후 상기 제어부200은 915동작에서 상기 PPG 데이터에서 왜곡신호의 추정치를 차감하여 보상된 PPG 데이터를 생성하고, 상기 보상된 PPG 데이터를 계산하여 HR2를 생성한다. 이후 상기 제어부200은 장치가 안정된 상태이면 921동작에서 상기 HR2를 출력한다.Referring to FIG. 9, the electronic device receives a PPG signal output from the photosensor 220 in operation 911, and amplifies and converts the PPG signal into digital data in operation 913. Here, operations 911 and 913 may be processed by a signal processing unit (eg, an analog signal processing unit) that may be located between the control unit 200 and the optical sensor 220. At this time, the PPG signal output from the photosensor 220 may be a mixture signal including motion noise in the pure PPG signal. To remove this, the control unit 200 controls the sensor unit 230 (for example, 3) in operation 917. The motion of the device is detected by receiving the output of the acceleration sensor (above the axis), and in response to the acceleration measured in operation 919, the dynamics of the distortion process can be estimated, and an estimate of the distortion signal can be calculated. The controller 200 generates the compensated PPG data by subtracting the estimated value of the distortion signal from the PPG data in operation 915, and calculates the compensated PPG data to generate HR2. The HR2 is outputted at.

도 10은 전자장치에서 HR 측정 절차를 도시하는 흐름도이다.10 is a flowchart illustrating an HR measurement procedure in an electronic device.

상기 도 10을 참조하면, HR 측정이 요구되면 상기 제어부200은 1011동작에서 이를 감지하고, 1013동작 및 1015동작을 수행하면서 HR1 및 HR2를 계산한다. 여기서 상기 HR1은 상기 광센서220에서 출력되는 PPG신호를 이용하여 계산된 HR이 될 수 있으며, 상기 HR2는 장치의 움직임 성분에 발생되는 왜곡을 보상한 PPG신호를 이용하여 계산된 HR이 될 수 있다. 그리고 상기 제어부200은 1017동작에서 상기 HR1 및 HR2의 차이값을 계산한 후, 상기 차이값을 설정된 기준값과 비교하여 장치의 상태를 검사한다. 이때 상기 차이값이 상기 기준값보다 큰 값을 가지면, 상기 제어부200은 1017동작에서 불안정한 상태로 판단하고 1017동작에서 HR1을 선택하여 출력한다. 상기와 같이 장치가 불안정한 상태에서 상기 제어부200은 상기 HR1을 출력한다. 이후 상기 HR2는 안정된 값을 출력하게되며, 이런 경우 상기 차이값은 상기 기준값 보다 작아지는 값을 가지게 된다. 그러면 상기 제어부200은 1017동작에서 이를 감지하고, 1021동작에서 상기 HR2를 출력한다. 그리고 상기 장치가 안정된 상태가 되면, 상기 제어부200은 1017동작에서 이를 알 수 있으며, 따라서 상기 제어부200은 1021동작에서 HR2의 출력을 유지할 수 있다. 상기 제어부200은 HR 측정이 요청되면 HR1과 HR2를 계산한다. 그리고 초기 구동과 같이 장치의 상태를 안정되지 않은 상태에서 계산되는 HR2는 안정된 신호를 발생할 수 없을 수 있다. 여기서 상기 장치의 상태는 장치의 움직임, 주변온도, 주위 광량, PPG센서의 급격한 변화 등을 고려할 수 있다. 따라서 상기 제어부200은 장치의 상태를 고려하여 HR 측정이 안정되지 않은 초기 상태에서는 PPG신호를 이용한 HR1을 표시하며, 이후 장치가 안정된 상태가 되면 장치의 상태를 고려하여 계산되는 HR2를 표시할 수 있다. Referring to FIG. 10, when HR measurement is requested, the controller 200 detects it in operation 1011 and calculates HR1 and HR2 while performing operations 1013 and 1015. Here, the HR1 may be an HR calculated using a PPG signal output from the optical sensor 220, and the HR2 may be an HR calculated using a PPG signal compensated for distortion occurring in a motion component of the device. . In operation 1017, the controller 200 calculates a difference value between HR1 and HR2, and then compares the difference value with a set reference value to check the state of the device. At this time, if the difference value has a value greater than the reference value, the control unit 200 determines that it is unstable in operation 1017 and selects and outputs HR1 in operation 1017. In the unstable state of the device as described above, the controller 200 outputs the HR1. Thereafter, the HR2 outputs a stable value, and in this case, the difference value has a value smaller than the reference value. Then, the controller 200 detects this in operation 1017 and outputs the HR2 in operation 1021. In addition, when the device is in a stable state, the control unit 200 can know this in operation 1017, and thus the control unit 200 can maintain the output of HR2 in operation 1021. When the HR measurement is requested, the controller 200 calculates HR1 and HR2. In addition, HR2, which is calculated in an unstable state of the device, such as initial driving, may not be able to generate a stable signal. Here, the state of the device may take into account the movement of the device, the ambient temperature, the amount of ambient light, and the sudden change of the PPG sensor. Accordingly, the controller 200 may display HR1 using the PPG signal in an initial state in which HR measurement is not stable in consideration of the state of the device, and may display HR2 calculated in consideration of the state of the device when the device becomes stable. .

도 11은 전자장치에서 HR 측정 절차의 다른 예를 도시하는 흐름도이다.11 is a flowchart illustrating another example of an HR measurement procedure in an electronic device.

상기 도 11을 참조하면, 1111동작에서 1019 동작은 상기 도 10의 1011 동작에서 1019동작과 동일한 방법으로 수행될 수 있다. 그리고 상기 장치가 안정되면, 상기 제어부200은 1117동작에서 이를 감지하고 1131동작에서 상기 HR2를 출력할 수 있다. 예를들면 상기 제어부200은 1117단계에서 HR1과 HR2의 차이를 계산하고, 계산된 차이값의 절대값이 설정된 기준값 Th와 비교한다(Diff(abs(HR1-HR2))>Th?). 그리고 비교 결과 기준값보다 크면 상기 제어부200은 장치가 불안정한 상태로 상태로 판단하여 1119단계에서 HR1 값을 출력 및 표시할 수 있다. 그리고 비교 결과 기준값보다 작으면 상기 제어부200은 장치가 안정한 상태로 상태로 판단하여 1131단계에서 HR1 값을 출력 및 표시할 수 있다. Referring to FIG. 11, operation 1019 in operation 1111 may be performed in the same manner as operation 1019 in operation 1011 in FIG. 10. In addition, when the device is stable, the controller 200 may detect this in operation 1117 and output the HR2 in operation 1131. For example, the control unit 200 calculates the difference between HR1 and HR2 in step 1117, and compares the absolute value of the calculated difference value with the set reference value Th (Diff(abs(HR1-HR2))>Th?). In addition, if the comparison result is greater than the reference value, the controller 200 may determine that the device is in an unstable state, and output and display the HR1 value in step 1119. In addition, if the comparison result is smaller than the reference value, the controller 200 may determine that the device is in a stable state, and output and display the HR1 value in step 1131.

그리고 장치가 안정된 상태에서 상기 제어부200은 HR2의 출력을 유지하며, 상기 HR2의 출력이 유지되는 상태에서 상기 제어부200은 1133동작 및 1135동작에서 상기 HR1 및 HR2를 생성 할 수 있다.In addition, when the device is stable, the controller 200 maintains the output of HR2, and when the output of HR2 is maintained, the controller 200 may generate the HR1 and HR2 in operations 1133 and 1135.

그리고 상기 제어부200은 1137동작에서 장치의 상태를 검사한다. 이는 HR2를 출력하는 상태에서 장치가 불안정한 상태로 변화되면, 상기 HR2가 안정되게 생성할 때까지 HR1을 출력하도록 하기 위함이다. 상기 장치의 상태를 판단하는 조건은 장치의 움직임 또는 주변의 온도 또는 광량 또는 PPG센서 출력의 변화 등이 될 수 있다. 예를들면 상기 전자장치가 손목 등에 착용할 수 있는 워치 타입(watch type)의 전자장치인 경우, 전자장치를 벗었다가 다시 착용하면 장치가 안정될 때까지 수렴하는 시간의 많이 걸릴 수 있다. 제어부200은 가속도센서를 통해 장치의 급격한 움직임을 감지하면, 1137단계에서 이를 감지하고 초기 HR 측정시와 동일한 조건으로 HR을 출력할 수 있다. 이때 상기 급격한 조건의 변화를 감지하는 방법은 PPG신호를 이용하거나 또는 별도의 센서를 이용할 수 있다. 예를들면 워치 타입의 전자장치인 경우, 착용하고 있는 상태에서는 DC 레벨이 착용하지 않은 상태에서보다 상대적으로 높게 감지된다. 따라서 상기 제어부200은 상기 PPG신호의 DC 레벨을 측정한 후, 측정된 DC 레벨이 급격하게 변화되면(예를들면 전자장치를 착용한 상태에서 벗거나 또는 벗은 상태에서 착용하는 경우), 장치가 불안정한 상태로 판정할 수 있다. 따라서 상기 장치가 불안정한 상태로 천이되면 상기 제어부200은 1137동작에서 이를 감지하고 상기 1113동작으로 되돌아간다. 따라서 전자장치는 초기 HR 측정시와 동일한 방법으로 HR을 결정하여 출력할 수 있다. 그러나 상기 장치가 안정한 상태를 유지하면, 상기 제어부200은 1137동작에서 이를 감지하고 1141동작에서 HR2의 출력 상태를 유지할 수 있다. 또한 전자장치는 주변의 온도를 감지하는 온도센서를 더 구비할 수 있다. 그리고 상기 제어부200은 상기 온도센서의 출력이 급격한 변화를 가지면(예를들면 장치가 추운 곳에서 더운 곳으로 이동되면(겨울에 실외에서 실내로 들어오면)) 상기 제어부200은 1137단계에서 이를 감지하고 상기와 같은 동작을 수행할 수 있다. 또한 전자장치는 주변의 광량을 감지하는 조도센서를 더 구비할 수 있다. 주위 광량이 급격한 변화를 존재하면 상기 제어부(200)은 1137단계에서 이를 감지 하고 상기와 같은 동작을 수행할 수 있다. 또한 상기 전자장치는 상기 PPG 센서의 출력이 크게 변동되는 경우에도 장치의 비안정상태로 판정할 수 있다.상기와 같은 동작은 HR 측정 동작이 종료될 때까지 수행할 수 있으며, 상기 HR 측정의 종료가 요구되면 상기 제어부200은 1139동작에서 이를 감지하고 상기 HR 측정을 종료할 수 있다.In operation 1137, the controller 200 checks the state of the device. This is to output HR1 until the HR2 is stably generated when the device changes from the outputting HR2 to an unstable state. The condition for determining the state of the device may be a movement of the device or a change in ambient temperature or light intensity or an output of a PPG sensor. For example, if the electronic device is a watch type electronic device that can be worn on a wrist or the like, when the electronic device is removed and then worn again, it may take a long time to converge until the device is stabilized. When the controller 200 detects the sudden movement of the device through the acceleration sensor, it may sense it in step 1137 and output the HR under the same conditions as the initial HR measurement. In this case, a method of detecting the sudden change in condition may use a PPG signal or a separate sensor. For example, in the case of a watch-type electronic device, the DC level is detected relatively higher in the wearing state than in the unworn state. Therefore, the controller 200 measures the DC level of the PPG signal, and if the measured DC level changes abruptly (for example, when the electronic device is removed while wearing or worn while the electronic device is worn), the device becomes unstable. It can be judged by the state. Accordingly, when the device transitions to an unstable state, the controller 200 detects it in operation 1137 and returns to the operation 1113. Accordingly, the electronic device can determine and output HR in the same manner as in the initial HR measurement. However, if the device maintains a stable state, the controller 200 may detect this in operation 1137 and maintain the output state of HR2 in operation 1141. In addition, the electronic device may further include a temperature sensor that senses the surrounding temperature. In addition, when the output of the temperature sensor has a sudden change (for example, when the device moves from a cold place to a hot place (when entering from outdoors in winter)), the control unit 200 detects this in step 1137. The above operation can be performed. In addition, the electronic device may further include an illuminance sensor that senses the amount of light around it. If there is a sudden change in the amount of ambient light, the control unit 200 may detect it in step 1137 and perform the same operation as described above. In addition, the electronic device may determine that the device is in an unstable state even when the output of the PPG sensor changes significantly. The above operation may be performed until the HR measurement operation is terminated, and the HR measurement is terminated. When is requested, the controller 200 may detect it in operation 1139 and terminate the HR measurement.

상기한 바와 같이 전자장치는 광센서(PPG센서 또는 heart rate 측정을 위한 sensor)를 구비하여 PPG를 이용한 HR을 측정할 수 있다. 본 개시에 따른 전자장치의 다양한 실시예의 HR 방법은 안정된 HR 값들을 취득하기 전까지 HR1 값을 출력으로 제공하다가, 안정된 HR2 값을 취득하게 되면 HR2를출력할 수 있다.따라서 HR 측정 장치는 장치가 불안정한 상태에서 실제의 HR 값이 표시될 때까지 실제값하고 차이가 많이 나는 잘못된 정보가 제공되는 것을 최소화 할 수 있게 할 수 있다.As described above, the electronic device may be equipped with an optical sensor (a PPG sensor or a sensor for measuring a heart rate) to measure HR using PPG. In the HR method of various embodiments of the electronic device according to the present disclosure, the HR1 value may be provided as an output until stable HR values are acquired, and then the HR2 may be output when the stable HR2 value is acquired. Accordingly, the HR measuring device is configured to have an unstable device. In the state, until the actual HR value is displayed, it is possible to minimize the provision of false information that differs greatly from the actual value.

다양한 실시예에 따른 전자장치의 심박수 처리 방법이, PPG신호를 감지하는 동작과, 상기 측정된 PPG신호로부터 제1심박수를 생성하는 동작과, 상기 측정된 PPG신호로부터 제2심박수를 생성하는 동작과, 상기 제1심박수와 제2심박수를 분석하여 출력 심박수를 결정하는 동작과, 상기 출력 심박수를 표시하는 동작을 포함할 수 있다. A heart rate processing method of an electronic device according to various embodiments includes an operation of detecting a PPG signal, an operation of generating a first heart rate from the measured PPG signal, an operation of generating a second heart rate from the measured PPG signal, and , An operation of determining an output heart rate by analyzing the first heart rate and the second heart rate, and an operation of displaying the output heart rate.

상기 출력 심박수를 결정하는 동작은 상기 제1심박수와 제2심박수 차이의 절대값과 설정된 기준값을 비교하는 동작과, 상기 차이의 절대값이 상기 기준값보다 크면 상기 제1심박수를 결정하는 동작과, 상기 차이의 절대값이 상기 기준값보다 작으면 상기 제2심박수를 결정하는 동작을 포함할 수 있다. The determining of the output heart rate includes an operation of comparing an absolute value of the difference between the first heart rate and the second heart rate with a set reference value, determining the first heart rate when the absolute value of the difference is greater than the reference value, and If the absolute value of the difference is less than the reference value, an operation of determining the second heart rate may be included.

상기 출력 심박수를 결정하는 동작은 상기 제2심박수를 결정한 후 상기 제2심박수의 출력을 계속 유지하는 동작을 더 포함할 수 있다. The determining of the output heart rate may further include an operation of continuously maintaining the output of the second heart rate after determining the second heart rate.

상기 출력심박수를 결정하는 동작은 상기 제2심박수를 유지하는 동안에 상기 PPG신호를 분석하는 동작과, 상기 PPG신호의 변화가 기준값을 초과하면 상기 제1심박수를 출력 심박수로 결정하는 동작을 더 포함할 수 있다. The determining of the output heart rate further includes an operation of analyzing the PPG signal while maintaining the second heart rate, and determining the first heart rate as an output heart rate when a change in the PPG signal exceeds a reference value. I can.

상기 제1심박수를 생성하는 동작은 상기 PPG신호의 변화를 주파수로 변환하는 동작과, 기준시간에서 상기 주파수를 분석하여 제1심박수를 생성하는 동작을 포함할 수 있다The operation of generating the first heart rate may include an operation of converting a change of the PPG signal into a frequency, and an operation of generating a first heart rate by analyzing the frequency at a reference time.

상기 제1심박수를 생성하는 동작은 상기 PPG신호의 피크값을 검출하여 피크값의 간격(PPI, peak-to-peak interval)을 동작을 통하여 제1심박수로 생성하는 동작을 포함할 수 있다. 상기 피크값의 간격을 검출하는 동작은 상기 PPG신호의 포지티브 피크 또는 네가티브 피크 값의 간격을 검출할 수 있다. The operation of generating the first heart rate may include an operation of detecting a peak value of the PPG signal and generating a peak-to-peak interval (PPI) as a first heart rate through an operation. The operation of detecting an interval between the peak values may detect an interval between a positive peak or a negative peak value of the PPG signal.

상기 제1심박수를 생성하는 동작은 상기 PPG신호의 기울기를 측정하는 동작과, 기울기에 대응되는 심박수 값들을 저장하고 있으며, 상기 측정된 기울기에 대응되는 심박수 값을 결정하는 동작을 포함할 수 있다.The generating of the first heart rate may include measuring a slope of the PPG signal, storing heart rate values corresponding to the slope, and determining a heart rate value corresponding to the measured slope.

상기 제2심박수를 생성하는 동작은 상기 장치의 상태를 감지하고, 상기 장치의 상태에 따라 상기 PPG 신호를 보정하여 보정된 PPG 신호로부터 제 2심박수를 얻는 동작을 포함할 수 있다. The operation of generating the second heart rate may include an operation of detecting a state of the device and correcting the PPG signal according to the state of the device to obtain a second heart rate from the corrected PPG signal.

상기 제2심박수를 생성하는 동작은 상기 장치의 상태를 측정하는 동작과, 상기 상태에 따라 적응(Adaptive) 필터를 생성하는 동작과, 상기 PPG 신호를 적응필터를 이용하여 보상된 PPG를 생성하는 동작과, 상기 보상된 PPG를 통하여 제2 심박수를 생성하는 동작을 포함할 수 있다. The generating of the second heart rate includes measuring a state of the device, generating an adaptive filter according to the state, and generating a PPG compensated for the PPG signal using an adaptive filter. And, it may include an operation of generating a second heart rate through the compensated PPG.

상기 제2심박수를 생성하는 동작은 가속도센서 출력 혹은 온도센서의 출력 중 적어도 하나를 이용하여 측정할 수 있다. The operation of generating the second heart rate may be measured using at least one of an output of an acceleration sensor or an output of a temperature sensor.

다양한 실시예에 따른 전자장치의 심박수 처리 방법은 심박수 측정 시작시 PPG신호로부터 제1심박수를 생성하여 출력하는 동작과, 상기 장치의 움직임을 감지하고, 감지된 움직임에 따라 상기 PPG신호를 보정한 후, 상기 보정된 PPG신호로부터 제2심박수를 생성하는 동작과, 상기 제1심박수와 제2심박수를 분석하며, 상기 제2심박수가 안정된 출력을 하면 상기 제2심박수를 출력심박수로 결정하는 동작과, 상기 출력 심박수를 표시하는 동작을 포함할 수 있다. The heart rate processing method of an electronic device according to various embodiments includes an operation of generating and outputting a first heart rate from a PPG signal at the start of heart rate measurement, sensing movement of the device, and correcting the PPG signal according to the detected movement. , Generating a second heart rate from the corrected PPG signal, analyzing the first heart rate and the second heart rate, and determining the second heart rate as an output heart rate when the second heart rate is stable output, It may include an operation of displaying the output heart rate.

상기 출력 심박수를 결정하는 동작은 상기 제2심박수를 결정한 후 상기 제2심박수의 출력을 계속 유지하는 동작을 더 포함할 수 있다. The determining of the output heart rate may further include an operation of continuously maintaining the output of the second heart rate after determining the second heart rate.

상기 출력심박수를 결정하는 동작은 상기 제2심박수를 유지하는 동안에 상기 PPG신호를 분석하는 동작과, 상기 PPG신호의 변화가 기준값을 초과하면 상기 제1심박수를 출력 심박수로 결정하는 동작을 더 포함할 수 있다. The determining of the output heart rate further includes an operation of analyzing the PPG signal while maintaining the second heart rate, and determining the first heart rate as an output heart rate when a change in the PPG signal exceeds a reference value. I can.

본 발명의 다양한 실시예에 사용된 용어 “모듈”은, 예를 들어, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. “모듈”은 예를 들어, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component) 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. “모듈”은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. “모듈”은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. “모듈”은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면, 본 발명의 다양한 실시예에 따른 “모듈”은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다. The term "module" used in various embodiments of the present invention may mean a unit including one or a combination of two or more of hardware, software, or firmware, for example. “Module” may be used interchangeably with terms such as unit, logic, logical block, component, or circuit. “Module” may be the smallest unit or part of an integrally configured part. A “module” may be a minimum unit or a part of one or more functions. The “module” can be implemented mechanically or electronically. For example, the "module" according to various embodiments of the present invention is known or developed in the future, an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs), or programmable logic that performs certain operations. It may include at least one of programmable-logic devices.

다양한 실시예에 따르면, 본 발명의 다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그래밍 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어는, 하나 이상의 프로세서 (예: 상기 프로세서 210)에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 상기 메모리 220가 될 수 있다. 상기 프로그래밍 모듈의 적어도 일부는, 예를 들면, 상기 프로세서210에 의해 구현(implement)(예: 실행)될 수 있다. 상기 프로그래밍 모듈 의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트 (sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least a part of an apparatus (eg, modules or functions thereof) or a method (eg, operations) according to various embodiments of the present disclosure may be computer-readable in the form of, for example, a programming module. It can be implemented as a command stored in a computer-readable storage media. When the command is executed by one or more processors (eg, the processor 210), the one or more processors may perform a function corresponding to the command. The computer-readable storage medium may be, for example, the memory 220. At least a part of the programming module may be implemented (for example, executed) by the processor 210, for example. At least a part of the programming module may include, for example, a module, a program, a routine, a set of instructions or a process for performing one or more functions.

상기 컴퓨터로 판독 가능한 기록 매체에는 하드디스크, 플로피디스크 및 자기 테이프와 같은 마그네틱 매체(Magnetic Media)와, CD-ROM(Compact Disc Read Only Memory), DVD(Digital Versatile Disc)와 같은 광기록 매체(Optical Media)와, 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media)와, 그리고 ROM(Read Only Memory), RAM(Random Access Memory), 플래시 메모리 등과 같은 프로그램 명령(예: 프로그래밍 모듈)을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함될 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 본 발명의 다양한 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.The computer-readable recording medium includes magnetic media such as hard disks, floppy disks, and magnetic tapes, and optical recording media such as Compact Disc Read Only Memory (CD-ROM) and Digital Versatile Disc (DVD). Media), Magnetic-Optical Media such as a floptical disk, and program commands such as read only memory (ROM), random access memory (RAM), flash memory, etc. A hardware device specially configured to store and perform modules). Further, the program instruction may include not only machine language codes such as those produced by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The above-described hardware device may be configured to operate as one or more software modules to perform operations of various embodiments of the present invention, and vice versa.

본 발명의 다양한 실시예에 따른 모듈 또는 프로그래밍 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 본 발명의 다양한 실시예에 따른 모듈, 프로그래밍 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.A module or a programming module according to various embodiments of the present disclosure may include at least one or more of the above-described components, some of the above-described components may be omitted, or additional other components may be further included. Operations performed by a module, a programming module, or other components according to various embodiments of the present disclosure may be executed sequentially, in parallel, repeatedly, or in a heuristic manner. In addition, some operations may be executed in a different order, omitted, or other operations may be added.

그리고 본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 실시예에 따른 의 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예들 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.In addition, the embodiments of the present invention disclosed in the specification and drawings are only provided to provide specific examples to easily explain the technical content of according to the embodiments of the present invention and to aid in understanding of the embodiments of the present invention, and the scope of the embodiments of the present invention I am not trying to limit it. Therefore, the scope of various embodiments of the present invention should be interpreted as being included in the scope of various embodiments of the present invention in addition to the embodiments disclosed herein, all changes or modified forms derived based on the technical idea of various embodiments of the present invention. .

101, 104: 전자장치
200: 제어부 210: 저장부
220: 광센서 230: 센서부
240: 표시부 250: 입력부
101, 104: electronic device
200: control unit 210: storage unit
220: optical sensor 230: sensor unit
240: display unit 250: input unit

Claims (24)

전자장치의 심박수 처리 방법에 있어서,
광센서를 이용하여, 광혈류량(PPG)신호를 검출하는 동작과,
센서부를 이용하여, 상기 전자장치의 상태를 검출하는 동작과,
심박수 측정 시작 시, 상기 검출된 광혈류량 신호로부터 제1심박수를 생성하는 동작과,
상기 센서부를 통해 검출된 상기 전자장치의 상태에 따라 상기 광센서를 통해 검출된 상기 광혈류량 신호를 보정하고, 상기 보정된 광혈류량 신호로부터 제2심박수를 생성하는 동작과,
상기 센서부를 통해 검출된 신호를 기초로 하여, 상기 전자장치가 안정화된 상태인지의 여부를 확인하는 동작과,
제어부가, 상기 제1심박수 및 제2심박수의 차이값을 계산하고, 상기 계산된 차이값이 설정된 기준값보다 작으면, 상기 전자장치가 안정한 상태로 판단하여 상기 제2심박수를 표시부에 표시하는 동작과,
상기 계산된 차이값이 설정된 기준값보다 크면, 상기 전자 장치가 불안정한 상태로 판단하여 상기 제1심박수를 표시부에 표시하는 동작을 포함하되,
상기 심박수 측정 시작 시에는 상기 제1심박수를 상기 표시부에 표시하고, 상기 측정 시작 후 일정 시간이 경과한 후, 상기 전자장치가 안정한 상태이면 상기 제2심박수를 상기 표시부에 표시하는 방법.
In the heart rate processing method of an electronic device,
An operation of detecting a light blood flow (PPG) signal using an optical sensor, and
An operation of detecting a state of the electronic device using a sensor unit,
When starting heart rate measurement, generating a first heart rate from the detected optical blood flow signal,
Correcting the optical blood flow signal detected through the optical sensor according to the state of the electronic device detected through the sensor unit, and generating a second heart rate from the corrected optical blood flow signal,
An operation of checking whether the electronic device is in a stabilized state based on the signal detected through the sensor unit, and
The control unit calculates a difference value between the first heart rate and the second heart rate, and when the calculated difference value is less than a set reference value, the electronic device determines that the electronic device is in a stable state and displays the second heart rate on the display unit. ,
If the calculated difference value is greater than a set reference value, determining that the electronic device is in an unstable state and displaying the first heart rate on a display unit,
When the heart rate measurement starts, the first heart rate is displayed on the display unit, and after a predetermined time elapses after the measurement is started, the second heart rate is displayed on the display unit when the electronic device is in a stable state.
삭제delete 제1항에 있어서,
상기 제2심박수가 상기 표시부를 통해 표시된 후, 상기 제2심박수의 표시를 계속 유지하는 동작을 더 포함하는 방법.
The method of claim 1,
After the second heart rate is displayed through the display, the method further comprises an operation of continuously maintaining the display of the second heart rate.
제3항에 있어서,
상기 제2심박수를 유지하는 동안에 상기 광혈류량 신호를 분석하는 동작과,
상기 광혈류량 신호의 변화가 기준값을 초과하면 상기 제1심박수를 출력 심박수로 결정하는 동작을 더 포함하는 방법.
The method of claim 3,
Analyzing the optical blood flow signal while maintaining the second heart rate, and
The method further comprising determining the first heart rate as an output heart rate when the change in the optical blood flow signal exceeds a reference value.
제1항에 있어서, 상기 제1심박수를 생성하는 동작은,
상기 광혈류량 신호의 변화를 주파수로 변환하는 동작과,
기준시간에서 상기 주파수를 분석하여 상기 제1심박수를 생성하는 동작을 포함하는 방법.
The method of claim 1, wherein the operation of generating the first heart rate,
An operation of converting the change in the optical blood flow signal into a frequency,
And generating the first heart rate by analyzing the frequency at a reference time.
제1항에 있어서, 상기 제1심박수를 생성하는 동작은,
상기 광혈류량 신호의 피크값을 검출하여 피크값의 간격(PPI, peak-to-peak interval)을 검출하는 동작을 통하여 제1심박수로 생성하는 동작을 포함하는 방법.
The method of claim 1, wherein the operation of generating the first heart rate,
And generating a first heart rate by detecting a peak value of the optical blood flow signal and detecting a peak-to-peak interval (PPI).
제6항에 있어서,
상기 피크값의 간격을 검출하는 동작은, 상기 광혈류량 신호의 포지티브 피크 또는 네가티브 피크 값의 간격을 검출하는 방법.
The method of claim 6,
The detecting of the interval between the peak values may include detecting an interval between a positive peak or a negative peak value of the optical blood flow signal.
제1항에 있어서, 상기 제1심박수를 생성하는 동작은,
상기 광혈류량 신호의 기울기를 측정하는 동작과,
메모리에 저장된 기울기에 대응되는 심박수 값들을 기초로 하여, 상기 측정된 기울기에 대응되는 심박수 값을 결정하는 동작을 포함하는 방법.
The method of claim 1, wherein the operation of generating the first heart rate,
Measuring the slope of the optical blood flow signal,
And determining a heart rate value corresponding to the measured slope based on heart rate values corresponding to the slope stored in the memory.
삭제delete 제1항에 있어서,
상기 제2심박수를 생성하는 동작은,
상기 전자장치의 상태를 측정하는 동작과,
적응(Adaptive)필터를 이용하여 상기 전자장치의 상태를 필터링하는 동작과,
상기 적응필터를 이용하여 보상된 광혈류량 신호를 생성하는 동작과,
상기 보상된 PPG를 통하여 제2심박수를 생성하는 동작을 포함하는 방법.
The method of claim 1,
The operation of generating the second heart rate,
An operation of measuring the state of the electronic device, and
Filtering the state of the electronic device using an adaptive filter; and
Generating a compensated optical blood flow signal using the adaptive filter; and
And generating a second heart rate through the compensated PPG.
제10항에 있어서,
상기 제2심박수를 생성하는 동작은,
상기 전자장치 내의 가속도센서의 출력 혹은 온도센서의 출력 혹은 조도센서 중 적어도 하나를 이용하는 방법.
The method of claim 10,
The operation of generating the second heart rate,
A method of using at least one of an output of an acceleration sensor in the electronic device, an output of a temperature sensor, or an illuminance sensor.
전자장치에 있어서,
표시부와,
광혈류량(PPG) 신호를 검출하는 광센서와,
상기 전자장치의 상태를 검출하는 센서부와,
심박수 측정 시작 시, 상기 검출된 광혈류량 신호로부터 제1심박수, 제2심박수를 생성하고, 상기 제1심박수 및 제2심박수를 분석하는 제어부를 포함하고,
상기 제어부는,
상기 센서부를 통해 검출된 상기 전자장치의 상태에 따라 상기 광센서를 통해 검출된 상기 광혈류량 신호를 보정하고, 상기 보정된 광혈류량 신호로부터 상기 제2심박수를 생성하고,
상기 센서부를 통해 검출된 신호를 기초로 하여, 상기 전자장치가 안정화된 상태인지의 여부를 확인하고,
상기 제1심박수 및 상기 제2심박수의 차이값을 계산하고, 상기 계산된 차이값이 설정된 기준값보다 작으면, 상기 전자장치가 안정한 상태로 판단하여 상기 제2심박수를 표시부에 표시하고,
상기 계산된 차이값이 설정된 기준값보다 크면, 상기 전자 장치가 불안정한 상태로 판단하여 상기 제1심박수를 표시부에 표시하되,
상기 심박수 측정 시작 시에는 상기 제1심박수를 상기 표시부에 표시하고, 상기 측정 시작 후 일정 시간이 경과한 후, 상기 전자장치가 안정한 상태이면 상기 제2심박수를 상기 표시부에 표시하도록 설정된 전자장치.
In the electronic device,
With the display,
An optical sensor that detects a light blood flow (PPG) signal,
A sensor unit that detects a state of the electronic device,
At the start of heart rate measurement, comprising a control unit for generating a first heart rate and a second heart rate from the detected optical blood flow signal, and analyzing the first heart rate and the second heart rate,
The control unit,
Correcting the optical blood flow signal detected through the optical sensor according to the state of the electronic device detected through the sensor unit, and generating the second heart rate from the corrected optical blood flow signal,
Based on the signal detected through the sensor unit, it is checked whether the electronic device is in a stabilized state,
A difference value between the first heart rate and the second heart rate is calculated, and if the calculated difference value is less than a set reference value, the electronic device is determined to be in a stable state and the second heart rate is displayed on the display unit,
If the calculated difference value is greater than a set reference value, the electronic device is determined to be in an unstable state and the first heart rate is displayed on a display unit,
An electronic device configured to display the first heart rate on the display unit when the heart rate measurement starts, and display the second heart rate on the display unit when the electronic device is in a stable state after a predetermined period of time has elapsed after the measurement is started.
제12항에 있어서,
상기 제어부는,
상기 광혈류량 신호를 이용하여 상기 제1심박수를 생성하는 제1심박수생성기 및 제2심박수생성기와,
상기 제1심박수 및 상기 제2심박수를 비교 분석하는 심박수 처리부를 포함하는 전자장치.
The method of claim 12,
The control unit,
A first heart rate generator and a second heart rate generator for generating the first heart rate using the optical blood flow signal,
An electronic device comprising a heart rate processor for comparing and analyzing the first heart rate and the second heart rate.
제13항에 있어서,
상기 심박수 처리부는,
상기 제1심박수 및 상기 제2심박수의 분석 처리값을 설정된 기준값과 비교하는 비교부와,
상기 분석 처리값이 상기 기준값보다 크면 상기 제1심박수를 출력하고, 상기 기준값보다 작으면 상기 제2심박수를 출력하는 판정부를 포함하는 전자장치.
The method of claim 13,
The heart rate processing unit,
A comparison unit for comparing the analysis processing value of the first heart rate and the second heart rate with a set reference value,
And a determination unit configured to output the first heart rate when the analysis processing value is greater than the reference value and output the second heart rate when it is less than the reference value.
제12항에 있어서,
상기 광센서는,
상기 광혈류량 신호를 측정하기 위한 광을 발생하는 발광부와,
혈관의 이완 및 수축에 따라 변화되는 광을 수신하는 수광부를 포함하는 전자장치.
The method of claim 12,
The optical sensor,
A light emitting unit that generates light for measuring the optical blood flow signal,
An electronic device including a light receiving unit that receives light that changes according to relaxation and contraction of blood vessels.
제13항에 있어서,
상기 제1심박수생성기는 상기 광혈류량 신호의 피크값을 검출하여 PPI를 구하고, 기준시간에서 상기 PPI를 계산하여 상기 제1심박수를 생성하는 전자장치.
The method of claim 13,
The first heart rate generator detects a peak value of the optical blood flow signal to obtain a PPI, and calculates the PPI at a reference time to generate the first heart rate.
제13항에 있어서,
상기 제1심박수생성기는 상기 광혈류량 신호의 기울기에 대응되는 심박수 값들을 저장하는 메모리를 더 포함하며,
상기 제1심박수생성기는 상기 광혈류량 신호의 기울기를 검출하고, 상기 메모리에서 상기 측정된 기울기에 대응되는 심박수 값을 결정하는 전자장치.
The method of claim 13,
The first heart rate generator further includes a memory for storing heart rate values corresponding to a slope of the optical blood flow signal,
The first heart rate generator detects a slope of the optical blood flow signal and determines a heart rate value corresponding to the measured slope in the memory.
제13항에 있어서,
상기 제2심박수생성기는,
상기 센서부의 출력에서 상기 전자장치의 상태를 검출하는 상태 검출부와,
상기 전자장치의 상태 정보를 반영하는 적응(Adaptive) 필터와,
상기 광혈류량 신호를 적응 필터를 이용하여 보상된 PPG를 생성하는 보상기와,
상기 보상된 광혈류량 신호를 분석하여 제2심박수를 계산하는 제2심박수계산기를 포함하는 전자장치.
The method of claim 13,
The second heart rate generator,
A state detection unit that detects a state of the electronic device from an output of the sensor unit,
An adaptive filter that reflects state information of the electronic device;
A compensator for generating a PPG compensated for the optical blood flow signal by using an adaptive filter,
An electronic device comprising a second heart rate calculator configured to calculate a second heart rate by analyzing the compensated optical blood flow signal.
제18항에 있어서,
상기 상태 검출부는 가속도 센서 또는 온도센서 또는 조도센서 중 적어도 하나를 포함하는 전자장치.
The method of claim 18,
The state detection unit electronic device including at least one of an acceleration sensor, a temperature sensor, and an illuminance sensor.
제12항에 있어서,
상기 제어부는 상기 표시부를 통해 상기 제2심박수의 표시를 유지하고, 상기 광혈류량 신호의 레벨 변화가 설정된 기준값을 초과하면 상기 제1심박수를 출력 심박수로 결정하는 전자장치.
The method of claim 12,
The control unit maintains the display of the second heart rate through the display unit, and determines the first heart rate as an output heart rate when a level change of the optical blood flow signal exceeds a set reference value.
삭제delete 삭제delete 삭제delete 삭제delete
KR1020140041446A 2014-01-07 2014-04-07 Apparatus and method for measuring a heart rate using photoplethysmography in a electronic device KR102256287B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/587,550 US10856747B2 (en) 2014-01-07 2014-12-31 Method and system for measuring heart rate in electronic device using photoplethysmography
EP14200706.1A EP2896359B1 (en) 2014-01-07 2014-12-31 Method and system for measuring heart rate in electronic device using photoplethysmography

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201461924606P 2014-01-07 2014-01-07
US61/924,606 2014-01-07

Publications (2)

Publication Number Publication Date
KR20150083000A KR20150083000A (en) 2015-07-16
KR102256287B1 true KR102256287B1 (en) 2021-05-26

Family

ID=53884865

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140041446A KR102256287B1 (en) 2014-01-07 2014-04-07 Apparatus and method for measuring a heart rate using photoplethysmography in a electronic device

Country Status (1)

Country Link
KR (1) KR102256287B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017014550A1 (en) * 2015-07-20 2017-01-26 주식회사 휴이노 Method and apparatus for measuring photoplethysmography signal, and non-transitory computer-readable recording medium
KR102375812B1 (en) 2015-12-31 2022-03-18 엘지이노텍 주식회사 Sensing apparatus with light-detecting sensor attached to cover-glass
KR101961525B1 (en) * 2016-11-09 2019-03-22 경북대학교 산학협력단 A system for measuring and estimating heart beat in real-time
BR112020019815A2 (en) * 2018-03-28 2021-01-05 Livmor, Inc. ANALYSIS AND PRESENTATION OF PHOTOPLETISMOGRAM DATA
KR102325172B1 (en) * 2018-12-10 2021-11-11 경희대학교 산학협력단 Method for detecting biosignal using diversity technique and bio radar system implementing the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100997444B1 (en) * 2009-11-17 2010-11-30 (주)에이치쓰리시스템 Photoplethysmography apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462182B1 (en) * 2002-04-15 2004-12-16 삼성전자주식회사 Apparatus and method for detecting heart beat using ppg
KR100519758B1 (en) * 2003-01-22 2005-10-07 삼성전자주식회사 Method and apparatus for evaluating human stress using PPG
KR100571811B1 (en) * 2003-05-09 2006-04-17 삼성전자주식회사 Ear type measurement apparatus for bio signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100997444B1 (en) * 2009-11-17 2010-11-30 (주)에이치쓰리시스템 Photoplethysmography apparatus

Also Published As

Publication number Publication date
KR20150083000A (en) 2015-07-16

Similar Documents

Publication Publication Date Title
US10856747B2 (en) Method and system for measuring heart rate in electronic device using photoplethysmography
KR102160636B1 (en) Electronic device and method for controlling an input-output device
KR102514140B1 (en) Electronic device and method for controlling fan of the electronic device
KR102529686B1 (en) Electronic device and method for recognizing grip state using the same
KR102266730B1 (en) Electronic device
US20150190077A1 (en) Electronic device and photoplethysmography method
KR102114178B1 (en) method and apparatus for controlling electronic devices in proximity
KR102226177B1 (en) Method for executing user authentication and electronic device thereof
EP3213170B1 (en) Method for controlling operation of electronic device and electronic device using the same
KR102401659B1 (en) Electronic device and method for processing video according to camera photography environment and scene using the same
KR102266468B1 (en) Method for a focus control and electronic device thereof
US20150264267A1 (en) Method for guiding shooting location of electronic device and apparatus therefor
KR102143871B1 (en) Apparatus and method for controlling a power of electronic device
KR102267520B1 (en) Method for detecting ultraviolet ray and electronic device thereof
KR102256287B1 (en) Apparatus and method for measuring a heart rate using photoplethysmography in a electronic device
US10305311B2 (en) Electronic device and method for controlling temperature of electronic device
KR20150094289A (en) Photogrpaphing method of electronic apparatus and electronic apparatus thereof
US10371577B2 (en) Apparatus and method for measuring temperature in electronic device
KR20150082045A (en) Electronic device and photoplethysmography method
US20200213494A1 (en) Method for processing image on basis of external light, and electronic device supporting same
KR20180108201A (en) Method and apparatus for controlling white balance function of electronic device
KR102244855B1 (en) Method for choosing input and output device and electronic device implementing the same
KR102491941B1 (en) Electronic device and method for controlling power
KR102314717B1 (en) Electronic device and method for measuring a velocity in the electronic device
KR102319981B1 (en) Method and apparatus for charging using multiple energy source

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant