WO2007053086A1 - Reduction of digital filter delay - Google Patents

Reduction of digital filter delay Download PDF

Info

Publication number
WO2007053086A1
WO2007053086A1 PCT/SE2006/001233 SE2006001233W WO2007053086A1 WO 2007053086 A1 WO2007053086 A1 WO 2007053086A1 SE 2006001233 W SE2006001233 W SE 2006001233W WO 2007053086 A1 WO2007053086 A1 WO 2007053086A1
Authority
WO
WIPO (PCT)
Prior art keywords
filter
sequence
cepstrum
digital filter
minimum
Prior art date
Application number
PCT/SE2006/001233
Other languages
French (fr)
Other versions
WO2007053086A8 (en
Inventor
Dan Lusk
Tönu TRUMP
Original Assignee
Telefonaktiebolaget Lm Ericsson (Publ)
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 Telefonaktiebolaget Lm Ericsson (Publ) filed Critical Telefonaktiebolaget Lm Ericsson (Publ)
Priority to EP06812957.6A priority Critical patent/EP1943730A4/en
Priority to US12/092,013 priority patent/US8078659B2/en
Priority to JP2008537644A priority patent/JP5312030B2/en
Priority to CA002624629A priority patent/CA2624629A1/en
Publication of WO2007053086A1 publication Critical patent/WO2007053086A1/en
Publication of WO2007053086A8 publication Critical patent/WO2007053086A8/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0211Frequency selective networks using specific transformation algorithms, e.g. WALSH functions, Fermat transforms, Mersenne transforms, polynomial transforms, Hilbert transforms
    • H03H17/0216Quefrency domain filters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing 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/02Speech enhancement, e.g. noise reduction or echo cancellation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H2017/0072Theoretical filter design

Definitions

  • the present invention relates to reduction of delay in digital filters based on a desired magnitude response.
  • Noise reduction devices where the common solution is to apply filtering so that the disturbing background noise is reduced while at the same time retaining the speech so as to improve intelligibility.
  • Echo cancellation devices where typically a linear adaptive filter (connected in parallel with the echo path) models the echo path to enable subtraction of a replica of the echo and thus a reduction of the echo level.
  • This residual echo is typically removed by a non-linear processor (NLP), which detects the presence of the residual echo and, if found, removes it (optionally replacing it with some kind of generated comfort noise).
  • NLP non-linear processor
  • the NLP is usually implemented as a switch that either passes or suppresses the signal applied to it. How- ever, the NLP may also be implemented as a serially connected linear filter, as described in [2].
  • the derivative of the phase characteristic of a linear filter with respect to fre- quency is a measure of the time delay (i.e. group delay or envelope delay) that signal frequency components undergo in passing through the filter.
  • a minimum-phase filter characteristic implies a minimum delay function, while a maximum-phase filter characteristic implies that the delay characteristic is also maximum.
  • a mixed-phase system has a delay in between the two extremes.
  • One solution to decrease the delay, which is imposed by a linear filter, is to convert it to a minimum-phase filter, which by definition has a minimal group delay through the filter.
  • Relationship (1) implies that if we replace a zero z k of the filter by its inverse inside the unit circle, the magnitude characteristic of the filter does not change.
  • a method for converting a finite impulse response (FIR) mixed/ maximum phase filter to a minimum-phase filter is to mirror all zeros into the unit circle.
  • FIR finite impulse response
  • this requires that the exact values of the zeros z k need to be calculated and would also require a large amount of divisions, which is inefficient in a typical real-time application on a digital signal proc- essor (DSP).
  • DSP digital signal proc- essor
  • the method essentially determines the real cepstrum of the magnitude response of the desired digital filter, transforms this into a corresponding complex cepstrum representing a minimum-phase filter, and de- termines the minimum-phase digital filter corresponding to the complex cepstrum.
  • DFTs discrete Fourier transforms
  • An objective of the present invention is to provide a method and apparatus for reducing the delay of a desired filter with a given magnitude response to approximately minimum-phase with shorter DFTs than in the prior art.
  • Another objective is an echo canceller including such an apparatus.
  • Still another objective is a noise suppressor including such an apparatus.
  • the present invention is based on method B above, but shapes the coefficients to be included in the complex cepstrum corresponding to the minimum-phase filter by applying a smoothly decaying window function. This makes it possible to obtain estimates of minimum-phase filters from de- manding magnitude responses by using short DFTs.
  • the use of short DFTs results in a low complexity solution compared to the prior art solutions, without sacrificing the requirements on high stop band rejection.
  • Fig. 1 is a diagram illustrating the location of zeros of the magnitude response of a FIR filter
  • Fig. 2 is a flow chart illustrating a prior art method for obtaining an estimate of a minimum-phase filter from a desired magnitude response
  • Fig. 3 is a flow chart illustrating an embodiment of the method in accordance with the present invention
  • Fig. 4(a)-(d) is a sequence of diagrams graphically illustrating the embodiment of Fig. 3;
  • Fig. 5 is a diagram comparing the embodiment of Fig. 3 with the prior art method B;
  • Fig. 6 is a flow chart illustrating another embodiment of the method in accordance with the present invention.
  • Fig. 7 is a diagram comparing the embodiment of Fig. 3 with the em- bodiment of Fig. 6;
  • Fig. 8 is a block diagram illustrating an embodiment of an apparatus for reducing digital filter delay in accordance with the present invention.
  • H(z) ⁇ nA + - ⁇ ln(l-c k z- i ) + ⁇ n ⁇ b k z) (H)
  • the outlined method may be implemented by using the discrete Fourier transform (DFT) and its inverse (IDFT), as described in [5] and illustrated in Fig. 2.
  • the discrete transforms are typically implemented by the fast and inverse fast Fourier transform (FFT and IFFT) of length M.
  • Step S 1 determines the magnitude response J of a desired filter.
  • Step S2 determines the real cepstrum corresponding to this magnitude response in accordance with
  • Step S3 determines the complex cepstrum of the desired minimum-phase filter from the real cepstrum in accordance with
  • step S4 determines the frequency response H ⁇ of the minimum-phase filter from this complex cepstrum in accordance with
  • truncation of the cepstrum is done by shaping the cepstrum with a shorter, smoothly decaying (in n, which is called “quefrency" in cepstrum analysis) window function instead of abruptly truncating it with a longer rectangular window.
  • Fig. 3 is a flow chart illustrating an embodiment of the method in accordance with the present invention. Steps Sl -S3 are the same as in the method in accordance with Fig. 3. However, in accordance with this embodiment of the present invention a new shaping step S3A has been inserted between steps S3 and S4. Step S3A applies a smoothly decaying window function to shape the coefficients to be included in the complex cepstrum. Thus, a window function w(n) is applied to h ⁇ ri) in (23) in accordance with
  • Fig. 4(a)-(d) is a sequence of diagrams graphically illustrating the embodiment of Fig. 3.
  • Fig. 4 (a) illustrates a hypothetical real cepstrum. In practice a real cepstrum will of course not have this form, but this hypothetical real cepstrum is very convenient for illustrating the method in accordance with the present invention.
  • Fig. 4(b) illustrates the complex cepstrum formed from the real cepstrum in accordance with (23). Fig.
  • the shaping window is applied to the complex cepstrum to form the shaped complex cepstrum that is forwarded to step S4 in the method of Fig. 3.
  • the shaping window in this example has been applied to the complex cepstrum, it is appreciated that the window can equally well be applied directly to the real cepstrum coefficients before they are converted to complex cepstrum coefficients. Mathematically the result will be the same. Further- more, since taps M /2 + 1,...,M-I in the complex cepstrum are set to zero anyway to form a complex cepstrum that corresponds to a minimum-phase filter, actually only one half of the Kaiser window is required.
  • Kaiser window has been used for shaping the sequence of coefficients A 1111n (n) .
  • other smoothly decaying window functions such as Hamming, Hanning, Blackman, Bartlett windows, are also feasible.
  • Fig. 5 is a diagram comparing the embodiment of Fig. 3 with the prior art method B in accordance with Fig. 2.
  • the present invention gives a stop band rejection in the order of 30 dB even with such a short DFT.
  • the corresponding stop band rejection for the filter obtained by method B is only in the order of 10 dB.
  • a DFT having a length M equal to at least 512 is required.
  • the significantly less complex method of the present invention provides estimated minimum-phase filters with excellent stop band rejection.
  • the desired filter may need to pass some of the frequency bands and suppress other bands, so that the desired magnitude response is piecewise constant.
  • a piecewise constant function is, however, not limited to contain only frequency components below a certain limit. Such a function is preferably smoothed before sampling to avoid aliasing. It should also be noted that even if the desired frequency response fulfils the sampling theorem, there is a possibility that computing the logarithm may introduce some components that do not fulfil the theorem.
  • the desired frequency response (or its logarithm) is smoothed before computing the cepstrum.
  • the smoothing is accomplished by low pass filtering H( ⁇ k ) . This can be done for example by applying a frequency domain Hanning window to H ⁇ k ) .
  • Fig. 6 is a flow chart illustrating an embodiment of the method in accordance with the present invention that includes smoothing in accordance with the previous paragraph.
  • This method includes the same steps as the method of Fig. 3, but is supplemented by a smoothing step SlA between steps Sl and S2.
  • Fig. 7 is a diagram comparing the embodiment of Fig. 3 with the embodiment of Fig. 6.
  • M the same DFT length
  • the original magnitude response of Fig. 5 has been convolved (smoothed) with a Hanning window having the symmetrical kernel (1/4,1/2,1/4) , i.e.
  • H s.moothed ( ⁇ k ) ⁇ H( ⁇ kA ) + ⁇ H( ⁇ k ) + ⁇ H( ⁇ M ) (26)
  • the smoothing step improves the stop band rejection by about a further 15 dB compared to the example of Fig. 5.
  • the smoothing step widens the passband of the original magnitude response. This in turn results in a widened pass band for the minimum-phase filter obtained. If the passband width is of importance, widening of the passband can be counteracted by narrowing the passband of the original magnitude response one or several bins before smoothing.
  • Fig. 8 is a block diagram illustrating an embodiment of an apparatus for reducing digital filter delay in accordance with the present invention illustrated in an echo canceller environment.
  • An estimator 10 estimates the desired filter magnitude, for example in accordance with the method described in [4].
  • ⁇ x ( ⁇ k ) represent an estimate of the power spectral density of a signal x(n) contaminated by echo and ⁇ e (co k ) represents an estimate of the power spectral density of the echo signal.
  • the determined magnitude response is passed through a smoothing filter 12 (optional, as indicated by the dashed lines), for example a Hanning filter.
  • the (optionally) smoothed magnitude response is forwarded to a logarithm block 14, which outputs the logarithm of its input signal.
  • a frame containing M output signal samples from block 14 is forwarded to an inverse fast Fourier transformation block 26.
  • the output signal from block 16 forms the real cepstrum, which in block 18 is transformed into a complex cepstrum associated with a minimum-phase filter.
  • the complex cepstrum is shaped in a shaping window 20, for example a Kaiser window.
  • the shaped complex cepstrum is forwarded to a fast Fourier transformation block 22.
  • the output samples of block 22 are forwarded to an exponential function block 24.
  • the final estimate of the minimum-phase filter from block 24 is stored in a filter block 26.
  • This filter is used to suppress the echo contained in input signal x(n). Before signal x(n) is filtered it is typically transformed to the frequency domain by a fast Fourier transformation block 28. After filtering in filter 26, the output signal y(n) is obtained from an inverse fast Fourier transformation block 30.
  • the filtering of input signal x(n) may also be performed in the time domain, provided that the minimum-phase filter from block 24 is transformed into a corresponding impulse response in an IFFT block.
  • the different blocks of the echo canceller of Fig. 8 are typically implemented by a micro processor or a micro/ signal processor combination and corresponding software.
  • this application may be based on a serially connected noise reduction filter with a desired magnitude response, the delay of which should be as small as possible.
  • the desired magnitude response in noise reduction is determined from an estimate of the power spectral density of the noisy input signal and an estimate of the power spectral density of the pure noise, as described in [4].
  • the block diagram of Fig. 8 may be used to implement a noise suppressor.
  • the present invention proposes a method for design of minimum-phase filters from a magnitude frequency response (with arbitrary phase) using only short DFTs. This results in a low complexity method, which outperforms all other known methods in terms of complexity and resulting stop band at- tenuation of the resulting minimum-phase filters.
  • the method is particularly suitable for environments where a multitude of identical channels have to be processed (e.g. noise reduction, echo cancelling devices) at a minimum cost of computational operations and heat dissipation.
  • the method allows for processing of more channels simultaneously than would have been possible using state of the art methods, given a limited amount of computational power.
  • the reduced complexity provided by the present invention may be used to reduce heat dissipation and/ or improve battery utilization.

