DISTORTION FREE FILTER BANK FOR A HEARING DEVICE
20170295438 · 2017-10-12
Assignee
Inventors
Cpc classification
H04R25/554
ELECTRICITY
International classification
Abstract
The application relates to a filter bank for an audio processing device, e.g. a hearing aid. The filter bank comprises an analysis filter bank comprising a plurality of M first filters h.sub.m(n), where m=0, 1, . . . , M−1 is a frequency band index, and whose impulse responses are modulated from a first linear phase prototype filter h(n) with a first predetermined modulation sequence ms1, n being a time index, the first prototype filter h(n) having a first filter length of L.sub.h; a synthesis filter bank comprising a plurality of M second filters g.sub.m(n), m=0, 1, . . . , M−1, whose impulse responses are modulated from a second linear phase prototype filter g(n) with a second predetermined modulation sequence ms2, the second prototype filter g(n) having a second filter length of L.sub.g; the plurality of first and second filters being arranged in pairs, each pair forming a frequency channel. the first modulation sequence is a complex or real function of time n, frequency band index m, and a first prototype filter delay τ.sub.h, the second modulation sequence is a complex or real function of time n, frequency band index m, and a second prototype filter delay τ.sub.g, the first filter length L.sub.h and the second filter length L.sub.g are both uneven, and the first prototype filter delay τ.sub.h is equal to (L.sub.h−1)/2 and second prototype filter delay τ.sub.g, is equal to (L.sub.g−1)/2, and the first and second prototype filter delay τ.sub.h and τ.sub.g, are constants of the analysis filter bank and the synthesis filter bank, respectively.
Claims
1. A filter bank for an audio processing device, e.g. a hearing aid, the filter bank comprising an analysis filter bank comprising a plurality of M first filters h.sub.m(n), where m=0, 1, . . . , M−1 is a frequency band index, and whose impulse responses are modulated from a first linear phase prototype filter h(n) with a first predetermined modulation sequence ms1, n being a time index, the first prototype filter h(n) having a first filter length of L.sub.h; a synthesis filter bank comprising a plurality of M second filters g.sub.m(n), m=0, 1, . . . , M−1, whose impulse responses are modulated from a second linear phase prototype filter g(n) with a second predetermined modulation sequence ms2, the second prototype filter g(n) having a second filter length of L.sub.g; the plurality of first and second filters being arranged in pairs, each pair forming a frequency channel, wherein the first modulation sequence is a complex or real function of time n, frequency band index m, and a first prototype filter delay τ.sub.h, the second modulation sequence is a complex or real function of time n, frequency band index m, and a second prototype filter delay τ.sub.g, the first filter length L.sub.h and the second filter length L.sub.g are both uneven, and the first prototype filter delay τ.sub.h is equal to (L.sub.h−1)/2 and second prototype filter delay τ.sub.h, is equal to (L.sub.g−1)/2, and the first and second prototype filter delay τ.sub.h and τ.sub.g, are constants of the analysis filter bank and the synthesis filter bank, respectively.
2. A filter bank according to claim 1 wherein the first modulation sequence ms1 is adapted to shift the first prototype filter h(n) in frequency with a normalized frequency f=m/M, and the second modulation sequence ms2 is adapted to shift the second prototype filter g(n) in frequency with a normalized frequency f=m/M.
3. A filter bank according to claim 1 wherein the first modulation sequence ms1 is adapted to be time shifted by the first prototype filter delay τ.sub.h, and the second modulation sequence ms2 is adapted to be time shifted by the first prototype filter delay τ.sub.g.
4. A filter bank according to claim 1 wherein the center frequency of the first and second prototype filters h(n) and g(n) are both zero.
5. A filter bank according to claim I wherein the first modulation sequence ms1 is equal to e.sup.j2π(n−τ.sup.
6. A filter bank according to claim I wherein the first prototype filters h(n) are subject to the constraint that the sum of all first filters h.sub.m(n) of the analysis filter bank is equal to δ(n−τ.sub.h).
7. A filter bank according to claim 6 wherein the following constraints on the first prototype filter h(n) are imposed: h(τ.sub.h)=1/M h(τ.sub.h+kM)=0, k ∈ Z, k≠0
8. A filter bank according to claim 7 wherein the overall filter bank response t(n), excluding aliasing terms, is subject to the constraint that t(n)=∈(n−τ), where τ=τ.sub.h+τ.sub.g.
9. A filter bank according to claim 8 wherein the following constraints on the second prototype filter g(n) are imposed:
10. An audio processing device comprising a filter bank according to claim 1.
11. An audio processing device according to claim 10 comprising a hearing aid, a headset, an earphone, an ear protection device or a combination thereof.
12. A method of implementing a filter bank for an audio processing device comprising providing an analysis filter bank comprising a plurality of M first filters h.sub.m(n), where m=0, 1, . . . , M−1 is a frequency band index, and whose impulse responses are modulated from a first linear phase prototype filter h(n) with a first predetermined modulation sequence ms1, n being a time index, the first prototype filter h(n) having a first filter length of L.sub.h; providing a synthesis filter bank comprising a plurality of M second filters g.sub.m(n), M=0, 1, . . . , M−1, whose impulse responses are modulated from a second linear phase prototype filter g(n) with a second predetermined modulation sequence ms2, the second prototype filter g(n) having a second filter length of L.sub.g; arranging the plurality of first and second filters in pairs, each pair forming a frequency channel, arranging that the first modulation sequence is a complex or real function of time n, frequency band index m, and a first prototype filter delay τ.sub.h, arranging that the second modulation sequence is a complex or real function of time n, frequency band index m, and a second prototype filter delay τ.sub.g, arranging that the first filter length L.sub.h and the second filter length L.sub.g are both uneven, and arranging that the first prototype filter delay τ.sub.h is equal to (L.sub.h−1)/2 and that the second prototype filter delay τ.sub.g, is equal to (L.sub.g−1)/2, and that the first and second prototype filter delay τ.sub.h and τ.sub.g, are constants of the analysis filter bank and the synthesis filter bank, respectively.
13. A method according to claim 12 wherein the first modulation sequence ms1 is adapted to be time shifted by the first prototype filter delay τ.sub.h, and the second modulation sequence ms2 is adapted to be time shifted by the first prototype filter delay τ.sub.g.
14. Use of a filter bank as claimed in claim 1 in a hearing aid.
15. A data processing system comprising a processor and program code means for causing the processor to perform the steps of the method of claim 12.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0071] The aspects of the disclosure may be best understood from the following detailed description taken in conjunction with the accompanying figures. The figures are schematic and simplified for clarity, and they just show details to improve the understanding of the claims, while other details are left out. Throughout, the same reference numerals are used for identical or corresponding parts. The individual features of each aspect may each be combined with any or all features of the other aspects. These and other aspects, features and/or technical effect will be apparent from and elucidated with reference to the illustrations described hereinafter in which:
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080] The figures are schematic and simplified for clarity, and they just show details which are essential to the understanding of the disclosure, while other details are left out. Throughout, the same reference signs are used for identical or corresponding parts.
[0081] Further scope of applicability of the present disclosure will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the disclosure, are given by way of illustration only. Other embodiments may become apparent to those skilled in the art from the following detailed description.
DETAILED DESCRIPTION OF EMBODIMENTS
[0082] The detailed description set forth below in connection with the appended drawings is intended as a description of various configurations. The detailed description includes specific details for the purpose of providing a thorough understanding of various concepts. However, it will be apparent to those skilled in the art that these concepts may be practised without these specific details. Several aspects of the apparatus and methods are described by various blocks, functional units, modules, components, circuits, steps, processes, algorithms, etc. (collectively referred to as “elements”). Depending upon particular application, design constraints or other reasons, these elements may be implemented using electronic hardware, computer program, or any combination thereof.
[0083] The electronic hardware may include microprocessors, microcontrollers, digital signal processors (DSPs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), gated logic, discrete hardware circuits, and other suitable hardware configured to perform the various functionality described throughout this disclosure. Computer program shall be construed broadly to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software modules, applications, software applications, software packages, routines, subroutines, objects, executables, threads of execution, procedures, functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise.
[0084] The present application relates to the field of hearing devices, e.g. hearing aids.
[0085] The present disclosure relates filter banks assumed, in particular to variants of DFT-modulated filter banks, which allow for efficient implementation (low computational and memory cost), which are important parameters of a miniaturized hearing device, e.g. a hearing aid.
[0086] U.S. Pat. No. 8,532,319B2 describes a filter bank configuration for a hearing device having filters in an analysis filter bank and corresponding filters in a synthesis filter bank that are coupled pair-wise to form a channel in each case. In order to compensate for a hearing loss, sub-band signals are amplified in the individual channels with the aid of multipliers. In the process, an audible distortion of an output signal Y of the filter bank configuration as a result of differences between amplification factors of the multipliers of neighboring channels should be prevented. Here, at least one channel changes a phase of a sub-band signal transmitted by the channel such that a difference between a group delay of the filter bank configuration and a prescribable reference value is reduced for at least one predetermined frequency. The filter bank configuration is particularly suited to hearing aids.
[0087] U.S. Pat. No. 8,532,319B2 describes two solutions to minimize phase distortion: [0088] Phase compensation filters F are used in the sub bands to compensate for the phase distortion which is introduced by the filter bank. In other words, these filter banks are not designed to be free of phase distortion in the first place. [0089] The phase distortion in the analysis filter bank is compensated for by time reversing the prototype filter of the synthesis filter bank. In other words, the analysis filter bank is not free of phase distortion but the overall response is.
[0090] In contrast, the solution of the present disclosure is advantageous, since both analysis filter banks and the overall filter bank are free of phase distortion so there is no need for additional processing to minimize phase distortion.
[0091] Aspects of the present disclosure relate to time-shifting of the modulation sequence. Other aspects relate to constraints on the prototype filter.
[0092]
[0093]
[0094] The hearing aid (HA) of
[0095] The multi-input unit noise reduction systems (NRS) comprises a multi-channel beamformer filtering unit (BEAMFORMER, e.g. an MVDR beamformer) providing beamformed signal Y.sub.BF(m) (as a weighted combination of multi-frequency band electric input signals X1(m), . . . , XN.sub.M(m), m=1, 2, . . . , M). The noise reduction systems (NRS) additionally comprises a single-channel post-processing filter unit (SC-NR) providing enhanced (beamformed and noise reduced) signal Ŝ(m). The single-channel post-processing filter unit (SC-NR) is operationally coupled to the multi-channel beamformer filtering unit (BEAMFORMER) and configured to provide an enhanced signal Ŝ(m) in a number of frequency bands M=N.sub.fp based on the beamformed signal Y.sub.BF(m). A purpose of the single-channel post-processing filter unit (SC-NR) is to suppress noise components from the target direction, which have not been suppressed by the spatial filtering provided by the multi-channel beamformer filtering unit (BEAMFORMER). The analysis and control unit (ANA) provides control signals BFC(m) and NRC(m), m=1, 2, . . . , M, which are provided to the BEMFORMER- and SC-NR-units, respectively, to influence or control functionality of these units. As mentioned in connection with
[0096] The hearing aid (HA) may e.g. further comprise a user interface configured to communicate with another device, e.g. a remote control or a contra-lateral hearing aid of a binaural hearing aid system, thereby allowing a user to influence functionality of the hearing aid(s).
[0097]
[0098] As illustrated at the first level (level 1) of
[0099] The analysis and synthesis filter banks may be used independently of each other, but may advantages be arranged together to provide a number of frequency channels of a forward path for propagating (and processing) an audio signal in an audio processing device, such as a hearing aid. The time variant input signal X(z) may e.g. correspond to (one of) the electric input signals s′.sub.i(i=1, 2, . . . , or N.sub.M) of a hearing aid as described in
[0100] At the second level (level 2) of
[0101] The first and second modulation sequences are complex or real functions of time (index) n, frequency band index m, and the first and second prototype filter delays τ.sub.h, and τ.sub.g, respectively. The first and second prototype filter delays, τ.sub.h and τ.sub.g, are constants of the analysis filter bank (FBA) and the synthesis filter bank (FBS), respectively. The first filter length L.sub.h, and the second filter length L.sub.g are both uneven. The first prototype filter delay τ.sub.h is equal to (L.sub.4−1)/2. The second prototype filter delay τ.sub.g is equal to (L.sub.g−1)/2. The first prototype filter h(n) is typically different from the second prototype filter g(n), each having a center frequency of 0.
[0102] In the embodiment of a filter bank illustrated at the second level (level 2) of
[0103] In the embodiment of a filter bank illustrated at the third level (level 3) of
[0104] In the embodiment of a filter bank illustrated at the third level (level 3) of
[0105] An embodiment of the contents of the various functional blocks of
[0106] Distortion Free DFT-Modulated Analysis Filter Bank
[0107] With reference to
h.sub.m(n)=h(n)e.sup.j2π(n−τ.sup.
[0108] As indicated in
[0109] The modulation sequence e.sup.j2π(n−τ.sup.
[0110] The modulation sequence is time-shifted by τ.sub.h. This ensures that, when all bands are summed together, the resulting transfer function is a pure delay, i.e. linear phase and free amplitude distortion.
[0111] Time-shifting of the modulation sequence is an important part of the solution to the problem of designing amplitude- and phase distortion free filter banks and also to make it possible to make linear combinations of sub-band signals without phase distortion.
[0112] The sum of all analysis filters is:
the following constraint is imposed on h(n). Equation (1) is only valid when h(τ.sub.h)=1/M and h(τ.sub.h+kM)=0,k∈ Z, k≠0. Other values of h(n) are optimized to minimize aliasing distortion. These few constraints imposed on the prototype filter constitute a secondary part of the solution.
[0113] Distortion Free DFT-Modulated Synthesis Filter Bank
[0114] A similar definition and procedure is used for the synthesis filter bank:
g.sub.m(n)=g(n)e.sup.j2π(n−τ.sup.
[0115] Here τ.sub.g=(L.sub.g−1)/2 is the synthesis filter bank delay. The overall filter bank delay is τ=τ.sub.h+τ.sub.g. Note again, the time-shifting of the modulation sequence.
[0116] Also here, time-shifting of the modulation sequence is the primary part of the solution to the problem of designing amplitude- and phase distortion free filter banks.
[0117] The constraint on g(n) is related to the overall filter bank response (excluding aliasing terms)
[0118] Where * denotes convolution. The overall filter bank response τ(n)=δ(n−τ) is free of amplitude and phase distortion and is pure delay. This holds only when:
[0119] The left hand side of (3) is zero for all other values of n, inherently to the definitions of the analysis and synthesis filters being modulated from their prototype filters respectively.
[0120] These few constraints imposed on the prototype filter are the secondary part of the solution.
[0121] Iterative Method for Prototype Filter Design
[0122] An iterative Constrained Least Squares or Quadratic programming method can be used to design the prototype filters to fulfil the constraints and minimize the aliasing distortion in the output signal.
[0123] Since the filter bank is used in hearing aids with time-varying gains in the sub-bands, the notion of perfect reconstruction, which is common in filter banks, is not valid here. Perfect reconstruction (which also involves that the filter bank output signal is aliasing free) only holds for filter applications where the processing is additive in nature, for example in signal coding.
[0124] Prototype Filter Design
[0125] The overall impulse response of the filterbank is given by
[0126] It can be shown that t(n)=0 for n≠τ.sub.h+τ.sub.g+kM, k ∈ N due to the modulation of the analysis and synthesis prototype filters. For any given analysis prototype filter, the synthesis prototype filter can be designed to minimize output signal aliasing with the constraint t(τ)=1 and t(n)=0, n=τ.sub.h+τ.sub.g+kM, k ∈ N.sup.30.
[0127] The aliasing term impulse responses are described by
[0128] Aliasing is minimized by minimizing the quadratic cost function
[0129] Hence, the design problem can be formulated for the synthesis prototype filter (given an analysis prototype filter) as
[0130] The design problem can be formulated for the analysis prototype filter (given a synthesis prototype filter) as
[0131] These optimization methods can be used iteratively to reach a minimum aliasing level.
[0132] Efficient Filter Bank Implementation
[0133] This section show an example of an implementation of the filter bank according tp the present disclosure.
[0134] A down-sampled filter bank using these analysis and synthesis filters is depicted in the
[0135] This can be implemented efficiently using polyphase implementation (reverse the order of math operations and the down/up-samplers). Using the fact that the analysis/synthesis filters are modulated, the mathematical operations can be implemented as a multiplication with the prototype filter weights and matrix multiplication with complex weights.
[0136]
[0137]
[0138]
[0139] The following expression describes how the L.sub.h inputs are connected to the M outputs of the mapping block at the analysis filter bank side (cf. e.g. MAP block in
[0140] The mapping function symbolized in
m=MOD(n−τ.sub.h, M)
where
[0141] m=output index,
[0142] n=input index,
[0143] τ.sub.h=(L.sub.h−1)/2,
[0144] M=IFFT size,
[0145] and MOD is the modulus operation.
[0146] The modulus operation (MOD) may be explained by:
MOD(x,y) is x−k*y where k=floor(x/y) if y≠0,
where FLOOR provides the integer part of x divided by y.
[0147] The process of distributing the M IFFT-outputs to Lg outputs of the distribution block in the synthesis filter bank is similarly structured. In fact, the relation is exactly the same for the distribution block in the synthesis filter bank (cf. e.g. DIS in
[0148]
[0149] The mapping in
[0150] Step D1: The mapping starts by allocating the output of the prototype filter corresponding to time index n=τ.sub.h to the top input of the IFFT w/o scaling unit corresponding to band index m=0. Continue by allocating output n=τ.sub.h+1 to m=1, n=τ.sub.h+2 to m−2 until you reach the last output of the prototype filter corresponding to n=L.sub.h−1 which is allocated to m=τ.sub.h−1.
[0151] Step D2: The mapping starts by allocating the output of the prototype filter corresponding to time index n=τ.sub.h−1 to the bottom input of the IFFT w/o scaling unit corresponding to band index m=M−1. Continue by allocating output n=τ.sub.h−2 to m=M−2, etc. until you reach the first output of the prototype filter corresponding to n=0 which is allocated to m=M−τ.sub.h.
[0152] In the case of
[0153] In case L.sub.h is larger than M, the ‘extra inputs are cyclically added to already allocated inputs as defined by the above defined mapping scheme and as indicated in
[0154] The distribution scheme of the synthesis filter bank is correspondingly performed by allocating outputs corresponding to frequency band indices m=0 to m=M−1 of the IFFT w/o scaling unit to outputs corresponding to time indices n=0 to n=Lg−1 of the Distribute Modulo M shifted with τ.sub.g unit as shown in the right side of
[0155]
[0163] In an embodiment, the mapping of L.sub.h prototype filter outputs h(n), n=0−L.sub.h−1 to M frequency bands m=0 to M−1 (n to m mapping) is given
m=MOD(n−τ.sub.h, M)
where m=output index, n=input index, τ.sub.h=(L.sub.h−1)/2, M=IFFT size, and MOD is the modulus operation.
[0164] It is intended that the structural features of the devices described above, either in the detailed description and/or in the claims, may be combined with steps of the method, when appropriately substituted by a corresponding process.
[0165] As used, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well (i.e. to have the meaning “at least one”), unless expressly stated otherwise. It will be further understood that the terms “includes,” “comprises,” “including,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will also be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element but an intervening elements may also be present, unless expressly stated otherwise. Furthermore, “connected” or “coupled” as used herein may include wirelessly connected or coupled. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. The steps of any disclosed method is not limited to the exact order stated herein, unless expressly stated otherwise.
[0166] It should be appreciated that reference throughout this specification to “one embodiment” or “an embodiment” or “an aspect” or features included as “may” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the disclosure. Furthermore, the particular features, structures or characteristics may be combined as suitable in one or more embodiments of the disclosure. The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects.
[0167] The claims are not intended to be limited to the aspects shown herein, but is to be accorded the full scope consistent with the language of the claims, wherein reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” Unless specifically stated otherwise, the term “some” refers to one or more.
[0168] Accordingly, the scope should be judged in terms of the claims that follow.