A POWER SPECTRAL DENSITY ESTIMATION METHOD AND APPARATUS

Abstract: A residual error based compensator for the frequency domain bias of an autoregressive spectral estimator is disclosed. LPC analysis (16) is performed on the residual signal and a parametric PSD estimate (18) is formed with the obtained LPC parameters. The PSD estimate of the residual signal multiplies (20) the PSD estimate of the input signal.

Description: A power spectral density estimation method and apparatus. TECHNICAL FIELD The present invention relates to a bias compensated spectral estimation method and apparatus based on a parametric auto- regressive model . BACKGROUND OF THE INVENTION The present invention may be applied, for example, to noise suppression [1, 2] in telephony systems, conventional as well as cellular, where adaptive algorithms are used in order to model and enhance noisy speech based on a single microphone measure¬ ment . Speech enhancement by spectral subtraction relies on, explicitly or implicitly, accurate power spectral density estimates calculated from the noisy speech. The classical method for obtaining such estimates is periodogram based on the Fast Fourier Transform (FFT) . However, lately another approach has been suggested, namely parametric power spectral density estimation, which gives a less distorted speech output, a better reduction of the noise level and remaining noise without annoying artifacts ("musical noise") . For details on parametric power spectral density estimation in general, see [3, 4] . In general, due to model errors, there appears some bias in the spectral valleys of the parametric power spectral density estimate. In the output from a spectral subtraction based noise canceler this bias gives rise to an undesirable "level pumping" in the background noise. SUMMARY OF THE INVENTION An object of the present invention is a method and apparatus that eliminates or reduces this "level pumping" of the background noise with relatively low complexity and without numerical stability problems. This object is achieved by a method and apparatus in accordance with the enclosed claims. The key idea of this invention is to use a data dependent (or adaptive) dynamic range expansion for the parametric spectrum model in order to improve the audible speech quality in a spectral subtraction based noise canceler. 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: FIGURE 1 is a block diagram illustrating an embodiment of an apparatus in accordance with the present invention,* FIGURE 2 is a block diagram of another embodiment of an apparatus in accordance with the present invention,- FIGURE 3 is a diagram illustrating the true power spectral density, a parametric estimate of the true power spectral density and a bias compensated estimate of the true power spectral density,- FIGURE 4 is another diagram illustrating the true power spectral density, a parametric estimate of the true power spectral density and a bias compensated estimate of the true power spectral density; FIGURE 5 is a flow chart illustrating the method performed by the embodiment of Fig. 1,- and FIGURE 6 is a flow chart illustrating the method performed by the embodiment of Fig. 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Throughout the drawings the same reference designations will be used for corresponding or similar elements. Furthermore, in order to simplify the description of the present invention, the mathematical background of the present invention has been transferred to the enclosed appendix. In the following description numerals within parentheses will refer to correspon-. ding equations in this appendix. Figure 1 shows a block diagram of an embodiment of the apparatus in accordance with the present invention. A frame of speech {x(k)} is forwarded to a LPC analyzer (LPC analysis is described in, for example, [5] ) . LPC analyzer 10 determines a set of filter coefficients (LPC parameters) that are forwarded to a PSD estimator 12 and an inverse filter 14. PSD estimator 12 determi¬ nes a parametric power spectral density estimate of the input frame {x(k)} from the LPC parameters (see (1) in the appendix) . In Fig. 1 the variance of the input signal is not used as an input to PSD estimator 12. Instead a unit signal "1" is forwarded to PSD estimator 12. The reason for this is simply that this variance would only scale the PSD estimate, and since this scaling factor has to be canceled in the final result (se (9) in the appendix) , it is simpler to eliminate it from the PSD calculation. The estimate from PSD estimator 12 will contain the "level pumping" bias mentioned above. In order to compensate for the "level pumping" bias the input frame {x(k)} is also forwarded to inverse filter 14 for forming a residual signal (see (7) in the appendix) , which is forwarded to another LPC analyzer 16. LPC analyzer 16 analyses the residual signal and forwards corresponding LPC parameters (variance and filter coefficients) to a residual PSD estimator 18, which forms a parametric power spectral density estimate of the residual signal (see (8) in the appendix) . Finally the two parametric power spectral density estimates of the input signal and residual signal, respectively, are multi- plied by each other in a multiplier 20 for obtaining a bias compensated parametric power spectral density estimate of input signal frame {x(k)} (this corresponds to equation (9) in the appendix) . Example The following scenario is considered: The frame length N=1024 and the AR (AR=AutoRegressive) model order p=10. The underlying true system is modeled by the ARMA (ARMA=AutoRegressive-Moving Average) process X ( k) = l -z- + O . S z- 2 e { k) l-3.0 "1 +4.64z _2 -4.44z _3 +2.62^ " -0.77z- 5 where e(k) is white noise. Figure 3 shows the true power spectral density of the above process (solid line) , the biased power spectral density estimate from PSD estimator 12 (dash-dotted line) and the bias compensated power spectral density estimate in accordance with the present invention (dashed line) . From Fig. 3 it is clear that the bias compensated power spectral density estimate in general is closer to the underlying true power spectral density. Especially in the deep valleys (for example for ω/ (2τr)«=0.17) the bias compensated estimate is much closer (by 5 dB) to the true power spectral density. In a preferred embodiment of the present invention a design parameter γ may be used to multiply the bias compensated estimate. In Fig. 3 parameter γ was assumed to be equal to 1. Generally γ is a positive number near 1. In the preferred embodiment γ has the value indicated in the algorithm section of the appendix. Thus, in this case γ differs from frame to frame. Fig. 4 is a diagram similar to the diagram in Fig. 3, in which the bias compensated estimate has been scaled by this value of 7. The above described embodiment of Fig. 1 may be characterized as a frequency domain compensation, since the actual compensation is performed in the frequency domain by multiplying two power spectral density estimates with each other. However, such an operation corresponds to convolution in the time domain. Thus, there is an equivalent time domain implementation of the invention. Such an embodiment is shown in Fig. 2. In Fig. 2 the input signal frame is forwarded to LPC analyzer 10 as in Fig. 1. However, no power spectral density estimation is performed with the obtained LPC parameters . Instead the filter parameters from LPC analysis of the input signal and residual signal are forwarded to a convolution circuit 22, which forwards the convoluted parameters to a PSD estimator 12' , which forms the bias compensated estimate, which may be multiplied by γ. The convolution step may be viewed as a polynomial multiplication, in which a polynomial defined by the filter parameters of the input signal is multiplied by the polynomial defined by the filter parameters of the residual signal. The coefficients of the resulting polynomial represent the bias compensated LPC-parame- ters. The polynomial multiplication will result in a polynomial of higher order, that is, in more coefficients. However, this is no problem, since it is customary to "zero pad" the input to a PSD estimator to obtain a sufficient number of samples of the PSD estimate. The result of the higher degree of the polynomial obtained by the convolution will only be fewer zeroes. Flow charts corresponding to the embodiments of Figs. 1 and 2 are given in Figs. 5 and 6, respectively. Furthermore, the correspon¬ ding frequency and time domain algorithms are given in the appendix. A rough estimation of the numerical complexity may be obtained as follows. The residual filtering (7) requires <=Np operations (sum + add) . The LPC analysis of e(k) requires «Np operations to form the covariance elements and -=p 2 operations to solve the corre¬ sponding set of equations (3) . Of the algorithms (frequency and time domain) the time domain algorithm is the most efficient, since it requires <=p 2 operation for performing the convolution. To summarize, the bias compensation can be performed in «2p(N+p) operations/frame. For example, with n=256 and p=l0 and 50% frame overlap, the bias compensation algorithm requires approximately 0,5xl0 6 instructions/s . In this specification the invention has been described with reference to speech signals. However, the same idea is also applicable in other applications that rely on parametric spectral estimation of measured signals. Such applications can be found, for example, in the areas of radar and sonar, economics, optical interferometry, biomedicine, vibration analysis, image pro- cessing, radio astronomy, oceanography, etc. 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 spirit and scope thereof, which is defined by the appended claims. REFERENCES [1] S.F. Boll, "Suppression of Acoustic Noise in Speech Using Spectral subtraction" , IEEE Transactions on Acoustics, Speech and Signal Processing, Vol. ASSP-27, April 1979, pp 113-120. [2] J.S. Lim and A.V. Oppenheim, "Enhancement and Bandwidth Compression of Noisy Speech", Proceedings of the IEEE, Vol. 67, No. 12, December 1979, pp. 1586-1604. [3] S. . Kay, Modern Spectral estimation: Theory and Appli- cation, Prentice Hall, Englewood Cliffs, NJ, 1988, pp 237-240. [4] J.G. Proakis et al, Advanced Digital Signal Processing, Macmillam Publishing Company, 1992, pp. 498-510. [5] J.G. Proakis,- Digital Communications, MacGraw Hill, 1989, pp. 101-110. [6] P. Handel et al, "Asymptotic variance of the AR spectral estimator for noisy sinusoidal data", Signal Processing, Vol. 35, No. 2, January 1994, pp. 131-139. APPENDIX Consider the real-valued zero mean signal {x(k) }, k = 1 TV where N denotes the frame length (N — 160, for example). The autoregressive spectral estimator (ARSPE) is given by, see [3, 4] where u is the angular frequency ω € (0, 2π ). In ( 1), A (z) is given by A(z) = 1 -1- 0,3 + - - - + p z p (2) wt here 0 X = (a. \ ■ ■ ■ ά p ) are the estimated AR coefficients (found by LPC analysis, see [5|) and σ * is the residual error variance. The estimated parameter vector θ x and σ x are calculated from {x(k) } as follows: = -R- * f (3) = ro + f ' where and, where N-k fk = T N Σ xi s l + k ) x ( t ) f -k = fk k = 0 , . P (5) _=ι The set of linear equations (3) can be solved using the Levinson-Durbin algorithm, see [3]. The spectral estimate (1 ) is known to be smooth and its statistical properties have been analyzed in [6] for broad-band and noisy narrow-band signals, respectively. In general, due to model errors there appears some bias in the spectral valleys. Roughly, this bias can be described as where Φ x (ω) is the estimate (1) and x (ω) is the true (and unknown) power spectral density of x(k). In order to reduce the bias appearing in the spectral vallevs the residual is calculated accoi ding to ε[k) = (z ~ l )x(k) k = 1 , TV (7) Perfoi mmg another LPC analysis on {e(/ ) } , the i βsidual powei spectial density can be c alculated from cf (1 ) _ Φ ε (ω) = -^— - (8) |β(e-)|= whei e similarly to (2), 0_ = (ό i b η ) τ denotes the estimated AR coefficients and σ ε ' the error variance In general,the model order q p. but here it seems reasonable to let p — q Preferably p ~ v N " , for example N may be chosen around 10 In the proposed frequency domain algorithm below, the estimate (1 ) is compensated accordmg to * - i Φ β (ω) • Φ x (ω) (9) where (~ 1 ) is a design variable The frequency domam algorithm is summarized m the algorithms section below and in the block diagrams in Fig 1 and 5 A corresponding time domam algorithm is also summarized in the algorithms section and in Fig 2 and 6 In this case the compensation is performed in a convolution step, in which the LPC filter coefficients θ x are compensated This embodiment is more efficient, since one PSD estimation is replaced by a less complex convolution In this embodiment the scaling factor 7 may simply be set to a constant near or equal to 1 However, it is also possible to calculate 7 for each frame, as in the frequency domain algorithm by calculating the root of the characteristic polynomial defined by θ ε that lies closest to the unit circle If the angle of this root is denoted Σ_7 , then ALGORITHMS INPUTS x input data x = (_r(l ) • - • x(N)) T p LPC model order OUTPUTS () x signal LPC parameters θ τ — (ά j • ■ • ά p ) τ σ signal LPC residual variance Φ x signal LPC spectrum Φ x = (Φ_ . (l ) • • • Φ X (N/2)) T Φ x compensated LPC spectrum Φ_- = (Φ x (l ) • • • Φ x (N/2)) τ ε residual ε = (ε(l) ■ ■ ■ ε(N)) τ θ ε residual LPC parameters θ ε = (6 1 • ■ • b p ) τ σr residual LPC error variance 7 design variable (=l/(max fc Φ ε (k)) in preferred embodiment) FREQUENCY DOMAIN ALGORITHM OR EACH FRAME DO THE FOLLOWING STEPS: (power spectral density estimation) |y a . ) σ x \ := LPCanalyze(x, p ) signal LPC analysis Φ-. := SPEC(tf_-, 1 . N ) signal spectral estimation, σ x set to (bias compensation) ε := FILTER^,, x) residual filtering \ϋ ε , σ~\ := LPCanalyze( ε, p) residual LPC analysis φ ε := SPEC( > e , ε , N) residual spectral estimation FOR k= l TO 7V/2 DO spectral compensation Φ-(/c) := • * (k) • Φ_ (/c) l /(mt_x fc Φ e (fc)) < 7 < 1 END FOR TIME DOMAIN ALGORITHM OR EACH FRAME DO THE FOLLOWING STEPS: & χ ] : ~ LPCanalyze(x, p) signal LPC analysis ε := FILTER(0 x , x) residual filtering |0_ ι ό" e ] := LPCanalyze(e, p) residual LPC analysis θ :=CONV(θ x ,θ-) LPC compensation Φ := SPEC(0, N) spectral estimation FOR k= l TO N/2 DO Φχ(k) : = 7 * Φ{k) scaling END FOR

Claims: CLAIMS 1. A power spectral density estimation method, comprising the steps of : performing a LPC analysis on an input signal vector for determining a first set of LPC filter parameters,- determining a first power spectral density estimate of said input signal vector based on said first set of LPC filter parame¬ ters,- filtering said input signal vector through an inverse LPC filter determined by said first set of LPC filter parameters for obtaining a residual signal vector,- performing a LPC analysis on said residual signal vector for determining a second set of LPC filter parameters,- determining a second power spectral density estimate of said residual signal vector based on said second set of LPC filter parameters,- and forming a bias compensated power spectral estimate of said input signal vector that is proportional to the product of said first and second power spectral estimates. 2. The method of claim 1, wherein said product is multiplied by a positive scaling factor that is less than or equal to 1. 3. The method of claim 2, wherein said scaling factor is the inverted value of the maximum value of said second power spectral density estimate. 4. The method of claim 1, 2 or 3, wherein said input signal vector comprises speech samples . 5. A power spectral density estimation method, comprising the steps of: performing a LPC analysis on an input signal vector for determining a first set of LPC filter parameters; filtering said input signal vector through an inverse LPC filter determined by said first set of LPC filter parameters for obtaining a residual signal vector; performing a LPC analysis on said residual signal vector for determining a second set of LPC filter parameters; convolving said first set of LPC filter parameters with said « 5 second set of LPC filter parameters for forming a compensated set of LPC filter parameters; determining a bias compensated power spectral density estimate of said input signal vector based on said compensated set of LPC filter parameters. 10 6. The method of claim 5, wherein said bias compensated power spectral density estimate is multiplied by a positive scaling factor that is less than or equal to 1. 7. The method of claim 6, wherein said scaling factor is the inverted value of the maximum value of a power spectral density 15 estimate of said residual signal vector. 8. The method of claim 5, 6 or 7, wherein said input signal vector comprises speech samples. 9. A power spectral density estimation apparatus, comprising: means (10) for performing a LPC analysis on an input signal 20 vector for determining a first set of LPC parameters; means (12) for determining a first power spectral density estimate of said input signal vector based on said first set of LPC parameters,- means (14) for filtering said input signal vector through an 25 inverse LPC filter determined by said first set of LPC parameters for obtaining a residual signal vector,- means (16) for performing a LPC analysis on said residual signal vector for determining a second set of LPC parameters; means (18) for determining a second power spectral density 30 estimate of said residual signal vector based on said second set of LPC parameters; and means (20) for forming a bias compensated power spectral estimate of said input signal vector that is proportional to the product of said first and second power spectral estimates. 10. A power spectral density estimation apparatus, comprising: means (10) for performing a LPC analysis on an input signal vector for determining a first set of LPC filter parameters; means (14) for filtering said input signal vector through an inverse LPC filter determined by said first set of LPC filter parameters for obtaining a residual signal vector; means (16) for performing a LPC analysis on said residual signal vector for determining a second set of LPC filter parameters; means (22) for convolving said first set of LPC filter parameters with said second set of LPC filter parameters for forming a compensated set of LPC filter parameters,* means (12') for determining a bias compensated power spectral density estimate of said input signal vector based on said compensated set of LPC filter parameters.

Inventors: HAENDEL PETER, HAENDEL, PETER
Applicants: ERICSSON TELEFON AB L M, HAENDEL PETER, HAENDEL, PETER, TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Application year: 1996
Main classification: G01R23
IPC codes: G01R23, G10L11, G10L21, H03H21