CN101286763A - An Effective Echo Suppressor - Google Patents
An Effective Echo Suppressor Download PDFInfo
- Publication number
- CN101286763A CN101286763A CNA2007101942749A CN200710194274A CN101286763A CN 101286763 A CN101286763 A CN 101286763A CN A2007101942749 A CNA2007101942749 A CN A2007101942749A CN 200710194274 A CN200710194274 A CN 200710194274A CN 101286763 A CN101286763 A CN 101286763A
- Authority
- CN
- China
- Prior art keywords
- lsf
- signal
- echo
- level
- nsr
- 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.)
- Granted
Links
- 230000003595 spectral effect Effects 0.000 claims abstract description 10
- 230000003044 adaptive effect Effects 0.000 claims abstract description 9
- 230000006978 adaptation Effects 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 15
- 230000004048 modification Effects 0.000 abstract description 12
- 238000012986 modification Methods 0.000 abstract description 12
- 238000006243 chemical reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 230000001629 suppression Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000001914 filtration Methods 0.000 description 5
- 238000012886 linear function Methods 0.000 description 4
- 238000001228 spectrum Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000002592 echocardiography Methods 0.000 description 2
- 208000002161 echolalia Diseases 0.000 description 2
- 238000012805 post-processing Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
本发明的一种有效的回波抑制器,包括两个自适应增益单元Gr(RSR)和Gn(NSR),一个自适应零点滤波单元A1(z)和一个自适应极点滤波单元A2(z);其中,增益单元Gr(RSR)由RSR(残余回波电平与信号电平之比)控制;增益单元Gn(NSR)由NSR(噪声信号电平与当前信号(Tx)电平之比)控制;滤波单元A1(z)由LSF1换算而来,LSF1是基于对LSFTx(Tx信号的线性谱频)的首次修改;滤波单元A2(z)由LSF2换算而来,LSF2是基于对LSFTx的另次修改。这种抑制器既可以抑制回波又可以抑制背景噪声,而且在实际应用时不产生任何“不连续性”,从而也不会听到明显的语音失真,是一种效用高且易于实现的有效的回波抑制器。
An effective echo suppressor of the present invention includes two adaptive gain units G r (RSR) and G n (NSR), an adaptive zero filter unit A 1 (z) and an adaptive pole filter unit A 2 (z); where, the gain unit G r (RSR) is controlled by RSR (ratio of residual echo level to signal level); the gain unit G n (NSR) is controlled by NSR (noise signal level and current signal (Tx ) level ratio) control; filter unit A 1 (z) is converted by LSF 1 , LSF 1 is based on the first modification of LSF Tx (linear spectral frequency of Tx signal); filter unit A 2 (z) is converted by LSF 2 conversion, LSF 2 is based on another modification of LSF Tx . This kind of suppressor can not only suppress the echo but also suppress the background noise, and does not produce any "discontinuity" in practical application, so that no obvious speech distortion will be heard. It is an effective and easy-to-implement method. echo suppressor.
Description
技术领域 technical field
该发明涉及一种电信设备,更确切地说,它介绍了一种有效的回波消除和抑制的方法。The invention relates to a telecommunication device, more precisely it introduces a method for efficient echo cancellation and suppression.
背景技术 Background technique
回波消除器echo canceller
回波消除器可以是一种设备,也可以是一种软件,它通过使用参考信号来消除回波信号。参考信号又称为接收信号(Rx信号)。回波信号又称为回波返回信号,混杂在传输信号(Tx信号)里。回波消除器有两种主要类型:一种称为声音回波消除器(AEC),另一种称为线性回波消除器(LEC)。显然,声音回波消除器是用于消除声音回波,而线性回波消除器则是用于消除线性回波。An echo canceller can be a device or a piece of software that cancels echo signals by using a reference signal. The reference signal is also called a received signal (Rx signal). The echo signal is also called the echo return signal, which is mixed in the transmission signal (Tx signal). There are two main types of echo cancellers: one is called an acoustic echo canceller (AEC) and the other is called a linear echo canceller (LEC). Obviously, the acoustic echo canceller is used to cancel the acoustic echo, and the linear echo canceller is used to cancel the linear echo.
线性回波产生的原因是由于混合电路与阻抗在二到四线信号变换时存在不平衡性。声音回波出现在电信设备里,它的产生是由于声音结合的回波在提供全双工连接的同时被传输回接收方;这个问题也出现在电话会议中-如何在搭建两个或多人通话桥梁的同时消除由其他人传来的噪声。在语音交流过程中,有些回声是可以接受的,但是用户通常不愿意听到自己的讲话声;即受到系统往返时间的影响而有所迟滞的回音。The reason for the linear echo is due to the imbalance between the hybrid circuit and the impedance when the two-to-four-wire signal is transformed. Acoustic echo occurs in telecommunication equipment, it is produced due to the combined echo of voice being transmitted back to the receiving party while providing a full-duplex connection; this problem also occurs in teleconferencing - how to set up two or more people Eliminate noise from other people while talking on the bridge. During voice communication, some echo is acceptable, but users usually don't want to hear their own speech; that is, echo delayed by the round-trip time of the system.
回波消除器通常是一个自适应滤波器,并且结合了一个最小均方(LMS)算法,这种算法可以产生近似于回波信号的回波复制信号。在回波返回信号和回波自制信号之间还存在一个减法,用于消除回波返回信号。由于种种原因,复制信号不能完全复制回波返回信号,因此在传输信号里还会存在一些残余的回波。回波信号抑制器是一种可以有效地减少或消除回波的设备,它尤其用于减少或消除经回波消除器处理过的信号中的残余回波。由于回波消除器本身存在的问题,各种解决方案都非常依赖添加回波信号抑制器。The echo canceller is usually an adaptive filter combined with a least mean square (LMS) algorithm that produces an echo replica that approximates the echo signal. There is also a subtraction between the echo return signal and the echo homemade signal for eliminating the echo return signal. For various reasons, the replica signal cannot completely replicate the echo return signal, so there will be some residual echo in the transmitted signal. An echo signal suppressor is a device that can effectively reduce or eliminate echoes, and it is especially used to reduce or eliminate residual echoes in signals processed by an echo canceller. Due to the inherent problems with the echo canceller, various solutions have relied heavily on adding an echo signal suppressor.
回波信号抑制器echo signal suppressor
回波抑制器可以是一种设备,也可以是一种软件,它可以有效地减少(残余)回波能量而不会使非回波语音信号明显失真。尽管回波抑制器可以独立于回波消除器工作,但它通常还是要与回波消除器结合使用。回波抑制器不仅可以有效地抑制残余回波能量,而且还可以借助一些有用的参数来消除背景噪声能量。回波抑制可以被认为是一种独立的功能或者仅仅是回波消除系统的一个部分。An echo suppressor can be a device or a piece of software that effectively reduces (residual) echo energy without significantly distorting non-echo speech signals. Although an echo suppressor can work independently of an echo canceller, it is usually used in conjunction with an echo canceller. Echo suppressors can not only effectively suppress residual echo energy, but also eliminate background noise energy with the help of some useful parameters. Echo suppression can be considered an independent function or just a part of the echo cancellation system.
现有的回波抑制方法大多通过以下途径而实现:Most of the existing echo suppression methods are realized through the following ways:
·频谱回声抑制是常使用的方法之一。这种方法比较简单,它通过FFT操作将时间域信号转换为频域。在实际运用时,它需要细致地调整所有参数,从而在修正的频谱被转换回时间域前避免可能出现的“音乐噪声”。· Spectrum echo suppression is one of the commonly used methods. This method is relatively simple, it converts the time domain signal into frequency domain through FFT operation. In practice, it requires careful tuning of all parameters to avoid possible "musical noise" before the corrected spectrum is converted back to the time domain.
·另一种比较常用的方法称为非线性处理器方法(NLP),这种方法用随机噪声来替换残余回波信号,或者在只有一个人讲话的情况下切断信号的反向传输。NLP方法简单,但需要对双端声音(Double Talk)和残余回波进行比较精确的检测。由于难以获得一个比较精确的双端声音检测器或比较完美的残余回波检测方式,因此这种方法在噪声环境里通常会产生“不连续性”。· Another more common method is called the nonlinear processor method (NLP), which replaces the residual echo signal with random noise, or cuts the reverse transmission of the signal when only one person is speaking. The NLP method is simple, but requires more accurate detection of double-ended sound (Double Talk) and residual echo. This method usually produces "discontinuities" in noisy environments due to the difficulty of obtaining a more accurate double-ended sound detector or a more perfect residual echo detection method.
发明内容 Contents of the invention
本发明的目的是为了克服上述现有的回波信号抑制方法的不足之处,提出一种既可以抑制残余回波又可以抑制背景噪声,甚至可以适用于双端声音环境,并且在实际应用时不引入任何“不连续性”,也不会听到明显的语音失真的效用高且易于实现的一种有效的回波抑制器。The purpose of the present invention is to overcome the shortcomings of the above-mentioned existing echo signal suppression methods, and propose a method that can suppress both residual echo and background noise, and can even be applicable to double-ended sound environments, and in practical application An effective echo suppressor that does not introduce any "discontinuities" and does not audibly distort the speech. It is highly effective and easy to implement.
本发明的一种有效的回波抑制器,包含有两个自适应增益因子Gr(RSR)和Gn(NSR),一个自适应零点滤波单元A1(z)和一个自适应极点滤波单元A2(z),其特征在于:An effective echo suppressor of the present invention includes two adaptive gain factors G r (RSR) and G n (NSR), an adaptive zero filter unit A 1 (z) and an adaptive pole filter unit A 2 (z), characterized by:
增益因子Gr(RSR)由RSR控制;The gain factor G r (RSR) is controlled by RSR;
增益因子Gn(NSR)由NSR控制;The gain factor G n (NSR) is controlled by NSR;
滤波单元A1(z)由LSF1换算而来;LSF1是基于初始设置LSFTx的第一次修改;The filter unit A 1 (z) is converted from LSF 1 ; LSF 1 is the first modification based on the initial setting LSF Tx ;
滤波单元A2(z)由LSF2换算而来;LSF2是基于初始设置LSFTx的第二次修改。The filtering unit A 2 (z) is converted from LSF 2 ; LSF 2 is the second modification based on the initial setting LSF Tx .
所述RSR为残余回波电平与信号电平的比值;信号电平是指当前帧或副帧的Tx信号电平;残余回波电平由RRR与当前接收信号(Rx)电平的乘积计算得出。The RSR is the ratio of the residual echo level to the signal level; the signal level refers to the Tx signal level of the current frame or sub-frame; the residual echo level is the product of RRR and the current received signal (Rx) level Calculated.
所述RRR是残余回波电平与接收信号(Rx)电平的平均比值。The RRR is the average ratio of the residual echo level to the received signal (Rx) level.
所述NSR为背景噪声电平与当前信号(Tx)电平的比值。The NSR is the ratio of the background noise level to the current signal (Tx) level.
所述LSF是指线性谱频(Line Spectral Frequencies)。The LSF refers to Line Spectral Frequencies.
上述的在修改前的初始设置LSFTx是基于Tx信号的LPC分析得出。The above initial setting of LSF Tx before modification is obtained based on the LPC analysis of the Tx signal.
所述初始设置LSFTx的第一次修改和初始设置LSFTx的第二次修改受RSR、NSR、LSFecho和LSFnois的控制。The first modification of the initial setting LSF Tx and the second modification of the initial setting LSF Tx are controlled by RSR, NSR, LSF echo and LSF noise .
所述LSFecho的估测可以借助在Tx信号的纯粹残余回波区内LSFRx和LSFTx之间的关系得出;这里LSFRx是基于Rx信号的LPC分析得出。The estimation of the LSF echo can be obtained by means of the relationship between LSF Rx and LSF Tx in the pure residual echo region of the Tx signal; here, the LSF Rx is obtained based on the LPC analysis of the Rx signal.
所述背景噪声的LSFnois是基于在Tx信号背景噪声区的LPC分析得出。The LSF noise of the background noise is obtained based on the LPC analysis in the background noise area of the Tx signal.
本发明具有既可以抑制残余回波又可以抑制背景噪声,甚至可以适用于双端声音环境,并且在实际应用时不引入任何“不连续性”等优点,从而也不会听到明显的语音失真。是一种效用高且易于实现的有效的回波抑制器。The present invention has the advantages of not only suppressing residual echo but also suppressing background noise, even applicable to double-ended sound environment, and does not introduce any "discontinuity" in practical application, so that no obvious speech distortion can be heard . It is an effective echo suppressor with high utility and easy implementation.
附图说明 Description of drawings
图1是声音回波消除器(AEC)112的一个范例的方框图;FIG. 1 is a block diagram of an example of an acoustic echo canceller (AEC) 112;
图2是线性回波消除器(LEC)209的一个范例的方框图;FIG. 2 is a block diagram of an example of a linear echo canceller (LEC) 209;
图3是一个双端语音信号频谱包络的示意图,其中的残余回波信号混合于非回波语音信号;Fig. 3 is a schematic diagram of the spectrum envelope of a double-ended speech signal, wherein the residual echo signal is mixed with the non-echo speech signal;
图4是参考信号Rx波形示意图;4 is a schematic diagram of a reference signal Rx waveform;
图5是回波抑制器前的输入(残余)信号Tx的波形示意图;Fig. 5 is a schematic diagram of the waveform of the input (residual) signal Tx before the echo suppressor;
图6是回波抑制器后输出信号Tx的波形示意图。FIG. 6 is a schematic waveform diagram of the output signal Tx after the echo suppressor.
具体实施方式 Detailed ways
结合附图对本发明作进一步描述如下:The present invention is further described as follows in conjunction with accompanying drawing:
下述内容对这种回波抑制器的特殊相关信息进行了说明。但内行的人会明白该发明可以结合不同的算法应用于一些不同的场合。一些行业内一般专业人士都了解的细节将不在此讨论,以免模湖了本发明的重点。Information specific to this type of echo suppressor is described below. But those skilled in the art will understand that the invention can be applied to some different occasions in combination with different algorithms. Some details known to those skilled in the industry will not be discussed here, so as not to obscure the key points of the present invention.
本文附图及其相关说明介绍的内容仅仅是本发明的一些具体应用范例。为求简要,本发明涉及的其他相同应用原理的范例在此不作详细的图示及说明。The contents introduced in the accompanying drawings and related descriptions herein are only some specific application examples of the present invention. For the sake of brevity, other examples of the same application principles involved in the present invention will not be illustrated and described in detail here.
图1是声音回波消除器(AEC)系统112的一个范例。回波信号111由扬声器110传来并返回至麦克风101。送至扬声器的信号称为接收信号109或声音回波消除器103和回波抑制器105的参考信号。进入声音回波消除器(AEC)并由麦克风(MIC)101传出的信号称为传输信号102(Tx信号),这一传输信号带有回波返回信号(源自扬声器)。声音回波消除器(AEC)103和回波抑制器105负责消除或抑制回波信号。声音回波消除器(AEC)借助参考信号Rx 109来产生类似于回波返回信号的复制信号,从而对回波返回信号进行消除或抑制。残余回波信号104将被一个后处理模块105进行进一步抑制,该模块可以是回波抑制器或非线性处理器(NLP)。FIG. 1 is an example of an acoustic echo canceller (AEC)
图2是线性回波消除器(LEC)系统209的一个范例。这是一个典型的范例,其中,回波信号211来自电话混合器210的返射;发送信号Tx1201含有回波返回信号;然后由LEC系统209的回波消除器202和回波抑制器204对这一回波返回信号211进行消除或抑制。LEC的工作原理与AEC相似。其中一个主要的差别在于回波路径的不同。而且其回波迟滞范围也可能有所不同。回波消除器借助参考信号Rx 208来产生类似于回波返回信号的复制信号,从而对回波返回信号进行消除或抑制。残余回波信号Tx2 203将被一个后处理模块204进行进一步抑制,该模块可以是回波抑制器或非线性处理器(NLP)。FIG. 2 is an example of a linear echo canceller (LEC)
图3是一个双端语音范例的信号频谱包络的示意图,其中的残余回波信号混合于非回波语音信号。302显示的是混合信号的谱包络。301是假设无回波语音信号的谱包络。大多情况下,残余信号共振峰303要小于语音共振峰304。比起单独存在的残余信号,如果双端语音区内的残余回波混合在语音信号里,则更难对其进行抑制;这是因为既要抑制残余回波信号又要保证语音信号不会失真。FIG. 3 is a schematic diagram of the signal spectral envelope for an example of double-ended speech in which the residual echo signal is mixed with the non-echoed speech signal. Shown at 302 is the spectral envelope of the mixed signal. 301 is the spectral envelope assuming an echo-free speech signal. In most cases, the
图4-6介绍了3个信号范例:图4是表示Rx信号(参考信号)401,图5是输入(残余)回波抑制器(图2中的202)前的Tx信号402,图6是从(残余)回波抑制器(图2中的204)输出的Tx信号406。如图5所示,403为双端语音区,一个有效的(残余)回波抑制器在运行正常的情况下既可以清除残余回波信号404,又可以清除背景噪声405。Figures 4-6 present three signal examples: Figure 4 represents the Rx signal (reference signal) 401, Figure 5 represents the Tx signal 402 before the input (residual) echo suppressor (202 in Figure 2), and Figure 6 is the Tx signal 406 output from the (residual) echo suppressor (204 in Figure 2). As shown in FIG. 5 , 403 is a double-ended speech area. An effective (residual) echo suppressor can remove both
本发明提出了一种效用高且易于实现的回波抑制方法。它由增益控制的滤波处理实现,可以用以下滤波模型解释:The present invention proposes a highly effective and easy-to-implement echo suppression method. It is implemented by a gain-controlled filtering process, which can be explained by the following filtering model:
其中,Gn()是一个增益,这个增益是NSR(或SNR)的一个函数,NSR定义为背景噪声电平与信号电平的比值。NSR的数值可以通过测量回波抑制器前的Tx信号并结合VAD(语音活动检测)信息获得。Gr()也是一个增益,这个增益是FSR的一个函数,RSR定义为Tx信号里残余回波电平与信号电平的比值估计,这一估计比较复杂,本文后边会对其进行详释。A1(z)和A2(z)均为线性预测器,由LPC系数组成,而LPC系数则是从LSF1和LSF2换算而来,其中,LSF指的是线性谱频(Line Spectral Frequencies)。LPC系数和LSF均为语音信号处理领域内众所周知的参数,它们经常用于表示谱包络。LSF1由LSFTx的首次修改得出,其中,LSFTx根据Tx信号进行LPC分析计算得出;LSF2由LSFTx的第二次修改得出。LSF的修改受参数SNR、RSR和另一组LSFRx的控制,这一组LSFRx是根据对Rx信号进行LPC分析计算得出。Among them, G n () is a gain, and this gain is a function of NSR (or SNR), and NSR is defined as the ratio of the background noise level to the signal level. The value of NSR can be obtained by measuring the Tx signal before the echo suppressor combined with VAD (Voice Activity Detection) information. G r () is also a gain. This gain is a function of FSR. RSR is defined as the estimate of the ratio of the residual echo level to the signal level in the Tx signal. This estimate is more complicated and will be explained in detail later in this article. Both A 1 (z) and A 2 (z) are linear predictors, which are composed of LPC coefficients, and the LPC coefficients are converted from LSF 1 and LSF 2 , where LSF refers to the line spectral frequency (Line Spectral Frequencies ). Both LPC coefficients and LSF are well-known parameters in the field of speech signal processing, and they are often used to represent spectral envelopes. LSF 1 is derived from the first modification of LSF Tx , wherein LSF Tx is calculated based on LPC analysis of the Tx signal; LSF 2 is derived from the second modification of LSF Tx . The modification of the LSF is controlled by the parameters SNR, RSR and another set of LSF Rx calculated from the LPC analysis of the Rx signal.
在方程式(1)中,增益通常不会降到0,但在纯粹的回波区要足够小,这样,纯回波就无法被听见;增益的主要贡献在于对非双端语音区可以显著地减少回波或噪声能量。在正常语音区或双端语音区,增益因子通常比1小,而且取决于参数NSR和RSR。由于NSR和RSR的变化比较平滑而且缓慢,而且增益因子的变化也与其保持一致,这样就能避免产生“不连续性”。In equation (1), the gain usually does not drop to 0, but is small enough in the pure echo region that the pure echo cannot be heard; the main contribution of the gain is that it can significantly reduce Reduce echo or noise energy. In normal speech or double-speech regions, the gain factor is usually smaller than 1 and depends on the parameters NSR and RSR. Since the change of NSR and RSR is relatively smooth and slow, and the change of gain factor is consistent with it, "discontinuity" can be avoided.
方程式(1)中的LPC滤波单元A1(z)和A2(z)主要用于抑制双端语音区的残余回波共振峰(如图3)或者减小低SNR语音区的噪声或频谱幅度。由于LPC滤波单元A1(z)和A2(z)的参数变化比较平滑而且缓慢,因此就避免了“不连续性”,从而也不会听到明显的语音失真。The LPC filter units A 1 (z) and A 2 (z) in equation (1) are mainly used to suppress the residual echo formant in the double-ended speech area (as shown in Figure 3) or reduce the noise or spectrum in the low SNR speech area magnitude. Since the parameter changes of the LPC filtering units A 1 (z) and A 2 (z) are relatively smooth and slow, "discontinuity" is avoided, so that no obvious speech distortion can be heard.
上述内容对本发明的基本原理进行了阐述。后文将对本发明作出详细解释。The foregoing content illustrates the basic principles of the present invention. Hereinafter, the present invention will be explained in detail.
·NSR(或SNR)的估计,该值被定义为背景噪声电平与当前Tx信号电平的比值。这一参数借助一个常用的方法便可确定。背景噪声指的是Tx信号中仅存在背景噪声时的近期平均背景噪声电平。信号电平指的是Tx信号的当前帧或副帧信号电平。当只有背景噪声存在时,NSR值大约为1,在dB域内大约为0 dB。在语音区内,NSR值要小于1。• An estimate of NSR (or SNR), which is defined as the ratio of the background noise level to the current Tx signal level. This parameter can be determined by means of a usual method. Background noise refers to the recent average background noise level when only background noise is present in the Tx signal. The signal level refers to the current frame or sub-frame signal level of the Tx signal. When only background noise is present, the NSR value is approximately 1, and approximately 0 dB in the dB domain. In the voice area, the NSR value should be less than 1.
·残余回波信号检测,指在只有残余回波信号和噪声存在的情况下检测大部分残余回波信号区。这一检测单元无须精确,因为它将仅仅用于估算回波能量相比Rx信号能量的平均损失。在Rx信号和回波返回信号之间的迟滞被检测到后,Rx信号和残余返回信号均已在回波消除器内被同步化。如果不存在双端语音,与原始Rx信号能量相比,在基本回波消除器后残余回波信号的能量减小非常显著。这一信息可以用于探测大部分残余回波信号。·Residual echo signal detection refers to detecting most of the residual echo signal area under the condition that only residual echo signal and noise exist. This detection unit need not be precise as it will only be used to estimate the average loss of echo energy compared to the Rx signal energy. After the hysteresis between the Rx signal and the echo return signal is detected, both the Rx signal and the residual return signal have been synchronized within the echo canceller. If double-talk is not present, the energy reduction of the residual echo signal after the basic echo canceller is very significant compared to the energy of the original Rx signal. This information can be used to detect most residual echo signals.
·RSR的估计值,该值被定义为残余回波电平与当前Tx信号电平的比值。信号电平依然指的是Tx信号的当前帧或副帧信号电平。计算残余回波电平比较复杂。如果没有残余回波,则残余回波电平为0。首先,仅在残余回波存在的情况情况下,残余回波的平均能量损失(能量减小)在相应的区域内估算,它被定义为残余回波电平与对应接收信号电平(Rx信号电平)的一个比值。能量电平可以直接表示,也可以在dB域内表示。其平均比值(或滑动平均值)的计算表达式如下:• An estimate of the RSR, which is defined as the ratio of the residual echo level to the current Tx signal level. The signal level still refers to the current frame or sub-frame signal level of the Tx signal. Computing the residual echo level is more complicated. If there is no residual echo, the residual echo level is 0. First, the average energy loss (energy reduction) of the residual echo is estimated in the corresponding region only in the presence of the residual echo, which is defined as the residual echo level compared with the corresponding received signal level (Rx signal A ratio of level). Energy levels can be expressed directly or in the dB domain. The calculation expression of its average ratio (or moving average) is as follows:
因此,当前残余回波能量电平可以通过下式估算:Therefore, the current residual echo energy level can be estimated by the following formula:
当前残余回波能量电平=(RRR)·(当前Rx信号能量电平) (3)Current residual echo energy level = (RRR) (current Rx signal energy level) (3)
根据以上公式,即使在双端语音区,也能对当前残余回波能量电平进行估算。因此,RSR可根据下式计算:According to the above formula, the current residual echo energy level can be estimated even in the double-ended speech area. Therefore, RSR can be calculated according to the following formula:
根据上式,RSR值在纯粹的残余回波区内约为1,在双端语音区内要小于1。According to the above formula, the RSR value is about 1 in the pure residual echo area and less than 1 in the double-ended speech area.
增益Gn(NSR),它可以是参数NSR的线性函数或非线性函数。以下为线性函数的一个范例:Gain Gn (NSR), which can be a linear or non-linear function of the parameter NSR. The following is an example of a linear function:
Gn(NSR)=1-Cn·NSR (5)G n (NSR) = 1-C n NSR (5)
其中,Cn是一个常数:0<Cn<1Among them, C n is a constant: 0<C n <1
·增益Gr(RSR),可以是参数RRR的线性函数或非线性函数。以下为线性函数的一个范例:• Gain G r (RSR), which can be a linear or non-linear function of the parameter RRR. The following is an example of a linear function:
Gr(RSR)=1-Cr·RSR (6)G r (RSR)=1-C r RSR (6)
其中,Gr一个常数:0<Cr<1Among them, G r is a constant: 0<C r <1
·Tx信号的LSF,表达为LSFTx(i),i=0,1,…,M-1;它的估算是基于对Tx信号的LPC分析。在采样率为8kHz的情况下,对于窄频带信号来说,阶数(M)的典型值大约为10。• The LSF of the Tx signal, expressed as LSF Tx (i), i=0, 1, . . . , M-1; its estimation is based on the LPC analysis of the Tx signal. Typical values for the order (M) are around 10 for narrowband signals at a sampling rate of 8kHz.
·噪声信号的LSF,表达为LSFnois(i),i=0,1,…,M-1;它的估算是基于Tx信号背景噪声区中LSFTx(i)的平均值(或滑动平均值)。The LSF of the noise signal, expressed as LSF noise (i), i=0, 1, ..., M-1; its estimation is based on the average (or moving average) of the LSF Tx (i) in the background noise region of the Tx signal ).
·Rx信号的LSF,表达为LSFRx(i),i=0,1,…,M-1;它的估算是基于对Rx信号的LPC分析。• LSF of the Rx signal, expressed as LSF Rx (i), i = 0, 1, . . . , M-1; its estimation is based on the LPC analysis of the Rx signal.
·(残余)回波信号LSF,表达为LSFecho(i),i=0,1,…,M-1;当残余回波信号混杂在语音信号内时,LSFecho(i)在双端语音区内的估算更为困难。例如,LSFecho(i)可以通过借助LSFRx(i)进行推算得出。首先,估算推算因子P(i);它是在纯粹残余回波区内LSFRx(i)和LSFTx(i)之间的近期平均比值(或滑动平均比):(Residual) echo signal LSF, expressed as LSF echo (i), i=0, 1, ..., M-1; when the residual echo signal is mixed in the voice signal, LSF echo (i) Estimates within the region are more difficult. For example, LSF echo (i) can be derived by extrapolating with LSF Rx (i). First, the imputation factor P(i) is estimated; it is the recent average ratio (or moving average ratio) between LSF Rx (i) and LSF Tx (i) in the pure residual echo region:
然后,根据下式估算残余回波的当前LSFecho(i)值:Then, the current LSF echo (i) value of the residual echo is estimated according to the following formula:
LSFecho(i)=P(i)·LSFRx(i),i=0,1,…,M-1 (8)LSF echo (i) = P(i) · LSF Rx (i), i = 0, 1, ..., M-1 (8)
其中,LSFRx(i)是Rx信号的当前线性谱频。where LSF Rx (i) is the current linear spectral frequency of the Rx signal.
·LPC预测因子A1(z)和A2(z)分别由LSF1(i)和LSF2(i)换算而来,这里i=0,1,…,M-1。LSF1(i)和LSF2(i)的估算都是基于LSFTx(i)的修改。修改主要受LSFecho(i)、LSFnois(i)、NSR,以及RSR的影响。举例来说,LSF1(i)和LSF2(i)的构成可用如下所示方式:·LPC predictors A 1 (z) and A 2 (z) are converted from LSF 1 (i) and LSF 2 (i) respectively, where i=0, 1, . . . , M-1. Both LSF 1 (i) and LSF 2 (i) estimates are based on modifications of LSF Tx (i). The modification is mainly affected by LSF echo (i), LSF noise (i), NSR, and RSR. For example, LSF 1 (i) and LSF 2 (i) can be formed as follows:
LSF1(i)=λ1·LSFTx(i)+β·LSFecho(i)+α·LSFnois(i),LSF 1 (i) = λ 1 LSF Tx (i) + β LSF echo (i) + α LSF noise (i),
i=0,1,....,M-1 (9)i=0,1,....,M-1 (9)
LSF2(i)=λ2·[LSFTx(i)-β·LSFecho(i)-α·LSFnois(i)],LSF 2 (i)=λ 2 ·[LSF Tx (i)-β·LSF echo (i)-α·LSF noise (i)],
i=0,1,....,M-1 (10)i=0,1,....,M-1 (10)
其中:in:
β=Cβ·RSR, (11)β = C β RSR, (11)
α=Cα·NSR,(12)α=C α NSR, (12)
Cα和Cβ均为常数;它们的值均大于0但远远小于1。λ1和λ2根据以下方式确定:Both C α and C β are constants; their values are both greater than 0 but much less than 1. λ 1 and λ 2 are determined in the following way:
λ1=1-β-α,(13)λ 1 =1-β-α, (13)
·EC滤波发散保护指的是避免在回波消除器和回波抑制器后的Tx信号电平大于回波消除器之前的电平(注名为Tx1信号)。可以通过对等式(1)中的两个增益因子Cn和Cr进行简单的调整方式来确保回波抑制器的输出能量小于或等于Tx1信号的能量。· EC filtering divergence protection refers to avoiding the Tx signal level after the echo canceller and the echo suppressor to be greater than the level before the echo canceller (remarked as Tx1 signal). It can be ensured that the output energy of the echo suppressor is less than or equal to the energy of the Tx1 signal by simply adjusting the two gain factors C n and C r in equation (1).
本发明在不偏离本质的前提下,可以延伸到其他一些特定形式并加以应用。本文中的具体实例仅作为本发明的示范,且本发明不局限于这些范例。以上内容只是对本发明的一些说明,而下文权利要求则是本发明的根本内容。下述各项权利要求包含与其等效范围内的各种解释和变更。The present invention can be extended to some other specific forms and applied on the premise of not departing from the essence. The specific examples herein are merely exemplary of the present invention, and the present invention is not limited to these examples. The above contents are only some illustrations of the present invention, and the following claims are the essential contents of the present invention. The following claims include various interpretations and changes within the scope of equivalents thereto.
Claims (9)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US87717406P | 2006-12-26 | 2006-12-26 | |
US60/877,174 | 2006-12-26 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101286763A true CN101286763A (en) | 2008-10-15 |
CN101286763B CN101286763B (en) | 2012-12-12 |
Family
ID=40058759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710194274 Expired - Fee Related CN101286763B (en) | 2006-12-26 | 2007-12-12 | Effective echo suppressor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101286763B (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6160886A (en) * | 1996-12-31 | 2000-12-12 | Ericsson Inc. | Methods and apparatus for improved echo suppression in communications systems |
-
2007
- 2007-12-12 CN CN 200710194274 patent/CN101286763B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101286763B (en) | 2012-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102065190B (en) | Method and device for eliminating echo | |
US7856097B2 (en) | Echo canceling apparatus, telephone set using the same, and echo canceling method | |
US7203308B2 (en) | Echo canceller ensuring further reduction in residual echo | |
KR100989266B1 (en) | Double talk detection method based on spectral acoustic characteristics | |
US8472616B1 (en) | Self calibration of envelope-based acoustic echo cancellation | |
US6792107B2 (en) | Double-talk detector suitable for a telephone-enabled PC | |
US9768829B2 (en) | Methods for processing audio signals and circuit arrangements therefor | |
US6269161B1 (en) | System and method for near-end talker detection by spectrum analysis | |
CN109716743B (en) | Full duplex voice communication system and method | |
CN102160296B (en) | Method and apparatus for detecting double talk | |
CN1917386B (en) | A detection method of double-talk state in echo cancellation | |
US8693678B2 (en) | Device and method for controlling damping of residual echo | |
CN104158990A (en) | Method for processing an audio signal and audio receiving circuit | |
IL112797A (en) | Doubletalk detection by means of spectral content | |
CN101345787A (en) | Signal processor and method for canceling echo in a communication device | |
WO2021114779A1 (en) | Echo cancellation method, apparatus, and system employing double-talk detection | |
US20090245502A1 (en) | Acoustic echo canceler | |
JP5086769B2 (en) | Loudspeaker | |
US8369511B2 (en) | Robust method of echo suppressor | |
JP4403776B2 (en) | Echo canceller | |
Yang | Multilayer adaptation based complex echo cancellation and voice enhancement | |
CN106297816B (en) | Echo cancellation nonlinear processing method and device and electronic equipment | |
JP2006067127A (en) | Method and apparatus of reducing reverberation | |
CN101286763B (en) | Effective echo suppressor | |
US7711107B1 (en) | Perceptual masking of residual echo |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: HUAWEI TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: GAO YANG Effective date: 20130121 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; TO: 518129 SHENZHEN, GUANGDONG PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20130121 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd. Address before: 26586 Vee E San Torini, California, USA Patentee before: Gao Yang |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121212 |