Abstract

An apparatus for reducing a digital filter delay includes means (10) for determining the magnitude response of a desired filter. Means (12, 14, 16) form the real cepstrum of this magnitude response. Means (18) transform the real cepstrum into a complex cepstrum of a corresponding minimum-phase filter having the same magnitude response as the desired filter. A filter (20) applies a smoothly decaying shaping window to the complex cepstrum. Means (22, 24) transform the shaped complex cepstrum into an estimated minimum-phase filter.

Description

REDUCTION OF DIGITAL FILTER DELAY
TECHNICAL FIELD
The present invention relates to reduction of delay in digital filters based on a desired magnitude response.
BACKGROUND
Requirements on a digital signal processing device to be used in a telephony- network normally aim at minimizing the signal propagation delay imposed by the device, to reduce the total round trip delay which otherwise would affect the conversation quality negatively, see [I]. It is common for signal processing devices (such as noise reduction devices, echo cancellers, etc.) to apply some kind of linear filtering, serially connected to the signal path, to improve the speech signal. Two examples are:
1. Noise reduction devices, where the common solution is to apply filtering so that the disturbing background noise is reduced while at the same time retaining the speech so as to improve intelligibility.
2. Echo cancellation devices, where typically a linear adaptive filter (connected in parallel with the echo path) models the echo path to enable subtraction of a replica of the echo and thus a reduction of the echo level. However, due to imperfections in the adaptive algorithms and due to time varying and possibly non-linear echo paths, residual echo is left after the subtraction. This residual echo is typically removed by a non-linear processor (NLP), which detects the presence of the residual echo and, if found, removes it (optionally replacing it with some kind of generated comfort noise). The NLP is usually implemented as a switch that either passes or suppresses the signal applied to it. How- ever, the NLP may also be implemented as a serially connected linear filter, as described in [2].
In both these telecommunication applications it is vital that the voice en- hancement devices do not add to the round trip delay. Thus, it is desirable to minimize the delay of the signal processing filters. However, at the same time it is also desirable to maintain high stop-band rejection. Achieving high stop- band rejection is particularly important in echo cancellation applications, where a serially connected filter is required to suppress residual echo in cer- tain frequency bands (the ones where residual echo dominates over true near end signal), while passing some other bands (the ones dominated by the true near end signal).
The derivative of the phase characteristic of a linear filter with respect to fre- quency is a measure of the time delay (i.e. group delay or envelope delay) that signal frequency components undergo in passing through the filter. A minimum-phase filter characteristic implies a minimum delay function, while a maximum-phase filter characteristic implies that the delay characteristic is also maximum. A mixed-phase system has a delay in between the two extremes. One solution to decrease the delay, which is imposed by a linear filter, is to convert it to a minimum-phase filter, which by definition has a minimal group delay through the filter.
Suppose that we have a finite impulse response (FIR) filter prototype H{ω) with real coefficients. The magnitude square value of its frequency response is
Figure imgf000004_0001
Relationship (1) implies that if we replace a zero zk of the filter by its inverse inside the unit circle, the magnitude characteristic of the filter does not change. Hence, a method for converting a finite impulse response (FIR) mixed/ maximum phase filter to a minimum-phase filter is to mirror all zeros into the unit circle. However, this requires that the exact values of the zeros zk need to be calculated and would also require a large amount of divisions, which is inefficient in a typical real-time application on a digital signal proc- essor (DSP). Mainly three workable other approaches exist for performing the conversion to a minimum-phase filter:
A. Spectral factorisation, e.g. using some approximating recursive algorithms as described in [3, 4]. However, a problem with spectral factori- sation is that it is computationally demanding and that it needs an increasing number of iterations to reliably form a minimum-phase filter of a demanding filter prototype (i.e. a complicated desired magnitude response with high dynamic range) with high required stop band attenuation.
B. Employing homomorphic filtering as described in, for example, [5]. The method essentially determines the real cepstrum of the magnitude response of the desired digital filter, transforms this into a corresponding complex cepstrum representing a minimum-phase filter, and de- termines the minimum-phase digital filter corresponding to the complex cepstrum. The problem with this method is that it requires long discrete Fourier transforms (DFTs) to attain high stop band rejection in the resulting minimum-phase filter and thus becomes computationally demanding.
C. The errors imposed due to the usage of a discrete Fourier transform (DFT) in method B have been analysed in [6], and a method is proposed to reduce these errors. The method basically trusts on the usage of long DFTs together with truncation of the resulting impulse re- sponses to minimise the effects of aliasing. This results in that the effective length of the impulse response will be half of the length of the used DFT. When using short DFTs, this leads to difficulties in obtaining the desired magnitude response of the prototype filter.
SUMMARY
An objective of the present invention is to provide a method and apparatus for reducing the delay of a desired filter with a given magnitude response to approximately minimum-phase with shorter DFTs than in the prior art.
Another objective is an echo canceller including such an apparatus.
Still another objective is a noise suppressor including such an apparatus.
These objectives are achieved in accordance with the attached claims.
Briefly, the present invention is based on method B above, but shapes the coefficients to be included in the complex cepstrum corresponding to the minimum-phase filter by applying a smoothly decaying window function. This makes it possible to obtain estimates of minimum-phase filters from de- manding magnitude responses by using short DFTs. The use of short DFTs results in a low complexity solution compared to the prior art solutions, without sacrificing the requirements on high stop band rejection.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which:
Fig. 1 is a diagram illustrating the location of zeros of the magnitude response of a FIR filter;
Fig. 2 is a flow chart illustrating a prior art method for obtaining an estimate of a minimum-phase filter from a desired magnitude response; Fig. 3 is a flow chart illustrating an embodiment of the method in accordance with the present invention;
Fig. 4(a)-(d) is a sequence of diagrams graphically illustrating the embodiment of Fig. 3; Fig. 5 is a diagram comparing the embodiment of Fig. 3 with the prior art method B;
Fig. 6 is a flow chart illustrating another embodiment of the method in accordance with the present invention;
Fig. 7 is a diagram comparing the embodiment of Fig. 3 with the em- bodiment of Fig. 6; and
Fig. 8 is a block diagram illustrating an embodiment of an apparatus for reducing digital filter delay in accordance with the present invention.
DETAILED DESCRIPTION
To better explain how the idea of the present invention is related to minimum-phase filter design, let us first reproduce some of the theory.
Suppose we have a finite impulse response (FIR) filter
h(n), O ≤ n ≤ N (2)
The system function of the filter h is given by its z-transform
H (ή = ∑h(n) Z-" (3)
Denote the logarithm of the magnitude response of the system function above as
Figure imgf000007_0001
(4) The cepstrum, or more accurately the real cepstrum, of h is defined as the coefficients h(n) of the power series expansion of H(z), i.e.
Figure imgf000008_0001
given that the series is convergent. The coefficients of the power series expansion above, i.e. the real cepstrum, can be computed using the inverse z- transform of H{z)
h(n) = —j)H(z)z"-ldz (6) 2πy c
or explicitly
Figure imgf000008_0002
Choosing the integration contour, C, to be the unit circle, (6) transforms to
h(n) = — ] H{eJύ>)ejωndω (8)
Denote the zeros of H(z) by Ok. Now, it is well known that the zeros of
Figure imgf000008_0003
are located in conjugate reciprocal pairs, as illustrated in Fig. 1. Denote the zeros of H(z) that lie inside the unit circle by Ck and the zeros that lie outside the unit circle by bk. Then (9) can be rewritten as
Figure imgf000009_0001
Computing the logarithm of the square root of the above expression results in
H(z) = \nA + -∑ln(l-ckz-i) + ±∑\n{\~bkz) (H)
* k=\ I Ar=I
Using the following power series representations
Figure imgf000009_0002
gives
Figure imgf000009_0003
Comparing the above with (5) and identifying coefficients of the same power of z it is evident that
Figure imgf000009_0004
From (14) it may be noted that the components originating from the zeros inside the unit circle only contribute to the cepstrum at positive n and that the components originating from zeros outside the unit circle only contribute to the cepstrum at negative n. A minimum-phase filter has all its zeros inside the unit circle. Hence, to get the cepstrum corresponding to a minimum- phase filter one needs to set the cepstrum at negative n to zero.
Furthermore, from (14) it may also be noted that the real cepstrum has infinite duration although the original filter h(n) has a finite length.
A similar reasoning as above can be applied to the complex cepstrum (see [5]), i.e.
Figure imgf000010_0001
where it is noted that the magnitude (" | | ") taken in (7) has been removed. In the special case of a minimum-phase filter this leads to the following representation of the complex cepstrum
Figure imgf000010_0002
Comparing (16) with (14), it is evident that the complex cepstrum of a minimum-phase sequence can be restored from its real cepstrum as
Figure imgf000010_0003
In order to obtain the impulse response of the minimum-phase filter one needs to reverse the process, i.e. compute (18) n =-oo
Hmin (z)=exP{Hmin(z)} (19)
Figure imgf000011_0001
The outlined method may be implemented by using the discrete Fourier transform (DFT) and its inverse (IDFT), as described in [5] and illustrated in Fig. 2. The discrete transforms are typically implemented by the fast and inverse fast Fourier transform (FFT and IFFT) of length M. Step S 1 determines the magnitude response
Figure imgf000011_0002
J of a desired filter. Step S2 determines the real cepstrum corresponding to this magnitude response in accordance with
H(ωk) =
Figure imgf000011_0003
0,1,...,M-I (21) h(n) = IDFT{H{ωk)), « = 0,1,..., M -I (22)
Here M must be sufficiently large to avoid aliasing (M= 1024 in the example given in [5]). Step S3 determines the complex cepstrum of the desired minimum-phase filter from the real cepstrum in accordance with
2- h(n), n = 1,2,..., M /2
*U(») = h{n), n = 0 (23)
0 « = M/2 + l,..., M -l
Note that due to the periodicity assumed by the IDFT, the cepstral components with negative n are (by convention) located between M/ 2+1 and M-I in equation (23). Finally step S4 determines the frequency response H^ω^ of the minimum-phase filter from this complex cepstrum in accordance with
Figure imgf000011_0004
k = 0,l,...,M-l (24) The resulting filter hmin (n) is causal and gives an estimate of a minimum- phase filter, where the quality of the estimate depends on e.g. the involved FFT lengths.
When computing the minimum-phase impulse response, a problem arises in practice due to the fact that it is necessary to replace the infinite coefficient sequence hnjn) with a finite sequence. This operation implies a truncation, which introduces errors in the computations. The prior art method B suggests that the problem can be relieved by selecting a long enough DFT. How- ever, as mentioned earlier, using long DFTs results in high computational complexity. The present invention takes another approach by noting that when truncating a function before computing its DFT, the resulting spectrum will be a convolution between the spectrum of interest and the spectrum of the window function used for truncation (Gibbs's phenomenon). Ac- cording to the present invention, truncation of the cepstrum is done by shaping the cepstrum with a shorter, smoothly decaying (in n, which is called "quefrency" in cepstrum analysis) window function instead of abruptly truncating it with a longer rectangular window.
Fig. 3 is a flow chart illustrating an embodiment of the method in accordance with the present invention. Steps Sl -S3 are the same as in the method in accordance with Fig. 3. However, in accordance with this embodiment of the present invention a new shaping step S3A has been inserted between steps S3 and S4. Step S3A applies a smoothly decaying window function to shape the coefficients to be included in the complex cepstrum. Thus, a window function w(n) is applied to h^ri) in (23) in accordance with
*«(») = w(«)W«) (25)
In step S4 hshaped(n) replaces HnJn) in (24). Fig. 4(a)-(d) is a sequence of diagrams graphically illustrating the embodiment of Fig. 3. Fig. 4 (a) illustrates a hypothetical real cepstrum. In practice a real cepstrum will of course not have this form, but this hypothetical real cepstrum is very convenient for illustrating the method in accordance with the present invention. Fig. 4(b) illustrates the complex cepstrum formed from the real cepstrum in accordance with (23). Fig. 4(c) illustrates a shaping window in the form of a Kaiser window with the Kaiser window parameter β = β (other values are of course also possible; typical values lie in the interval 1 < β < 10 . In Fig. 4(d) the shaping window is applied to the complex cepstrum to form the shaped complex cepstrum that is forwarded to step S4 in the method of Fig. 3.
Although the shaping window in this example has been applied to the complex cepstrum, it is appreciated that the window can equally well be applied directly to the real cepstrum coefficients before they are converted to complex cepstrum coefficients. Mathematically the result will be the same. Further- more, since taps M /2 + 1,...,M-I in the complex cepstrum are set to zero anyway to form a complex cepstrum that corresponds to a minimum-phase filter, actually only one half of the Kaiser window is required.
In the embodiment described above a Kaiser window has been used for shaping the sequence of coefficients A1111n (n) . However, other smoothly decaying window functions, such as Hamming, Hanning, Blackman, Bartlett windows, are also feasible.
Fig. 5 is a diagram comparing the embodiment of Fig. 3 with the prior art method B in accordance with Fig. 2. In both cases a DFT of length M=64 was used to determine an estimated minimum-phase filter corresponding to the indicated desired magnitude response. As can be seen from Fig. 5 the present invention gives a stop band rejection in the order of 30 dB even with such a short DFT. The corresponding stop band rejection for the filter obtained by method B is only in the order of 10 dB. In fact, it has been found that in order to obtain a comparable stop band rejection with method B, a DFT having a length M equal to at least 512 is required. Thus, the significantly less complex method of the present invention provides estimated minimum-phase filters with excellent stop band rejection.
From Shannon's sampling theorem it is known that replacement of the inte- grals in Fourier transforms by sums can be done without error if the spectrum of the signal is zero for all frequencies above half the sampling frequency. In the problem at hand, the logarithm of the system function H(_») = ln|H(ω) | must be sampled before computing the inverse Fourier transform. Hence, it should be ensured that a condition similar to that of the sampling theorem holds for ln|H(ω) | . Typically in echo cancellation and noise reduction applications, the dynamically updated desired magnitude response H(ωk) is computed in real time for a certain set of frequency bands based on some algorithm. The desired filter may need to pass some of the frequency bands and suppress other bands, so that the desired magnitude response is piecewise constant. A piecewise constant function is, however, not limited to contain only frequency components below a certain limit. Such a function is preferably smoothed before sampling to avoid aliasing. It should also be noted that even if the desired frequency response fulfils the sampling theorem, there is a possibility that computing the logarithm may introduce some components that do not fulfil the theorem. Hence, according to a further embodiment of the present invention the desired frequency response (or its logarithm) is smoothed before computing the cepstrum. The smoothing is accomplished by low pass filtering H(ωk) . This can be done for example by applying a frequency domain Hanning window to H{ωk) .
Fig. 6 is a flow chart illustrating an embodiment of the method in accordance with the present invention that includes smoothing in accordance with the previous paragraph. This method includes the same steps as the method of Fig. 3, but is supplemented by a smoothing step SlA between steps Sl and S2. Fig. 7 is a diagram comparing the embodiment of Fig. 3 with the embodiment of Fig. 6. In this example, which is based on the same DFT length (M=64), the original magnitude response of Fig. 5 has been convolved (smoothed) with a Hanning window having the symmetrical kernel (1/4,1/2,1/4) , i.e.
H s.moothed (ωk) = ±H(ωkA) + ±H(ωk) + ±H(ωM) (26)
As can be seen in Fig, 7 the smoothing step improves the stop band rejection by about a further 15 dB compared to the example of Fig. 5.
From Fig. 7 it is also noted that the smoothing step widens the passband of the original magnitude response. This in turn results in a widened pass band for the minimum-phase filter obtained. If the passband width is of importance, widening of the passband can be counteracted by narrowing the passband of the original magnitude response one or several bins before smoothing.
In the description above a Hanning window has been described (due to its simple kernel) for smoothing the magnitude response. However, other smoothing windows, such as Hamming, Blackman, Bartlett, Kaiser windows, are also feasible.
Fig. 8 is a block diagram illustrating an embodiment of an apparatus for reducing digital filter delay in accordance with the present invention illustrated in an echo canceller environment. An estimator 10 estimates the desired filter magnitude, for example in accordance with the method described in [4]. Here
Φxk) represent an estimate of the power spectral density of a signal x(n) contaminated by echo and Φe(cok) represents an estimate of the power spectral density of the echo signal. The determined magnitude response is passed through a smoothing filter 12 (optional, as indicated by the dashed lines), for example a Hanning filter. The (optionally) smoothed magnitude response is forwarded to a logarithm block 14, which outputs the logarithm of its input signal. A frame containing M output signal samples from block 14 is forwarded to an inverse fast Fourier transformation block 26. The output signal from block 16 forms the real cepstrum, which in block 18 is transformed into a complex cepstrum associated with a minimum-phase filter. The complex cepstrum is shaped in a shaping window 20, for example a Kaiser window. The shaped complex cepstrum is forwarded to a fast Fourier transformation block 22. The output samples of block 22 are forwarded to an exponential function block 24. The final estimate of the minimum-phase filter from block 24 is stored in a filter block 26. This filter is used to suppress the echo contained in input signal x(n). Before signal x(n) is filtered it is typically transformed to the frequency domain by a fast Fourier transformation block 28. After filtering in filter 26, the output signal y(n) is obtained from an inverse fast Fourier transformation block 30.
As an alternative, the filtering of input signal x(n) may also be performed in the time domain, provided that the minimum-phase filter from block 24 is transformed into a corresponding impulse response in an IFFT block.
The different blocks of the echo canceller of Fig. 8 are typically implemented by a micro processor or a micro/ signal processor combination and corresponding software.
Although the present invention has been described in detail with reference to echo cancellation, the same principles may be used in other applications, for example noise reduction in telecommunication or audio systems. As is described in [4] this application may be based on a serially connected noise reduction filter with a desired magnitude response, the delay of which should be as small as possible. The essential difference is that instead of de- termining the desired magnitude response from an estimate Φx(cok) of the power spectral density of the input signal and an estimate Φe(cok) of the power spectral density of the echo signal, the desired magnitude response in noise reduction is determined from an estimate of the power spectral density of the noisy input signal and an estimate of the power spectral density of the pure noise, as described in [4]. With these changes the block diagram of Fig. 8 may be used to implement a noise suppressor.
The present invention proposes a method for design of minimum-phase filters from a magnitude frequency response (with arbitrary phase) using only short DFTs. This results in a low complexity method, which outperforms all other known methods in terms of complexity and resulting stop band at- tenuation of the resulting minimum-phase filters. The method is particularly suitable for environments where a multitude of identical channels have to be processed (e.g. noise reduction, echo cancelling devices) at a minimum cost of computational operations and heat dissipation. The method allows for processing of more channels simultaneously than would have been possible using state of the art methods, given a limited amount of computational power. Alternatively, the reduced complexity provided by the present invention may be used to reduce heat dissipation and/ or improve battery utilization.
It will be understood by those skilled in the art that various modifications and changes may be made to the present invention without departure from the scope thereof, which is defined by the appended claims.
REFERENCES
[ 1] ITU-T G.131 , Talker echo and its control
[2] US 658107 Bl
[3] Kucera V., Discrete linear control, John Wiley & Sons, 1979
[4] WO 01/ 18960 Al
[5] A.V. Oppenheim and R.W. Schafer, Discrete-time signal processing, Prentice-Hall, Inter.Ed., 1989, Chapter 12
[6] Bysted, T.K., Aliasing in the complex cepstrum of linear-phase signals, International Conference on Information, Communication and Signal
Processing, 1997

