CN117615707A - Electronic apparatus for correcting oxygen saturation and control method thereof - Google Patents

Electronic apparatus for correcting oxygen saturation and control method thereof Download PDF

Info

Publication number
CN117615707A
CN117615707A CN202280047250.3A CN202280047250A CN117615707A CN 117615707 A CN117615707 A CN 117615707A CN 202280047250 A CN202280047250 A CN 202280047250A CN 117615707 A CN117615707 A CN 117615707A
Authority
CN
China
Prior art keywords
oxygen saturation
electronic device
movement
value
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202280047250.3A
Other languages
Chinese (zh)
Inventor
郑贤俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020220033113A external-priority patent/KR20230024189A/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority claimed from PCT/KR2022/007349 external-priority patent/WO2023017972A1/en
Publication of CN117615707A publication Critical patent/CN117615707A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

According to an embodiment, an electronic device may include a first sensor to sense movement, a second sensor to measure oxygen saturation, a memory, and at least one processor operably connected to the first sensor, the second sensor, and the memory, wherein the at least one processor: when a movement having a configuration value or more is sensed via the first sensor, identifying whether a posture-maintaining period before movement sensing is a configuration period or more; obtaining an oxygen saturation reference value stored in a memory when a posture maintaining period before movement sensing is a configuration period or more; and correcting the oxygen saturation value obtained via the second sensor during the posture-maintaining period before the movement sensing based on the oxygen saturation reference value.

Description

Electronic apparatus for correcting oxygen saturation and control method thereof
Technical Field
Embodiments of the present disclosure relate to an electronic device that adjusts oxygen saturation and a control method thereof.
Background
User concerns about health problems have increased and techniques have been developed that enable users to measure biometric signals via electronic devices.
For example, electrocardiogram, blood pressure, pulse, respiration rate, body temperature and oxygen saturation can be measured via sensors included in such electronic devices.
Pulse oximetry is a useful method to be able to measure oxygen saturation in a non-invasive manner using the light absorbance of arterial blood to measure oxygen saturation at two wavelengths (RED) and infrared), the amount of arterial blood temporarily increasing due to cardiac output.
Pulse oximeter has the advantage that it is a non-invasive method and is comprised in an electronic device (e.g. a wearable device) that is in contact with the body part of the user.
Disclosure of Invention
Technical problem
Most wearable devices contain pulse oximeter functionality, and sensors contained in the wearable device that support the pulse oximeter functionality may be provided in a reflective structure.
Unlike a transmission type pulse oximeter, which is a medical device, a reflection type pulse oximeter may have many error factors such as a path difference between two wavelengths (red, infrared), an optical branching, etc. in measuring oxygen saturation.
Specifically, in order to stably measure oxygen saturation, it is necessary to stably maintain the posture. However, it has been found that it is difficult to maintain a stable posture during sleep, and the flipping over of the bed may cause stress on a predetermined site, or may cause an optical short circuit due to a relative position between a heart organ and a measurement site or a gap between a body site and a sensor (e.g., a pulse oximetry sensor). Thus, the measured oxygen saturation may contain errors.
The present disclosure provides an electronic device that adjusts oxygen saturation including an error and a control method thereof.
Technical solution
According to various embodiments, an electronic device may include: a first sensor configured to detect movement; a second sensor configured to measure oxygen saturation; a memory; and at least one processor operatively connected to the first sensor, the second sensor, and the memory, and configured to: if a movement greater than or equal to a predetermined value is detected via the first sensor, identifying whether a period of time for which the gesture is maintained prior to the detection of the movement is greater than or equal to a predetermined period of time; identifying an oxygen saturation reference value stored in the memory if a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; and adjusting an oxygen saturation value obtained via the second sensor during a period of time in which the posture is maintained before the movement is detected based on the oxygen saturation reference value.
According to various embodiments, a method of controlling an electronic device may include: an operation of identifying whether a period of time for maintaining the posture before the movement is detected is greater than or equal to a predetermined period of time if the movement greater than or equal to a predetermined value is detected via a first sensor for detecting the movement; an operation of obtaining an oxygen saturation reference value stored in the memory if a period of time for which the posture is maintained before the movement is detected is greater than or equal to a predetermined period of time; and an operation of adjusting an oxygen saturation value obtained via a second sensor for measuring oxygen saturation during a period of maintaining the posture before the movement is detected, based on the oxygen saturation reference value.
According to various embodiments, an electronic device may include a communication module (including communication circuitry); a memory; and at least one processor operatively connected to the communication module and the memory, the at least one processor configured to: if a movement of the external electronic device that is greater than or equal to a predetermined value is identified based on a sensing value received from the external electronic device via the communication module, identifying whether a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; obtaining an oxygen saturation reference value stored in a memory if a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; and adjusting an oxygen saturation value received from the external electronic device during a period of time in which the gesture is maintained before the movement is detected based on the oxygen saturation reference value.
Before proceeding with the following detailed description, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms "include" and "comprise," as well as derivatives thereof, are intended to be inclusive and mean inclusion, but not limited to; the term "or" is inclusive, meaning and/or; the phrases "associated with … …" and "associated therewith" and derivatives thereof may mean included within … …, interconnected with … …, contained within … …, connected to or connected with … …, coupled to or connected with … …, communicable with … …, cooperative with … …, interlaced, juxtaposed, proximate to … …, bound to or bound with … …, having … … properties, and the like; and the term "controller" means any device, system, or portion thereof that controls at least one operation, such device may be implemented in hardware, firmware, or software, or some combination of at least two of the same. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether locally or remotely.
Furthermore, the various functions described below may be implemented or supported by one or more computer programs, each of which is formed from computer readable program code and embodied in a computer readable medium. The terms "application" and "program" refer to one or more computer programs, software components, sets of instructions, procedures, functions, objects, classes, instances, related data, or a portion thereof adapted for implementation in a suitable computer readable program code. The phrase "computer readable program code" includes any type of computer code, including source code, object code, and executable code. The phrase "computer readable medium" includes any type of medium capable of being accessed by a computer, such as Read Only Memory (ROM), random Access Memory (RAM), a hard disk drive, a Compact Disc (CD), a Digital Video Disc (DVD), or any other type of memory. "non-transitory" computer-readable media exclude wired, wireless, optical, or other communication links that transmit transient electrical signals or other signals. Non-transitory computer readable media include media that can permanently store data, as well as media that can store and subsequently rewrite data, such as rewritable optical disks or erasable memory devices.
Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.
Advantageous effects
If an error occurs in measuring oxygen saturation due to the electronic device being pressed by the body or a gap is generated between the electronic device and the body of the user due to the turning over of the bed, the electronic device according to various embodiments of the present disclosure may adjust the error to be within a normal range, thereby obtaining an accurate oxygen saturation value during sleep.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which like reference numbers indicate like parts throughout:
FIG. 1 illustrates a block diagram of an electronic device in a network environment, in accordance with various embodiments;
FIG. 2 illustrates a simplified configuration of an electronic device in accordance with various embodiments;
FIG. 3 illustrates a method of adjusting oxygen saturation by an electronic device, in accordance with various embodiments;
FIG. 4 illustrates operations for adjusting oxygen saturation by an electronic device, in accordance with various embodiments;
FIG. 5 illustrates a method for adjusting oxygen saturation by an electronic device based on a time period for maintaining a gesture, in accordance with various embodiments;
FIG. 6 illustrates a sleep gesture-based orientation of an electronic device in accordance with various embodiments;
FIG. 7 illustrates a method of changing a posture index by an electronic device, in accordance with various embodiments;
FIG. 8 illustrates operations for changing a posture index by an electronic device, in accordance with various embodiments;
FIG. 9a illustrates operations for adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9b illustrates an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9c illustrates an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9d illustrates an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9e illustrates operations for adjusting oxygen saturation over time by an electronic device, according to various embodiments;
FIG. 10a illustrates an operation of setting a threshold for a period of time in which a posture of an electronic device is maintained, in accordance with various embodiments; and
fig. 10b illustrates an operation of setting a threshold for a period of time in which a posture of an electronic device is maintained, in accordance with various embodiments.
Detailed Description
Figures 1 through 10b, discussed below, and the various embodiments used to describe the principles of the present disclosure in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. Those skilled in the art will appreciate that the principles of the present disclosure may be implemented in any suitably arranged system or device.
Fig. 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Referring to fig. 1, an electronic device 101 in a network environment 100 may communicate with the electronic device 102 via a first network 198 (e.g., a short-range wireless communication network) or with at least one of the electronic device 104 or the server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection end 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a Subscriber Identity Module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the above-described components (e.g., connection end 178) may be omitted from electronic device 101, or one or more other components may be added to electronic device 101. In some embodiments, some of the components described above (e.g., sensor module 176, camera module 180, or antenna module 197) may be implemented as a single integrated component (e.g., display module 160).
The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 that is connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may store commands or data received from another component (e.g., the sensor module 176 or the communication module 190) into the volatile memory 132, process the commands or data stored in the volatile memory 132, and store the resulting data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a Central Processing Unit (CPU) or an Application Processor (AP)) or an auxiliary processor 123 (e.g., a Graphics Processing Unit (GPU), a Neural Processing Unit (NPU), an Image Signal Processor (ISP), a sensor hub processor, or a Communication Processor (CP)) that is operatively independent of or combined with the main processor 121. For example, when the electronic device 101 comprises a main processor 121 and a secondary processor 123, the secondary processor 123 may be adapted to consume less power than the main processor 121 or to be dedicated to a particular function. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of the main processor 121.
The auxiliary processor 123 (instead of the main processor 121) may control at least some of the functions or states related to at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) when the main processor 121 is in an inactive (e.g., sleep) state, or the auxiliary processor 123 may control at least some of the functions or states related to at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) with the main processor 121 when the main processor 121 is in an active state (e.g., running an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include hardware structures dedicated to artificial intelligence model processing. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, by the electronic device 101 where artificial intelligence is performed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be a Deep Neural Network (DNN), a Convolutional Neural Network (CNN), a Recurrent Neural Network (RNN), a boltzmann machine limited (RBM), a Deep Belief Network (DBN), a bi-directional recurrent deep neural network (BRDNN), or a deep Q network, or a combination of two or more thereof, but is not limited thereto. Additionally or alternatively, the artificial intelligence model may include software structures in addition to hardware structures.
The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., program 140) and input data or output data for commands associated therewith. Memory 130 may include volatile memory 132 or nonvolatile memory 134.
The program 140 may be stored as software in the memory 130, and the program 140 may include, for example, an Operating System (OS) 142, middleware 144, or applications 146.
The input module 150 may receive commands or data from outside the electronic device 101 (e.g., a user) to be used by other components of the electronic device 101 (e.g., the processor 120). The input module 150 may include, for example, a microphone, a mouse, a keyboard, keys (e.g., buttons) or a digital pen (e.g., a stylus).
The sound output module 155 may output a sound signal to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers may be used for general purposes such as playing multimedia or playing a record. The receiver may be used to receive an incoming call. Depending on the embodiment, the receiver may be implemented separate from the speaker or as part of the speaker.
Display module 160 may visually provide information to the outside (e.g., user) of electronic device 101. The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 160 may comprise a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of the force caused by a touch.
The audio module 170 may convert sound into electrical signals and vice versa. According to an embodiment, the audio module 170 may obtain sound via the input module 150, or output sound via the sound output module 155 or an external electronic device (e.g., the electronic device 102, such as a speaker or earphone) that is directly connected or wirelessly connected with the electronic device 101.
The sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101 and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyroscope sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an Infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
Interface 177 may support one or more specific protocols that will be used to directly or wirelessly connect electronic device 101 with an external electronic device (e.g., electronic device 102). According to an embodiment, interface 177 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital (SD) card interface, or an audio interface.
The connection end 178 may include a connector via which the electronic device 101 may be physically connected with an external electronic device (e.g., the electronic device 102). According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
The haptic module 179 may convert the electrical signal into a mechanical stimulus (e.g., vibration or motion) or an electrical stimulus that may be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrostimulator.
The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as at least part of, for example, a Power Management Integrated Circuit (PMIC).
Battery 189 may power at least one component of electronic device 101. According to an embodiment, battery 189 may include, for example, a primary non-rechargeable battery, a rechargeable battery, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently of the processor 120 (e.g., an Application Processor (AP)) and supporting direct (e.g., wired) or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a Global Navigation Satellite System (GNSS) communication module) or a wired communication module 194 (e.g., a Local Area Network (LAN) communication module or a Power Line Communication (PLC) module). A respective one of these communication modules may communicate with the external electronic device 104 via a first network 198 (e.g., a short-range communication network such as bluetooth, wireless fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a conventional cellular network, a 5G network, a next-generation communication network, the internet, or a computer network (e.g., a LAN or wide-area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multiple components (e.g., multiple chips) separate from each other. The wireless communication module 192 may identify or authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
The wireless communication module 192 may support a 5G network following a 4G network as well as next generation communication technologies (e.g., new Radio (NR) access technologies). NR access technologies may support enhanced mobile broadband (eMBB), large-scale machine type communication (mctc), or Ultra Reliable Low Latency Communication (URLLC). The wireless communication module 192 may support a high frequency band (e.g., millimeter wave band) to achieve, for example, a high data transmission rate. The wireless communication module 192 may support various techniques for ensuring performance over high frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to an embodiment, the wireless communication module 192 may support a peak data rate (e.g., 20Gbps or greater) for implementing an eMBB, a lost coverage (e.g., 164dB or less) for implementing an emtc, or a U-plane delay (e.g., a round trip of 0.5ms or less, or 1ms or less for each of the Downlink (DL) and Uplink (UL)) for implementing a URLLC.
The antenna module 197 may transmit signals or power to the outside of the electronic device 101 (e.g., an external electronic device) or receive signals or power from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element composed of a conductive material or conductive pattern formed in or on a substrate, such as a Printed Circuit Board (PCB). According to an embodiment, the antenna module 197 may include a plurality of antennas (e.g., array antennas). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190. Signals or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, further components (e.g., a Radio Frequency Integrated Circuit (RFIC)) other than radiating elements may additionally be formed as part of the antenna module 197.
According to various embodiments, antenna module 197 may form a millimeter wave antenna module. According to embodiments, a millimeter-wave antenna module may include a printed circuit board, a Radio Frequency Integrated Circuit (RFIC) disposed on a first surface (e.g., a bottom surface) of the printed circuit board or adjacent to the first surface and capable of supporting a specified high frequency band (e.g., a millimeter-wave band), and a plurality of antennas (e.g., array antennas) disposed on a second surface (e.g., a top surface or a side surface) of the printed circuit board or adjacent to the second surface and capable of transmitting or receiving signals of the specified high frequency band.
At least some of the above components may be interconnected via an inter-peripheral communication scheme (e.g., bus, general Purpose Input Output (GPIO), serial Peripheral Interface (SPI), or Mobile Industrial Processor Interface (MIPI)) and communicatively communicate signals (e.g., commands or data) therebetween.
According to an embodiment, commands or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the external electronic device 102 or the external electronic device 104 may be the same type of device as the electronic device 101 or a different type of device from the electronic device 101. According to an embodiment, all or some of the operations to be performed at the electronic device 101 may be performed at one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically perform a function or service or should perform a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to perform at least part of the function or service instead of or in addition to the function or service, or the electronic device 101 may request the one or more external electronic devices to perform at least part of the function or service. The one or more external electronic devices that received the request may perform the requested at least part of the function or service or perform another function or another service related to the request and transmit the result of the performing to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing of the result. For this purpose, for example, cloud computing technology, distributed computing technology, mobile Edge Computing (MEC) technology, or client-server computing technology may be used. The electronic device 101 may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may comprise an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to smart services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology or IoT-related technology.
Fig. 2 illustrates a simplified configuration of an electronic device in accordance with various embodiments.
According to various embodiments, referring to fig. 2, an electronic device 101 (e.g., the electronic device 101 of fig. 1) may include a first sensor 210 (e.g., the sensor module 176 of fig. 1), a second sensor 220 (e.g., the sensor module 176 of fig. 1), a memory 130 (e.g., the memory 130 of fig. 1), and a processor 120 (e.g., the processor 120 of fig. 1).
According to various embodiments, the electronic device 101 may be a wearable device (e.g., a smart watch, a smart bracelet, a smart ring, a wireless headset, or smart glasses) worn on a body part of a user. Hereinafter, for ease of description, the electronic device 101 is illustrated as a wearable device, although the electronic device 101 according to various embodiments may be a terminal device (e.g., a smart phone) or a server in communication with a wearable device worn by a user.
According to various embodiments, the first sensor 210 may detect movement of the electronic device 101. According to various embodiments, the first sensor 210 may detect movement of the electronic device 101 based on at least one of a change in speed, acceleration, angular velocity, angular acceleration, or direction of gravity of the electronic device 101. For example, the first sensor 210 may include at least one of an accelerometer, a gyroscopic sensor, or a gravitational acceleration sensor. Not shown, the first sensor 210 may include various types of sensors capable of detecting a gesture (or movement) of a user wearing the electronic device 101. According to an embodiment, the processor 120 may recognize the gesture of the user by recognizing acceleration information (e.g., dimensions of 3 axes (e.g., x, y, and z axes)) of the acceleration sensor and/or barometric pressure data having a shift change (e.g., barometric pressure gradient and barometric pressure peak-to-peak (p 2 p) value) of the electronic device 101 obtained by the barometric pressure sensor. According to various embodiments, the processor 120 may identify the gesture of the user based on a combination of data obtained from the first sensor 210 and/or the second sensor 220.
According to various embodiments, the second sensor 220 may be in contact with a body part of the user and may measure oxygen saturation. For example, the second sensor 220 (e.g., the sensor module 176 of fig. 1) may include at least one of a PPG sensor or a pulse oximeter sensor.
According to various embodiments, the second sensor 220 may include a light source that emits light of two wavelengths (e.g., red and infrared), and a light receiver (e.g., an optical diode) that senses light reflected from a skin or a blood vessel portion of the user after being emitted from the light source. For example, the second sensor 220 may use a plurality of light sources capable of emitting light having the same or different wavelengths, respectively, to emit optical signals to a body part of the user (e.g., a blood vessel in a finger or wrist, radial artery under the wrist); photo-charges corresponding to the amount of light incident to the plurality of light receivers via reflection or penetration may be accumulated, and an analog current-type biometric signal associated with the accumulated photo-charges may be converted into a digital signal. The second sensor 220 may perform operations such that at least two types of biometric information, such as heart rate, blood oxygen saturation, BIA signal, ECG signal, and blood pressure, among the plurality of pieces of biometric information are obtained. For example, the second sensor 220 may perform operations such that heart rate, blood oxygen saturation, and BIA signals are obtained simultaneously. According to an embodiment, the second sensor 220 may include a Laser Diode (LD) and an image sensor. According to an embodiment, the second sensor 220 may comprise a plurality of sensors for respectively obtaining a plurality of pieces of biometric information. For example, the second sensor 220 may include independent (or separate) sensors for respectively obtaining multiple types of biometric information, such as a sensor for obtaining a pulse, a sensor for obtaining oxygen saturation, and a sensor for obtaining blood pressure.
According to various embodiments, the memory 130 may store sensed values related to movement of the electronic device 101 obtained via the first sensor 210 and oxygen saturation values obtained via the second sensor 220.
According to various embodiments, memory 130 may include a buffer. For example, the electronic device 101 may temporarily store the oxygen saturation value obtained from the second sensor 220 in a buffer.
According to various embodiments, the processor 120 may be operatively connected to the first sensor 210, the second sensor 220, and the memory 130. For example, the processor 120 may perform at least one of obtaining data, processing data, or storing data using the first sensor 210, the second sensor 220, and the memory 130.
According to various embodiments, if a movement greater than or equal to a predetermined value is detected by the first sensor 210, the processor 120 may adjust the oxygen saturation value stored in the buffer, and may store the adjusted oxygen saturation value in the memory 130. According to an embodiment, if the size of the buffer is limited, the processor 120 may complete the adjustment and may initialize the buffer. According to an embodiment, the processor 120 may periodically delete data stored in the memory 130. For example, the processor 120 may delete oxygen saturation data that has been stored in memory for at least a predetermined period of time (e.g., three months). For example, if the number of pieces of oxygen saturation data stored in advance is greater than or equal to a predetermined number, the processor 120 may sequentially delete data from the data stored first. By way of example only, the electronic device 101 includes a first sensor 210 and a second sensor 220, but the electronic device 101 according to various embodiments may be a terminal device or server that communicates with an external electronic device that is a wearable device.
According to various embodiments, if the electronic device 101 is a terminal device or server in communication with a wearable device, the electronic device 101 may receive a sensed value or oxygen saturation value related to movement of the external electronic device from the external electronic device via a communication module (e.g., communication module 190 of fig. 1), and may adjust the received oxygen saturation value. For example, if it is recognized that the movement of the external electronic device is greater than or equal to a predetermined value based on the sensed value received from the external electronic device, the electronic device 101 may recognize whether the period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time. According to various embodiments, if the period of time during which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time, the electronic device 101 may obtain an oxygen saturation reference value stored in the memory and may adjust the oxygen saturation value received from the external electronic device during the period of time during which the gesture is maintained before the movement is detected based on the oxygen saturation reference value.
According to various embodiments, even when the electronic device 101 is a terminal device or a server that communicates with a wearable device, the electronic device 101 may adjust the oxygen saturation value via the operations in fig. 3 to 11, in addition to the operation of sensing the movement of the electronic device 101 or the operation of measuring the oxygen saturation value via a sensor.
Fig. 3 illustrates a method of adjusting oxygen saturation by an electronic device, in accordance with various embodiments.
According to various embodiments, referring to fig. 3, in operation 310, an electronic device (e.g., the electronic device 101 of fig. 1, the processor 120 of fig. 1, the electronic device 101 of fig. 2, or the processor 120 of fig. 2) may identify whether a period of time to maintain a gesture before detecting movement is greater than or equal to a predetermined value based on detecting movement greater than or equal to a predetermined value via a first sensor (e.g., the sensor module 176 of fig. 1 or the first sensor 210 of fig. 2).
According to various embodiments, the electronic device may obtain, via the first sensor, a sensing value based on an orthogonal coordinate system or a spherical coordinate system. According to various embodiments, if the sensing value based on the orthogonal coordinate system is obtained via the first sensor, the electronic device may convert the sensing value based on the orthogonal coordinate system into the sensing value based on the spherical coordinate system.
According to various embodiments, if a change in the sensed value based on the spherical coordinate system is greater than or equal to a predetermined value, the electronic device may detect the change as a movement greater than or equal to the predetermined value. Movement detection of an electronic device according to various embodiments will be described with reference to fig. 7.
According to various embodiments, the electronic device may increase the gesture index stored in the memory if a movement greater than or equal to a predetermined value is detected. For example, in a state in which the posture index before the movement occurs is stored in the memory, if the movement greater than or equal to a predetermined value is detected, the electronic device may recognize that the posture of the user is changed, may increment the stored posture index by 1, and may store the posture index obtained by increment by 1 in the memory. According to various embodiments, the gesture index may be a label for distinguishing between a plurality of gestures taken while the user is sleeping.
According to various embodiments, the electronic device may increase the posture index and may maintain the increased posture index during a predetermined period of time even if a movement greater than or equal to a predetermined value is detected. For example, if the electronic device continuously moves due to the user turning over on the bed during sleep, the electronic device may maintain the posture index and may prevent an unnecessary increase in the posture index even if the movement greater than or equal to the predetermined value is detected at least once during a predetermined time (e.g., 3 seconds) set after the movement greater than or equal to the predetermined value is detected.
An operation of increasing the posture index and an operation of maintaining the posture index during a predetermined period of time according to various embodiments will be described with reference to fig. 5, 7, and 8.
According to various embodiments, in operation 320, the electronic device may obtain an oxygen saturation reference value that is pre-measured and stored in a memory (e.g., memory 130 of fig. 1 or memory 130 of fig. 2) based on a time period for maintaining the gesture being greater than or equal to a predetermined time period.
According to various embodiments, the predetermined period of time for the period of time for maintaining the posture may be a predetermined set value before measuring the oxygen saturation, and may be set by a manufacturer or a user.
According to various embodiments, the predetermined period of time for the period of time for maintaining the posture may be a minimum period of time among a plurality of periods of different lengths, wherein a difference between a maximum value of the oxygen saturation value measured in each period of time and the oxygen saturation reference value falls within a predetermined range.
According to various embodiments, an operation of obtaining a predetermined period of time of a period of time of maintaining a posture will be described with reference to fig. 10a and 10 b.
According to various embodiments, the oxygen saturation reference value stored in the memory may be a maximum value of oxygen saturation values measured in advance in a steady state before an operation of measuring the oxygen saturation values during sleep. For example, the steady state may be a situation where the user is not sleeping and breathing is steady and the second sensor is working properly. According to various embodiments, the oxygen saturation reference value may be an average value of oxygen saturation values measured in advance in a steady state. According to various embodiments, the electronic device may receive pre-stored oxygen saturation data in a steady state from an external electronic device operatively connected to the electronic device. As another example, the electronic device may receive oxygen saturation data pre-stored via a server accessed by the same account.
According to various embodiments, in operation 330, the electronic device may adjust an oxygen saturation value obtained via a second sensor (e.g., the first sensor module 176 of fig. 1 or the second sensor module 220 of fig. 2) during the period of maintaining the posture based on the oxygen saturation reference value.
According to various embodiments, the memory may include a buffer, and the electronic device may store in the buffer an oxygen saturation value obtained during a period of time that the gesture is maintained before movement is detected. According to various embodiments, the buffer may temporarily store data.
According to various embodiments, if a movement greater than or equal to a predetermined value is detected, the electronic device may adjust an oxygen saturation value obtained during a period of time in which the gesture is maintained before the movement is detected based on the oxygen saturation reference value and store it in the buffer. According to various embodiments, the electronic device may store the adjusted oxygen saturation value in a memory.
According to various embodiments, the electronic device may store the oxygen saturation value obtained via the second sensor in the buffer after detecting the movement greater than or equal to the predetermined value. According to various embodiments, if a new movement greater than or equal to a predetermined value is detected, the electronic device may adjust the oxygen saturation value obtained and stored in the buffer before the new movement is detected.
According to various embodiments, the electronic device may obtain a maximum value of oxygen saturation values obtained during a period of time in which the gesture is maintained before movement is detected. For example, the electronic device may obtain, as a baseline, a maximum value of oxygen saturation values obtained during a period of time in which the gesture is maintained before movement is detected. According to various embodiments, the electronic device may divide a period of time during which the gesture is maintained before movement is detected into a plurality of portions, and may obtain a maximum value of oxygen saturation values in each portion as a baseline.
According to various embodiments, the electronic device may adjust an oxygen saturation value obtained during a period of time in which the gesture is maintained before movement is detected based on a difference between the maximum value and the oxygen saturation reference value.
According to various embodiments, the electronic device may divide a period of time during which the posture is maintained before the movement is detected into a plurality of portions, may obtain an average value of oxygen saturation values of the portions as a baseline, and may adjust the oxygen saturation value obtained during the period of time during which the posture is maintained based on a difference between the obtained average value and the oxygen saturation reference value. According to various embodiments, if an average of oxygen saturation values is obtained as a baseline, the oxygen saturation reference value may be an average of oxygen saturation values measured in steady state.
According to various embodiments, if the period of time during which the gesture is maintained before the movement is detected is less than the predetermined period of time, the oxygen saturation value obtained during the period of time during which the gesture is maintained before the movement is detected may be ignored.
According to various embodiments, the operation of adjusting oxygen saturation over time will be described with reference to fig. 9.
Fig. 4 illustrates operations for adjusting oxygen saturation by an electronic device, in accordance with various embodiments.
According to various embodiments, referring to fig. 4, an electronic device (e.g., the electronic device 101 of fig. 1, the processor 120 of fig. 1, the electronic device 101 of fig. 2, or the processor 120 of fig. 2) may obtain a sensed value 420 related to movement of the electronic device via a first sensor (e.g., the sensor module 176 of fig. 1 or the first sensor 210 of fig. 2) for measuring movement of the electronic device, and may obtain an oxygen saturation value 410 via a second sensor (e.g., the sensor module 176 of fig. 1 or the second sensor 220 of fig. 2) for measuring oxygen saturation.
According to various embodiments, the electronic device may detect points 430 and 431 at which the sensed value 420 related to the movement of the electronic device changes to be greater than or equal to a predetermined value.
According to various embodiments, the electronic device may recognize that the gesture of the user wearing the electronic device is changed at points 430 and 431 at which the sensed value 420 related to the movement of the electronic device is changed to be greater than or equal to a predetermined value, and the electronic device may recognize that the gesture of the user is maintained in a portion in which the sensed value 420 related to the movement of the electronic device is maintained.
According to various embodiments, the oxygen saturation value 412 obtained by the second sensor at a point between the first point 430 and the second point 431 where movement of the electronic device is detected may be identified as having an offset 413 compared to the oxygen saturation value 411 in a steady state and stored in a memory (e.g., the memory 130 of fig. 1 or the memory 130 of fig. 2).
According to various embodiments, if it is detected that the sensed value 420 related to the movement of the electronic device is changed to the second point 431 greater than or equal to the predetermined value, the electronic device may adjust the oxygen saturation value 412 between the first point 430 and the second point 431 based on the oxygen saturation reference value 411, and may obtain the adjusted oxygen saturation value 414.
If an error occurs in measuring oxygen saturation due to a gap between the body and the electronic device caused by the electronic device being pressed by the body of the user or turned over in the bed during sleep, the electronic device may adjust the error to fall within a normal range so that an accurate oxygen saturation value is obtained during sleep.
Fig. 5 illustrates a method for adjusting oxygen saturation by an electronic device based on a time period for maintaining a gesture, in accordance with various embodiments.
According to various embodiments, referring to fig. 5, an electronic device (e.g., electronic device 101 of fig. 1, processor 120 of fig. 1, electronic device 101 of fig. 2, or processor 120 of fig. 2) may measure movement and oxygen saturation in operation 510.
According to various embodiments, the electronic device may measure movement of the electronic device using a first sensor (e.g., the sensor module 176 of fig. 1 or the first sensor 210 of fig. 2) and may measure the oxygen saturation value via a second sensor (e.g., the sensor module 176 of fig. 1 or the second sensor 220 of fig. 2).
According to various embodiments, the electronic device may store the movement measurement value and the oxygen saturation value in a memory (e.g., memory 130 of fig. 1 or memory 130 of fig. 2, buffer).
According to various embodiments, in operation 520, the electronic device may identify whether the electronic device has moved by at least a predetermined value.
According to various embodiments, the electronic device may recognize a change in the gesture of the user if the sensed value obtained via the first sensor is greater than or equal to a predetermined value. For example, in response to identifying a change in orientation of the electronic device based on the sensed value, the electronic device may identify that the gesture of the user has changed.
The orientation of an electronic device according to a gesture of a user during sleep according to various embodiments will be described with reference to fig. 6.
According to various embodiments, if no movement greater than or equal to the predetermined value is identified (no in operation 520), the electronic device may return to operation 510 and may continuously measure movement and oxygen saturation.
According to various embodiments, in response to identifying that the movement is greater than or equal to a predetermined value ("yes" in operation 520), the electronic device may increase the gesture index in operation 530.
According to various embodiments, the electronic device may increase the posture index and may maintain the increased posture index during a predetermined period of time even if a movement greater than or equal to a predetermined value is detected. For example, if the electronic device continuously moves due to the user turning over on the bed during sleep, the electronic device may maintain the posture index and may prevent an unnecessary increase in the posture index even if the movement greater than or equal to the predetermined value is detected at least once during a predetermined time (e.g., 3 seconds) set after the movement greater than or equal to the predetermined value is detected.
According to various embodiments, in operation 540, the electronic device may identify whether a period of time for which a previous posture index was maintained is greater than or equal to a predetermined period of time. For example, if the posture index increases according to the movement, a period of time for which the previous index is maintained is greater than or equal to a predetermined period of time before the posture index increases.
According to various embodiments, the predetermined period of time for the period of time for maintaining the posture may be a predetermined value before measuring the oxygen saturation, and may be set by the manufacturer or the user. According to various embodiments, an operation of obtaining a predetermined period of time of a period of time of maintaining a posture will be described with reference to fig. 10a and 10 b.
According to various embodiments, if the period of time that the previous posture index was maintained is greater than the predetermined period of time ("yes" in operation 540), the electronic device may adjust the offset based on the oxygen saturation reference value stored in operation 550. According to various embodiments, the electronic device may perform the oxygen saturation adjustment operation when (e.g., only when) a period of time during which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time.
For example, if the period of time for which the previous posture index is maintained is greater than or equal to the predetermined period of time, the electronic device may obtain the baseline based on the oxygen saturation value stored in the buffer and obtained during the period of time for which the previous posture index is maintained. According to various embodiments, the electronic device may divide a period of time in which a previous posture index is maintained into a plurality of portions, and may obtain a maximum value of oxygen saturation values in each portion or an average value thereof as a baseline.
According to various embodiments, the electronic device may obtain an offset between the oxygen saturation reference value and the baseline based on the oxygen saturation reference value stored in the memory. For example, the oxygen saturation reference value may be a maximum value or oxygen saturation in a steady state or an average value thereof. For example, the offset may be the difference between the baseline and the oxygen saturation reference value. According to various embodiments, the offset may be a ratio of the baseline to the oxygen saturation reference value (e.g., a value obtained by dividing the baseline by the oxygen saturation reference value).
According to various embodiments, the electronic device may apply the obtained offset to an oxygen saturation value obtained during a period of maintaining a previous posture index in order to adjust the oxygen saturation value obtained during the period of maintaining the previous posture index. For example, the electronic device may adjust the oxygen saturation value by adding or subtracting an offset to or from the oxygen saturation value obtained during the period of time that the previous posture index was maintained. According to various embodiments, the electronic device may adjust the oxygen saturation value by multiplying the oxygen saturation value by the offset.
According to various embodiments, if the period of time for which the previous posture index is maintained is less than the predetermined period of time ("no" in operation 540), the electronic device may terminate the oxygen saturation adjustment operation. According to various embodiments, the electronic device may ignore oxygen saturation values measured during a period of time that a previous posture index was maintained.
Fig. 6 illustrates a direction of an electronic device based on a sleep posture, in accordance with various embodiments.
According to various embodiments, referring to fig. 6, the orientation of an electronic device (e.g., electronic device 101 of fig. 1 or electronic device 101 of fig. 2) may be associated with a sleep gesture.
For example, if the sleep posture is the supine position 602 (a), the electronic device may be in the same direction as the Z-axis in the three-dimensional coordinate system in the electronic device in the gravity direction, the angle θ with the Z-axis may be 180 degrees, and the angle ψ with the X-axis may be 0 degrees.
According to various embodiments, if the sleep posture is prone position 604, the orientation of the electronic device is similar to supine position (a), but the electronic device may distinguish between supine position 602 and prone position 604 by continually sensing the orientation of the electronic device and detecting a change in orientation.
According to various embodiments, if the sleep posture is left lateral position 606 (b), the electronic device is in a direction of gravity that may be the same as the Z-axis in the three-dimensional coordinates in the electronic device, θ may be 0 degrees, and ψ may be 0 degrees.
According to various embodiments, if the sleep posture is right lateral position 608 (c), the electronic device is in a direction in which the direction of gravity may be different from any axis in the three-dimensional coordinates in the electronic device, θ may be 120 degrees, and ψ may be 30 degrees.
The sleep posture and orientation of the electronic device according to various embodiments are not limited to the above description. Since the direction of the electronic device is changed when the sleep posture is changed, the electronic device can recognize that the sleep posture is changed when the change in the direction of the electronic device is detected. According to various embodiments, the electronic device may recognize the sleep posture after the movement based on the sleep posture before the movement, the direction of the electronic device, and the direction of the electronic device after the movement.
Fig. 7 illustrates a method of changing a posture index by an electronic device, in accordance with various embodiments.
According to various embodiments, referring to fig. 7, in operation 710, an electronic device (e.g., the electronic device 101 of fig. 1, the processor 120 of fig. 1, the electronic device 101 of fig. 2, or the processor 120 of fig. 2) may measure movement of the electronic device via a first sensor (e.g., the sensor module 176 of fig. 1 or the first sensor 210 of fig. 2). For example, the electronic device may measure movement based on an orthogonal coordinate system via a first sensor (e.g., an acceleration sensor). For example, the electronic device may measure movement in the X-axis direction, movement in the Y-axis direction, and movement in the Z-axis direction.
According to various embodiments, the electronic device may extract gesture information in operation 720. For example, the electronic device may change the sensing value based on the orthogonal coordinate system to the sensing value based on the spherical coordinate system. According to various embodiments, the electronic device may obtain θ as an angle to the Z-axis in a three-dimensional coordinate system in the electronic device and ψ as an angle to the X-axis based on the movement in the X-axis direction, the movement in the Y-axis direction, and the movement in the Z-axis direction. According to various embodiments, the electronic device may identify a direction of the electronic device based on the sensed values based on the spherical coordinate system.
According to various embodiments, the electronic device may identify a sleep gesture of the user based on the orientation of the electronic device. For example, the electronic device may recognize the sleep posture after the movement based on the sleep posture before the movement, the direction of the electronic device, and the direction of the electronic device after the movement.
According to various embodiments, if the sensed value based on the spherical coordinate system is obtained via the first sensor, the electronic device may omit conversion of the sensed value based on the orthogonal coordinate system into the sensed value based on the spherical coordinate system.
According to various embodiments, in operation 730, the electronic device may identify whether a change in ψ (e.g., an absolute value of a change in ψ, shown as Abs (Δψ)) is greater than or equal to a threshold. For example, the threshold may be a predetermined value of the change in ψ.
According to various embodiments, in response to identifying that the change in ψ is less than a predetermined value ("no" in operation 730), the electronic device may maintain a posture index in operation 740. For example, if the change in ψ is less than a predetermined value, the electronic device may recognize that the posture is not changed and may maintain the posture index.
According to various embodiments, if the change in ψ is greater than or equal to a predetermined value ("yes" in operation 730), the electronic device may identify in operation 750 whether the change in θ (e.g., the absolute value of the change in θ shown as Abs (Δθ)) is greater than or equal to a threshold. For example, the threshold may be a predetermined value of the change in θ.
According to various embodiments, if the change in θ is less than a predetermined value ("no" in operation 750), the electronic device may maintain the posture index in operation 740. For example, if the change in θ is less than a predetermined value, the electronic device may recognize that the gesture is not changed and may maintain the gesture index.
According to various embodiments, if the change in θ is greater than or equal to a predetermined value ("yes" in operation 750), the electronic device may identify whether a period of noncompliance has elapsed in operation 760. For example, the period of non-compliance may be a period of time (e.g., 3 seconds) set to prevent the posture index from increasing unnecessarily as the electronic device continues to move as the user turns over during sleep.
According to various embodiments, operation 730 for identifying a change in ψ may be performed after operation 750 for identifying a change in θ. According to various embodiments, in addition to changes in ψ and θ, the electronic device may also recognize changes in pose based on vector values, pitch, roll, yaw values for each axis.
According to various embodiments, if the period of non-compliance has not elapsed ("no" in operation 760), the electronic device may maintain the posture index in operation 740. For example, during a period of non-compliance after the posture index increases, the electronic device may maintain the posture index without increasing the posture index even if a change in θ and a change in ψ are detected to be greater than or equal to a predetermined value.
According to various embodiments, if the period of non-compliance has elapsed ("yes" in operation 760), the electronic device may increase the posture index in operation 770. For example, the electronic device may increment the stored posture index value by 1 in order to update the posture index.
Fig. 8 illustrates operations for changing a gesture index 802 by an electronic device, in accordance with various embodiments. For example, fig. 8 illustrates operation of an electronic device during a non-compliant time period.
According to various embodiments, referring to fig. 8, an electronic device (e.g., the electronic device 101 of fig. 1, the processor 120 of fig. 1, the electronic device 101 of fig. 2, or the processor 120 of fig. 2) may maintain the posture index during a period 810a set after increasing the posture index from 19 to 20, even when the measured θ values 812 and ψ values 814 continuously change. When the predetermined period of time has elapsed, the electronic device may increase the posture index 802 from 20 to 21. According to various embodiments, the electronic device may maintain the posture index 802 during the set period 810b even after increasing the posture index to 21, although the θ value and the ψ value are changed to be greater than a predetermined value.
Accordingly, although the user continuously moves and the direction of the electronic device continuously changes, the posture index can be prevented from being unnecessarily increased.
Fig. 9a is a diagram illustrating an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments.
FIG. 9b illustrates an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9c illustrates an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9d illustrates an operation of adjusting oxygen saturation over time by an electronic device according to various embodiments;
FIG. 9e illustrates operations for adjusting oxygen saturation over time by an electronic device, according to various embodiments;
according to various embodiments, referring to fig. 9a, an electronic device (e.g., electronic device 101 of fig. 1, processor 120 of fig. 1, electronic device 101 of fig. 2, or processor 120 of fig. 2) may measure an oxygen saturation (SpO 2) value (e.g., 95%) with a posture index of 11. For example, the measured oxygen saturation value may be stored in a buffer.
According to various embodiments, at the point in time when the posture index changes from 10 to 11, the electronic device may adjust the oxygen saturation value measured during the period of time when the posture index is 10 in order to obtain the adjusted oxygen saturation value 910. For example, if the oxygen saturation value measured during the period of the posture index of 10 is constant and the adjusted oxygen saturation value 910 is 93%, and thus the oxygen saturation reference value may be 93%.
According to various embodiments, referring to fig. 9b, the electronic device may change the posture index from 11 to 12 based on the movement of the electronic device detected at point t1, and may determine whether to adjust the oxygen saturation value measured during the time period when the posture index is 11. For example, if the period of time for which the posture index is maintained before movement is greater than or equal to a predetermined period of time (e.g., 5 portions), the electronic device may determine to adjust the oxygen saturation value.
According to various embodiments, the time period with a posture index of 11 is 2 parts and is shorter than 5 parts corresponding to the predetermined time period for maintaining the posture, the electronic device may ignore 920 without adjusting the measured oxygen saturation value.
According to various embodiments, referring to fig. 9c, the electronic device may store in a buffer an oxygen saturation value 930 measured from point t1, where the posture index changes to 12, until point t 2.
According to various embodiments, referring to fig. 9d, the electronic device may maintain the posture index at 12 after point t2, and may store in a buffer an oxygen saturation value 940 measured during the posture index being maintained at 12.
According to various embodiments, the electronic device may change the attitude index from 12 to 13 based on the movement of the electronic device detected at point t3, and may determine whether to adjust the oxygen saturation value measured during the time period when the attitude index is 12.
According to various embodiments, the period of the posture index of 12 is longer than 5 parts corresponding to the predetermined period of maintaining the posture, and thus, the electronic device may adjust the oxygen saturation value 940 measured during the period in which the posture index of 12 based on the oxygen saturation reference value (e.g., 93%).
According to various embodiments, referring to fig. 9e, the electronic device may identify a value of 80%, which is the maximum value of the oxygen saturation value measured during the period of the posture index of 12 in the steady state, and may adjust 80% to correspond to the oxygen saturation reference value of 93%, thereby obtaining an adjusted oxygen saturation value 950.
Fig. 10a illustrates operations to set a threshold for a period of time in which a posture of an electronic device is maintained, in accordance with various embodiments. For example, the threshold for the period of time for which the gesture is maintained may be set at the time of manufacturing the electronic device or may be set by a user. Fig. 10a is a graph obtained by applying a moving window scheme to oxygen saturation measurements of sleep apnea patients, according to various embodiments. According to various embodiments, the length of the window may be a candidate for a threshold for a period of time to maintain a gesture.
According to various embodiments, referring to fig. 10a, a histogram showing the maximum value of oxygen saturation (SpO 2) in a window as a function of window length is provided, as well as a graph showing the difference between the maximum value of oxygen saturation in a window and the oxygen saturation value in steady state (Movmax (SpO 2, t)). According to various embodiments, the length of the window may be 1 second, 30 seconds, 60 seconds, 5 minutes (m), 10 minutes, 20 minutes, or 30 minutes.
According to various embodiments, the x-axis of the histogram shows oxygen saturation and the y-axis shows the number of windows corresponding to the oxygen saturation being the maximum, or the ratio of the number of windows whose oxygen saturation is the maximum to the total number of windows.
According to various embodiments, with reference to the histogram, when the length of the window is longer, the electronic device determines that the maximum of the oxygen saturation values in the window is not intermittently reduced due to sleep apnea and is distributed to be greater than or equal to the oxygen saturation in steady state 1010. Referring to the same histogram, when the length of the window is longer, the oxygen saturation value reduced due to sleep apnea may be ignored. Further, if the threshold value of the period of time for maintaining the posture is long, there may be a large amount of data to be ignored without adjusting the oxygen saturation value measured even while maintaining the posture continuously.
According to various embodiments, in the case where the length of the window is short, the difference (Movmax (SpO 2, t)) between the maximum value of oxygen saturation in the window and the oxygen saturation value in the steady state may be considered, because the difference between the maximum value of oxygen saturation in the window and the oxygen saturation 1010 in the steady state may be different and may be inconsistent for each window. Similarly, if the length of the window is too short, the offset of each window is different and thus inaccurate oxygen saturation values may be obtained via adjustment.
According to various embodiments, as shown in fig. 10b, the threshold value of the period of time for maintaining the posture may be set to a minimum period of time among a plurality of window lengths, wherein the difference between the maximum value of the measured oxygen saturation values and the oxygen saturation reference value falls within a predetermined range.
Fig. 10b illustrates an operation of setting a threshold for a period of time in which a posture of an electronic device is maintained, in accordance with various embodiments. For example, fig. 10b is a graph plotting a change in window length by obtaining data from a person 719, where each data is a minimum value of a difference between a maximum value of oxygen saturation and an oxygen saturation value in a window of fig. 10a obtained from a person in a steady state. According to various embodiments, if window 1050 is 30 minutes, the electronic device determines that the maximum value of the oxygen saturation values is the oxygen saturation value in the steady state.
According to various embodiments, referring to fig. 10b, in the case where the length of the window 1052 is as short as 30 seconds, if the maximum value of the window is considered as the baseline, the electronic device determines that the oxygen saturation value differs by 6% on average from the oxygen saturation value in the steady state. As the window length increases, the difference may decrease. In some embodiments, the measurement error of oxygen saturation is 2%, and the electronic device recognizes that a window length of 5 to 10 minutes may be appropriate for the threshold of the period of time for maintaining the pose. According to various embodiments, if the posture is maintained for more than 5 to 10 minutes after the sleep posture is changed, the maximum value of the corresponding portion may be regarded as a baseline 1054 corresponding to the steady state.
According to various embodiments, an electronic device (electronic device 101 of fig. 1 or electronic device 101 of fig. 2) may include a first sensor (sensor module 176 of fig. 1 or first sensor 210 of fig. 2) configured to detect movement; a second sensor (e.g., sensor module 176 of fig. 1 or second sensor 220 of fig. 2) configured to measure oxygen saturation; a memory (e.g., memory 130 of fig. 1 or memory 130 of fig. 2); and at least one processor (e.g., processor 120 of fig. 1 or processor 120 of fig. 2) operatively connected to the first sensor, the second sensor, and the memory, wherein the at least one processor is configured to: if a movement greater than or equal to a predetermined value is detected via the first sensor, identifying whether a period of time for which the gesture is maintained prior to the detection of the movement is greater than or equal to a predetermined period of time; identifying an oxygen saturation reference value stored in the memory if a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; and adjusting an oxygen saturation value obtained via the second sensor during a period of time in which the posture is maintained before the movement is detected based on the oxygen saturation reference value.
According to various embodiments, the at least one processor may be configured to obtain the sensing value based on the orthogonal coordinate system via the first sensor, obtain the sensing value based on the spherical coordinate system based on the sensing value based on the orthogonal coordinate system, and detect a movement of the change being greater than or equal to a predetermined value if the change in the sensing value based on the spherical coordinate system is greater than or equal to the predetermined value.
According to various embodiments, the at least one processor may increase the posture index stored in the memory if a movement greater than or equal to a predetermined value is detected, and may maintain the increased posture index even if a movement greater than or equal to the predetermined value is detected during a predetermined period of time after the posture index is increased.
According to various embodiments, the predetermined time period may be a minimum time period of a plurality of time periods of different lengths, wherein a difference between a maximum value of the oxygen saturation values measured in each time period and the oxygen saturation reference value falls within a predetermined range.
According to various embodiments, the memory may include a buffer, and the at least one processor may be configured to store in the buffer an oxygen saturation value obtained during a period of time in which the gesture is maintained before the movement is detected, and if the movement greater than or equal to a predetermined value is detected, adjust and store in the buffer the oxygen saturation value obtained during the period of time in which the gesture is maintained before the movement is detected based on the oxygen saturation reference value.
According to various embodiments, the at least one processor may be configured to store the oxygen saturation value obtained via the second sensor in the buffer after detecting the movement greater than or equal to the predetermined value.
According to various embodiments, the at least one processor may be configured to obtain a maximum value of oxygen saturation values obtained during a period of time in which the gesture is maintained prior to detection of movement, and adjust the oxygen saturation values obtained during the period of time in which the gesture is maintained prior to detection of movement based on a difference between the maximum value and an oxygen saturation reference value.
According to various embodiments, the oxygen saturation reference value may be a maximum value of oxygen saturation values measured in advance in a steady state.
According to various embodiments, if the period of time during which the gesture is maintained prior to the detection of the movement is less than the predetermined period of time, the at least one processor ignores oxygen saturation values obtained during the period of time during which the gesture is maintained prior to the detection of the movement.
According to various embodiments, a method of controlling an electronic device may include: if a movement greater than or equal to a predetermined value is detected via a first sensor for detecting movement, identifying whether a period of time for maintaining a gesture before the movement is detected is greater than or equal to a predetermined period of time; obtaining an oxygen saturation reference value stored in a memory if a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; and adjusting an oxygen saturation value obtained via a second sensor for measuring oxygen saturation during a period of maintaining the posture before the movement is detected based on the oxygen saturation reference value.
According to various embodiments, identifying whether a period of time for which a gesture is maintained prior to detection of movement is greater than or equal to a predetermined period of time may include: an operation of obtaining a sensing value based on an orthogonal coordinate system via a first sensor; an operation of obtaining a sensing value based on the spherical coordinate system based on the sensing value based on the orthogonal coordinate system; and an operation of detecting that the change is a movement greater than or equal to a predetermined value if the change of the sensed value based on the spherical coordinate system is greater than or equal to the predetermined value.
According to various embodiments, the at least one processor may further comprise: an operation of increasing the posture index stored in the memory if a movement greater than or equal to a predetermined value is detected; and an operation of maintaining the increased posture index even if a movement greater than or equal to a predetermined value is detected during a predetermined period after the posture index is increased.
According to various embodiments, the predetermined time period may be a minimum time period of a plurality of time periods of different lengths, wherein a difference between a maximum value of the oxygen saturation values measured in each time period and the oxygen saturation reference value falls within a predetermined range.
According to various embodiments, the method may further comprise: an operation of storing an oxygen saturation value obtained during a period of time in which the posture is maintained before the movement is detected in a buffer included in the memory, wherein the adjusting operation may include the operations of: and if a movement greater than or equal to a predetermined value is detected, adjusting an operation of an oxygen saturation value obtained during a period of time in which the posture is maintained before the movement is detected and stored in the buffer based on the oxygen saturation reference value.
According to various embodiments, the method may further include an operation of storing the oxygen saturation value obtained via the second sensor in the buffer after detecting the movement greater than or equal to the predetermined value.
According to various embodiments, the adjusting operation may include an operation of obtaining a maximum value of oxygen saturation values obtained during a period of time in which the posture is maintained before the movement is detected, and an operation of adjusting the oxygen saturation values obtained during the period of time in which the posture is maintained before the movement is detected based on a difference between the maximum value and the oxygen saturation reference value.
According to various embodiments, the oxygen saturation reference value may be a maximum value of oxygen saturation values measured in advance in a steady state.
According to various embodiments, the method may further include an operation of ignoring an oxygen saturation value obtained during a period of maintaining the posture before the movement is detected if the period of maintaining the posture before the movement is detected is less than a predetermined period.
According to various embodiments, an electronic device may include a communication module; a memory; and at least one processor operably connected to the communication module and the memory, wherein the at least one processor may be configured to: if a movement of the external electronic device that is greater than or equal to a predetermined value is identified based on a sensing value received from the external electronic device via the communication module, identifying whether a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; obtaining an oxygen saturation reference value stored in a memory if a period of time for which the gesture is maintained before the movement is detected is greater than or equal to a predetermined period of time; and adjusting an oxygen saturation value received from the external electronic device during a period of time in which the gesture is maintained before the movement is detected based on the oxygen saturation reference value.
According to various embodiments, the at least one processor is configured to increase the gesture index stored in the memory if movement of the external electronic device greater than or equal to a predetermined value is identified, and to maintain the increased gesture index even when movement of the external electronic device greater than or equal to the predetermined value is detected during a predetermined period of time after the gesture index is increased.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to the embodiments of the present disclosure, the electronic device is not limited to those described above.
It should be understood that the various embodiments of the disclosure and the terminology used therein are not intended to limit the technical features set forth herein to the particular embodiments, but rather include various modifications, equivalents or alternatives to the respective embodiments. For the description of the drawings, like reference numerals may be used to refer to like or related elements. It will be understood that a noun in the singular corresponding to a term may include one or more things unless the context clearly indicates otherwise. As used herein, each of the phrases such as "a or B", "at least one of a and B", "at least one of a or B", "A, B or C", "at least one of A, B and C", and "at least one of A, B or C" may include any or all possible combinations of items listed with a corresponding one of the plurality of phrases. As used herein, terms such as "1 st" and "2 nd" or "first" and "second" may be used to simply distinguish one element from another element and not to limit the element in other respects (e.g., importance or order). It will be understood that if the terms "operatively" or "communicatively" are used or the terms "operatively" or "communicatively" are not used, then if an element (e.g., a first element) is referred to as being "coupled to," "connected to," or "connected to" another element (e.g., a second element), it is intended that the element can be directly (e.g., wired) connected to, wireless connected to, or connected to the other element via a third element.
As used in connection with various embodiments of the present disclosure, the term "module" may include an element implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuitry"). A module may be a single integrated component adapted to perform one or more functions or a minimal unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an Application Specific Integrated Circuit (ASIC).
The various embodiments set forth herein may be implemented as software (e.g., program 140) comprising one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) readable by a machine (e.g., electronic device 101). For example, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may invoke and execute at least one instruction of the one or more instructions stored in the storage medium. This enables the machine to operate to perform at least one function in accordance with the at least one instruction invoked. The one or more instructions may include code generated by a compiler or code capable of being executed by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein the term "non-transitory" merely means that the storage medium is a tangible device and does not include a signal (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
According to embodiments, methods according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be used as a product for conducting transactions between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium, such as a compact disk read only memory (CD-ROM), or may be distributed via an application Store (e.g., a Play Store TM ) The computer program product may be published (e.g., downloaded or uploaded) online, or may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smartphones). At least some of the computer program product may be temporarily generated if published online, or at least some of the computer program product may be stored at least temporarily in a machine readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a forwarding server.
According to various embodiments, each of the above-described components (e.g., a module or a program) may include a single entity or multiple entities, and some of the multiple entities may be separately provided in different components. According to various embodiments, one or more of the above-described components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, the integrated component may still perform the one or more functions of each of the plurality of components in the same or similar manner as the corresponding one of the plurality of components performed the one or more functions prior to integration. According to various embodiments, operations performed by a module, a program, or another component may be performed sequentially, in parallel, repeatedly, or in a heuristic manner, or one or more of the operations may be performed in a different order or omitted, or one or more other operations may be added.
While the present disclosure has been described with various embodiments, various changes and modifications may be suggested to one skilled in the art. The disclosure is intended to embrace such alterations and modifications that fall within the scope of the appended claims.

Claims (15)

1. An electronic device, comprising:
a first sensor configured to detect movement;
a second sensor configured to measure oxygen saturation;
a memory; and
at least one processor operatively connected to the first sensor, the second sensor, and the memory,
wherein the at least one processor is configured to:
in response to detecting movement greater than or equal to a predetermined value via the first sensor, determining whether a period of time for maintaining a gesture prior to detecting movement is greater than or equal to a predetermined period of time;
identifying an oxygen saturation reference value stored in the memory based on determining that the period of time for which the gesture was maintained prior to detecting the movement is greater than or equal to the predetermined period of time; and
an oxygen saturation value obtained via the second sensor during the period of time that the gesture is maintained before the movement is detected is adjusted based on the oxygen saturation reference value.
2. The electronic device of claim 1, wherein the at least one processor is configured to:
obtaining a first sensing value based on an orthogonal coordinate system via the first sensor;
obtaining a second sensing value based on a spherical coordinate system by converting the first sensing value; and
in a case where a change in the second sensed value based on the spherical coordinate system is greater than or equal to the predetermined value, the change is detected as a movement greater than or equal to the predetermined value.
3. The electronic device of claim 1, wherein the at least one processor is configured to:
in response to detecting the movement greater than or equal to the predetermined value, increasing a posture index stored in the memory; and
comprises maintaining the increased posture index when the movement greater than or equal to the predetermined value is detected during a predetermined period of time after the posture index is increased.
4. The electronic device of claim 1, wherein the predetermined period of time is a minimum period of time in which a difference between a maximum value of oxygen saturation values measured in each of a plurality of periods of different lengths and the oxygen saturation reference value is within a predetermined range.
5. The electronic device of claim 1, wherein the memory comprises a buffer, and
wherein the at least one processor is configured to:
storing the oxygen saturation value obtained during the period of time in which the gesture was maintained prior to detection of the movement in the buffer; and
in response to detecting the movement greater than or equal to the predetermined value, a stored oxygen saturation value obtained during the period of time that the gesture was maintained prior to detecting the movement is adjusted based on the oxygen saturation reference value.
6. The electronic device of claim 5, wherein the at least one processor is configured to store another oxygen saturation value obtained via the second sensor in the buffer after detecting the movement greater than or equal to the predetermined value.
7. The electronic device of claim 1, wherein the at least one processor is configured to:
obtaining a maximum value of the oxygen saturation value obtained during the period of time in which the gesture is maintained before the movement is detected; and
the oxygen saturation value obtained during the period of time in which the gesture is maintained before the movement is detected is adjusted based on a difference between the maximum value and the oxygen saturation reference value.
8. The electronic device of claim 1, wherein the oxygen saturation reference value is a maximum value of oxygen saturation values measured in advance in a steady state.
9. The electronic device of claim 1, wherein the at least one processor is configured to ignore the oxygen saturation value obtained during the period of time that the gesture was maintained prior to detection of the movement in response to determining that the period of time that the gesture was maintained prior to detection of the movement is less than the predetermined period of time.
10. A method of controlling an electronic device, the method comprising:
in response to detecting a movement greater than or equal to a predetermined value via a first sensor that detects the movement, determining whether a period of time for maintaining a gesture prior to detecting the movement is greater than or equal to a predetermined period of time;
obtaining an oxygen saturation reference value stored in a memory based on determining that the period of time for which the gesture was maintained before the movement was detected is greater than or equal to the predetermined period of time; and
an oxygen saturation value obtained via a second sensor during the period of time that the gesture is maintained before the movement is detected is adjusted based on the oxygen saturation reference value, wherein the second sensor measures oxygen saturation.
11. The method of claim 10, wherein the identifying whether the period of time for which the gesture was maintained prior to detecting the movement is greater than or equal to the predetermined period of time comprises:
obtaining a first sensing value based on an orthogonal coordinate system via the first sensor;
obtaining a second sensing value based on a spherical coordinate system by converting the first sensing value; and
in the case where the change in the sensed value based on the spherical coordinate system is greater than or equal to the predetermined value, the change is detected as a movement greater than or equal to the predetermined value.
12. The method of claim 10, further comprising:
in response to detecting the movement greater than or equal to the predetermined value, increasing a posture index stored in the memory; and
comprises maintaining an increased posture index when the movement greater than or equal to the predetermined value is detected during a predetermined period of time after the posture index increases.
13. The method of claim 10, wherein the predetermined period of time is a minimum period of time in which a difference between a maximum value of oxygen saturation values measured in each of a plurality of different length periods of time and the oxygen saturation reference value is within a predetermined range.
14. The method of claim 10, further comprising:
storing the oxygen saturation value obtained during the period of time in which the gesture was maintained prior to detection of the movement in a buffer included in the memory;
wherein the adjusting the oxygen saturation value comprises adjusting the stored oxygen saturation value obtained during the period of time that the gesture was maintained prior to detecting the movement based on the oxygen saturation reference value in response to detecting the movement that is greater than or equal to the predetermined value.
15. The method of claim 14, further comprising:
another oxygen saturation value obtained via the second sensor is stored in the buffer after the movement greater than or equal to the predetermined value is detected.
CN202280047250.3A 2021-08-11 2022-05-24 Electronic apparatus for correcting oxygen saturation and control method thereof Pending CN117615707A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2021-0105812 2021-08-11
KR1020220033113A KR20230024189A (en) 2021-08-11 2022-03-17 Electronic device adjusting oxygen saturation and method for controlling the same
KR10-2022-0033113 2022-03-17
PCT/KR2022/007349 WO2023017972A1 (en) 2021-08-11 2022-05-24 Electronic device for correcting oxygen saturation and method for controlling same

Publications (1)

Publication Number Publication Date
CN117615707A true CN117615707A (en) 2024-02-27

Family

ID=89956596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202280047250.3A Pending CN117615707A (en) 2021-08-11 2022-05-24 Electronic apparatus for correcting oxygen saturation and control method thereof

Country Status (1)

Country Link
CN (1) CN117615707A (en)

Similar Documents

Publication Publication Date Title
US11324450B2 (en) Method, electronic device, and storage medium for detecting biometric information
US20200163561A1 (en) Electronic device for obtaining blood pressure value using pulse wave velocity algorithm and method for obtaining blood pressure value
US20210132699A1 (en) Electronic device for recognizing gesture of user using a plurality of sensor signals
US12045395B2 (en) Wearable device and method for detecting motion gesture of wearable device
US20200297223A1 (en) Electronic device for measuring blood pressure and method for measuring blood pressure
US20230190167A1 (en) Method for acquiring biometric information and electronic device therefor
US20230147478A1 (en) Method for calibrating geomagnetic sensor of electronic device and electronic device thereof
KR20220080972A (en) Method for detecting sleep apnea and electronic device for supporting the same
US20220249027A1 (en) Electronic device and method for correcting biometric data on basis of distance between electronic device and user, measured using at least one sensor
US20220116542A1 (en) ELECTRONIC DEVICE COMPRISING UWB ANTENNAS AND METHOD FOR IMPLEMENTING 6DoF
US20240033575A1 (en) Wearable electronic device for outputting information on exercise, and control method of wearable electronic device
US20230122036A1 (en) Electronic device for measuring electrocardiogram and operation method in electronic device
CN117615707A (en) Electronic apparatus for correcting oxygen saturation and control method thereof
CN117500431A (en) Wearable electronic device for measuring blood pressure and operation method thereof
EP4342374A1 (en) Electronic device for correcting oxygen saturation and method for controlling same
CN116744846A (en) Electronic device having a plurality of optical sensors and control method thereof
US20210257086A1 (en) Electronic device and method for recognizing context thereof
KR20220152633A (en) Method for detecting biometric information and electronic device supporting the same
KR20230024189A (en) Electronic device adjusting oxygen saturation and method for controlling the same
US20230118067A1 (en) Electronic device and method to measure bioelectrical impedance
US20220354422A1 (en) Method for detecting biometric information and electronic device supporting the same
US20220401815A1 (en) Method for providing workout data using a plurality of electronic devices and electronic devices therefor
US20240008775A1 (en) Electronic device and method for obtaining biometric information
EP4152720A1 (en) Data transmission method and electronic device supporting same
US20230218201A1 (en) Electronic device for determining users vital sign and method for operating the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination