CA2052351C - Telephone handsfree algorithm - Google Patents

Telephone handsfree algorithm Download PDF

Info

Publication number
CA2052351C
CA2052351C CA002052351A CA2052351A CA2052351C CA 2052351 C CA2052351 C CA 2052351C CA 002052351 A CA002052351 A CA 002052351A CA 2052351 A CA2052351 A CA 2052351A CA 2052351 C CA2052351 C CA 2052351C
Authority
CA
Canada
Prior art keywords
attenuator
path
attenuators
audio
paths
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
CA002052351A
Other languages
French (fr)
Other versions
CA2052351A1 (en
Inventor
Gordon J. Reesor
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitel Networks Corp
Original Assignee
Mitel Corp
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 Mitel Corp filed Critical Mitel Corp
Priority to CA002052351A priority Critical patent/CA2052351C/en
Priority to EP92920102A priority patent/EP0605549B1/en
Priority to DE69223416T priority patent/DE69223416T2/en
Priority to PCT/CA1992/000412 priority patent/WO1993006679A1/en
Priority to JP05505656A priority patent/JP3104072B2/en
Priority to US08/211,181 priority patent/US5471528A/en
Publication of CA2052351A1 publication Critical patent/CA2052351A1/en
Application granted granted Critical
Publication of CA2052351C publication Critical patent/CA2052351C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic

Abstract

A handsfree telephone circuit has separate transmit and receive audio paths for connection to a microphone and speaker respectively. The circuit comprises a controllable attenuator in each of said transmit and receive paths, an attenuator control responsive to control signals to set the attenuation level of said attenuators, and a separate monitoring circuit connected to each of said transmit and receive paths for sensing audio signals therein. Each monitoring circuit comprises a filter for band limiting the audio signals, a peak level detector receiving said band limited signals, and a speech detector for distinguishing speech from background noise. A switching comparator compares the outputs of the peak level detectors in the two monitoring circuits and produces directional control signals for said attenuator control means to determine which audio path has control. The circuit is prone to causing a "hollow" effect in the speech due to bandlimiting filtering in the audio paths.

Description

~~~~3r~:~
This invention relates to telephones, and more particularly to a handsfree circuit for use in a telephone set.
A conventional telephone hand set operates in the full duplex mode, which means that the parties can transmit and receive at the same time. This is possible because a conventional hand set is designed to have minimal acoustic coupling between the speaker and microphone. A handsfree system, which allows the user to operate the telephone without a hand set, has difficultly operating in the full duplex mode because of the high degree of acoustic coupling between the microphone and loud speaker. Most handsfree systems are therefore operated in the half duplex mode, which means that some form of switching must be provided in the transmit and receive paths.
In a conventional handsfree circuit, variable complementary loss attenuators are inserted in the transmit and receive paths. Theses are controlled in accordance with the audio signals in the two paths. Level detectors determine the overall noise level in the respective paths and speech detectors distinguish between background noise, which is assumed to be a generally constant level, and speech, which is generally characterized by short bursts of higher level audio.
Prior art designs have generally required filters in the transmit and/or receive audio paths to band limit the speech path to the 400 to 3500 Hz region. These filters are required to reduce background noise from fans and other heavy machinery, but they create a ''hollow" effect that ~0 degrades the quality of the transmitted sound.
A further problem with the prior art circuits stems from the fact that the speech detectors work by detecting short bursts of sound. Consequently, many prior art circuits will rs~spond to intermittent background noise, such as typing, causing the attenuators to ramp up to the full transmit state when no speech is present.
Yet another problem with the prior art design is the frequent presence of echo signals due to traps-hybrid reflection or reverberation in the room. Peak detector decay rate is made long so as to prevent reverberation echo from causing the handsfree to switch states.
An object of the present invention is to alleviate the aforementioned problems with the prior art.
According to the present invention there is provided a handsfree telephone circuit with separate transmit and receive audio paths for connection to a microphone and speaker respectively, comprising a controllable attenuator in each of said transmit and receive paths, attenuator coatrol means responsive to level control signals for incrementally setting the attenuator level of said attenuators, said control means responsive to a directional control signal f'or determining which audio path at any moment is a controlling path having control of said attenuators and which audio path is a non-controlling path, a pair of monitoring circuits for generating said level control signals, said monitoring circuits defining respective monitoring paths connected to each of said transmit and receive paths for sending audio signals therein, each said monitoring circuit comprising a high pass filter for attenuating background noise, a rectifier, a peak level detecaor, and a speech detector, a pair of low pass filters hawing a fast attack and slow decay with a transfer function of approximately inverted exponential form connected to the: outputs of the respective peak level detectors in the: two monitoring circuits, and a switching comparator for comparing the outputs of said low pass filters to produce said directional control signal for said attenuator control means, and means for disabling the low pass filter receiving the output of the peak detector in the non-controlling audio path, the output of said low pass filter in the controlling audio path preventing the switching comparator from outputting the directional control signal upon echo signals appearing in the non-controlling path.
Preferably, a fast attack filter with a slow decay rate is provided in each of the input paths of the switching comparator. The filter in the non-controlling path can be - 2a -2~~23~~
bypassed so that the tendency of the switching comparator to switch on echo signals in the non-controlling path is reduced because the envelope from the filter in the controlling .path extends beyond the echo signals in the non- ", controlling path.
The filter in the audio paths is preferably a second order biquad filter. The general 2nd order Z-domain transfer function is as follows:
y(Z~~X(Z? = G (1 + A1Z 1 + A2Z 27/(1 " g1Z 1 - g2Z-2l where G is the gain, A1, A2, B1, H2 are constants that define the filer function.
The preferred values of G, A, A1, A2, B1, g2 are as follows G - 0.2054 A1 - -1.9911 AZ - +1.0000 B1 - -t-1.6067 B2 - -0.67222 The use of the second order by quadratic filter in the control path that senses the transmit and audio signals allows the audio paths to use a wider band width (200 Hz to 3500 Hz) and thus avoid the "hollow'° effect that band limiting creates in a prior art circuit with a filter directly in the audio paths.
The attenuators are preferably in the form of digital attenuators having three stable states', namely idle, and full transmit and full receive states, and a number of intermediate transient states through which the attenuators are ramped between the stable states. Each intermediate state is preferably separated by an attenuation of 1.5 dB, 2~~~~~~
and the attenuators are preferably tamped up between the intermediate states at the rate of one state every 0.5 milliseconds when going from the idle to the fully "on"
state. The attenuators decay slowly back ~to the idle states, taking 1 or 2 seconds in the absencaa of speech signals. The ramp time in the decay direction is programmable.
The peak detectors follow the envelope of the filter outputs, after being rectified. A fast attack and decay rate is used. If the speech detectors are 'triggered momentarily by short deviations in background noise, such as may be caused by typing at the keyboard, the peak detector output will decay back to the average noise level faster than the attenuators can swing to the full transmit state.
Thus, although the attenuators might start to swing on a noise spike, they will return to the correct state more quickly than prior art circuits that have a long exponential rate of decay for the peak detectors.
The invention will now be described in more detail, by way of example only, with reference to the accompanying drawings, in whicha-Figure 1 is a block cl~.agram of a handsfree telephone circuit in accordance with the invention;
Figure 2 is a block diagrammatic representation of a second order biquadratic digital high pass filters;
Figure 3 is a block diagram of a peak detector filter;
Figure 4 is a block diagram of a speech detector comparator;
Figure 5 is a block diagram of a noise level detector ~~~~37~
f i lter;
Figure 6 is a block diagram of a detection comparatar;
Figure 7 is a block diagram of a comparator low pass f i lter;
Figure $ is a diagram showing the output wave forms of the audio signals;
Figure 9 is an attenuator state diagram; and Figure 10 is a flow chart showing the attenuator control algorithm.
Referring now to Figure l, the handsfree circuit comprises a two-to-four wire hybrid 1 connected to a full duplex telephone line 2 on one side and on the other side to respective transmit and receive paths 3, ~.
The transmit path 3 includes an amplifier 5 connected to a microphone 6, an analog-to-digital converter 7, and a variable loss attenuator 8. The receive path 4 also includes a variable loss attenuator 9, a digital-to-analog converter l0 and an amplifier 11 connected to a speaker 12.
Each attenuator 8, 9 has sixty°.four states separated by 1.5 dE loss. The attenuators 8, 9 are controlled by an attenuator control unit 13 in a complementary fashion so that as the loss introduced by one attenuator is decreased, the loss introduced by the other attenuator is increased by a corresponding amount. The attenuators 8, 9 have three stable states, namely an idle, and a full transmit and a full receive state having respectively minimum, intermediate and maximum loss. The losses introduced by 'the attenuators in these states can be preset by gain control _ 5 inputs 14 to the attenuator control unit 13.
The transmit and receive paths, 3, 4 are associated with respective separate monitoring circuits 14, 15 connected upstream of the attenuators 8, 9 to monitor audio signals in the paths 3, 4. Each monitoring circuit 14, 15 comprises a high pass filter 16, a rectifier 17, a peak level detector 18, and a speech detector l9. The monitoring paths are also connected to a common direction control comparator 20 which determines which audio path has control of the attenuator control unit 13.
Each high pass filter 16 comprises a second order biquadratic digital filter as shown in more detail in Figure 2. The filter, which has a programmable transfer function uses default filter coefficients for a high pass filter with a -3dB point at 400 Hz. This default filter ensures that the circuit will work reliably in environments with a large amount of low frequency background noise. The filter comprises a multiplier 21, adders 22 and 23, further multipliers 26 and linear filters 24 and 25. The result of the circuit shown in Figure 2 is to implement the equation:
~/X ~ G (1 + A1Z-1 + A2Z-2]/(~. " B1Z-1 - B2Z-2]
'where G, A1, A2, B1 and B2 ire constants having values as f of lows G: +0.2054 (-l2dB passband) A1: -1.9911 A2: +1.0000 B1: +1.6067 B2: -0.6722 The values of the gain G are separately programmable for the Rx and Tx monitoring circuits. The default values are for the filter to have an attenuation of 12 dB in 'the ~OJ~~~.~
passband for both circuits.
The rectified output of the high pass filter 16 is fed to a peak detector filter, shown in moxe detail in Figure 3.
This comprises an adder 27 and first order digital filter 28. The peak detector responds quickly to a rectified input signal ~x(n)',,which has been attenuated by l2dB in the filter 16.
The speech detector 19, shown in more detail in Figure 4, comprises a noise detector filter 29, an adder 30 and a comparator 31. The noise detector filter 29, shown in more detail in figure 5, comprises an adder 32, an adder 33, and a first order digital filter 34. The comparator produces a high output only when peak detector output is higher than the long-term average noise level. The threshold level is programmable.
The direction control comparator is shown in more detail in Figure 6. The outputs of the peak detector filters 18 are fed to respective low pass filters 35, 36, which have a fast attack and slow decay having an inverted exponential form, as shown in Figure 9 for reasons that: will be described in more detail below. The filter 35 in the transmit path Tx is connected to the non-inverting input comparator 37, and the filter 36 in the receive path Rx is connected through a variable attenuator 38 to the inverting input of the operation amplifier 37. The low pass filters 35, 36 are shown in more detail in Figure 7. A constant is added at 38 to register 39 (dec(n)) to produce a linearly increasing value dec(n) which is subtracted from register 40 complemented with subtractor 41. When a reset occurs, register 40, which is shown as Z-1, is loaded with peak(n) and register 39 is claared to Zero. This creates the inverted exponential decay function of comp(n).

2~~~~~.~:~.
Referring again to Figure 1, the signals on the full duplex line 2 are assumed to be digital. T:he hybrid 1 provides an interface between the half duplex handsfree circuit and full duplex line 2. The hybrid 1 will also include D/A and A/D converters since the full duplex line 2 is analog. Incoming signals are directed from the line 2 into the receive path 4 and outgoing signals are directed from the transmit path 3 into the line 2. In the case of the Rx signals, they are attenuated by an amount determined 1.o by the setting of the attenuator 9 prior to digital-ta-analog conversion and amplification before they are applied to the speaker 12. When the handsfree circuit is in the full receive mode, i.e. with the Rx path in control, the attenuator 9 will be set for minimum loss so as to allow the incoming signals to pass through.
Similarly, the outgoing signals are passed through amplifier 5, analog-to-digital converter 7, and attenuator 8, which operates in a manner complementary to the attenuator 9. When the circuit is in the transmit mode, i.e. with the transmit path in control, the attenuator 8 is set for minimum loss and the attenuator 9 is set for maximum loss. In the idle state, when no speech is present, both attenuators are set for midgain.
A full state diagram of the attenuators 8, 9, is shown in Figure 9. Each attenuator has 64 states, each separated by l.SdB gain/loss. Three of the states are stable, namely full transmit, full receive, and idle, when no speech is detected on either path. The stable states are programmable in accordance with system requirements. The attenuators are 3o controlled in accordance with the flow chart shown in figure 10.
The attenuator control unit 23 provides 6 bit gain control output to the Tx and Rx attenuators 8, 9. These 6 g _ ~05~~~~
bit controls select one of 64 possible gains, on the ramp which are l.SdB apart giving a maximum range of 64 steps of l.5dB.
Of the 64 possible attenuator gain states, the speaker-s phone will rest in only one of the three stable states (Full--Tx, IDLE, or Full-Rx). During a transition from idle to a full state, or full state to full state, the attenuators 8, 9 pass through the other states at a fixed rate of l.5dB every 0.5 millisecond. A full-state to idle°
state transition is timed by two programmable timers (not shown) j the '°HOLD-OVER" timer arid tile °°RAMP-DOWN"
timer.
The °°HOLD-OVER°' timer allows the attenuators to hold a full state level for a length of time determined by the time preset value before starting a slow decay to idle state, and the ramp down timer allows the slow decay rate to be programmed.
The IDLE, MAXTX and MAXRX levels (Figure 9) are stored in programmable registers (net shown) which may be programmed by an external microprocessor (not shown). The choice of an IDLE level will affect the overall loop attenuation of the speaker-phone. User control of the speaker volume can be adjusted over the full range of the Rx attenuator by changing the contents of the Rx gain control register. The value written to the Rx gain cantrol register is used to limit the maximum positive swing of the attenuator (MAXRX). This feature allows the speaker-phone to operate '°closer to full duplex" at low speaker volume settings because the attenuators will not have to swing so far.
The maximum gain of the Tx speech path may also be programmed over the full range of the Tx attenuator with the Tx gain control register. (MAXTX). The following are some recommended restrictions for the Txgain, and TDLE registers:
_ g _ 2~~~3~1 1. The positive gain range of the Tat attenuator should be used for optimum noise performance in the transmit path.
0 < = TXGAIN < = 48 (loess 10) 2. The following restriction applies to the Rx gain setting:
p < = RXGAIN < _ X63 (base 10) 3. The following restrictions apply to the IDLE state setting:
(2 * IDLE - RXGAIN) > = o (2 * IDLE - TXGAIN) > = 0 The control inputs to the attenuator control unit 13 that cause the attenuators 8, 9 to change state are derived from the monitoring circuits 14, 15, which set the audio signals in the speech paths 3,4. There are two types of control signal, namely the signals from the speech detectors 19 that cause the attenuators 8 to ramp rapidly to the full state, and the direction control signals from comparator that determine which audio path controls the attenuator control unit 13 at any given time.
The sensed audio signals are first fed through the second order high pass filter 16, which is programmable, but which has a default response, which is high pass and a minus 3dB point at 400 Hz. This frequency response ensures that the speech detector 19 and switching comparator 20 work reliably in environments with large amounts of low frequency noise, such as fans and other machinery, as well as with analog trunk hybrids that reflect low frequency components.
The default value for the gain G in both the Tx and Rx and paths, is l2dE, but the values for G in each of the paths can be programmed separately. It is preferable not to have a gain more than 12 d~3 because of word length effects inside ~Q~~3~~.
the filter.
The peak level detectors 18 produce an output signal representing the envelope of the waveform c~f the filtered audio signals, as shown in Figure S. The peak detector registers 28 are updated once every 125 microseconds and thereby represent the short term average audio level. The detector respond immediately to a rectifiedl input signal ~x(n)~, which has been attenuated by at least l2dB in the second order filter. The rate of decay is exponential, with the time constant being, for example, in the order of 2 milliseconds.
The speech detectors 19 compare the peak detector output with the noise level tracked by the noise level detector 29 (Figure 4), which tracks the average noise level at the output of the peak detector 18. The contparator output is only high, indicating speech present, when the peak detector is higher than a long term average noise level plus a programmable threshold level, which can be used to control the sensitivity of the speaker phone to deviations in background noise level.
The noise level filter 29 takes the long term average of the background noise level of the peak detector filter output. If the peak detector output is lower than the noise level filter, the noise level filter decays slowly toward the peak detector output, with a time constant of about 16 seconds. If the peak detector output is higher than the noise filter output, the filter output increments linearly with a full scale time constant of 1,024 seconds. These long time constants are necessary to ensure that the noise level average is not moved significantly by speech present at the peak detector output.
The noise level filter shown in Figure 5 takes 'the 2~~~~~.1 difference between peak(n} and noise(n) arid scales the result down by 15 bits. If peak n minus noise n is negative, then the result after scaling down is always minus 1 (since 16 bit twos complement arithmetic is used}. If peak n minus noise n is positive, then the result is always 0. This yield the desired results since the attack time has to be made very slow. The slow attack time constant is accomplished with the second adder 33, which always adds 1 over 64, this is done by adding 1 every 64 sample periods.
Since the attack time constant is so long, the initial value for the noise filter output (at time T = O) is set to a large positive level to prevent start up problems.
Direction control is determined by the direction comparator 20, which c~mpares the outputs of the peak detectors 18. Two types of hysteresis are built in. First, depending upon the state of the comparator output, one of the two comparator input signals will be low pass filtered, and second the relative levels of the peak outputs are varied according to the state of the Tx and Rx attenuators.
The low pass filter tends to extend the decay time of the peak detector signal in order far the comparator to_hold on longer to the direction that it is currently switched to.
Far example, assuming that the Tx peak detector output is large enough to switch the comparator to the Tx direction (positive output), this positive output is used to disable the low pass filter on the Rx peak detector signal and enable the filter on the Tx peak detector signal. This effect allows the Tx peak detector to follow the speech envelope closely without requiring a long decay time, while still preventing the direction comparator from switching inadvertently to the Rx direction on an echo or reflection from an analog trunk interface. This hysteresis is even more important when the comparator switches to the Rx direction. Because of acoustic reverberation, the Rx signal - 12 -°

~~~13~~.
that is sent to the speaker will appear in the Tx path at a much higher level and delayed in time. The: slow decay time of the low pass filter and the effect of switching the low pass filters on and off, prevents acoustic reverberation of Rx speech from switching the comparator to the Tx direction.
The secondary hysteresis effect is caused by the variable attenuator in the Rx control path (shown in the figure above). l7epending upon the state of the attenuator in the Rx speech path, the maximum level of a reverberation signal in the Tx path can be deduced. For example when the Rx attenuator is in full receive mode (maximum volume) the attenuator in the Rx control path (to the --ve input of the direction comparator) is also at a maximum volume level which is identical to the Rx attenuator. Conversely when the Tx attenuator is in full Tx mode, the Rx attenuator is at a minimum level and so is the attenuator in the Rx control path. This produces a hysteresis effect on the comparator which makes it gradually harder for the opposing speech path to take control depending upon how far the attenuators are from the idle state.
When the attenuators are in idle state, the two inputs to the direction comparator should be roughly balanced.
This balance may be changed by modifying the gains of the High Pass Filter sections (HPF) in the control paths.
Referring again to Figure 8, the diagram shows an example speech signal being transmitted in the RX speech path, and the resulting echo waveform in the Tx path due to acoustic coupling from speaker to microphone. The peak detector filter follows the envelope of the signal closely with a fast decay rate. This fast decay rate is useful so that the speech detectors will only be triggered momentarily by short deviations in background noise. if a noise spike is shorter than a few milliseconds, the peak detector output ~~~~3..~~~.
will decay back to the average noise level faster than the attenuators can swing to a full-on state. '.the '°HOLD-OVER"
timer is not preset until the attenuator reaches the full-on state, therefore this makes the switching insensitive to large (but short) deviations in background noise. Although the attenuators might start to deviate an a noise spikes they will return to the correct state more guickly than prior art algorithms, that have a long exponential or linear rate of decay for peak detectors.
Figure 8 also shows the comparator filter ou'tp'ut for the Rx path. The decay characteristic of this filter, which is of approximately inverted exponential from, prevents the echo waveform in the Tx path from causing a switch to Tx after the Rx signal disappears. The comparator filter output in the Tx path is forced to follow the Tx peak detector outpwt until the switching comparator switches to Tx.
The various state constants can be stored in 16 bit registers as follows:
Tx Speech Detector Threshold Default value '0lCOh°
Address 22h This register is used by the handsfree program as a threshold level for the speech detector comparators.
RX Speech Detector Threshold Default value 2~~~3~~.
'ooEah' Address 23h This register is used by the handsfree program as a threshold level far the speech detector comparators.
IDLE State Register Default value '0026h' Address 24h This register is used to program the idle state level for handsfree operation. Bits (b5 to b0) in this register represent a number referred tows "IDLE" in the formula below.
Idle level (in dB) _ (l.SdB X IDLE) - 72dB.
Comparator Decrement Constant Default value '0004' Address 25h this register is used to program the decay rate of the comparator low pass filters.
Ramp-out Timer Register Default value ~o~~~~~
°ooAO' Address 26h ' This register is an 8 bit binary number used by the handsfree program as a timer present value to program 'the ramp-out (ramp--down time) of the attenuators when decaying back to idle state.
Decay time per l.5dB attenuator step = (timer present value) x (0.5msec) Hold-over Timer Register Default value '0190h' Address 27h This register is an 8 bit binary number used by the handsfree program as a timer preset value to program the hold-over time of the attenuators. This is the length of time that the atteriuator holds full state before starting to ramp down to idle state.
Tx High Pass Filter Gain Rectister Default value °'0350h'°
Address 28h This register is used to program the gain of the digital filter in the voice detector path.
_ 16 --,n RX Hiah Pass Filter Gain Reaister Default value '0350h' Address 29h This register is used to program the gain of the digital filter in the voice detector path.
Filter Coefficient A1 Register Default value 'E024h' Address 2Ah This register is used to program the A1 coefficient in the HPF.
Filter coefficient A2 Renir_ster Default value ~15 '1000h' Address 2Bh This register is used to program the A2 coefficient in the HPF.
Filter coefficient B1 Register Default value °l9Cah' Address 2Ch This register is used to program the B1 coefficient in the 2(~~~3~~
HPF.
Filter coefficient 82 Register Default value 'F540h' Address 2Dh This register is used to program the B2 coefficient in the HPF.
The above described circuit has a good tolerance to intermittent background noise and does not suffer to the same extent as prior art circuits from a hollow sound due to band limiting of the speech signals. The use of the special filter design in the directional control comparator minimizes switching on echo signals or reverberation.

Claims (10)

1. A handsfree telephone circuit with separate transmit and receive audio paths for connection to a microphone and speaker respectively, comprising a controllable attenuator in each of said transmit and receive paths; attenuator control means responsive to level control signals for incrementally setting the attenuation level of said attenuators, said control means responsive to a directional control signal for determining which audio path at any moment is a controlling path having control of said attenuators and which audio path is a non-controlling path; a pair of monitoring circuits for generating said level control signals, said monitoring circuits defining respective monitoring paths connected to each of said transmit and receive paths for sensing audio signals therein, each said monitoring circuit comprising a high pass filter for attenuating background noise, a rectifier, a peak level detector, and a speech detector; a pair of low pass filters having a fast attack and slow decay with a transfer function of approximately inverted exponential form connected to the outputs of the respective peak level detectors in the two monitoring circuits; and a switching comparator for comparing the outputs of said low pass filters to produce said directional control signal for said attenuator control means; and means for disabling the low pass filter receiving the output of the peak detector in the non-controlling audio path, the output of said low pass filter in the controlling audio path preventing the switching comparator from outputting the directional control signal upon echo signals appearing in the non-controlling path.
2. A handsfree telephone circuit as claimed in claim 1, wherein the output of one of said low pass filters is fed to said switching comparator through an incrementally variable attenuator that tracks the attenuation level of the attenuator in the audio path whose peak level detector is connected to said one low pass filter so as to produce a hysteresis effect that gradually reduces the sensitivity of the switching comparator to a signal in the non-controlling audio path as the attenuators move toward maximum and minimum gain respectively.
3. A handsfree telephone circuit as claimed in claim 2, wherein said variable attenuator is connected to the low pass filter connected to the peak level detector in the monitoring path connected to the receive path.
4. A handsfree telephone circuit as claimed in claim 1 wherein the high pass filter in each monitoring circuit is a second order biquad filter.
5. A handsfree telephone circuit as claimed in claim 4, wherein the second order biquad filter has the following Z-domain transfer function:

Y(z) /X(z) =G[1+A1 Z-1 +A2 Z-2]/[1-B1 Z-1 -B2 Z-2]

where G is the gain, arid A1, A2, B1, B2 are constants.
6. A handsfree telephone circuit as claimed in claim 1, wherein each said attenuator has three stable states, which are a maximum gain state, a minimum gain state, and an idle state of gain internnediate said maximum and minimum gain states; and a plurality of intermediate transient states through which said attenuators pass stepwise during a transition between any of the stable states.
7. A handsfree telephone circuit as claimed in claim 1, wherein said attenuator control means causes said attenuator in the controlling audio path to ramp rapidly to the maximum gain state arid said attenuator in the non-controlling audio path to the minimum gain state when speech is detected in the controlling audio path and to ramp more gradually back to the idle state in the absence of speech in the controlling audio path.
8. A handsfree telephone circuit as claimed in claim 6, wherein said intermediate states are separated by a fixed attenuation of 1.5 dB.
9. A handsfree telephone circuit as claimed in claim 6, further comprising means for presetting the attenuation level of each of said attenuators in said stable states.
10. A handsfree telephone circuit with separate transmit and receive audio paths for connection to a microphone and speaker respectively, comprising a controllable attenuator in each of said transmit and receive paths; attenuator control means responsive to level control signals for setting the attenuation level of said attenuators and directional control signals for determining which audio path has control of said attenuators; pair of monitoring circuits for generating said level control signals, said monitoring circuits defining respective monitoring paths connected to each of said transmit and receive paths and for sensing respective audio signals therein, each said monitoring circuit comprising a high pass filter for attenuating background noise, a rectifier, a peak level detector, and a speech detector; and a switching comparator for comparing the outputs of the peak level detectors in the two monitoring circuits and producing said directional control Signals for said attenuator control means; wherein said filter in each monitoring path is a second order biquad filter having the following Z-domain transfer function:

Y(z) /X(z) =G[1+A Z-1 +A2 Z-2]/[1-B1 Z-1 -B2 Z-2]

where G is the gain, and A1, A2, B1, B2 are constants, and where G, A1, A2, B1, B2 have the following approximate values:

G=0.2054 A1 =-1.9911 A2 =+1.0000 B1 =+1.6067 B2 =-0.67222.
CA002052351A 1991-09-27 1991-09-27 Telephone handsfree algorithm Expired - Lifetime CA2052351C (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CA002052351A CA2052351C (en) 1991-09-27 1991-09-27 Telephone handsfree algorithm
EP92920102A EP0605549B1 (en) 1991-09-27 1992-09-25 Handsfree telephone apparatus
DE69223416T DE69223416T2 (en) 1991-09-27 1992-09-25 HANDS-FREE TELEPHONE
PCT/CA1992/000412 WO1993006679A1 (en) 1991-09-27 1992-09-25 Handsfree telephone apparatus
JP05505656A JP3104072B2 (en) 1991-09-27 1992-09-25 Hands-free telephone
US08/211,181 US5471528A (en) 1991-09-27 1992-09-25 Voice switched speakerphone with filters having exponential transfer function in the monitoring path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA002052351A CA2052351C (en) 1991-09-27 1991-09-27 Telephone handsfree algorithm

Publications (2)

Publication Number Publication Date
CA2052351A1 CA2052351A1 (en) 1993-03-28
CA2052351C true CA2052351C (en) 2000-05-23

Family

ID=4148452

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002052351A Expired - Lifetime CA2052351C (en) 1991-09-27 1991-09-27 Telephone handsfree algorithm

Country Status (6)

Country Link
US (1) US5471528A (en)
EP (1) EP0605549B1 (en)
JP (1) JP3104072B2 (en)
CA (1) CA2052351C (en)
DE (1) DE69223416T2 (en)
WO (1) WO1993006679A1 (en)

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06216986A (en) * 1993-01-19 1994-08-05 Mitsubishi Electric Corp Hand-free speech circuit
JPH06338934A (en) * 1993-05-25 1994-12-06 Exar Corp Speaker horn with phenomenon driving type control circuit
GB2281680B (en) * 1993-08-27 1998-08-26 Motorola Inc A voice activity detector for an echo suppressor and an echo suppressor
FI108830B (en) * 1993-12-23 2002-03-28 Nokia Corp Method and apparatus for echo suppression in a telephone apparatus
US6768776B1 (en) * 1994-02-04 2004-07-27 Legerity, Inc. Transcoder-codec circuit arrangement and method that supports voice-switched hands-free radio operation
JPH07273840A (en) * 1994-03-25 1995-10-20 Nec Corp Mobile telephone set with voice band control function
JPH07297900A (en) * 1994-04-26 1995-11-10 Mitsubishi Electric Corp Communication equipment taking countermeasure against noise sound
US5668871A (en) * 1994-04-29 1997-09-16 Motorola, Inc. Audio signal processor and method therefor for substantially reducing audio feedback in a cummunication unit
JP2845130B2 (en) * 1994-05-13 1999-01-13 日本電気株式会社 Communication device
JPH0832494A (en) * 1994-07-13 1996-02-02 Mitsubishi Electric Corp Hand-free talking device
JP2600622B2 (en) * 1994-09-22 1997-04-16 日本電気株式会社 Transmission control method of downlink control signal in TDMA mobile communication system
US6041118A (en) * 1994-12-22 2000-03-21 Lucent Technologies Inc. Architecture for telephone set
JPH08204619A (en) * 1995-01-26 1996-08-09 Nec Corp Echo suppressor
US5680450A (en) * 1995-02-24 1997-10-21 Ericsson Inc. Apparatus and method for canceling acoustic echoes including non-linear distortions in loudspeaker telephones
US5636272A (en) * 1995-05-30 1997-06-03 Ericsson Inc. Apparatus amd method for increasing the intelligibility of a loudspeaker output and for echo cancellation in telephones
CN1141552A (en) * 1995-05-31 1997-01-29 尾电话伴侣公司 Software speakerphone system and method of operating speakerphone
US5692042A (en) * 1995-05-31 1997-11-25 Casio Phonemate, Inc. Speakerphone controlled by a comparator with hysteresis
US6175634B1 (en) 1995-08-28 2001-01-16 Intel Corporation Adaptive noise reduction technique for multi-point communication system
US5598466A (en) * 1995-08-28 1997-01-28 Intel Corporation Voice activity detector for half-duplex audio communication system
US5764753A (en) * 1995-09-29 1998-06-09 Crystal Semiconductor Corp. Half-duplex controller
US5867573A (en) * 1996-02-06 1999-02-02 Lucent Technologies Inc. Telephone handset interface with feedback control
US5892823A (en) 1996-03-27 1999-04-06 Hello Direct, Inc. Smart interface technology
US5838787A (en) * 1996-06-27 1998-11-17 Northern Telecom Limited Method and system for controlling echo return loss using a complementary variolosses in transmit path
US5796818A (en) * 1996-08-08 1998-08-18 Northern Telecom Limited Dynamic optimization of handsfree microphone gain
US6978009B1 (en) 1996-08-20 2005-12-20 Legerity, Inc. Microprocessor-controlled full-duplex speakerphone using automatic gain control
US5787165A (en) * 1996-12-13 1998-07-28 Ericsson Inc. Handsfree radiotelephone having dynamic path attenuation control for echo suppression
JP3220979B2 (en) * 1998-01-09 2001-10-22 日本電気株式会社 Voice switch
AUPP999199A0 (en) * 1999-04-28 1999-05-20 Telstra Corporation Limited Apparatus and method for detecting far end speech
SE514793C2 (en) * 1999-05-31 2001-04-23 Ericsson Telefon Ab L M Procedure and system for line level adjustment between networks
US7263074B2 (en) * 1999-12-09 2007-08-28 Broadcom Corporation Voice activity detection based on far-end and near-end statistics
JP3929686B2 (en) * 2000-08-14 2007-06-13 松下電器産業株式会社 Voice switching apparatus and method
US6795547B1 (en) * 2000-08-02 2004-09-21 Conexant Systems, Inc. Full duplex speaker-phone providing increased loop stability
US6836156B2 (en) * 2003-04-25 2004-12-28 Broadcom Corp. High frequency signal peak detector
US8611554B2 (en) * 2008-04-22 2013-12-17 Bose Corporation Hearing assistance apparatus
US8340312B2 (en) 2009-08-04 2012-12-25 Apple Inc. Differential mode noise cancellation with active real-time control for microphone-speaker combinations used in two way audio communications
GB2561021B (en) * 2017-03-30 2019-09-18 Cirrus Logic Int Semiconductor Ltd Apparatus and methods for monitoring a microphone
US11769510B2 (en) 2017-09-29 2023-09-26 Cirrus Logic Inc. Microphone authentication
GB2567018B (en) 2017-09-29 2020-04-01 Cirrus Logic Int Semiconductor Ltd Microphone authentication
KR102425566B1 (en) 2020-08-10 2022-07-26 김태준 Lure For Fish

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3963868A (en) * 1974-06-27 1976-06-15 Stromberg-Carlson Corporation Loudspeaking telephone hysteresis and ambient noise control
US4210872A (en) * 1978-09-08 1980-07-01 American Microsystems, Inc. High pass switched capacitor filter section
US4293820A (en) * 1979-08-23 1981-10-06 Centre De Recherche Industrielle Du Quebec Positive feedback biquad filter
US4315227A (en) * 1979-12-05 1982-02-09 Bell Telephone Laboratories, Incorporated Generalized switched-capacitor active filter
JPS5797262A (en) * 1980-12-09 1982-06-16 Nippon Telegr & Teleph Corp <Ntt> Loud speaker telephone set system
GB2122851B (en) * 1982-06-10 1986-03-19 Standard Telephones Cables Ltd Loudspeaking telephones
US4490582A (en) * 1983-02-18 1984-12-25 At&T Information Systems Inc. Speakerphone control circuit
JPS59193660A (en) * 1983-04-18 1984-11-02 Nec Corp Conference telephone set
GB2161047B (en) * 1984-06-28 1987-09-16 Stc Plc Improvements in telephone instruments
US4608462A (en) * 1984-06-29 1986-08-26 International Standard Electric Corporation Telephone instrument circuit
CA1233925A (en) * 1985-05-10 1988-03-08 Gordon J. Reesor Digital loudspeaking telephone
US4715063A (en) * 1985-08-20 1987-12-22 Motorola, Inc. Speakerphone for radio and landline telephones
EP0290952B1 (en) * 1987-05-15 1992-11-04 Alcatel SEL Aktiengesellschaft Speech control circuitry for a telecommunication terminal
US4879745A (en) * 1988-10-12 1989-11-07 Ibm Corporation Half-duplex speakerphone
FR2641150B1 (en) * 1988-12-28 1991-04-19 Sgs Thomson Microelectronics
DE59008583D1 (en) * 1989-10-18 1995-04-06 Siemens Ag Method for automatic switching of messages and circuit arrangement for carrying out the method.
CA2001277C (en) * 1989-10-24 1994-07-12 Bruce Leigh Townsend Hands free telecommunications apparatus and method
US5058153A (en) * 1989-12-27 1991-10-15 Carew Edward C Noise mitigation and mode switching in communications terminals such as telephones
US5075687A (en) * 1990-09-27 1991-12-24 Advanced Micro Devices, Inc. Echo suppression with both digital and analog variable attenuators

Also Published As

Publication number Publication date
DE69223416T2 (en) 1998-07-09
DE69223416D1 (en) 1998-01-15
CA2052351A1 (en) 1993-03-28
EP0605549A1 (en) 1994-07-13
JPH06510889A (en) 1994-12-01
EP0605549B1 (en) 1997-12-03
JP3104072B2 (en) 2000-10-30
US5471528A (en) 1995-11-28
WO1993006679A1 (en) 1993-04-01

Similar Documents

Publication Publication Date Title
CA2052351C (en) Telephone handsfree algorithm
US5384843A (en) Hands-free telephone set
US5390250A (en) Echo canceller with improved doubletalk detection
EP0364383B1 (en) Half-duplex speakerphone
US5075687A (en) Echo suppression with both digital and analog variable attenuators
EP0299507B1 (en) Electronic telephone terminal having noise suppression function
US6094481A (en) Telephone having automatic gain control means
CA2017898C (en) Echo canceler-suppressor speakerphone
JPS6339179B2 (en)
US20030206624A1 (en) Full duplex echo cancelling circuit
US3952166A (en) Loudspeaking telephone circuit
US5970137A (en) Loudspeaker gain correction for a hands-free telephone terminal
WO1991020149A1 (en) Echo canceller with adaptive voice switch attenuation
US4715062A (en) Speakerphone control circuit having low gain states and method for controlling gain of speakerphone
EP0478125B1 (en) Discriminating information from noise in a communication signal
US5982755A (en) System and method for providing high terminal coupling loss in a handsfree terminal
US5586180A (en) Method of automatic speech direction reversal and circuit configuration for implementing the method
EP0482745B1 (en) Method for operating an apparatus for facilitating communications
JPH01253353A (en) Howling canceler system for hand-free telephone
JPH055420B2 (en)
JP2636897B2 (en) Hands-free communication circuit
JPH05145647A (en) Voice switch circuit
VV ACTIVE 95
Burger et al. vocE-coNTRoLLED TELEcoMMUNICATIoN TERMINAL
JPS63198457A (en) Hand-free telephone set

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed
MKEC Expiry (correction)

Effective date: 20121202