KR20220012517A - Electronic device and method for measuring gas using audio module - Google Patents

Electronic device and method for measuring gas using audio module Download PDF

Info

Publication number
KR20220012517A
KR20220012517A KR1020200091384A KR20200091384A KR20220012517A KR 20220012517 A KR20220012517 A KR 20220012517A KR 1020200091384 A KR1020200091384 A KR 1020200091384A KR 20200091384 A KR20200091384 A KR 20200091384A KR 20220012517 A KR20220012517 A KR 20220012517A
Authority
KR
South Korea
Prior art keywords
gas
specific frequency
electronic device
processor
audio module
Prior art date
Application number
KR1020200091384A
Other languages
Korean (ko)
Inventor
원진희
박현철
서혜정
제성민
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020200091384A priority Critical patent/KR20220012517A/en
Priority to PCT/KR2021/007858 priority patent/WO2022019494A1/en
Publication of KR20220012517A publication Critical patent/KR20220012517A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/1702Systems in which incident light is modified in accordance with the properties of the material investigated with opto-acoustic detection, e.g. for gases or analysing solids
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/171Systems in which incident light is modified in accordance with the properties of the material investigated with calorimetric detection, e.g. with thermal lens detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/02Casings; Cabinets ; Supports therefor; Mountings therein
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/02Casings; Cabinets ; Supports therefor; Mountings therein
    • H04R1/028Casings; Cabinets ; Supports therefor; Mountings therein associated with devices performing functions other than acoustics, e.g. electric candles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/08Mouthpieces; Microphones; Attachments therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/1702Systems in which incident light is modified in accordance with the properties of the material investigated with opto-acoustic detection, e.g. for gases or analysing solids
    • G01N2021/1704Systems in which incident light is modified in accordance with the properties of the material investigated with opto-acoustic detection, e.g. for gases or analysing solids in gases

Abstract

In accordance with various embodiments of the present invention, an electronic device includes: an audio module; a light emitting part placed adjacent to the audio module, and outputting light; a memory; and a processor operatively connected with the audio module, the light emitting part and the memory. The processor can be configured to: output light of a specific frequency through a light source included in the light emitting part, based on the detection of input for measuring at least one type of gas; detect a variation in pressure occurring due to a gas component reacting to the specific frequency, through the audio module; convert an electric signal into data when the electric signal is generated due to the variation in pressure; check a size at the specific frequency based on the data; and provide information related with the concentration of the at least one type of gas corresponding to the size at the specific frequency. Besides various embodiments disclosed in the present invention, other embodiments can be possible. Therefore, the present invention is capable of solving concerns about a constraint of space by eliminating the need for an additional sensor.

Description

오디오 모듈을 이용하여 가스를 측정하는 전자 장치 및 방법 {ELECTRONIC DEVICE AND METHOD FOR MEASURING GAS USING AUDIO MODULE}ELECTRONIC DEVICE AND METHOD FOR MEASURING GAS USING AUDIO MODULE

본 발명의 다양한 실시예는 오디오 모듈을 이용하여 주변 가스 성분을 측정하는 전자 장치 및 방법에 관한 것이다.Various embodiments of the present invention relate to an electronic device and method for measuring an ambient gas component using an audio module.

가스 성분을 측정하는 방법으로, 전자 장치에 구비된 가스 센서를 이용하여 주변 공기의 질을 측정하는 방법을 포함할 수 있다. 예컨대, 가스 센서의 한 종류인PAS(photo acoustic spectroscopy) 센서를 이용하는 경우 전자 장치는 광원에 의해 발광되는 특정 주파수의 광을 가스가 흡수하면서 발생되는 열에 의한 압력의 변화를 PAS 센서를 통해 검출하고, 이에 기반하여 주변 공기의 질을 측정할 수 있다. As a method of measuring a gas component, a method of measuring the quality of ambient air using a gas sensor provided in an electronic device may be included. For example, when a PAS (photo acoustic spectroscopy) sensor, which is a type of gas sensor, is used, the electronic device detects a change in pressure due to heat generated when the gas absorbs light of a specific frequency emitted by a light source through the PAS sensor, Based on this, the quality of the surrounding air can be measured.

하지만, 전자 장치의 제한된 공간에 PAS 센서와 같은 별도의 센서를 실장 하는데 어려움이 있다.However, it is difficult to mount a separate sensor such as a PAS sensor in a limited space of an electronic device.

본 발명의 다양한 실시예들에 따른 전자 장치는, PAS 센서의 방식을 이용하여 오디오 모듈을 통해 가스를 측정할 수 있다. 예컨대, 전자 장치는 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 오디오 모듈에 근접하게 배치된 발광부를 통해 특정 주파수의 광을 출력할 수 있다. 전자 장치는 특정 주파수를 가지는 광 출력에 의해 오디오 모듈을 통해 검출되는 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화에 기반하여 가스의 농도를 측정할 수 있다.The electronic device according to various embodiments of the present disclosure may measure gas through an audio module using a PAS sensor method. For example, the electronic device may output light of a specific frequency through a light emitting unit disposed adjacent to the audio module based on detecting an input for measuring a gas. The electronic device may measure the concentration of the gas based on a change in pressure generated by the gas component responding to the specific frequency detected through the audio module by the light output having the specific frequency.

본 발명의 다양한 실시예들에 따른 전자 장치는, 오디오 모듈, 상기 오디오 모듈에 근접하게 배치되며, 광을 출력하기 위한 발광부, 메모리, 및 상기 오디오 모듈, 상기 발광부, 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하며, 상기 프로세서는, 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 발광부에 포함된 광원을 통해 특정 주파수의 광을 출력하고, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 상기 오디오 모듈을 통해 검출하고, 상기 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 및 상기 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정될 수 있다. An electronic device according to various embodiments of the present disclosure includes an audio module, a light emitting unit disposed adjacent to the audio module, and a memory for outputting light, and operatively with the audio module, the light emitting unit, and the memory and a processor connected to , wherein the processor outputs light of a specific frequency through a light source included in the light emitting unit based on detecting an input for measuring at least one gas, and reacts to the specific frequency A change in pressure generated by a gas component is detected through the audio module, and when an electric signal is generated due to the change in pressure, the electric signal is converted into data, and based on the data, the It may be configured to ascertain a magnitude and provide information related to a concentration of the at least one gas corresponding to the magnitude at the specific frequency.

본 발명의 다양한 실시예들에 따른 전자 장치의 오디오 모듈을 이용하여 가스를 측정하는 방법은 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈에 근접하게 배치된 발광부에 포함된 광원을 통해 특정 주파수의 광을 출력하는 동작, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 오디오 모듈을 통해 검출하는 동작, 상기 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하는 동작, 및 상기 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함할 수 있다.A method of measuring a gas using an audio module of an electronic device according to various embodiments of the present disclosure includes detecting at least one input for measuring gas, based on detecting an input for measuring at least one gas, a light emitting unit disposed adjacent to the audio module When the operation of outputting light of a specific frequency through the included light source, the operation of detecting a change in pressure generated by a gas component responding to the specific frequency through the audio module, an electrical signal is generated due to the change in pressure, converting the electrical signal into data, confirming the magnitude at the specific frequency based on the data, and providing information related to the concentration of the at least one gas corresponding to the magnitude at the specific frequency may include

본 발명의 다양한 실시예들에 따른 전자 장치는, 오디오 모듈을 통해 PAS 센서의 방식을 이용하여 가스를 측정할 수 있다.The electronic device according to various embodiments of the present disclosure may measure gas using a PAS sensor method through an audio module.

본 발명의 다양한 실시예들에 따른 전자 장치는, 가스를 측정하기 위한 별도의 센서를 구비하지 않음에 따라 공간적 제약의 문제를 해소시킬 수 있다.Since the electronic device according to various embodiments of the present disclosure does not include a separate sensor for measuring gas, it is possible to solve the problem of space limitation.

도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는, 다양한 실시예들에 따른, 전자 장치를 도시한 도면이다.
도 3은, 다양한 실시예들에 따른, 스피커의 일 예의 구성을 개략적으로 나타내는 단면도이다.
도 4a 내지 도 4c는, 다양한 실시예들에 따른, 마이크의 일 예의 구성을 개략적으로 나타내는 단면도이다.
도 5는, 다양한 실시예들에 따른, 오디오 모듈을 이용하여 가스를 측정하는 방법을 설명하기 위한 흐름도이다.
도 6은, 다양한 실시예들에 따른, 사운드 레벨에 따른 가스의 농도를 결정하는 방법을 설명하기 위한 도면이다.
도 7은, 다양한 실시예들에 따른, 오디오 모듈 예컨대, 스피커를 이용하여 가스를 측정하는 방법을 설명하기 위한 흐름도이다.
도 8은, 다양한 실시예들에 따른, 스피커의 온도에 기반하여 가스의 농도를 조정하는 방법을 설명하기 위한 도면이다.
도 9는, 다양한 실시예들에 따른, 오디오 모듈 예컨대, 마이크를 이용하여 가스를 측정하는 방법을 설명하기 위한 흐름도이다.
도 10a 및 도 10b는, 다양한 실시예들에 따른, 복수의 마이크들을 통해 가스를 측정하는 방법을 설명하기 위한 도면이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
2 is a diagram illustrating an electronic device according to various embodiments of the present disclosure;
3 is a cross-sectional view schematically illustrating a configuration of an example of a speaker, according to various embodiments of the present disclosure;
4A to 4C are cross-sectional views schematically illustrating a configuration of an example of a microphone, according to various embodiments of the present disclosure;
5 is a flowchart illustrating a method of measuring a gas using an audio module, according to various embodiments of the present disclosure.
6 is a diagram for describing a method of determining a concentration of a gas according to a sound level, according to various embodiments of the present disclosure;
7 is a flowchart illustrating a method of measuring gas using an audio module, for example, a speaker, according to various embodiments of the present disclosure;
8 is a diagram for describing a method of adjusting a concentration of a gas based on a temperature of a speaker, according to various embodiments of the present disclosure;
9 is a flowchart illustrating a method of measuring gas using an audio module, for example, a microphone, according to various embodiments of the present disclosure.
10A and 10B are diagrams for explaining a method of measuring a gas through a plurality of microphones, according to various embodiments of the present disclosure;

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included. In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.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. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예들에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, underside) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.

일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104) 간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include 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 an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2는, 다양한 실시예들에 따른, 전자 장치(201)를 도시한 도면(200)이다.2 is a diagram 200 illustrating an electronic device 201 according to various embodiments of the present disclosure.

도 2를 참조하면, 전자 장치(201)(예: 도 1의 전자 장치(101))는 무선 통신 회로(210)(예: 도 1의 통신 모듈(190)), 메모리(220)(예: 도 1의 메모리(130)), 발광부(230), 터치스크린 디스플레이(240), 오디오 모듈(250)(예: 도 1의 오디오 모듈(170)), 및 프로세서(260)(예: 도 1의 프로세서(120))를 포함할 수 있다.Referring to FIG. 2 , an electronic device 201 (eg, the electronic device 101 of FIG. 1 ) includes a wireless communication circuit 210 (eg, the communication module 190 of FIG. 1 ) and a memory 220 (eg: The memory 130 of FIG. 1 ), the light emitting unit 230 , the touch screen display 240 , the audio module 250 (eg, the audio module 170 of FIG. 1 ), and the processor 260 (eg, FIG. 1 ) of the processor 120).

본 발명의 다양한 실시예들에 따르면, 통신 회로(210)(예: 도 1의 통신 모듈(190))는 외부 전자 장치(예: 도 1의 전자 장치(102))와 통신 채널을 설립하고, 외부 전자 장치와 다양한 데이터를 송수신하도록 지원할 수 있다.According to various embodiments of the present disclosure, the communication circuit 210 (eg, the communication module 190 of FIG. 1 ) establishes a communication channel with an external electronic device (eg, the electronic device 102 of FIG. 1 ), It may support transmitting and receiving various data with an external electronic device.

본 발명의 다양한 실시예들에 따르면, 메모리(220)(예: 도 1의 메모리(130))는 측정할 적어도 하나의 가스 각각에 출력할 주파수의 광이 매핑된 정보(예: 매핑 테이블)를 저장할 수 있다. 메모리(220)는 특정 주파수에서의 크기 및 특정 주파수에서의 크기에 대응하는 가스의 농도가 매핑된 정보(예: 매핑 테이블)를 저장할 수 있다. 다른 실시예에서, 메모리(220)는 이상기체 방정식을 이용하여 압력의 변화를 검출하기 위한 프로그램을 저장할 수 있다.According to various embodiments of the present disclosure, the memory 220 (eg, the memory 130 of FIG. 1 ) stores information (eg, a mapping table) in which light of a frequency to be output is mapped to each of at least one gas to be measured. can be saved The memory 220 may store information (eg, a mapping table) in which a magnitude at a specific frequency and a concentration of a gas corresponding to the magnitude at a specific frequency are mapped. In another embodiment, the memory 220 may store a program for detecting a change in pressure using an ideal gas equation.

본 발명의 다양한 실시예들에 따르면, 메모리(220)는 오디오 모듈(250) 예컨대, 스피커(251)의 온도와 온도에 따른 적어도 하나의 가스의 농도를 보정하기 위한 보정 값이 매핑된 정보(예: 매핑 테이블)를 저장할 수 있다.According to various embodiments of the present disclosure, the memory 220 includes information (eg, a correction value for correcting the concentration of at least one gas according to the temperature and temperature of the audio module 250 , for example, the speaker 251 ) mapped. : mapping table) can be saved.

본 발명의 다양한 실시예들에 따르면, 발광부(230)는 프로세서(260)의 제어 하에 발광부(230)에 포함된 광원을 통해 광을 출력할 수 있다. 예컨대, 발광부(230)는 프로세서(260)의 제어 하에 측정할 적어도 하나의 가스 각각에 매핑된 주파수의 광을 발광부(230)에 포함된 광원을 통해 출력할 수 있다. 전술한 광을 출력하기 위한 발광부(230)의 배치되는 위치와 관련하여, 후술하는 도 3 및 도 4에서 다양한 실시예들이 설명될 것이다.According to various embodiments of the present disclosure, the light emitting unit 230 may output light through a light source included in the light emitting unit 230 under the control of the processor 260 . For example, the light emitting unit 230 may output light of a frequency mapped to each of at least one gas to be measured under the control of the processor 260 through a light source included in the light emitting unit 230 . With respect to the arrangement position of the light emitting unit 230 for outputting the above-described light, various embodiments will be described with reference to FIGS. 3 and 4 to be described later.

본 발명의 다양한 실시예들에 따르면, 터치스크린 디스플레이(240)(예: 도 1의 표시 장치(160))는 디스플레이(241) 및 터치패널(243)을 포함하는 일체형으로 구성될 수 있다.According to various embodiments of the present disclosure, the touch screen display 240 (eg, the display device 160 of FIG. 1 ) may be integrally configured including the display 241 and the touch panel 243 .

