TWI604439B - Noise cancellation device and noise cancellation method - Google Patents

Noise cancellation device and noise cancellation method Download PDF

Info

Publication number
TWI604439B
TWI604439B TW106101549A TW106101549A TWI604439B TW I604439 B TWI604439 B TW I604439B TW 106101549 A TW106101549 A TW 106101549A TW 106101549 A TW106101549 A TW 106101549A TW I604439 B TWI604439 B TW I604439B
Authority
TW
Taiwan
Prior art keywords
signal
noise
power
ratio
circuit
Prior art date
Application number
TW106101549A
Other languages
Chinese (zh)
Other versions
TW201828288A (en
Inventor
謝沛彣
Original Assignee
瑞昱半導體股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 瑞昱半導體股份有限公司 filed Critical 瑞昱半導體股份有限公司
Priority to TW106101549A priority Critical patent/TWI604439B/en
Priority to US15/698,634 priority patent/US10182283B2/en
Application granted granted Critical
Publication of TWI604439B publication Critical patent/TWI604439B/en
Publication of TW201828288A publication Critical patent/TW201828288A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1781Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions
    • G10K11/17813Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions characterised by the analysis of the acoustic paths, e.g. estimating, calibrating or testing of transfer functions or cross-terms
    • G10K11/17817Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions characterised by the analysis of the acoustic paths, e.g. estimating, calibrating or testing of transfer functions or cross-terms between the output signals and the error signals, i.e. secondary path
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1783Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase handling or detecting of non-standard events or conditions, e.g. changing operating modes under specific operating conditions
    • G10K11/17833Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase handling or detecting of non-standard events or conditions, e.g. changing operating modes under specific operating conditions by using a self-diagnostic function or a malfunction prevention function, e.g. detecting abnormal output levels
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1787General system configurations
    • G10K11/17879General system configurations using both a reference signal and an error signal
    • G10K11/17881General system configurations using both a reference signal and an error signal the reference signal being an acoustic signal, e.g. recorded with a microphone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K2210/00Details of active noise control [ANC] covered by G10K11/178 but not provided for in any of its subgroups
    • G10K2210/10Applications
    • G10K2210/108Communication systems, e.g. where useful sound is kept and noise is cancelled
    • G10K2210/1081Earphones, e.g. for telephones, ear protectors or headsets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details 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/01Hearing devices using active noise cancellation

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Description

噪音消除裝置與噪音消除方法 Noise canceling device and noise canceling method

本案是有關於一種噪音消除裝置,且特別是有關於具有偵測近耳與離耳狀態機制的噪音消除裝置與方法。 The present invention relates to a noise canceling device, and more particularly to a noise canceling device and method having a mechanism for detecting a near ear and an ear.

為了能夠提供更高的聲音品質,耳機上常加入主動噪音消除機制來降低環境噪音的影響。於一些技術中,主動噪音消除機制常採用單一的濾波器來產生噪音消除訊號。然而,當耳機未被使用時(亦即處於離耳(off-ear)狀態)時,主動噪音消除機制的系統響應常出現較大的變化。為了維持主動噪音消除機制的穩定度,上述單一的濾波器僅能使用消噪效果較低,但穩定度較高的電路設計。如此一來,在耳機被使用時(亦即處於近耳(on-ear)狀態),無法被提供更佳的消噪效果。 In order to provide higher sound quality, active noise cancellation mechanisms are often added to the headphones to reduce the effects of ambient noise. In some techniques, active noise cancellation mechanisms often employ a single filter to generate noise cancellation signals. However, when the earphone is not in use (i.e., in an off-ear state), the system response of the active noise cancellation mechanism often varies greatly. In order to maintain the stability of the active noise cancellation mechanism, the above single filter can only use a circuit design with low noise cancellation effect but high stability. As a result, when the earphone is used (that is, in an on-ear state), it is not possible to provide a better noise canceling effect.

於一些實施例中,噪音消除裝置包含反向噪音濾波器電路、輸出電路以及偵測電路。反向噪音濾波器電路用以提供多個轉移函數中之對應者處理數位訊號,以產生噪音消除訊號,其中多個轉移函數彼此不同。輸出電路用以混合噪音消 除訊號、參考訊號以及輸入訊號以產生混頻訊號,並基於混頻訊號產生聲音輸出訊號,其中數位訊號關聯於聲音輸出訊號。偵測電路用以根據第一比值與第一臨界值的比較結果,以控制反向噪音濾波器電路提供多個轉移函數中之對應者,其中第一比值為混頻訊號的功率對數位訊號的功率的比值。 In some embodiments, the noise cancellation device includes a reverse noise filter circuit, an output circuit, and a detection circuit. The inverse noise filter circuit is configured to provide a corresponding one of the plurality of transfer functions to process the digital signal to generate a noise cancellation signal, wherein the plurality of transfer functions are different from each other. Output circuit for mixing noise cancellation In addition to the signal, reference signal and input signal to generate a mixed signal, and based on the mixed signal to generate a sound output signal, wherein the digital signal is associated with the sound output signal. The detecting circuit is configured to provide a corresponding one of the plurality of transfer functions by controlling the inverse noise filter circuit according to the comparison result of the first ratio and the first threshold, wherein the first ratio is a power pair digital signal of the mixed signal The ratio of power.

於一些實施例中,噪音消除方法包含下列多個操作。控制反向噪音濾波器電路提供多個轉移函數中之對應者處理數位訊號,以產生噪音消除訊號,其中多個轉移函數彼此不同;混合噪音消除訊號、參考訊號以及輸入訊號以產生混頻訊號,並基於混頻訊號輸出聲音輸出訊號,其中數位訊號關聯於聲音輸出訊號;以及根據第一比值與第一臨界值的比較結果控制反向噪音濾波器電路提供多個轉移函數中之對應者,其中該第一比值為混頻訊號的功率對數位訊號的功率的比值。 In some embodiments, the noise cancellation method includes the following multiple operations. The control reverse noise filter circuit provides a corresponding one of the plurality of transfer functions to process the digital signal to generate a noise cancellation signal, wherein the plurality of transfer functions are different from each other; the noise cancellation signal, the reference signal, and the input signal are mixed to generate a mixed signal, And outputting a sound output signal based on the mixed signal, wherein the digital signal is associated with the sound output signal; and controlling the reverse noise filter circuit to provide a corresponding one of the plurality of transfer functions according to the comparison result of the first ratio and the first critical value, wherein The first ratio is the ratio of the power of the mixed signal to the power of the digital signal.

綜上所述,本案提供的噪音消除裝置與方法可由不同設置方式分析近耳狀態與離耳狀態,以選擇性地採用適當的濾波器來改善音訊處理系統的效能。 In summary, the noise canceling apparatus and method provided in the present invention can analyze the near-ear state and the ear-off state by different setting methods to selectively use appropriate filters to improve the performance of the audio processing system.

100‧‧‧噪音消除裝置 100‧‧‧Noise elimination device

110、115‧‧‧類比至數位轉換器 110, 115‧‧‧ analog to digital converter

120‧‧‧反向噪音濾波器電路 120‧‧‧Backward noise filter circuit

130‧‧‧輸出電路 130‧‧‧Output circuit

140‧‧‧偵測電路 140‧‧‧Detection circuit

150、155‧‧‧聲電轉換裝置 150, 155‧‧‧Audioelectric conversion device

160‧‧‧參考訊號產生器 160‧‧‧Reference signal generator

SO(t)‧‧‧聲音輸出訊號 SO(t)‧‧‧Sound output signal

V(t)、V2(t)‧‧‧噪音訊號 V(t), V2(t)‧‧‧ noise signal

E1(t)、E2(t)‧‧‧電子訊號 E1(t), E2(t)‧‧‧ electronic signals

Y(n)‧‧‧數位訊號 Y(n)‧‧‧ digital signal

H1(z)、H2(z)‧‧‧轉移函數 H1(z), H2(z)‧‧‧ transfer function

122、124‧‧‧濾波器 122, 124‧‧‧ filter

126‧‧‧切換電路 126‧‧‧Switching circuit

NC(n)‧‧‧噪音消除訊號 NC(n)‧‧‧ Noise Cancellation Signal

SE‧‧‧切換訊號 SE‧‧‧Switch signal

132‧‧‧運算電路 132‧‧‧Operating circuit

134‧‧‧數位至類比轉換器 134‧‧‧Digital to analog converter

136‧‧‧電聲轉換裝置 136‧‧‧Electrical sound conversion device

X(n)‧‧‧參考訊號 X(n)‧‧‧ reference signal

M(n)‧‧‧輸入訊號 M(n)‧‧‧ input signal

U(n)‧‧‧混頻訊號 U(n)‧‧‧mixing signal

C(n)‧‧‧數位噪音訊號 C(n)‧‧‧ digital noise signal

200‧‧‧方法 200‧‧‧ method

S210、S220‧‧‧操作 S210, S220‧‧‧ operation

S215、S230‧‧‧操作 S215, S230‧‧‧ operation

301~303‧‧‧帶頻濾波器 301~303‧‧‧band frequency filter

311~314‧‧‧功率預估電路 311~314‧‧‧Power estimation circuit

320‧‧‧邏輯電路 320‧‧‧Logical Circuit

U'(n)、Y'(n)、C'(n)‧‧‧訊號 U'(n), Y'(n), C'(n)‧‧‧ signals

Pu、Pn‧‧‧功率 Pu, Pn‧‧‧ power

Py、Px‧‧‧功率 Py, Px‧‧‧ power

T1‧‧‧致能期間 T1‧‧‧Enable period

T2‧‧‧禁能期間 T2‧‧‧Cancellation period

S(z)‧‧‧轉移函數 S(z)‧‧‧ transfer function

本案所附圖式之說明如下:第1圖為根據本案之一些實施例所繪示的一種噪音消除裝置的示意圖;第2圖為根據本案之一些實施例所繪示的如第1圖中偵測電路之操作方法的流程圖;第3圖為根據本案之一些實施例所繪示的如第1圖 中偵測電路的電路示意圖;第4A圖為根據本案之另一些實施例所繪示的如第1圖中偵測電路的電路示意圖;以及第4B圖為根據本案之另一些實施例所繪示的如第4A圖中參考訊號的波形示意圖。 The description of the present invention is as follows: FIG. 1 is a schematic diagram of a noise canceling apparatus according to some embodiments of the present invention; FIG. 2 is a schematic diagram of FIG. 1 according to some embodiments of the present invention. A flowchart of a method of operating a circuit; FIG. 3 is a diagram of FIG. 1 according to some embodiments of the present disclosure FIG. 4A is a circuit diagram of the detection circuit in FIG. 1 according to other embodiments of the present invention; and FIG. 4B is a diagram illustrating another embodiment according to the present disclosure. A waveform diagram of the reference signal as in Figure 4A.

參照第1圖,於一些實施例中,噪音消除裝置100安置於各種電子裝置(例如:耳機)上,以降低環境噪音的干擾。 Referring to FIG. 1, in some embodiments, the noise canceling device 100 is disposed on various electronic devices (eg, earphones) to reduce interference from ambient noise.

於一些實施例中,噪音消除裝置100包含類比至數位轉換器110、115、反向噪音濾波器電路120、輸出電路130、偵測電路140、聲電轉換裝置150、155以及參考訊號產生器160。 In some embodiments, the noise cancellation device 100 includes an analog to digital converter 110, 115, a reverse noise filter circuit 120, an output circuit 130, a detection circuit 140, a sound and electricity conversion device 150, 155, and a reference signal generator 160. .

於一些實施例中,聲電轉換裝置150設置於耳機的外殼內,並接收聲音輸出訊號SO(t)以及噪音訊號V(t),其中,聲音輸出訊號SO(t)將通過轉移函數S(z)至聲電轉換裝置150上,而轉移函數S(z)為電聲轉換裝置136至聲電轉換裝置150之間的轉移函數。聲電轉換裝置150轉換接收到的訊號成電子訊號E1(t)。於一些實施例中,聲電轉換裝置150可由麥克風實現,但本案並不僅此為限。 In some embodiments, the acoustic-electrical conversion device 150 is disposed in the housing of the earphone and receives the sound output signal SO(t) and the noise signal V(t), wherein the sound output signal SO(t) passes through the transfer function S ( z) to the acousto-electric conversion device 150, and the transfer function S(z) is a transfer function between the electro-acoustic conversion device 136 to the acoustic-electric conversion device 150. The acoustic-electrical conversion device 150 converts the received signal into an electronic signal E1(t). In some embodiments, the acoustic-electrical conversion device 150 can be implemented by a microphone, but the present invention is not limited thereto.

類比至數位轉換器110轉換電子訊號E1(t)至數位訊號Y(n)。反向噪音濾波器電路120耦接至類比至數位轉換器110,以接收數位訊號Y(n)。 The analog to digital converter 110 converts the electronic signal E1(t) to the digital signal Y(n). The reverse noise filter circuit 120 is coupled to the analog to digital converter 110 to receive the digital signal Y(n).

反向噪音濾波器電路120提供轉移函數H1(z)與 轉移函數H2(z)中一者來處理數位訊號Y(n),以產生噪音消除訊號NC(n)。例如,反向噪音濾波器電路120包含多個濾波器122與124以及切換電路126。切換電路126根據切換訊號SE選擇採用濾波器122與濾波器124中之一者之輸出為噪音消除訊號NC(n)。其中,濾波器122提供轉移函數H1(z),且濾波器124供轉移函數H2(z)。於一些實施例中,切換電路126可設置於類比至數位轉換器110與反向濾波器電路120之間,且濾波器122與124的輸出耦接至輸出電路130。於一些實施例中,切換電路126可由一或多個開關實現。於一些實施例中,切換電路126可由多工器電路實現。 The reverse noise filter circuit 120 provides a transfer function H1(z) and One of the transfer functions H2(z) processes the digital signal Y(n) to generate a noise cancellation signal NC(n). For example, the reverse noise filter circuit 120 includes a plurality of filters 122 and 124 and a switching circuit 126. The switching circuit 126 selects the output of one of the filter 122 and the filter 124 as the noise canceling signal NC(n) according to the switching signal SE. Among them, the filter 122 provides a transfer function H1(z), and the filter 124 provides a transfer function H2(z). In some embodiments, the switching circuit 126 can be disposed between the analog to digital converter 110 and the inverse filter circuit 120, and the outputs of the filters 122 and 124 are coupled to the output circuit 130. In some embodiments, switching circuit 126 can be implemented by one or more switches. In some embodiments, switching circuit 126 can be implemented by a multiplexer circuit.

於一些實施例,濾波器122與濾波器124可由獨立的兩個濾波器實現。於另一些實施例中,濾波器122、濾波器124以及切換電路126可由參數可調的單一濾波器實現,其中此濾波器的參數根據切換信號SE被調整,以選擇性提供轉移函數H1(z)或H2(z)。上述關於反向噪音濾波器電路120的實現方式僅為示例,本案並不以此為限。 In some embodiments, filter 122 and filter 124 can be implemented by two separate filters. In other embodiments, filter 122, filter 124, and switching circuit 126 may be implemented by a single parameter adjustable parameter, wherein the parameters of the filter are adjusted according to switching signal SE to selectively provide a transfer function H1 (z ) or H2(z). The implementation of the reverse noise filter circuit 120 is merely an example, and the present invention is not limited thereto.

輸出電路130包含運算電路132、數位至類比轉換器134以及電聲轉換裝置136。運算電路132耦接至切換電路126以接收噪音消除訊號NC(n),並混合噪音消除訊號NC(n)、參考訊號X(n)以及輸入訊號M(n)以產生混頻訊號U(n)。於一些實施例中,運算電路132可由加法器與/或合成器等電路實現。於一些實施例中,輸入訊號M(n)可為音樂訊源經過合成器與/或放大器所輸出的聲音訊號。數位至類比轉換器134轉換混頻訊號U(n)。電聲轉換裝置136耦接至數位至類 比轉換器134,並將混頻訊號U(n)經轉換後的訊號輸出為聲音輸出訊號SO(t)。於一些實施例中,電聲轉換裝置136可由揚聲器實現。 The output circuit 130 includes an arithmetic circuit 132, a digital to analog converter 134, and an electroacoustic conversion device 136. The operation circuit 132 is coupled to the switching circuit 126 to receive the noise cancellation signal NC(n), and mixes the noise cancellation signal NC(n), the reference signal X(n), and the input signal M(n) to generate the mixed signal U(n). ). In some embodiments, the arithmetic circuit 132 can be implemented by circuitry such as adders and/or synthesizers. In some embodiments, the input signal M(n) may be an audio signal output by the music source through the synthesizer and/or the amplifier. The digital to analog converter 134 converts the mixing signal U(n). Electroacoustic conversion device 136 is coupled to digital to class The ratio converter 134 outputs the converted signal U(n) as a sound output signal SO(t). In some embodiments, electroacoustic conversion device 136 can be implemented by a speaker.