Claims

1. A method of reducing a digital filter delay, including the steps of determining a first finite sequence of coefficients representing the real cepstrum of the magnitude response of a desired digital filter, transforming said first sequence into a second sequence of coefficients representing a corresponding complex cepstrum, determining an estimate of the minimum-phase digital filter corresponding to said second sequence, characterized in that said transforming step includes shaping of the coefficients to be included in said second sequence by applying a smoothly decaying window function.
2. The method of claim 1, characterized by shaping with a Kaiser window.
3. The method of claim 1 or 2, characterized by smoothing said magnitude response before determining said first sequence.
4. The method of claim 3, characterized by smoothing with a Harming window.
5. An apparatus for reducing a digital filter delay, including means for determining a first finite sequence of coefficients representing the real cepstrum of the magnitude response of a desired digital filter, means for transforming said first sequence into a second sequence of coefficients representing a corresponding complex cepstrum, means for determining an estimate of the minimum-phase digital filter corresponding to said second sequence, characterized in that said transforming means includes means (20) for applying a smoothly decaying window function for shaping the coefficients to be included in said second sequence.
6. The method of claim 5, characterized by means (20) for applying a Kaiser window.
7. The apparatus of claim 5 or 6, characterized by a filter (12) for smoothing said magnitude response before determining said first sequence.
8. The apparatus of claim 7, characterized in that said filter (12) is a Hanning window.
9. An echo canceller for a telecommunication system, including a non-linear processor with a serially connected echo canceling digital filter, characterized by an apparatus in accordance with any of claims 5-8 for reducing the delay of said filter.
10. A noise suppressor including a serially connected noise suppressing digital filter, characterized by an apparatus in accordance with any of claims 5-8 for reducing the delay of said filter.
PCT/SE2006/001233 2005-10-31 2006-10-31 Reduction of digital filter delay WO2007053086A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP06812957.6A EP1943730A4 (en) 2005-10-31 2006-10-31 Reduction of digital filter delay
US12/092,013 US8078659B2 (en) 2005-10-31 2006-10-31 Reduction of digital filter delay
JP2008537644A JP5312030B2 (en) 2005-10-31 2006-10-31 Method and apparatus for reducing delay, echo canceller apparatus, and noise suppression apparatus
CA002624629A CA2624629A1 (en) 2005-10-31 2006-10-31 Reduction of digital filter delay

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
SE0502415-3 2005-10-31
SE0502415 2005-10-31