일 실시예에서, 터치스크린 디스플레이(240)는 프로세서(260)의 제어 하에 영상을 표시하며, 액정 디스플레이(liquid crystal display, LCD), 발광 다이오드(light-emitting diode, LED) 디스플레이, 유기 발광 다이오드(organic light-emitting diode, OLED) 디스플레이, 또는 마이크로 전자 기계 시스템(micro electro mechanical systems, MEMS) 디스플레이, 또는 전자 종이(electronic paper) 디스플레이 중 어느 하나로 구현될 수 있다. 하지만 이에 한정하는 것은 아니다.In one embodiment, the touch screen display 240 displays an image under the control of the processor 260, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light emitting diode ( It may be implemented as any one of an organic light-emitting diode (OLED) display, a micro electro mechanical systems (MEMS) display, or an electronic paper display. However, the present invention is not limited thereto.

일 실시예에서, 터치스크린 디스플레이(240)의 디스플레이(241)는 프로세서(260)의 제어 하에 가스를 측정하기 위한 어플리케이션을 실행하는 것에 기반하여 측정할 적어도 하나의 가스를 포함하는 사용자 인터페이스를 표시할 수 있다. 터치스크린 디스플레이(240)의 터치패널(243)은 디스플레이(241)에 표시된 사용자 인터페이스에서 측정할 적어도 하나의 가스를 선택하는 입력을 검출할 수 있다. 터치스크린 디스플레이(240)의 디스플레이(241)는 프로세서(260)의 제어 하에 적어도 하나의 가스의 농도와 관련된 정보를 표시할 수 있다.In one embodiment, the display 241 of the touchscreen display 240 may display a user interface comprising at least one gas to be measured based on executing an application for measuring the gas under the control of the processor 260 . can The touch panel 243 of the touch screen display 240 may detect an input for selecting at least one gas to be measured in the user interface displayed on the display 241 . The display 241 of the touch screen display 240 may display information related to the concentration of at least one gas under the control of the processor 260 .

본 발명의 다양한 실시예들에 따르면, 오디오 모듈(250)(예: 도 1의 오디오 모듈(170))은 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. 예컨대, 오디오 모듈(250)은 스피커(251) 및 마이크(253)를 포함할 수 있다.According to various embodiments of the present disclosure, the audio module 250 (eg, the audio module 170 of FIG. 1 ) may detect a change in pressure generated by a gas component responding to a specific frequency. For example, the audio module 250 may include a speaker 251 and a microphone 253 .

본 발명의 다양한 실시예들에 따르면, 프로세서(260)(예: 도 1의 프로세서(120))는 전자 장치(201)의 전반적인 동작 및 전자 장치(201)의 내부 구성들 간의 신호 흐름을 제어하고, 데이터 처리를 수행할 수 있다.According to various embodiments of the present disclosure, the processor 260 (eg, the processor 120 of FIG. 1 ) controls the overall operation of the electronic device 201 and a signal flow between internal components of the electronic device 201 , , data processing can be performed.

일 실시예에서, 프로세서(260)는 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 발광부(230)에 포함된 광원을 통해 특정 주파수의 광을 출력할 수 있다. 이에 한정하는 것은 아니며, 발광부(230)는 복수개의 발광부들을 포함할 수 있다. 복수개의 발광부들 각각에 포함된 광원은 동일한 파장 대역 또는 상이한 파장의 대역을 가질 수 있다. 프로세서(260)는 측정할 가스를 선택하거나 측정할 가스를 선택하는 사용자 입력을 검출할 수 있다. 프로세서(260)는 복수의 발광부들 중 선택된 측정할 가스에 매핑된 주파수 대역의 발광부를 결정할 수 있다. 프로세서(260)는 결정된 발광부에 포함된 광원을 통해 측정할 가스에 매핑된 주파수의 광을 출력할 수 있다.In an embodiment, the processor 260 may output light of a specific frequency through a light source included in the light emitting unit 230 based on detecting an input for measuring at least one gas. The present invention is not limited thereto, and the light emitting unit 230 may include a plurality of light emitting units. The light sources included in each of the plurality of light emitting units may have the same wavelength band or different wavelength bands. The processor 260 may detect a user input for selecting a gas to be measured or selecting a gas to be measured. The processor 260 may determine a light emitting unit of a frequency band mapped to the selected gas to be measured from among the plurality of light emitting units. The processor 260 may output light of a frequency mapped to a gas to be measured through a light source included in the determined light emitting unit.

일 실시예에서, 적어도 하나의 가스는 일산화탄소(CO), 이산화탄소(CO2), 일산화질소(NO), 및/또는 이산화황(SO2)을 포함할 수 있다. 하지만 이에 한정하는 것은 아니다. 프로세서(260)는 발광부(230)에 포함된 광원을 통해 특정 주파수 예컨대, 측정할 적어도 하나의 가스 각각이 흡수하는 흡수율이 높은 파장의 주파수의 광을 출력할 수 있다. 프로세서(260)는 오디오 모듈(250)을 통해 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. 예컨대, 적어도 하나의 가스가 발광부(230)의 광원을 통해 출력되는 광을 흡수함에 따라 열이 발생될 수 있다. 적어도 하나의 가스에서의 열 발생으로 부피가 팽창될 수 있으며, 적어도 하나의 가스의 부피가 팽창됨에 따라 압력이 발생될 수 있다. 오디오 모듈(250)의 진동판은 압력이 변경됨에 의해 진동할 수 있다. 프로세서(260)는 오디오 모듈(250)을 통해 오디오 모듈(250)의 진동판의 진동으로 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. 프로세서(260)는 압력의 변화로 인해 전기적 신호가 발생하면, 전기적 신호를 데이터로 변환할 수 있다. 변환된 데이터는 사운드의 주파수(예: 음파(acoustic waves))와 크기 정보를 포함할 수 있다. 프로세서(260)는 변환된 데이터에 기반하여 특정 주파수에서의 크기를 확인하고, 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도와 관련된 정보를 제공할 수 있다.In one embodiment, the at least one gas may include carbon monoxide (CO), carbon dioxide (CO2), nitrogen monoxide (NO), and/or sulfur dioxide (SO2). However, the present invention is not limited thereto. The processor 260 may output light of a specific frequency, for example, a frequency having a high absorption rate absorbed by each of the at least one gas to be measured, through the light source included in the light emitting unit 230 . The processor 260 may detect a change in pressure generated by a gas component responding to a specific frequency through the audio module 250 . For example, heat may be generated as the at least one gas absorbs light output through the light source of the light emitting unit 230 . The volume may expand due to heat generation in the at least one gas, and pressure may be generated as the volume of the at least one gas expands. The diaphragm of the audio module 250 may vibrate when the pressure is changed. The processor 260 may detect a change in pressure generated by a gas component that responds to a specific frequency by vibration of the diaphragm of the audio module 250 through the audio module 250 . When an electrical signal is generated due to a change in pressure, the processor 260 may convert the electrical signal into data. The converted data may include frequency (eg, acoustic waves) and size information of a sound. The processor 260 may identify a magnitude at a specific frequency based on the converted data, and provide information related to the concentration of at least one gas corresponding to the magnitude at the specific frequency.

다양한 실시예들에 따르면, 프로세서(260)는 제1 프로세서(261)(예: 코덱(codec)) 및 제2 프로세서(263)를 포함할 수 있다. 예컨대, 가스를 측정하기 위해 스피커(251)를 이용하는 경우, 전자 장치(201)는 사운드를 출력하는 제1 전기적 경로 외에 전기적 신호를 읽어 들이기 위한 별도의 제2 전기적 경로를 더 포함할 수 있다. 제2 전기적 경로는 스피커(251)와 제1 프로세서(261)를 연결할 수 있다. 스피커(251)는 압력의 변화로 인해 발생되는 전기적 신호를 제2 전기적 경로를 통해 제1 프로세서(261)에 전달할 수 있다. 제1 프로세서(261)는 스피커(251)로부터 수신한 전기적 신호를 디지털 데이터로 변환할 수 있다. 제1 프로세서(261)는 변환된 디지털 데이터를 제2 프로세서(263)에 전달할 수 있다. 제2 프로세서(263)는 제1 프로세서(261)로부터 수신한 디지털 데이터에 기반하여 특정 주파수에서의 크기를 확인하고, 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도와 관련된 정보를 제공할 수 있다.According to various embodiments, the processor 260 may include a first processor 261 (eg, a codec) and a second processor 263 . For example, when the speaker 251 is used to measure gas, the electronic device 201 may further include a separate second electrical path for reading an electrical signal in addition to the first electrical path for outputting sound. The second electrical path may connect the speaker 251 and the first processor 261 . The speaker 251 may transmit an electrical signal generated due to a change in pressure to the first processor 261 through the second electrical path. The first processor 261 may convert the electrical signal received from the speaker 251 into digital data. The first processor 261 may transmit the converted digital data to the second processor 263 . The second processor 263 confirms the magnitude at a specific frequency based on the digital data received from the first processor 261, and provides information related to the concentration of at least one gas corresponding to the magnitude at the specific frequency. can

다양한 실시예들에 따르면, 가스를 측정하기 위해 스피커(251)를 이용하는 경우, 프로세서(260)는 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 스피커(251)의 온도 및/또는 스피커(251)의 진동판 및 스피커(251)의 홀 사이의 형성된 적어도 하나의 가스가 포집되는 공간의 온도를 측정할 수 있다. 프로세서(260)는 측정된 스피커(251)의 온도 및/또는 적어도 하나의 가스가 포집되는 공간의 온도에 기반하여 적어도 하나의 가스의 농도를 보정하고, 보정된 적어도 하나의 가스의 농도와 관련된 정보를 제공할 수 있다.According to various embodiments, when the speaker 251 is used to measure a gas, the processor 260 is based on detecting an input for measuring at least one gas, the temperature of the speaker 251 and/or The temperature of the space in which at least one gas formed between the diaphragm of the speaker 251 and the hole of the speaker 251 is collected may be measured. The processor 260 corrects the concentration of the at least one gas based on the measured temperature of the speaker 251 and/or the temperature of the space in which the at least one gas is collected, and information related to the corrected concentration of the at least one gas can provide

다양한 실시예들에 따른 전자 장치(201)는 오디오 모듈(250), 상기 오디오 모듈(250)에 근접하게 배치되며, 광을 출력하기 위한 발광부(230), 메모리(220) 및 상기 오디오 모듈(250), 상기 발광부(230), 및 상기 메모리(220)와 작동적으로 연결된 프로세서(260)를 포함하며, 상기 프로세서(260)는, 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 발광부(230)에 포함된 광원을 통해 특정 주파수의 광을 출력하고, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 상기 오디오 모듈(250)을 통해 검출하고, 상기 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 및 상기 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정될 수 있다.The electronic device 201 according to various embodiments is disposed adjacent to the audio module 250 , the audio module 250 , and a light emitting unit 230 for outputting light, a memory 220 , and the audio module ( 250), the light emitting unit 230, and a processor 260 operatively coupled to the memory 220, wherein the processor 260 is based on detecting an input for measuring at least one gas. Thus, light of a specific frequency is output through the light source included in the light emitting unit 230, and a change in pressure generated by a gas component responding to the specific frequency is detected through the audio module 250, and the When an electrical signal is generated due to a change in pressure, the electrical signal is converted into data, and the magnitude at the specific frequency is determined based on the data, and the at least one gas corresponding to the magnitude at the specific frequency It can be set to provide information related to the concentration of

다양한 실시예들에 따르면, 상기 오디오 모듈(250)은 스피커(251) 및/또는 마이크(253)를 포함할 수 있다.According to various embodiments, the audio module 250 may include a speaker 251 and/or a microphone 253 .

다양한 실시예들에 따르면, 상기 프로세서(260)는 제1 프로세서(261) 및 제2 프로세서(263)를 포함하며, 상기 스피커(251)를 이용하여 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출하는 경우, 상기 제1 프로세서(261)는, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 상기 데이터를 상기 제2 프로세서(263)에 전달하도록 설정되고, 상기 제2 프로세서(263)는, 상기 제1 프로세서(261)로부터 수신한 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정될 수 있다.According to various embodiments, the processor 260 includes a first processor 261 and a second processor 263 , and is generated by a gas component responding to the specific frequency using the speaker 251 . When detecting a change in pressure, when an electrical signal is generated due to a change in pressure generated by a gas component responding to the specific frequency, the first processor 261 converts the electrical signal into data, and is configured to transmit data to the second processor 263 , wherein the second processor 263 checks the size at the specific frequency based on the data received from the first processor 261 , and and may be configured to provide information related to a concentration of the at least one gas corresponding to a magnitude in frequency.

다양한 실시예들에 따르면, 상기 오디오 모듈(250)은 스피커(251)를 포함하며, 상기 프로세서(260)는, 상기 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 스피커(251)의 온도 및/또는 상기 스피커(251)의 진동판 및 상기 스피커의 홀 사이의 형성된 적어도 하나의 가스가 포집되는 공간의 온도를 측정하도록 설정될 수 있다.According to various embodiments, the audio module 250 includes a speaker 251 , and the processor 260 is configured to, based on detecting an input for measuring the at least one gas, the speaker 251 . ) and/or the temperature of a space in which at least one gas formed between the diaphragm of the speaker 251 and the hole of the speaker is collected.

다양한 실시예들에 따르면, 상기 프로세서(260)는, 상기 측정된 스피커(251)의 온도 및/또는 상기 적어도 하나의 가스가 포집되는 공간의 온도에 기반하여 상기 적어도 하나의 가스의 농도를 보정하고, 상기 보정된 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정될 수 있다.According to various embodiments, the processor 260 corrects the concentration of the at least one gas based on the measured temperature of the speaker 251 and/or the temperature of the space in which the at least one gas is collected, , may be set to provide information related to the corrected concentration of the at least one gas.

다양한 실시예들에 따르면, 상기 발광부(230)는 복수의 발광부들을 포함하며, 상기 복수개의 발광부들 각각에 포함된 광원은 동일한 주파수 가지거나, 또는 상이한 주파수를 가지도록 설정될 수 있다.According to various embodiments, the light emitting unit 230 may include a plurality of light emitting units, and the light sources included in each of the plurality of light emitting units may be set to have the same frequency or different frequencies.

다양한 실시예들에 따르면, 상기 프로세서(260)는, 상기 특정 주파수의 광을 출력하는 것에 기반하여 상기 적어도 하나의 가스에 상기 특정 주파수의 광이 흡수되어 열 발생되고, 상기 열 발생으로 적어도 하나의 가스의 부피가 팽창됨에 따라 압력이 발생하면, 상기 압력의 변화에 의한 상기 오디오 모듈(250)의 진동판의 진동으로 상기 특정 주파수에서의 압력의 변화를 검출하도록 설정될 수 있다.According to various embodiments, the processor 260 generates heat by absorbing the light of the specific frequency by the at least one gas based on outputting the light of the specific frequency, and generates at least one When pressure is generated as the volume of gas expands, it may be configured to detect a change in pressure at the specific frequency by vibration of the diaphragm of the audio module 250 due to the change in pressure.

다양한 실시예들에 따르면, 상기 프로세서(260)는, 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈(250)이 사용 중인지 여부를 확인하고, 및 상기 확인에 기반하여, 사용 중이 아닌 오디오 모듈(250)에 인접하게 배치된 발광부(230)의 광원을 통해 상기 특정 주파수의 광을 출력하도록 설정될 수 있다.According to various embodiments, the processor 260 determines whether the audio module 250 is in use based on detecting an input for measuring at least one gas, and based on the confirmation , may be set to output the light of the specific frequency through the light source of the light emitting unit 230 disposed adjacent to the audio module 250 that is not in use.

다양한 실시예들에 따르면, 전자 장치(201)는 터치스크린 디스플레이(240)를 더 포함하며, 상기 프로세서(260)는, 상기 적어도 하나의 가스의 농도와 관련된 정보를 상기 터치스크린 디스플레이(240)에 표시하거나, 및/또는 상기 오디오 모듈(250)을 통해 출력하도록 설정될 수 있다.According to various embodiments, the electronic device 201 further includes a touch screen display 240 , and the processor 260 transmits information related to the concentration of the at least one gas to the touch screen display 240 . It may be set to display and/or output through the audio module 250 .