於一些實施例中,偵測電路140接收數位訊號Y(n)、數位噪音訊號C(n)、混頻訊號U(n)以及參考訊號X(n),並根據上述訊號輸出切換訊號SE以控制切換電路126。關於上述的操作將搭配後述第2圖詳細說明。 In some embodiments, the detecting circuit 140 receives the digital signal Y(n), the digital noise signal C(n), the mixing signal U(n), and the reference signal X(n), and outputs the switching signal SE according to the signal. The switching circuit 126 is controlled. The above operation will be described in detail with reference to Fig. 2 which will be described later.

於一些實施例中,噪音消除裝置100更包含類比至數位轉換器115以及聲電轉換裝置155。於一些實施例中,聲電轉換裝置155可設置於耳機外殼以接收噪音訊號V2(t),並將之轉換為電子訊號E2(t)。類比至數位轉換器115耦接至聲電轉換裝置155,並轉換電子訊號E2(t)至前述的數位噪音訊號C(n),其中數位噪音訊號C(n)可用來估算噪音訊號V2(t)所對應的數位訊號(後述表示為噪音訊號V2(n))的功率。 In some embodiments, the noise cancellation device 100 further includes an analog to digital converter 115 and an acoustic to electrical conversion device 155. In some embodiments, the acoustic-electric conversion device 155 can be disposed in the earphone housing to receive the noise signal V2(t) and convert it into an electronic signal E2(t). The analog to digital converter 115 is coupled to the acoustic-electrical conversion device 155 and converts the electronic signal E2(t) to the aforementioned digital noise signal C(n), wherein the digital noise signal C(n) can be used to estimate the noise signal V2 (t) The power of the corresponding digital signal (hereinafter referred to as noise signal V2(n)).

