KR20230017666A - Electronic device and controlling method of electronic device - Google Patents

Electronic device and controlling method of electronic device Download PDF

Info

Publication number
KR20230017666A
KR20230017666A KR1020210099459A KR20210099459A KR20230017666A KR 20230017666 A KR20230017666 A KR 20230017666A KR 1020210099459 A KR1020210099459 A KR 1020210099459A KR 20210099459 A KR20210099459 A KR 20210099459A KR 20230017666 A KR20230017666 A KR 20230017666A
Authority
KR
South Korea
Prior art keywords
frequency band
electronic device
energy
signal
frequency
Prior art date
Application number
KR1020210099459A
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 KR1020210099459A priority Critical patent/KR20230017666A/en
Publication of KR20230017666A publication Critical patent/KR20230017666A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/04Systems determining presence of a target
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/50Systems of measurement based on relative movement of target
    • G01S13/52Discriminating between fixed and moving objects or between objects moving at different speeds
    • G01S13/56Discriminating between fixed and moving objects or between objects moving at different speeds for presence detection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/35Details of non-pulse systems
    • G01S7/352Receivers
    • G01S7/354Extracting wanted echo-signals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/35Details of non-pulse systems
    • G01S7/352Receivers
    • G01S7/356Receivers involving particularities of FFT processing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/36Means for anti-jamming, e.g. ECCM, i.e. electronic counter-counter measures

Abstract

Disclosed is an electronic device. The electronic device of the present invention comprises a transmission unit, a reception unit, a speaker, and a processor which controls the transmission unit such that signals can be transmitted to the surroundings of the electronic device while audio is outputted through the speaker, performs fast Fourier transform (FFT) on a received signal to convert the received signal to a signal in the frequency band when the transmitted signal is reflected around the electronic device and received by the reception unit, identifies the energy of a first frequency band and the energy of a second frequency band in the signal of the frequency band, and identifies the presence or absence of an object around the electronic device, based on a difference and a threshold between the energy of the first frequency band and the energy of the second frequency band.

Description

전자 장치 및 전자 장치의 제어 방법 { ELECTRONIC DEVICE AND CONTROLLING METHOD OF ELECTRONIC DEVICE }Electronic device and control method of electronic device { ELECTRONIC DEVICE AND CONTROLLING METHOD OF ELECTRONIC DEVICE }

본 개시는 전자 장치 및 전자 장치의 제어 방법에 관한 것으로서, 구체적으로는, 전자 장치 주변 오브젝트의 존재 여부를 식별하는 전자 장치 및 전자 장치의 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method of the electronic device, and more particularly, to an electronic device and a method of controlling the electronic device for identifying whether an object around the electronic device exists.

최근에는 스마트 TV나 에어컨 등과 같은 다양한 전자 제품들이 센서를 통해 사용자의 움직임을 감지하여 다양한 기능들을 제공하는 경우가 증가하고 있다. 다만, 사용자를 감지하기 위해 카메라를 이용하는 경우, 전자 제품에서 카메라의 렌즈가 도출되어 심미성이 떨어질 수 있고, 또한 카메라를 통한 촬영에 의해 개인 정보의 노출이 우려된다는 문제점이 존재한다.Recently, various electronic products, such as smart TVs and air conditioners, provide various functions by detecting a user's motion through a sensor. However, in the case of using a camera to detect a user, there are problems in that aesthetics may be degraded because the lens of the camera is drawn from the electronic product, and that exposure of personal information is concerned by photographing through the camera.

이에 따라, RF 레이더 센서와 같이 비감지형 센서를 활용하여 사용자를 감지하는 방법이 활용되고 있다. 다만, 스피커를 포함하는 TV 등과 같은 전자 제품의 경우, 스피커에서 오디오를 출력할 때, 발생되는 진동이 RF 레이더 센서의 신호에 영향을 줄 수 있다.Accordingly, a method of detecting a user using a non-detecting sensor such as an RF radar sensor is being used. However, in the case of an electronic product such as a TV including a speaker, vibration generated when audio is output from the speaker may affect the signal of the RF radar sensor.

따라서, 전자 제품이 비감지형 센서를 활용하여 사용자를 감지하는 경우, 전자 제품의 진동에 의해 발생하는 사용자 감지의 오인식을 방지하는 것이 중요한 문제이다.Therefore, when an electronic product detects a user using a non-sensing sensor, it is important to prevent misrecognition of user detection caused by vibration of the electronic product.

본 개시는 상술한 필요성에 따라 안출된 것으로, 스피커에서 출력되는 오디오로 인한 전자 장치의 움직임이 존재하는 상황에서, 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 전자 장치 및 그의 제어 방법을 제공함에 있다.The present disclosure has been made in accordance with the above-described need, and is to provide an electronic device and a control method thereof for identifying the presence or absence of an object around the electronic device in a situation where there is motion of the electronic device due to audio output from a speaker. .

상술한 바와 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따른 전자 장치는 전자 장치에 있어서, 송신부, 수신부, 스피커 및 상기 스피커를 통해 오디오가 출력되는 동안 상기 전자 장치 주변으로 신호를 송신하도록 상기 송신부를 제어하고, 상기 송신된 신호가 상기 전자 장치 주변에서 반사되어 상기 수신부를 통해 수신되면, 상기 수신된 신호에 대해 FFT(fast fourier transform)를 수행하여 상기 수신된 신호를 주파수 대역의 신호로 변환하고, 상기 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별하고, 상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 프로세서를 포함한다.An electronic device according to an embodiment of the present disclosure for achieving the above object is an electronic device configured to transmit a signal to surroundings of the electronic device while audio is output through a transmitter, a receiver, a speaker, and the speaker. Controls the transmitter, and when the transmitted signal is reflected around the electronic device and received through the receiver, the received signal is converted into a signal of a frequency band by performing a fast fourier transform (FFT) on the received signal. and identifying energy of a first frequency band and energy of a second frequency band in the signal of the frequency band, and based on a difference between the energy of the first frequency band and the energy of the second frequency band and a threshold value, the electronic and a processor for identifying the presence or absence of an object around the device.

또한, 상기 프로세서는 상기 제1 주파수 대역의 에너지에서 상기 제2 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 크거나, 상기 제2 주파수 대역의 에너지에서 상기 제1 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 큰 경우, 상기 오브젝트가 존재하는 것으로 식별할 수 있다.The processor may determine whether a value obtained by subtracting the energy of the second frequency band from the energy of the first frequency band is greater than the threshold value, or a value obtained by subtracting the energy of the first frequency band from the energy of the second frequency band. If it is greater than the threshold value, it may be identified that the object exists.

이 경우, 상기 제1 주파수 대역은, 상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 음의 주파수 대역을 포함하고, 상기 제2 주파수 대역은, 상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 양의 주파수 대역을 포함할 수 있다.In this case, the first frequency band includes a negative frequency band among the frequency bands based on the center frequency of the FFT, and the second frequency band includes the frequency band based on the center frequency of the FFT. A positive frequency band may be included.

한편, 상기 프로세서는, 상기 주파수 대역 중 주파수의 크기가 작은 주파수일수록 상대적으로 큰 가중치를 인가하여 주파수 대역의 에너지를 산출할 수 있다.Meanwhile, the processor may calculate the energy of the frequency band by applying a relatively large weight to a frequency having a smaller frequency among the frequency bands.

또한, 상기 프로세서는, 상기 스피커에 대한 복수의 볼륨 레벨에 대응되는 복수의 임계 값 중 상기 스피커의 볼륨 레벨에 대응되는 임계 값을 식별하고, 상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 상기 식별된 임계 값에 기초하여 상기 전자 장치 주변에 사용자가 존재하는지 식별할 수 있다.In addition, the processor identifies a threshold value corresponding to the volume level of the speaker among a plurality of threshold values corresponding to a plurality of volume levels of the speaker, and determines the energy of the first frequency band and the energy of the second frequency band. Based on the difference between the energies and the identified threshold value, it may be identified whether a user exists around the electronic device.

이 경우, 상기 복수의 임계 값은, 볼륨 레벨이 클수록 높은 값으로 기설정되고 볼륨 레벨이 작을수록 작은 값으로 기설정될 수 있다.In this case, the plurality of threshold values may be preset to a higher value as the volume level increases, and may be preset to a lower value as the volume level decreases.

한편, 상술한 바와 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따른 전자 장치는 전자 장치에 있어서, 송신부, 수신부, 스피커 및 상기 스피커를 통해 오디오가 출력되는 동안 상기 전자 장치 주변으로 신호를 송신하도록 상기 송신부를 제어하고, 상기 송신된 신호가 상기 전자 장치 주변에서 반사되어 상기 수신부를 통해 수신되면, 상기 수신된 신호에 대해 FFT(fast fourier transform)를 수행하여 상기 수신된 신호를 주파수 대역의 신호로 변환하고, 상기 주파수 대역의 신호에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 프로세서를 포함하며, 상기 프로세서는, 상기 스피커의 볼륨 레벨이 기설정된 레벨 이상인 경우, 상기 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별하고, 상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하고, 상기 스피커의 볼륨 레벨이 기설정된 레벨 미만인 경우, 상기 주파수 대역의 전체 에너지에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별한다.Meanwhile, an electronic device according to an embodiment of the present disclosure for achieving the above object transmits a signal to the vicinity of the electronic device while audio is output through a transmitter, a receiver, a speaker, and the speaker. When the transmitted signal is reflected around the electronic device and received through the receiver, FFT (fast fourier transform) is performed on the received signal to transform the received signal into a frequency band signal. and a processor for identifying the presence or absence of an object around the electronic device based on the signal of the frequency band, the processor configured to: identifies the energy of the first frequency band and the energy of the second frequency band, and whether there is an object around the electronic device based on the difference between the energy of the first frequency band and the energy of the second frequency band and a threshold value is identified, and if the volume level of the speaker is less than a preset level, whether an object around the electronic device exists is identified based on the total energy of the frequency band.

한편, 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법은 스피커를 통해 오디오가 출력되는 동안 상기 전자 장치 주변으로 신호를 송신하는 단계, 상기 송신된 신호가 상기 전자 장치 주변에서 반사되어 상기 전자 장치에 수신되면, 상기 수신된 신호에 대해 FFT(fast fourier transform)를 수행하여 상기 수신된 신호를 주파수 대역의 신호로 변환하는 단계, 상기 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별하는 단계 및 상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 단계를 포함한다.Meanwhile, a control method of an electronic device according to an embodiment of the present disclosure includes transmitting a signal to a surrounding area of the electronic device while audio is output through a speaker, and reflecting the transmitted signal around the electronic device to the electronic device. When received, converting the received signal into a signal of a frequency band by performing fast fourier transform (FFT) on the received signal, energy of a first frequency band and energy of a second frequency band in the signal of the frequency band and identifying whether an object around the electronic device exists based on a difference between the energy of the first frequency band and the energy of the second frequency band and a threshold value.

또한, 상기 오브젝트의 존재 여부를 식별하는 단계는, 상기 제1 주파수 대역의 에너지에서 상기 제2 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 크거나, 상기 제2 주파수 대역의 에너지에서 상기 제1 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 큰 경우, 상기 오브젝트가 존재하는 것으로 식별할 수 있다.In addition, the step of identifying whether the object exists may include a value obtained by subtracting the energy of the second frequency band from the energy of the first frequency band is greater than the threshold value, or the first frequency band from the energy of the second frequency band. When the value obtained by subtracting the energy of the frequency band is greater than the threshold value, it may be identified that the object exists.

이 경우, 상기 제1 주파수 대역은, 상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 음의 주파수 대역을 포함하고, 상기 제2 주파수 대역은, 상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 양의 주파수 대역을 포함할 수 있다.In this case, the first frequency band includes a negative frequency band among the frequency bands based on the center frequency of the FFT, and the second frequency band includes the frequency band based on the center frequency of the FFT. A positive frequency band may be included.