다양한 실시예들에 따르면, 상기 발광부(230)는, 상기 적어도 하나의 가스가 포집되는 공간의 중심 방향으로 발광될 수 있도록 상기 오디오 모듈(250)에 근접하게 배치될 수 있다.도 3은, 다양한 실시예들에 따른, 스피커(251)의 일 예의 구성을 개략적으로 나타내는 단면도(300)이다. According to various embodiments, the light emitting unit 230 may be disposed adjacent to the audio module 250 so that the at least one gas may be emitted toward the center of the space in which it is collected. It is a cross-sectional view schematically illustrating a configuration of an example of the speaker 251 according to various embodiments.

도 3을 참조하면, 스피커(예: 도 2의 스피커(251))는 요크(310), 마그넷(320), 플레이트(330), 프레임(340), 보이스 코일(350), 진동판(360), 보호부재(370), 및 발광부(390)를 포함할 수 있다. Referring to FIG. 3 , the speaker (eg, the speaker 251 of FIG. 2 ) includes a yoke 310 , a magnet 320 , a plate 330 , a frame 340 , a voice coil 350 , a diaphragm 360 , It may include a protection member 370 and a light emitting unit 390 .

일 실시예에서, 요크(310)는 스피커(251)의 제1 면(예: 상면)을 형성할 수 있다. 요크(310)는 마그넷(320)을 고정할 수 있다. 요크(310)는 제1 홀(311) 및 제2 홀(313)을 포함할 수 있다. 제1 홀(311)의 상부에는 제1 통기 메쉬(312)가 배치될 수 있다. 제2 홀(313)의 상부에는 제2 통기 메쉬(314)가 배치될 수 있다. 제1 통기 메쉬(312) 및 제2 통기 메쉬(314)는 스피커(251)의 내부 및 외부를 통해 공기가 유통되게 구성될 수 있다.In an embodiment, the yoke 310 may form a first surface (eg, an upper surface) of the speaker 251 . The yoke 310 may fix the magnet 320 . The yoke 310 may include a first hole 311 and a second hole 313 . A first ventilation mesh 312 may be disposed on an upper portion of the first hole 311 . A second ventilation mesh 314 may be disposed on the second hole 313 . The first ventilation mesh 312 and the second ventilation mesh 314 may be configured to allow air to flow through the inside and outside of the speaker 251 .

일 실시예에서, 마그넷(320)의 제1 면(예: 상면)은 요크(310)에 장착될 수 있다. 마그넷(320)은 요크(310)에 장착되어 자기장을 형성할 수 있다. 마그넷(320)은, 예컨대, 네오디뮴(neodymium) 마그넷 또는 알리코(alnico) 마그넷을 포함할 수 있다. 마그넷(320)은 플레밍의 왼손 법칙에 따라 보이스 코일(350)이 상하로 진동하도록 할 수 있다.In an embodiment, a first surface (eg, an upper surface) of the magnet 320 may be mounted on the yoke 310 . The magnet 320 may be mounted on the yoke 310 to form a magnetic field. The magnet 320 may include, for example, a neodymium magnet or an alnico magnet. The magnet 320 may cause the voice coil 350 to vibrate up and down according to Fleming's left hand rule.

일 실시예에서, 플레이트(330)는 마그넷(320)의 제1 면(예: 상면)과 반대 방향인 제2 면(예: 하면)에 장착될 수 있다. 플레이트(330)는 마그넷(320)에서 발생되는 자기장을 모아주는 기능을 수행할 수 있다. 플레이트(330)는 자력이 잘 통하는 재료(예: SUS430, SUS304, 또는 SPCC)로 구성될 수 있다. 플레이트(330)는 요크(310) 및 마그넷(320)과 함께 스피커(251)의 자기회로를 구성할 수 있다. 예컨대, 마그넷(320)에서 발생한 자속은 플레이트(330)를 통해 요크(310)로 들어오는 자속 경로를 형성할 수 있다. In an embodiment, the plate 330 may be mounted on a second surface (eg, a lower surface) opposite to a first surface (eg, an upper surface) of the magnet 320 . The plate 330 may perform a function of collecting the magnetic field generated by the magnet 320 . The plate 330 may be made of a material through which magnetic force is well passed (eg, SUS430, SUS304, or SPCC). The plate 330 may constitute a magnetic circuit of the speaker 251 together with the yoke 310 and the magnet 320 . For example, the magnetic flux generated from the magnet 320 may form a magnetic flux path entering the yoke 310 through the plate 330 .

일 실시예에서, 프레임(340)은 제1 단부(예: 상측 단부)가 요크(310)와 결합될 수 있다. 프레임(340)은 스피커(251)의 측면을 형성할 수 있다. 프레임(340)은 스피커(251)의 외형을 형성할 수 있다. 프레임(340)은, 예컨대, 플라스틱으로 구성될 수 있다. In one embodiment, the frame 340 may have a first end (eg, an upper end) coupled to the yoke 310 . The frame 340 may form a side surface of the speaker 251 . The frame 340 may form the external shape of the speaker 251 . The frame 340 may be made of, for example, plastic.

일 실시예에서, 보이스 코일(350)은 마그넷(320) 및 플레이트(330)와 이격되어 배치될 수 있다. 보이스 코일(350)은 마그넷(320)의 적어도 일부 및 플레이트(330)를 접촉하지 않으면서 감싸도록 구성될 수 있다. 보이스 코일(350)은 진동판(360)의 내면에 배치될 수 있다. 보이스 코일(350)은 진동판(360)의 내면에 배치된 적어도 하나의 축에 도선이 권선되어 구성될 수 있다. 보이스 코일(350)은 외부로부터 인가되는 전기 신호에 의해 마그넷(320)과 함께 진동하여, 진동판(360)을 진동시킬 수 있다. In an embodiment, the voice coil 350 may be disposed to be spaced apart from the magnet 320 and the plate 330 . The voice coil 350 may be configured to surround at least a portion of the magnet 320 and the plate 330 without contacting them. The voice coil 350 may be disposed on the inner surface of the diaphragm 360 . The voice coil 350 may be configured by winding a conductive wire on at least one shaft disposed on the inner surface of the diaphragm 360 . The voice coil 350 may vibrate together with the magnet 320 by an electric signal applied from the outside to vibrate the diaphragm 360 .

일 실시예에서, 진동판(360)은 보이스 코일(350)과 결합될 수 있다. 예컨대, 진동판(360)은 내면에 보이스 코일(350)이 장착되어 배치될 수 있다. 진동판(360)은 프레임(340)의 제1 단부(예: 상측 단부)와 반대 방향의 제2 단부(예: 하측 단부)에 배치될 수 있다. 진동판(360)은 전자 장치(예: 도 2의 전자 장치(201))의 스피커 홀 방향으로 사운드를 출력하도록 구성될 수 있다. 진동판(360)은 보이스 코일(350)과 함께 진동함으로써 사운드를 생성할 수 있다. 진동판(360)은 박막형 필름으로 구성될 수 있다. In an embodiment, the diaphragm 360 may be coupled to the voice coil 350 . For example, the diaphragm 360 may be disposed with the voice coil 350 mounted thereon. The diaphragm 360 may be disposed at a second end (eg, lower end) opposite to the first end (eg, upper end) of the frame 340 . The diaphragm 360 may be configured to output sound in a direction of a speaker hole of an electronic device (eg, the electronic device 201 of FIG. 2 ). The diaphragm 360 may generate sound by vibrating together with the voice coil 350 . The diaphragm 360 may be formed of a thin film.

일 실시예에서, 제1 통기 메쉬(312) 및 진동판(360) 사이에는 제1 공간(382)이 형성될 수 있다. 제1 공간(382)은 제1 통기 메쉬(312)의 하부에 형성된 제1 홀(311)을 포함할 수 있다. 제2 통기 메쉬(314) 및 진동판(360) 사이에는 제2 공간(384)이 형성될 수 있다. 제2 공간(384)은 제2 통기 메쉬(314)의 하부에 형성된 제2 홀(313)을 포함할 수 있다. 플레이트(330) 및 진동판(360) 사이에는 제3 공간(386)이 형성될 수 있다. 제1 공간(382), 제2 공간(384), 및 제3 공간(386)은 서로 통하여 공기가 흐를 수 있도록 구성될 수 있다.In one embodiment, a first space 382 may be formed between the first ventilation mesh 312 and the diaphragm 360 . The first space 382 may include a first hole 311 formed under the first ventilation mesh 312 . A second space 384 may be formed between the second ventilation mesh 314 and the diaphragm 360 . The second space 384 may include a second hole 313 formed under the second ventilation mesh 314 . A third space 386 may be formed between the plate 330 and the diaphragm 360 . The first space 382 , the second space 384 , and the third space 386 may be configured to allow air to flow through each other.

일 실시예에서, 보호부재(370)는 스피커(251)의 제1 면(예: 상면)을 형성하는 요크(310)의 반대 방향인 제2 면(예: 하면)에 구성될 수 있다. 보호부재(370)는 진동판(360)의 외면에 배치될 수 있다. 보호부재(370)는 적어도 일부가 개방되어 형성된 복수의 스피커 홀(375)을 포함할 수 있다. In an embodiment, the protection member 370 may be configured on a second surface (eg, a lower surface) opposite to the yoke 310 forming a first surface (eg, an upper surface) of the speaker 251 . The protection member 370 may be disposed on the outer surface of the diaphragm 360 . The protection member 370 may include a plurality of speaker holes 375 formed at least partially open.

일 실시예에서, 진동판(360) 및 복수의 스피커 홀(375) 사이에는 제4 공간(395)이 형성될 수 있다. 제4 공간(395)은 적어도 하나의 가스가 포집되도록 구성될 수 있다. 제4 공간(395)은 사출로 제작될 수 있다. 제4 공간(395)은 코팅 및 표면 처리될 수 있다. 제4 공간(395)이 코팅 및 표면 처리됨에 따라 발광부(390)에 포함된 광원을 통해 출력되는 특정 주파수의 광의 반사율이 높아질 수 있다.In an embodiment, a fourth space 395 may be formed between the diaphragm 360 and the plurality of speaker holes 375 . The fourth space 395 may be configured to collect at least one gas. The fourth space 395 may be manufactured by injection molding. The fourth space 395 may be coated and surface treated. As the fourth space 395 is coated and surface-treated, the reflectance of light of a specific frequency output through the light source included in the light emitting unit 390 may be increased.

일 실시예에서, 발광부(390)는 특정 주파수의 광을 출력하기 위한 광원을 포함할 수 있다. 발광부(390)는 보호부재(370)의 내면에 배치될 수 있다. 예컨대, 발광부(390)는 제4 공간(395)에 포집된 적어도 하나의 가스의 중심부 방향으로 발광될 수 있도록, 보호부재(370)의 내면 예컨대, 보호부재(370)의 측면에 배치될 수 있다. 하지만 이에 한정하는 것은 아니다. 발광부(390)가 제4 공간(395)에 포집된 적어도 하나의 가스의 중심부 방향으로 발광될 수 있도록 배치됨에 따라, 발광되는 특정 주파수의 광이 가스에 흡수되는 흡수율이 높아질 수 있다. In an embodiment, the light emitting unit 390 may include a light source for outputting light of a specific frequency. The light emitting part 390 may be disposed on the inner surface of the protective member 370 . For example, the light emitting part 390 may be disposed on the inner surface of the protective member 370 , for example, on the side surface of the protective member 370 so that the at least one gas collected in the fourth space 395 may emit light in the central direction. have. However, the present invention is not limited thereto. As the light emitting unit 390 is disposed to emit light toward the center of the at least one gas collected in the fourth space 395 , the absorption rate at which the emitted light of a specific frequency is absorbed by the gas may be increased.

일 실시예에서, 발광부(390)는 복수개의 발광부들을 포함할 수 있다. 복수개의 발광부들 각각에 포함된 광원은 동일한 파장 대역 또는 상이한 파장의 대역을 가질 수 있다. 예컨대, 복수개의 발광부들 각각에 포함된 광원이 동일한 파장 대역을 가지고, 하나의 가스를 측정하는 것으로 가정하면, 하나의 가스를 측정하기 위해 복수개의 발광부들에 포함된 광원들을 이용하여 특정 주파수의 광을 출력함에 따라 정확한 가스의 농도를 획득할 수 있다. 다른 예를 들어, 복수개의 발광부 각각에 포함된 광원이 상이한 파장 대역을 가지고, 적어도 두 개의 가스를 측정하는 것으로 가정하면, 적어도 두 개의 가스를 측정하기 위해 복수개의 발광부들에 포함된 광원들을 이용하여 상이한 파장 대역의 광을 출력함에 따라 적어도 두 개의 가스의 농도를 동시에 획득할 수 있다. 또 다른 예를 들어, 측정할 가스는 사용자에 의해 선택되거나, 또는 전자 장치(201)(예: 프로세서(예: 도 2의 프로세서(260))에 의해 선택될 수 있다. 이 경우, 선택된 가스를 측정하기 위해 복수개의 발광부들 중 선택된 가스에 매핑된 주파수에 대응하는 발광부가 결정될 수 있으며, 결정된 발광부에 포함된 광원을 이용하여 광을 출력할 수 있다.In an embodiment, the light emitting unit 390 may include a plurality of light emitting units. The light sources included in each of the plurality of light emitting units may have the same wavelength band or different wavelength bands. For example, assuming that the light sources included in each of the plurality of light emitting units have the same wavelength band and measure one gas, light of a specific frequency using light sources included in the plurality of light emitting units to measure one gas By outputting , it is possible to obtain an accurate gas concentration. As another example, assuming that the light sources included in each of the plurality of light emitting units have different wavelength bands and measure at least two gases, light sources included in the plurality of light emitting units are used to measure at least two gases Thus, as light of different wavelength bands is output, concentrations of at least two gases may be simultaneously obtained. As another example, the gas to be measured may be selected by a user or may be selected by the electronic device 201 (eg, a processor (eg, the processor 260 of FIG. 2 ). In this case, the selected gas For measurement, a light emitting unit corresponding to a frequency mapped to a selected gas among the plurality of light emitting units may be determined, and light may be output using a light source included in the determined light emitting unit.

일 실시예에서, 진동판(360)은 압력의 변화를 검출할 수 있다. 예컨대, 발광부(390)의 광원을 통해 특정 주파수의 광을 출력하기 때문에, 진동판(360)은 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. 일 실시예에서, 적어도 하나의 광원을 통해 발광된 광은, 제4 공간(395)에 포집된 적어도 하나의 가스에 흡수될 수 있다. 광을 흡수한 적어도 하나의 가스는 열로 변하게 되고, 열 발생으로 인해 부피가 팽창됨에 따라 압력이 발생할 수 있다. 진동판(360)은 발생되는 압력의 변화로 진동할 수 있다. 스피커(251)는 압력의 변화로 전기적 신호를 출력할 수 있다. 스피커(251)는 출력되는 전기적 신호를 프로세서(예: 도 2의 프로세서(260))의 제1 프로세서(예: 도 2의 제1 프로세서(261))에 전달할 수 있다.In one embodiment, the diaphragm 360 may detect a change in pressure. For example, since light of a specific frequency is output through the light source of the light emitting unit 390 , the diaphragm 360 may detect a change in pressure generated by a gas component responding to the specific frequency. In an embodiment, the light emitted through the at least one light source may be absorbed by the at least one gas collected in the fourth space 395 . At least one gas absorbing light is converted into heat, and as the volume expands due to heat generation, pressure may be generated. The diaphragm 360 may vibrate with a change in generated pressure. The speaker 251 may output an electrical signal by a change in pressure. The speaker 251 may transmit an output electrical signal to a first processor (eg, the first processor 261 of FIG. 2 ) of the processor (eg, the processor 260 of FIG. 2 ).

도 4a 내지 도 4c는, 다양한 실시예들에 따른, 마이크(253)의 일 예의 구성을 개략적으로 나타내는 단면도(400)이다.4A to 4C are cross-sectional views schematically illustrating a configuration of an example of a microphone 253 according to various embodiments of the present disclosure.

도 4a 내지 도 4c를 참조하면, 마이크(예: 도 2의 마이크(253))는, 인쇄 회로 기판(410), 오디오 생성부(420), 신호 처리부(430), 케이스(440), 진동판(450), 및 발광부(470)를 포함할 수 있다. 4A to 4C , the microphone (eg, the microphone 253 in FIG. 2 ) includes a printed circuit board 410 , an audio generator 420 , a signal processor 430 , a case 440 , and a diaphragm ( 450 ), and a light emitting unit 470 .

일 실시예에서, 인쇄 회로 기판(410), 오디오 생성부(420), 및 신호 처리부(430)는 배선(401)을 통해 서로 연결될 수 있다. 인쇄 회로 기판(410)은 적어도 하나의 사운드 홀(412)을 포함할 수 있다. In an embodiment, the printed circuit board 410 , the audio generator 420 , and the signal processor 430 may be connected to each other through the wiring 401 . The printed circuit board 410 may include at least one sound hole 412 .

일 실시예에서, 마이크(253)는 보드 위에 실장될 수 있다. 마이크(253) 내부의 사운드 홀(412)은 마이크 러버(460)에 의해 감싸질 수 있으며, 이는 외부 마이크 홀(414)과 연결될 수 있다.In one embodiment, the microphone 253 may be mounted on the board. The sound hole 412 inside the microphone 253 may be covered by the microphone rubber 460 , which may be connected to the external microphone hole 414 .

일 실시예에서, 마이크(253)는 발광부(470)를 포함할 수 있다. 발광부(470)는 복수개의 발광부들을 포함할 수 있다. 복수개의 발광부들 각각에 포함된 광원은 동일한 파장 대역 또는 상이한 파장의 대역을 가질 수 있다.In an embodiment, the microphone 253 may include a light emitting unit 470 . The light emitting unit 470 may include a plurality of light emitting units. The light sources included in each of the plurality of light emitting units may have the same wavelength band or different wavelength bands.

일 실시예에서, 발광부(470)는 발광되는 특정 주파수의 광이 마이크 러버의 내부 공간(480)에 포집되어지는 적어도 하나의 가스에 흡수되는 흡수율이 높아지도록 배치될 수 있다. 예컨대, 도 4a에 도시된 바와 같이 발광부(470)는 마이크 러버(460) 내 내부 마이크 홀(412)의 통로 방향으로 발광될 수 있는 곳에 배치될 수 있다. 다른 예를 들어, 도 4b에 도시된 바와 같이 발광부(470)는 마이크 러버(460) 내 외부 마이크 홀(414)의 통로 방향으로 발광될 수 있는 곳에 배치될 수 있다. 또 다른 예를 들어, 도 4c에 도시된 바와 같이 복수의 발광부(470)는 마이크 러버(460) 내 내부 마이크 홀(412)의 통로 방향 및 외부 마이크 홀(414)의 통로 방향으로 발광할 수 있는 곳에 배치될 수 있다.In one embodiment, the light emitting unit 470 may be arranged such that the absorption rate at which light of a specific frequency emitted is absorbed by at least one gas that is collected in the internal space 480 of the microphone rubber. For example, as shown in FIG. 4A , the light emitting unit 470 may be disposed at a location where light can be emitted in the passage direction of the internal microphone hole 412 in the microphone rubber 460 . For another example, as shown in FIG. 4B , the light emitting unit 470 may be disposed where light can be emitted in the passage direction of the external microphone hole 414 within the microphone rubber 460 . As another example, as shown in FIG. 4C , the plurality of light emitting units 470 may emit light in the passage direction of the internal microphone hole 412 and the passage direction of the external microphone hole 414 in the microphone rubber 460 . It can be placed wherever it is.

일 실시예에서, 발광부(470)의 전면의 공간은 글라스(glass) 또는 에폭시(epoxy)와 같은 광 흡수율이 낮은 소재로 채워지거나 막아질 수 있다. 발광부(470)의 전면의 공간이 광 흡수율이 낮은 소재로 구성됨에 따라 광은 잘 통과하고 마이크(253)에 입력되는 사운드의 왜곡이 발생하지 않을 수 있다.In an embodiment, the space on the front surface of the light emitting unit 470 may be filled or blocked with a material having a low light absorption, such as glass or epoxy. As the space in front of the light emitting unit 470 is made of a material having a low light absorption rate, light passes well and distortion of the sound input to the microphone 253 may not occur.

일 실시예에서, 적어도 하나의 가스가 포집되는 마이크 러버(460)의 내부는 코팅 및 표면 처리될 수 있다. 마이크 러버(460)의 내부가 코팅 및 표면 처리됨에 따라 발광부(470)에 포함된 광원을 통해 출력되는 특정 주파수의 광의 반사율이 높아질 수 있다.In an embodiment, the inside of the microphone rubber 460 in which at least one gas is collected may be coated and surface treated. As the inside of the microphone rubber 460 is coated and surface-treated, the reflectance of light of a specific frequency output through the light source included in the light emitting unit 470 may be increased.

일 실시예에서, 적어도 하나의 광원을 통해 발광된 광은, 마이크 러버(460)의 내부 공간(480)에 포집된 적어도 하나의 가스에 흡수될 수 있다. 광을 흡수한 적어도 하나의 가스는 열이 발생되고, 열 발생으로 인해 부피가 팽창됨에 따라 압력이 발생할 수 있다. 진동판(450)은 발생되는 압력의 변화에 의해 진동할 수 있다.압력의 변화로 전기적 신호가 발생될 수 있으며, 마이크(253)는 발생되는 전기적 신호를 프로세서(예: 도 2의 프로세서(260))에 전달할 수 있다.In an embodiment, the light emitted through the at least one light source may be absorbed by at least one gas collected in the internal space 480 of the microphone rubber 460 . At least one gas absorbing light generates heat, and as the volume expands due to heat generation, pressure may be generated. The diaphragm 450 may vibrate by a change in the generated pressure. An electrical signal may be generated by the change in pressure, and the microphone 253 converts the generated electrical signal to a processor (eg, the processor 260 of FIG. 2 ). ) can be passed to

도 5는, 다양한 실시예들에 따른, 오디오 모듈(250)을 이용하여 가스를 측정하는 방법을 설명하기 위한 흐름도(500)이다.5 is a flowchart 500 for explaining a method of measuring a gas using the audio module 250, according to various embodiments.

도 5를 참조하면, 전자 장치(예: 도 2의 전자 장치(201))는 510동작에서, 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 발광부(예: 도 2의 발광부(230))에 포함된 광원을 통해 특정 주파수의 광을 출력할 수 있다.Referring to FIG. 5 , in operation 510 , in the electronic device (eg, the electronic device 201 of FIG. 2 ), the light emitting unit (eg, the light emission of FIG. 2 ) based on detecting an input for measuring at least one gas. Light of a specific frequency may be output through the light source included in the unit 230).

일 실시예에서, 전자 장치(201)는 가스를 측정하기 위한 어플리케이션을 실행하는 것에 기반하여 측정할 적어도 하나의 가스를 포함하는 사용자 인터페이스를 디스플레이(예: 도 2의 디스플레이(241))에 표시할 수 있다. 전자 장치(201)는 사용자 인터페이스에서 측정할 적어도 하나의 가스를 선택하는 입력을 검출하는 경우, 적어도 하나의 가스를 측정하기 위한 입력을 검출한 것으로 결정할 수 있다. 발광부(230)는 복수개의 발광부들을 포함할 수 있다. 프로세서(260)는 선택된 적어도 하나의 가스를 측정하기 위해, 복수개의 발광부들 중 선택된 적어도 하나의 가스에 매핑된 주파수에 대응하는 발광부를 결정할 수 있다. 프로세서(260)는 결정된 발광부에 포함된 광원을 이용하여 광을 출력할 수 있다.In an embodiment, the electronic device 201 may display a user interface including at least one gas to be measured on a display (eg, the display 241 of FIG. 2 ) based on executing an application for measuring a gas. can When detecting an input for selecting at least one gas to be measured on the user interface, the electronic device 201 may determine that an input for measuring at least one gas is detected. The light emitting unit 230 may include a plurality of light emitting units. In order to measure the at least one selected gas, the processor 260 may determine a light emitting unit corresponding to a frequency mapped to the selected at least one gas among the plurality of light emitting units. The processor 260 may output light using the light source included in the determined light emitting unit.

하지만, 이에 한정하는 것은 아니며, 지정된 시간 간격으로 적어도 하나의 가스를 측정할 수 있다. 예컨대, 지정된 시간 간격으로 측정할 적어도 하나의 가스가 기 설정되어 있을 수 있으며, 전자 장치(201)는 적어도 하나의 가스를 측정하기 위해 지정된 시간 간격으로 적어도 하나의 가스에 매핑된 특정 주파수에 대응하는 발광부(230)에 포함된 광원을 통해 특정 주파수의 광을 출력할 수 있다.However, the present invention is not limited thereto, and at least one gas may be measured at a specified time interval. For example, at least one gas to be measured at a specified time interval may be preset, and the electronic device 201 detects at least one gas corresponding to a specific frequency mapped to the at least one gas at a specified time interval to measure the at least one gas. Light of a specific frequency may be output through the light source included in the light emitting unit 230 .

일 실시예에서, 측정할 적어도 하나의 가스는 일산화탄소(CO), 이산화탄소(CO2), 일산화질소(NO), 및/또는 이산화황(SO2)을 포함할 수 있다. 하지만 이에 한정하는 것은 아니다. In one embodiment, the at least one gas to be measured may include carbon monoxide (CO), carbon dioxide (CO2), nitrogen monoxide (NO), and/or sulfur dioxide (SO2). However, the present invention is not limited thereto.

일 실시예에서, 전자 장치(201)는 발광부(230)에 포함된 광원을 통해 특정 주파수 예컨대, 측정할 적어도 하나의 가스 각각이 흡수하는 흡수율이 높은 파장의 주파수의 광을 출력할 수 있다. 예컨대, 전자 장치(201)는 일산화탄소(CO)를 측정하기 위한 입력을 검출하는 것에 기반하여 발광부(230)에 포함된 광원을 통해 4.7μm 파장의 주파수의 광을 출력할 수 있다. 다른 예를 들어, 이산화탄소(CO2)를 측정하기 위한 입력을 검출하는 것에 기반하여 발광부(230)에 포함된 광원을 통해 4.26μm 파장의 주파수의 광을 출력할 수 있다. 또 다른 예를 들어, 일산화질소(NO)를 측정하기 위한 입력을 검출하는 것에 기반하여 발광부(230)에 포함된 광원을 통해 5.3μm 파장의 주파수의 광을 출력할 수 있다. 또 다른 예를 들어, 이산화황(SO2)을 측정하기 위한 입력을 검출하는 것에 기반하여 발광부(230)에 포함된 광원을 통해 4.0μm 파장의 주파수의 광을 출력할 수 있다. 하지만 이에 한정하는 것은 아니다.In an embodiment, the electronic device 201 may output light of a specific frequency, for example, a frequency having a high absorption rate absorbed by each of the at least one gas to be measured, through the light source included in the light emitting unit 230 . For example, the electronic device 201 may output light having a frequency of 4.7 μm through a light source included in the light emitting unit 230 based on detecting an input for measuring carbon monoxide (CO). As another example, based on detecting an input for measuring carbon dioxide (CO 2 ), light having a frequency of 4.26 μm may be output through a light source included in the light emitting unit 230 . As another example, based on detecting an input for measuring nitrogen monoxide (NO), light having a frequency of 5.3 μm may be output through a light source included in the light emitting unit 230 . As another example, based on detecting an input for measuring sulfur dioxide (SO 2 ), light having a frequency of 4.0 μm may be output through a light source included in the light emitting unit 230 . However, the present invention is not limited thereto.

일 실시예에서, 전자 장치(201)는 520동작에서, 오디오 모듈(예: 도 2의 오디오 모듈(250))을 통해 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. 예컨대, 오디오 모듈(250)은 스피커(예: 도 2의 스피커(251)) 및 마이크(예: 도 2의 마이크(253))를 포함할 수 있다.In an embodiment, in operation 520 , the electronic device 201 detects a change in pressure generated by a gas component responding to a specific frequency through an audio module (eg, the audio module 250 of FIG. 2 ). . For example, the audio module 250 may include a speaker (eg, the speaker 251 of FIG. 2 ) and a microphone (eg, the microphone 253 of FIG. 2 ).

일 실시예에서, 적어도 하나의 가스가 발광부(230)의 광원을 통해 출력되는 광을 흡수함에 따라 열이 발생될 수 있다. 열 발생으로 적어도 하나의 가스의 부피는 팽창할 수 있다. 적어도 하나의 가스의 부피가 팽창함에 따라 압력이 발생될 수 있다. 오디오 모듈(250)의 진동판(예: 스피커(251)의 진동판(360), 마이크(253)의 진동판(450))은 발생되는 압력의 변화에 의해 진동할 수 있다. 전자 장치(201)는 오디오 모듈(250)을 통해 오디오 모듈(250)의 진동판(360, 450)의 진동으로 특정 주파수에서 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. In an embodiment, heat may be generated as the at least one gas absorbs light output through the light source of the light emitting unit 230 . The generation of heat may cause the volume of the at least one gas to expand. A pressure may be generated as the volume of the at least one gas expands. The diaphragm of the audio module 250 (eg, the diaphragm 360 of the speaker 251 and the diaphragm 450 of the microphone 253) may vibrate by a change in generated pressure. The electronic device 201 may detect, through the audio module 250 , a change in pressure generated by a gas component reacting at a specific frequency with vibration of the diaphragms 360 and 450 of the audio module 250 .

일 실시예에서, 전자 장치(201)는 하기 <수학식 1>과 같은 이상기체 방정식에 기반하여 압력의 변화를 검출할 수 있다. 예컨대, 오디오 모듈(250)은 가스 성분에 의해 발생되는 압력의 변화를 검출할 수 있으며, 검출되는 압력의 변화는 가스 성분의 몰수(n)와 절대온도(T)에 비례할 수 있다.In an embodiment, the electronic device 201 may detect a change in pressure based on an ideal gas equation as shown in Equation 1 below. For example, the audio module 250 may detect a change in pressure generated by the gas component, and the detected change in pressure may be proportional to the number of moles (n) and the absolute temperature (T) of the gas component.

Figure pat00001
Figure pat00001

일 실시예에서, 전자 장치(201)는 530동작에서, 압력의 변화로 인해 전기적 신호가 발생하면, 전기적 신호를 데이터로 변환할 수 있다. 예컨대, 오디오 모듈(250)은 진동판(360, 450)의 진동으로 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있으며, 압력의 변화에 따라 전기적 신호를 출력할 수 있다. 전자 장치(201)는 전기적 신호를 디지털 데이터로 변환할 수 있다. 변환된 디지털 데이터는 특정 주파수(예: 음파(acoustic waves))와 특정 주파수의 크기 정보를 포함할 수 있다.In an embodiment, in operation 530 , when an electrical signal is generated due to a change in pressure, the electronic device 201 may convert the electrical signal into data. For example, the audio module 250 may detect a change in pressure generated by a gas component responding to a specific frequency by vibration of the diaphragms 360 and 450 , and may output an electrical signal according to the change in pressure. The electronic device 201 may convert an electrical signal into digital data. The converted digital data may include specific frequency (eg, acoustic waves) and size information of the specific frequency.

