[go: up one dir, main page]

CN114400016B - Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation - Google Patents

Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation Download PDF

Info

Publication number
CN114400016B
CN114400016B CN202210069065.6A CN202210069065A CN114400016B CN 114400016 B CN114400016 B CN 114400016B CN 202210069065 A CN202210069065 A CN 202210069065A CN 114400016 B CN114400016 B CN 114400016B
Authority
CN
China
Prior art keywords
signal
time
calculate
decorrelated
decorrelation
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.)
Active
Application number
CN202210069065.6A
Other languages
Chinese (zh)
Other versions
CN114400016A (en
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.)
Southwest University of Science and Technology
Original Assignee
Southwest University of Science and Technology
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 Southwest University of Science and Technology filed Critical Southwest University of Science and Technology
Priority to CN202210069065.6A priority Critical patent/CN114400016B/en
Publication of CN114400016A publication Critical patent/CN114400016A/en
Application granted granted Critical
Publication of CN114400016B publication Critical patent/CN114400016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0272Voice signal separating
    • G10L21/0308Voice signal separating characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/06Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being correlation coefficients
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L2021/02082Noise filtering the noise being echo, reverberation of the speech

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Abstract

本发明公开了一种基于自适应解相关和变步长成比例M估计的回声消除方法,包括以下步骤:A、信号获取;B、根据语音信号采样和期望信号采样结果,计算解相关系数向量C、计算解相关后的输入向量xD(n)和解相关后的期望信号dD(n);D、计算自适应滤波器的输出y(n)和解相关后的自适应滤波器输出yD(n);E、计算误差信号e(n)及解相关后的误差信号eD(n);F、计算成比例矩阵G(n);G、计算M估计中用于迭代的稳健解相关后的误差信号H、计算步长参数μ(n);I、更新自适应滤波器的抽头权向量,并进入下一时刻的处理。本发明对冲击噪声有好的鲁棒性外,还具有收敛速度快、稳态误差好的优点。

The present invention discloses an echo cancellation method based on adaptive decorrelation and variable step-size proportional M estimation, comprising the following steps: A. signal acquisition; B. calculating the decorrelation coefficient vector according to the sampling results of the speech signal and the expected signal; C. Calculate the decorrelated input vector x D (n) and the decorrelated expected signal d D (n); D. Calculate the output y (n) of the adaptive filter and the decorrelated adaptive filter output y D (n); E. Calculate the error signal e (n) and the decorrelated error signal e D (n); F. Calculate the proportional matrix G (n); G. Calculate the error signal after robust decorrelation for iteration in M estimation H. Calculate the step size parameter μ(n); I. Update the tap weight vector of the adaptive filter and enter the processing at the next moment. The present invention has good robustness to impact noise, and also has the advantages of fast convergence speed and good steady-state error.

Description

