CN1937432A - Sound echo cancellation processing method based on optimized parameter predication - Google Patents

Sound echo cancellation processing method based on optimized parameter predication Download PDF

Info

Publication number
CN1937432A
CN1937432A CN200610096566.4A CN200610096566A CN1937432A CN 1937432 A CN1937432 A CN 1937432A CN 200610096566 A CN200610096566 A CN 200610096566A CN 1937432 A CN1937432 A CN 1937432A
Authority
CN
China
Prior art keywords
echo
filter
parameter
condition
signal
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.)
Pending
Application number
CN200610096566.4A
Other languages
Chinese (zh)
Inventor
卢晶
陈锴
邱小军
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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN200610096566.4A priority Critical patent/CN1937432A/en
Publication of CN1937432A publication Critical patent/CN1937432A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Abstract

本发明公开了一种基于最优参数预测的声回声抵消处理方法,该方法利用了鲁棒性的自适应滤波参数迭代方法,并结合系统中信号的相关性参量以及迭代参数本身的变化趋势对迭代参数进行控制,控制方法不同于一般的系统,并不是简单的设置迭代参量,而是通过合理的重置部分滤波器系数值,从而达到在保证系统的稳定工作前提下,有效地追踪回声路径的跳变。这种方法的运算量适中,完全适用于现在的DSP处理器,具有很大的实用价值。

The invention discloses an acoustic echo cancellation processing method based on optimal parameter prediction, which utilizes a robust adaptive filtering parameter iteration method, and combines the correlation parameters of the signal in the system and the change trend of the iteration parameter itself Iterative parameters are used for control. The control method is different from the general system. It is not simply to set the iterative parameters, but to reset some filter coefficient values reasonably, so as to effectively track the echo path under the premise of ensuring the stable operation of the system. jump. This method has a moderate amount of computation and is fully applicable to the current DSP processors, which has great practical value.

Description

Acoustic echo cancellation processing method based on the optimized parameter prediction
One, technical field
The present invention relates to acoustic echo processing method in a kind of communication system, particularly a kind of acoustic echo cancellation processing method of effectively predicting based on optimized parameter.
Two, background technology
In recent years, along with the continuous development of mechanics of communication, and people are for the continuous increase of exchange way demand quickly and easily, and video conferencing system and voip technology have obtained application more and more widely.The existence that it is exactly acoustic echo that this class communication system has a very significant problem, promptly far-end speaker's sound can be transmitted back to far-end by the coupling between near-end speaker system and the microphone, has seriously influenced the speech quality of communication two party.
For addressing this problem, suppress acoustic echo effectively, existing lot of documents is discussed, most processing method all is based on classical NLMS algorithm structure, in conjunction with a state machine communication state is judged, when decision-making system is in both-end and speaks state and idle condition, stop the convergence of filter; When the judgement system was single-ended speaking, filter was normally restrained; When judgement is the echo path saltus step, adjusts the filter iterative parameter filter is restrained again.Such processing method has a very big problem to be: the performance of system is the operational process of dependent status machine too, in case erroneous judgement occurs, particularly both-end is spoken erroneous judgement during for the echo path saltus step, can cause the instability of system, even causes the appearance of uttering long and high-pitched sounds.
Three, summary of the invention
1, goal of the invention: the present invention provides a kind of system stability, can effectively suppress the acoustic echo cancellation processing method based on the optimized parameter prediction of acoustic echo.
2, technical scheme: acoustic echo cancellation processing method of the present invention may further comprise the steps:
(1) system initialization obtains reference signal and raw echo.Comprise given a series of parameter about filter, comprise filter order, filter initial value, correlation parameter initial value, iterative parameter initial value or the like, because the present invention can adjust according to actual conditions each parameter, so the influence that is provided with systematic function of initial parameter is not obvious especially, this also is one of advantage of the present invention.
(2) after obtaining reference signal and raw echo, utilize sef-adapting filter estimated echo signal, and subtract each other with it with raw echo and to obtain the residual echo signal, notice that the residual echo had here both comprised the echo signal of not filtering, also comprised near-end background noise and possible near-end voice.
(3) estimated value with true residual echo and actual speech output is optimized the filter iterative parameter, and judges that whether current this optimal value constantly descends than previous moment, if descend, is designated as condition one.
(4) if condition one satisfies, then estimate the correlation of residual echo signal and echo estimated signal, and judge that whether current this correlation constantly rises than previous moment, if rise, is designated as condition two with the correlation calculations formula.
(5) if condition one and condition two satisfy simultaneously, judge further then whether the correlation of current time is enough big, if enough big, then to part filter parameter assignment again, the size of assignment is proportional to the echo path gain.
(6) a series of relevant parameters of filter of following that obtain according to top deduction carry out the renewal of filter coefficient, and enter next cycle period.
The invention provides a kind of new acoustic echo cancellation processing method, this method no longer clearly makes a distinction adaptive-filtering module and state and module, but utilize a kind of adaptive iteration parameter setting method of robustness, in conjunction with effectively filter initial value design and replacement, reach the purpose of the acoustic echo counteracting that realizes stability and high efficiency.
The parameter iteration formula of general NLMS algorithm is as follows:
g ( k + 1 ) = g ( k ) + σ | | x ( k ) | | 2 e ( k ) x ( k )
Wherein x represents reference signal, and e represents error signal, and g represents filter coefficient.Though it is regular that iterative parameter has been undertaken by the power of reference signal, can avoid when reference signal is excessive system to disperse, iterative formula still has constant σ to exist.The system that how to guarantee under any circumstance can both guarantee stable and convergence fast, and this depends on the selection of σ to a great extent.In general, a fixing σ can not meet the demands certainly, how to allow σ optimize and revise (this means that σ has become variations per hour σ (k)) according to system running state, and many these problems of relevant documents are arranged.For the echo cancelltion system, reliable theoretical method is according to as follows: the optimal value of σ (k) is determined by formula (2):
σ opt ( k ) = E [ ϵ 2 ( k ) ] E [ e 2 ( k ) ] - - - ( 2 )
Wherein, ε (k) represents real residual echo, and e (k) then represents actual residual echo (comprising true residual echo and near-end background noise and possible near-end speech).The denominator of formula (2) obviously is the known quantity of system, but how molecule accurately estimates it is a problem.For steady pumping signal in short-term:
E [ ϵ 2 ( k ) ] = 1 N | | g ( k ) - h ( k ) | | 2 | | x ( k ) | | 2 - - - ( 3 )
Wherein g represents adaptive filter coefficient, and h is an echo path impulse response coefficient, and N is a filter order.Supposition on more rational engineering be each parameter of filter the disturbance quantity of iterative process middle distance optimal value be statistics uniformly.This means, if known a part of echo path transfer function optimal value, just could be according to the disturbance quantity of this part all filter coefficient of information inference.A method in the practicality is: artificially increase by one section time-delay to reference signal in the echo cancelltion system, the pairing echo path impulse response of this section time-delay is zero certainly so, sef-adapting filter parameter correspondingly itself is exactly a disturbance quantity, and formula (3) can obtain by following formula is approximate:
E [ ϵ 2 ( k ) ] = 1 N p | | g p ( k ) | | 2 x ( k ) | | 2 - - - ( 4 )
G wherein p(k) adaptive filter coefficient of expression delay number correspondence, N pThen represent time-delay length.Formula (3) also has an approximation method as follows: if sef-adapting filter exponent number long enough, then in general conference system, the parameter optimal value of sef-adapting filter end approaches zero, so we also can approach formula (3) by following formula:
E [ ϵ 2 ( k ) ] = 1 N ifc | | g ifc ( k ) | | 2 | | x ( k ) | | 2 - - - ( 5 )
G wherein Ifc(k) parameter value of expression filter end, N IfcRepresent corresponding exponent number.
Said method can be so that filter coefficient be in course of adjustment according to the parameter convergence situation, near-end background noise and near-end voice are reasonably regulated auto-adaptive parameter, when the generation both-end is spoken, because it is big that the denominator in the formula (2) obviously becomes, make the filter iterative parameter reduce rapidly like this, avoided dispersing of filter effectively.
For following the trail of the situation of change of echo path, the present invention does following processing: the first, and the correlation parameter R between error signal e and the echo estimated signal y EyThe second, not only use relevance threshold, and will utilize the variation tendency of correlation.Because when echo path changed, correlation rose certainly, and when both-end was spoken, correlation descended, the correlation rise and fall present random characteristic under remaining situation.Like this, reduce and correlation rising generation simultaneously as long as judge the filter iterative parameter, can assert that just variation has taken place echo path, for the accuracy of judging, also need to add the condition (here relevance threshold just assist parameter, optional leeway big) of correlation greater than certain threshold value.In case after determining that echo path takes place, just need to increase iterative parameter, the method for increase is consistent with the initial convergence method, promptly reset the value (time-delay corresponding parameters or the last some rank of filter parameter) of above-mentioned specific filter parameter.For the setting of filter parameter, can utilize existing R Ey, with reference signal power to normalization just can obtain reflecting and the parameter of echo path gain size by this parameter the filter segment parameter is set again.
3, beneficial effect: different with existing method, the present invention no longer to system single-ended speak, both-end is spoken, states such as background noise is excessive, echo path saltus step, free time are done clear and definite differentiation, but utilizing a kind of adaptive approach of robustness, the assurance system is stable when excessive and near-end has speaker's sound in near-end noise; When the echo path saltus step, the present invention has utilized the correlation information of signal in the change information of filter iteration step length and the system simultaneously, can realize the tracking of echo path exactly; In addition, when the iterative parameter of sef-adapting filter is set, utilize the gain of echo path to estimate, guaranteed the stability and high efficiency of system.
Four, description of drawings
Accompanying drawing is a theory diagram of the present invention.
Five, embodiment
The present invention is described in detail below by example:
As shown in the figure, system initialization comprises given a series of parameter about filter, comprise filter order, filter initial value, correlation parameter initial value, iterative parameter initial value or the like, because algorithm structure of the present invention all can be adjusted according to actual conditions each parameter, so the influence that is provided with systematic function of initial parameter is not obvious especially, this also is one of advantage of the present invention.
After obtaining reference signal and raw echo, utilize sef-adapting filter estimated echo signal, and subtract each other with it with raw echo and to obtain the residual echo signal, notice that the residual echo had here both comprised the echo signal of not filtering, also comprised near-end background noise and possible near-end voice.
The optimal value of the method estimation filter iterative parameter of being introduced with aforementioned formula (4), (5), and judge that whether current this optimal value constantly descends than previous moment, if descend, is designated as condition one.
Estimate the correlation (desirable multiply each other summation and normalization calculate in the practicality) of residual echo signal and echo estimated signal at 1024 with the correlation calculations formula, and judge whether current this correlation constantly rises than previous moment, if rise, be designated as condition two.
If condition one and condition two satisfy simultaneously, and the correlation of current time is also enough big, then to part filter parameter assignment again.The determination methods whether condition one, two satisfies simultaneously has a variety of, can select to be provided with the mode of indexed variable statistics summation in the practicality, and the increase of operand is very limited like this; Whether enough big condition is subsidiary conditions to correlation in addition, and the selection of threshold value has very big space, in the practicality desirable 0.5.
Again the assignment of filter segment parameter need be used the estimation of echo path gain, succinct on calculating, the echo path gain can be used aforesaid correlation calculations intermediate object program, i.e. 1024 the summed result that multiplies each other, with the Energy Estimation of reference signal to consolidation just can obtain reflecting the actual parameter A of echo path gain.The setting and the A/10 relation in direct ratio of practical median filter parameter.
The top deduction of last foundation obtains the relevant parameter of a series of very filters and carries out the renewal of filter coefficient, enters next cycle period again.
By aforesaid description as can be known the operand of this new method increase seldom, the DSP that is fit to very much system realizes.The present invention has realized above-mentioned algorithm structure on ADSP21161N EZ-LITE plate, after tested, acoustic echo bucking-out system good stability based on this algorithm structure, filter divergence in the time of preventing effectively that excessive and both-end is spoken in near-end background noise, and can track the saltus step phenomenon of echo path effectively.