한편, 상기 제1 및 제2 주파수 대역의 에너지를 식별하는 단계는, 상기 주파수 대역 중 주파수의 크기가 작은 주파수일수록 상대적으로 큰 가중치를 인가하여 주파수 대역의 에너지를 산출할 수 있다.Meanwhile, in the step of identifying the energy of the first and second frequency bands, the energy of the frequency band may be calculated by applying a relatively large weight to a frequency having a smaller frequency level among the frequency bands.

또한, 상기 스피커에 대한 복수의 볼륨 레벨에 대응되는 복수의 임계 값 중 상기 스피커의 볼륨 레벨에 대응되는 임계 값을 식별하는 단계를 포함하고, 상기 오브젝트의 존재 여부를 식별하는 단계는, 상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 상기 식별된 임계 값에 기초하여 상기 전자 장치 주변에 사용자가 존재하는지 식별할 수 있다.The method may further include identifying a threshold value corresponding to a volume level of the speaker among a plurality of threshold values corresponding to a plurality of volume levels of the speaker, and identifying whether the object exists may include the first step. Based on the difference between the energy of the frequency band and the energy of the second frequency band and the identified threshold value, it is possible to identify whether a user exists around the electronic device.

여기에서, 상기 복수의 임계 값은, 볼륨 레벨이 클수록 높은 값으로 기설정되고, 볼륨 레벨이 작을수록 작은 값으로 기설정될 수 있다.Here, the plurality of threshold values may be preset to a higher value as the volume level increases, and may be preset to a lower value as the volume level decreases.

본 개시의 다양한 실시 예에 따르면, 전자 장치의 스피커에서 오디오가 출력되어 전자 장치에서 움직임이 발생하는 경우에도, 전자 장치의 움직임에 의해 발생된 신호 성분을 제거함으로써, 오브젝트의 감지에 대한 오인식률을 감소시킬 수 있다.According to various embodiments of the present disclosure, even when audio is output from a speaker of the electronic device and motion occurs in the electronic device, the false recognition rate for object detection is reduced by removing signal components generated by the motion of the electronic device. can reduce

도 1은 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 도면,
도 2a 내지 도 2c는 본 개시의 일 실시 예에 따른 전자 장치 주변에 오브젝트가 존재하는지 여부에 따른 주파수 대역의 신호를 나타내는 도면들,
도 3은 본 개시의 일 실시 예에 따른 전자 장치의 구성을 설명하기 위한 블록도,
도 4는 본 개시의 일 실시 예에 따라 전자 장치 주변의 오브젝트 존재 여부를 식별하는 방법을 설명하기 위한 흐름도,
도 5, 도 6a 및 도 6b는 본 개시의 일 실시 예에 따라 오브젝트의 존재 여부를 판단하는 방법을 설명하기 위한 도면들,
도 7은 본 개시의 일 실시 예에 따른 스피커의 볼륨 레벨에 대응되는 임계 값의 일 예를 설명하기 위한 도면,
도 8은 본 개시의 일 실시 예에 따라 전자 장치가 오브젝트의 존재 여부를 식별하는 방법을 설명하기 위한 흐름도,
도 9는 본 개시의 일 실시 예에 따른 전자 장치의 세부 구성을 설명하기 위한 블록도, 그리고
도 10은 본 개시의 일 실시 예에 따른 스피커를 포함하는 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.
1 is a diagram for explaining an electronic device according to an embodiment of the present disclosure;
2A to 2C are diagrams illustrating signals of frequency bands depending on whether an object exists around an electronic device according to an embodiment of the present disclosure;
3 is a block diagram for explaining the configuration of an electronic device according to an embodiment of the present disclosure;
4 is a flowchart for explaining a method of identifying whether an object exists around an electronic device according to an embodiment of the present disclosure;
5, 6a and 6b are diagrams for explaining a method of determining whether an object exists according to an embodiment of the present disclosure;
7 is a diagram for explaining an example of a threshold value corresponding to a volume level of a speaker according to an embodiment of the present disclosure;
8 is a flowchart for explaining a method for identifying whether an object exists or not by an electronic device according to an embodiment of the present disclosure;
9 is a block diagram for explaining a detailed configuration of an electronic device according to an embodiment of the present disclosure, and
10 is a flowchart illustrating a control method of an electronic device including a speaker according to an embodiment of the present disclosure.

본 실시 예들은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 특정한 실시 형태에 대해 범위를 한정하려는 것이 아니며, 본 개시의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Since the present embodiments can apply various transformations and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope to the specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of the present disclosure. In connection with the description of the drawings, like reference numerals may be used for like elements.

본 개시를 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략한다. In describing the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the gist of the present disclosure, a detailed description thereof will be omitted.

덧붙여, 하기 실시 예는 여러 가지 다른 형태로 변형될 수 있으며, 본 개시의 기술적 사상의 범위가 하기 실시 예에 한정되는 것은 아니다. 오히려, 이들 실시 예는 본 개시를 더욱 충실하고 완전하게 하고, 당업자에게 본 개시의 기술적 사상을 완전하게 전달하기 위하여 제공되는 것이다.In addition, the following embodiments may be modified in many different forms, and the scope of the technical idea of the present disclosure is not limited to the following embodiments. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the spirit of the disclosure to those skilled in the art.

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

본 개시에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다. In the present disclosure, expressions such as “has,” “can have,” “includes,” or “can include” indicate the presence of a corresponding feature (eg, numerical value, function, operation, or component such as a part). , which does not preclude the existence of additional features.

본 개시에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상"등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this disclosure, expressions such as “A or B,” “at least one of A and/and B,” or “one or more of A or/and B” may include all possible combinations of the items listed together. . For example, “A or B,” “at least one of A and B,” or “at least one of A or B” (1) includes at least one A, (2) includes at least one B, Or (3) may refer to all cases including at least one A and at least one B.

본 개시에서 사용된 "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. Expressions such as "first," "second," "first," or "second," used in the present disclosure may modify various elements regardless of order and/or importance, and may refer to one element as It is used only to distinguish it from other components and does not limit the corresponding components.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. A component (e.g., a first component) is "(operatively or communicatively) coupled with/to" another component (e.g., a second component); When referred to as "connected to", it should be understood that the certain component may be directly connected to the other component or connected through another component (eg, a third component).

반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.On the other hand, when an element (eg, a first element) is referred to as being “directly connected” or “directly connected” to another element (eg, a second element), the element and the above It may be understood that other components (eg, a third component) do not exist between the other components.

본 개시에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 설정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)" 것만을 반드시 의미하지 않을 수 있다. The expression “configured to (or configured to)” as used in this disclosure means, depending on the situation, for example, “suitable for,” “having the capacity to.” ," "designed to," "adapted to," "made to," or "capable of." The term "configured (or set) to" may not necessarily mean only "specifically designed to" hardware.

대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.Instead, in some contexts, the phrase "device configured to" may mean that the device is "capable of" in conjunction with other devices or components. For example, the phrase "a processor configured (or configured) to perform A, B, and C" may include a dedicated processor (eg, embedded processor) to perform the operation, or by executing one or more software programs stored in a memory device. , may mean a general-purpose processor (eg, CPU or application processor) capable of performing corresponding operations.

실시 예에 있어서 '모듈' 혹은 '부'는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 복수의 '모듈' 혹은 복수의 '부'는 특정한 하드웨어로 구현될 필요가 있는 '모듈' 혹은 '부'를 제외하고는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서로 구현될 수 있다.In an embodiment, a 'module' or 'unit' performs at least one function or operation, and may be implemented with hardware or software, or a combination of hardware and software. In addition, a plurality of 'modules' or a plurality of 'units' may be integrated into at least one module and implemented by at least one processor, except for 'modules' or 'units' that need to be implemented with specific hardware.

한편, 도면에서의 다양한 요소와 영역은 개략적으로 그려진 것이다. 따라서, 본 발명의 기술적 사상은 첨부한 도면에 그려진 상대적인 크기나 간격에 의해 제한되지 않는다. Meanwhile, various elements and regions in the drawings are schematically drawn. Therefore, the technical spirit of the present invention is not limited by the relative size or spacing drawn in the accompanying drawings.

이하에서는 첨부한 도면을 참고하여 본 개시에 따른 실시 예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.Hereinafter, with reference to the accompanying drawings, an embodiment according to the present disclosure will be described in detail so that those skilled in the art can easily implement it.

도 1은 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 도면이다.1 is a diagram for explaining an electronic device according to an embodiment of the present disclosure.

전자 장치(100)는 전자 장치(100) 주변의 오브젝트 존재 여부를 식별할 수 있다. 이 경우, 전자 장치(100)는 TV, 에어컨, 냉장고 등과 같은 다양한 형태의 기기로 구현될 수 있다. 그리고, 오브젝트는 사람, 동물 등을 포함할 수 있다.The electronic device 100 may identify whether objects around the electronic device 100 exist. In this case, the electronic device 100 may be implemented as various types of devices such as TVs, air conditioners, and refrigerators. Also, the objects may include people, animals, and the like.

구체적으로, 전자 장치(100)는 전자 장치(100) 주변에 움직이는 오브젝트가 존재하는지를 식별할 수 있다. Specifically, the electronic device 100 may identify whether a moving object exists around the electronic device 100 .

이를 위해, 전자 장치(100)는 전자 장치(100) 주변으로 신호를 송신할 수 있다. 그리고, 전자 장치(100)는 송신된 신호가 전자 장치(100) 주변에서 반사되어 생성된 신호를 수신할 수 있다.To this end, the electronic device 100 may transmit a signal around the electronic device 100 . And, the electronic device 100 may receive a signal generated by reflecting the transmitted signal around the electronic device 100 .

한편, 전자 장치(100)는 반사된 신호(20)가 수신되면, 수신된 신호(20)에 대해 FFT(fast fourier transform)를 수행하여, 수신된 신호(20)를 주파수 대역의 신호로 변환할 수 있다. 이 경우, 전자 장치(100)는 수신된 신호(20)에 대해 쿼드 복조(Quadrature Demodulation)를 수행하여, 수신된 신호(20)의 I 신호(In-phase signal) 및 Q 신호(Quadrature-phase signal)를 얻을 수 있다. 그리고, 전자 장치(100)는 I 신호 및 Q 신호를 합한 신호에 대해 FFT를 수행하여, 수신된 신호(20)를 주파수 대역의 신호로 변환할 수 있다.Meanwhile, when the reflected signal 20 is received, the electronic device 100 performs a fast fourier transform (FFT) on the received signal 20 to convert the received signal 20 into a signal of a frequency band. can In this case, the electronic device 100 performs quadrature demodulation on the received signal 20 to generate an I signal (in-phase signal) and a Q signal (quadrature-phase signal) of the received signal 20. ) can be obtained. In addition, the electronic device 100 may convert the received signal 20 into a signal of a frequency band by performing FFT on a signal obtained by adding the I signal and the Q signal.

그리고, 전자 장치(100)는 주파수 대역으로 변환된 신호에 기초하여 전자 장치(100)의 주변에 오브젝트가 존재하는지 여부를 식별할 수 있다. Also, the electronic device 100 may identify whether an object exists around the electronic device 100 based on the signal converted into a frequency band.

구체적으로, 신호가 움직이는 오브젝트에 의해 반사되는 경우, 반사된 신호는 도플러 효과(Doppler effect)에 따라 주파수 편이 현상이 발생할 수 있다. 여기에서, 도플러 효과란 정지된 물체에 대한 반사 신호의 위상이 일정하지만, 움직이는 물체에 대해서는 반사 신호의 위상이 변화하는 물리적 현상이다.Specifically, when a signal is reflected by a moving object, a frequency shift may occur in the reflected signal according to the Doppler effect. Here, the Doppler effect is a physical phenomenon in which a phase of a reflected signal for a stationary object is constant, but a phase of a reflected signal for a moving object changes.

따라서, 전자 장치(100) 주변에 움직이는 오브젝트가 존재하지 않는 경우, 수신된 신호(20)에는 도플러 효과에 의해 주파수 편이 현상이 발생하지 않을 수 있다. 이에 따라, 예를 들어, 도 2a와 같이, 전자 장치(100) 주변에 움직이는 오브젝트가 존재하지 않는 경우, 주파수 대역의 신호(210)에서는 편이된 주파수 신호 성분들이 존재하지 않는다.Therefore, when there is no moving object around the electronic device 100, the frequency shift may not occur in the received signal 20 due to the Doppler effect. Accordingly, for example, as shown in FIG. 2A , when no object moving around the electronic device 100 exists, shifted frequency signal components do not exist in the signal 210 of the frequency band.

반면, 전자 장치(100) 주변에 움직이는 오브젝트가 존재하는 경우, 수신된 신호(20)에는 도플러 효과에 의해 주파수 편이 현상이 발생할 수 있다. 이에 따라, 주파수 대역의 신호에는 편이된 주파수 신호 성분이 존재할 수 있다.On the other hand, when a moving object exists around the electronic device 100, a frequency shift may occur in the received signal 20 due to the Doppler effect. Accordingly, a shifted frequency signal component may exist in a signal of a frequency band.

이 경우, 예를 들어, 도 2b와 같이, 전자 장치(100)에 접근하는 오브젝트가 존재하는 경우, 주파수 대역의 신호에는 양의 주파수 신호 성분들(220)이 존재할 수 있다. 또한, 예를 들어, 도 2c와 같이, 전자 장치(100)로부터 멀어지는 오브젝트가 존재하는 경우, 주파수 대역의 신호에서는 음의 주파수 신호 성분들(230)이 존재하게 된다.In this case, for example, when an object approaching the electronic device 100 exists, as shown in FIG. 2B , positive frequency signal components 220 may exist in the signal of the frequency band. Also, for example, as shown in FIG. 2C , when an object moving away from the electronic device 100 exists, negative frequency signal components 230 exist in a signal of a frequency band.

이에 따라, 주파수 대역에 편이된 주파수 신호 성분이 존재하는지에 따라 움직이는 오브젝트가 존재하는지 여부가 식별될 수 있다.Accordingly, whether or not a moving object exists may be identified according to whether a frequency signal component shifted in a frequency band exists.

한편, 전자 장치(100)는 스피커(130)를 포함한다. 이때, 스피커(130)를 통해 오디오가 출력되는 경우, 스피커(130)의 진동이 발생되고, 스피커(130)의 진동에 의해 전자 장치(100)가 진동할 수 있다.Meanwhile, the electronic device 100 includes a speaker 130 . In this case, when audio is output through the speaker 130, the speaker 130 vibrates, and the electronic device 100 may vibrate due to the vibration of the speaker 130.

이 경우, 전자 장치(100) 주변에 움직이는 오브젝트가 존재하지 않아도, 전자 장치(100) 자체의 진동으로 인해, 전자 장치(100)에서 수신된 신호(20)에는 편이된 주파수 신호 성분이 존재할 수 있다.In this case, even if there is no moving object around the electronic device 100, a shifted frequency signal component may exist in the signal 20 received by the electronic device 100 due to the vibration of the electronic device 100 itself. .

따라서, 스피커(130)의 진동에 따른 전자 장치(100)의 진동을 고려하지 않는 경우, 실제로 전자 장치(100) 주변에 움직이는 오브젝트가 존재하지 않는 경우에도, 편이된 주파수 신호 성분에 의해 움직이는 오브젝트가 존재하는 것으로 오인식될 수 있다. Therefore, when the vibration of the electronic device 100 according to the vibration of the speaker 130 is not considered, even when there is no moving object around the electronic device 100, an object moving by the shifted frequency signal component may be misrecognized as existing.

이에 따라, 본 개시의 일 실시 예에 따른 전자 장치(100)는 주파수 대역의 신호에서 전자 장치(100)의 진동에 의해 발생된 편이된 주파수 신호 성분을 제거한 후, 주파수 대역의 신호를 바탕으로 전자 장치(100) 주변의 움직이는 오브젝트의 존재 여부를 식별하게 된다. 이에 따라, 본 개시의 일 실시 예에 따르면, 오브젝트의 존재에 대한 오인식을 방지할 수 있게 된다. Accordingly, the electronic device 100 according to an embodiment of the present disclosure removes the shifted frequency signal component generated by the vibration of the electronic device 100 from the signal in the frequency band, and then uses the electronic device 100 based on the signal in the frequency band. The presence or absence of a moving object around the device 100 is identified. Accordingly, according to an embodiment of the present disclosure, it is possible to prevent misrecognition of the existence of an object.

도 3은 본 개시의 일 실시 예에 따른 전자 장치의 구성을 설명하기 위한 블록도이다.3 is a block diagram for explaining the configuration of an electronic device according to an embodiment of the present disclosure.

도 3을 참조하면, 전자 장치(100)는 송신부(110), 수신부(120) 및 스피커(130)를 포함한다.Referring to FIG. 3 , the electronic device 100 includes a transmitter 110 , a receiver 120 and a speaker 130 .

송신부(110)는 신호를 송신할 수 있다. 이를 위해, 송신부(110)는 안테나를 포함하며, 전자 장치(100) 주변으로 신호를 송신할 수 있다. 여기에서, 신호는 RF(Radio Frequency) 신호일 수 있다. RF 신호는 특정 주파수를 가지는 CW(Continuous Wave) 신호를 포함할 수 있다. 이를 위해, 송신부(110)는 회로를 이용하여 RF 신호를 발생하기 위한 RF 신호 발생기(미도시)를 포함할 수 있다.The transmitter 110 may transmit a signal. To this end, the transmitter 110 may include an antenna and transmit signals to the vicinity of the electronic device 100 . Here, the signal may be a Radio Frequency (RF) signal. The RF signal may include a Continuous Wave (CW) signal having a specific frequency. To this end, the transmitter 110 may include an RF signal generator (not shown) for generating an RF signal using a circuit.

수신부(120)는 신호를 수신할 수 있다. 이를 위해, 수신부(120)는 안테나를 포함하며, 송신부(110)에서 송신된 신호가 전자 장치(100) 주변에서 반사된 경우, 수신부(120)는 반사된 신호를 수신할 수 있다.The receiver 120 may receive a signal. To this end, the receiver 120 includes an antenna, and when a signal transmitted by the transmitter 110 is reflected around the electronic device 100, the receiver 120 may receive the reflected signal.