일 실시예에서, 전자 장치(201)는 540동작에서, 데이터에 기반하여 특정 주파수에서의 크기를 확인하고, 550동작에서, 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도와 관련된 정보를 제공할 수 있다.In an embodiment, the electronic device 201 checks the size at a specific frequency based on the data in operation 540, and receives information related to the concentration of at least one gas corresponding to the size at the specific frequency in operation 550 can provide

일 실시예에서, 특정 주파수에서의 크기와 가스의 농도는 매핑되어 메모리(예: 도 2의 메모리(220))에 저장될 수 있다. 전자 장치(201)는 메모리(220)에 저장된 특정 주파수에서의 크기와 가스의 농도가 매핑된 정보에 기반하여 특정 주파수에서의 크기에 대응하는 가스의 농도를 확인할 수 있다.In one embodiment, the magnitude and concentration of the gas at a specific frequency may be mapped and stored in a memory (eg, memory 220 of FIG. 2 ). The electronic device 201 may identify the concentration of the gas corresponding to the magnitude at the specific frequency based on information in which the magnitude at the specific frequency and the concentration of the gas stored in the memory 220 are mapped.

일 실시예에서, 전자 장치(201)는 적어도 하나의 가스의 농도와 관련된 정보를 디스플레이(241)를 통해 제공하거나, 또는 스피커(251)를 통해 음성으로 제공할 수 있다.In an embodiment, the electronic device 201 may provide information related to the concentration of at least one gas through the display 241 or by voice through the speaker 251 .

다양한 실시예들에 따라 오디오 모듈(250)은 스피커(251) 및 마이크(253)를 포함할 수 있으며, 오디오 모듈(250)의 스피커(251)를 이용하여 가스를 측정하는 방법은 후술하는 도 7에서, 오디오 모듈(250)의 마이크(251)를 이용하여 가스를 측정하는 방법은 후술하는 도 9에서 다양한 실시예들이 설명될 것이다.According to various embodiments, the audio module 250 may include a speaker 251 and a microphone 253 , and a method of measuring gas using the speaker 251 of the audio module 250 is described later in FIG. 7 . Here, various embodiments of a method of measuring gas using the microphone 251 of the audio module 250 will be described with reference to FIG. 9 to be described later.

도 6은, 다양한 실시예들에 따른, 사운드 레벨에 따른 가스의 농도를 결정하는 방법을 설명하기 위한 도면(600)이다.6 is a diagram 600 for explaining a method of determining a concentration of a gas according to a sound level, according to various embodiments of the present disclosure.

일 실시예에서, 전자 장치(예: 도 2의 전자 장치(201))는 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 발광부(예: 도 2의 발광부(230))의 광원을 통해 특정 주파수의 광을 출력할 수 있다. 출력되는 특정 주파수의 광을 흡수한 적어도 하나의 가스에서 열이 발생함에 따라, 적어도 하나의 가스의 부피가 팽창할 수 있다. 적어도 하나의 가스의 부피가 팽창함에 따라 발생되는 압력의 변화에 의해 오디오 모듈(250)의 진동판(예: 스피커(251)의 진동판(360), 마이크(253)의 진동판(450))은 진동할 수 있다. 전자 장치(201)는 오디오 모듈(250)을 통해 오디오 모듈(250)의 진동판(360, 450)의 진동으로 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다.In an embodiment, the electronic device (eg, the electronic device 201 of FIG. 2 ) is based on detecting an input for measuring at least one gas, and a light emitting unit (eg, the light emitting unit 230 of FIG. 2 ) is used. It is possible to output light of a specific frequency through the light source of As heat is generated in the at least one gas absorbing the output light of a specific frequency, the volume of the at least one gas may expand. The diaphragm of the audio module 250 (eg, the diaphragm 360 of the speaker 251, the diaphragm 450 of the microphone 253) may vibrate by a change in pressure generated as the volume of at least one gas expands. can The electronic device 201 may detect a change in pressure generated by a gas component that responds to a specific frequency by vibration of the diaphragms 360 and 450 of the audio module 250 through the audio module 250 .

일 실시예에서, 전자 장치(예: 도 2의 전자 장치(201))는 적어도 하나의 가스의 농도와 관련된 정보를 제공하기 위해, 사전에 가스의 농도에 따른 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화 예컨대, 음압 레벨(sound pressure level, SPL)을 측정할 수 있다. In an embodiment, the electronic device (eg, the electronic device 201 of FIG. 2 ) uses a gas component that responds to a specific frequency according to the concentration of the gas in advance to provide information related to the concentration of at least one gas. A change in generated pressure, for example, a sound pressure level (SPL) may be measured.

일 실시예에서, 전자 장치(201)는 회귀 분석을 통해 가스의 농도(ppm)와 음압 레벨에 기반한 수학식(예: y=ax-b)을 생성할 수 있다. 전자 장치(201)는 생성된 수학식에 기반하여 특정 사운드 레벨(sound level)(dB)(610)에서의 가스의 농도(ppm)(620)를 예측하고, 이를 가스의 농도와 관련된 정보로서 제공할 수 있다. In an embodiment, the electronic device 201 may generate an equation (eg, y=ax-b) based on the gas concentration (ppm) and the sound pressure level through regression analysis. The electronic device 201 predicts the concentration (ppm) 620 of the gas at a specific sound level (dB) 610 based on the generated equation, and provides it as information related to the concentration of the gas can do.

도 7은, 다양한 실시예들에 따른, 오디오 모듈(250) 예컨대, 스피커(251)를 이용하여 가스를 측정하는 방법을 설명하기 위한 흐름도(700)이다.7 is a flowchart 700 for explaining a method of measuring gas using the audio module 250 , for example, the speaker 251 according to various embodiments of the present disclosure.

도 7을 참조하면, 전자 장치(예: 도 2의 전자 장치(201))는 710동작에서, 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 스피커(예: 도 2의 스피커(251))의 온도를 측정할 수 있다.Referring to FIG. 7 , in operation 710 , the electronic device (eg, the electronic device 201 of FIG. 2 ) uses a speaker (eg, the speaker of FIG. 2 ) based on detecting an input for measuring at least one gas. 251)) can be measured.

일 실시예에서, 스피커(251)의 경우 온도에 따라 특성이 달라지기 때문에 특정 조건에서의 임피던스를 확인하여 가스가 포집되는 공간(예: 도 3의 제4 공간(395))의 온도 및/또는 스피커(251)의 온도를 확인할 수 있다. 예컨대, 전자 장치(201)는 스피커(251)의 보이스 코일(예: 도 3의 보이스 코일(350))의 임피던스 변화에 기반하여 온도를 검출할 수 있다. 예컨대, 열이 발생함에 따라 보이스 코일(350)의 임피던스는 변화될 수 있으며, 전자 장치(201)는 이에 기반하여 온도를 검출할 수 있다. 하지만 이에 한정하는 것은 아니다. 스피커(251)는 스피커(251) 내부의 적어도 일부 영역에 배치(또는 부착)되는 온도 센서(미도시)를 포함할 수 있다. 온도 센서는 온도 센서가 배치된 위치(또는 주변)의 온도를 검출할 수 있다. 예컨대, 온도 센서는 서미스터(thermistor)를 포함할 수 있다. 서미스터는 온도에 따라 저항이 변할 수 있다. 전자 장치(201)는 서미스터의 저항의 변화에 기반하여 스피커(251)의 온도를 검출할 수 있다.In an embodiment, since the characteristics of the speaker 251 vary depending on the temperature, the temperature and/or the temperature of the space in which the gas is collected (eg, the fourth space 395 of FIG. 3 ) by checking the impedance under a specific condition and/or The temperature of the speaker 251 can be checked. For example, the electronic device 201 may detect the temperature based on a change in impedance of the voice coil of the speaker 251 (eg, the voice coil 350 of FIG. 3 ). For example, as heat is generated, the impedance of the voice coil 350 may change, and the electronic device 201 may detect a temperature based thereon. However, the present invention is not limited thereto. The speaker 251 may include a temperature sensor (not shown) disposed (or attached) to at least a partial area inside the speaker 251 . The temperature sensor may detect a temperature at (or around) a location where the temperature sensor is disposed. For example, the temperature sensor may include a thermistor. A thermistor can change its resistance with temperature. The electronic device 201 may detect the temperature of the speaker 251 based on a change in resistance of the thermistor.

일 실시예에서, 전자 장치(201)는 720동작에서, 스피커(251)에 근접하게 배치된 발광부(예: 도 3의 발광부(390))에 포함된 광원을 통해 특정 주파수의 광을 출력할 수 있다. 전자 장치(201)는 730동작에서, 스피커(251)를 통해 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. In an embodiment, in operation 720 , the electronic device 201 outputs light of a specific frequency through a light source included in a light emitting unit disposed close to the speaker 251 (eg, the light emitting unit 390 of FIG. 3 ). can do. In operation 730 , the electronic device 201 detects a change in pressure generated by a gas component responding to a specific frequency through the speaker 251 .

일 실시예에서, 발광부(390)의 광원을 통해 출력되는 광은 제4 공간(395)에 포집된 적어도 하나의 가스에 흡수될 수 있다. 광을 흡수한 적어도 하나의 가스는 열로 변하게 되고, 열 발생으로 인해 적어도 하나의 가스의 부피가 팽창할 수 있다. 진동판(360)은 적어도 하나의 가스의 부피가 팽창함에 따라 발생되는 압력의 변화에 의해 이 진동할 수 있다. 전자 장치(201)는 압력의 변화를 검출할 수 있다.In an embodiment, light output through the light source of the light emitting unit 390 may be absorbed by at least one gas collected in the fourth space 395 . The at least one gas absorbing the light is converted into heat, and the volume of the at least one gas may expand due to the heat generation. The diaphragm 360 may vibrate by a change in pressure generated as the volume of at least one gas expands. The electronic device 201 may detect a change in pressure.

일 실시예에서, 전자 장치(201)는 740동작에서, 압력의 변화로 인해 전기적 신호가 발생하면, 전기적 신호를 데이터로 변환할 수 있다. 예컨대, 진동판(360)의 진동이 검출되면, 보이스 코일(예: 도 3의 보이스 코일(350))을 통과하는 자기력선속 변화로 인해 진동수와 같은 교류 유도 전류가 발생할 수 있다. 전자 장치(201)는 발생되는 교류 유도 전류와 같은 전기적 신호를 디지털 데이터로 변환할 수 있다. 변환된 디지털 데이터는 특정 주파수(예: 음파(acoustic waves))와 특정 주파수의 크기 정보를 포함할 수 있다.In an embodiment, in operation 740 , when an electrical signal is generated due to a change in pressure, the electronic device 201 may convert the electrical signal into data. For example, when vibration of the diaphragm 360 is detected, an AC induced current such as a frequency may be generated due to a change in a magnetic flux flux passing through a voice coil (eg, the voice coil 350 of FIG. 3 ). The electronic device 201 may convert the generated electrical signal, such as an AC induced current, into digital data. The converted digital data may include specific frequency (eg, acoustic waves) and size information of the specific frequency.

일 실시예에서, 가스를 측정하기 위해 스피커(251)를 이용하는 경우, 전자 장치(201)는 사운드(소리)를 출력하는 제1 전기적 경로 외에 전기적 신호를 읽어 들이기 위한 별도의 제2 전기적 경로를 더 포함할 수 있다. 제2 전기적 경로는 스피커(251)와 제1 프로세서(261)를 연결할 수 있다. 스피커(251)는 제2 전기적 경로를 통해 압력의 변화로 인해 발생된 전기적 신호를 제1 프로세서(261)(예: 코덱)에 전달할 수 있다. 제1 프로세서(261)는 스피커(251)로부터 수신한 전기적 신호를 디지털 데이터로 변환할 수 있다. 제1 프로세서(261)는 변환된 디지털 데이터를 제2 프로세서(263)에 전달할 수 있다.In an embodiment, when the speaker 251 is used to measure gas, the electronic device 201 further includes a second electrical path for reading an electrical signal in addition to the first electrical path for outputting sound (sound). may include The second electrical path may connect the speaker 251 and the first processor 261 . The speaker 251 may transmit an electrical signal generated due to a change in pressure to the first processor 261 (eg, a codec) through the second electrical path. The first processor 261 may convert the electrical signal received from the speaker 251 into digital data. The first processor 261 may transmit the converted digital data to the second processor 263 .

일 실시예에서, 전자 장치(201)는 750동작에서, 변환된 데이터에 기반하여 특정 주파수에서의 크기를 확인하고, 760동작에서, 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도를 확인할 수 있다. 전자 장치(201)는 770동작에서, 스피커(251)의 온도에 기반하여 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도를 보정할 수 있다. 스피커(251)의 온도에 기반하여 적어도 하나의 가스의 농도를 보정함에 따라, 정확한 적어도 하나의 가스의 농도를 획득할 수 있다. In an embodiment, in operation 750 , the electronic device 201 determines the magnitude at a specific frequency based on the converted data, and in operation 760 , determines the concentration of at least one gas corresponding to the magnitude at the specific frequency. can In operation 770 , the electronic device 201 may correct the concentration of at least one gas corresponding to a magnitude at a specific frequency based on the temperature of the speaker 251 . By correcting the concentration of the at least one gas based on the temperature of the speaker 251 , an accurate concentration of the at least one gas may be obtained.

전술한 스피커(251)의 온도에 기반하여 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도를 보정하는 770동작과 관련하여, 후술하는 도 8에서 다양한 실시예들이 설명될 것이다.In relation to operation 770 of correcting the concentration of at least one gas corresponding to a magnitude at a specific frequency based on the temperature of the speaker 251 described above, various embodiments will be described with reference to FIG. 8 to be described later.

일 실시예에서, 전자 장치(201)는 780동작에서, 보정된 적어도 하나의 가스의 농도와 관련된 정보를 제공할 수 있다.In an embodiment, the electronic device 201 may provide information related to the corrected concentration of at least one gas in operation 780 .

다른 실시예에서, 미도시 되었으나, 전자 장치(201)는 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 스피커(251)가 사용 중인지 여부를 확인할 수 있다. 예컨대, 전자 장치(201)는 스피커(251)를 이용하여 통화 중인지 여부, 오디오가 재생 중인지 여부, 동영상을 재생 중인지 여부를 확인하고, 이에 기반하여 스피커(251)가 사용 중인지 여부를 확인할 수 있다. 예컨대, 전자 장치(201)는 스피커(251)의 출력과 입력을 제어하는 제1 프로세서(261)에서의 출력이 없는 경우, 가스의 농도를 측정하기 위하여 스피커(251)를 이용할 수 있다.In another embodiment, although not shown, the electronic device 201 may determine whether the speaker 251 is in use based on detecting an input for measuring at least one gas. For example, the electronic device 201 may use the speaker 251 to check whether a call is in progress, whether audio is being played, or whether a video is being played, and based on this, can determine whether the speaker 251 is in use. For example, when there is no output from the first processor 261 that controls the output and input of the speaker 251 , the electronic device 201 may use the speaker 251 to measure the concentration of gas.

