This invention relates to a voice activity detector and, in particular, to a circuit that provides a stable indication of voice activity for use in telephones, particularly in speaker phones, and in other applications wherein the signal to noise ratio is less than one (i.e. the amplitude of the noise is greater than the amplitude of the signal).
As used herein, “telephone” is a generic term for a communication device that utilizes, directly or indirectly, a dial tone from a licensed service provider. As such, “telephone” includes desk telephones, cordless telephones, speaker phones (see
Anyone who has used current models of speaker phones is well aware of the cut off speech and the silent periods during a conversation caused by echo canceling circuitry within the speaker phone. Such phones operate in what is known as half-duplex mode, which means that either the receive channel or the transmit channel is at minimum gain or “off” and only one person can speak and be heard. While such silent periods assure that sound from a speaker is not coupled directly into a microphone within a speaker phone, the quality of the call is poor. It is preferred to operate in full duplex mode wherein the gain in the transmit channel and the gain in the receive channel may not be equal but are set above a minimum hearing level.
Another problem with speaker phones and hands free kits is that the speaker element may be located near the microphone. In such cases, the sound emanating from the speaker element can be quite loud compared with the sound of a person's voice in the same room or the same vehicle. Noise is somewhat like a weed, it is relative. It depends upon what one wants or does not want. In this description, noise is unwanted sound from the perspective of the operation of the telephone. For example, in a vehicle, noise includes road noise, music from a radio, background conversation, and the sound from the speaker element in a hands free kit. The (desired) signal is the voice of the person speaking into the microphone of the hands free kit. A similar definition applies to speaker phones. Thus defined, the signal (voice) to noise ratio of the sound impinging on a microphone can be less than one.
Detecting a voice signal is difficult even when the signal to noise ratio is substantially greater than one. A great many sophisticated circuits have been proposed and even used with various degrees of success. All known systems rely on analyzing a signal to look for traits characteristic of a voice. For example, U.S. Pat. No. 5,598,466 (Graumann) discloses a voice activity detector including an algorithm for distinguishing voice from background noise based upon an analysis of average peak value of a voice signal compared to the current value of the audio signal.
Typically, these systems are implemented in digital form and manipulate large amounts of data in analyzing the input signals. An extensive computational analysis to determine relative power takes too long. All these systems manipulate amplitude data, or data derived from amplitude, up to the point of making a binary value signal indicating voice.
Voice detection is not just used to determine whether to transmit or receive. A reliable voice detection circuit is necessary in order to properly control echo canceling circuitry, which, if activated at the wrong time, can severely distort a desired voice signal. In the prior art, this problem has not been solved satisfactorily.
In view of the foregoing, it is therefore an object of the invention to provide a simplified but accurate voice activity detector.
Another object of the invention is to provide a voice activity detector that is particularly well suited to detecting voice when the signal to noise ratio is near or even less than one.
A further object of the invention is to improve full duplex operation in a speaker phone.
Another object of the invention is to improve echo cancellation in a telephone.
The foregoing objects are achieved in this invention in which voice activity is detected by comparing an in band signal with an out of band signal. If the ratio of the signals is greater than a predetermined amount, then voice is detected.
A more complete understanding of the invention can be obtained by considering the following detailed description in conjunction with the accompanying drawings, in which:
Those of skill in the art recognize that, once an analog signal is converted to digital form, all subsequent operations can take place in one or more suitably programmed microprocessors. Reference to “signal”, for example, does not necessarily mean a hardware implementation or an analog signal. Data in memory, even a single bit, can be a signal. In other words, a block diagram herein can be interpreted as hardware, software, e.g. a flow chart, or a mixture of hardware and software. Programming a microprocessor is well within the ability of those of ordinary skill in the art, either individually or in groups.
As indicated by dashed line 17, there is or can be significant acoustic coupling between speaker 12 and microphone 11, and other microphones if present. Further, the coupling can be internal or external to speaker phone 10. As such, it is not only possible but likely that the signal to noise ratio of the sound striking microphone 11 is nearly one or even less than one.
The various forms of telephone can all benefit from the invention.
A cellular telephone includes both audio frequency and radio frequency circuits. Duplexer 25 couples antenna 26 to receive processor 27. Duplexer 25 couples antenna 26 to power amplifier 28 and isolates receive processor 27 from the power amplifier during transmission. Transmit processor 29 modulates a radio frequency signal with an audio signal from circuit 24. In non-cellular applications, such as speakerphones, there are no radio frequency circuits and signal processor 24 may be simplified somewhat. Problems of echo cancellation and noise remain and are handled in audio processor 30. It is audio processor 30 that is modified to include the invention. How that modification takes place is more easily understood by considering the echo canceling and noise reduction portions of an audio processor in more detail.
A new voice signal entering microphone input 32 may or may not be accompanied by a signal from speaker output 38. The signals from input 32 are digitized in A/D converter 41 and coupled to summation circuit 42. There is, as yet, no signal from echo canceling circuit 43 and the data proceeds to sub-band filters 44, which are initially set to minimum attenuation.
The output from sub-band filters 44 is coupled to summation circuit 46, where comfort noise 45 is optionally added to the signal. The signal is then converted back to analog form by D/A converter 47, amplified in amplifier 48, and coupled to line output 34. Data from the four VAD circuits is supplied to control 50, which uses the data for allocating sub-bands, echo elimination, double talk detection, and other functions. Circuit 43 reduces acoustic echo and circuit 51 reduces line echo. The operation of these last two circuits is known per se in the art.
Noise is rarely if ever purely random but it does have a relatively uniform amplitude across a broad spectrum. Even music or other man made sound has a spectrum that is wider than the voice band of a telephone and this difference in bandwidth is exploited by the invention to detect voice.
A band reject filter is most easily implemented as a band pass filter combined with a difference amplifier, as shown in
In operation, a voice signal adds energy content to the output from filter 62 (
The invention thus provides a simplified but accurate voice activity detector that is particularly well suited to detecting voice when the signal to noise ratio is near or even less than one. By being able to detect voice under low S/N conditions, one can improve full duplex operation in a speaker phone and improve echo cancellation in a telephone.
Having thus described the invention, it will be apparent to those of skill in the art that various modifications can be made within the scope of the invention. For example, in a circuit implementing