Echo cancellation method based on adaptive decorrelation and variable step length proportional M estimation
Technical Field
The invention belongs to the technical field of self-adaptive echo cancellation of voice communication, and particularly relates to an echo cancellation method based on self-adaptive decorrelation and variable step length proportional M estimation.
Background
Acoustic echo is unavoidable in voice communication where both microphone and speaker are required. The sound of the far-end speaker is played through the near-end speaker, is directly or indirectly received by the near-end microphone, and is transmitted back to the far-end, so that the far-end speaker hears own delayed sound, namely acoustic echo. The path of sound propagation from the speaker to the microphone is called the echo path and its impulse response vector is denoted w o. The impulse response of an acoustic echo path tends to be sparse, i.e., most of the elements of w o are zero or near zero, with a few of the elements having a large amplitude. Acoustic echo is the most dominant factor affecting voice call quality.
Currently, in order to cancel echo, the most internationally recognized adaptive echo cancellation technique is the most effective. In essence, adaptive voice echo cancellation is also a problem of identifying the impulse response of the echo path, i.e. the adaptive filter can adjust the weight of the adaptive filter (which is also the estimated value of the impulse response of the echo path) according to the change of the environment, obtain the estimated value of the voice echo (the output signal of the adaptive filter), then subtract the estimated value from the signal received by the near-end microphone, obtain a clean signal and transmit it to the far-end, so as to achieve the purpose of eliminating the echo. Therefore, it is a critical issue to design an adaptive filter algorithm with excellent performance. Because of the sparsity of the echo path impulse response, the proportional least mean square (Proportional Normalized LEAST MEAN square, PNLMS) algorithm has a faster convergence speed than the Normalized LEAST MEAN square, NLMS algorithm. This is because PNLMS algorithm can utilize the prior condition of channel sparseness to allocate more gains to the filter coefficients with large amplitude to achieve rapid convergence, thereby improving the overall convergence speed of the algorithm.
In actual conversation, however, the speech signal often encounters the effects of impulse noise. In this case, the PNLMS algorithm performance may be degraded or even diverge. Based on Normalized LEAST MEAN M-estimate (NLMM) algorithm, huang Zhangliang combines PNLMS algorithm, and adopts improved Huber norm to obtain a class of proportional Normalized minimum mean M-estimated (Proportionate Normalized LEAST MEAN M-estimate, PNLMM) algorithm which has better resistance to impact noise "Huang Zhangliang. However, since the speech signal is a highly correlated and non-stationary signal, and the PNLMM algorithm does not have decorrelation capability. Therefore, in speech echo cancellation, the convergence speed of PNLMM algorithm is not ideal. On the other hand, PNLMM algorithm adopts fixed step length, so that there is a contradiction between convergence speed and convergence level, namely, the step length is large, the steady state of algorithm is poor, the convergence speed is fast, otherwise, the step length is small, the convergence speed of algorithm is slow, and the convergence level is good.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an echo cancellation method based on self-adaptive decorrelation and variable step length proportional M estimation, which has strong decorrelation capability on voice signals, high convergence speed, good robustness and good echo cancellation effect.
The invention aims at realizing the echo cancellation method based on self-adaptive decorrelation and variable step length proportional M estimation, which comprises the following steps:
A. Signal acquisition
Sampling a voice signal transmitted from a far end and played through a near-end loudspeaker to obtain a far-end sound signal discrete value x (n) of the current moment n, and simultaneously sampling a desired signal collected by a near-end microphone to obtain a desired signal discrete value d (n) of the current moment n (wherein d (n) comprises an echo signal and interference noise);
B. calculating a decorrelation coefficient vector
And B1, forming a self-adaptive decorrelation input vector u (n) of the current moment n by using the value of the far-end sound signal discrete value x (n) obtained in the step A at the moment from n-1 to n-K, wherein u (n) = [ x (n-1) x (n-2) ] T, wherein the superscript T represents the transposed operation of the vector, K represents the decorrelation order, and K is more than or equal to 1. As the K value increases, the convergence speed of the algorithm increases, but the steady state becomes worse;
B2, calculating an adaptive decorrelation error signal e xd (n) at the current time n, Wherein the method comprises the steps ofThe length of the tap weight vector of the self-adaptive decorrelator at the moment n-1 is equal to K, and the initial value is zero vector;
b3, updating the self-adaptive decorrelation coefficient vector at the time n The calculation formula is as follows:
Wherein mu a is the decorrelation step length, and the value range is more than or equal to 0.001 and less than or equal to mu a and less than or equal to 0.05;
C. calculating the decorrelated input vector x D (n) and the decorrelated desired signal d D (n)
C1, calculating the decorrelated input signal x D (n) at the current time n,Using the value of the decorrelated input signal x D (n) from time n to time n-l+1 to form a decorrelated input vector x D(n),xD(n)=[xD(n) xD(n-1) … xD(n-L+1)]T at the current time n, where L is the number of adaptive filter taps, and in acoustic echo cancellation, l=512 or 1024 is often taken;
C2, using the values of the discrete values d (n) of the desired signal obtained in the step A from the time n-1 to the time n-K to form a decorrelated desired vector d (n) of the current time n, d (n) = [ d (n-1) d (n-2.. D (n-K) ] T, calculating a decorrelated desired signal d D (n) of the current time n,
D. Calculating an output y (n) of the adaptive filter and a decorrelated adaptive filter output y D (n)
D1, using the value of the far-end sound signal discrete value x (n) obtained in the step a from the time n to the time n-l+1 to form an input vector x (n) of the current time n, wherein x (n) = [ x (n) x (n-1) & x (n-l+1) ] T, calculating an output signal y (n) of the adaptive filter of the current time n, y (n) = w T (n) x (n), wherein w (n) = [ w 1(n) w2(n) … wL(n)]T ] is a tap weight vector of the adaptive filter of the time n, the length is equal to L, and the initial value is zero vector;
d2, calculating the self-adaptive filter output y D(n),yD(n)=wT(n)xD (n) after the decorrelation of the current moment n by using the input vector x D (n) after the decorrelation of the current moment n in the step C1;
E. calculating an error signal e (n) and a de-correlated error signal e D (n)
E1, subtracting the near-end expected signal D (n) of the current moment n obtained in the step A from the adaptive filter output signal y (n) obtained in the step D1 to obtain an error signal E (n) of the moment n, namely E (n) =d (n) -y (n), and transmitting the E (n) as a clean signal after echo cancellation to a far-end, so that a far-end speaker cannot hear the previous sound of the far-end speaker, and the purpose of echo cancellation is achieved;
E2, subtracting the output y D (n) of the self-adaptive filter after the decorrelation obtained in the step D2 from the expected signal D D (n) after the decorrelation of the current time n obtained in the step C2 to obtain an error signal E D (n) after the decorrelation of the time n, namely E D(n)=dD(n)-yD (n);
F. calculating a proportional matrix G (n)
The proportional matrix G (n) is a pair of corner matrices G (n) =diag [ G 1(n) g2(n) … gL (n) ], where the p-th diagonal element G p (n) of the current time n is represented byCalculating, wherein p is more than or equal to 1 and less than or equal to L, wherein kappa is always 0 or-0.5 or-0.75, |·| 1 represents the 1-norm of the vector;
G. computing a robust decorrelated error signal for iteration in M-estimation
G1, square of the de-correlated error signal E D (n) at time n obtained in step E2The values from time N to time N-N w +1 constitute the de-correlated error estimate sample a e (N) at the current time,Wherein N w is the error estimated sample length after the selected decorrelation;
Calculating a decorrelated error variable σ 2(n),σ2(n)=λσ2(n-1)+C(1-λ)med(Ae (N) free of impact interference, wherein the initial value of σ 2 (N) is zero, λ forgetting factor, and 0< < λ <1, c=2.2 [ 1+5/(N w+1)]2, med ()) is the median operator;
The calculation formula of the error signal threshold value parameter xi after the decorrelation is that xi= 2.576 σ 2 (n);
g2, robust decorrelated error signal The calculation formula of (2) is as follows:
H. Calculating step size parameter mu (n)
H1, the error signal after robust decorrelation according to step G2Calculating the mean square robust error at time nWherein χ is a forgetting factor, and 0< < χ <1;
H2 calculating the mean square error of the decorrelated input signal at time n from the decorrelated input signal x D (n) obtained in step C1
Computing a decorrelated input signal vector x D (n) and a robust error signal at time nIs a related parameter r (n),
Calculating the excess mean square error of time n
H3, calculating the value of the step parameter mu (n) at the time n,
I. updating the tap weight vector of the adaptive filter, and entering the next time processing:
the tap weight vector w (n + 1) of the adaptive filter at the next instant n +1 is calculated,
Let n=n+1, repeat A, B, C, D, E, F, G, H, I steps until the call ends.
The invention has the beneficial effects that the remote sound and the expected signal are subjected to de-correlation processing by utilizing a self-adaptive de-correlation method to obtain de-correlated sound and expected signal, and then the de-correlated sound and expected signal are sent to a self-adaptive filter for self-adaptive processing; the invention greatly reduces the calculation complexity of the algorithm for carrying out high-order decorrelation by adjusting the direct decorrelation into the self-adaptive decorrelation, shortens the time for carrying out decorrelation processing on the acquired signals, and shortens the overall operation time of the algorithm, on the other hand, the invention deduces the optimal formula of the step length by utilizing the fastest gradient descent method through minimizing posterior error, realizes the step length in the initial iteration, and the algorithm obtains rapid convergence, and then the step length gradually reduces along with the iteration, thereby obtaining better steady state.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
Fig. 2 is an impulse response of an echo path in a simulation experiment.
Fig. 3 is a far-end speech signal and a near-end desired signal in a simulation experiment.
Fig. 4 is a plot of the algorithm PNLMS, PNLMM and the detuning of the 1 st implementation of the invention.
Fig. 5 is a clean signal obtained by subtracting an estimated desire from an estimated desired signal and a near-end desired signal obtained by filtering a far-end speech signal using an estimated echo path impulse response. .
Detailed Description
The technical solution of the present invention will be described in further detail with reference to the accompanying drawings, but the scope of the present invention is not limited to the following description.
As shown in fig. 1, the echo cancellation method based on adaptive decorrelation and variable step size proportional M estimation comprises the following steps:
A. Signal acquisition
Sampling a voice signal transmitted from a far end and played through a near-end loudspeaker to obtain a far-end sound signal discrete value x (n) of the current moment n, and simultaneously sampling a desired signal collected by a near-end microphone to obtain a desired signal discrete value d (n) of the current moment n (wherein d (n) comprises an echo signal and interference noise);
B. calculating a decorrelation coefficient vector
And B1, forming a self-adaptive decorrelation input vector u (n) of the current moment n by using the value of the far-end sound signal discrete value x (n) obtained in the step A at the moment from n-1 to n-K, wherein u (n) = [ x (n-1) x (n-2) ] T, wherein the superscript T represents the transposed operation of the vector, K represents the decorrelation order, and K is more than or equal to 1. As the K value increases, the convergence speed of the algorithm increases, but the steady state becomes worse;
B2, calculating an adaptive decorrelation error signal e xd (n) at the current time n, Wherein the method comprises the steps ofThe length of the tap weight vector of the self-adaptive decorrelator at the moment n-1 is equal to K, and the initial value is zero vector;
b3, updating the self-adaptive decorrelation coefficient vector at the time n The calculation formula is as follows:
Wherein mu a is the decorrelation step length, and the value range is more than or equal to 0.001 and less than or equal to mu a and less than or equal to 0.05;
C. calculating the decorrelated input vector x D (n) and the decorrelated desired signal d D (n)
C1, calculating the decorrelated input signal x D (n) at the current time n,Using the value of the decorrelated input signal x D (n) from time n to time n-l+1 to form a decorrelated input vector x D(n),xD(n)=[xD(n) xD(n-1) … xD(n-L+1)]T at the current time n, where L is the number of adaptive filter taps, and in acoustic echo cancellation, l=512 or 1024 is often taken;
C2, using the values of the discrete values d (n) of the desired signal obtained in the step A from the time n-1 to the time n-K to form a decorrelated desired vector d (n) of the current time n, d (n) = [ d (n-1) d (n-2.. D (n-K) ] T, calculating a decorrelated desired signal d D (n) of the current time n,
D. Calculating an output y (n) of the adaptive filter and a decorrelated adaptive filter output y D (n)
D1, using the value of the far-end sound signal discrete value x (n) obtained in the step a from the time n to the time n-l+1 to form an input vector x (n) of the current time n, wherein x (n) = [ x (n) x (n-1) & x (n-l+1) ] T, calculating an output signal y (n) of the adaptive filter of the current time n, y (n) = w T (n) x (n), wherein w (n) = [ w 1(n) w2(n) … wL(n)]T ] is a tap weight vector of the adaptive filter of the time n, the length is equal to L, and the initial value is zero vector;
d2, calculating the self-adaptive filter output y D(n),yD(n)=wT(n)xD (n) after the decorrelation of the current moment n by using the input vector x D (n) after the decorrelation of the current moment n in the step C1;
E. calculating an error signal e (n) and a de-correlated error signal e D (n)
E1, subtracting the near-end expected signal D (n) of the current moment n obtained in the step A from the adaptive filter output signal y (n) obtained in the step D1 to obtain an error signal E (n) of the moment n, namely E (n) =d (n) -y (n), and transmitting the E (n) as a clean signal after echo cancellation to a far-end, so that a far-end speaker cannot hear the previous sound of the far-end speaker, and the purpose of echo cancellation is achieved;
E2, subtracting the output y D (n) of the self-adaptive filter after the decorrelation obtained in the step D2 from the expected signal D D (n) after the decorrelation of the current time n obtained in the step C2 to obtain an error signal E D (n) after the decorrelation of the time n, namely E D(n)=dD(n)-yD (n);
F. calculating a proportional matrix G (n)
The proportional matrix G (n) is a pair of corner matrices G (n) =diag [ G 1(n) g2(n) … gL (n) ], where the p-th diagonal element G p (n) of the current time n is represented byCalculating, wherein p is more than or equal to 1 and less than or equal to L, wherein kappa is always 0 or-0.5 or-0.75, |·| 1 represents the 1-norm of the vector;
G. computing a robust decorrelated error signal for iteration in M-estimation
G1, square of the de-correlated error signal E D (n) at time n obtained in step E2The values from time N to time N-N w +1 constitute the de-correlated error estimate sample a e (N) at the current time,Wherein N w is the error estimated sample length after the selected decorrelation;
Calculating a decorrelated error variable σ 2(n),σ2(n)=λσ2(n-1)+C(1-λ)med(Ae (N) free of impact interference, wherein the initial value of σ 2 (N) is zero, λ forgetting factor, and 0< < λ <1, c=2.2 [ 1+5/(N w+1)]2, med ()) is the median operator;
The calculation formula of the error signal threshold value parameter xi after the decorrelation is that xi= 2.576 σ 2 (n);
g2, robust decorrelated error signal The calculation formula of (2) is as follows:
H. Calculating step size parameter mu (n)
H1, the error signal after robust decorrelation according to step G2Calculating the mean square robust error at time nWherein χ is a forgetting factor, and 0< < χ <1;
H2 calculating the mean square error of the decorrelated input signal at time n from the decorrelated input signal x D (n) obtained in step C1
Computing a decorrelated input signal vector x D (n) and a robust error signal at time nIs a related parameter r (n),
Calculating the excess mean square error of time n
H3, calculating the value of the step parameter mu (n) at the time n,
I. updating the tap weight vector of the adaptive filter, and entering the next moment of processing;
the tap weight vector w (n + 1) of the adaptive filter at the next instant n +1 is calculated,
Let n=n+1, repeat A, B, C, D, E, F, G, H, I steps until the call ends.
In an embodiment of the present application, to verify the effectiveness of the present application, simulation experiments were performed and compared with algorithms PNLMS and PNLMM in voice calls under impulse noise conditions.
1. Simulation conditions
The impulse response w o of the echo path was collected in a quiet, closed room having a height of 2.5m, a width of 3.75m, a length of 6.25m, a temperature of 20 ℃, and a humidity of 50%, and a length L of 512, as shown in fig. 1. The far-end speech signal x (n) and the near-end desired signal are shown in fig. 2. The near-end microphone receives the desired signal d (n) and can be obtained by calculating the formula d (n) =x T(n)wo +v (n), wherein the observed noise v (n) is alpha stationary noise, the characteristic function is phi (t) =exp (-gamma|t| α), wherein alpha epsilon (0, 2) controls the characteristic index of the noise pulse characteristics, and gamma >0 represents the dispersion degree of the noiseIn decibels) was used to evaluate the performance of each method. The values of the parameters of these algorithms are shown in table 1 for fair comparison.
Table 1 parameter values for each algorithm
Algorithm Parameter value
PNLMS μ=0.1,κ=-0.75
PNLMM μ=0.1&μ=0.5,Nw=16,λ=0.98,κ=-0.75
The invention is that Nw=20,λ=0.98,χ=0.999,μa=0.01,κ=-0.75,K=1
Fig. 2 is an impulse response of an echo path, and fig. 3 is a collected signal, (a) a far-end speech signal, and (b) an echo signal in a near-end desired signal. Fig. 4 is a plot of the algorithm PNLMS, PNLMM and the offset for a 1-degree implementation of the invention. As can be seen from fig. 3, the curve of algorithm PNLMS has a large number of peaks under the impact noise, and particularly, a maximum peak appears before and after time n is 8 ten thousand, whereas the curves of PNLMM and the present invention have no peak. This illustrates that the present invention and PNLMM algorithm have good robustness to impulse noise. In addition, it can be seen from the figure that the present invention has a faster convergence speed and steady-state level relative to PNLMS algorithm and PNLMM algorithm. In fig. 5, (a) is an estimated desired signal obtained by filtering a far-end speech signal using an estimated unknown echo path impulse response, and (b) is a clean signal obtained by subtracting the estimated desired signal from an echo signal in a near-end desired signal.
While the foregoing description illustrates and describes a preferred embodiment of the present invention, it is to be understood that the invention is not limited to the form disclosed herein, but is not to be construed as limited to other embodiments, but is capable of use in various other combinations, modifications and environments and is capable of changes or modifications within the spirit of the invention described herein, either as a result of the foregoing teachings or as a result of the knowledge or skill of the relevant art. And that modifications and variations which do not depart from the spirit and scope of the invention are intended to be within the scope of the appended claims.