Claims (1)

1、一种基于最优参数预测的声回声抵消处理方法,其特征是该方法包括以下步骤:1. An acoustic echo cancellation processing method based on optimal parameter prediction, characterized in that the method comprises the following steps: (1)系统初始化,获取关于滤波器的参考信号和原始回声;(1) system initialization, obtain the reference signal and the original echo about the filter; (2)利用自适应滤波器估计回声信号,并用原始回声与之相减获得包括未滤除的回声信号、近端背景噪声、以及可能的近端说话声残留回声信号的残留回声;(2) Utilize the adaptive filter to estimate the echo signal, and subtract it from the original echo to obtain the residual echo including the unfiltered echo signal, the near-end background noise, and the possible near-end speech residual echo signal; (3)用真实残留回声和实际语音输出的估计值对滤波器迭代参数进行优化,并判断当前这一时刻的最优值较前一时刻是否下降,如果下降,记为条件一;(3) Optimize the filter iteration parameters with the estimated value of the real residual echo and the actual voice output, and judge whether the optimal value at the current moment is lower than that at the previous moment, if it is lower, record it as condition one; (4)如果条件一满足,则用相关性计算公式估计残留回声信号和回声估计信号的相关值,并判断当前这一时刻的相关值是否较前一时刻上升,如果上升,记为条件二;(4) If condition one is satisfied, then use the correlation calculation formula to estimate the correlation value of the residual echo signal and the echo estimation signal, and judge whether the correlation value at the current moment is higher than that at the previous moment, and if it rises, record it as condition two; (5)如果条件一和条件二同时满足,则进一步判断当前时刻的相关值是否足够大,如果足够大,则对部分滤波器参数重新赋值,赋值的大小正比于回声路径增益;(5) If condition one and condition two are satisfied at the same time, it is further judged whether the correlation value at the current moment is large enough, and if it is large enough, some filter parameters are reassigned, and the size of the assignment is proportional to the echo path gain; (6)依据上面的推断得到一系列与滤波器有关的参量进行滤波器系数的更新,并进入下一个循环周期。(6) Obtain a series of parameters related to the filter according to the above inference to update the filter coefficients, and enter the next cycle.
CN200610096566.4A 2006-09-30 2006-09-30 Sound echo cancellation processing method based on optimized parameter predication Pending CN1937432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610096566.4A CN1937432A (en) 2006-09-30 2006-09-30 Sound echo cancellation processing method based on optimized parameter predication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610096566.4A CN1937432A (en) 2006-09-30 2006-09-30 Sound echo cancellation processing method based on optimized parameter predication