Publications (2)

Publication Number Publication Date
WO2007053086A1 true WO2007053086A1 (en) 2007-05-10
WO2007053086A8 WO2007053086A8 (en) 2007-06-28

Family

ID=38006129

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SE2006/001233 WO2007053086A1 (en) 2005-10-31 2006-10-31 Reduction of digital filter delay

Country Status (5)

Country Link
US (1) US8078659B2 (en)
EP (1) EP1943730A4 (en)
JP (1) JP5312030B2 (en)
CA (1) CA2624629A1 (en)
WO (1) WO2007053086A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008125206A1 (en) * 2007-04-17 2008-10-23 Rohde & Schwarz Gmbh & Co. Kg Method for optimizing a minimal-phase transmission characteristic and associated transmission system
WO2019211187A1 (en) * 2018-04-30 2019-11-07 Widex A/S Method of operating a hearing aid system and a hearing aid system

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8111791B2 (en) * 2005-12-20 2012-02-07 Sirf Technology, Inc. Differential evolution design of polyphase IIR decimation filters
JP6006627B2 (en) * 2012-12-05 2016-10-12 日本放送協会 Impulse response length conversion device, impulse response length conversion method, impulse method conversion program
US9614499B2 (en) * 2014-03-21 2017-04-04 Huawei Technologies Co., Ltd. System and method for filter design and usage thereof
CN104283527B (en) * 2014-08-28 2017-05-03 天津大学 Method and device for configuring boundary frequency band of efficient filter rapidly
RU194496U1 (en) * 2019-06-25 2019-12-12 Федеральное государственное бюджетное образовательное учреждение высшего образования "МИРЭА - Российский технологический университет" ADAPTIVE DIGITAL FILTER FOR THE SUPPRESSION OF NON-FLUCTUATION INTERFERENCE
RU2747199C1 (en) * 2020-07-05 2021-04-29 Федеральное государственное бюджетное образовательное учреждение высшего образования. "Юго-Западный государственный университет" (ЮЗГУ) Digital filter for non-stationary signals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001018960A1 (en) * 1999-09-07 2001-03-15 Telefonaktiebolaget Lm Ericsson (Publ) Digital filter design
US20020184010A1 (en) * 2001-03-30 2002-12-05 Anders Eriksson Noise suppression
US20030090783A1 (en) 2001-08-20 2003-05-15 So John Ling Wing Optical system and method
WO2005109640A1 (en) * 2004-05-12 2005-11-17 Deqx Pty Limited Digital filter design system and method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2955584A (en) * 1983-06-27 1985-01-03 Rca Corp. Real-time hierarchial pyramid siganl processing apparatus
US4658426A (en) * 1985-10-10 1987-04-14 Harold Antin Adaptive noise suppressor
JP3307483B2 (en) * 1993-11-17 2002-07-24 政七 岸 Digital broadband 90 degree phase shifter
US5933797A (en) * 1997-02-28 1999-08-03 Telefonaktiebolaget Lm Ericsson (Publ) Adaptive dual filter echo cancellation
US6064873A (en) * 1997-03-26 2000-05-16 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for controlling echo on both sides of a connection
WO2001003316A1 (en) * 1999-07-02 2001-01-11 Tellabs Operations, Inc. Coded domain echo control
JP2001195099A (en) * 2000-01-14 2001-07-19 Matsushita Electric Ind Co Ltd Voice processor
FR2836571B1 (en) * 2002-02-28 2004-07-09 Remy Henri Denis Bruno METHOD AND DEVICE FOR DRIVING AN ACOUSTIC FIELD RESTITUTION ASSEMBLY
FR2850183B1 (en) * 2003-01-20 2005-06-24 Remy Henri Denis Bruno METHOD AND DEVICE FOR CONTROLLING A RESTITUTION ASSEMBLY FROM A MULTICHANNEL SIGNAL
JP2004356894A (en) * 2003-05-28 2004-12-16 Mitsubishi Electric Corp Sound quality adjuster
JP2005124113A (en) * 2003-10-15 2005-05-12 Toshikimi Iwata Digital filter inspection device
US7350890B2 (en) * 2004-08-26 2008-04-01 The Boeing Company Apparatus and methods for applying images to a surface
US7774396B2 (en) * 2005-11-18 2010-08-10 Dynamic Hearing Pty Ltd Method and device for low delay processing
WO2007095664A1 (en) * 2006-02-21 2007-08-30 Dynamic Hearing Pty Ltd Method and device for low delay processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001018960A1 (en) * 1999-09-07 2001-03-15 Telefonaktiebolaget Lm Ericsson (Publ) Digital filter design
US20020184010A1 (en) * 2001-03-30 2002-12-05 Anders Eriksson Noise suppression
US20030090783A1 (en) 2001-08-20 2003-05-15 So John Ling Wing Optical system and method
WO2005109640A1 (en) * 2004-05-12 2005-11-17 Deqx Pty Limited Digital filter design system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
HAI HUYEN DAM ET AL.: "Design of Minimum-Phase Digital Filters as the Sum of Two Allpass Functions Using the Cepstrum Technique", IEEE TRANSACTIONS ON SIGNAL PROCESSING, vol. 51, no. 3, March 2003 (2003-03-01), pages 726 - 731, XP011080371 *
NIRANJAN DAMERA-VENKATA ET AL.: "OPTIMAL DESIGN OF REAL AND COMPLEX MINIMUM PHASE DIGITAL FIR FILTERS", 1999 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING, ICASSP99, vol. 3, 15 March 1999 (1999-03-15) - 19 March 1999 (1999-03-19), pages 1145 - 1148, XP010328310 *
OKUDA M. ET AL.: "Quasi-equiripple approximation of minimum phase FIR filters by updating desired response", IEEE PROC.-VIS. IMAGE SIGNAL PROCESS, vol. 151, no. 3, June 2004 (2004-06-01), pages 164 - 169, XP006021990 *
See also references of EP1943730A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008125206A1 (en) * 2007-04-17 2008-10-23 Rohde & Schwarz Gmbh & Co. Kg Method for optimizing a minimal-phase transmission characteristic and associated transmission system
DE102007056728A1 (en) 2007-04-17 2008-10-23 Rohde & Schwarz Gmbh & Co Kg Method for optimizing a minimum-phase transmission characteristic and associated transmission system
WO2019211187A1 (en) * 2018-04-30 2019-11-07 Widex A/S Method of operating a hearing aid system and a hearing aid system
US11310607B2 (en) 2018-04-30 2022-04-19 Widex A/S Method of operating a hearing aid system and a hearing aid system