於一些實施例中,噪音訊號V2(n)可用來估測噪音訊號V(n)中與後述參考訊號X(n)之頻率相近的信號成分。因參考訊號X(n)通常被設置為低頻率的訊號,又因低頻率的訊號較易穿透耳機機殼,所以噪音訊號V2(n)於低頻率的訊號強度通常可對應於噪音訊號V(n)於低頻率的訊號強度,故於後續實施例中,會用噪音訊號V2(n)的訊號強度來類比於噪音訊號V(n)的訊號強度。 In some embodiments, the noise signal V2(n) can be used to estimate a signal component of the noise signal V(n) that is close to the frequency of the reference signal X(n) described later. Since the reference signal X(n) is usually set to a low frequency signal, and since the low frequency signal is relatively easy to penetrate the earphone casing, the signal strength of the noise signal V2(n) at a low frequency generally corresponds to the noise signal V. (n) At low frequency signal strength, in the subsequent embodiments, the signal strength of the noise signal V2(n) is used to compare the signal strength of the noise signal V(n).

於一些實施例中,轉移函數H1(z)的電壓增益高於轉移函數H2(z)。換言之,經轉移函數H1(z)所產生的噪音消除訊號NC(n)會大於經轉移函數H2(z)所產生的噪音消除訊 號NC(n)。等效而言,在任意頻率上,濾波器122能夠對濾波器124具有更好的噪音消除效果。一般而言,當濾波器的電壓增益越高,其穩定度相對較低。換言之,在本例中,相較於濾波器122,濾波器124具有較好的穩定度,但具有較低的電壓增益。於一些實施例中,濾波器122在裝置100為近耳(on-ear)狀態時被選用,且濾波器124在裝置100為離耳(off-ear)狀態時被選用。 In some embodiments, the voltage gain of the transfer function H1(z) is higher than the transfer function H2(z). In other words, the noise cancellation signal NC(n) generated by the transfer function H1(z) is greater than the noise cancellation signal generated by the transfer function H2(z). No. NC(n). Equivalently, filter 122 can have a better noise cancellation effect on filter 124 at any frequency. In general, the higher the voltage gain of the filter, the lower its stability. In other words, in this example, filter 124 has better stability than filter 122, but has a lower voltage gain. In some embodiments, filter 122 is selected when device 100 is in an on-ear state, and filter 124 is selected when device 100 is in an off-ear state.