Publications (1)

Publication Number Publication Date
CN1937432A true CN1937432A (en) 2007-03-28

Family

ID=37954752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610096566.4A Pending CN1937432A (en) 2006-09-30 2006-09-30 Sound echo cancellation processing method based on optimized parameter predication

Country Status (1)

Country Link
CN (1) CN1937432A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917527A (en) * 2010-09-02 2010-12-15 杭州华三通信技术有限公司 Method and device of echo elimination
CN102185991A (en) * 2011-03-01 2011-09-14 杭州华三通信技术有限公司 Echo cancellation method, system and device
CN101262530B (en) * 2008-04-29 2011-12-07 中兴通讯股份有限公司 A device for eliminating echo of mobile terminal
CN102427344A (en) * 2011-12-20 2012-04-25 上海电机学院 Noise elimination method and device
CN111970610A (en) * 2020-08-26 2020-11-20 展讯通信(上海)有限公司 Echo path detection method, audio signal processing method and system, storage medium and terminal
CN113362842A (en) * 2021-06-30 2021-09-07 北京小米移动软件有限公司 Audio signal processing method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262530B (en) * 2008-04-29 2011-12-07 中兴通讯股份有限公司 A device for eliminating echo of mobile terminal
CN101917527A (en) * 2010-09-02 2010-12-15 杭州华三通信技术有限公司 Method and device of echo elimination
CN101917527B (en) * 2010-09-02 2013-07-03 杭州华三通信技术有限公司 Method and device of echo elimination
CN102185991A (en) * 2011-03-01 2011-09-14 杭州华三通信技术有限公司 Echo cancellation method, system and device
CN102427344A (en) * 2011-12-20 2012-04-25 上海电机学院 Noise elimination method and device
CN111970610A (en) * 2020-08-26 2020-11-20 展讯通信(上海)有限公司 Echo path detection method, audio signal processing method and system, storage medium and terminal
CN111970610B (en) * 2020-08-26 2022-05-20 展讯通信(上海)有限公司 Echo path detection method, audio signal processing method and system, storage medium, and terminal
CN113362842A (en) * 2021-06-30 2021-09-07 北京小米移动软件有限公司 Audio signal processing method and device
CN113362842B (en) * 2021-06-30 2022-11-11 北京小米移动软件有限公司 Audio signal processing method and device

Similar Documents

Publication Publication Date Title
Deng et al. Proportionate adaptive algorithms for network echo cancellation
EP2327156B1 (en) Method for determining updated filter coefficients of an adaptive filter adapted by an lms algorithm with pre-whitening
CN1937432A (en) Sound echo cancellation processing method based on optimized parameter predication
CN101461257B (en) Adaptive acoustic echo cancellation
Górriz et al. A novel LMS algorithm applied to adaptive noise cancellation
van Waterschoot et al. Double-talk-robust prediction error identification algorithms for acoustic echo cancellation
Bernardi et al. Adaptive feedback cancellation using a partitioned-block frequency-domain Kalman filter approach with PEM-based signal prewhitening
SE533956C2 (en) Device and method for controlling residual cushioning
CN105391879A (en) Echo residue-free double-end communication robust acoustic echo elimination method
CN101217039B (en) A method, system and device for echo elimination
Chen et al. Nonlinear adaptive filtering with kernel set-membership approach
CA2590201A1 (en) Hearing aid with feedback model gain estimation
CN105324981A (en) Echo suppression
CN105432062A (en) Echo removal
Cho et al. Stereo acoustic echo cancellation based on maximum likelihood estimation with inter-channel-correlated echo compensation
Ding Fast affine projection adaptation algorithms with stable and robust symmetric linear system slovers
Lee et al. Performance comparison of variable step-size NLMS algorithms
Zhang et al. Generative Adversarial Network Based Acoustic Echo Cancellation.
CN111883155A (en) Echo cancellation method, device and storage medium
CN101568058A (en) Digital hearing aid echo path estimation method based on weighted subgradient projection
CN112201269A (en) MMSE-LSA speech enhancement method based on improved noise estimation
Shin et al. An affine projection algorithm with update-interval selection
Loganathan et al. A proportionate adaptive algorithm with variable partitioned block length for acoustic echo cancellation
Lindstrom et al. An improvement of the two-path algorithm transfer logic for acoustic echo cancellation
An et al. Normalized combinations of proportionate affine projection sign subband adaptive filter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20070328