일 실시예에 따른 750동작 내지 780동작은 제2 프로세서(263)에 의해 수행될 수 있다.Operations 750 to 780 according to an embodiment may be performed by the second processor 263 .

다양한 실시예들에 따른 도 7에서, 710동작의 스피커(251)의 온도를 측정한 후, 720동작 내지 770동작을 수행하는 것으로 설명하였으나, 이에 한정하는 것은 아니다. 예컨대, 전자 장치(201)는 적어도 하나의 가스가 포집되는 공간(예: 도 3의 제4 공간(395))의 온도 및/또는 스피커(251)의 온도를 측정한 후, 측정된 온도가 특정 온도 조건이 되면, 720동작 내지 770동작을 수행하도록 설정될 수 있다.In FIG. 7 according to various embodiments, it has been described that after measuring the temperature of the speaker 251 in operation 710, operations 720 to 770 are performed, but the present invention is not limited thereto. For example, the electronic device 201 measures the temperature of the space in which at least one gas is collected (eg, the fourth space 395 of FIG. 3 ) and/or the temperature of the speaker 251 , and then sets the measured temperature to a specific value. When the temperature condition is met, it may be set to perform operations 720 to 770.

도 8은, 다양한 실시예들에 따른, 스피커(251)의 온도에 기반하여 가스의 농도를 조정하는 방법을 설명하기 위한 도면(800)이다.8 is a view 800 for explaining a method of adjusting the concentration of a gas based on the temperature of the speaker 251, according to various embodiments.

일 실시예에서, 전자 장치(예: 도 2의 전자 장치(201))는 적어도 하나의 가스의 농도를 보정하기 위해, 사전에 온도에 따른 가스의 농도를 측정할 수 있다. 전자 장치(201)는 회귀 분석을 통해 도 8에 도시된 온도(810)와 가스의 농도(ppm)(820)에 기반한 수학식(예: y=ax-b)을 생성할 수 있다. 전자 장치(201)는 생성된 수학식에 기반하여 특정 온도(810)에서의 가스의 농도를 보정할 수 있다.In an embodiment, the electronic device (eg, the electronic device 201 of FIG. 2 ) may measure the concentration of the gas according to the temperature in advance in order to correct the concentration of the at least one gas. The electronic device 201 may generate an equation (eg, y=ax-b) based on the temperature 810 and the gas concentration (ppm) 820 illustrated in FIG. 8 through regression analysis. The electronic device 201 may correct the concentration of the gas at a specific temperature 810 based on the generated equation.

도 9는, 다양한 실시예들에 따른, 오디오 모듈(250) 예컨대, 마이크(253)를 이용하여 가스를 측정하는 방법을 설명하기 위한 흐름도(900)이다.9 is a flowchart 900 for explaining a method of measuring a gas using the audio module 250, for example, the microphone 253, according to various embodiments.

도 9를 참조하면, 전자 장치(예: 도 2의 전자 장치(201))는 910동작에서, 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 마이크(예: 도 2의 마이크(253))에 근접하게 배치된 발광부(예: 도 4의 발광부(470))에 포함된 광원을 통해 특정 주파수의 광을 출력할 수 있다.Referring to FIG. 9 , in operation 910 , the electronic device (eg, the electronic device 201 of FIG. 2 ) uses a microphone (eg, the microphone of FIG. 2 ) based on detecting an input for measuring at least one gas. 253)), light of a specific frequency may be output through a light source included in the light emitting unit (eg, the light emitting unit 470 of FIG. 4 ).

일 실시예에서, 전자 장치(201)는 920동작에서, 마이크(253)를 통해 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출할 수 있다. 예컨대, 발광부(470)의 광원을 통해 출력되는 특정 주파수의 광을 적어도 하나의 가스가 흡수함에 따라 열이 발생될 수 있다. 열 발생으로 인해 적어도 하나의 가스의 부피가 팽창됨에 따라 압력이 발생할 수 있다. 진동판(450)은 발생되는 압력의 변화에 의해 진동할 수 있다. 마이크(253)는 발생되는 압력의 변화로 전기적 신호를 출력할 수 있다.In an embodiment, in operation 920 , the electronic device 201 detects a change in pressure generated by a gas component responding to a specific frequency through the microphone 253 . For example, heat may be generated as at least one gas absorbs light of a specific frequency output through the light source of the light emitting unit 470 . Pressure may be generated as the volume of the at least one gas expands due to heat generation. The diaphragm 450 may vibrate by a change in generated pressure. The microphone 253 may output an electrical signal by a change in the generated pressure.

일 실시예에서, 전자 장치(201)는 930동작에서, 압력의 변화로 인해 전기적 신호가 발생하면, 전기적 신호를 데이터로 변환할 수 있다. 예컨대, 마이크(253)의 진동판(450)이 진동함에 따른 압력의 변화로 전기적 신호의 변화가 발생하게 되고, 전자 장치(201)는 발생된 전기적 신호를 디지털 데이터로 변환할 수 있다. 변환된 디지털 데이터는 특정 주파수(예: 음파(acoustic waves))와 특정 주파수의 크기 정보를 포함할 수 있다.In an embodiment, in operation 930 , when an electrical signal is generated due to a change in pressure, the electronic device 201 may convert the electrical signal into data. For example, an electrical signal may be changed due to a change in pressure as the diaphragm 450 of the microphone 253 vibrates, and the electronic device 201 may convert the generated electrical signal into digital data. The converted digital data may include specific frequency (eg, acoustic waves) and size information of the specific frequency.

일 실시예에서, 전자 장치(201)는 940동작에서, 변환된 데이터에 기반하여 특정 주파수에서의 크기를 확인하고, 950동작에서, 특정 주파수에서의 크기에 대응하는 적어도 하나의 가스의 농도와 관련된 정보를 제공할 수 있다.In an embodiment, the electronic device 201 determines, in operation 940 , a magnitude at a specific frequency based on the converted data, and in operation 950 , related to the concentration of at least one gas corresponding to the magnitude at the specific frequency. information can be provided.

다양한 실시예들에 따라 미도시 되었으나, 전자 장치(201)는 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 마이크(253)가 사용 중인지 여부를 확인할 수 있다. 예컨대, 전자 장치(201)는 마이크(253)를 이용하여 통화 기능을 수행 중인지 여부, 녹음 기능을 수행 중인지 여부를 확인하고, 이에 기반하여 마이크(253)가 사용 중인지 여부를 확인할 수 있다. 마이크(253)가 사용 중이 아닌 것으로 확인되면, 전자 장치(201)는 가스의 농도를 측정하기 위하여 마이크(253)를 이용할 수 있다.Although not shown according to various embodiments, the electronic device 201 may determine whether the microphone 253 is in use based on detecting an input for measuring at least one gas. For example, the electronic device 201 may determine whether a call function is being performed or a recording function is being performed using the microphone 253 , and may determine whether the microphone 253 is being used based thereon. If it is determined that the microphone 253 is not in use, the electronic device 201 may use the microphone 253 to measure the concentration of gas.

다양한 실시예들에 따라 마이크(253)는 복수의 마이크들을 포함할 수 있다. 복수의 마이크들은 전자 장치(201)의 상이한 위치에 배치될 수 있다. 전자 장치(201)는 복수의 마이크들 각각이 배치된 위치에 따라 복수의 마이크들을 이용하여 상이한 가스의 농도를 측정할 수 있다. 이에 한정하는 것은 아니며 복수의 마이크들 중 사용하지 않는 마이크를 가스의 농도를 측정하는 데 사용할 수 있다.According to various embodiments, the microphone 253 may include a plurality of microphones. The plurality of microphones may be disposed at different positions of the electronic device 201 . The electronic device 201 may measure different concentrations of gases by using the plurality of microphones according to positions where each of the plurality of microphones is disposed. The present invention is not limited thereto, and an unused microphone among the plurality of microphones may be used to measure the concentration of the gas.

다양한 실시예들에 따른 전술한 전자 장치(201)가 복수의 마이크를 포함하는 경우, 가스의 농도를 측정하는 방법과 관련하여, 후술하는 도 10a 및 도 10b에서 다양한 실시예들이 설명될 것이다.When the electronic device 201 described above according to various embodiments includes a plurality of microphones, various embodiments will be described with reference to FIGS. 10A and 10B to be described later with respect to a method of measuring a gas concentration.

도 10a 및 도 10b는, 다양한 실시예들에 따른, 복수의 마이크들을 통해 가스를 측정하는 방법을 설명하기 위한 도면(1000)이다.10A and 10B are diagrams 1000 for explaining a method of measuring a gas through a plurality of microphones, according to various embodiments of the present disclosure.

다양한 실시예들에 따르면, 전자 장치(201)는 외부의 사운드를 수집하여 사운드 신호를 생성할 수 있는 복수의 마이크 예컨대, 제1 마이크(253a) 및 제2 마이크(253b)를 포함할 수 있다. 예컨대, 제1 마이크(253a)는 전자 장치(201)의 상단에 마련되고, 제2 마이크(253b)는 전자 장치(201)의 하단에 마련될 수 있다. 제1 마이크(253a) 및 제2 마이크(253b)는 전자 장치(201)의 하우징 상에 마련된 홀을 통해 외부로 노출되어, 외부에서 발생하는 다양한 사운드(예: 사용자의 음성)를 수집할 수 있다.According to various embodiments, the electronic device 201 may include a plurality of microphones capable of generating a sound signal by collecting external sound, for example, a first microphone 253a and a second microphone 253b. For example, the first microphone 253a may be provided at the upper end of the electronic device 201 , and the second microphone 253b may be provided at the lower end of the electronic device 201 . The first microphone 253a and the second microphone 253b may be exposed to the outside through a hole provided on the housing of the electronic device 201 to collect various external sounds (eg, a user's voice). .

다양한 실시예들에 따르면, 전자 장치(201)에 구비되는 마이크의 수, 배치되는 위치, 및/또는 배치 형태는, 도 10a 및 도 10b에 한정하지 않는다.According to various embodiments, the number of microphones provided in the electronic device 201 , the arrangement positions, and/or the arrangement form are not limited to FIGS. 10A and 10B .

일 실시예에서, 복수의 마이크들(253a, 253b) 각각은 상이한 가스를 측정하거나, 또는 마이크 동작 방식에 따라 특정 상황에서 사용하지 않는 마이크(예: 제1 마이크(253a) 또는 제2 마이크(253b))를 이용하여 가스를 측정할 수 있다.In one embodiment, each of the plurality of microphones 253a and 253b measures a different gas, or a microphone that is not used in a specific situation according to a microphone operation method (eg, the first microphone 253a or the second microphone 253b) )) can be used to measure gas.

일 실시예에서, 전자 장치(201)는 복수의 마이크들(253a, 253b)이 사용 중인지 여부를 확인할 수 있다. 예컨대, 전자 장치(201)는 통화 기능을 수행 중인지 여부, 녹음 기능을 수행 중인지 여부를 확인하고, 이에 기반하여 복수의 마이크들(253a, 253b)이 사용 중인지 여부를 확인할 수 있다.In an embodiment, the electronic device 201 may determine whether the plurality of microphones 253a and 253b are in use. For example, the electronic device 201 may determine whether a call function is being performed or a recording function is being performed, and may determine whether the plurality of microphones 253a and 253b are being used based on the confirmation.

일 실시예에서, 전자 장치(201)는 적어도 하나의 가스를 측정하기 위한 입력을 검출함에 기반하여 복수의 마이크들(253a, 253b) 중 적어도 하나를 통해 가스를 측정하는 중에 통화 기능을 수행하기 위한 입력을 검출할 수 있다. 이에 한정하는 것은 아니며, 전자 장치(201)는 통화 기능을 수행하는 중에 적어도 하나의 가스를 측정하기 위한 입력을 검출할 수 있다.In an embodiment, the electronic device 201 is configured to perform a call function while measuring gas through at least one of the plurality of microphones 253a and 253b based on detecting an input for measuring at least one gas. input can be detected. The present invention is not limited thereto, and the electronic device 201 may detect an input for measuring at least one gas while performing a call function.

일 실시예에서, 전술한 시나리오에 따라 전자 장치(201)는 복수의 마이크들(253a, 253b)을 이용하여 통화 기능을 수행할 수 있다. 복수개의 마이크들 중 하나의 마이크 예컨대, 제1 마이크(253a) 또는 제2 마이크(253b)를 이용하여 적어도 하나의 가스를 측정하는 데 이용할 수 있다.In an embodiment, according to the above-described scenario, the electronic device 201 may perform a call function using the plurality of microphones 253a and 253b. One of the plurality of microphones, for example, the first microphone 253a or the second microphone 253b may be used to measure at least one gas.

예컨대, 도 10a를 참조하면, 통화 기능을 수행하는 경우 복수의 마이크들 예컨대, 제1 마이크(253a) 및 제2 마이크(253b)에 동일한 사운드 신호가 입력될 수 있다. 제1 마이크(253a) 및 제2 마이크(253b) 중 적어도 하나의 가스를 측정하기 위한 하나의 마이크는 사운드 신호와 함께 가스 열팽창에 따른 압력 신호가 입력될 수 있다. For example, referring to FIG. 10A , when performing a call function, the same sound signal may be input to a plurality of microphones, for example, a first microphone 253a and a second microphone 253b. One microphone for measuring at least one gas among the first microphone 253a and the second microphone 253b may receive a pressure signal according to thermal expansion of the gas together with a sound signal.

일 실시예에서, 전자 장치(201)는 제1 마이크(253a)를 통해 입력되는 제1 사운드 신호(1010)와 제2 마이크(253b)를 통해 입력되는 제2 사운드 신호(1020)를 비교할 수 있다. 전자 장치(201)는 제1 사운드 신호(1010)와 제2 사운드 신호(1020)의 비교를 통해 크기 레벨을 맞출 수 있다. 예컨대, 제1 마이크(253a)를 통해 입력되는 제1 사운드 신호(1010)와 제2 마이크(253b)를 통해 입력되는 제2 사운드 신호(1020)가 서로 상쇄되도록, 제1 마이크(253a) 및 제2 마이크(253b)를 통해 입력되는 사운드 신호의 크기 레벨을 동일하게 맞출 수 있다. 전자 장치(201)는 제1 사운드 신호(1010) 또는 제2 사운드 신호(1020)를 반전시킬 수 있다. 예컨대, 제1 사운드 신호(1010)를 반전하는 것으로 가정하여 설명하면, 전자 장치(201)는 제1 사운드 신호(1010)를 반전시켜 제3 사운드 신호(1030)를 획득할 수 있다. 전자 장치(201)는 반전된 제3 사운드 신호(1030)와 제2 사운드 신호(1020)를 합칠 수 있다. 반전된 제3 사운드 신호(1030)와 제2 사운드 신호(1020)가 합쳐짐에 따라 가스 측정에 대한 제4 사운드 신호(1045)를 출력할 수 있다. 전자 장치(201)는 제4 사운드 신호(1045)에 기반하여 가스의 농도를 예측할 수 있다. 예컨대, 제4 사운드 신호(1045)와 같은 사운드 신호가 검출되면, 전자 장치(201)는 가스가 존재하는 것으로 결정하고, 가스의 농도를 측정할 수 있다.In an embodiment, the electronic device 201 may compare the first sound signal 1010 input through the first microphone 253a with the second sound signal 1020 input through the second microphone 253b. . The electronic device 201 may match the size level by comparing the first sound signal 1010 and the second sound signal 1020 . For example, so that the first sound signal 1010 input through the first microphone 253a and the second sound signal 1020 input through the second microphone 253b cancel each other out, the first microphone 253a and the second microphone 253a 2 It is possible to match the level of the sound signal input through the microphone 253b. The electronic device 201 may invert the first sound signal 1010 or the second sound signal 1020 . For example, if it is assumed that the first sound signal 1010 is inverted, the electronic device 201 may obtain the third sound signal 1030 by inverting the first sound signal 1010 . The electronic device 201 may combine the inverted third sound signal 1030 and the second sound signal 1020 . As the inverted third sound signal 1030 and the second sound signal 1020 are combined, a fourth sound signal 1045 for gas measurement may be output. The electronic device 201 may predict the concentration of the gas based on the fourth sound signal 1045 . For example, when a sound signal such as the fourth sound signal 1045 is detected, the electronic device 201 may determine that the gas is present and measure the concentration of the gas.