Claims (3)

1.基于自适应解相关和变步长成比例M估计的回声消除方法,其特征在于:包括以下步骤:1. An echo cancellation method based on adaptive decorrelation and variable step-size proportional M estimation, characterized in that it comprises the following steps: A、信号获取:对远端传来经由近端扬声器播放的语音信号采样,得到当前时刻n的远端声音信号离散值x(n),同时对近端麦克风收集到的期望信号采样,得到当前时刻n的期望信号离散值d(n),其中d(n)包含回声信号和干扰噪声;A. Signal acquisition: Sample the voice signal from the far end and played through the near-end speaker to obtain the discrete value x(n) of the far-end sound signal at the current time n. At the same time, sample the expected signal collected by the near-end microphone to obtain the discrete value d(n) of the expected signal at the current time n, where d(n) includes the echo signal and interference noise; B、根据语音信号采样和期望信号采样结果,计算解相关系数向量 B. Calculate the decorrelation coefficient vector based on the speech signal sampling and the expected signal sampling results 所述步骤B包括以下子步骤:The step B comprises the following sub-steps: B1、将步骤A获取的远端声音信号离散值x(n)在n-1到n-K时刻的值构成当前时刻n的自适应解相关输入向量u(n),u(n)=[x(n-1) x(n-2) … x(n-K)]T,其中,上标T代表向量的转置运算,K表示解相关阶数,K≥1,随着K值增大,算法的收敛速度会加快,但稳态会变差;B1. The values of the discrete values of the far-end sound signal x(n) obtained in step A at the time n-1 to nK constitute the adaptive decorrelation input vector u(n) at the current time n, u(n) = [x(n-1) x(n-2) … x(nK)] T , where the superscript T represents the transpose operation of the vector, K represents the decorrelation order, K ≥ 1, and as the value of K increases, the convergence speed of the algorithm will be faster, but the steady state will deteriorate; B2、计算当前时刻n的自适应解相关的误差信号exd(n),其中为n-1时刻自适应解相关器的抽头权向量,其长度等于K,初始值为零向量;B2. Calculate the adaptive decorrelation error signal e xd (n) at the current time n, in is the tap weight vector of the adaptive decorrelator at time n-1, its length is equal to K, and its initial value is a zero vector; B3、更新n时刻的自适应解相关系数向量其计算公式为:B3. Update the adaptive decorrelation coefficient vector at time n The calculation formula is: 其中μa是解相关步长,取值范围为0.001≤μa≤0.05;Where μ a is the decorrelation step size, and its value range is 0.001≤μ a ≤0.05; C、计算解相关后的输入向量xD(n)和解相关后的期望信号dD(n);C. Calculate the decorrelated input vector x D (n) and the decorrelated expected signal d D (n); 所述步骤C包括以下子步骤:The step C comprises the following sub-steps: C1、计算当前时刻n的解相关后的输入信号xD(n),使用解相关后的输入信号xD(n)在时刻n到时刻nL+1的值构成当前时刻n的解相关后的输入向量xD(n),xD(n)=[xD(n) xD(n-1) … xD(n-L+1)]T,其中L为自适应滤波器抽头数;C1. Calculate the decorrelated input signal x D (n) at the current time n. The decorrelated input signal x D (n) is used to construct the decorrelated input vector x D (n) at the current time n using the values of the decorrelated input signal x D (n) from time n to time nL+1, x D (n) = [x D (n) x D (n-1) … x D (n-L+1)] T , where L is the number of taps of the adaptive filter; C2、使用步骤A获取的期望信号离散值d(n)在时刻n-1到时刻n-K的值构成当前时刻n的解相关期望向量d(n),d(n)=[d(n-1) d(n-2) … d(n-K)]T;计算当前时刻n的解相关后的期望信号dD(n), C2. Use the values of the expected signal discrete values d(n) obtained in step A from time n-1 to time nK to form the decorrelation expected vector d(n) at the current time n, d(n) = [d(n-1) d(n-2) ... d(nK)] T ; calculate the decorrelation expected signal d D (n) at the current time n, D、计算自适应滤波器的输出y(n)和解相关后的自适应滤波器输出yD(n);D. Calculate the output y(n) of the adaptive filter and the decorrelated output yD (n) of the adaptive filter; 所述步骤D包括以下子步骤:Described step D comprises the following sub-steps: D1、使用步骤A获取到的远端声音信号离散值x(n)在时刻n到时刻n-L+1的值构成当前时刻n的输入向量x(n),x(n)=[x(n) x(n1) … x(nL+1)]T,计算当前时刻n的自适应滤波器的输出信号y(n),y(n)=wT(n)x(n),其中,w(n)=[w1(n) w2(n) … wL(n)]T为n时刻的自适应滤波器的抽头权向量,其长度等于L,初始值为零向量;D1. Use the values of the far-end sound signal discrete values x(n) obtained in step A from time n to time n-L+1 to form the input vector x(n) at the current time n, x(n)=[x(n) x(n1) … x(nL+1)] T , and calculate the output signal y(n) of the adaptive filter at the current time n, y(n)=w T (n)x(n), where w(n)=[w 1 (n) w 2 (n) … w L (n)] T is the tap weight vector of the adaptive filter at time n, whose length is equal to L, and whose initial value is a zero vector; D2、使用步骤C1中当前时刻n的解相关后的输入向量xD(n),计算当前时刻n的解相关后的自适应滤波器输出yD(n),yD(n)=wT(n)xD(n);D2, using the decorrelated input vector x D (n) at the current time n in step C1, calculate the decorrelated adaptive filter output y D (n) at the current time n, y D (n) = w T (n) x D (n); E、计算误差信号e(n)及解相关后的误差信号eD(n);E. Calculate the error signal e(n) and the decorrelated error signal eD (n); e(n)=d(n)-y(n);e(n)=d(n)-y(n); eD(n)=dD(n)-yD(n);e D (n) = d D (n) - y D (n); F、计算成比例矩阵G(n);F. Calculate the proportional matrix G(n); 比例矩阵G(n)为一对角矩阵G(n)=diag[g1(n) g2(n) … gL(n)],其中当前时刻n的第p个对角元素gp(n)由计算,1≤p≤L,其中κ常取0或-0.5或-0.75,||·||1代表求向量的1-范数;The proportional matrix G(n) is a diagonal matrix G(n)=diag[g 1 (n) g 2 (n) … g L (n)], where the p-th diagonal element g p (n) at the current time n is given by Calculate, 1≤p≤L, where κ is usually 0 or -0.5 or -0.75, and ||·|| 1 represents the 1-norm of the vector; G、计算M估计中用于迭代的稳健解相关后的误差信号 G. Calculate the error signal after robust decorrelation for iteration in M estimation G1、所述步骤G包括以下子步骤:G1. Step G includes the following sub-steps: 将n时刻的解相关后的误差信号eD(n)的平方在时刻n到时刻n-Nw+1的值构成当前时刻的解相关后的误差估计样本Ae(n),其中Nw为选取的解相关后的误差估计样本长度;The square of the decorrelated error signal e D (n) at time n The values from time n to time nN w +1 constitute the decorrelated error estimate samples A e (n) at the current time. Where Nw is the selected error estimation sample length after decorrelation; 计算免受冲击干扰的解相关后的误差变量σ2(n),σ2(n)=λσ2(n-1)+C(1-λ)med(Ae(n)),其中σ2(n)的初始值为零,λ遗忘因子,且0<<λ<1,C=2.2[1+5/(Nw+1)]2,med(·)为中值运算符;Calculate the decorrelated error variable σ 2 (n) free from shock interference, σ 2 (n) = λσ 2 (n-1) + C (1-λ) med (A e (n)), where the initial value of σ 2 (n) is zero, λ is the forgetting factor, and 0 << λ < 1, C = 2.2 [1 + 5 / (N w + 1)] 2 , med (·) is the median operator; G2、稳健解相关后的误差信号的计算式为: G2, error signal after robust decorrelation The calculation formula is: H、计算步长参数μ(n);H. Calculate the step size parameter μ(n); 所述步骤H包括以下子步骤:The step H comprises the following sub-steps: H1、根据误差信号计算时刻n的均方稳健误差 其中χ为遗忘因子,且0<<χ<1;H1, according to the error signal Calculate the mean square robust error at time n Where χ is the forgetting factor, and 0<<χ<1; H2、根据步骤C1中得到的解相关后的输入信号xD(n)计算时刻n的解相关后的输入信号的均方误差 H2. Calculate the mean square error of the decorrelated input signal x D (n) at time n based on the decorrelated input signal x D (n) obtained in step C1 计算时刻n的解相关后的输入信号向量xD(n)与稳健误差信号的相关参数r(n), Calculate the decorrelated input signal vector x D (n) and the robust error signal at time n The relevant parameters r(n), 计算时刻n的超额均方误差 Calculate the excess mean square error at time n H3、计算步长参数μ(n)在时刻n的值, H3. Calculate the value of the step size parameter μ(n) at time n, I、更新自适应滤波器的抽头权向量,并进入下一时刻的处理;I. Update the tap weight vector of the adaptive filter and enter the processing at the next moment; 根据当前时刻n计算下一时刻n+1的自适应滤波器的抽头权向量w(n+1),然后令n=n+1,重复A、B、C、D、E、F、G、H、I的步骤,直至通话结束。Calculate the tap weight vector w(n+1) of the adaptive filter at the next moment n+1 based on the current moment n, then set n=n+1 and repeat steps A, B, C, D, E, F, G, H, and I until the call ends. 2.根据权利要求1所述的基于自适应解相关和变步长成比例M估计的回声消除方法,其特征在于:所述步骤E包括以下子步骤:2. The echo cancellation method based on adaptive decorrelation and variable step-size proportional M estimation according to claim 1, characterized in that: the step E comprises the following sub-steps: E1、将步骤A中获取的当前时刻n的近端期望信号d(n)减去步骤D1中获取的自适应滤波器输出信号y(n),得到n时刻的误差信号e(n),即e(n)=d(n)-y(n),并将e(n)作为消除回声后的干净信号传送给远端,使得远端说话人听不到自己先前的声音,达到回声消除的目的;E1, subtract the adaptive filter output signal y(n) obtained in step D1 from the near-end expected signal d(n) at the current time n obtained in step A, and obtain the error signal e(n) at time n, that is, e(n)=d(n)-y(n), and transmit e(n) to the far-end as the clean signal after echo elimination, so that the far-end speaker cannot hear his previous voice, thereby achieving the purpose of echo elimination; E2、将步骤C2中获取的当前时刻n的解相关后的期望信号dD(n)减去步骤D2中获取的解相关后的自适应滤波器的输出yD(n),得到时刻n的解相关后的误差信号eD(n),即:E2. Subtract the decorrelated output y D (n) of the adaptive filter obtained in step D2 from the decorrelated expected signal d D (n) at the current time n obtained in step C2 to obtain the decorrelated error signal e D (n) at the time n, that is: eD(n)=dD(n)-yD(n)。e D (n) = d D (n) - y D (n). 3.根据权利要求1所述的基于自适应解相关和变步长成比例M估计的回声消除方法,其特征在于:步骤I中,根据当前时刻n计算下一时刻n+1的自适应滤波器的抽头权向量w(n+1),从而实现自适应滤波器的抽头权向量的更新:3. The echo cancellation method based on adaptive decorrelation and variable step-size proportional M estimation according to claim 1, characterized in that: in step I, the tap weight vector w(n+1) of the adaptive filter at the next time n+1 is calculated according to the current time n, so as to realize the updating of the tap weight vector of the adaptive filter: 然后令n=n+1,重复A、B、C、D、E、F、G、H、I的步骤,直至通话结束。Then set n=n+1 and repeat steps A, B, C, D, E, F, G, H, and I until the call is ended.
CN202210069065.6A 2022-01-21 2022-01-21 Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation Active CN114400016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210069065.6A CN114400016B (en) 2022-01-21 2022-01-21 Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210069065.6A CN114400016B (en) 2022-01-21 2022-01-21 Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation

Publications (2)

Publication Number Publication Date
CN114400016A CN114400016A (en) 2022-04-26
CN114400016B true CN114400016B (en) 2025-01-28

Family

ID=81233822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210069065.6A Active CN114400016B (en) 2022-01-21 2022-01-21 Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation

Country Status (1)

Country Link
CN (1) CN114400016B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117896467B (en) * 2024-03-14 2024-05-31 苏州大学 Echo cancellation method and system for stereo telephone communication

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144269A (en) * 2014-08-08 2014-11-12 西南交通大学 A Proportional Adaptive Telephone Echo Cancellation Method Based on Decorrelation
CN105788605A (en) * 2016-04-26 2016-07-20 西南交通大学 Affine projection symbol echo cancellation method based on orthogonal transformation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2824982B1 (en) * 2001-05-16 2003-07-04 France Telecom METHOD FOR ADAPTIVE CONTROL OF MULTI-CHANNEL ECHO CANCELLATION SYSTEM AND DEVICE FOR IMPLEMENTING THE METHOD
US7577248B2 (en) * 2004-06-25 2009-08-18 Texas Instruments Incorporated Method and apparatus for echo cancellation, digit filter adaptation, automatic gain control and echo suppression utilizing block least mean squares
CN109040499B (en) * 2018-08-14 2020-12-01 西南交通大学 An Adaptive Echo Cancellation Method Against Shock Interference

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144269A (en) * 2014-08-08 2014-11-12 西南交通大学 A Proportional Adaptive Telephone Echo Cancellation Method Based on Decorrelation
CN105788605A (en) * 2016-04-26 2016-07-20 西南交通大学 Affine projection symbol echo cancellation method based on orthogonal transformation