於一些技術中,為了使耳機的噪音消除系統在近耳狀態或離耳狀態下能夠保持穩定,會採用電壓增益較低的單一濾波器來提升系統穩定度。然而,於上述這些技術中,無法讓噪音消除系統在耳機為近耳狀態時提供較佳的噪音消除效果。相較於上述技術,藉由分析數位訊號Y(n)、噪音訊號V2(n)、混頻訊號U(n)以及參考訊號X(n),偵測電路140可判斷噪音消除裝置100是處於近耳狀態或離耳狀態。如此一來,在近耳狀態時,偵測電路140可輸出切換訊號SE以選用濾波器122,藉此提高噪音消除效果。或者,在離耳狀態時,偵測電路140可輸出切換訊號SE以選用濾波器124,以維持系統的穩定度。 In some techniques, in order for the headphone noise cancellation system to remain stable in the near-ear or off-earth state, a single filter with a lower voltage gain is used to improve system stability. However, in these techniques, the noise canceling system cannot be provided to provide a better noise canceling effect when the earphone is in the near ear state. Compared with the above technique, by analyzing the digital signal Y(n), the noise signal V2(n), the mixing signal U(n), and the reference signal X(n), the detecting circuit 140 can determine that the noise canceling device 100 is at Near ear or ear. In this way, in the near-ear state, the detecting circuit 140 can output the switching signal SE to select the filter 122, thereby improving the noise canceling effect. Alternatively, in the off-ear state, the detection circuit 140 can output the switching signal SE to select the filter 124 to maintain the stability of the system.

參考訊號產生器160產生參考訊號X(n)至運算電路132。於一些實施例中,參考訊號X(n)之頻率為人耳無法感知的頻率。例如,參考訊號X(n)之頻率約為10赫茲,但本案並不僅此為限。於另一些實施例中,如後述第4A圖所示,參考訊號X(n)可為週期性地發送。 The reference signal generator 160 generates the reference signal X(n) to the arithmetic circuit 132. In some embodiments, the frequency of the reference signal X(n) is a frequency that is not perceptible by the human ear. For example, the frequency of the reference signal X(n) is about 10 Hz, but this is not limited to this case. In other embodiments, the reference signal X(n) may be periodically transmitted as shown in FIG. 4A, which will be described later.

於一些實施例中,利用Z轉換分析噪音消除裝置100,可得出下列式(1): 其中,X(z)為參考訊號X(n)的Z轉換,Y(z)為數位訊號Y(n)的Z轉換,V(z)為噪音訊號V(n)的Z轉換,U(z)為混頻訊號U(n)的Z轉換,且S(z)為電聲轉換裝置136至聲電轉換裝置150之間的轉移函數。 In some embodiments, analyzing the noise canceling device 100 using Z-conversion, the following equation (1) can be derived: Where X(z) is the Z conversion of the reference signal X(n), Y(z) is the Z conversion of the digital signal Y(n), and V(z) is the Z conversion of the noise signal V(n), U(z) Is Z conversion of the mixing signal U(n), and S(z) is a transfer function between the electro-acoustic conversion device 136 to the acoustic-electric conversion device 150.

根據上述式(1),當參考訊號X(n)的功率遠大於噪音訊號V(n)的功率時,可得知下式(2): 根據式(2),在此條件下,Y(z)與U(z)的比值為S(z),其中S(z)會因為耳機為近耳或離耳狀態而有不同的數值。於一些實施例中,在近耳狀態下,S(z)會具有較高的數值。反之,在離耳狀態下,S(z)會具有較低的數值。因此,偵測電路140可藉由Y(z)與U(z)的比值判斷噪音消除裝置100目前是處於近耳或離耳狀態。 According to the above formula (1), when the power of the reference signal X(n) is much larger than the power of the noise signal V(n), the following equation (2) can be known: According to formula (2), under this condition, the ratio of Y(z) to U(z) is S(z), where S(z) may have different values because the earphone is near or ear. In some embodiments, S(z) will have a higher value in the near ear state. Conversely, in the ear state, S(z) will have a lower value. Therefore, the detecting circuit 140 can judge whether the noise canceling device 100 is currently in the near ear or the ear state by the ratio of Y(z) to U(z).

另外,當參考訊號X(n)的功率遠小於噪音訊號V(n)的功率時,可得知下式(3): 根據上式(3),在此條件下,Y(z)與U(z)的比值為1/H(z),而非S(z)。因此,當偵測電路140可藉由Y(z)與U(z)的比值判斷噪音消除裝置100是否出現未知的狀況。 In addition, when the power of the reference signal X(n) is much smaller than the power of the noise signal V(n), the following equation (3) can be known: According to the above formula (3), under this condition, the ratio of Y(z) to U(z) is 1/H(z) instead of S(z). Therefore, when the detecting circuit 140 can judge whether the noise canceling device 100 has an unknown condition by the ratio of Y(z) to U(z).

參照第2圖,於操作S210中,偵測電路140比較比值Px/Pn與臨界值TH1,其中比值Px/Pn為參考訊號X(n)的功率Px對噪音訊號V2(n)的功率Pn的比值(如前所述,噪音訊號V2(n)的訊號強度是用來類比於噪音訊號V(n)的訊號強度)。若比值Px/Pn大於臨界值TH1,則執行操作S220。若比值Px/Pn低於臨界值TH1,則執行操作S215。於操作S215中,濾波器124被選取以提供轉移函數H2(z)處理數位訊號Y(n),藉以輸出噪音消除訊號NC(n)。 Referring to FIG. 2, in operation S210, the detecting circuit 140 compares the ratio Px/Pn with the threshold TH1, wherein the ratio Px/Pn is the power Px of the reference signal X(n) to the power Pn of the noise signal V2(n). Ratio (as mentioned earlier, the signal strength of the noise signal V2(n) is used to compare the signal strength of the noise signal V(n)). If the ratio Px/Pn is greater than the threshold TH1, operation S220 is performed. If the ratio Px/Pn is lower than the threshold TH1, operation S215 is performed. In operation S215, the filter 124 is selected to provide a transfer function H2(z) to process the digital signal Y(n), thereby outputting the noise cancellation signal NC(n).

例如,若比值Px/Pn低於臨界值TH1,表示參考訊號X(n)遠小於噪音訊號V(n)。於此條件下,偵測電路140判定出現前述的未知狀況,並輸出切換訊號SE選擇採用濾波器124。如此一來,可確保噪音消除裝置100維持穩定。 For example, if the ratio Px/Pn is lower than the threshold TH1, it means that the reference signal X(n) is much smaller than the noise signal V(n). Under this condition, the detecting circuit 140 determines that the aforementioned unknown condition occurs, and outputs the switching signal SE to select the filter 124. As a result, it is ensured that the noise canceling device 100 is maintained stable.

於操作S220,偵測電路140比較比值與臨界值TH2,其中比值表示為Py/Pu,其為數位訊號Y(n)的功率Py對混頻訊號U(n)的功率Pu的比值。若比值Py/Pu高於臨界值TH2,則執行步驟S230。若比值Py/Pu低於臨界值TH2,則執行步驟S215。於操作S230中,濾波器122被選取以提供轉移函數H1(z)處理數位訊號Y(n),藉以輸出噪音消除訊號NC(n)。 In operation S220, the detecting circuit 140 compares the ratio with the threshold TH2, wherein the ratio is expressed as Py/Pu, which is the ratio of the power Py of the digital signal Y(n) to the power Pu of the mixed signal U(n). If the ratio Py/Pu is higher than the threshold TH2, step S230 is performed. If the ratio Py/Pu is lower than the threshold TH2, step S215 is performed. In operation S230, the filter 122 is selected to provide a transfer function H1(z) to process the digital signal Y(n), thereby outputting the noise cancellation signal NC(n).

