This application is a national phase application based on PCT/EP2003/012629, Filed Nov. 12, 2003, the content of which is incorporated herein by reference.
The present invention relates to techniques for noise estimation.
Specifically, the invention relates to techniques for determining, in a noise reduction process applied to a signal, for example a speech signal, affected by background noise, an update function relating a new value of estimated noise power (Pnoise
The invention was developed by paying specific attention to the possible application to noise estimation in short time spectral amplitude methods, such as subtraction-type methods (also known as spectral subtraction methods).
Spectral subtraction is a method for enhancing the perceived quality of speech signals in the presence of additive noise such as ambient or background noise. Spectral subtraction encompasses a variety of related and derived methods.
The Wiener filter is exemplary of a filter implementing this type of methods and adapted for use with the invention, wherein the update function is a function of the previous estimated noise power (Pnoise) and a mean input power spectral density (Pin
In the following, reference will thus be primarily made to a Wiener filter. Those of skill in the art will however appreciate that the invention is not limited to Wiener filters but applies in general to all those types of techniques that require noise estimation along the same lines of noise estimation in Wiener filters.
Nowadays, users of cell phones require an ever-increasing number of service utilities and the number of functions available in cell phones is correspondingly increased. Voice recognition plays a key role as a means to improve the human being/machine interface and make the communication process easier.
In this context, ETSI (European Telecommunication Standards Institute) released a standard for a Distributed Speech Recognition System containing an Advanced Front-End Feature Extraction Algorithm intended to cope with background noise in a more robust manner (ETSI ES 202.050). A basic element distinguishing this standard over its predecessors is the Noise Reduction (NR) block: one of the main features of this block is the use of a Wiener filter.
The Wiener filter is the subject of extensive literature, as witnessed e.g. by the following patent documents that discuss the use of a Wiener filter for noise reduction in acoustic signals:
EP-A-1 278 185,
EP-A-1 132 896,
U.S. Pat. No. B-6,445,801,
U.S. Pat, No. B-6,415,253,
U.S. patent applications US 2003 033 139, and 2003 0018 471 A1.
Specifically, the noise reduction algorithm proposed in the ETSI standard is a combination of a two-stage Wiener filter with another processing technique whose features are of no momentum for the purpose of the instant application.
Based on the related theory, an input noisy signal passes through the two stages of the Wiener filter, that are similar but not identical, to produce a de-noised output signal. The transfer function of the filter in the frequency domain weighs the spectrum as a function of the signal-to-noise ratio (SNR) of the input signal. For that purpose, the algorithm uses noise estimation: this is developed as a function of time, the mean (or average) input signal power spectral density and the previously estimated noise power.
In the second filter stage, noise estimation is performed differently from the first stage, by using a complex function to calculate an “update” variable that should be multiplied by a previously estimated noise power figure to compute a new power figure.
Embedded systems, as used e.g. in mobile phone terminals, usually incorporate limited memory and processing resources. Real-time applications such as noise-reduction therefore impose strict time constraints on such embedded systems. For that reason a distributed approach is considered in the ETSI standard referred to in the foregoing.
In addition, for those applications, fixed-point notation is currently used in the place of floating-point notation since, e.g. i) the hardware of such embedded systems is mostly inadequate to support floating-point operation and ii) fixed-point notation is much faster to run, despite the loss in accuracy and some additional controls required.
For noise estimation of the second stage in a Wiener filter, three multiplications and two divisions are needed for each power sample and their equivalents in fixed-point notation must be implemented. These operations, and especially division, are very cumbersome to implement. Real-time systems therefore attempt to avoid such operations.
While quite a few well-known methods exist for computing a division result in fixed-point arithmetic, the need is still felt for arrangements that may permit fast and efficient noise estimation (e.g. according to the standard mentioned previously). This while retaining the possibility of operating with fixed-point arithmetic and striking a sensible balance between accuracy of the results and speed of computation, by acting on few parameters.
The object of the present invention is to satisfy the needs considered in the foregoing.
According to the present invention, that object is achieved by means of a method having the features set forth in the claims that follow. The invention also relates to a corresponding circuit and encompasses a noise reduction filter and a communication terminal including such a circuit, a communication network comprising such a terminal, and a computer program product loadable in the memory of at least one computer and comprising software code portions for performing the steps of the method of the invention when the product is run on a computer. As used herein, reference to such a computer program product is intended to be equivalent to reference to a computer-readable medium containing instructions for controlling a computer system to coordinate the performance of the method of the invention. Reference to “at least one” computer is obviously intended to highlight the possibility for the arrangement of the invention to be implemented in a de-centralized fashion.
A preferred embodiment of the invention is thus a circuit for determining, in a filter for noise reduction in a signal, such as a speech signal, affected by background noise, an update function relating a new value of estimated noise power with a previous value of estimated noise power. The update function is a function of the previous estimated noise power and a mean input power spectral density, and the circuit includes a look-up table having stored therein values for the update function as well as an input module for a current value for the mean input power spectral density. Search circuitry is associated with the look-up table for selectively searching values for the update function in the look-up table using the previous value of estimated noise power and the current value for the mean input power spectral density as a first and a second entry for the search.
Preferably, the search circuitry is configured for performing the search in the look-up table on the basis of an index computed starting from the first and second search entries.
Such an arrangement takes advantage of the fact that the contour lines of the expression used for noise estimation e.g. in the second stage of a Wiener filter are essentially straight lines with the origin at the zero and variable angular coefficients.
In such a preferred embodiment, the value of the “update” variable can thus be calculated as a function of the angle formed in a corresponding surface by the average input power spectral density and the noise power estimated previously, the value for the “update” variable being essentially constant for that given angle.
The arrangement described herein thus dispenses with complex operations such as division by substituting therefor simple and fast addition, subtraction and shift operations. This without any appreciable loss in terms of accuracy of the results.
The arrangement described herein also strikes a reasonable balance in terms of accuracy of the results obtained and computational effort, thus achieving a great efficiency in different specific implementations.
A preferred application of the arrangement described herein is speech processing in a Wiener filter as defined by the ETSI Standard ES 202.050 (oftentimes referred to as “Aurora” standard).
A particularly preferred application is noise reduction for speech processing in mobile/embedded terminals. These applications require low cost/real time equipment, and benefit from the fine-tuning of accuracy of the results and the speed of computation offered by the arrangement described herein.
The invention therefore fulfills the need for arrangements that permit fast and efficient noise estimation, while retaining the possibility of operating with fixed-point arithmetic and a good flexibility in balancing accuracy of the results and speed of computation, by acting on few parameters.
The invention will now be described, by way of example only, with reference to the annexed figures of drawing, wherein:
An exemplary embodiment of the arrangement described herein will now be detailed by referring to a preferred application to a computationally critical part of a Wiener filter used in noise reduction for speech processing.
Specifically, reference will be made—by way of example—to the procedures defined in the standard designated ETSI ES 202.050 v 1.1.1 (2002-10) Speech processing, transmission and Quality aspects (STQ); Distributed Speech recognition; Advanced front-end feature extraction algorithm; Compression algorithms
The arrangement described herein performs noise estimation, by means of the so-called “update” function in the Wiener filter. This is defined by equations 5.10 of ETSI Standard ES 202.050 and represents the most complex part of the Wiener filter. This is essentially related to the need of performing complex operations, such as divisions and multiplications, which are rather heavy to perform in terms of computational load.
By way of theoretical introduction, the “update” function of the Wiener filter is computed in the second stage of noise reduction and is described in analytical form by the following equation:
where Pin
The entity designated “update” is used in periodically computing a new value of estimated noise power, Pnoise
Specifically, the following relationship applies:
Pnoise
In principle, well known methods exist for replacing complex arithmetic operations (e.g. division) with fixed-point algorithms that require simpler operations such as shifts, additions and subtraction. Direct verification shows that these methods are not efficient for certain specific computations as those required by the “update” function represented by the relationship (1) above.
Even without wishing to be bound to any specific theory in that respect, Applicants have reason to believe that this inefficiency is intrinsically related to the nature of the processes involved, namely the stochastic processes represented by the signal, in particular a speech signal, and the ambient (or background) noise signal. Specifically, the variables Pin
The arrangement described herein is based on the unexpected recognition of the following.
While militating against the effectiveness of well known methods for replacing complex arithmetic operations with simpler fixed-point operations, the very nature of the speech signal and the ambient (or background) noise and of the “update” function makes it possible to replace the entire expression for the “update” function with simple processing steps having associated a minimum effort of computation while preserving a high accuracy in the final results.
In fact, the applicability of the arrangement described herein is in no way limited to the definition of the update function provided by formula (1) reported in the foregoing.
Those of skill in the art will thus promptly appreciate that, while demonstrated in the following with specific reference to the relationship (1) above, the arrangement described herein is applicable to any “update” function—even if different from the relationship (1) above—that is adapted to calculate, (for instance in a spectral subtraction filter or a Wiener filter), a new value of estimated noise power, Pnoise
where ƒ( ) is a generic function of the ratio Pin
update=ƒ(SNR) (1.b)
For instance, the previous equation (1) belongs to the set of functions (1.a) because it can be rewritten as:
or in an equivalent form as:
By considering (as a non limiting example) the relationship (1), equivalent to (1.c) and (1.d) above, one can demonstrate that, as a two-variable function, dependent on Pin
The arrangement described herein provides for partitioning this surface in constant-value regions separated by straight lines with well-known angular coefficients. Of course, the only significant quadrant is the one that have both Pin
Instead of being calculated analytically (with the associated computational load), the values for “update” can thus be simply searched in a predefined table such as a look-up table (LUT) addressed by means of an index value that unambiguously identifies one of the angular regions defined in the foregoing. The index value in question is defined on the basis Pnoise and Pin
An increased number of regions will result in higher accuracy, while also requiring a larger look-up table and more iterations to find the correct region.
In embedded software/hardware design, a trade-off needs to be reached between memory requirements, speed of computation and precision, and an optimal configuration reaches such a trade-off.
Deeper analysis of
A two-step approach may thus be devised comprised of a general approximation for the whole surface and a more refined search for the more critical, steeper area. That area is usually a very populated area (many significant points in it), as the signal is much higher than the noise, and therefore deserves a special attention.
The first approximation step, used over the whole surface, takes a parameter N and divides the surface into 2·N angular regions, which are the areas between the straight lines:
y=j·x/N when Pin
y=N·x/j when Pin
with j assuming the integer values from 1 to N, with Pnoise plotted on the X-axis and Pin
This is essentially a linear approximation, since the intervals between the lines on the y-axis for the first group of lines, or on the x-axis for the second group, are constant and their value is always x/N or y/N, respectively.
Another approximation is essentially an exponential approximation and can be used as an alternative to the one described previously in order to obtain a good approximation of the “update” function, especially in the critical area. The line with the higher angular coefficient (slope) traced by the linear approximation in the whole surface is the line y=N·x and the approximation in the critical area subdivides the region included between that line and the y-axis in a plurality of sub-regions. For this critical area another parameter, NH, is used, independent from N.
Within the critical area, any of the two approximations, linear or exponential, can be used. The choice depends on the specific formulation of the update function that in its generic formulation is expressed in the form (1.a).
Using the linear approximation again here, there will be more NH sub-regions in this critical area, which are determined by the lines with equation:
y=NH·N·x/j (4)
with j from 1 to NH−1, integer values.
Using the exponential method, there will more NH+1 sub-regions inside that region, determined by the lines with equation:
y=2j·N·x (5)
with j assuming the integer values from 1 to NH.
The diagrams of
As indicated, such line partitions the surface representative of the function into two regions or areas where two different approximation methods may be used.
Specifically,
c shows an embodiment where a linear approximation is again used for the area on the right hand side of the line y=N·x. In this case, for the remaining—critical—portion on the left hand side of the line y=N·x a linear approximation as expressed by formula (4) above is used. This is again better appreciated by referring to
Formulas (4) and (5) are not by themselves mutually exclusive: in fact they can be used concurrently, by further partitioning the “critical” area considered in the foregoing into sub-areas. For each sub-area either of the two formulas can be used, by defining respective independent values for NH, namely NH1 ed NH2.
In connection with the specific formulation (1) (or its equivalent (1.c), handling the critical zone as a single zone is generally satisfactory. In the case of the formulation (1.a), applying different approximation methods may be advantageous. The area of major interest being in any case the area where the steepest changes in the update function are located.
A practical implementation of the arrangement described herein is explained in detail in the following.
A circuit architecture adapted to compute the “update” function of the Wiener filter (according to the ETSI “Aurora” Standard) is shown in
The architecture of
Such apparatus—known per se—may be included in the Speech recognition Front-End of a system (e.g. according to the ETSI ES 202.050 standard), associated with a mobile terminal TM in a mobile communication network. All the information signals processed therein can be represented using a fixed-point notation.
In the following, a set of speech signal samples (as transmitted e.g. in a 10 ms time interval) will be identified as a “frame”.
Corresponding processing steps will now be described by referring primarily to the block diagram of
Specifically, the following description represents the entire flow of
The input information that is processed consists of:
The two power values (unsigned values) are compared in a Value Switch Compare block 10, and the result of the comparison is used (in a step 100) to select one of two sections of the “update” function projection to apply the interpolation. The two sections correspond respectively to the graph areas with Pin
The larger of the Mean Power Spectral Density and the Noise Spectrum Estimate is then used to compute a first coordinate (“Coord”) in a Compute First Coord block 12. This is essentially done in steps 110a to 110d in
The simplest way to perform this operation is a 1-position right shift in a fixed-point arithmetic (corresponding to a division by 2 steps 110a, 110b); the value obtained becomes the first coordinate and is used to compute (steps 112a to 112d of
The two quantities “Coord” and “Increment” are used to find a region defined by two contour lines that approximate the value of the “update” function. As shown previously, the contour lines of the “update” function are straight lines having their origin at the intersection of the axis (Pin
As indicated, in order to compute the best approximation of the “update” function, initially two sections are identified: Pin
A binary search (or an equivalent search procedure) is then applied to modify the “Coord” value by a quantity equals to the “Increment” variable. Such operations are iterated a number of times defined by an Iteration Counter block: the simplest implementation of this block is a counter that will count the number of cycles needed by the search algorithm to find the region that leads to the best approximation of the “update” function value. Each value of the Iteration Counter 16 will thus correspond to a cycle of the search algorithm. The Iteration Counter 16 is also used to select the first value of the “Coord” and “Increment” values (i.e when Iteration Counter=0) for any new frame.
The lower value of the Mean Power Spectral Density and the Noise Spectrum Estimate becomes a “Target” value (11), blocks 118a and 118b in
The compare block 18 is used to determine if the value of “Coord” (stored in a Store Coord block 20) is strictly less than, greater than or equal to the “Target” value (line 11 in
The convergence is achieved in a Compute New Coord block 22 in
The values of “Coord” (as stored in a block 20) and “Increment” (as stored in a Store Increment block 24) as well as the output of the Compare block 18 are used into the Compute New Coord (block 22) to compute the new value of “Coord” for the next cycle.
The value of the Iteration Counter (block 16) is also considered in order to stop the operations when the maximum number of iterations (steps 116a-116d in
In its simplest form, the Compute New Coord block 22 will add or subtract “Increment” to “Coord” according to the output of the Compare block 18. The value of “Increment” is decreased (usually divided by two, using a 1-bit right shift) at each cycle, through the Compute New Increment block 14.
This procedure is used for the linear approximation, obtained applying equations (3) and (4).
As indicated, a different way of computing “Coord” for the next cycle is the exponential approximation.
In that case the block 22 sets the new value of “Coord” (line 13 of
At each iteration, the output of the Compare block 18, is sent to the Compute Index block 26. This block (26) also receives the output of the Iteration Counter block 16, used to start and stop the computation for any new Frame, and the output 17 of Value Switch Compare block 10 (that is the result of the comparison Pin
This information is used to recursively compute an “Index” value; inputting them to a Compute Index block 26 thus contributes to build a portion (tipically a bit) of “Index” value at each iteration. This “Index” value (line 19 in
In its simplest form, the Index is a binary word of L bits, the number of regions used in the interpolation process being equal or less to 2L. Each bit of this word will then correspond to a result of the Compare block 18 or of the Value Switch Compare block 10, available on line 17 in
The partial determined value for Index at each iteration is stored in a Store Index block 28.
When the search procedures are completed, according to the Iteration Counter 16 (for the linear approximation) or the output of the Compare block 18 (for the exponential approximation), the final value of “Index” is used to access a table (represented by a LUT memory block 30 in
The LUT Memory 30 returns the approximated value of the “update” function for the region unambiguously identified by the “Index” value.
By resorting to the architecture shown in
Complex operations are avoided and computation is speeded up, while the accuracy of the final result can be easily controlled. The error in the approximation is controlled by the number of regions used in the search procedures; a trade-off between speed and accuracy (or complexity of the logic implementation) can be achieved acting on the number of regions which directly defines the total number of cycles required to compute the final “Index” value, thus to retrieve the approximated value of the “Update” function.
In order to achieve the best results with a minimum computation effort, various search functions can be implemented to refine the result at the desired accuracy.
One solution that leads to a high accuracy without having to consider an excessive number of regions, is to find a first approximation by using few angular regions, then to refine the result applying a more accurate search inside the region found. Such an approach is focused on the angular regions that contain a bigger number of contour lines of the “update” function. Experimental analysis may permit to locate nearly optimal regions sizes that effectively do not lead to loss of performance in the application.
For Wiener filter design, such analysis can be done at the output of the filter or preferably at the output of the Noise Reduction Filter that includes a Wiener Filter implementing the equations (1) and (2).
Experimentation has shown that the approximation of the region with the highest Pin
A nearly optimal trade-off between accuracy and computation effort is found by applying the previously described approach using two distinct angular regions definitions: in a first phase, a region is found; if the result is the region with the highest Pin
A fast and accurate implementation is obtained defining:
N=2K (6)
N being the number of angular regions for each of the 2 semi-areas, respectively identified by Pin
The search procedure uses the linear approximation method previously described. Using this method, the critical region is easily identified by the relationship:
Pin
This region definition (that lead to the other result in step 106 of
As a consequence, the comparison Pin
The result of the comparison Pin
The overall computing resources required for properly managing the critical region are thus moderate, while the accuracy can be easily controlled, defining NH dense sub-regions inside the critical region, with NH being totally independent from N.
Approximation within the critical region can be carried out using the linear or the exponential approximations previously described. If the linear approximation is used also in the critical region (depending on the outcome of step 108 in
NH=2P (8)
being P any positive integer value, independent from K.
Due to the similarity with expression (6), the search function applied to sub-regions in the critical region is the same as the procedure applied to search any other region.
If exponential approximation is used, NH can be any positive integer value; in such case the architecture of
The architecture proposed in
Effectiveness of the arrangement described herein can be tested by comparing the total frame noise energy variable on a time scale, for a reference model, obtained in a traditional manner (using divisions), and for the arrangement described herein, which only uses simple operations.
In this way, it is possible to observe that the noise energy, computed from equations (1) and (2), is influenced by this approximated solution and validate the results over the estimated noise power. Experimentation shows that the arrangement described herein can be used for optimizing accuracy or the Look-up-table size and number of iterations.
A good trade-off was shown to be obtained with N=16 and NH=6 in the exponential mode.
Another advantage of the arrangement described herein lies in that it uses simple operations in a fixed-point arithmetic. This arrangement is thus ideally suitable for low-cost devices, such as embedded systems for consumer electronics and for low/moderate processing power, real time equipment, like those used for mobile communication, where a high level of accuracy can be obtained by using computation of low complexity.
After a start step 1000 and a step 1002 devoted to LUT and parameter initialization, voice samples are grouped over time intervals or slots (such group of data is also defined as a “frame”).
The steps of
In the negative (no new samples available), a buffer flushing step 1006 is performed.
If, conversely, new samples are available, after a possible pre-processing step 1008 (of a known type), the value of Pin
Thereafter the parameter Pnoise
Thereafter, filtering (of any known type among the various techniques considered at the outset of the present description) is applied in a step 1014, and the filtered samples are buffered in a step 1016.
Step 1018 marks the end of processing for a given frame, and the sequence of steps described in the foregoing is then repeated for a new frame.
As indicated the new value for Pnoise
At the beginning of the Voice Stream (First Data Set, 202 in
Such value (designated 209 in
The identification of the region found is then used to retrieve the value of the “Update” function (212 in
These operations, as shown in the left-hand side of the flow chart of
The most significant of those instructions are also shown in the flow chart of
More specifically, following the flow of data processing, the approximating region is found by executing the following sequence of instructions:
Of course, without prejudice to the underlying principle of the invention, the details and embodiments may vary, also significantly, with respect to what has been described, by way of example only, without departing from the scope of the invention as defined in the claims that follow.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP03/12629 | 11/12/2003 | WO | 00 | 5/11/2006 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2005/050623 | 6/2/2005 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4811404 | Vilmur et al. | Mar 1989 | A |
5012519 | Adlersberg et al. | Apr 1991 | A |
5632003 | Davidson et al. | May 1997 | A |
5781883 | Wynn | Jul 1998 | A |
6415253 | Johnson | Jul 2002 | B1 |
6445801 | Pastor et al. | Sep 2002 | B1 |
6823176 | Rogers | Nov 2004 | B2 |
7478043 | Preuss | Jan 2009 | B1 |
20030018471 | Cheng et al. | Jan 2003 | A1 |
20030033139 | Walker | Feb 2003 | A1 |
20060116874 | Samuelsson et al. | Jun 2006 | A1 |
Number | Date | Country |
---|---|---|
0 809 842 | Dec 1997 | EP |
1 132 896 | Sep 2001 | EP |
1 278 185 | Jan 2003 | EP |
WO 9624127 | Aug 1996 | WO |
Number | Date | Country | |
---|---|---|---|
20070055506 A1 | Mar 2007 | US |