Also Published As

Publication number Publication date
JP2009514331A (en) 2009-04-02
US20080256160A1 (en) 2008-10-16
EP1943730A1 (en) 2008-07-16
JP5312030B2 (en) 2013-10-09
EP1943730A4 (en) 2017-07-26
CA2624629A1 (en) 2007-05-10
WO2007053086A8 (en) 2007-06-28
US8078659B2 (en) 2011-12-13

Similar Documents

Publication Publication Date Title
KR100594563B1 (en) Signal noise reduction by spectral subtraction using linear convolution and causal filtering
US5553014A (en) Adaptive finite impulse response filtering method and apparatus
US8078659B2 (en) Reduction of digital filter delay
CA2593183C (en) Partitioned fast convolution in the time and frequency domain
JP2683490B2 (en) Adaptive noise eliminator
KR100595799B1 (en) Signal noise reduction by spectral subtraction using spectrum dependent exponential gain function averaging
KR20020005674A (en) System and method for dual microphone signal noise reduction using spectral subtraction
WO2001018960A1 (en) Digital filter design
Andersen et al. Adaptive time-frequency analysis for noise reduction in an audio filter bank with low delay
Reilly et al. The complex subband decomposition and its application to the decimation of large adaptive filtering problems
EP1879292B1 (en) Partitioned fast convolution
EP2730026B1 (en) Low-delay filtering
US20050123129A1 (en) Method and apparatus for reducing echo in a communication system
Wahbi et al. Enhancing the quality of voice communications by acoustic noise cancellation (ANC) using a low cost adaptive algorithm based Fast Fourier Transform (FFT) and circular convolution
Weiss et al. Noise and digital signal processing
Lu et al. Acoustic echo cancellation with post-filtering in subband
US7822193B2 (en) Estimation method and apparatus
Tanrikulu et al. Residual signal in sub-band acoustic echo cancellers
Noor et al. Improved, Low Complexity Noise Cancellation Technique for Speech Signals
Babic et al. Block-based methods for sampling rate alteration for arbitrary ratio
CN116940980A (en) Implementation of complexity reduction for acoustic noise cancellation
Bilgunde et al. Reducing Complexity of FIR Filters using Narrowband Filters
Mohammed Low complexity and fast system identification using adaptive IIR filter employing subband decomposition
Whyte et al. Complexity reduction of partial update oversampled subband adaptive algorithms by selective pruning of polyphase components
Singh Subband Adaptive Filter Architecture with Low Convergence

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006812957

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2008537644

Country of ref document: JP

Kind code of ref document: A

Ref document number: 2624629

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 12092013

Country of ref document: US

Ref document number: 3637/DELNP/2008

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE