KR20240020087A - Electronic device for performing active noise cancellation and method for thereof - Google Patents
Electronic device for performing active noise cancellation and method for thereof Download PDFInfo
- Publication number
- KR20240020087A KR20240020087A KR1020220098102A KR20220098102A KR20240020087A KR 20240020087 A KR20240020087 A KR 20240020087A KR 1020220098102 A KR1020220098102 A KR 1020220098102A KR 20220098102 A KR20220098102 A KR 20220098102A KR 20240020087 A KR20240020087 A KR 20240020087A
- Authority
- KR
- South Korea
- Prior art keywords
- filter
- electronic device
- signal
- weight
- input signal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 60
- 238000010801 machine learning Methods 0.000 claims abstract description 26
- 238000001914 filtration Methods 0.000 claims abstract description 20
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 18
- 238000004891 communication Methods 0.000 claims description 57
- 230000008859 change Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 49
- 230000005236 sound signal Effects 0.000 description 45
- 238000010586 diagram Methods 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 238000013528 artificial neural network Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000000638 stimulation Effects 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1083—Reduction of ambient noise
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/04—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
- G10L19/26—Pre-filtering or post-filtering
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1058—Manufacture or assembly
- H04R1/1075—Mountings of transducers in earphones or headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2460/00—Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
- H04R2460/01—Hearing devices using active noise cancellation
Abstract
일 실시예에 따르면, 능동형 노이즈 제거(active noise cancellation)를 수행하는 전자 장치는, 입력 신호를 감지하기 위한 제1 마이크로폰; 및 상기 마이크로폰에 연결된 적어도 하나의 프로세서를 포함한다. 상기 적어도 하나의 프로세서는, 상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인할 수 있다. 상기 적어도 하나의 프로세서는, 상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정할 수 있다. 상기 적어도 하나의 프로세서는, 상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측할 수 있다. According to one embodiment, an electronic device that performs active noise cancellation includes: a first microphone for detecting an input signal; and at least one processor coupled to the microphone. The at least one processor may check a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal has been filtered. The at least one processor may determine a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal. The at least one processor may predict a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
Description
본 개시의 일 실시예는 피드-포워드(feed-forward) 능동형 노이즈 제거를 수행하기 위한 전자 장치 및 이의 동작 방법에 관한 것이다. One embodiment of the present disclosure relates to an electronic device and a method of operating the same for performing feed-forward active noise removal.
무선 오디오 장치는 휴대폰과 같은 전자 장치와 무선으로 연결되어, 휴대폰으로부터 수신되는 오디오 데이터를 출력할 수 있다. 무선 오디오 장치는 전자 장치와 무선으로 연결(예: 블루투스 연결)되기 때문에 사용자의 편의성이 증대될 수 있다. A wireless audio device can be wirelessly connected to an electronic device such as a mobile phone and output audio data received from the mobile phone. Wireless audio devices can increase user convenience because they are wirelessly connected to electronic devices (e.g., Bluetooth connection).
무선 오디오 장치 내 노이즈를 제거하기 위해 능동형 노이즈 제거(active noise cancellation, ANC) 방법이 수행될 수 있다. ANC는 첫 번째 신호를 제거하도록 설계된 두 번째 신호를 추가하여 사용자가 원치 않는 소리를 줄이는 방법이다. An active noise cancellation (ANC) method may be performed to remove noise within a wireless audio device. ANC is a way for users to reduce unwanted sounds by adding a second signal designed to eliminate the first signal.
최근 무선 오디오 장치의 사용이 크게 증가하고 있으며, 능동형 노이즈 제거 방법을 향상시키는 기술에 대한 필요성이 대두되고 있다. Recently, the use of wireless audio devices has increased significantly, and there is a need for technologies to improve active noise cancellation methods.
일 실시예에 따르면, 과제의 해결 수단이 상술한 해결 수단들로 제한되는 것은 아니며, 언급되지 아니한 해결 수단들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.According to one embodiment, the means for solving the problem are not limited to the above-mentioned solution means, and solution means not mentioned are clear to those skilled in the art from the present specification and the attached drawings. It will be understandable.
일 실시예에 따르면, 능동형 노이즈 제거(active noise cancellation)를 수행하는 전자 장치는, 입력 신호를 감지하기 위한 제1 마이크로폰; 및 상기 제1 마이크로폰에 연결된 적어도 하나의 프로세서를 포함한다. 상기 적어도 하나의 프로세서는, 상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인할 수 있다. 상기 적어도 하나의 프로세서는, 상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정할 수 있다. 상기 적어도 하나의 프로세서는, 상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측할 수 있다. According to one embodiment, an electronic device that performs active noise cancellation includes: a first microphone for detecting an input signal; and at least one processor connected to the first microphone. The at least one processor may check a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal has been filtered. The at least one processor may determine a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal. The at least one processor may predict a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
일 실시예에 따르면, 능동형 노이즈 제거를 수행하는 전자 장치의 동작 방법은, 입력 신호를 감지하는 단계를 포함할 수 있다. 상기 전자 장치의 동작 방법은, 상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인하는 단계를 포함할 수 있다. 상기 전자 장치의 동작 방법은, 상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정하는 단계를 포함할 수 있다. 상기 전자 장치의 동작 방법은, 상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측하는 단계를 포함할 수 있다. According to one embodiment, a method of operating an electronic device that performs active noise removal may include detecting an input signal. The method of operating the electronic device may include checking a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal has been filtered. there is. The method of operating the electronic device may include determining a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal. The method of operating the electronic device may include predicting a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
일 실시예에 따르면, 컴퓨터로 판독 가능한 기록 매체 내에 능동형 노이즈 제거 방법을 수행하는 명령어들(instructions)을 포함하는 적어도 하나의 컴퓨터 프로그램이 기록될 수 있다. 상기 능동형 노이즈 제거 방법은, 입력 신호를 감지하는 단계를 포함할 수 있다. 상기 능동형 노이즈 제거 방법은, 상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인하는 단계를 포함할 수 있다. 상기 능동형 노이즈 제거 방법은, 상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정하는 단계를 포함할 수 있다. 상기 능동형 노이즈 제거 방법은, 상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측하는 단계를 포함할 수 있다. According to one embodiment, at least one computer program including instructions for performing an active noise removal method may be recorded in a computer-readable recording medium. The active noise removal method may include detecting an input signal. The active noise removal method may include the step of checking a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal is filtered. . The active noise removal method may include determining a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal. The active noise removal method may include predicting a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
도 1은 일 실시예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2은 일 실시예에 따른 오디오 모듈의 블록도이다.
도 3은 일 실시예에 따른 전자 장치들 간 통신의 예시를 나타낸다.
도 4는 일 실시예에 따른 전자 장치에서 노이즈를 제거하는 과정을 설명하는 도면이다.
도 5 및 도 6은 일 실시예에 따른 전자 장치가 FxLMS를 이용하여 노이즈를 제거하는 과정을 설명하는 도면이다.
도 7은 일 실시예에 따른 전자 장치에 적용되는 필터 가중치를 예측하는 과정을 설명하는 도면이다.
도 8은 일 실시예에 따른 가중치 예측 모듈을 포함하는 전자 장치를 나타내는 도면이다.
도 9는 일 실시예에 따른 가중치 변경 예측 모듈을 포함하는 전자 장치를 나타내는 도면이다.
도 10은 일 실시예에 따른 전자 장치의 동작을 설명하는 도면이다.
도 11a 및 도 11b는 일 실시예에 따른 전자 장치의 동작에 따른 효과를 나타내는 도면이다.
도 12는 일 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 순서도이다. 1 is a block diagram of an electronic device in a network environment according to one embodiment.
Figure 2 is a block diagram of an audio module according to one embodiment.
Figure 3 shows an example of communication between electronic devices according to an embodiment.
FIG. 4 is a diagram illustrating a process for removing noise from an electronic device according to an embodiment.
Figures 5 and 6 are diagrams illustrating a process in which an electronic device removes noise using FxLMS, according to an embodiment.
FIG. 7 is a diagram illustrating a process for predicting filter weights applied to an electronic device according to an embodiment.
FIG. 8 is a diagram illustrating an electronic device including a weight prediction module according to an embodiment.
FIG. 9 is a diagram illustrating an electronic device including a weight change prediction module according to an embodiment.
FIG. 10 is a diagram explaining the operation of an electronic device according to an embodiment.
FIGS. 11A and 11B are diagrams showing effects resulting from the operation of an electronic device according to an embodiment.
FIG. 12 is a flowchart explaining a method of operating an electronic device according to an embodiment.
이하, 본 개시의 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 개시를 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 개시의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, embodiments of the present disclosure are described with reference to the attached drawings. However, this is not intended to limit the present disclosure to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present disclosure.
도 1은 일 실시예에 따른 네트워크 환경 내의 전자 장치의 블록도이다. 1 is a block diagram of an electronic device in a network environment according to one embodiment.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1, in the
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that can be used to connect the
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
The
일 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to one embodiment, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the
본 개시의 일 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 무선 오디오 장치(예: 무선 이어폰, 이어버드, TWS(true wireless stereo), 또는 이어셋(earset)), 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.An electronic device according to an embodiment of the present disclosure may be of various types. Electronic devices include, for example, wireless audio devices (e.g., wireless earphones, earbuds, true wireless stereo (TWS), or earsets), portable communication devices (e.g., smartphones), computer devices, and portable multimedia devices. , may include portable medical devices, cameras, wearable devices, or home appliance devices. Electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서의 일 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.An embodiment of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or substitutes for the embodiment. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서의 일 실시예에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 일 실시예는 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.One embodiment of the present document is one or more instructions stored in a storage medium (e.g., built-in
일 실시예에 따르면, 본 문서에 개시된 일 실시예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, a method according to an embodiment disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or via an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
일 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 일 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 일 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다. According to one embodiment, each component (e.g., module or program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately placed in other components. . According to one embodiment, one or more of the above-described corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to one embodiment, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or , or one or more other operations may be added.
도 2은 일 실시예에 따른 오디오 모듈의 블록도이다. Figure 2 is a block diagram of an audio module according to one embodiment.
도 2를 참조하면, 오디오 모듈(170)은, 예를 들면, 오디오 입력 인터페이스(210), 오디오 입력 믹서(220), ADC(analog to digital converter)(230), 오디오 신호 처리기(240), DAC(digital to analog converter)(250), 오디오 출력 믹서(260), 또는 오디오 출력 인터페이스(270)를 포함할 수 있다. Referring to FIG. 2, the
오디오 입력 인터페이스(210)는 입력 모듈(150)의 일부로서 또는 전자 장치(101)와 별도로 구성된 마이크(예: 다이나믹 마이크, 콘덴서 마이크, 또는 피에조 마이크)를 통하여 전자 장치(101)의 외부로부터 획득한 소리에 대응하는 오디오 신호를 수신할 수 있다. 예를 들어, 오디오 신호가 외부의 전자 장치(102)(예: 헤드셋 또는 마이크)로부터 획득되는 경우, 오디오 입력 인터페이스(210)는 상기 외부의 전자 장치(102)와 연결 단자(178)를 통해 직접, 또는 무선 통신 모듈(192)을 통하여 무선으로(예: Bluetooth 통신) 연결되어 오디오 신호를 수신할 수 있다. 일 실시예에 따르면, 오디오 입력 인터페이스(210)는 상기 외부의 전자 장치(102)로부터 획득되는 오디오 신호와 관련된 제어 신호(예: 입력 버튼을 통해 수신된 볼륨 조정 신호)를 수신할 수 있다. 오디오 입력 인터페이스(210)는 복수의 오디오 입력 채널들을 포함하고, 상기 복수의 오디오 입력 채널들 중 대응하는 오디오 입력 채널 별로 다른 오디오 신호를 수신할 수 있다. 일 실시예에 따르면, 추가적으로 또는 대체적으로, 오디오 입력 인터페이스(210)는 전자 장치(101)의 다른 구성 요소(예: 프로세서(120) 또는 메모리(130))로부터 오디오 신호를 입력 받을 수 있다.The
오디오 입력 믹서(220)는 입력된 복수의 오디오 신호들을 적어도 하나의 오디오 신호로 합성할 수 있다. 예를 들어, 일 실시예에 따르면, 오디오 입력 믹서(220)는, 오디오 입력 인터페이스(210)를 통해 입력된 복수의 아날로그 오디오 신호들을 적어도 하나의 아날로그 오디오 신호로 합성할 수 있다.The
ADC(230)는 아날로그 오디오 신호를 디지털 오디오 신호로 변환할 수 있다. 예를 들어, 일 실시예에 따르면, ADC(230)는 오디오 입력 인터페이스(210)을 통해 수신된 아날로그 오디오 신호, 또는 추가적으로 또는 대체적으로 오디오 입력 믹서(220)를 통해 합성된 아날로그 오디오 신호를 디지털 오디오 신호로 변환할 수 있다.The
오디오 신호 처리기(240)는 ADC(230)를 통해 입력 받은 디지털 오디오 신호, 또는 전자 장치(101)의 다른 구성 요소로부터 수신된 디지털 오디오 신호에 대하여 다양한 처리를 수행할 수 있다. 예를 들어, 일 실시예에 따르면, 오디오 신호 처리기(240)는 하나 이상의 디지털 오디오 신호들에 대해 샘플링 비율 변경, 하나 이상의 필터 적용, 보간(interpolation) 처리, 전체 또는 일부 주파수 대역의 증폭 또는 감쇄, 노이즈 처리(예: 노이즈 또는 에코 감쇄), 채널 변경(예: 모노 및 스테레오간 전환), 합성(mixing), 또는 지정된 신호 추출을 수행할 수 있다. 일 실시예에 따르면, 오디오 신호 처리기(240)의 하나 이상의 기능들은 이퀄라이저(equalizer)의 형태로 구현될 수 있다.The
DAC(250)는 디지털 오디오 신호를 아날로그 오디오 신호로 변환할 수 있다. 예를 들어, 일 실시예에 따르면, DAC(250)는 오디오 신호 처리기(240)에 의해 처리된 디지털 오디오 신호, 또는 전자 장치(101)의 다른 구성 요소(예: 프로세서(120) 또는 메모리(130))로부터 획득한 디지털 오디오 신호를 아날로그 오디오 신호로 변환할 수 있다.The
오디오 출력 믹서(260)는 출력할 복수의 오디오 신호들을 적어도 하나의 오디오 신호로 합성할 수 있다. 예를 들어, 일 실시예에 따르면, 오디오 출력 믹서(260)는 DAC(250)를 통해 아날로그로 전환된 오디오 신호 및 다른 아날로그 오디오 신호(예: 오디오 입력 인터페이스(210)을 통해 수신한 아날로그 오디오 신호)를 적어도 하나의 아날로그 오디오 신호로 합성할 수 있다. The
오디오 출력 인터페이스(270)는 DAC(250)를 통해 변환된 아날로그 오디오 신호, 또는 추가적으로 또는 대체적으로 오디오 출력 믹서(260)에 의해 합성된 아날로그 오디오 신호를 음향 출력 모듈(155) 를 통해 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)는, 예를 들어, dynamic driver 또는 balanced armature driver 같은 스피커, 또는 리시버를 포함할 수 있다. 일실시예에 따르면, 음향 출력 모듈(155)는 복수의 스피커들을 포함할 수 있다. 이런 경우, 오디오 출력 인터페이스(270)는 상기 복수의 스피커들 중 적어도 일부 스피커들을 통하여 서로 다른 복수의 채널들(예: 스테레오, 또는 5.1채널)을 갖는 오디오 신호를 출력할 수 있다. 일 실시예에 따르면, 오디오 출력 인터페이스(270)는 외부의 전자 장치(102)(예: 외부 스피커 또는 헤드셋)와 연결 단자(178)를 통해 직접, 또는 무선 통신 모듈(192)을 통하여 무선으로 연결되어 오디오 신호를 출력할 수 있다. The
일 실시예에 따르면, 오디오 모듈(170)은 오디오 입력 믹서(220) 또는 오디오 출력 믹서(260)를 별도로 구비하지 않고, 오디오 신호 처리기(240)의 적어도 하나의 기능을 이용하여 복수의 디지털 오디오 신호들을 합성하여 적어도 하나의 디지털 오디오 신호를 생성할 수 있다.According to one embodiment, the
일 실시예에 따르면, 오디오 모듈(170)은 오디오 입력 인터페이스(210)를 통해 입력된 아날로그 오디오 신호, 또는 오디오 출력 인터페이스(270)를 통해 출력될 오디오 신호를 증폭할 수 있는 오디오 증폭기(미도시)(예: 스피커 증폭 회로)를 포함할 수 있다. 일 실시예에 따르면, 상기 오디오 증폭기는 오디오 모듈(170)과 별도의 모듈로 구성될 수 있다.According to one embodiment, the
도 3은 일 실시예에 따른 전자 장치들 간 통신의 예시를 나타낸다. Figure 3 shows an example of communication between electronic devices according to an embodiment.
도 3를 참조하면, 제1 전자 장치(301) 및 제2 전자 장치(302)(예: 제1 무선 오디오 장치(302-1) 및/또는 제2 무선 오디오 장치(302-2))는 도 1 또는 도 2에 도시된 전자 장치와 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다. Referring to FIG. 3, the first
제1 전자 장치(301)는 예를 들어, 스마트폰, 태블릿, 데스크탑 컴퓨터, 또는 랩탑 컴퓨터와 같은 사용자 단말을 포함할 수 있다. 제2 전자 장치(302)는 무선 이어폰, 헤드셋, 이어 버드, TWS(true wireless stereo), 또는 이어셋(earset)을 포함할 수 있으나, 이에 한정되는 것은 아니다. 제2 전자 장치(302)는 오디오 신호를 수신하고, 수신된 오디오 신호를 출력하는 다양한 형태의 장치(예: 보청기, 또는 휴대용 음향기기)를 포함할 수 있다. The first
예를 들어, 제1 전자 장치(301)와 제2 전자 장치(302)는 블루투스 네트워크에 따라 근거리에서 무선 통신을 수행할 수 있다. 블루투스 네트워크는 예를 들어, 블루투스 레거시(legacy) 네트워크 또는 BLE 네트워크를 포함할 수 있다. 일 실시 예에 따라, 제1 전자 장치(301)와 제2 전자 장치(302)는 블루투스 레거시 네트워크 또는 BLE 네트워크 중 하나의 네트워크를 통해 무선 통신을 수행하거나, 두 개의 네트워크를 통해 무선 통신을 수행할 수 있다.For example, the first
예를 들어, 제1 전자 장치(301)에서 음악이 재생되면, 제1 전자 장치(301)가 제2 전자 장치(302)와 생성된 링크(예: 제1 링크(305) 및/또는 제2 링크(310))를 통하여 콘텐츠(예: 음악 데이터)를 포함하는 데이터 패킷을 전송할 수 있다. 예를 들어, 제2 전자 장치(302) 중 적어도 하나는 생성된 링크를 통하여 콘텐츠(예: 오디오 데이터)를 포함하는 데이터 패킷을 제1 전자 장치(301)로 전송할 수 있다. 예를 들어, 제1 무선 오디오 장치(302-1)와 제2 무선 오디오 장치(302-2)는 설정된 링크(예: 제3 링크(315))를 통하여 데이터 패킷 또는 메시지를 송수신할 수 있다. For example, when music is played on the first
도 4는 일 실시예에 따른 전자 장치에서 노이즈를 제거하는 과정을 설명하는 도면이다. FIG. 4 is a diagram illustrating a process for removing noise from an electronic device according to an embodiment.
도 4를 참조하면, 전자 장치는 무선 이어폰, 헤드셋, 이어 버드, TWS(true wireless stereo), 또는 이어셋(earset)으로 구현될 수 있다. 일 실시예에 따라, 전자 장치는 도 1 내지 도 3에 도시된 전자 장치 각각과 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다.Referring to FIG. 4, the electronic device may be implemented as a wireless earphone, headset, earbud, true wireless stereo (TWS), or earset. According to one embodiment, the electronic device may include components that are at least partially the same as or similar to each of the electronic devices shown in FIGS. 1 to 3 , and at least partially may perform the same or similar functions.
410 단계에서, 전자 장치는 마이크로폰(microphone)을 통해 입력되는 주변 소리(incoming ambient sound)를 감지할 수 있다. 420 단계에서, 감지된 주변 소리는 전자 장치 내 노이즈 제거 회로(noise cancellation circuitry)로 전송될 수 있다. In
430 단계에서, 전자 장치 내 노이즈 제거 회로(noise cancellation circuitry)는 주변 소리에 상응하는 파동(wave)을 반전시키고, 반전된 파동을 전자 장치 내 스피커(speaker)로 전송할 수 있다. In step 430, a noise cancellation circuitry in the electronic device may invert a wave corresponding to the surrounding sound and transmit the inverted wave to a speaker in the electronic device.
440 단계에서, 전자 장치는 노이즈 제거 회로에서 제공하는 반전된 파동을 이용하여 주변 소리를 제거하여 능동형 노이즈 제거(active noise cancellation, ANC) 동작을 수행할 수 있다. In
일 실시예에 따라, ANC를 위해 신호 필터링이 요구되며, 완전한 감쇠를 제공하는 필터는 물리적 제한으로 인해 존재하지 않을 수 있다. 또한, SoTA 적응형 필터(SoTA adaptive filter) 알고리즘은 최적의 고정된 가중치 필터의 성능을 달성할 만큼 충분히 빠르게 수렴하지 않을 수 있다.According to one embodiment, signal filtering is required for ANC, and a filter that provides complete attenuation may not exist due to physical limitations. Additionally, the SoTA adaptive filter algorithm may not converge quickly enough to achieve optimal fixed weight filter performance.
본 개시는 경사 하강법(gradient descent method)에 의존하는 기술에 비해 더 빠르고 더 나은 필터 적응을 제안하며, FxLMS(filtered reference least mean squares) 알고리즘의 약점을 극복하고, ANC의 효율성을 향상시킬 수 있다.This disclosure proposes faster and better filter adaptation compared to techniques relying on the gradient descent method, overcomes the weaknesses of the filtered reference least mean squares (FxLMS) algorithm, and can improve the efficiency of ANC. .
도 5 및 도 6은 일 실시예에 따른 전자 장치가 FxLMS를 이용하여 노이즈를 제거하는 과정을 설명하는 도면이다. 도 5 및 도 6에서 피드-포워드 능동형 노이즈 제어 시스템(feed-forward active noise control system)을 포함하는 전자 장치는 도 1 내지 도 4에 도시된 전자 장치 각각과 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다.Figures 5 and 6 are diagrams illustrating a process in which an electronic device removes noise using FxLMS, according to an embodiment. The electronic device including a feed-forward active noise control system in FIGS. 5 and 6 includes components that are at least partially the same or similar to each of the electronic devices shown in FIGS. 1 to 4. And at least some of them may perform the same or similar functions.
ANC 기법은 DSP(digital signal processor)에서 FXLMS 알고리즘을 이용하여 소음원으로부터 발생된 소음신호를 적응 신호 처리(adaptive signal processing) 기법에 의해 검출하고, 이 소음을 저감하기 위한 역위상의 부가신호를 발생시켜 줌으로써 능동적으로 소음을 저감하는 원리를 이용할 수 있다.The ANC technique uses the FXLMS algorithm in a DSP (digital signal processor) to detect a noise signal generated from a noise source using an adaptive signal processing technique, and generates an additional signal of an anti-phase to reduce this noise. By doing so, the principle of actively reducing noise can be used.
도 5는 FxLMS 알고리즘을 사용하는 피드-포워드 능동형 노이즈 제어 시스템의 일 예시를 도시한다. 일 실시예에 따라, 피드-포워드 능동형 노이즈 제어 시스템에서 ANC 시스템은 전자 장치에 포함되는 프로세서(예: 디지털 신호 프로세서(DSP))로 구현될 수 있다. Figure 5 shows an example of a feed-forward active noise control system using the FxLMS algorithm. According to one embodiment, in a feed-forward active noise control system, the ANC system may be implemented with a processor (eg, digital signal processor (DSP)) included in an electronic device.
도 5를 참조하면, 피드-포워드 능동형 노이즈 제어 시스템은 1차 경로(P)(510), ANC 시스템(또는 ANC 필터)(520), 및 2차 경로(S)(530)를 포함할 수 있다. ANC 시스템(520)은 필터(F)(522), 추정된 2차 경로()(524), 및 LMS 모듈(526)을 포함할 수 있다. Referring to Figure 5, the feed-forward active noise control system may include a primary path (P) 510, an ANC system (or ANC filter) 520, and a secondary path (S) 530. . The
입력 신호(x)는 소음원에 의해 발생된 신호(또는 주변 신호)이며, 참조 신호로도 지칭될 수 있다. 입력 신호(x)는 전자 장치 내 적어도 하나의 센서에 의해 측정될 수 있다. The input signal (x) is a signal (or surrounding signal) generated by a noise source and may also be referred to as a reference signal. The input signal (x) may be measured by at least one sensor in the electronic device.
일 실시예에 따라, 입력 신호(x)는 1차 경로(P)(510), 필터(F)(522), 및 추정된 2차 경로()(524) 각각으로 제공될 수 있다. 입력 신호(x)는 1차 경로(P)(510)를 거쳐 노이즈 신호(d)로 변환될 수 있다. 필터(F)(522)는 입력 신호(x)를 필터링하여 필터링된 신호(y)를 출력할 수 있다. 일 실시예에 따라, 필터(F)(522)는 신호 경로 상에 부가적 180° 위상 편이를 부과할 수 있다. 입력 신호(x)는 추정된 2차 경로()(524)를 거쳐 수정된 입력 신호 (x')로 변환될 수 있다.According to one embodiment, the input signal (x) is divided into a primary path (P) 510, a filter (F) 522, and an estimated secondary path ( )(524) can be provided respectively. The input signal (x) may be converted into a noise signal (d) through the primary path (P) 510. The filter (F) 522 may filter the input signal (x) and output the filtered signal (y). According to one embodiment, filter (F) 522 may impose an additional 180° phase shift on the signal path. The input signal (x) is the estimated secondary path ( ) can be converted to a modified input signal (x') through 524.
일 실시예에 따라, n번째 단계(예를 들어, n번째 시간)에서 필터(F)(522)에 의해 필터링된 신호(y)는 수학식 1과 같이 표현될 수 있다.According to one embodiment, the signal (y) filtered by the filter (F) 522 at the nth stage (eg, nth time) may be expressed as Equation 1.
[수학식 1][Equation 1]
여기서, x(n)은 n번째 단계에서의 입력 신호(x)이고, f(n)은 n번째 단계에서 필터에 적용되는 가중치(또는 가중치 함수)일 수 있다. 일 실시예에 따라, LMS 모듈(526)은 f(n)을 생성(또는 계산)할 수 있다.Here, x(n) may be the input signal (x) in the nth step, and f(n) may be a weight (or weight function) applied to the filter in the nth step. According to one embodiment,
필터(F)(522)에 의해 필터링된 신호(y)는 2차 경로(S)(530)를 거쳐 수정된 필터링된 신호(y')로 변환될 수 있다. 수정된 필터링된 신호(y')는 1차 경로(P)(510)의 출력인 노이즈 신호(d)와 중첩될 수 있다. 수정된 필터링된 신호(y')와 노이즈 신호(d) 간 중첩의 결과로 오차 신호(e)가 생성될 수 있다. The signal (y) filtered by the filter (F) 522 may be converted into a modified filtered signal (y') through a secondary path (S) 530. The modified filtered signal (y') may overlap with the noise signal (d), which is the output of the primary path (P) 510. An error signal (e) may be generated as a result of overlap between the modified filtered signal (y') and the noise signal (d).
LMS 모듈(526)은 추정된 2차 경로()(524)를 거쳐 수정된 입력 신호 (x') 및 오차 신호(e)에 기반하여 필터(F)(522)에 사용될 최적의 가중치(또는 필터 계수)를 계산하기 위해 LMS(least mean square) 알고리즘을 사용할 수 있다. 일 실시예에 따라, LMS 모듈(526)은 가중치(또는 필터 계수)를 결정하고, 이를 필터(F)(522)로 제공할 수 있다. 일 실시예에 따라, LMS 모듈(526)은 필터(F)(522)를 위한 최적 필터 계수 세트를 계산할 수 있고, 필터(F)(522)는 최적 필터 계수 세트에 상응하는 필터 전달 함수 W(z)를 갖을 수 있다. The
일 실시예에 따라, LMS 모듈(526)은 각 단계에서 LMS 알고리즘을 이용하여 수학식 2와 같이 필터(F)(522)에 대한 가중치(또는 가중치 함수)를 업데이트할 수 있다.According to one embodiment, the
[수학식 2][Equation 2]
여기서, 는 미리 설정된 계수이고, f(n)은 n번째 단계에서의 가중치(또는 가중치 함수)이고, x'(n)은 n번째 단계에서의 수정된 입력 신호 (x')이고, f(n+1)은 n+1번째 단계에서의 가중치(또는 가중치 함수)일 수 있다.here, is a preset coefficient, f(n) is the weight (or weight function) at the nth step, x'(n) is the modified input signal (x') at the nth step, and f(n+1 ) may be the weight (or weight function) at the n+1th step.
일 실시예에 따라, ANC 시스템(520)은 적어도 2 개의 스피커(예: noise speaker, cancelling speaker), 적어도 2개의 마이크로폰(예: reference microphone, error microphone), 및 컨트롤러(controller)를 포함할 수 있다. noise speaker는 소음을 발생시키는 스피커이고, cancelling speaker는 소음 제어를 위한 소리를 발생시키는 스피커일 수 있다. reference microphone는 제어하고자 하는 소음을 미리 측정하는 마이크로폰이고, error microphone는 소음 제어 결과를 측정하는 마이크로폰일 수 있다. According to one embodiment, the
일 실시예에 따라, x(n)은 reference microphone이 측정한 신호이고, e(n)은 error microphone이 측정한 신호일 수 있다. 일 실시예에 따라, d(n)은 ANC를 통해 제어되어야 하는 소음일 수 있다. According to one embodiment, x(n) may be a signal measured by a reference microphone, and e(n) may be a signal measured by an error microphone. According to one embodiment, d(n) may be noise that must be controlled through ANC.
도 6을 참조하면, 피드-포워드 능동형 노이즈 제어 시스템은 1차 경로(P)(610), ANC 시스템(또는 ANC 필터)(620), 및 2차 경로(S)(630)를 포함할 수 있다. ANC 시스템(620)은 필터(F)(622), 추정된 2차 경로()(624), 및 LMS 모듈(626)을 포함할 수 있다. ANC 시스템(620)은 전자 장치에 포함되는 프로세서(예: 디지털 신호 프로세서(DSP))로 구현될 수 있다.Referring to Figure 6, the feed-forward active noise control system may include a primary path (P) 610, an ANC system (or ANC filter) 620, and a secondary path (S) 630. . The
일 실시예에 따라, LMS 모듈(626)은 수학식 3과 같이 장기적으로 오차 신호(e)에 대한 평균 제곱 오차(mean squared error)를 최소화하도록 제어할 수 있다.According to one embodiment, the
[수학식 3][Equation 3]
일 실시예에 따라, FxLMS는 수학식 4와 같이 평균에서 최적 솔루션으로 수렴할 수 있다.According to one embodiment, FxLMS may converge from the average to the optimal solution as shown in Equation 4.
[수학식 4][Equation 4]
여기서, F0(z)는 필터(F)(622)에 대한 z 도메인에서의 전달 함수이고, P(z)는 1차 경로(P)(610)에 대한 z 도메인에서의 전달 함수이고, S(z)는 2차 경로(S)(630)에 대한 z 도메인에서의 전달 함수일 수 있다.where F 0 (z) is the transfer function in the z domain for the filter (F) 622, P(z) is the transfer function in the z domain for the primary path (P) 610, and S (z) may be a transfer function in the z domain for the secondary path (S) 630.
일 실시예에 따라, 수학식 4 및 수학식 5를 참조하면, 필터(F)(622)는 유한 임펄스 응답 필터(예: finite impulse response filter (zeros only))로 표시되며 무한 응답 전달 함수(infinite response transfer function)에 근사하는 경향을 갖을 수 있다.According to one embodiment, referring to Equation 4 and Equation 5, the filter (F) 622 is expressed as a finite impulse response filter (e.g., finite impulse response filter (zeros only)) and has an infinite response transfer function (infinite It may have a tendency to approximate the response transfer function.
[수학식 5][Equation 5]
일 실시예에 따라, S(z)는 단위 원 외부의 poles을 갖을 수 있고, casual FIR 필터에 의한 잘못된 근사가 수행되고, 제한된 소음만이 제거될 수 있다. According to one embodiment, S(z) may have poles outside the unit circle, a false approximation by a casual FIR filter is performed, and only limited noise can be removed.
도 7은 일 실시예에 따른 전자 장치에 적용되는 필터 가중치를 예측하는 과정을 설명하는 도면이다. FIG. 7 is a diagram illustrating a process for predicting filter weights applied to an electronic device according to an embodiment.
본 개시는 ANC 적용 시 적응 필터에 대한 미래 가중치(또는 매개변수)를 예측하는 방안을 제안한다. 일 실시예에 따라, 필터에 다른 시점의 필터 가중치를 사용하여 필터링된 신호(y)를 출력하면 현재 시점의 ANC 성능이 향상되는 경우가 발생할 수 있다.This disclosure proposes a method for predicting future weights (or parameters) for an adaptive filter when applying ANC. According to one embodiment, when a filtered signal (y) is output using a filter weight at a different time point to a filter, ANC performance at the current time point may be improved.
도 7을 참조하면, 필터 가중치의 시간 진행 값(time advancement of filter weights)(K)에 따른 신호 감쇠(attenuation) 정도가 그래프로 표시될 수 있다. 일 실시예에 따라, 필터 가중치의 시간 진행 값(K)에 따라 신호 감쇠가 더 증가하는 구간이 발생할 수 있다. 일 실시예에 따라, 필터 가중치의 시간 진행 값(K) 및 이에 따른 신호 감쇠는 기계 학습 모델(machine learning model)에 의해 예측될 수 있다.Referring to FIG. 7, the degree of signal attenuation according to the time advancement of filter weights (K) can be displayed in a graph. According to one embodiment, a section in which signal attenuation further increases may occur depending on the time progress value (K) of the filter weight. According to one embodiment, the time progression value (K) of the filter weight and the resulting signal attenuation may be predicted by a machine learning model.
일 실시예에 따라, n번째 단계(예를 들어, n번째 시간)에서 필터(F)에 의해 필터링된 신호 y(n)는 수학식 6과 같이 표현될 수 있다.According to one embodiment, the signal y(n) filtered by the filter F at the nth step (eg, nth time) may be expressed as
[수학식 6][Equation 6]
여기서, x(n)은 n번째 단계(예를 들어, n번째 시간)에서의 입력 신호(x)이고, f(n+K)은 n+K 번째 단계에서 필터에 적용되는 가중치(또는 가중치 함수)일 수 있다. 일 실시예에 따라, 필터 가중치의 시간 진행 값(K)는 기계 학습 모델(machine learning model)에 의해 계산될 수 있다. 일 실시예에 따라, 기계 학습 모델(machine learning model)은 전자 장치가 스스로 데이터를 분석하고 미래 필터 가중치를 예측하는 기술일 수 있다. Here, x(n) is the input signal (x) at the nth step (e.g., the nth time), and f(n+K) is the weight (or weight function) applied to the filter at the n+Kth step. ) can be. According to one embodiment, the time progression value (K) of the filter weight may be calculated by a machine learning model. According to one embodiment, a machine learning model may be a technology in which an electronic device analyzes data on its own and predicts future filter weights.
도 8 및 도 9는 일 실시예에 따른 전자 장치가 FxLMS를 이용하여 노이즈를 제거하는 과정을 설명하는 도면이다. 도 8 및 도 9에서 피드-포워드 능동형 노이즈 제어 시스템(feed-forward active noise control system)을 포함하는 전자 장치는 도 1 내지 도 4에 도시된 전자 장치 각각과 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다.FIGS. 8 and 9 are diagrams illustrating a process in which an electronic device removes noise using FxLMS, according to an embodiment. The electronic device including the feed-forward active noise control system in FIGS. 8 and 9 includes components that are at least partially the same or similar to each of the electronic devices shown in FIGS. 1 to 4. And at least some of them may perform the same or similar functions.
도 8은 일 실시예에 따른 가중치 예측 모듈을 포함하는 전자 장치를 나타내는 도면이다. 일 실시예에 따라, 피드-포워드 능동형 노이즈 제어 시스템에서 ANC 시스템은 전자 장치에 포함되는 프로세서(예: 디지털 신호 프로세서(DSP))로 구현될 수 있다. FIG. 8 is a diagram illustrating an electronic device including a weight prediction module according to an embodiment. According to one embodiment, in a feed-forward active noise control system, the ANC system may be implemented with a processor (eg, digital signal processor (DSP)) included in an electronic device.
도 8을 참조하면, 피드-포워드 능동형 노이즈 제어 시스템은 1차 경로(P)(810), ANC 시스템(또는 ANC 필터)(820), 및 2차 경로(S)(830)를 포함할 수 있다. ANC 시스템(820)은 제1 필터(F)(821), 제2 필터(Fpred)(822), 추정된 2차 경로()(823, 824, 825), LMS 모듈(826), 및 가중치 예측 모듈(weight prediction)(827)을 포함할 수 있다. Referring to Figure 8, the feed-forward active noise control system may include a primary path (P) 810, an ANC system (or ANC filter) 820, and a secondary path (S) 830. . The
입력 신호(x)는 소음원에 의해 발생된 신호(또는 주변 신호)이며, 참조 신호(ref)로도 지칭될 수 있다. 입력 신호(x)는 전자 장치 내 적어도 하나의 센서 또는 마이크로폰에 의해 측정될 수 있다. The input signal (x) is a signal (or surrounding signal) generated by a noise source and may also be referred to as a reference signal (ref). The input signal (x) may be measured by at least one sensor or microphone within the electronic device.
일 실시예에 따라, 입력 신호(x)는 1차 경로(P)(810), 제1 필터(F)(821), 제2 필터(Fpred)(822), 및 추정된 2차 경로()(824) 각각으로 제공될 수 있다. 입력 신호(x)는 1차 경로(P)(810)를 거쳐 노이즈 신호(d)로 변환될 수 있다. According to one embodiment, the input signal (x) includes a primary path (P) 810, a first filter (F) 821, a second filter (F pred ) 822, and an estimated secondary path ( )(824) can be provided respectively. The input signal (x) may be converted into a noise signal (d) through the primary path (P) 810.
일 실시예에 따라, 제1 필터(F)(821)는 입력 신호(x)를 필터링하여 제1 필터링 신호(y)를 출력할 수 있다. 제1 필터(F)(821)는 피드백 루프를 통해 반복적으로 계산되는 제1 필터링 신호(y)를 가중치 예측 모듈(827)로 제공할 수 있다. 가중치 예측 모듈(827)은 제1 필터링 신호(y)에 기반하여 제2 필터(Fpred)(822)에 적용할 예측 가중치를 계산(또는 생성)할 수 있다. 일 실시예에 따라, 가중치 예측 모듈(827)은 복수의 제1 필터링 신호(y)에 기반하여 머신 러닝을 통해 제2 필터(Fpred)(822)에 적용할 예측 가중치를 계산(또는 생성)할 수 있다.According to one embodiment, the first filter (F) 821 may filter the input signal (x) and output a first filtered signal (y). The first filter (F) 821 may provide a first filtering signal (y) repeatedly calculated through a feedback loop to the
일 실시예에 따라, 입력 신호(x)는 추정된 2차 경로()(824)를 거쳐 수정된 입력 신호 (x')로 변환될 수 있다. 수정된 입력 신호 (x')는 LMS 모듈(826)로 제공되며, LMS 모듈(826)은 가중치(또는 필터 계수)를 결정하고, 이를 제1 필터(F)(821)로 제공할 수 있다. 일 실시예에 따라, LMS 모듈(826)은 제1 필터(F)(821)를 위한 최적 필터 계수 세트를 계산할 수 있고, 제1 필터(F)(821)는 최적 필터 계수 세트에 상응하는 필터 전달 함수 W(z)를 갖을 수 있다.According to one embodiment, the input signal (x) is an estimated secondary path ( ) can be converted into a modified input signal (x') through 824. The modified input signal (x') is provided to the
일 실시예에 따라, 제2 필터(Fpred)(822)에 의해 필터링된 제2 필터링 신호(y)는 2차 경로(S)(830)를 거쳐 수정된 필터링된 신호(y')로 변환될 수 있다. 수정된 필터링된 신호(y')는 1차 경로(P)(810)의 출력인 노이즈 신호(d)와 중첩될 수 있다. 수정된 필터링된 신호(y')와 노이즈 신호(d) 간 중첩의 결과로 오차 신호(e)가 생성될 수 있다. According to one embodiment, the second filtered signal (y) filtered by the second filter (F pred ) 822 is converted into a modified filtered signal (y') via a secondary path (S) 830. It can be. The modified filtered signal (y') may overlap with the noise signal (d) that is the output of the primary path (P) 810. An error signal (e) may be generated as a result of overlap between the modified filtered signal (y') and the noise signal (d).
일 실시예에 따라, n번째 단계(예를 들어, n번째 시간)에서 제2 필터(Fpred)(822)에 의해 필터링된 제2 필터링 신호(y)는 수학식 7과 같이 표현될 수 있다.According to one embodiment, the second filtering signal (y) filtered by the second filter (F pred ) 822 at the nth stage (e.g., nth time) may be expressed as Equation 7: .
[수학식 7][Equation 7]
여기서, x(n)은 n번째 단계(예를 들어, n번째 시간)에서의 입력 신호(x)이고, f(n+K)은 n+K 번째 단계에서 제2 필터(Fpred)(822)에 적용되는 가중치(또는 가중치 함수)일 수 있다. 일 실시예에 따라, 필터 가중치의 시간 진행 값(K)은 기계 학습 모델(machine learning model)에 의해 계산될 수 있다. 일 실시예에 따라, 가중치 예측 모듈(827)은 f(n+K)을 예측(또는 계산)할 수 있다.Here, x(n) is the input signal (x) at the nth stage (e.g., nth time), and f(n+K) is the second filter (F pred ) at the n+Kth stage (822 ) may be a weight (or weight function) applied to According to one embodiment, the time progression value (K) of the filter weight may be calculated by a machine learning model. According to one embodiment, the
일 실시예에 따라, 가중치 예측 모듈(827)은 머신 러닝 모델에 기반하여 수학식 8과 같이 제2 필터(Fpred)(822)에 대한 가중치(또는 가중치 함수)를 예측할 수 있다.According to one embodiment, the
[수학식 8][Equation 8]
여기서, f(n)은 n번째 단계에서의 가중치(또는 가중치 함수)이고, f(n-1)은 n-1번째 단계에서의 가중치(또는 가중치 함수)이고, f(n-2)은 n-2번째 단계에서의 가중치(또는 가중치 함수)이고, f(n-p)은 n-p 번째 단계에서의 가중치(또는 가중치 함수)일 수 있다. M(f(n),f(n-1),f(n-2),..., f(n-p))은 n번째 단계부터 n-p 번째 단계까지의 가중치(또는 가중치 함수)를 고려한 머신 러닝 모델 함수일 수 있다. Here, f(n) is the weight (or weight function) at the nth step, f(n-1) is the weight (or weight function) at the n-1th step, and f(n-2) is the nth step. -This is the weight (or weight function) in the second stage, and f(n-p) may be the weight (or weight function) in the n-pth stage. M(f(n),f(n-1),f(n-2),..., f(n-p)) is machine learning considering the weights (or weight function) from the nth step to the n-pth step. It may be a model function.
도 9는 일 실시예에 따른 가중치 변경 예측 모듈을 포함하는 전자 장치를 나타내는 도면이다.FIG. 9 is a diagram illustrating an electronic device including a weight change prediction module according to an embodiment.
도 9는 FxLMS 알고리즘을 사용하는 피드-포워드 능동형 노이즈 제어 시스템(feed-forward active noise control system)의 일 예시를 도시한다. 일 실시예에 따라, 피드-포워드 능동형 노이즈 제어 시스템에서 ANC 시스템은 전자 장치에 포함되는 프로세서(예: 디지털 신호 프로세서(DSP))로 구현될 수 있다. Figure 9 shows an example of a feed-forward active noise control system using the FxLMS algorithm. According to one embodiment, in a feed-forward active noise control system, the ANC system may be implemented with a processor (eg, digital signal processor (DSP)) included in an electronic device.
도 9를 참조하면, 피드-포워드 능동형 노이즈 제어 시스템은 1차 경로(P)(910), ANC 시스템(또는 ANC 필터)(920), 및 2차 경로(S)(930)를 포함할 수 있다. ANC 시스템(920)은 필터(F)(922), 추정된 2차 경로()(924), LMS 모듈(926), 및 가중치 변경 예측 모듈(928)을 포함할 수 있다. Referring to Figure 9, the feed-forward active noise control system may include a primary path (P) 910, an ANC system (or ANC filter) 920, and a secondary path (S) 930. . The
입력 신호(x)는 소음원에 의해 발생된 신호(또는 주변 신호)이며, 참조 신호로도 지칭될 수 있다. 입력 신호(x)는 전자 장치 내 적어도 하나의 센서 또는 마이크로폰에 의해 측정될 수 있다. The input signal (x) is a signal (or surrounding signal) generated by a noise source and may also be referred to as a reference signal. The input signal (x) may be measured by at least one sensor or microphone within the electronic device.
일 실시예에 따라, 입력 신호(x)는 1차 경로(P)(910), 필터(F)(922), 및 추정된 2차 경로()(924) 각각으로 제공될 수 있다. 입력 신호(x)는 1차 경로(P)(910)를 거쳐 노이즈 신호(d)로 변환될 수 있다. 필터(F)(922)는 입력 신호(x)를 필터링하여 필터링된 신호(y)를 출력할 수 있다. 입력 신호(x)는 추정된 2차 경로()(924)를 거쳐 수정된 입력 신호 (x')로 변환될 수 있다.According to one embodiment, the input signal (x) is divided into a primary path (P) 910, a filter (F) 922, and an estimated secondary path ( )(924) can be provided respectively. The input signal (x) may be converted into a noise signal (d) through the primary path (P) 910. The filter (F) 922 may filter the input signal (x) and output the filtered signal (y). The input signal (x) is the estimated secondary path ( ) can be converted to a modified input signal (x') through 924.
일 실시예에 따라, 필터(F)(922)에 의해 필터링된 신호(y)는 2차 경로(S)(930)를 거쳐 수정된 필터링된 신호(y')로 변환될 수 있다. 수정된 필터링된 신호(y')는 1차 경로(P)(910)의 출력인 노이즈 신호(d)와 중첩될 수 있다. 수정된 필터링된 신호(y')와 노이즈 신호(d) 간 중첩의 결과로 오차 신호(e)가 생성될 수 있다. According to one embodiment, the signal (y) filtered by the filter (F) 922 may be converted into a modified filtered signal (y') through a secondary path (S) 930. The modified filtered signal (y') may overlap with the noise signal (d) that is the output of the primary path (P) 910. An error signal (e) may be generated as a result of overlap between the modified filtered signal (y') and the noise signal (d).
일 실시예에 따라, LMS 모듈(926)은 추정된 2차 경로()(924)를 거쳐 수정된 입력 신호 (x') 및 오차 신호(e)에 기반하여 필터(F)(922)에 사용될 최적의 가중치(또는 필터 계수)를 계산하기 위해 LMS(least mean square) 알고리즘을 사용할 수 있다. 일 실시예에 따라, LMS 모듈(926)은 가중치(또는 필터 계수)를 결정하고, 이를 가중치 변경 예측 모듈(928)로 제공할 수 있다. According to one embodiment, the
일 실시예에 따라, LMS 모듈(926)은 n번째 단계(예를 들어, n번째 시간)에서의 가중치(또는 필터 계수) 변화 df(n)를 수학식 9와 같이 계산할 수 있다.According to one embodiment, the
[수학식 9][Equation 9]
여기서, 는 미리 설정된 계수이고, e(n)은 n번째 단계에서의 오차 신호(e)이고, x'(n)은 n번째 단계에서의 수정된 입력 신호 (x')일 수 있다.here, is a preset coefficient, e(n) may be an error signal (e) at the nth stage, and x'(n) may be a modified input signal (x') at the nth stage.
일 실시예에 따라, LMS 모듈(926)은 가중치(또는 필터 계수) 변화 df(n)을 가중치 변경 예측 모듈(928)로 제공할 수 있다.According to one embodiment, the
일 실시예에 따라, 가중치 변경 예측 모듈(928)은 머신 러닝 모델을 이용하여 수학식 10와 같이 필터(F)(922)에 대한 가중치(또는 가중치 함수)를 예측할 수 있다.According to one embodiment, the weight
[수학식 10][Equation 10]
여기서, df(n)은 n번째 단계에서의 가중치(또는 가중치 함수) 변화이고, df(n-1)은 n-1번째 단계에서의 가중치(또는 가중치 함수) 변화이고, df(n-2)은 n-2번째 단계에서의 가중치(또는 가중치 함수) 변화이고, df(n-p)은 n-p 번째 단계에서의 가중치(또는 가중치 함수) 변화일 수 있다. M(df(n),df(n-1),df(n-2),..., df(n-p))은 n번째 단계부터 n-p 번째 단계까지의 가중치(또는 가중치 함수) 변화를 고려한 머신 러닝 모델 함수일 수 있다. f(n+K-1)은 n+K-1 단계에서의 가중치(또는 가중치 함수)이고, f(n+K)는 n+K 단계에서의 가중치(또는 가중치 함수)일 수 있다. Here, df(n) is the change in weight (or weight function) at the nth step, df(n-1) is the change in weight (or weight function) at the n-1th step, and df(n-2) is the weight (or weight function) change in the n-2th step, and df(n-p) may be the weight (or weight function) change in the n-pth step. M(df(n),df(n-1),df(n-2),..., df(n-p)) is a machine that considers the change in weight (or weight function) from the nth step to the n-pth step. It may be a learning model function. f(n+K-1) may be a weight (or weight function) at step n+K-1, and f(n+K) may be a weight (or weight function) at step n+K.
일 실시예에 따라, n번째 단계(예를 들어, n번째 시간)에서 필터(F)(922)에 의해 필터링된 신호(y)는 수학식 11과 같이 표현될 수 있다.According to one embodiment, the signal (y) filtered by the filter (F) 922 at the nth stage (eg, nth time) may be expressed as Equation 11.
[수학식 11][Equation 11]
여기서, x(n)은 n번째 단계(예를 들어, n번째 시간)에서의 입력 신호(x)이고, f(n+K)은 n+K 번째 단계에서 필터(F)(922)에 적용되는 가중치(또는 가중치 함수)일 수 있다. 일 실시예에 따라, 필터 가중치의 시간 진행 값(K)은 기계 학습 모델(machine learning model)에 의해 계산될 수 있다. 일 실시예에 따라, 가중치 변경 예측 모듈(928)은 f(n+K)을 예측(또는 계산)할 수 있다.Here, x(n) is the input signal (x) at the nth step (e.g., nth time), and f(n+K) is applied to the filter (F) 922 at the n+Kth step. It may be a weight (or weight function) that is According to one embodiment, the time progression value (K) of the filter weight may be calculated by a machine learning model. According to one embodiment, the weight
도 10은 일 실시예에 따른 전자 장치의 동작을 설명하는 도면이다. FIG. 10 is a diagram explaining the operation of an electronic device according to an embodiment.
도 10을 참조하면, 전자 장치는 능동형 노이즈 제거(active noise cancellation, ANC)를 수행하기 위한 ANC 시스템을 시작할 수 있다(1000). 전자 장치는 ANC를 위한 제1 모드(1010) 및/또는 제2 모드(1020)를 실행할 수 있다. 도 10에서 전자 장치는 도 1 내지 도 9에 도시된 전자 장치 각각과 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다.Referring to FIG. 10, the electronic device may start an ANC system to perform active noise cancellation (ANC) (1000). The electronic device may execute a
일 실시예에 따라, 전자 장치가 ANC를 위한 제1 모드(1010) 실행 시 초기 수렴(initial convergence, 1011) 후 필터에 대한 가중치를 수집할 수 있다(filter weight gathering, 1013). 전자 장치는 필터에 대한 가중치 수집 후 필터에 적용할 최적의 가중치 쉬프트를 추정할 수 있다(estimation of optimal weight shift, 1015). 전자 장치는 필터에 적용할 최적의 가중치 쉬프트 추정 후 가중치에 대한 예측 모델 트레이닝(prediction model training, 1017)을 수행할 수 있다. According to one embodiment, when the electronic device executes the
일 실시예에 따라, 전자 장치가 ANC를 위한 제2 모드(1020) 실행 시 필터 가중치에 대한 예측 모델을 적용할 수 있다(apply predictive model, 1021). 전자 장치는 ANC 성능을 모니터링할 수 있다(monitor ANC performance, 1023). 전자 장치는 ANC 성능 모니터링 후 필터 가중치 수집하고(filter weight gathering, 1025), 필터 가중치에 대한 예측 모델 리트레이닝(Prediction model retraining, 1027)을 수행할 수 있다. 전자 장치는 필터 가중치에 대한 예측 모델 리트레이닝 후 다시 필터 가중치에 대한 예측 모델을 적용할 수 있다(apply predictive model, 1021).According to one embodiment, the electronic device may apply a predictive model for filter weights when executing the
도 11a 및 도 11b는 일 실시예에 따른 전자 장치의 동작에 따른 효과를 나타내는 도면이다. FIGS. 11A and 11B are diagrams showing effects resulting from the operation of an electronic device according to an embodiment.
도 11a를 참조하면, Feed-forward FxLMS 방식, 도 8에 도시된 가중치 예측(weight prediction) 방식, 도 9에 도시된 가중치 업데이트(weight update prediction) 방식, wiener 방식 각각의 시뮬레이션에 따른 각 주파수 별 attenuation 을 나타낸다. Referring to FIG. 11A, attenuation for each frequency according to simulations of the feed-forward FxLMS method, the weight prediction method shown in FIG. 8, the weight update prediction method shown in FIG. 9, and the wiener method. represents.
도 11b를 참조하면, 도 8에 도시된 가중치 예측(weight prediction) 방식, 또는 도 9에 도시된 가중치 업데이트(weight update prediction) 방식은 200~300Hz 범위에서 최소가 아닌 위상 영점에 대해 6~10dB 정도의 성능이 향상될 수 있다.Referring to FIG. 11B, the weight prediction method shown in FIG. 8 or the weight update prediction method shown in FIG. 9 has about 6 to 10 dB for non-minimum phase zero in the range of 200 to 300 Hz. performance can be improved.
도 12는 일 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 순서도이다. Figure 12 is a flowchart for explaining a method of operating an electronic device according to an embodiment.
도 12를 참조하면, 1210 단계에서, 전자 장치는 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인할 수 있다. 일 실시예에 따라, 전자 장치는 무선 이어폰, 헤드셋, 이어 버드, TWS(true wireless stereo), 또는 이어셋 중 하나일 수 있다. 도 12에서 전자 장치는 도 1 내지 도 10에 도시된 전자 장치 각각과 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다.Referring to FIG. 12, in
1220 단계에서, 전자 장치는 상기 입력 신호 및 상기 오차 신호에 기반하여 LMS 알고리즘을 이용하여 복수의 필터 가중치들을 결정할 수 있다. 1230 단계에서, 전자 장치는 상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측할 수 있다. In
1240 단계에서, 전자 장치는 상기 필터 가중치에 기반하여 상기 입력 신호를 필터링하여 제2 필터링 신호를 생성할 수 있다. 1250 단계에서, 전자 장치는 상기 입력 신호 및 상기 제2 필터링 신호에 기반하여 상기 오차 신호가 미리 설정된 범위 내에 속하도록 상기 노이즈 신호를 제거할 수 있다. In
일 실시예에 따라, 전자 장치는 상기 입력 신호를 감지하기 위한 제1 마이크로 폰 및 상기 오차 신호를 감지하기 위한 제2 마이크로폰을 더 포함할 수 있다. 일 실시예에 따라, 전자 장치는 상기 필터, 및 상기 복수의 필터 가중치들에 기반하여 상기 머신 러닝을 이용하여 상기 필터에 적용될 상기 필터 가중치를 예측하는 가중치 예측 모듈을 더 포함할 수 있다. 일 실시예에 따라, 전자 장치는 상기 복수의 필터 가중치들에 기반하여 상기 머신 러닝을 이용하여 상기 필터에 적용될 상기 필터 가중치의 변화를 예측하는 가중치 변경 예측 모듈을 더 포함할 수 있다. 일 실시예에 따라, 전자 장치는 외부 전자 장치와 블루투스 네트워크에 따라 근거리에서 무선 통신을 수행할 수 있다. According to one embodiment, the electronic device may further include a first microphone for detecting the input signal and a second microphone for detecting the error signal. According to one embodiment, the electronic device may further include a weight prediction module that predicts the filter weight to be applied to the filter using machine learning based on the filter and the plurality of filter weights. According to one embodiment, the electronic device may further include a weight change prediction module that predicts a change in the filter weight to be applied to the filter using the machine learning based on the plurality of filter weights. According to one embodiment, an electronic device may perform wireless communication with an external electronic device in a short distance based on a Bluetooth network.
일 실시예에 따르면, 컴퓨터로 판독 가능한 기록 매체 내에 능동형 노이즈 제거 방법을 수행하는 명령어들(instructions)을 포함하는 적어도 하나의 컴퓨터 프로그램이 기록될 수 있다. 상기 능동형 노이즈 제거 방법은, 입력 신호를 감지하는 단계를 포함할 수 있다. 상기 능동형 노이즈 제거 방법은, 상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인하는 단계를 포함할 수 있다. 상기 능동형 노이즈 제거 방법은, 상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정하는 단계를 포함할 수 있다. 상기 능동형 노이즈 제거 방법은, 상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측하는 단계를 포함할 수 있다. According to one embodiment, at least one computer program including instructions for performing an active noise removal method may be recorded in a computer-readable recording medium. The active noise removal method may include detecting an input signal. The active noise removal method may include the step of checking a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal is filtered. . The active noise removal method may include determining a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal. The active noise removal method may include predicting a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
Claims (17)
입력 신호를 감지하기 위한 제1 마이크로폰(도 1의 150); 및
상기 제1 마이크로폰에 연결된 적어도 하나의 프로세서(도 1의 120; 도 8의 820; 도 9의 920;)를 포함하고, 상기 적어도 하나의 프로세서(도 1의 120; 도 8의 820; 도 9의 920;)는,
상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인하고,
상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정하고,
상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측하도록 설정되는, 전자 장치. In an electronic device that performs active noise cancellation,
A first microphone (150 in FIG. 1) for detecting an input signal; and
It includes at least one processor (120 in FIG. 1; 820 in FIG. 8; 920 in FIG. 9) connected to the first microphone, and the at least one processor (120 in FIG. 1; 820 in FIG. 8; 920 in FIG. 9). 920;) is,
Checking a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal is filtered,
Determining a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal,
An electronic device configured to predict a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
상기 필터 가중치에 기반하여 상기 입력 신호를 필터링하여 제2 필터링 신호를 생성하도록 설정되는, 전자 장치. The method of claim 1, wherein the at least one processor:
An electronic device configured to generate a second filtering signal by filtering the input signal based on the filter weight.
상기 입력 신호 및 상기 필터 가중치에 기반하여 상기 오차 신호가 미리 설정된 범위 내에 속하도록 상기 노이즈 신호를 제거하도록 설정되는, 전자 장치. The method of claim 1 or 2, wherein the at least one processor:
An electronic device configured to remove the noise signal so that the error signal falls within a preset range based on the input signal and the filter weight.
상기 오차 신호를 감지하기 위한 제2 마이크로폰을 더 포함하도록 설정되는, 전자 장치. According to either paragraph 1 or 3,
The electronic device is configured to further include a second microphone for detecting the error signal.
상기 필터; 및
상기 복수의 필터 가중치들에 기반하여 상기 머신 러닝을 이용하여 상기 필터에 적용될 상기 필터 가중치를 예측하는 가중치 예측 모듈을 더 포함하도록 설정되는, 전자 장치. The method of claim 1 or 4, wherein the at least one processor:
the filter; and
The electronic device is configured to further include a weight prediction module that predicts the filter weight to be applied to the filter using the machine learning based on the plurality of filter weights.
상기 복수의 필터 가중치들에 기반하여 상기 머신 러닝을 이용하여 상기 필터에 적용될 상기 필터 가중치의 변화를 예측하는 가중치 변경 예측 모듈을 더 포함하도록 설정되는, 전자 장치. The method of claim 1 or 5, wherein the at least one processor:
The electronic device is configured to further include a weight change prediction module that predicts a change in the filter weight to be applied to the filter using the machine learning based on the plurality of filter weights.
상기 전자 장치는 무선 이어폰, 헤드셋, 이어 버드, TWS(true wireless stereo), 또는 이어셋 중 하나인, 전자 장치. According to any one of paragraphs 1 and 6,
The electronic device is one of wireless earphones, a headset, earbuds, true wireless stereo (TWS), or an earset.
상기 전자 장치는 외부 전자 장치와 블루투스 네트워크에 따라 근거리에서 무선 통신을 수행하는, 전자 장치. According to either paragraph 1 or 7,
The electronic device performs wireless communication with an external electronic device at a short distance based on a Bluetooth network.
입력 신호를 감지하는 단계;
상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인하는 단계;
상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정하는 단계; 및
상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측하는 단계를 포함하는, 방법. In a method of operating an electronic device that performs active noise cancellation,
detecting an input signal;
checking a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal is filtered;
determining a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal; and
A method comprising predicting a filter weight to be applied to a filter using machine learning based on the plurality of filter weights.
상기 필터 가중치에 기반하여 상기 입력 신호를 필터링하여 제2 필터링 신호를 생성하는 단계를 더 포함하는, 방법. According to clause 9,
The method further includes generating a second filtered signal by filtering the input signal based on the filter weight.
상기 입력 신호 및 상기 필터 가중치에 기반하여 상기 오차 신호가 미리 설정된 범위 내에 속하도록 상기 노이즈 신호를 제거하는 단계를 더 포함하는, 방법. According to either paragraph 9 or 10,
The method further includes removing the noise signal so that the error signal falls within a preset range based on the input signal and the filter weight.
상기 전자 장치는 상기 오차 신호를 감지하기 위한 제2 마이크로폰을 더 포함하는, 방법. According to either paragraph 9 or 11,
The method of claim 1, wherein the electronic device further includes a second microphone for detecting the error signal.
상기 필터; 및
상기 복수의 필터 가중치들에 기반하여 상기 머신 러닝을 이용하여 상기 필터에 적용될 상기 필터 가중치를 예측하는 가중치 예측 모듈을 더 포함하도록 설정되는, 방법. The method of claim 9 or 12, wherein the electronic device,
the filter; and
The method is configured to further include a weight prediction module that predicts the filter weight to be applied to the filter using the machine learning based on the plurality of filter weights.
상기 복수의 필터 가중치들에 기반하여 상기 머신 러닝을 이용하여 상기 필터에 적용될 상기 필터 가중치의 변화를 예측하는 가중치 변경 예측 모듈을 더 포함하도록 설정되는, 방법. The method of claim 9 or 13, wherein the electronic device,
The method is configured to further include a weight change prediction module that predicts a change in the filter weight to be applied to the filter using the machine learning based on the plurality of filter weights.
상기 전자 장치는 무선 이어폰, 헤드셋, 이어 버드, TWS(true wireless stereo), 또는 이어셋 중 하나인, 방법. According to either clause 9 or clause 14,
The method of claim 1, wherein the electronic device is one of wireless earphones, a headset, earbuds, true wireless stereo (TWS), or an earset.
상기 전자 장치는 외부 전자 장치와 블루투스 네트워크에 따라 근거리에서 무선 통신을 수행하는, 방법. According to either clause 9 or clause 15,
A method wherein the electronic device performs wireless communication at a short distance with an external electronic device according to a Bluetooth network.
상기 방법은,
입력 신호를 감지하는 단계;
상기 입력 신호에 포함되는 노이즈 신호, 및 상기 입력 신호가 필터링된 제1 필터링 신호의 연산 결과에 따라 제거되지 않은 노이즈 신호를 나타내는 오차 신호를 확인하는 단계;
상기 입력 신호 및 상기 오차 신호에 기반하여 LMS(least mean square) 알고리즘을 이용하여 복수의 필터 가중치들을 결정하는 단계; 및
상기 복수의 필터 가중치들에 기반하여 머신 러닝(machine learning)을 이용하여 필터에 적용될 필터 가중치를 예측하는 단계를 포함하는, 컴퓨터로 판독 가능한 기록 매체. In the computer-readable recording medium on which at least one computer program including instructions for performing an active noise cancellation method is recorded,
The method is:
detecting an input signal;
checking a noise signal included in the input signal and an error signal representing a noise signal that has not been removed according to an operation result of a first filtering signal from which the input signal is filtered;
determining a plurality of filter weights using a least mean square (LMS) algorithm based on the input signal and the error signal; and
A computer-readable recording medium comprising predicting filter weights to be applied to a filter using machine learning based on the plurality of filter weights.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220098102A KR20240020087A (en) | 2022-08-05 | 2022-08-05 | Electronic device for performing active noise cancellation and method for thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220098102A KR20240020087A (en) | 2022-08-05 | 2022-08-05 | Electronic device for performing active noise cancellation and method for thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20240020087A true KR20240020087A (en) | 2024-02-14 |
Family
ID=89896516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220098102A KR20240020087A (en) | 2022-08-05 | 2022-08-05 | Electronic device for performing active noise cancellation and method for thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20240020087A (en) |
-
2022
- 2022-08-05 KR KR1020220098102A patent/KR20240020087A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4246278A1 (en) | Electronic device including flexible display and method for operating same | |
US20220208208A1 (en) | Electronic device and method for controlling speech input/output of electronic device | |
US20220225008A1 (en) | Electronic device for reducing internal noise and method thereof | |
KR20240020087A (en) | Electronic device for performing active noise cancellation and method for thereof | |
US20230087784A1 (en) | Electronic device including multi-way speaker and operation method thereof | |
US20230421946A1 (en) | Audio data processing method and electronic device supporting same | |
US20230379623A1 (en) | Method for processing audio data and electronic device supporting same | |
US20230215453A1 (en) | Electronic device for controlling beamforming and operating method thereof | |
US20230283944A1 (en) | Electronic device and method for outputting sound | |
US20230112073A1 (en) | Electronic device for controlling ambient sound based on audio scene and operating method thereof | |
KR20220096460A (en) | Electronic device and method for controlling voice input and output thereof | |
KR20230052783A (en) | Electronic device for controlling ambient sound based on audio scene and operating method thereof | |
US20230217152A1 (en) | Wearable device | |
KR20240049074A (en) | Electronic device and method for generating vibration sound signal | |
US20230026128A1 (en) | Electronic device and method for generating audio signal | |
US20220400326A1 (en) | Electronic device including microphone module | |
EP4283959A1 (en) | Electronic device and operation method therefor | |
US20230262386A1 (en) | Method and device for controlling microphone input/output by wireless audio device during multi-recording in electronic device | |
KR20220017080A (en) | Method for processing voice signal and apparatus using the same | |
JP2024518261A (en) | Electronic device and method of operation thereof | |
US20220360897A1 (en) | Wearable device and method for controlling audio output using multi digital to analog converter path | |
KR20230103814A (en) | Wearable device | |
KR20240050211A (en) | Electronic device and method for detecting resonance space change of speaker | |
KR20230067427A (en) | Electronic device for controlling beamforming and operating method thereof | |
KR20230129893A (en) | Electronic device and method for outputting sound |