Also Published As

Publication number Publication date
CN114400016A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN105391879B (en) A kind of acoustic echo removing method of echoless residual dual end communication robust
CN113870881B (en) Robust Ha Mosi tam sub-band spline self-adaptive echo cancellation method
CN113873090B (en) Robust estimation affine projection spline self-adaptive echo cancellation method
CN103369162B (en) A kind of listener&#39;s echo self adaptive elimination method of low complex degree
Thenua et al. Simulation and performance analysis of adaptive filter in noise cancellation
CN104601837B (en) A kind of robust convex combination self adaptation listener&#39;s echo removing method
CN104144269B (en) A kind of proportional self adaptation listener&#39;s echo removing method based on decorrelation
CN110572525B (en) An adaptive communication echo cancellation method for voice communication
CN107105111B (en) A kind of proportional affine projection echo cancel method of combination step-length
CN106533500A (en) Method for optimizing convergence characteristic of acoustic echo canceller
CN109102794A (en) M based on convex combination estimates the echo cancel method of proportional class affine projection
CN112037811A (en) A function-connected adaptive nonlinear echo cancellation method
CN104410761A (en) Convex combination adaptive echo cancellation method for affine projection sign subband adaptive filter
CN107871510B (en) A kind of zero attracts the maximum entropy echo cancel method for becoming core width
CN109040497B (en) Proportional affine projection self-adaptive echo cancellation method based on M estimation
CN110191245A (en) An Adaptive Echo Cancellation Method Based on Time-varying Parameters
CN105721729B (en) Based on the sparse proportional echo cancel method for reusing weight coefficient affine projection of block
CN117238306A (en) Voice activity detection and ambient noise elimination method based on double microphones
CN114400016B (en) Echo Cancellation Method Based on Adaptive Decorrelation and Variable Step-Size Proportional M Estimation
CN113409806A (en) Zero attraction echo cancellation method based on arc tangent function
CN106412352A (en) Adaptive echo cancellation method of time-frequency memory sub-band proportion and feedback method
CN105070295A (en) Adaptive method, applied to echo cancellation, of active factor proportional sub band
CN111756943B (en) An Augmented Complex-Valued Proportional Subband Adaptive Stereophonic Echo Cancellation Method
Sudhir et al. Acoustic echo cancellation using adaptive algorithms
CN115766954A (en) Affine projection maximum entropy sub-band time-delay convex combination self-adaptive echo cancellation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant