CN1937432A - Sound echo cancellation processing method based on optimized parameter predication - Google Patents
Sound echo cancellation processing method based on optimized parameter predication Download PDFInfo
- 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
- correlation
- 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
Links
- 238000003672 processing method Methods 0.000 title claims description 10
- 238000000034 method Methods 0.000 claims abstract description 19
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 4
- 230000008859 change Effects 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009897 systematic effect Effects 0.000 description 2
- 241000220317 Rosa Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005086 pumping Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
- Filters That Use Time-Delay Elements (AREA)
Abstract
The method utilizes a rigid self-adapting filter parameter iterative method, combines relativity parameters of signal in system and the change trend of iterative parameters to control the iterative parameters. Different from the usual method, it does not simply set parameters, but resets reasonably partial parameter values of filter to trace effectively the saltation of the echo path while ensures the stability of the system. The calculating quantity in this method is moderate. This method suits the modern DSP processor perfectly.
Description
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:
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):
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:
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:
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:
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, a kind of acoustic echo cancellation processing method based on the optimized parameter prediction is characterized in that this method may further comprise the steps:
(1) system initialization obtains reference signal and raw echo about filter;
(2) utilize sef-adapting filter estimated echo signal, and subtract each other the residual echo of the echo signal that obtains to comprise not filtering, near-end background noise and possible near-end voice residual echo signal with raw echo with it;
(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) obtain a series of parameters relevant according to top deduction and carry out the renewal of filter coefficient, and enter next cycle period with filter.
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)
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 |
-
2006
- 2006-09-30 CN CN200610096566.4A patent/CN1937432A/en active Pending
Cited By (9)
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 | |
de Souza et al. | A PNLMS algorithm with individual activation factors | |
US8954324B2 (en) | Multiple microphone voice activity detector | |
van Waterschoot et al. | Double-talk-robust prediction error identification algorithms for acoustic echo cancellation | |
US9036815B2 (en) | Method for acoustic echo cancellation and system thereof | |
CN104050971A (en) | Acoustic echo mitigating apparatus and method, audio processing apparatus, and voice communication terminal | |
CN101106405A (en) | Method for eliminating echo in echo eliminator and its dual end communication detection system | |
EP1783923B1 (en) | Double-talk detector for acoustic echo cancellation | |
SE533956C2 (en) | Device and method for controlling residual cushioning | |
CA2590201A1 (en) | Hearing aid with feedback model gain estimation | |
CN101217039B (en) | A method, system and device for echo elimination | |
EP2987314B1 (en) | Echo suppression | |
Chen et al. | Nonlinear adaptive filtering with kernel set-membership approach | |
CN105432062A (en) | Echo removal | |
Cho et al. | Stereo acoustic echo cancellation based on maximum likelihood estimation with inter-channel-correlated echo compensation | |
Lee et al. | Performance comparison of variable step-size NLMS algorithms | |
Yu et al. | An improved variable step-size NLMS algorithm based on a Versiera function | |
Loganathan et al. | Performance analysis of IPNLMS for identification of time-varying systems | |
CN101568058A (en) | Digital hearing aid echo path estimation method based on weighted subgradient projection | |
EP4131913A1 (en) | Acoustic echo cancellation using a control parameter | |
Loganathan et al. | A proportionate adaptive algorithm with variable partitioned block length for acoustic echo cancellation | |
WO2017080371A1 (en) | Method and device for improving adaptive learning of acoustic echo canceller | |
CN111883155A (en) | Echo cancellation method, device and storage medium |
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 |