例如,若比值Py/Pu高於臨界值TH2,表示轉移函數S(z)的數值較高。如先前所述,在近耳狀態下,S(z)會具有較高的數值。因此,於此條件下,偵測電路140判定出現近耳狀態,並輸出切換訊號SE選擇採用濾波器122。如此一來,可提高噪音消除裝置100的噪音消除效果。 For example, if the ratio Py/Pu is higher than the threshold TH2, the value of the transfer function S(z) is higher. As mentioned previously, in the near ear state, S(z) will have a higher value. Therefore, under this condition, the detecting circuit 140 determines that the near-ear state is present, and outputs the switching signal SE to select the filter 122. As a result, the noise canceling effect of the noise canceling device 100 can be improved.

或者,若比值Py/Pu低於臨界值TH2,表示轉移函數S(z)的數值較低。如先前所述,在離耳狀態下,S(z)會具有較低的數值。因此,於此條件下,偵測電路140判定出現離耳狀態,並輸出切換訊號SE選擇採用濾波器124。如此一來,可確保噪音消除裝置100維持穩定。 Alternatively, if the ratio Py/Pu is lower than the threshold TH2, it means that the value of the transfer function S(z) is low. As previously stated, S(z) will have a lower value in the de-eared state. Therefore, under this condition, the detecting circuit 140 determines that the earing state is present, and outputs the switching signal SE to select the filter 124. As a result, it is ensured that the noise canceling device 100 is maintained stable.

在一些實施例中,功率Px及功率Pn分別為參考訊號X(n)及噪音訊號V2(n)於參考訊號X(n)之頻率上的功率。在一些實施例中,功率Px、功率Pn、功率Py及功率Pu分別為參考訊號X(n)、噪音訊號V2(n)、數位訊號Y(n)及混頻訊號U(n)於參考訊號X(n)之頻率上的功率。參照第3圖,偵測電路140包含多個帶頻濾波器301~303、多個功率預估電路311~314以及邏輯電路320。 In some embodiments, the power Px and the power Pn are the power of the reference signal X(n) and the noise signal V2(n) at the frequency of the reference signal X(n), respectively. In some embodiments, the power Px, the power Pn, the power Py, and the power Pu are reference signals X(n), noise signals V2(n), digital signals Y(n), and mixed signals U(n), respectively, in the reference signal. The power at the frequency of X(n). Referring to FIG. 3, the detection circuit 140 includes a plurality of band frequency filters 301 to 303, a plurality of power estimation circuits 311 to 314, and a logic circuit 320.

多個帶頻濾波器301~303每一者提供一預定頻帶來處理混頻訊號U(n)、數位訊號Y(n)以及數位噪音訊號C(n)中之對應者。例如,帶頻濾波器301濾除混頻訊號U(n)中具有非參考訊號X(n)之頻率的頻率之信號成分以輸出訊號U'(n)。帶頻濾波器302濾除數位訊號Y(n)中具有非參考訊號X(n)之頻率的頻率之信號成分以輸出訊號Y'(n)。帶頻濾波器303濾除數位噪音訊號C(n)中具有非參考訊號X(n)之頻率的 頻率之信號成分以輸出訊號C'(n)。 Each of the plurality of band-band filters 301-303 provides a predetermined frequency band to process the corresponding one of the mixed signal U(n), the digital signal Y(n), and the digital noise signal C(n). For example, the band frequency filter 301 filters out the signal component of the frequency of the frequency of the non-reference signal X(n) in the mixed signal U(n) to output the signal U'(n). The band filter 302 filters out the signal component of the frequency of the digital signal Y(n) having the frequency of the non-reference signal X(n) to output the signal Y'(n). The band frequency filter 303 filters out the frequency of the non-reference signal X(n) in the digital noise signal C(n). The signal component of the frequency is output signal C'(n).

功率預估電路311算出訊號U'(n)的功率Pu。功率預估電路312算出訊號Y'(n)的功率Py。功率預估電路313’算出噪音訊號C'(n)的功率Pn。功率預估電路314算出參考訊號X(n)的功率Px。 The power estimation circuit 311 calculates the power Pu of the signal U'(n). The power estimation circuit 312 calculates the power Py of the signal Y'(n). The power estimation circuit 313' calculates the power Pn of the noise signal C'(n). The power estimation circuit 314 calculates the power Px of the reference signal X(n).

於一些實施例中,上述多個功率預估電路311~314可由功率偵測器實現。於一些實施例中,上述多個功率預估電路311~314可由執行各種功率計算的演算法的運算電路實現。上述各種實現方式僅為示例,本案並不僅此為限。 In some embodiments, the plurality of power estimation circuits 311 314 314 can be implemented by a power detector. In some embodiments, the plurality of power estimation circuits 311-314 described above may be implemented by an arithmetic circuit that performs algorithms for various power calculations. The various implementations described above are merely examples, and the present invention is not limited thereto.

邏輯電路320根據上述多個功率Pu、Py、Pn以及Px決定前述的比值Py/Pu與比值Px/Pn,以執行方法200的多個操作來產生對應的切換訊號SE。於一些實施例中,邏輯電路320可由各種數位電路、處理單元、或微控制器等方式實現。 The logic circuit 320 determines the foregoing ratio Py/Pu and the ratio Px/Pn according to the plurality of powers Pu, Py, Pn, and Px to perform a plurality of operations of the method 200 to generate a corresponding switching signal SE. In some embodiments, logic circuit 320 can be implemented by various digital circuits, processing units, or microcontrollers.

參照第4A圖與第4B圖,為易於理解,於第4A~4B圖中與前第1~3圖的類似元件將被指定為相同參考標號。 Referring to FIGS. 4A and 4B, for easy understanding, similar elements to those of the preceding FIGS. 1 to 3 in FIGS. 4A to 4B will be designated by the same reference numerals.

於一些實施例中,噪音消除裝置100可在不具有聲電轉換裝置155以及類比至數位轉換器115下估算噪音訊號V(n)的功率Pn。於此例中,如第4B圖所示,參考訊號X(n)設置有致能期間T1以及禁能期間T2。於致能期間T1,參考訊號X(n)產生前述人耳無法感知的頻率。於禁能期間T2,參考訊號X(n)的振幅被設置為零。根據式(1),在禁能期間T2內,可得知下式(4): 因此,於此例中,偵測電路140可根據Y(n)以及式(4)來計算噪音訊號V(n)的功率Pn。於一些實施例中,在式(4)中的轉移函數S(z)可設置為近耳狀態與離耳狀態中具有較大數值者。 In some embodiments, the noise cancellation device 100 can estimate the power Pn of the noise signal V(n) without the acoustoelectric conversion device 155 and the analog to digital converter 115. In this example, as shown in FIG. 4B, the reference signal X(n) is provided with an enable period T1 and an disable period T2. During the enable period T1, the reference signal X(n) generates a frequency that the aforementioned human ear cannot perceive. During the disable period T2, the amplitude of the reference signal X(n) is set to zero. According to the formula (1), in the inactive period T2, the following formula (4) can be known: Therefore, in this example, the detecting circuit 140 can calculate the power Pn of the noise signal V(n) according to Y(n) and Equation (4). In some embodiments, the transfer function S(z) in equation (4) can be set to have a larger value in the near-ear state and the de-eared state.