다른 예를 들어, 도 10b를 참조하면, 도 10a와 유사하게, 전자 장치(201)는 제1 마이크(253a)를 통해 입력되는 제5 사운드 신호(1050)와 제2 마이크(253b)를 통해 입력되는 제6 사운드 신호(1060)를 비교할 수 있다. 전자 장치(201)는 제5 사운드 신호(1050)와 제6 사운드 신호(1060)의 비교를 통해 크기 레벨을 맞출 수 있다. 전자 장치(201)는 제5 사운드 신호(1050) 또는 제6 사운드 신호(1060)를 반전시킬 수 있다. 예컨대, 제5 사운드 신호(1050)를 반전하는 것으로 가정하여 설명하면, 전자 장치(201)는 제5 사운드 신호(1050)를 반전시켜 제7 사운드 신호(1070)를 획득할 수 있다. 전자 장치(201)는 반전된 제7 사운드 신호(1070)와 제6 사운드 신호(1060)를 합칠 수 있다. 반전된 제7 사운드 신호(1070)와 제6 사운드 신호(1060)가 합쳐짐에 따라 가스 측정에 대한 제8 사운드 신호(1085)를 출력할 수 있다. 전자 장치(201)는 제8 사운드 신호(1085)에 기반하여 가스의 농도를 예측할 수 있다. 예컨대, 제8 사운드 신호(1085)와 같이 사운드 신호가 검출되지 않으면, 전자 장치(201)는 가스가 존재하지 않는 것으로 결정할 수 있다.For another example, referring to FIG. 10B , similarly to FIG. 10A , the electronic device 201 receives a fifth sound signal 1050 input through the first microphone 253a and a fifth sound signal 1050 through the second microphone 253b. The sixth sound signal 1060 may be compared. The electronic device 201 may match the size level by comparing the fifth sound signal 1050 and the sixth sound signal 1060 . The electronic device 201 may invert the fifth sound signal 1050 or the sixth sound signal 1060 . For example, if it is assumed that the fifth sound signal 1050 is inverted, the electronic device 201 may obtain the seventh sound signal 1070 by inverting the fifth sound signal 1050 . The electronic device 201 may combine the inverted seventh sound signal 1070 and the sixth sound signal 1060 . As the inverted seventh sound signal 1070 and the sixth sound signal 1060 are combined, an eighth sound signal 1085 for gas measurement may be output. The electronic device 201 may predict the concentration of the gas based on the eighth sound signal 1085 . For example, if no sound signal is detected as in the eighth sound signal 1085 , the electronic device 201 may determine that gas does not exist.

미도시 되었으나, 다양한 실시예들에 따라 전자 장치(201)는 복수의 마이크들(253a, 253b)을 이용하여 통화 기능을 수행할 수 있다. 전자 장치(201)는 복수개의 마이크들(253a, 253b) 중 하나의 마이크 예컨대, 제1 마이크(253a) 또는 제2 마이크(253b)를 이용하여 사용자의 날숨을 분석하는 데 이용할 수 있다. 예컨대, 제1 마이크(253a) 및 제2 마이크(253b) 중 사용자의 날숨을 분석하기 위한 하나의 마이크는 통화 기능에 따른 사운드 신호와 사용자의 날숨에 의한 사운드 신호를 수신할 수 있다. 제1 마이크(253a)를 통해 입력되는 제1 사운드 신호(예: 통화 기능에 따른 사운드 신호)와 제2 마이크(253b)를 통해 입력되는 제2 사운드 신호(예; 통화 기능에 따른 사운드 신호 및 사용자의 날숨에 의한 사운드 신호)가 서로 상쇄되도록, 제1 마이크(253a) 및 제2 마이크(253b)를 통해 입력되는 사운드 신호의 크기 레벨을 동일하게 맞출 수 있다. 전자 장치(201)는 제1 사운드 신호 또는 제2 사운드 신호 중 하나의 사운드 신호 예컨대, 제1 사운드 신호를 반전시켜 제3 사운드 신호를 획득할 수 있다. 전자 장치(201)는 반전된 제3 사운드 신호와 제2 사운드 신호를 합칠 수 있다. 반전된 제3 사운드 신호와 제2 사운드 신호가 합쳐짐에 따라 사용자의 날숨에 대한 제4 사운드 신호를 출력할 수 있다. 전자 장치(201)는 제4 사운드 신호에 기반하여 사용자의 날숨에 대한 가스의 농도를 측정할 수 있다. 이에 한정하는 것은 아니며, 전자 장치(201)는 제4 사운드 신호에 기반하여 특정 시간구간 동안 날숨의 횟수, 날숨의 지속 시간, 날숨의 주기, 또는 날숨에 포함된 가스 성분 중 적어도 하나를 더 측정할 수 있다. 일 실시예에서, 전자 장치(201)는 측정된 사용자의 날숨에 대한 가스의 농도에 기반하여 건강과 관련된 정보를 사용자에게 제공할 수 있다. 다양한 실시예들에 따른 전자 장치(201)의 오디오 모듈(예: 도 2의 오디오 모듈(250))을 이용하여 가스를 측정하는 방법은 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈(250)에 근접하게 배치된 발광부(예: 도 2의 발광부(230))에 포함된 광원을 통해 특정 주파수의 광을 출력하는 동작, 상기 특정 주파수에서 반응하는 가스 성분에 의해 발생하는 압력의 변화를 오디오 모듈(250)을 통해 검출하는 동작, 상기 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하는 동작, 및 상기 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함할 수 있다.Although not shown, according to various embodiments, the electronic device 201 may perform a call function using a plurality of microphones 253a and 253b. The electronic device 201 may use one of the plurality of microphones 253a and 253b to analyze the user's exhalation using, for example, the first microphone 253a or the second microphone 253b. For example, one microphone for analyzing the user's exhalation among the first microphone 253a and the second microphone 253b may receive a sound signal according to a call function and a sound signal according to the user's exhalation. A first sound signal (eg, a sound signal according to a call function) input through the first microphone 253a and a second sound signal (eg, a sound signal according to a call function) and a user input through the second microphone 253b sound signal due to exhalation) of the sound signal inputted through the first microphone 253a and the second microphone 253b may be matched to the same level so that they cancel each other out. The electronic device 201 may obtain a third sound signal by inverting one of the first sound signal and the second sound signal, for example, the first sound signal. The electronic device 201 may combine the inverted third sound signal and the second sound signal. As the inverted third sound signal and the second sound signal are combined, a fourth sound signal for the user's exhalation may be output. The electronic device 201 may measure the concentration of gas for the user's exhalation based on the fourth sound signal. The present invention is not limited thereto, and the electronic device 201 may further measure at least one of the number of exhalations, duration of exhalation, cycle of exhalation, or gas components included in exhalation for a specific time period based on the fourth sound signal. can In an embodiment, the electronic device 201 may provide the user with health-related information based on the measured concentration of the gas with respect to the user's exhalation. A method of measuring a gas using an audio module (eg, the audio module 250 of FIG. 2 ) of the electronic device 201 according to various embodiments is based on detecting an input for measuring at least one gas. , an operation of outputting light of a specific frequency through a light source included in a light emitting unit (eg, the light emitting unit 230 of FIG. 2 ) disposed close to the audio module 250 , the gas component reacting at the specific frequency An operation of detecting a change in pressure generated by the audio module 250 through the audio module 250, an operation of converting the electrical signal into data when an electrical signal is generated due to the change in pressure, and an operation of converting the electrical signal into data based on the data at the specific frequency and confirming the size of , and providing information related to the concentration of the at least one gas corresponding to the size at the specific frequency.

다양한 실시예들에 따르면, 상기 오디오 모듈(250)은 스피커(예: 도 2의 스피커(251)) 및/또는 마이크(예: 도 2의 마이크(253))를 포함할 수 있다.According to various embodiments, the audio module 250 may include a speaker (eg, the speaker 251 of FIG. 2 ) and/or a microphone (eg, the microphone 253 of FIG. 2 ).

다양한 실시예들에 따르면, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출하는 동작 및 상기 전기적 신호를 데이터로 변환하는 동작은, 제1 프로세서(예: 도 2의 제1 프로세서(261))에 의해, 상기 스피커(251)를 이용하여 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출하고, 상기 특정 주파수에서의 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 상기 데이터를 제2 프로세서(예; 도 2의 제2 프로세서(263))에 전달하는 동작을 포함하며, 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작은, 상기 제2 프로세서(263)에 의해, 상기 제1 프로세서(261)로부터 수신한 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함할 수 있다.According to various embodiments, the operation of detecting a change in pressure generated by the gas component responding to the specific frequency and the operation of converting the electrical signal into data are performed by a first processor (eg, the first processor of FIG. 2 ) (261) by using the speaker 251 to detect a change in pressure caused by a gas component responding to the specific frequency, and when an electrical signal is generated due to the change in pressure at the specific frequency, converting the electrical signal into data, transmitting the data to a second processor (eg, the second processor 263 of FIG. 2 ), and providing information related to the concentration of the at least one gas is, by the second processor 263 , based on the data received from the first processor 261 , confirms the magnitude at the specific frequency, and the at least one gas corresponding to the magnitude at the specific frequency It may include an operation of providing information related to the concentration of

다양한 실시예들에 따르면, 상기 오디오 모듈(250)은 스피커(251)를 포함하며, 오디오 모듈(250)을 이용하여 가스를 측정하는 방법은, 상기 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 스피커(251)의 온도 및/또는 상기 스피커(251)의 진동판(예: 도 3의 진동판(360)) 및 상기 스피커(251)의 홀 사이의 형성된 적어도 하나의 가스가 포집되는 공간(예: 도 3의 제4 공간(395))의 온도를 측정하는 동작을 더 포함할 수 있다.According to various embodiments, the audio module 250 includes a speaker 251 , and the method for measuring gas using the audio module 250 includes detecting an input for measuring the at least one gas. Based on that, at least one gas formed between the temperature of the speaker 251 and/or the diaphragm of the speaker 251 (eg, the diaphragm 360 in FIG. 3 ) and the hole of the speaker 251 is collected The operation of measuring the temperature of the space (eg, the fourth space 395 of FIG. 3 ) may be further included.

다양한 실시예들에 따르면, 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작은, 상기 측정된 스피커(251)의 온도 및/또는 상기 적어도 하나의 가스가 포집되는 공간(예: 도 3의 제4 공간(395))의 온도에 기반하여 상기 적어도 하나의 가스의 농도를 보정하는 동작, 및 상기 보정된 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함할 수 있다.According to various embodiments, the operation of providing information related to the concentration of the at least one gas may include the measured temperature of the speaker 251 and/or a space in which the at least one gas is collected (eg, in FIG. 3 ). The method may include correcting the concentration of the at least one gas based on the temperature of the fourth space 395 , and providing information related to the corrected concentration of the at least one gas.

다양한 실시예들에 따르면, 상기 발광부(230)는 복수의 발광부들을 포함하며, 상기 복수개의 발광부들 각각에 포함된 광원은 동일한 주파수 가지거나, 또는 상이한 주파수를 가지도록 설정될 수 있다.According to various embodiments, the light emitting unit 230 may include a plurality of light emitting units, and the light sources included in each of the plurality of light emitting units may be set to have the same frequency or different frequencies.

다양한 실시예들에 따르면, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 상기 오디오 모듈(250)을 통해 검출하는 동작은, 상기 특정 주파수의 광을 출력하는 것에 기반하여 상기 특정 주파수의 광이 상기 적어도 하나의 가스에 흡수됨에 따라 열이 발생되고, 상기 열 발생으로 적어도 하나의 가스의 부피가 팽창됨에 따라 압력이 발생하면, 상기 압력의 변화에 의한 상기 오디오 모듈(250)의 진동판의 진동으로 상기 특정 주파수에서의 압력의 변화를 검출하는 동작을 포함할 수 있다.According to various embodiments, the operation of detecting, through the audio module 250 , a change in pressure generated by a gas component responding to the specific frequency may include outputting light of the specific frequency based on the output of the specific frequency. As the light of the at least one gas is absorbed, heat is generated, and when the volume of the at least one gas is expanded due to the heat generation and pressure is generated, the diaphragm of the audio module 250 due to the change in the pressure It may include an operation of detecting a change in pressure at the specific frequency as a vibration of.

다양한 실시예들에 따르면, 오디오 모듈(250)을 이용하여 가스를 측정하는 방법은, 상기 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈(250)이 사용 중인지 여부를 확인하는 동작, 및 상기 확인에 기반하여, 사용 중이 아닌 오디오 모듈(250)에 인접하게 배치된 발광부(230)의 광원 통해 상기 특정 주파수의 광을 출력하는 동작을 더 포함할 수 있다.According to various embodiments, the method of measuring gas using the audio module 250 determines whether the audio module 250 is in use based on detecting an input for measuring the at least one gas. The method may further include an operation of confirming, and an operation of outputting the light of the specific frequency through the light source of the light emitting unit 230 disposed adjacent to the audio module 250 that is not in use based on the confirmation.

다양한 실시예들에 따르면, 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작은, 상기 적어도 하나의 가스의 농도와 관련된 정보를 상기 터치스크린 디스플레이(예: 도 2의 터치스크린 디스플레이(240))에 표시하거나, 및/또는 상기 오디오 모듈(250)을 통해 출력하는 동작을 포함할 수 있다.According to various embodiments, the providing of the information related to the concentration of the at least one gas may include displaying the information related to the concentration of the at least one gas on the touch screen display (eg, the touch screen display 240 of FIG. 2 ). ) and/or outputting through the audio module 250 .

다양한 실시예들에 따르면, 상기 발광부(230)는, 상기 적어도 하나의 가스가 포집되는 공간의 중심 방향으로 발광될 수 있도록 상기 오디오 모듈(250)에 근접하게 배치될 수 있다.According to various embodiments, the light emitting unit 230 may be disposed adjacent to the audio module 250 to emit light toward a center of a space in which the at least one gas is collected.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

201: 전자 장치 210: 무선 통신 회로
220: 메모리 230: 발광부
240: 터치스크린 디스플레이 250: 오디오 모듈
260: 프로세서
201: electronic device 210: wireless communication circuit
220: memory 230: light emitting unit
240: touch screen display 250: audio module
260: processor

Claims (20)

