Discriminating and suppressing incoming signal noise

Abstract: An apparatus and method for discriminating and suppressing noise within an incoming signal including a first signal processor to generate a first iteration signal representing the incoming signal; a second signal processor to generate a second iteration signal representing the first iteration signal; a prediction device which generates a prediction for the second iteration signal; a logic device which determines the difference between the second iteration signal and the prediction and generates a logic output having a first value when the difference exceeds a threshold and a second value when the difference does not exceed the threshold; and a muting device to mute the incoming signal when the logic output has one value and not mute the incoming signal when the logic output has the other value. The method includes the steps of (1) generating a first iteration signal representing the average signal energy of the incoming signal; (2) generating a second iteration signal representing the first iteration signal normalized with respect to a maximum signal energy expected; (3) generating a prediction for the second iteration signal; (4) determining a difference between the second iteration signal and the prediction; (5) generating a control signal having a first value when the difference exceeds a threshold and a second value when the difference does not exceed the threshold; and (6) providing a muting device which responds to the control signal to mute the incoming signal when the control signal has one value and not mute the incoming signal when the control signal has the other value.

Description: In certain types of communications systems, such as systems employed with wireless telephone systems, information conveyed via analog signalling is received by a receiver in a series of encoded representations of information, generally in the form of a series of "1"'s and "0"'s established via frequency shift keying (FSK) at high frequency. Such transmissions may be subject to reflection such as from buildings and other objects in the transmission path, so there are sometimes radio frequency (RF) signals arriving at a receiver which are time-delayed with respect to other received signals in a manner which may interrupt or distort reception. As a result, the demodulator (or decoder) of the receiver may erroneously convert received signals, thereby becoming unstable and producing interference. Such interference is generally perceived by a user of such a system in the form of popping or clicking sounds or other distracting noises. It is common in the communications industry to compensate for interference or other noise by providing a feedback circuit with a delay whereby one can estimate the noise component of the received signal, generate a duplicate approximation of the noise component, and subtract that approximate noise component from the original signal to eliminate the noise received in the incoming signal. However, an industry standard published for wireless telephones and similar systems requires that no delays be introduced in such systems; i.e., the system must be what is commonly known as a real-time system. Consequently, a solution for eliminating noise in such a system must likewise be a real-time system. The present invention is defined by the appended claims and provides a real-time noise discriminating and suppressing system designed to quickly discriminate and suppress noise in an incoming signal. We describe an apparatus for discriminating and suppressing noise within an incoming signal which includes a first signal processing device for processing the incoming signal to generate a first iteration signal which represents specified aspects of the incoming signal. The apparatus further includes a second signal processing device which processes the first iteration signal to generate a second iteration signal representative of specified aspects of the first iteration signal; a prediction device which generates a predicted value for the second iteration signal from a plurality of earlier samples of the second iteration signal; a logic device which determines the difference between the second iteration signal and the predicted value and generates a logic output which has a first value when the difference exceeds a predetermined threshold value and has a second value when the difference does not exceed the predetermined threshold value. The apparatus further includes a muting device for muting signals which is operatively connected to receive the incoming signal and the logic output; the muting device responds to the logic output to mute the incoming signal when the logic output is at one of the first or second values and to not mute the incoming signal when the logic output is at the other of the first value and the second value. We also describe a method for discriminating and suppressing noise within an incoming signal. The method includes the steps of (1) generating a first iteration signal representative of the average signal energy of the incoming signal; (2) generating a second iteration signal which is representative of the first iteration signal normalized with respect to a maximum signal energy expected of the incoming signal; (3) generating a predicted value for the second iteration signal from a plurality of earlier samples of the second iteration signal; (4) determining a difference between the second iteration signal and the predicted value; (5) generating a control signal which has a first value when the difference exceeds a predetermined threshold value and has a second value when the difference does not exceed the predetermined threshold value; and (6) providing a muting device for muting signals which is operatively connected to receive the incoming signal and the control signal and responds to the control signal to mute the incoming signal when the control signal is at one of the first value and second value and to not mute the incoming signal when the control signal is at the other of the first value and second value. In its preferred embodiment, the method of the present invention generates the first iteration signal according to the relationship: where ε t = average signal energy, s i = i th sample of the incoming signal, and n = number of samples. In the accompanying drawings, by way of example only: Fig. 1 is a schematic block diagram of apparatus embodying the present invention. Fig. 2 is a flow diagram illustrating a method embodying the present invention. Fig. 3 is a schematic block diagram of a prediction unit. In Fig. 1, an apparatus 10 for discriminating and suppressing noise within an incoming signal is illustrated as including an energy averaging unit 12, a log conversion and normalizing unit 14, a prediction unit 16, a comparator unit 18, and a muting unit 20. The incoming signal s is received by energy averaging unit 12 at an input 22. Energy averaging unit 12 calculates an average signal energy ε t , preferably according to the relationship: where ε t = average signal energy, s i = i th sample of the incoming signal s, and n = number of samples. Average signal energy ε t is provided to log conversion and normalizing unit 14 via a line 24. Incoming signal s is preferably received in multi-bit digital format. Log conversion and normalizing unit 14 performs a conversion of average signal energy ε t , preferably according to the known relationship: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum expected signal energy. Thus, log conversion and normalizing unit 14 provides at an output 26 the quantity P t (expressed in decibels (db)) representing average signal energy ε t normalized with respect to maximum signal energy ε max expected to be received by apparatus 10. Normalized average signal energy P t is conveyed via a line 28 to a first input 29 of comparator unit 18, and is conveyed via a line 30 to an input 32 of prediction unit 16. Prediction unit 16 generates a predicted normalized average signal energy P pred , preferably according to the relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, P i = i th sample of normalized average signal energy, and n = number of samples. Prediction unit 16 conveys the value of P pred via a line 34 to a second input 36 of comparator unit 18. The manner by which prediction unit 16 calculates the value P pred will be discussed in greater detail hereinafter in connection with Fig. 3. Comparator unit 18 calculates a prediction error (PE), preferably according to the relationship: PE = P t - P pred where P t and P pred are both expressed as logarithmic numbers. Normalized average signal energy P t is normalized to actual error to obtain a prediction error measurement (PEM), preferably according to the relationship: where P t and P pred are logarithmic numbers. PEM is compared with a predetermined threshold, for example 8 db, so that if PEM exceeds the predetermined threshold, it is assumed that incoming signal s contains speech information, and if PEM is less than the predetermined threshold, it is assumed that incoming signal s contains noise information. Thus, muting unit 20 receives a logic output representing PEM via a line 38 from comparator unit 18. Muting unit 20 also receives incoming signal s via a line 40. Muting unit 20 responds to the logic output signal received on line 38 to effect muting on incoming signal s received via line 40 when the logic output signal received via line 38 indicates that incoming signal s contains noise; i.e., when PEM is less than the predetermined threshold. Similarly, muting unit 20 effects no muting of incoming signal s when the logic output signal received via line 38 indicates that incoming signal s contains speech information; i.e., when PEM exceeds the predetermined threshold. Muting unit 20 provides an output signal on a line 42, which output signal is either a muted or non-muted signal, depending upon the value of the logic output signal received by muting unit 20 via line 38 from comparator unit 18. Thus, apparatus 10 performs a noise discriminating function and a noise suppressing function. When apparatus 10 determines that incoming signal s contains noise, it effects muting of incoming signal s until it is later determined that incoming signal s contains speech information, at which time muting of incoming signal s may be discontinued. Alternatively, muting may be effected for a predetermined muting period (e.g., 256 clock cycles) on each occasion of noise detection, and a recheck for presence of noise may be conducted after each such muting period expires to determine anew whether to impose muting for a succeeding muting period. Apparatus 10 is based upon a signal energy prediction and upon an assumption that during normal speech the average signal energy varies relatively slowly but channel noise often causes the decoder (from which incoming signal s is received by apparatus 10) to become unstable resulting in a large increase in decoded signal energy in a much shorter time than is experienced when incoming signal s contains speech information. It is this rapid and large increase in energy which is perceived as unpleasant clicks or pops by a user. During normal speech, the relatively slowly-varying signal energy of incoming signal s can be predicted relatively accurately. However, when the decoder becomes unstable (as when noise is present) the energy prediction error has generally been large with prior art devices. Apparatus 10 detects the onset of a noise burst whenever the prediction error measurement (PEM) is less than a predetermined threshold. The choice of the threshold directly affects performance and responsiveness of the system, and is generally determined empirically. Instead of relying upon a predetermined muting period to effect noise reduction, it may be advantageous to detect the termination of a noise burst, a burst end, to determine when to cease muting. To detect a burst end, apparatus 10 may track the slope of a quantizer step size which is calculated simply as the average difference of signal energy (or another parameter related to signal energy) over some interval. This slope is compared to a threshold and, if the slope is more negative than the threshold, then the end of an error burst is determined to have occurred. Once such a burst end is detected, muting may be terminated or may be continued for a short interval in order to ensure full recovery of the decoder before discontinuing muting. The optimum interval for such extended muting is preferably determined empirically. Fig. 2 is a flow diagram illustrating the preferred embodiment of the method of the present invention. In Fig. 2, the method starts at a block 60 with reception of incoming signal s (see Fig. 1), and average signal energy ε t is calculated (Block 62) as a function of incoming signal energy s, preferably according to the relationship: where ε t = average signal energy, s i = i th sample of said incoming signal, and n = number of samples. Then there is calculated (Block 64) a normalized average signal energy P t , preferably according to the relationship: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum expected signal energy. A predicted value of the normalized average signal energy P pred is calculated (Block 66), preferably according to the following relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, P i = i th sample of normalized average signal energy, and n = number of samples. In the preferred embodiment, it has been found sufficient for the needs of a wireless telephone application to employ a value of 4 for the number of samples n, and to employ predetermined constants for the values of scaling factors β i . A prediction error (PE) is calculated, preferably according to the expression: PE=P t -P pred and PE is used to normalize the average signal energy to determine a predicted error measure (PEM) (Block 68), preferably according to the expression: PEM is compared with a predetermined threshold value (Block 70) to generate a logic output signal reflecting that comparison; the logic output value has a first value when PEM exceeds the predetermined threshold value, thereby indicating the presence of speech in incoming signal s; and the logic output signal has a second value when PEM is less than the predetermined threshold, thereby indicating the presence of noise in incoming signal s (Block 72). Thus, incoming signal s is muted by a muting device when the logic output signal indicates the presence of noise in incoming signal s (Block 74). When the logic output signal indicates the presence of speech in incoming signal s, the muting device effects no muting of incoming signal s (Block 76). Fig. 3 is a schematic block diagram of the preferred embodiment of the prediction unit of the present invention. In Fig. 3, a prediction unit 16 is illustrated as a multi-stage digital filter comprising a plurality of delay units 50 1 , 50 2 , 50 3 , 50 4 , ... 50 n . Each delay unit 50 i delays the received signal P t (normalized average signal energy) by an additional time period so that an output line 52 1 conveys the received signal delayed one time period, P t-1 ; output line 52 2 conveys the received signal delayed by two time periods, P t-2 ; output line 52 3 conveys the received signal delayed three time units, P t-3 ; output line 52 4 conveys the received signal delayed by four time units, P t-4 ; and output line 52 n conveys the received signal delayed by n time units, P t-n . Each of the respective output signals P t-i conveyed by output lines 52 i are respectively multiplied by a scaling factor so that output signal P t-1 is multiplied by scaling factor β 1 , output signal P t-2 is multiplied by scaling factor β 2 , output signal P t-3 is multiplied by scaling factor β 3 , output signal P t-4 is multiplied by scaling factor β 4 , and output signal P t-n is multiplied by scaling factor β n . The resultant scaled output signals β i P t-i are summed in a summer 54 which provides at an output 56 a predicted value P pred for normalized average signal energy P t based upon a plurality of earlier samples P t-i of P t . It is to be understood that, while the detailed drawing and specific examples given describe preferred embodiments of the invention, they are for the purpose of illustration, that the apparatus of the invention is not limited to the precise details and conditions disclosed and that various changes may be made therein without departing from the invention which is defined by the following claims:

Claims: An apparatus for discriminating and suppressing noise within an incoming signal, the apparatus comprising: a first signal processing means for processing said incoming signal to generate a first iteration signal, said first iteration signal being representative of specified aspects of said incoming signal; a second signal processing means for processing said first iteration signal to generate a second iteration signal, said second iteration signal being representative of specified aspects of said first iteration signal; a prediction means for generating a predicted value for said second iteration signal from a plurality of earlier samples of said second iteration signal; a logic means for determining a difference between said second iteration signal and said predicted value, said logic means generating a logic output, said logic output having a first value when said difference exceeds a predetermined threshold value, said logic output having a second value when said difference does not exceed said threshold value; and a muting means for muting signals; said muting means being operatively connected to receive said incoming signal and said logic output, said muting means responding to said logic output to mute said incoming signal when said logic output is at one of said first value and said second value, said muting means responding to said logic output to not mute said incoming signal when said logic output is at the other of said first value and said second value. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 1 wherein said first iteration signal represents average signal energy of said incoming signal. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 1 wherein said second iteration signal comprises said first iteration signal normalized with respect to a predetermined value. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 3 wherein said predetermined value is the maximum value expected for said first iteration signal. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 4 wherein said second iteration signal represents a logarithmic expression. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 2 wherein said second iteration signal comprises said first iteration signal normalized with respect to a predetermined value. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 6 wherein said predetermined value is the maximum value expected for said first iteration signal. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 7 wherein said second iteration signal represents a logarithmic expression. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 2 wherein said first signal processing means effects an averaging algorithm in the form: where = average signal energy, s i = i th sample of said incoming signal, and n = number of samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 3 wherein said second signal processing means effects a normalizing algorithm in the form: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum signal energy. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 1 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 9 wherein said second signal processing means effects a normalizing algorithm in the form: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum signal energy. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 9 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 10 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 12 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. A method for discriminating and suppressing noise within an incoming signal, the method comprising the steps of: (a) generating a first iteration signal, said first iteration signal being representative of average signal energy of said incoming signal; (b) generating a second iteration signal, said second iteration signal being representative of said first iteration signal normalized with respect to a maximum signal energy expected of said incoming signal; (c) generating a predicted value for said second iteration signal from a plurality of earlier samples of said second iteration signal; (d) determining a difference between said second iteration signal and said predicted value; (e) generating a control signal, said control signal having a first value when said difference exceeds a predetermined threshold value, said control signal having a second value when said difference does not exceed said threshold value; and (f) providing a muting means for muting signals; said muting means being operatively connected to receive said incoming signal and said control signal, said muting means responding to said control signal to mute said incoming signal when said control signal is at one of said first value and said second value, said muting means responding to said control signal to not mute said incoming signal when said control signal is at the other of said first value and said second value. A method for discriminating and suppressing noise within an incoming signal as recited in Claim 16 wherein said first iteration signal is generated according to the relationship: where ε t = average signal energy, s i = i th sample of said incoming signal, and n = number of samples. A method for discriminating and suppressing noise within an incoming signal as recited in Claim 16 wherein said second iteration signal is generated according to the relationship: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum signal energy. A method for discriminating and suppressing noise within an incoming signal as recited in Claim 16 wherein said predicted value is generated according to the relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, P i = i th sample of normalized average signal energy, and n = number of samples. A method for discriminating and suppressing noise within an incoming signal as recited in Claim 17 wherein said second iteration signal is generated according to the relationship: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum signal energy. A method for discriminating and suppressing noise within an incoming signal as recited in Claim 17 wherein said predicted value is generated according to the relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, and P i = i th sample of normalized average signal energy. A method for discriminating and suppressing noise within an incoming signal as recited in Claim 18 wherein said predicted value is generated according to the relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, and P i = i th sample of normalized average signal energy. An apparatus for discriminating and suppressing noise within an incoming signal, the apparatus comprising: a first signal processing means for processing said incoming signal to generate a first iteration signal, said first iteration signal representing average signal energy of said incoming signal, said first signal processing means effecting an averaging algorithm in the form: where ε t = average signal energy, s i = i th sample of said incoming signal, and n = number of samples; a second signal processing means for processing said first iteration signal to generate a second iteration signal, said second iteration signal being representative of specified aspects of said first iteration signal; a prediction means for generating a predicted value for said second iteration signal from a plurality of earlier samples of said second iteration signal; a logic means for determining a difference between said second iteration signal and said predicted value, said logic means generating a logic output, said logic output having a first value when said difference exceeds a predetermined threshold value, said logic output having a second value when said difference does not exceed said threshold value; and a muting means for muting signals; said muting means being operatively connected to receive said incoming signal and said logic output, said muting means responding to said logic output to mute said incoming signal when said logic output is at one of said first value and said second value, said muting means responding to said logic output to not mute said incoming signal when said logic output is at the other of said first value and said second value. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 23 wherein said second iteration signal comprises said first iteration signal normalized with respect to the maximum value expected for said first iteration signal, said second signal processing means effecting a normalizing algorithm in the form: where P t = average signal energy normalized with respect to maximum signal energy, ε t = average signal energy, and ε max = maximum signal energy. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 23 wherein said predicted value is generated according to the relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, and P i = i th sample of normalized average signal energy. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 24 wherein said predicted value is generated according to the relationship: where P pred = predicted average signal energy normalized to maximum expected signal energy of said incoming signal, β i = a scaling factor, and P i = i th sample of normalized average signal energy. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 23 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 24 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 25 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples. An apparatus for discriminating and suppressing noise within an incoming signal as recited in Claim 26 wherein said prediction means comprises a digital filter, said digital filter having at least as many taps as said plurality of earlier samples.

Inventors: ASGHAR SAFDAR M, BARTKOWIAK JOHN G, HIOTAKAKOS DIMITRIS, IRETON MARK A, XYDEAS COSTAS S, ASGHAR, SAFDAR M., BARTKOWIAK, JOHN G., HIOTAKAKOS, DIMITRIS, IRETON, MARK A., XYDEAS, COSTAS S.
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1993
Main classification: H03G3
IPC codes: H03G3, H04B1, H04L27