例如,如第4A圖所示,偵測電路140包含多個帶頻濾波器301~302、多個功率預估電路311~313以及邏輯電路320。 For example, as shown in FIG. 4A, the detection circuit 140 includes a plurality of band frequency filters 301 to 302, a plurality of power estimation circuits 311 to 313, and a logic circuit 320.

相較於第3圖,於此例中,功率預估電路311更在參考訊號X(n)的致能期間T1內,根據訊號U'(n)決定混頻訊號U(n)於參考訊號X(n)之頻率上的功率Pu。功率預估電路312更在參考訊號X(n)致能期間T1根據訊號Y'(n)決定數位訊號Y(n)於參考訊號X(n)之頻率上的功率Py,並在參考訊號X(n)的禁能期間T2根據訊號Y'(n)以及上式(4)決定噪音訊號V(n)於參考訊號X(n)之頻率上的功率Pn。功率預估電路313更在參考訊號X(n)的致能期間T1內根據參考訊號X(n)決定其功率Px。 Compared with FIG. 3, in this example, the power estimation circuit 311 further determines the mixing signal U(n) according to the signal U'(n) in the enabling period T1 of the reference signal X(n). Power Pu at the frequency of X(n). The power estimation circuit 312 further determines the power Py of the digital signal Y(n) at the frequency of the reference signal X(n) according to the signal Y'(n) during the reference signal X(n) enable period T1, and is in the reference signal X. The disable period T2 of (n) determines the power Pn of the noise signal V(n) at the frequency of the reference signal X(n) according to the signal Y'(n) and the above equation (4). The power estimation circuit 313 further determines its power Px based on the reference signal X(n) during the enable period T1 of the reference signal X(n).

在一些實施例中,功率預估電路311~313不需接收參考訊號X(n),而是直接接收參考訊號X(n)之致能期間T1及禁能期間T2所對應的時脈訊號,舉例來說,當參考訊號X(n)處於致能期間T1時,其對應的時脈訊號為1(或0),當參考訊號X(n)處於禁能期間T2時,其對應的時脈訊號為0(或1)。 In some embodiments, the power estimation circuits 311 to 313 do not need to receive the reference signal X(n), but directly receive the clock signal corresponding to the enable period T1 and the disable period T2 of the reference signal X(n). For example, when the reference signal X(n) is in the enable period T1, its corresponding clock signal is 1 (or 0), and when the reference signal X(n) is in the disable period T2, its corresponding clock. The signal is 0 (or 1).

上述各實施例中噪音消除裝置100內的電路元件可由軟體、硬體或其組合實現。例如,反向噪音濾波器電路120與/或偵測電路140中之元件可由數位訊號處理方式實現。 The circuit elements in the noise canceling device 100 in the above embodiments may be implemented by software, hardware, or a combination thereof. For example, components in the inverse noise filter circuit 120 and/or the detection circuit 140 can be implemented by digital signal processing.

綜上所述,本案提供的噪音消除裝置100與方法 200可由不同設置方式分析近耳狀態與離耳狀態,以選擇性地採用適當的濾波器來改善音訊處理系統的效能。 In summary, the noise canceling device 100 and method provided by the present invention The 200 can be analyzed in different settings to measure the near ear state and the ear state to selectively employ appropriate filters to improve the performance of the audio processing system.

雖然本案已以實施方式揭露如上,然其並非限定本案,任何熟習此技藝者,在不脫離本案之精神和範圍內,當可作各種更動與潤飾,因此本案之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the case. Anyone who is familiar with the art can make various changes and refinements without departing from the spirit and scope of the case. Therefore, the scope of protection of this case is subject to the attached application. The scope defined by the patent scope shall prevail.

100‧‧‧噪音消除裝置 100‧‧‧Noise elimination device

110、115‧‧‧類比至數位轉換器 110, 115‧‧‧ analog to digital converter

120‧‧‧反向噪音濾波器電路 120‧‧‧Backward noise filter circuit

130‧‧‧輸出電路 130‧‧‧Output circuit

140‧‧‧偵測電路 140‧‧‧Detection circuit

150、155‧‧‧聲電轉換裝置 150, 155‧‧‧Audioelectric conversion device

160‧‧‧參考訊號產生器 160‧‧‧Reference signal generator

SO(t)‧‧‧聲音輸出訊號 SO(t)‧‧‧Sound output signal

V(t)、V2(t)‧‧‧噪音訊號 V(t), V2(t)‧‧‧ noise signal

E1(t)、E2(t)‧‧‧電子訊號 E1(t), E2(t)‧‧‧ electronic signals

Y(n)‧‧‧數位訊號 Y(n)‧‧‧ digital signal

H1(z)、H2(z)‧‧‧轉移函數 H1(z), H2(z)‧‧‧ transfer function

122、124‧‧‧濾波器 122, 124‧‧‧ filter

126‧‧‧切換電路 126‧‧‧Switching circuit

NC(n)‧‧‧噪音消除訊號 NC(n)‧‧‧ Noise Cancellation Signal

SE‧‧‧切換訊號 SE‧‧‧Switch signal

132‧‧‧運算電路 132‧‧‧Operating circuit

134‧‧‧數位至類比轉換器 134‧‧‧Digital to analog converter

136‧‧‧電聲轉換裝置 136‧‧‧Electrical sound conversion device

X(n)‧‧‧參考訊號 X(n)‧‧‧ reference signal

M(n)‧‧‧輸入訊號 M(n)‧‧‧ input signal

U(n)‧‧‧混頻訊號 U(n)‧‧‧mixing signal

C(n)‧‧‧數位噪音訊號 C(n)‧‧‧ digital noise signal

S(z)‧‧‧轉移函數 S(z)‧‧‧ transfer function

Claims (10)

一種噪音消除裝置,包含:一反向噪音濾波器電路,用以提供複數個轉移函數中之一對應者處理一數位訊號,以產生一噪音消除訊號,其中該些轉移函數彼此不同;一輸出電路,用以混合該噪音消除訊號、一參考訊號以及一輸入訊號以產生一混頻訊號,並基於該混頻訊號產生一聲音輸出訊號,其中該數位訊號關聯於該聲音輸出訊號;以及一偵測電路,用以根據一第一比值與一第一臨界值的比較結果,以控制該反向噪音濾波器電路提供該些轉移函數中之該對應者,其中該第一比值為該混頻訊號的一第一功率對該數位訊號的一第二功率的比值。 A noise canceling device comprising: a reverse noise filter circuit for providing one of a plurality of transfer functions to process a digital signal to generate a noise canceling signal, wherein the transfer functions are different from each other; and an output circuit And mixing the noise cancellation signal, a reference signal and an input signal to generate a mixed signal, and generating an audio output signal based on the mixed signal, wherein the digital signal is associated with the sound output signal; and detecting a circuit for controlling the reverse noise filter circuit to provide the corresponding one of the transfer functions according to a comparison result between a first ratio and a first threshold, wherein the first ratio is the mixed signal A ratio of a first power to a second power of the digital signal. 如請求項1所述的噪音消除裝置,其中該些轉移函數包含一第一轉移函數以及一第二轉移函數,該第一轉移函數的一電壓增益高於該第二轉移函數的一電壓增益,在該第一比值大於該第一臨界值時,該反向噪音濾波器電路提供該第一轉移函數,在該第一比值小於該第一臨界值時,該反向噪音濾波器電路提供該第二轉移函數。 The noise canceling apparatus of claim 1, wherein the transfer functions comprise a first transfer function and a second transfer function, a voltage gain of the first transfer function being higher than a voltage gain of the second transfer function, The back noise filter circuit provides the first transfer function when the first ratio is greater than the first threshold, and the reverse noise filter circuit provides the first when the first ratio is less than the first threshold Two transfer function. 如請求項1所述的噪音消除裝置,更包含:一第一類比至數位轉換器,用以轉換一第一電子訊號至 該數位訊號,其中該第一電子訊號關聯於該聲音輸出訊號以及一噪音訊號。 The noise cancellation device of claim 1, further comprising: a first analog to digital converter for converting a first electronic signal to The digital signal, wherein the first electronic signal is associated with the sound output signal and a noise signal. 如請求項3所述的噪音消除裝置,其中該偵測電路更用以比較一第二比值與一第二臨界值,以在該第二比值小於該第二臨界值時控制該反向噪音濾波器電路提供該第二轉移函數,其中該第二比值為該參考訊號的一第三功率對該噪音訊號的一第四功率的比值,且該偵測電路更用以在該第二比值大於該第二臨界值時比較該第一比值與該第一臨界值。 The noise canceling device of claim 3, wherein the detecting circuit is further configured to compare a second ratio with a second threshold to control the reverse noise filtering when the second ratio is less than the second threshold The second circuit is configured to provide the second transfer function, wherein the second ratio is a ratio of a third power of the reference signal to a fourth power of the noise signal, and the detecting circuit is further configured to use the second ratio greater than the The second threshold is compared to the first threshold and the first threshold. 如請求項4所述的噪音消除裝置,其中該偵測電路包含:複數個帶頻濾波器,用以分別處理該混頻訊號、該數位訊號以及一數位噪音訊號,其中該數位噪音訊號用以預估該噪音訊號的功率;複數個功率預估電路,用以根據該混頻訊號、處理後的參考訊號、處理後的該數位訊號以及處理後的該數位噪音訊號分別決定該第一功率、該第二功率、該第三功率以及該第四功率;以及一邏輯電路,用以根據該第一功率與該第二功率決定該第一比值,並根據該第三功率與該第四功率決定該第二比值,其中該邏輯電路更用以比較該第一比值與該第一臨界值,並比較該第二比值與該第二臨界值,以控制該反向噪音 濾波器電路。 The noise canceling device of claim 4, wherein the detecting circuit comprises: a plurality of band-frequency filters for respectively processing the mixed signal, the digital signal and a digital noise signal, wherein the digital noise signal is used for Estimating the power of the noise signal; the plurality of power estimation circuits are configured to determine the first power according to the mixed signal, the processed reference signal, the processed digital signal, and the processed digital noise signal, The second power, the third power, and the fourth power; and a logic circuit configured to determine the first ratio according to the first power and the second power, and determine according to the third power and the fourth power The second ratio, wherein the logic circuit is further configured to compare the first ratio with the first threshold, and compare the second ratio with the second threshold to control the reverse noise Filter circuit. 如請求項5所述的噪音消除裝置,更包含:一第二類比至數位轉換器,用以轉換一第二電子訊號至該數位噪音訊號。 The noise canceling device of claim 5, further comprising: a second analog to digital converter for converting a second electronic signal to the digital noise signal. 如請求項6所述的噪音消除裝置,更包含:一第一聲電轉換裝置,用以接收該聲音輸出訊號以及該噪音訊號並產生該第一電子訊號;以及一第二聲電轉換裝置,用以接收該噪音訊號並產生該第二電子訊號。 The noise canceling device of claim 6, further comprising: a first sound electricity conversion device for receiving the sound output signal and the noise signal and generating the first electronic signal; and a second sound electricity conversion device, For receiving the noise signal and generating the second electronic signal. 如請求項4所述的噪音消除裝置,其中該參考訊號具有一致能期間以及一禁能期間,該偵測電路包含:複數個帶頻濾波器,用以分別處理該混頻訊號以及該數位訊號;一第一功率預估電路,用以在該致能期間根據處理後的該參考訊號決定該第一功率;一第二功率預估電路,用以在該致能期間根據處理後的該數位訊號決定該第二功率,並在該禁能期間根據處理後的該數位訊號決定該第四功率;一第三功率預估電路,用以在該致能期間根據該參考信號決定該第三功率;以及一邏輯電路,用以根據該第一功率與該第二功率決定該第一比值,並根據該第三功率與該第四功率決定該第二比值, 其中該邏輯電路更用以比較該第一比值與該第一臨界值,並比較該第二比值與該第二臨界值,以控制該反向噪音濾波器電路。 The noise cancellation device of claim 4, wherein the reference signal has a uniform energy period and a disable period, the detection circuit includes: a plurality of band frequency filters for respectively processing the mixed signal and the digital signal a first power estimation circuit for determining the first power according to the processed reference signal during the enabling period; a second power estimating circuit for using the processed digital number during the enabling period The signal determines the second power, and determines the fourth power according to the processed digital signal during the disable period; a third power estimating circuit is configured to determine the third power according to the reference signal during the enabling period And a logic circuit, configured to determine the first ratio according to the first power and the second power, and determine the second ratio according to the third power and the fourth power, The logic circuit is further configured to compare the first ratio with the first threshold and compare the second ratio with the second threshold to control the reverse noise filter circuit. 如請求項1所述的噪音消除裝置,其中該輸出電路包含:一運算電路,用以混合該噪音消除訊號、該參考訊號以及該輸入訊號以產生該混頻訊號;一數位至類比轉換器,用以轉換該混頻訊號轉換該混頻訊號;以及一電聲轉換裝置,用以根據轉換後的該混頻訊號輸出該聲音輸出訊號。 The noise canceling device of claim 1, wherein the output circuit comprises: an arithmetic circuit for mixing the noise canceling signal, the reference signal and the input signal to generate the mixed signal; a digital to analog converter, And converting the mixed signal to convert the mixed signal; and an electro-acoustic converting device for outputting the sound output signal according to the converted mixed signal. 一種噪音消除方法,包含:控制一反向噪音濾波器電路提供複數個轉移函數中之一對應者處理一數位訊號,以產生一噪音消除訊號,其中該些轉移函數彼此不同;混合該噪音消除訊號、一參考訊號以及一輸入訊號以產生一混頻訊號,並基於該混頻訊號輸出一聲音輸出訊號,其中該數位訊號關聯於該聲音輸出訊號;以及根據一第一比值與一第一臨界值的一比較結果控制該反向噪音濾波器電路提供該些轉移函數中之該對應者,其中該第一比值為該混頻訊號的一第一功率對該數位訊號的一第二功率的比值。 A noise canceling method includes: controlling a reverse noise filter circuit to provide a corresponding one of a plurality of transfer functions to process a digital signal to generate a noise canceling signal, wherein the transfer functions are different from each other; and mixing the noise canceling signal a reference signal and an input signal to generate a mixed signal, and output an audio output signal based on the mixed signal, wherein the digital signal is associated with the sound output signal; and according to a first ratio and a first threshold A comparison result controls the inverse noise filter circuit to provide the corresponding one of the transfer functions, wherein the first ratio is a ratio of a first power of the mixed signal to a second power of the digital signal.
TW106101549A 2017-01-17 2017-01-17 Noise cancellation device and noise cancellation method TWI604439B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW106101549A TWI604439B (en) 2017-01-17 2017-01-17 Noise cancellation device and noise cancellation method
US15/698,634 US10182283B2 (en) 2017-01-17 2017-09-07 Noise cancellation device and noise cancellation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106101549A TWI604439B (en) 2017-01-17 2017-01-17 Noise cancellation device and noise cancellation method