이 경우, 수신부(120)는 수신된 신호에 대해 쿼드 복조를 수행하여, 수신된 신의 I 신호 및 Q 신호를 생성할 수 있다. 이를 위해, 수신부(120)는 송신부(110)에서 송신된 신호를 기설정된 위상만큼 이동시키는 위상 이동부(미도시), 수신된 신호와 송신된 신호를 믹싱하여 I 신호를 출력하는 제1 믹서(미도시) 및 수신된 신호와 위상이 이동된 송신된 신호를 믹싱하여 Q 신호를 출력하는 제2 믹서(미도시)를 포함할 수 있다.In this case, the receiver 120 may perform quad demodulation on the received signal to generate I and Q signals of the received scene. To this end, the receiver 120 includes a phase shifter (not shown) that shifts the signal transmitted from the transmitter 110 by a predetermined phase, and a first mixer that mixes the received signal and the transmitted signal to output an I signal ( (not shown) and a second mixer (not shown) for outputting a Q signal by mixing the received signal and the transmitted signal whose phase is shifted.

스피커(130)는 오디오를 출력할 수 있다. 이 경우, 스피커(130)는 전자 장치(100)에 내장되거나, 전자 장치(100)의 외부에 부착될 수 있다.The speaker 130 may output audio. In this case, the speaker 130 may be built into the electronic device 100 or attached to the outside of the electronic device 100 .

프로세서(140)는 전자 장치(100)의 전반적인 동작 및 기능을 제어할 수 있다. 이를 위해, 프로세서(140)는 송신부(110), 수신부(120) 및 스피커(130)와 전기적으로 연결될 수 있다. 그리고, 프로세서(140)는 중앙처리장치(central processing unit, CPU) 또는 어플리케이션 프로세서(application processor, AP) 등을 포함할 수 있다. 이 경우, 프로세서(140)는 하나 이상의 인스트럭션에 따라 메모리에 저장된 하나 이상의 소프트웨어 프로그램을 실행하여, 전자 장치(100)에 구비된 각종 하드웨어의 동작들을 제어하고, 각종 기능을 지원할 수 있다. The processor 140 may control overall operations and functions of the electronic device 100 . To this end, the processor 140 may be electrically connected to the transmitter 110 , the receiver 120 and the speaker 130 . Also, the processor 140 may include a central processing unit (CPU) or an application processor (AP). In this case, the processor 140 may execute one or more software programs stored in the memory according to one or more instructions to control operations of various hardware included in the electronic device 100 and support various functions.

한편, 프로세서(140)는 송신부(110)를 통해 신호를 송신하고, 송신된 신호가 반사되어 수신부(120)를 통해 수신되면, 수신된 신호를 이용하여 전자 장치(100) 주변에 오브젝트가 존재하는지 특히, 움직이는 오브젝트가 존재하는지를 식별할 수 있는데, 도 4를 참조하여 보다 구체적으로 설명하도록 한다.Meanwhile, the processor 140 transmits a signal through the transmitter 110, and when the transmitted signal is reflected and received through the receiver 120, the processor 140 determines whether an object exists around the electronic device 100 using the received signal. In particular, it is possible to identify whether a moving object exists, which will be described in more detail with reference to FIG. 4 .

도 4는 본 개시의 일 실시 예에 따라 전자 장치 주변의 오브젝트 존재 여부를 식별하는 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method of identifying whether an object exists around an electronic device according to an embodiment of the present disclosure.

먼저, 프로세서(140)는 스피커(130)를 통해 오디오가 출력되는 동안 전자 장치(100) 주변으로 신호를 송신하도록 송신부(110)를 제어할 수 있다(S410). First, the processor 140 may control the transmission unit 110 to transmit a signal around the electronic device 100 while audio is output through the speaker 130 (S410).

예를 들어, 프로세서(140)는 오디오를 스피커(130)를 통해 출력하거나, 영상을 전자 장치(100)의 디스플레이부를 통해 출력하고, 영상과 관련된 오디오를 스피커(130)를 통해 출력할 수 있다.For example, the processor 140 may output audio through the speaker 130, output an image through the display unit of the electronic device 100, and output audio related to the image through the speaker 130.

이와 같이 오디오가 스피커(130)를 통해 출력되는 동안, 프로세서(140)는 전자 장치(100) 주변으로 신호를 송신하도록 송신부(110)를 제어할 수 있다.While audio is output through the speaker 130 as described above, the processor 140 may control the transmission unit 110 to transmit a signal around the electronic device 100 .

그리고, 프로세서(140)는 송신된 신호가 전자 장치(100) 주변에서 반사되어 수신부(120)를 통해 수신되면, 수신된 신호에 대해 FFT를 수행하여, 수신된 신호를 주파수 대역의 신호로 변환할 수 있다(S420).Then, when the transmitted signal is reflected around the electronic device 100 and received through the receiver 120, the processor 140 performs FFT on the received signal to convert the received signal into a signal of a frequency band. It can (S420).

구체적으로, 프로세서(140)는 수신된 신호에 대해 쿼드 복조를 수행하도록 수신부(120)를 제어하여, 수신된 신호의 I 신호 및 Q 신호를 획득할 수 있다. 그리고, 프로세서(140)는 I 신호 및 Q 신호를 합산하고, 합산된 신호에 대해 FFT를 수행하여, 수신된 신호를 주파수 대역의 신호로 변환할 수 있다.Specifically, the processor 140 may obtain the I and Q signals of the received signal by controlling the receiver 120 to perform quad demodulation on the received signal. Also, the processor 140 may sum the I signal and the Q signal and perform FFT on the summed signal to convert the received signal into a signal of a frequency band.

그리고, 프로세서(140)는 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별할 수 있다(S430).And, the processor 140 may identify the energy of the first frequency band and the energy of the second frequency band from the signal of the frequency band (S430).

여기에서, 주파수 대역의 에너지는 주파수 대역 내의 주파수 신호 성분들의 크기의 합에 의해 산출될 수 있다. Here, the energy of the frequency band may be calculated by summing the magnitudes of frequency signal components within the frequency band.

그리고, 제1 주파수 대역은 FFT의 센터 주파수 기준으로 음의 주파수 대역을 포함하고, 제2 주파수 대역은 FFT의 센터 주파수 기준으로 양의 주파수 대역을 포함할 수 있다. 구체적으로, 주파수 대역의 신호는 FFT의 센터 주파수인 0을 기준으로 음의 주파수 대역부터 양의 주파수 대역을 포함할 수 있다. 이 경우, 제1 주파수 대역은 음의 주파수 대역을 의미하고, 제2 주파수 대역은 양의 주파수 대역을 의미할 수 있다.Also, the first frequency band may include a negative frequency band based on the center frequency of the FFT, and the second frequency band may include a positive frequency band based on the center frequency of the FFT. Specifically, the signal of the frequency band may include a negative frequency band to a positive frequency band based on 0, which is the center frequency of the FFT. In this case, the first frequency band may mean a negative frequency band, and the second frequency band may mean a positive frequency band.

이에 따라, 프로세서(140)는 주파수 대역의 신호 중 음의 주파수 대역의 에너지를 산출하여 제1 주파수 대역의 에너지를 식별하고, 주파수 대역의 신호 중 양의 주파수 대역의 에너지를 산출하여 제2 주파수 대역의 에너지를 식별할 수 있다.Accordingly, the processor 140 calculates energy of a negative frequency band among signals in a frequency band to identify energy in a first frequency band, and calculates energy in a positive frequency band among signals in a frequency band to identify energy in a second frequency band. of energy can be identified.

그리고, 프로세서(140)는 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이를 산출하고, 차이 값이 임계 값 이상인지 여부를 식별할 수 있다. Also, the processor 140 may calculate a difference between the energy of the first frequency band and the energy of the second frequency band, and identify whether the difference value is greater than or equal to a threshold value.

이때, 프로세서(140)는 차이 값이 임계 값 이상인 경우(S440-Y), 전자 장치(100) 주변에 오브젝트가 존재하는 것으로 식별할 수 있다(S450). 다만, 프로세서(140)는 차이 값이 임계 값 미만인 경우, 전자 장치(100) 주변에 오브젝트가 존재하지 않는 것으로 식별할 수 있다.In this case, when the difference value is greater than or equal to the threshold value (S440-Y), the processor 140 may identify that an object exists around the electronic device 100 (S450). However, when the difference value is less than the threshold value, the processor 140 may identify that there is no object around the electronic device 100 .

구체적으로, 프로세서(140)는 제1 주파수 대역의 에너지에서 제2 주파수 대역의 에너지를 뺀 값이 임계 값 이상이거나, 제2 주파수 대역의 에너지에서 제1 주파수 대역의 에너지를 뺀 값이 임계 값 이상인 경우, 전자 장치(100) 주변에 오브젝트가 존재하는 것으로 식별할 수 있다.Specifically, the processor 140 determines whether the value obtained by subtracting the energy of the second frequency band from the energy of the first frequency band is equal to or greater than the threshold value, or the value obtained by subtracting the energy of the first frequency band from the energy of the second frequency band is greater than or equal to the threshold value. In this case, it may be identified that an object exists around the electronic device 100 .

이와 같이, 본 개시의 일 실시 예에 따르면, 주파수 대역 간의 에너지 차이를 임계 값과 비교하여 오브젝트의 존재 여부를 판단하는데, 이와 관련하여 도 5, 도 6a 및 도 6b를 참조하여 보다 구체적으로 설명하도록 한다.As such, according to an embodiment of the present disclosure, the existence of an object is determined by comparing the energy difference between frequency bands with a threshold value, which will be described in more detail with reference to FIGS. do.

구체적으로, 스피커(130)를 통해 오디오가 출력되는 경우, 스피커(130)의 진동에 의해 전자 장치(100)가 진동할 수 있다. 이 경우, 전자 장치(100)가 주변으로 신호를 송신하게 되면, 전자 장치(100)의 진동에 의해 전자 장치(100)가 움직이면서 신호를 송신하는 것으로 볼 수 있다. 이에 따라, 전자 장치(100) 주변의 오브젝트가 움직이지 않는 경우에도, 오브젝트에 반사되어 수신된 신호는 편이된 주파수 신호 성분을 포함할 수 있다.Specifically, when audio is output through the speaker 130, the electronic device 100 may vibrate due to the vibration of the speaker 130. In this case, when the electronic device 100 transmits a signal to the surroundings, it can be regarded as transmitting a signal while the electronic device 100 moves due to vibration of the electronic device 100 . Accordingly, even when an object around the electronic device 100 does not move, a signal reflected from the object and received may include a shifted frequency signal component.

한편, 스피커(130)의 진동은 오디오를 출력하기 위한 진동판에 교류 신호가 인가되어 진동판이 왕복 운동을 하게 되는 과정에서 발생되는 진동이라는 점에서, 스피커(130)의 진동은 그 방향 및 속도에 있어 일정한 규칙성을 가질 수 있다. 이 경우, 전자 장치(100)는 스피커(130)의 진동에 영향을 받는다는 점에서, 전자 장치(100)의 진동 역시 그 방향 및 속도에 있어 일정한 규칙성을 가질 수 있다.On the other hand, in that the vibration of the speaker 130 is a vibration generated in the process of reciprocating the diaphragm when an AC signal is applied to the diaphragm for outputting audio, the vibration of the speaker 130 is related to its direction and speed. may have a certain regularity. In this case, since the electronic device 100 is affected by the vibration of the speaker 130, the vibration of the electronic device 100 may also have a certain regularity in its direction and speed.

이에 따라, 전자 장치(100)가 진동함에 따라 발생되는, 편이된 주파수 신호 성분은 주파수 대역에서 FFT의 센터 주파수를 기준으로 좌우가 실질적으로 대칭인 형태일 수 있다. Accordingly, the shifted frequency signal component generated as the electronic device 100 vibrates may have a shape substantially symmetrical on the left and right with respect to the center frequency of the FFT in the frequency band.

예를 들어, 전자 장치(100) 주변에 움직이는 오브젝트가 존재하지 않는 경우를 가정한다. 이 경우, 스피커(130)에서 오디오가 출력되는 동안, 전자 장치(100)에서 송신된 신호가 전자 장치(100) 주변에서 반사되어 전자 장치(100)에 수신되고, 수신된 신호를 주파수 대역으로 변환하면, 도 5와 같은 신호 파형을 얻을 수 있다. 도 5를 참조하면, 주파수 대역의 신호는 센터 주파수를 기준으로 음의 주파수 영역 대의 신호들(510)과 양의 주파수 영역 대의 신호들(520)이 실질적으로 대칭인 형태를 갖는다.For example, it is assumed that there is no moving object around the electronic device 100 . In this case, while audio is output from the speaker 130, a signal transmitted from the electronic device 100 is reflected around the electronic device 100 and received by the electronic device 100, and the received signal is converted into a frequency band. If so, a signal waveform as shown in FIG. 5 can be obtained. Referring to FIG. 5 , signals in a frequency band have a substantially symmetrical form between signals 510 in a negative frequency domain and signals 520 in a positive frequency domain based on a center frequency.

따라서, 본 개시에서는 이러한 대칭성을 고려하여, 전자 장치(100)가 진동함에 따라 발생되는 편이된 주파수 신호 성분을 제거하기 위해, 제1 주파수 대역의 에너지와 제2 주파수 대역의 에너지 간의 차이를 산출하여 전자 장치(100) 주변에 오브젝트가 존재하는지를 식별하게 된다.Therefore, in the present disclosure, in consideration of this symmetry, in order to remove the shifted frequency signal component generated as the electronic device 100 vibrates, the difference between the energy of the first frequency band and the energy of the second frequency band is calculated, It is identified whether an object exists around the electronic device 100 .

한편, 전술한 바와 같이, 전자 장치(100) 주변에 움직이는 오브젝트가 존재하는 경우, 편이된 주파수 신호 성분이 발생하게 된다. 따라서, 스피커(130)를 통해 오디오가 출력되는 동안에 전자 장치(100) 주변에 움직이는 오브젝트가 존재하는 경우에는, 수신된 신호에는 오브젝트의 움직임에 의해 발생된 편이된 주파수 신호 성분과 전자 장치(100)의 움직임에 의해 발생된 편이된 주파수 신호 성분이 모두 포함될 수 있다. Meanwhile, as described above, when a moving object exists around the electronic device 100, a shifted frequency signal component is generated. Therefore, when there is a moving object around the electronic device 100 while audio is output through the speaker 130, the received signal includes the shifted frequency signal component generated by the movement of the object and the electronic device 100. All of the shifted frequency signal components generated by the motion of may be included.

예를 들어, 스피커(130)를 통해 오디오를 출력하는 동안, 전자 장치(100)로 접근하는 오브젝트가 존재하는 경우를 가정한다. For example, it is assumed that an object approaching the electronic device 100 exists while audio is being output through the speaker 130 .

이 경우, 도 6a와 같이, 수신된 신호에는 음의 주파수 대역에는 오브젝트에 의해 발생된 편이된 주파수 신호 성분과 전자 장치(100)의 진동에 따라 발생된 편이된 주파수 신호 성분이 존재할 수 있다.In this case, as shown in FIG. 6A , a shifted frequency signal component generated by an object and a shifted frequency signal component generated according to vibration of the electronic device 100 may exist in a negative frequency band of the received signal.

이 경우, 음의 주파수 대역(610-1)의 에너지에서 양의 주파수 대역(610-2)의 에너지를 빼는 경우, 전자 장치(100)의 진동에 따라 발생된 편이된 주파수 신호 성분은 제거되고, 전자 장치(100)로 접근하는 오브젝트에 의해 발생된 편이된 주파수 신호 성분의 에너지만 존재하게 된다.In this case, when the energy of the positive frequency band 610-2 is subtracted from the energy of the negative frequency band 610-1, the shifted frequency signal component generated according to the vibration of the electronic device 100 is removed, Only energy of a shifted frequency signal component generated by an object approaching the electronic device 100 exists.

이에 따라, 프로세서(140)는 음의 주파수 대역(610-1)의 에너지에서 양의 주파수 대역(610-2)의 에너지를 뺀 값을 산출하고, 산출된 값을 임계 값과 비교하여, 산출된 값이 임계 값보다 큰 경우, 전자 장치(100)로 접근하는 오브젝트가 존재하는 것으로 판단하고, 전자 장치(100) 주변에 오브젝트가 존재하는 것으로 판단할 수 있다.Accordingly, the processor 140 calculates a value obtained by subtracting the energy of the positive frequency band 610-2 from the energy of the negative frequency band 610-1, compares the calculated value with a threshold value, and If the value is greater than the threshold value, it may be determined that an object approaching the electronic device 100 exists, and it may be determined that an object exists around the electronic device 100 .

다른 예로, 스피커(130)를 통해 오디오를 출력하는 동안, 전자 장치(100)에서 멀어지는 오브젝트가 존재하는 경우를 가정한다. As another example, it is assumed that an object moving away from the electronic device 100 exists while audio is being output through the speaker 130 .

이 경우, 도 6b와 같이, 수신된 신호에는 양의 주파수 대역에는 오브젝트에 의해 발생된 편이된 주파수 신호 성분과 전자 장치(100)의 진동에 따라 발생된 편이된 주파수 신호 성분이 존재할 수 있다.In this case, as shown in FIG. 6B , a shifted frequency signal component generated by an object and a shifted frequency signal component generated according to vibration of the electronic device 100 may exist in a positive frequency band of the received signal.

이 경우, 음의 주파수 대역(620-1)의 에너지에서 양의 주파수 대역(620-2)의 에너지를 빼는 경우, 전자 장치(100)의 진동에 따라 발생된 편이된 주파수 신호 성분은 제거되고, 전자 장치(100)에서 멀어지는 오브젝트에 의해 발생된 편이된 주파수 신호 성분의 에너지만 존재하게 된다.In this case, when the energy of the positive frequency band 620-2 is subtracted from the energy of the negative frequency band 620-1, the shifted frequency signal component generated according to the vibration of the electronic device 100 is removed, Only energy of a shifted frequency signal component generated by an object moving away from the electronic device 100 exists.

이에 따라, 프로세서(140)는 양의 주파수 대역(620-2)의 에너지에서 음의 주파수 대역(620-1)의 에너지를 뺀 값을 산출하고, 산출된 값을 임계 값과 비교하여, 산출된 값이 임계 값보다 큰 경우, 전자 장치(100)에서 멀어지는 오브젝트가 존재하는 것으로 판단하고, 전자 장치(100) 주변에 오브젝트가 존재하는 것으로 판단할 수 있다Accordingly, the processor 140 calculates a value obtained by subtracting the energy of the negative frequency band 620-1 from the energy of the positive frequency band 620-2, compares the calculated value with a threshold value, and If the value is greater than the threshold, it may be determined that an object moving away from the electronic device 100 exists, and it may be determined that an object exists around the electronic device 100.

이와 같이, 본 개시의 일 실시 예에 따르면, 전자 장치(100)는 전자 장치(100)의 진동에 따라 발생된 편이된 주파수 신호의 성분을 제거하고, 전자 장치(100)로 접근하는 오브젝트 및 전자 장치(100)에서 멀어지는 오브젝트를 감지할 수 있게 된다.As such, according to an embodiment of the present disclosure, the electronic device 100 removes components of the shifted frequency signal generated according to the vibration of the electronic device 100, and objects and electronic devices approaching the electronic device 100 are removed. An object moving away from the device 100 can be detected.

한편, 프로세서(140)는 변환된 주파수 대역의 신호의 주파수 대역 중 주파수의 크기가 작은 주파수일수록 상대적으로 더 큰 가중치를 인가하여 주파수 대역의 에너지를 산출할 수 있다.Meanwhile, the processor 140 may calculate the energy of the frequency band by applying a relatively larger weight to a frequency having a smaller frequency among the frequency bands of the signal of the converted frequency band.

구체적으로, 프로세서(140)는 제1 주파수 대역 중 주파수 크기의 절대 값이 작을수록, 주파수 신호의 크기에 상대적으로 큰 가중치를 인가하여 제1 주파수 대역의 에너지를 산출하고, 제2 주파수 대역 중 주파수 크기의 절대 값이 작을수록, 주파수 신호의 크기에 상대적으로 큰 가중치를 인가하여 제2 주파수 대역의 에너지를 산출할 수 있다.Specifically, the processor 140 calculates the energy of the first frequency band by applying a relatively large weight to the magnitude of the frequency signal as the absolute value of the magnitude of the frequency of the first frequency band decreases, and calculates the energy of the second frequency band. As the absolute value of the magnitude decreases, the energy of the second frequency band may be calculated by applying a relatively large weight to the magnitude of the frequency signal.

그리고, 프로세서(140)는 산출된 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 전자 장치 주변의 오브젝트 존재 여부를 식별할 수 있다.Also, the processor 140 may identify whether an object exists around the electronic device based on the calculated difference between the energy of the first frequency band and the energy of the second frequency band and the threshold value.

이와 같이, 본 개시의 일 실시 예에 따르면 주파수의 크기가 작은 주파수일수록 상대적으로 더 큰 가중치를 인가하여 주파수 대역의 에너지를 산출하는데 그 이유는 다음과 같다.As described above, according to an embodiment of the present disclosure, the energy of a frequency band is calculated by applying a relatively larger weight to a frequency having a smaller frequency, for the following reason.

구체적으로, 움직이는 오브젝트에 의해 주파수 편이가 발생될 때, 주파수가 편이되는 양 즉, 편이량은 움직이는 오브젝트의 속도에 비례하게 된다. 즉, 오브젝트가 움직이는 속도가 클수록 주파수의 편이량은 크고, 오브젝트가 움직이는 속도가 작을수록 주파수의 편이량은 작다.Specifically, when a frequency shift is generated by a moving object, the amount of frequency shift, that is, the shift amount is proportional to the speed of the moving object. That is, as the moving speed of the object increases, the amount of frequency shift increases, and as the speed of moving the object decreases, the amount of frequency shift decreases.

한편, 예를 들어, 전자 장치(100)가 TV인 경우, TV를 시청하기 위하여 사용자는 TV로 접근한 후 정지한 상태로 TV를 시청하게 된다. 또한, TV의 시청이 끝나면, 정지된 상태에 있던 사용자는 TV로부터 멀어질 수 있다. 이 경우, 사용자의 움직임 속도는 정지 상태를 전후로 하여 상대적으로 낮은 속도를 가지게 되고, 이에 따라, 해당 시점에서 사용자의 움직임에 의해 발생되는 주파수 신호의 주파수 편이량은 움직인 이후 보다 상대적으로 작게 된다. 따라서, 본 개시에서는 이러한 오브젝트의 움직임 특성을 고려하여, 정지된 상태에 있던 사용자가 움직이기 시작한 시점에 발생된 편이된 주파수 신호 성분들(즉, 상대적으로 편이량이 작은 주파수 신호 성분들)에 상대적으로 큰 가중치를 인가하여 에너지를 산출한다는 점에서, 전자 장치(100)의 주변에 존재하는 오브젝트의 존재를 보다 정확히 식별할 수 있게 된다.Meanwhile, for example, when the electronic device 100 is a TV, in order to watch TV, the user approaches the TV and then watches the TV in a stopped state. Also, when viewing of the TV ends, the user in a stopped state may move away from the TV. In this case, the user's movement speed is relatively low before and after the stationary state, and accordingly, the frequency shift amount of the frequency signal generated by the user's movement at that time becomes relatively smaller than after the movement. Therefore, in the present disclosure, considering the movement characteristics of these objects, the shifted frequency signal components generated at the time when the user in a stationary state started to move (ie, frequency signal components with a relatively small shift) Since the energy is calculated by applying a large weight, it is possible to more accurately identify the existence of an object existing around the electronic device 100 .

한편, 전술한 바와 같이, 프로세서(140)는 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이를 임계 값과 비교하여, 전자 장치(100) 주변의 오브젝트 존재 여부를 판단할 수 있다.Meanwhile, as described above, the processor 140 may compare the difference between the energy of the first frequency band and the energy of the second frequency band with a threshold value to determine whether an object exists around the electronic device 100 .

여기에서, 임계 값은 전자 장치(100) 주변에서 사람이 통상적으로 움직이는 정도 등에 따라 미리 정해진 값일 수 있다. Here, the threshold value may be a predetermined value according to the degree of normal movement of a person around the electronic device 100 .

또한, 프로세서(140)는 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이를 정규화(Normalization)하고, 정규화된 차이를 임계 값과 비교하여, 전자 장치(100) 주변의 오브젝트 존재 여부를 식별할 수도 있다. 이 경우, 프로세서(140)는 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이를 전체 주파수 대역의 에너지로 나눠, 정규화를 수행할 수 있다. In addition, the processor 140 normalizes the difference between the energy of the first frequency band and the energy of the second frequency band, compares the normalized difference with a threshold value, and determines whether an object exists around the electronic device 100. can also be identified. In this case, the processor 140 may perform normalization by dividing the difference between the energy of the first frequency band and the energy of the second frequency band by the energy of the entire frequency band.

한편, 전술한 바와 같이, 본 개시에서는 스피커(130)의 진동에 따른 전자 장치(100)의 진동을 고려하여 전자 장치(100) 주변의 오브젝트 존재 여부를 판단한다. 이때, 스피커(130)의 볼륨 레벨에 따라 전자 장치(100)가 움직이는 정도가 다를 수 있다는 점에서(예를 들어, 스피커(130)의 볼륨 레벨이 클수록 스피커(130)의 진동이 커지고, 이에 따라 전자 장치(100)의 진동이 커질 수 있다), 전자 장치(100)는 스피커(130)의 복수의 볼륨 레벨 별로, 각 볼륨 레벨에 대응되는 임계 값을 저장하고, 스피커(130)의 볼륨 레벨에 대응되는 임계 값을 이용하여 전자 장치(100) 주변의 오브젝트 존재 여부를 판단할 수도 있다.Meanwhile, as described above, in the present disclosure, it is determined whether an object exists around the electronic device 100 by considering the vibration of the electronic device 100 according to the vibration of the speaker 130 . At this time, in that the degree of movement of the electronic device 100 may vary according to the volume level of the speaker 130 (for example, as the volume level of the speaker 130 increases, the vibration of the speaker 130 increases, and accordingly vibration of the electronic device 100 may increase), the electronic device 100 stores a threshold value corresponding to each volume level for each of a plurality of volume levels of the speaker 130, and determines the volume level of the speaker 130 It may be determined whether an object around the electronic device 100 exists using a corresponding threshold value.

이를 위해, 전자 장치(100)는 스피커(130)의 복수의 볼륨 레벨에 대응되는 복수의 임계 값이 저장되어 있을 수 있다. 이 경우, 복수의 임계 값은 볼륨 레벨이 클수록 높은 값으로 기설정되고, 볼륨 레벨이 작을수록 작은 값으로 기설정되어 있을 수 있다.To this end, the electronic device 100 may store a plurality of threshold values corresponding to a plurality of volume levels of the speaker 130 . In this case, the plurality of threshold values may be preset to a higher value as the volume level increases, and may be preset to a smaller value as the volume level decreases.

예를 들어, 도 7과 같이, 스피커(130)의 볼륨 레벨이 20 이하인 경우, 임계 값은 0.2로 설정되고, 스피커(130)의 볼륨 레벨이 20 초과 50 이하인 경우, 임계 값은 0.3로 설정되고. 스피커(130)의 볼륨 레벨이 50 초과 70 이하인 경우, 임계 값은 0.4로 설정되고. 스피커(130)의 볼륨 레벨이 70 초과인 경우, 임계 값은 0.5로 설정될 수 있다. 이 경우, 임계 값은 정규화된 에너지 값과 비교를 위해 설정된 값들의 일 예일 수 있다.For example, as shown in FIG. 7, when the volume level of the speaker 130 is 20 or less, the threshold value is set to 0.2, and when the volume level of the speaker 130 is greater than 20 and less than or equal to 50, the threshold value is set to 0.3. . When the volume level of the speaker 130 is greater than 50 and less than 70, the threshold value is set to 0.4. When the volume level of the speaker 130 exceeds 70, the threshold value may be set to 0.5. In this case, the threshold value may be an example of values set for comparison with the normalized energy value.

그리고, 프로세서(140)는 스피커(130)에 대한 복수의 볼륨 레벨에 대응되는 복수의 임계 값 중 스피커(130)의 볼륨 레벨에 대응되는 임계 값을 식별하고, 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이 및 식별된 임계 값에 기초하여 전자 장치(100) 주변에 사용자가 존재하는지 식별할 수 있다.Then, the processor 140 identifies a threshold value corresponding to the volume level of the speaker 130 among a plurality of threshold values corresponding to the plurality of volume levels of the speaker 130, and determines the energy of the first frequency band and the second threshold value. Based on the difference between the energies of the frequency band and the identified threshold value, it may be identified whether a user exists around the electronic device 100 .

전술한 예에서, 오디오를 출력하는 스피커(130)의 현재 볼륨 레벨이 30인 경우, 프로세서(140)는 스피커(130)의 볼륨 레벨에 대응되는 임계 값은 0.3인 것으로 판단하고, 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이를 전체 주파수 대역의 에너지로 나눈 값을 0.3과 비교하여, 전자 장치(100) 주변에 사용자가 존재하는지 식별할 수 있다.In the above example, when the current volume level of the speaker 130 outputting audio is 30, the processor 140 determines that the threshold value corresponding to the volume level of the speaker 130 is 0.3, and the first frequency band A value obtained by dividing the difference between the energy of the second frequency band and the energy of the entire frequency band by the energy of the entire frequency band is compared with 0.3 to determine whether a user is present around the electronic device 100 .

한편, 스피커(130)의 진동에 따라 발생되는 전자 장치(100)의 진동은 그 방향 및 속도에 있어, 다양한 요인으로 인해 완전한 대칭성을 갖지 않을 수 있다. 이 경우, 전자 장치(100)의 진동에 의해 발생된 편이된 주파수 신호 성분은 FFT의 센터 주파수를 기준으로 좌우가 완전한 대칭이 아닐 수 있다. Meanwhile, the vibration of the electronic device 100 generated according to the vibration of the speaker 130 may not have perfect symmetry in its direction and speed due to various factors. In this case, the shifted frequency signal component generated by the vibration of the electronic device 100 may not be completely symmetrical on the left and right with respect to the center frequency of the FFT.

이에 따라, 제1 주파수 대역의 에너지와 제2 주파수 대역의 에너지 간의 차이를 산출하여도, 전자 장치(100)의 진동에 의해 발생된 편이된 주파수 신호 성분의 에너지는 완전히 제거되지 않고 남아있을 수 있다. 이때, 스피커(130)의 볼륨 레벨이 커질수록, 전자 장치(100)의 진동이 커진다는 점에서, 제거되지 않고 남은 에너지의 크기는 커질 수 있고, 이 경우, 남은 에너지로 인해 전자 장치(100) 주변에 오브젝트가 존재하는 것으로 오인식될 수 있다. Accordingly, even when the difference between the energy of the first frequency band and the energy of the second frequency band is calculated, the energy of the shifted frequency signal component generated by the vibration of the electronic device 100 may remain without being completely removed. . At this time, since the vibration of the electronic device 100 increases as the volume level of the speaker 130 increases, the size of the remaining energy that is not removed may increase. In this case, due to the remaining energy, the electronic device 100 It may be misrecognized as having an object in the vicinity.

따라서, 본 개시에서는 임계 값을 스피커(130)의 오디오 볼륨 레벨에 비례하도록 설정하여, 오인식률을 낮출 수 있게 된다. Therefore, in the present disclosure, by setting the threshold value to be proportional to the audio volume level of the speaker 130, it is possible to lower the false recognition rate.

도 8은 본 개시의 일 실시 예에 따라 전자 장치가 오브젝트의 존재 여부를 식별하는 방법을 설명하기 위한 도면이다.8 is a diagram for explaining a method for an electronic device to identify whether an object exists according to an embodiment of the present disclosure.

도 8의 S810, S820, S830, S860, S870은 도 4의 S410, S420, S430, S440, S450과 동일하다는 점에서, 중복되는 설명은 생략하도록 한다.Since S810, S820, S830, S860, and S870 of FIG. 8 are the same as S410, S420, S430, S440, and S450 of FIG. 4, overlapping descriptions will be omitted.

프로세서(140)는 스피커(130)의 볼륨 레벨이 기설정된 레벨 이상인지 식별할 수 있다. The processor 140 may identify whether the volume level of the speaker 130 is equal to or greater than a preset level.

그리고, 프로세서(140)는 스피커(130)의 볼륨 레벨이 기설정된 레벨 미만인 것으로 식별되면(S840-N), 주파수 대역의 전체 에너지의 합이 임계 값 이상인지 식별할 수 있다. 그리고, 프로세서(140)는 주파수 대역의 전체 에너지 합이 임계 값 이상인 것으로 식별되면(S850-Y), 전자 장치(100) 주변의 오브젝트가 존재하는 것으로 식별할 수 있다(S870).Further, when the processor 140 identifies that the volume level of the speaker 130 is less than a preset level (S840-N), it can identify whether the sum of all energies of the frequency band is greater than or equal to a threshold value. Also, if the sum of the total energies of the frequency band is equal to or greater than the threshold value (S850-Y), the processor 140 may identify that an object around the electronic device 100 exists (S870).

구체적으로, 전술한 바와 같이, 전자 장치(100) 주변에 움직이는 오브젝트에 존재하는 경우, 음의 주파수 영역 또는 양의 주파수 영역에는 편이된 주파수 신호의 성분이 존재할 수 있다. 이에 따라, 프로세서(140)는 주파수 대역 전체 에너지 합을 산출하고, 산출된 에너지 합을 임계 값과 비교하여, 오브젝트의 존재 여부를 식별할 수 있다.Specifically, as described above, when present in an object moving around the electronic device 100, a shifted frequency signal component may exist in a negative frequency domain or a positive frequency domain. Accordingly, the processor 140 may calculate the sum of energy in the entire frequency band and compare the calculated sum of energy with a threshold value to identify whether an object exists.

한편, 프로세서(140)는 스피커(130)의 볼륨 레벨이 기설정된 레벨 이상인 것으로 식별되면(S840-Y), 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이가 임계 값 이상인지 식별할 수 있다. 그리고, 프로세서(140)는 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이가 임계 값 이상인 경우(S860-Y), 전자 장치(100) 주변의 오브젝트가 존재하는 것으로 식별할 수 있다(S870). 한편, S860 단계 및 S870 단계는 도 4에서 설명한 바와 동일하다는 점에서, 중복되는 설명은 생략한다.Meanwhile, when the processor 140 identifies that the volume level of the speaker 130 is equal to or greater than a predetermined level (S840-Y), the processor 140 identifies whether the difference between the energy of the first frequency band and the energy of the second frequency band is greater than or equal to a threshold value. can In addition, when the difference between the energy of the first frequency band and the energy of the second frequency band is greater than or equal to a threshold value (S860-Y), the processor 140 may identify that an object around the electronic device 100 exists ( S870). Meanwhile, since steps S860 and S870 are the same as those described in FIG. 4 , overlapping descriptions are omitted.

이와 같이, 본 개시에서는 스피커(130)의 볼륨 레벨에 따라, 주파수 대역 전체 에너지를 임계 값과 비교하거나 제1 주파수 대역 및 제2 주파수 대역의 에너지 간의 차이를 임계 값과 비교하여, 오브젝트의 존재 여부를 식별하게 된다.In this way, according to the volume level of the speaker 130, in the present disclosure, the entire energy of the frequency band is compared with a threshold value or the difference between the energies of the first frequency band and the second frequency band is compared with the threshold value to determine whether an object exists or not. will identify

구체적으로, 전자 장치(100)에 접근하는 오브젝트와 전자 장치(100)로부터 멀어지는 오브젝트가 동시에 존재하는 경우, 음의 주파수 영역 및 양의 주파수 영역에 편이된 주파수 신호 성분이 모두 존재할 수 있다.Specifically, when an object approaching the electronic device 100 and an object moving away from the electronic device 100 exist at the same time, shifted frequency signal components may exist in both the negative frequency domain and the positive frequency domain.

이 경우, 음의 주파수 대역의 에너지 및 양의 주파수 대역의 에너지 간의 차이를 산출하면, 오브젝트의 움직임에 의해 발생된 편이된 주파수 신호 성분의 에너지까지 제거되는 경우가 발생될 수도 있다는 점에서, 오브젝트의 존재 여부에 대한 인식률이 낮아질 수 있다. In this case, if the difference between the energy of the negative frequency band and the energy of the positive frequency band is calculated, even the energy of the shifted frequency signal component generated by the movement of the object may be removed. The recognition rate for existence may be lowered.

반면, 전체 주파수 대역의 에너지의 합을 산출하면, 오브젝트의 움직임에 의해 발생된 편이된 주파수 신호 성분의 에너지는 제거되지 않는다. 다만, 이 경우에는 전자 장치(100)의 진동에 의해 발생된 편이된 주파수 신호 성분의 에너지까지 전체 주파수 대역의 에너지의 합에 포함될 수 있다. On the other hand, when the sum of the energies of the entire frequency band is calculated, the energy of the shifted frequency signal component generated by the motion of the object is not removed. However, in this case, even the energy of the shifted frequency signal component generated by the vibration of the electronic device 100 may be included in the sum of the energies of the entire frequency band.

한편, 스피커(130)의 볼륨 레벨이 작을수록, 전자 장치(100)의 진동이 작아지고, 전자 장치(100)의 진동으로 발생된 편이된 주파수 신호 성분의 에너지가 전체 주파수 대역 에너지의 합에서 차지하는 비율도 낮아지게 된다. 따라서, 스피커(130)의 볼륨 레벨이 작은 경우에는, 전자 장치(100)의 진동의 영향을 적게 받게 된다는 점에서, 전체 주파수 대역 에너지의 합에 기초하여 오브젝트의 존재 여부를 식별하여도 오인식률이 낮아질 수 있다. 여기에서, 오인식률은 전자 장치(100) 주변에 오브젝트가 존재하지 않지만, 존재하는 것으로 인식하는 확률을 의미할 수 있다.Meanwhile, as the volume level of the speaker 130 decreases, the vibration of the electronic device 100 decreases, and the energy of the shifted frequency signal component generated by the vibration of the electronic device 100 occupies in the sum of all frequency band energies. The ratio also goes down. Therefore, when the volume level of the speaker 130 is low, the false recognition rate is reduced even when the presence or absence of an object is identified based on the sum of all frequency band energies in that the vibration of the electronic device 100 is less affected. can be lowered Here, the false recognition rate may refer to a probability of recognizing that an object does not exist around the electronic device 100 but does exist.

이에 따라, 본 개시의 일 실시 예에 따르면, 전자 장치(100)는 스피커(130)의 볼륨 레벨에 따라 오브젝트의 존재 여부를 식별하는 방법을 다르게 한다는 점에서, 오브젝트 존재에 대한 오인식을 방지하면서 동시에 인식률을 높일 수 있게 된다.Accordingly, according to an embodiment of the present disclosure, in that the electronic device 100 differentiates a method for identifying whether an object exists according to the volume level of the speaker 130, erroneous recognition of the existence of an object is prevented and at the same time recognition rate can be increased.

도 9는 본 개시의 일 실시 예에 따른 전자 장치의 세부 구성을 설명하기 위한 블록도이다. 9 is a block diagram for explaining a detailed configuration of an electronic device according to an embodiment of the present disclosure.

도 9를 참조하면, 전자 장치(100)는 송신부(110), 수신부(120), 스피커(130), 프로세서(140), 디스플레이부(150), 통신 인터페이스(160), 사용자 입력부(170) 및 메모리(180)를 포함할 수 있다. 여기에서, 이들 구성요소는 프로세서(140)에 의해 제어될 수 있다. 한편, 도 9에 도시된 구성요소는 일 예일 뿐이고, 실시 예에 따라 적어도 일부 구성요소가 생략되거나, 다른 구성요소가 추가될 수 있음은 물론이다.Referring to FIG. 9 , the electronic device 100 includes a transmitter 110, a receiver 120, a speaker 130, a processor 140, a display unit 150, a communication interface 160, a user input unit 170, and A memory 180 may be included. Here, these components may be controlled by the processor 140 . Meanwhile, the components shown in FIG. 9 are only examples, and it goes without saying that at least some components may be omitted or other components may be added according to embodiments.

또한, 송신부(110), 수신부(120), 스피커(130) 및 프로세서(140)는 도 1 내지 도 8에서 설명한 바 있다는 점에서, 중복되는 부분에 대한 구체적인 설명은 생략하도록 한다.In addition, since the transmission unit 110, the reception unit 120, the speaker 130, and the processor 140 have been described in FIGS. 1 to 8, detailed descriptions of overlapping parts will be omitted.

디스플레이부(150)는 다양한 화면을 표시할 수 있다. 예를 들어, 디스플레이부(150)는 전자 장치(100)에서 제공되는 다양한 영상을 표시할 수 있다. 또한, 프로세서(140)는 전자 장치(100) 주변의 오브젝트의 존재 여부에 대한 정보를 디스플레이부(150)에 표시할 수 있다.The display unit 150 may display various screens. For example, the display unit 150 may display various images provided by the electronic device 100 . Also, the processor 140 may display information on whether objects around the electronic device 100 exist or not on the display unit 150 .

이를 위해, 디스플레이부(150)는 LCD, LED 또는 OLED 등과 같은 다양한 유형의 디스플레이로 구현될 수 있다. 한편, 디스플레이부(150)는 터치 스크린으로 구현될 수 있다. 이 경우, 프로세서(140)는 터치 스크린에 대한 터치 조작에 의해 다양한 사용자 명령을 수신할 수 있다. To this end, the display unit 150 may be implemented with various types of displays such as LCD, LED, or OLED. Meanwhile, the display unit 150 may be implemented as a touch screen. In this case, the processor 140 may receive various user commands through touch manipulation on the touch screen.

통신 인터페이스(160)는 외부 기기와 통신을 수행할 수 있다. 예를 들어, 통신 인터페이스(160)는 외부 전자 장치(미도시) 및 서버(미도시)와 통신을 수행할 수 있다.The communication interface 160 may perform communication with an external device. For example, the communication interface 160 may communicate with an external electronic device (not shown) and a server (not shown).

이 경우, 프로세서(140)는 통신 인터페이스(160)를 통해 외부 전자 장치(미도시) 및 서버(미도시)와 다양한 데이터를 송수신할 수 있다. 예를 들어, 프로세서(140)는 통신 인터페이스(160)를 이용하여 서버(미도시)를 통해 영상 및 오디오를 수신할 수 있다.In this case, the processor 140 may transmit and receive various data with an external electronic device (not shown) and a server (not shown) through the communication interface 160 . For example, the processor 140 may receive video and audio through a server (not shown) using the communication interface 160 .

이를 위해, 통신 인터페이스(160)는 와이파이 통신 모듈을 포함하며, 와이파이 통신 방식을 이용하여 외부 기기와 통신을 수행할 수 있다. To this end, the communication interface 160 includes a Wi-Fi communication module, and can perform communication with an external device using a Wi-Fi communication method.

사용자 입력부(170)는 다양한 사용자 명령을 입력 받기 위한 구성이다. 예를 들어, 사용자 입력부(170)는 터치 패널 및 물리적 버튼 등을 포함할 수 있으며, 또한, 사용자 입력부(170)는 전자 장치(100)를 제어하기 위한 사용자의 음성 명령을 인식하는 음성 인식부 등을 포함할 수 있다. 이에 따라, 프로세서(140)는 사용자 입력부(170)를 통해 입력된 사용자 명령에 따라 전술한 다양한 동작을 수행할 수 있다. 예를 들어, 프로세서(140)는 사용자 입력부(170)를 통해 스피커(130)의 볼륨 레벨을 조절하기 위한 사용자 명령이 입력되면, 입력된 사용자 명령에 따라 스피커(130)의 볼륨 레벨을 설정하고, 볼륨 레벨에 대응되는 크기로 오디오를 출력하도록 스피커(130)를 제어할 수 있다.The user input unit 170 is a component for receiving various user commands. For example, the user input unit 170 may include a touch panel and physical buttons, and the user input unit 170 may include a voice recognition unit that recognizes a user's voice command for controlling the electronic device 100, and the like. can include Accordingly, the processor 140 may perform the various operations described above according to a user command input through the user input unit 170 . For example, when a user command for adjusting the volume level of the speaker 130 is input through the user input unit 170, the processor 140 sets the volume level of the speaker 130 according to the input user command, The speaker 130 may be controlled to output audio in a size corresponding to the volume level.

메모리(180)는 전자 장치(100)의 동작과 관련된 다양한 명령어, 프로그램 또는 데이터를 저장할 수 있다. 예를 들어, 메모리(180)는 복수의 볼륨 레벨에 대응되는 복수의 임계 값, 기설정된 레벨 등에 대한 정보를 포함할 수 있다.The memory 180 may store various commands, programs, or data related to the operation of the electronic device 100 . For example, the memory 180 may include information about a plurality of threshold values corresponding to a plurality of volume levels and a predetermined level.

이를 위해, 메모리(180)는 비휘발성 메모리, 휘발성 메모리, 플래시메모리(flash-memory), 하드디스크 드라이브(HDD) 또는 솔리드 스테이트 드라이브(SSD) 등으로 구현될 수 있다. 여기에서, 메모리(180)는 프로세서(140)에 의해 액세스되며, 프로세서(140)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다.To this end, the memory 180 may be implemented as a non-volatile memory, a volatile memory, a flash-memory, a hard disk drive (HDD), or a solid state drive (SSD). Here, the memory 180 is accessed by the processor 140, and data can be read/written/modified/deleted/updated by the processor 140.

도 10은 본 개시의 일 실시 예에 따른 스피커를 포함하는 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.10 is a flowchart illustrating a control method of an electronic device including a speaker according to an embodiment of the present disclosure.

먼저, 스피커를 통해 오디오가 출력되는 동안 전자 장치 주변으로 신호를 송신한다(S1010).First, while audio is output through a speaker, a signal is transmitted around the electronic device (S1010).

이후, 송신된 신호가 전자 장치 주변에서 반사되어 전자 장치에 수신되면, 수신된 신호에 대해 FFT를 수행하여 수신된 신호를 주파수 대역의 신호로 변환한다(S1020).Then, when the transmitted signal is reflected around the electronic device and received by the electronic device, FFT is performed on the received signal to convert the received signal into a signal of a frequency band (S1020).

그리고, 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별한다(S1030).Then, the energy of the first frequency band and the energy of the second frequency band are identified in the signal of the frequency band (S1030).

그리고, 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 전자 장치 주변의 오브젝트의 존재 여부를 식별한다(S1040).Then, based on the difference between the energy of the first frequency band and the energy of the second frequency band and the threshold value, whether or not an object around the electronic device is identified is identified (S1040).

구체적으로, S1040 단계는 제1 주파수 대역의 에너지에서 제2 주파수 대역의 에너지를 뺀 값이 임계 값보다 크거나, 제2 주파수 대역의 에너지에서 제1 주파수 대역의 에너지를 뺀 값이 임계 값보다 큰 경우, 오브젝트가 존재하는 것으로 식별할 수 있다.Specifically, in step S1040, the value obtained by subtracting the energy of the second frequency band from the energy of the first frequency band is greater than the threshold, or the value obtained by subtracting the energy of the first frequency band from the energy of the second frequency band is greater than the threshold. In this case, it can be identified that the object exists.

여기에서, 제1 주파수 대역은 FFT의 센터 주파수를 기준으로, 주파수 대역 중 음의 주파수 대역을 포함하고, 제2 주파수 대역은 FFT의 센터 주파수를 기준으로, 주파수 대역 중 양의 주파수 대역을 포함할 수 있다.Here, the first frequency band may include a negative frequency band among the frequency bands based on the center frequency of the FFT, and the second frequency band may include a positive frequency band among the frequency bands based on the center frequency of the FFT. can

또한, S1030 단계는 주파수 대역 중 주파수의 크기가 작은 주파수일수록 상대적으로 큰 가중치를 인가하여 주파수 대역의 에너지를 산출할 수 있다.Further, in step S1030, the energy of the frequency band may be calculated by applying a relatively large weight to a frequency having a small frequency among the frequency bands.

한편, 스피커에 대한 복수의 볼륨 레벨에 대응되는 복수의 임계 값 중 스피커의 볼륨 레벨에 대응되는 임계 값을 식별할 수 있다. 여기에서, 복수의 임계 값은 볼륨 레벨이 클수록 높은 값으로 기설정되고 볼륨 레벨이 작을수록 작은 값으로 기설정될 수 있다. 이 경우, S1040 단계는 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지 간의 차이 및 식별된 임계 값에 기초하여 전자 장치 주변에 사용자가 존재하는지 식별할 수 있다.Meanwhile, among a plurality of threshold values corresponding to a plurality of volume levels of the speaker, a threshold value corresponding to the volume level of the speaker may be identified. Here, the plurality of threshold values may be preset to a higher value as the volume level increases and to a smaller value as the volume level decreases. In this case, operation S1040 may identify whether a user exists around the electronic device based on the difference between the energy of the first frequency band and the energy of the second frequency band and the identified threshold value.

한편, 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 구체적인 방법에 대해서는 전술한 바 있다. 이에 따라, 본 개시에 따르면, 전자 장치의 스피커에서 오디오가 출력되어 전자 장치에서 움직임이 발생하는 경우에도, 전자 장치의 움직임에 의해 발생된 신호 성분을 제거함으로써, 오브젝트의 감지에 대한 오인식률이 감소될 수 있다.Meanwhile, the detailed method for identifying whether an object around the electronic device exists has been described above. Accordingly, according to the present disclosure, even when audio is output from a speaker of the electronic device and motion occurs in the electronic device, the false recognition rate for object detection is reduced by removing signal components generated by the motion of the electronic device. It can be.

한편, 본 개시의 일시 예에 따르면, 이상에서 설명된 다양한 실시 예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media에 저장된 명령어를 포함하는 소프트웨어로 구현될 수 있다. 기기는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시 예들에 따른 기기를 포함할 수 있다. 명령이 프로세서에 의해 실행될 경우, 프로세서가 직접, 또는 프로세서의 제어 하에 다른 구성요소들을 이용하여 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적 저장매체'는 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다. 예로, '비일시적 저장매체'는 데이터가 임시적으로 저장되는 버퍼를 포함할 수 있다.Meanwhile, according to an exemplary embodiment of the present disclosure, the various embodiments described above may be implemented as software including instructions stored in a machine-readable storage medium (eg, a computer). A device is a device capable of calling a command stored from a storage medium and operating according to the called command, and may include a device according to the disclosed embodiments. When a command is executed by a processor, the processor directly or A function corresponding to a command may be performed using other components under the control of the processor. A command may include code generated or executed by a compiler or an interpreter. A device-readable storage medium is a non-temporary It can be provided in the form of a (non-transitory) storage medium, where 'non-transitory storage medium' only means that it is a tangible device and does not contain a signal (e.g. electromagnetic wave), This term does not differentiate between a case where data is stored semi-permanently and a case where data is temporarily stored in a storage medium.For example, 'non-temporary storage medium' may include a buffer in which data is temporarily stored.

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

이상에서는 본 개시의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 개시는 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 개시의 요지를 벗어남이 없이 당해 개시에 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 개시의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.Although the preferred embodiments of the present disclosure have been shown and described above, the present disclosure is not limited to the specific embodiments described above, and is common in the technical field belonging to the present disclosure without departing from the gist of the present disclosure claimed in the claims. Of course, various modifications and implementations are possible by those with knowledge of, and these modifications should not be individually understood from the technical spirit or perspective of the present disclosure.

100 : 전자 장치 110 : 송신부
120 : 수신부 130 : 스피커
140 : 프로세서
100: electronic device 110: transmission unit
120: receiver 130: speaker
140: processor

Claims (13)

전자 장치에 있어서,
송신부;
수신부;
스피커; 및
상기 스피커를 통해 오디오가 출력되는 동안 상기 전자 장치 주변으로 신호를 송신하도록 상기 송신부를 제어하고,
상기 송신된 신호가 상기 전자 장치 주변에서 반사되어 상기 수신부를 통해 수신되면, 상기 수신된 신호에 대해 FFT(fast fourier transform)를 수행하여 상기 수신된 신호를 주파수 대역의 신호로 변환하고,
상기 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별하고,
상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 프로세서;를 포함하는 전자 장치.
In electronic devices,
transmission unit;
receiver;
speaker; and
Controlling the transmission unit to transmit a signal around the electronic device while audio is output through the speaker;
When the transmitted signal is reflected around the electronic device and received through the receiver, converting the received signal into a signal of a frequency band by performing a fast fourier transform (FFT) on the received signal;
Identifying energy in a first frequency band and energy in a second frequency band in the signal in the frequency band;
and a processor configured to identify whether an object around the electronic device exists based on a difference between the energy of the first frequency band and the energy of the second frequency band and a threshold value.
제1항에 있어서,
상기 프로세서는,
상기 제1 주파수 대역의 에너지에서 상기 제2 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 크거나, 상기 제2 주파수 대역의 에너지에서 상기 제1 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 큰 경우, 상기 오브젝트가 존재하는 것으로 식별하는 전자 장치.
According to claim 1,
the processor,
A value obtained by subtracting the energy of the second frequency band from the energy of the first frequency band is greater than the threshold value, or a value obtained by subtracting the energy of the first frequency band from the energy of the second frequency band is greater than the threshold value If so, the electronic device identifies that the object exists.
제1항에 있어서,
상기 제1 주파수 대역은,
상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 음의 주파수 대역을 포함하고,
상기 제2 주파수 대역은,
상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 양의 주파수 대역을 포함하는 전자 장치.
According to claim 1,
The first frequency band,
Based on the center frequency of the FFT, including a negative frequency band among the frequency bands,
The second frequency band,
An electronic device including a positive frequency band among the frequency bands based on the center frequency of the FFT.
제3항에 있어서,
상기 프로세서는,
상기 주파수 대역 중 주파수의 크기가 작은 주파수일수록 상대적으로 큰 가중치를 인가하여 주파수 대역의 에너지를 산출하는 전자 장치.
According to claim 3,
the processor,
An electronic device that calculates the energy of the frequency band by applying a relatively large weight to a frequency having a smaller frequency level among the frequency bands.
제1항에 있어서,
상기 프로세서는,
상기 스피커에 대한 복수의 볼륨 레벨에 대응되는 복수의 임계 값 중 상기 스피커의 볼륨 레벨에 대응되는 임계 값을 식별하고,
상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 상기 식별된 임계 값에 기초하여 상기 전자 장치 주변에 사용자가 존재하는지 식별하는 전자 장치.
According to claim 1,
the processor,
Identifying a threshold value corresponding to the volume level of the speaker among a plurality of threshold values corresponding to a plurality of volume levels of the speaker;
The electronic device for identifying whether a user exists around the electronic device based on the difference between the energy of the first frequency band and the energy of the second frequency band and the identified threshold value.
제5항에 있어서,
상기 복수의 임계 값은, 볼륨 레벨이 클수록 높은 값으로 기설정되고 볼륨 레벨이 작을수록 작은 값으로 기설정되는 전자 장치.
According to claim 5,
The plurality of threshold values are preset to a higher value as the volume level increases and to a lower value as the volume level decreases.
전자 장치에 있어서,
송신부;
수신부;
스피커; 및
상기 스피커를 통해 오디오가 출력되는 동안 상기 전자 장치 주변으로 신호를 송신하도록 상기 송신부를 제어하고,
상기 송신된 신호가 상기 전자 장치 주변에서 반사되어 상기 수신부를 통해 수신되면, 상기 수신된 신호에 대해 FFT(fast fourier transform)를 수행하여 상기 수신된 신호를 주파수 대역의 신호로 변환하고,
상기 주파수 대역의 신호에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 프로세서;를 포함하며,
상기 프로세서는,
상기 스피커의 볼륨 레벨이 기설정된 레벨 이상인 경우, 상기 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별하고, 상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하고,
상기 스피커의 볼륨 레벨이 기설정된 레벨 미만인 경우, 상기 주파수 대역의 전체 에너지에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 전자 장치.
In electronic devices,
transmission unit;
receiver;
speaker; and
Controlling the transmission unit to transmit a signal around the electronic device while audio is output through the speaker;
When the transmitted signal is reflected around the electronic device and received through the receiver, converting the received signal into a signal of a frequency band by performing a fast fourier transform (FFT) on the received signal;
A processor for identifying the presence or absence of an object around the electronic device based on the signal of the frequency band;
the processor,
When the volume level of the speaker is equal to or greater than a preset level, the energy of the first frequency band and the energy of the second frequency band are identified in the signal of the frequency band, and the energy of the first frequency band and the energy of the second frequency band are identified. Identifying whether an object around the electronic device exists based on a difference between and a threshold value;
When the volume level of the speaker is less than a predetermined level, the electronic device identifies the presence or absence of an object around the electronic device based on the total energy of the frequency band.
스피커를 포함하는 전자 장치의 제어 방법에 있어서,
상기 스피커를 통해 오디오가 출력되는 동안 상기 전자 장치 주변으로 신호를 송신하는 단계;
상기 송신된 신호가 상기 전자 장치 주변에서 반사되어 상기 전자 장치에 수신되면, 상기 수신된 신호에 대해 FFT(fast fourier transform)를 수행하여 상기 수신된 신호를 주파수 대역의 신호로 변환하는 단계;
상기 주파수 대역의 신호에서 제1 주파수 대역의 에너지 및 제2 주파수 대역의 에너지를 식별하는 단계; 및
상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 임계 값에 기초하여 상기 전자 장치 주변의 오브젝트의 존재 여부를 식별하는 단계;를 포함하는 전자 장치의 제어 방법.
A control method of an electronic device including a speaker,
transmitting a signal around the electronic device while audio is output through the speaker;
converting the received signal into a signal of a frequency band by performing a fast fourier transform (FFT) on the received signal when the transmitted signal is reflected around the electronic device and received by the electronic device;
identifying energy in a first frequency band and energy in a second frequency band in the signal in the frequency band; and
and identifying whether an object around the electronic device exists based on a difference between the energy of the first frequency band and the energy of the second frequency band and a threshold value.
제8항에 있어서,
상기 오브젝트의 존재 여부를 식별하는 단계는,
상기 제1 주파수 대역의 에너지에서 상기 제2 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 크거나, 상기 제2 주파수 대역의 에너지에서 상기 제1 주파수 대역의 에너지를 뺀 값이 상기 임계 값보다 큰 경우, 상기 오브젝트가 존재하는 것으로 식별하는 전자 장치의 제어 방법.
According to claim 8,
The step of identifying whether the object exists,
A value obtained by subtracting the energy of the second frequency band from the energy of the first frequency band is greater than the threshold value, or a value obtained by subtracting the energy of the first frequency band from the energy of the second frequency band is greater than the threshold value If the object exists, the control method of the electronic device identifying that the object exists.
제8항에 있어서,
상기 제1 주파수 대역은,
상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 음의 주파수 대역을 포함하고,
상기 제2 주파수 대역은,
상기 FFT의 센터 주파수를 기준으로, 상기 주파수 대역 중 양의 주파수 대역을 포함하는 전자 장치의 제어 방법.
According to claim 8,
The first frequency band,
Based on the center frequency of the FFT, including a negative frequency band among the frequency bands,
The second frequency band,
A control method of an electronic device including a positive frequency band among the frequency bands based on the center frequency of the FFT.
제10항에 있어서,
상기 제1 및 제2 주파수 대역의 에너지를 식별하는 단계는,
상기 주파수 대역 중 주파수의 크기가 작은 주파수일수록 상대적으로 큰 가중치를 인가하여 주파수 대역의 에너지를 산출하는 전자 장치의 제어 방법.
According to claim 10,
Identifying the energy of the first and second frequency bands,
A method of controlling an electronic device in which energy of a frequency band is calculated by applying a relatively large weight to a frequency having a smaller frequency level among the frequency bands.
제8항에 있어서,
상기 스피커에 대한 복수의 볼륨 레벨에 대응되는 복수의 임계 값 중 상기 스피커의 볼륨 레벨에 대응되는 임계 값을 식별하는 단계;를 포함하고,
상기 오브젝트의 존재 여부를 식별하는 단계는,
상기 제1 주파수 대역의 에너지 및 상기 제2 주파수 대역의 에너지 간의 차이 및 상기 식별된 임계 값에 기초하여 상기 전자 장치 주변에 사용자가 존재하는지 식별하는 전자 장치의 제어 방법.
According to claim 8,
Identifying a threshold value corresponding to the volume level of the speaker among a plurality of threshold values corresponding to a plurality of volume levels of the speaker;
The step of identifying whether the object exists,
The electronic device control method of identifying whether a user exists around the electronic device based on the difference between the energy of the first frequency band and the energy of the second frequency band and the identified threshold value.
제12항에 있어서,
상기 복수의 임계 값은, 볼륨 레벨이 클수록 높은 값으로 기설정되고 볼륨 레벨이 작을수록 작은 값으로 기설정되는 전자 장치의 제어 방법.
According to claim 12,
The plurality of threshold values are preset to a higher value as the volume level increases and preset to lower values as the volume level decreases.
KR1020210099459A 2021-07-28 2021-07-28 Electronic device and controlling method of electronic device KR20230017666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210099459A KR20230017666A (en) 2021-07-28 2021-07-28 Electronic device and controlling method of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210099459A KR20230017666A (en) 2021-07-28 2021-07-28 Electronic device and controlling method of electronic device

Publications (1)

Publication Number Publication Date
KR20230017666A true KR20230017666A (en) 2023-02-06

Family

ID=85224510

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210099459A KR20230017666A (en) 2021-07-28 2021-07-28 Electronic device and controlling method of electronic device

Country Status (1)

Country Link
KR (1) KR20230017666A (en)

Similar Documents

Publication Publication Date Title
US10679619B2 (en) Method of providing voice command and electronic device supporting the same
CN108352159B (en) Electronic device and method for recognizing speech
KR102185166B1 (en) Electronic device and method for recognizing biometrics information
US10134422B2 (en) Determining audio event based on location information
CN107925692B (en) Electronic device and method for adjusting intensity of sound of external device
EP3535754B1 (en) Improved reception of audio commands
US20180014195A1 (en) Mobile device to provide enhanced security based upon contextual sensor inputs
KR101637813B1 (en) Proximity detection of candidate companion display device in same room as primary display using wi-fi or bluetooth signal strength
US10073671B2 (en) Detecting noise or object interruption in audio video viewing and altering presentation based thereon
KR102135579B1 (en) Apparatus and method for network connection
EP2950273B1 (en) Image processing method and electronic device implementing the same
US10602270B1 (en) Similarity measure assisted adaptation control
KR20150103586A (en) Method for processing voice input and electronic device using the same
CN109274441B (en) Tuning method and terminal equipment
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
US11398242B2 (en) Electronic device for determining noise control parameter on basis of network connection information and operating method thereof
US10051227B1 (en) Techniques for managing transition from ATSC 1.0 to ATSC 3.0
US20170171491A1 (en) Method and Electronic Device for Adjusting Video Subtitles
US20190069266A1 (en) Method and apparatus for determining location by using identification information corresponding to external electronic device
US20210099855A1 (en) Electronic device for identifying external electronic device and method of operating same
KR20230017666A (en) Electronic device and controlling method of electronic device
US20190064017A1 (en) Method and apparatus for analyzing a collision in an electronic device
KR20210025348A (en) Electronic device and Method for controlling the electronic device thereof
US20150310831A1 (en) Proximity detection of candidate companion display device in same room as primary display using camera
KR102187244B1 (en) Method for presenting a notification and an electronic device thereof