전자 장치에 있어서,
오디오 모듈;
상기 오디오 모듈에 근접하게 배치되며, 광을 출력하기 위한 발광부;
메모리; 및
상기 오디오 모듈, 상기 발광부, 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하며,
상기 프로세서는,
적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 발광부에 포함된 광원을 통해 특정 주파수의 광을 출력하고,
상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 상기 오디오 모듈을 통해 검출하고,
상기 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 및
상기 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정된 전자 장치.
In an electronic device,
audio module;
a light emitting unit disposed adjacent to the audio module and configured to output light;
Memory; and
a processor operatively connected to the audio module, the light emitting unit, and the memory;
The processor is
Based on detecting an input for measuring at least one gas, outputting light of a specific frequency through a light source included in the light emitting unit,
Detecting a change in pressure generated by a gas component in response to the specific frequency through the audio module,
When an electrical signal is generated due to a change in the pressure, the electrical signal is converted into data, and
The electronic device is configured to check the magnitude at the specific frequency based on the data and provide information related to the concentration of the at least one gas corresponding to the magnitude at the specific frequency.
제 1 항에 있어서,
상기 오디오 모듈은 스피커 및/또는 마이크를 포함하는 전자 장치.
The method of claim 1,
The audio module is an electronic device including a speaker and/or a microphone.
제 2 항에 있어서,
상기 프로세서는 제1 프로세서 및 제2 프로세서를 포함하며,
상기 스피커를 이용하여 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출하는 경우, 상기 제1 프로세서는, 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 상기 데이터를 상기 제2 프로세서에 전달하도록 설정되고,
상기 제2 프로세서는, 상기 제1 프로세서로부터 수신한 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정된 전자 장치.
3. The method of claim 2,
The processor includes a first processor and a second processor,
When detecting a change in pressure generated by the gas component responding to the specific frequency using the speaker, the first processor generates an electrical signal due to a change in pressure generated by the gas component responding to the specific frequency is set to convert the electrical signal into data, and transmit the data to the second processor,
The second processor is configured to check the magnitude at the specific frequency based on the data received from the first processor, and to provide information related to the concentration of the at least one gas corresponding to the magnitude at the specific frequency electronic device.
제 1 항에 있어서,
상기 오디오 모듈은 스피커를 포함하며,
상기 프로세서는,
상기 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 스피커의 온도 및/또는 상기 스피커의 진동판 및 상기 스피커의 홀 사이의 형성된 적어도 하나의 가스가 포집되는 공간의 온도를 측정하도록 설정된 전자 장치.
The method of claim 1,
The audio module includes a speaker,
The processor is
based on detecting the input for measuring the at least one gas, configured to measure the temperature of the speaker and/or the temperature of the space in which the at least one gas formed between the diaphragm of the speaker and the hole of the speaker is collected electronic device.
제 4 항에 있어서,
상기 프로세서는,
상기 측정된 스피커의 온도 및/또는 상기 적어도 하나의 가스가 포집되는 공간의 온도에 기반하여 상기 적어도 하나의 가스의 농도를 보정하고, 상기 보정된 적어도 하나의 가스의 농도와 관련된 정보를 제공하도록 설정된 전자 장치.
5. The method of claim 4,
The processor is
Set to correct the concentration of the at least one gas based on the measured temperature of the speaker and/or the temperature of the space in which the at least one gas is collected, and provide information related to the corrected concentration of the at least one gas electronic device.
제 1 항에 있어서,
상기 발광부는 복수의 발광부들을 포함하며,
상기 복수개의 발광부들 각각에 포함된 광원은 동일한 주파수 가지거나, 또는 상이한 주파수를 가지도록 설정된 전자 장치.
The method of claim 1,
The light emitting unit includes a plurality of light emitting units,
The light sources included in each of the plurality of light emitting units have the same frequency or are set to have different frequencies.
제 1 항에 있어서,
상기 프로세서는,
상기 특정 주파수의 광을 출력하는 것에 기반하여 상기 적어도 하나의 가스에 상기 특정 주파수의 광이 흡수되어 열 발생되고, 상기 열 발생으로 적어도 하나의 가스의 부피가 팽창됨에 따라 압력이 발생하면, 상기 압력의 변화에 의한 상기 오디오 모듈의 진동판의 진동으로 상기 특정 주파수에서의 압력의 변화를 검출하도록 설정된 전자 장치.
The method of claim 1,
The processor is
When the light of the specific frequency is absorbed by the at least one gas to generate heat based on outputting the light of the specific frequency, and pressure is generated as the volume of the at least one gas expands due to the heat generation, the pressure An electronic device configured to detect a change in pressure at the specific frequency by vibration of the diaphragm of the audio module due to a change in .
제 1 항에 있어서,
상기 프로세서는,
적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈이 사용 중인지 여부를 확인하고, 및
상기 확인에 기반하여, 사용 중이 아닌 오디오 모듈에 인접하게 배치된 발광부의 광원을 통해 상기 특정 주파수의 광을 출력하도록 설정된 전자 장치.
The method of claim 1,
The processor is
determining whether the audio module is in use based on detecting an input for measuring at least one gas, and
An electronic device configured to output light of the specific frequency through a light source of a light emitting unit disposed adjacent to an audio module that is not in use, based on the confirmation.
제 1 항에 있어서,
터치스크린 디스플레이를 더 포함하며,
상기 프로세서는,
상기 적어도 하나의 가스의 농도와 관련된 정보를 상기 터치스크린 디스플레이에 표시하거나, 및/또는 상기 오디오 모듈을 통해 출력하도록 설정된 전자 장치.
The method of claim 1,
It further comprises a touch screen display,
The processor is
An electronic device configured to display information related to the concentration of the at least one gas on the touch screen display and/or output it through the audio module.
제 1 항에 있어서,
상기 발광부는,
상기 적어도 하나의 가스가 포집되는 공간의 중심 방향으로 발광될 수 있도록 상기 오디오 모듈에 근접하게 배치되는 전자 장치.
The method of claim 1,
The light emitting unit,
An electronic device disposed adjacent to the audio module so that the at least one gas is emitted toward a center of a space in which the at least one gas is collected.
전자 장치의 오디오 모듈을 이용하여 가스를 측정하는 방법에 있어서,
적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈에 근접하게 배치된 발광부에 포함된 광원을 통해 특정 주파수의 광을 출력하는 동작;
상기 특정 주파수에서 반응하는 가스 성분에 의해 발생하는 압력의 변화를 오디오 모듈을 통해 검출하는 동작;
상기 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하는 동작; 및
상기 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함하는 방법.
A method for measuring gas using an audio module of an electronic device, the method comprising:
outputting light of a specific frequency through a light source included in a light emitting unit disposed close to the audio module based on detecting an input for measuring at least one gas;
detecting a change in pressure generated by a gas component reacting at the specific frequency through an audio module;
converting the electrical signal into data when an electrical signal is generated due to a change in the pressure; and
and confirming the magnitude at the specific frequency based on the data, and providing information related to the concentration of the at least one gas corresponding to the magnitude at the specific frequency.
제 11 항에 있어서,
상기 오디오 모듈은 스피커 및/또는 마이크를 포함하는 방법.
12. The method of claim 11,
The audio module comprises a speaker and/or a microphone.
제 12 항에 있어서,
상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출하는 동작 및 상기 전기적 신호를 데이터로 변환하는 동작은,
제1 프로세서에 의해, 상기 스피커를 이용하여 상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 검출하고, 상기 특정 주파수에서의 압력의 변화로 인해 전기적 신호가 발생하면, 상기 전기적 신호를 데이터로 변환하고, 상기 데이터를 제2 프로세서에 전달하는 동작을 포함하며,
상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작은,
상기 제2 프로세서에 의해, 상기 제1 프로세서로부터 수신한 데이터에 기반하여 상기 특정 주파수에서의 크기를 확인하고, 상기 특정 주파수에서의 크기에 대응하는 상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함하는 방법.
13. The method of claim 12,
The operation of detecting a change in pressure generated by the gas component in response to the specific frequency and the operation of converting the electrical signal into data,
By the first processor, a change in pressure generated by a gas component responding to the specific frequency is detected using the speaker, and when an electrical signal is generated due to the change in pressure at the specific frequency, the electrical signal is generated converting it into data and passing the data to a second processor;
The operation of providing information related to the concentration of the at least one gas comprises:
By the second processor, based on the data received from the first processor, the size at the specific frequency is confirmed, and information related to the concentration of the at least one gas corresponding to the size at the specific frequency is provided. How to include an action.
제 11 항에 있어서,
상기 오디오 모듈은 스피커를 포함하며, 상기 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 스피커의 온도 및/또는 상기 스피커의 진동판 및 상기 스피커의 홀 사이의 형성된 적어도 하나의 가스가 포집되는 공간의 온도를 측정하는 동작을 더 포함하는 방법.
12. The method of claim 11,
The audio module includes a speaker, and based on detecting an input for measuring the at least one gas, the temperature of the speaker and/or the at least one gas formed between the diaphragm of the speaker and the hole of the speaker The method further comprising the operation of measuring a temperature of the captured space.
제 14 항에 있어서,
상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작은,
상기 측정된 스피커의 온도 및/또는 상기 적어도 하나의 가스가 포집되는 공간의 온도에 기반하여 상기 적어도 하나의 가스의 농도를 보정하는 동작; 및
상기 보정된 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작을 포함하는 방법.
15. The method of claim 14,
The operation of providing information related to the concentration of the at least one gas comprises:
correcting the concentration of the at least one gas based on the measured temperature of the speaker and/or the temperature of a space in which the at least one gas is collected; and
and providing information related to the corrected concentration of the at least one gas.
제 11 항에 있어서,
상기 발광부는 복수의 발광부들을 포함하며,
상기 복수개의 발광부들 각각에 포함된 광원은 동일한 주파수 가지거나, 또는 상이한 주파수를 가지도록 설정된 방법.
12. The method of claim 11,
The light emitting unit includes a plurality of light emitting units,
The light sources included in each of the plurality of light emitting units have the same frequency or are set to have different frequencies.
제 11 항에 있어서,
상기 특정 주파수에 반응하는 가스 성분에 의해 발생하는 압력의 변화를 상기 오디오 모듈을 통해 검출하는 동작은,
상기 특정 주파수의 광을 출력하는 것에 기반하여 상기 특정 주파수의 광이 상기 적어도 하나의 가스에 흡수됨에 따라 열이 발생되고, 상기 열 발생으로 적어도 하나의 가스의 부피가 팽창됨에 따라 압력이 발생하면, 상기 압력의 변화에 의한 상기 오디오 모듈의 진동판의 진동으로 상기 특정 주파수에서의 압력의 변화를 검출하는 동작을 포함하는 방법.
12. The method of claim 11,
The operation of detecting a change in pressure generated by a gas component responding to the specific frequency through the audio module includes:
Based on outputting the light of the specific frequency, heat is generated as the light of the specific frequency is absorbed by the at least one gas, and pressure is generated as the volume of the at least one gas is expanded due to the heat generation, and detecting a change in pressure at the specific frequency by vibration of the diaphragm of the audio module due to the change in pressure.
제 11 항에 있어서,
상기 적어도 하나의 가스를 측정하기 위한 입력을 검출하는 것에 기반하여, 상기 오디오 모듈이 사용 중인지 여부를 확인하는 동작; 및
상기 확인에 기반하여, 사용 중이 아닌 오디오 모듈에 인접하게 배치된 발광부의 광원 통해 상기 특정 주파수의 광을 출력하는 동작을 더 포함하는 방법.
12. The method of claim 11,
determining whether the audio module is in use based on detecting the input for measuring the at least one gas; and
The method further comprising outputting the light of the specific frequency through a light source of a light emitting unit disposed adjacent to an audio module that is not in use, based on the confirmation.
제 11 항에 있어서,
상기 적어도 하나의 가스의 농도와 관련된 정보를 제공하는 동작은,
상기 적어도 하나의 가스의 농도와 관련된 정보를 상기 터치스크린 디스플레이에 표시하거나, 및/또는 상기 오디오 모듈을 통해 출력하는 동작을 포함하는 방법.
12. The method of claim 11,
The operation of providing information related to the concentration of the at least one gas comprises:
and displaying information related to the concentration of the at least one gas on the touch screen display and/or outputting the information through the audio module.
제 11 항에 있어서,
상기 발광부는, 상기 적어도 하나의 가스가 포집되는 공간의 중심 방향으로 발광될 수 있도록 상기 오디오 모듈에 근접하게 배치되는 방법.
12. The method of claim 11,
The light emitting unit is disposed adjacent to the audio module so that the at least one gas can be emitted toward a center of a space in which the at least one gas is collected.
KR1020200091384A 2020-07-23 2020-07-23 Electronic device and method for measuring gas using audio module KR20220012517A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200091384A KR20220012517A (en) 2020-07-23 2020-07-23 Electronic device and method for measuring gas using audio module
PCT/KR2021/007858 WO2022019494A1 (en) 2020-07-23 2021-06-23 Electronic device and method for measuring gas using audio module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200091384A KR20220012517A (en) 2020-07-23 2020-07-23 Electronic device and method for measuring gas using audio module

Publications (1)

Publication Number Publication Date
KR20220012517A true KR20220012517A (en) 2022-02-04

Family

ID=79729250

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200091384A KR20220012517A (en) 2020-07-23 2020-07-23 Electronic device and method for measuring gas using audio module

Country Status (2)

Country Link
KR (1) KR20220012517A (en)
WO (1) WO2022019494A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5933245A (en) * 1996-12-31 1999-08-03 Honeywell Inc. Photoacoustic device and process for multi-gas sensing
JPH1164296A (en) * 1997-08-11 1999-03-05 Nikon Corp Method and apparatus for measuring light absorption
US6858182B1 (en) * 1999-04-23 2005-02-22 Tanita Corporation Exhalation gaseous component gauge and a cellular phone equipped with function of measuring gaseous components
KR20080085390A (en) * 2007-03-19 2008-09-24 주식회사 싸이언 Measuring appratus for leaking gas and vacuum leak using sf6 gas
US8695402B2 (en) * 2010-06-03 2014-04-15 Honeywell International Inc. Integrated IR source and acoustic detector for photoacoustic gas sensor

Also Published As

Publication number Publication date
WO2022019494A1 (en) 2022-01-27

Similar Documents

Publication Publication Date Title
KR20200072056A (en) Electronic device including acoustic module
KR20220034571A (en) Electronic device for identifying a command included in voice and method of opearating the same
US20230269319A1 (en) Electronic apparatus including microphone module
KR20220012517A (en) Electronic device and method for measuring gas using audio module
CN117795452A (en) Electronic device comprising a plurality of acoustic ducts
KR20220153359A (en) Wearable device including at least one electrode for measuring biometric information
KR20220103548A (en) Electronic device for processing voice data and operating methiod thereof
KR20220078451A (en) Electronic device including flexible display
KR20220011019A (en) Electronic device including acoustic dimple
KR20220018854A (en) Electronic device detecting wearing state of electronic device using inertial sensor and method for controlling thereof
KR102317172B1 (en) Electronic device including flexible display and method of operation therof
US20240121539A1 (en) Electronic device including speaker
EP4345573A1 (en) Electronic device including speaker
KR20220132858A (en) Housing in which ventilation member is disposed and electronic device comprising the same
KR20240030870A (en) Electronic device for shooting video, operating method thereof, and storage medium
KR20230075956A (en) Electronic device and method for recommending user action based on location
KR20230159193A (en) Electronic device comprising a temperature sensor
KR20220003908A (en) Method and electronic device for detecting surrounding audio signal
KR20220034530A (en) Electronic device for outputing sound and method of operating the same
KR20220141584A (en) Wearable electronic apparatus
KR20230055330A (en) The method to provide guide for proper wearing of a wearable device
KR20230112014A (en) Electronic device for managing tinnitus and operation method thereof
KR20220145150A (en) Electronic device and operating method thereof
KR20220093964A (en) electronic device and sensor data calibration method of electronic device
KR20220055397A (en) Electronic device including a plurality of camera