Publications (2)

Publication Number Publication Date
TWI604439B true TWI604439B (en) 2017-11-01
TW201828288A TW201828288A (en) 2018-08-01

Family

ID=61023120

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101549A TWI604439B (en) 2017-01-17 2017-01-17 Noise cancellation device and noise cancellation method

Country Status (2)

Country Link
US (1) US10182283B2 (en)
TW (1) TWI604439B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162640A (en) * 2020-01-22 2021-07-23 瑞昱半导体股份有限公司 Interference cancellation circuit and related interference cancellation method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11172298B2 (en) 2019-07-08 2021-11-09 Apple Inc. Systems, methods, and user interfaces for headphone fit adjustment and audio output control
US10959019B1 (en) * 2019-09-09 2021-03-23 Bose Corporation Active noise reduction audio devices and systems
US11722178B2 (en) 2020-06-01 2023-08-08 Apple Inc. Systems, methods, and graphical user interfaces for automatic audio routing
US11375314B2 (en) 2020-07-20 2022-06-28 Apple Inc. Systems, methods, and graphical user interfaces for selecting audio output modes of wearable audio output devices
US11941319B2 (en) 2020-07-20 2024-03-26 Apple Inc. Systems, methods, and graphical user interfaces for selecting audio output modes of wearable audio output devices
US11523243B2 (en) 2020-09-25 2022-12-06 Apple Inc. Systems, methods, and graphical user interfaces for using spatialized audio during communication sessions

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201419879A (en) * 2012-08-30 2014-05-16 Monster Llc Automatic power adjusting headphones
TW201426739A (en) * 2012-12-21 2014-07-01 Bongiovi Acoustics Llc System and method for digital signal processing
TW201523579A (en) * 2010-06-04 2015-06-16 Apple Inc A portable audio device and method for determining whether to deactivate active noise cancellation circuitry
TWI508060B (en) * 2012-03-30 2015-11-11 Apple Inc Pre-shaping series filter for active noise cancellation adaptive filter

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4494074A (en) 1982-04-28 1985-01-15 Bose Corporation Feedback control
US8054992B2 (en) 2006-04-24 2011-11-08 Bose Corporation High frequency compensating
JP5564743B2 (en) 2006-11-13 2014-08-06 ソニー株式会社 Noise cancellation filter circuit, noise reduction signal generation method, and noise canceling system
EP1947642B1 (en) 2007-01-16 2018-06-13 Apple Inc. Active noise control system
US8306240B2 (en) * 2008-10-20 2012-11-06 Bose Corporation Active noise reduction adaptive filter adaptation rate adjusting
GB2484722B (en) * 2010-10-21 2014-11-12 Wolfson Microelectronics Plc Noise cancellation system
US8908877B2 (en) 2010-12-03 2014-12-09 Cirrus Logic, Inc. Ear-coupling detection and adjustment of adaptive response in noise-canceling in personal audio devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201523579A (en) * 2010-06-04 2015-06-16 Apple Inc A portable audio device and method for determining whether to deactivate active noise cancellation circuitry
TWI508060B (en) * 2012-03-30 2015-11-11 Apple Inc Pre-shaping series filter for active noise cancellation adaptive filter
TW201419879A (en) * 2012-08-30 2014-05-16 Monster Llc Automatic power adjusting headphones
TW201426739A (en) * 2012-12-21 2014-07-01 Bongiovi Acoustics Llc System and method for digital signal processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162640A (en) * 2020-01-22 2021-07-23 瑞昱半导体股份有限公司 Interference cancellation circuit and related interference cancellation method
CN113162640B (en) * 2020-01-22 2023-05-16 瑞昱半导体股份有限公司 Interference cancellation circuit and related interference cancellation method

Also Published As

Publication number Publication date
TW201828288A (en) 2018-08-01
US20180206022A1 (en) 2018-07-19
US10182283B2 (en) 2019-01-15

Similar Documents

Publication Publication Date Title
TWI604439B (en) Noise cancellation device and noise cancellation method
US9986326B2 (en) Signal processing device and signal processing method
US9391576B1 (en) Enhancement of dynamic range of audio signal path
RU2483439C2 (en) Robust two microphone noise suppression system
US8340333B2 (en) Hearing aid noise reduction method, system, and apparatus
JP2017511025A (en) Earphone sound effect compensation method, apparatus, and earphone
GB2581596A (en) Headset on ear state detection
JP4910765B2 (en) Sound masking system and masking sound generator
US9743173B2 (en) Signal processing device, signal processing method, and computer program
KR20160140161A (en) Noise Cancelling Method and Earphone havinng Noise Cancelling Function
CN105491495B (en) Deterministic sequence based feedback estimation
JP2016015585A (en) Signal processor, signal processing method and computer program
KR101253708B1 (en) Hearing aid for screening envirronmental noise and method for screening envirronmental noise of hearing aid
US20190073992A1 (en) Signal processing device, signal processing method and computer program
JP2015177546A (en) Method for generating transmission signal reducing wind noise with shortened latency time
US10984779B2 (en) Audio adjustment method and associated audio adjustment device for active noise cancellation
US8300843B2 (en) Sound effect circuit and processing method
DK2699020T3 (en) A method and device for determining the gain of a hearing aid
CN110610693A (en) Weighted mixed type active anti-noise system and controller
CN108347671B (en) Noise eliminating device and noise eliminating method
EP3634014A1 (en) Audio processing system
JP2018163304A (en) Signal processing apparatus and active noise cancellation system
JP2010217268A (en) Low delay signal processor generating signal for both ears enabling perception of direction of sound source
KR100350628B1 (en) Periodic noise cancelling device
CN116320903B (en) Virtual bass method, device and loudspeaker system based on auditory perception