The invention belongs to the field of active control of noise, in particular to an active control method for filtered reference affine projection sign algorithm based on variable step size.
Impulse noise which obeys non-Gaussian distribution exists widely in the real environment, and the performance of the conventional adaptive algorithm based on the second moment theory could decline or even deteriorate. With the application of active noise control technology and the development of active noise control algorithm, an affine projection sign algorithm based on 1-norm is produced, which combines affine projection algorithm and sign algorithm to effectively control impulse noise and improve the performance of the algorithm in environment with impulse noise. The active control method with a post filter and filtered reference affine projection sign algorithm not only considers the secondary path in actual noise control, but also can flexibly adjust the contradiction between convergence speed and steady-state error. However, the algorithm has fixed convergence step size, so that the convergence performance of the algorithm needs to be further improved.
The objectives of the invention are to solve the above problem that the fixed step size in the active control method with a post filter and filtered reference affine projection sign algorithm hinders the further improvement of the convergence performance of the algorithm, and to provide an active control method for filtered reference affine projection sign algorithm based on variable step size, which can ensure the stability of the control method, improve the convergence performance in the impulsive noise environment, and effectively reduce the impulsive noise.
To achieve the above objective, the invention provides the following scheme: an active control method for filtered reference affine projection sign algorithm based on variable step size includes the following steps:
S1, acquiring impulse noise signals and transmitting the impulse noise signals to control filters, wherein the control filters include a first control filter and a second control filter;
S2, the control filter transmitting the impulse noise signals to post filters, wherein the post filters include a first post filter and a second post filter;
S3, the post filters generating cancellation signals of the impulse noise signals according to the impulse noise signals and internal active control algorithms, and transmitting the cancellation signals to a speaker;
S4, the speaker sending out the cancellation signals, which are superimposed with the impulse noise signals to cancel the impulse noise signals.
Preferably, the impulse noise signals include a first input signal, a second input signal, a third input signal, a fourth input signal, a fifth input signal and a sixth input signal.
Preferably, the third input signal passes through a primary path module to obtain a first desired signal; and
the fourth input signal passes through the primary path module to obtain a second desired signal.
Preferably, based on the first control filter, the second input signal is used as an input, and a first output signal is obtained through the first post filter and a secondary path module; and
based on the second control filter, taking the fifth input signal as an input, a second output signal is obtained through the second post filter and another secondary path module.
Preferably, based on the first output signal and the first desired signal, a first posterior error signal is obtained, and the first posterior error signal is the error signal of the first control filter; and
a second posterior error signal is obtained based on the second output signal and the second desired signal, and the second posterior error signal is the error signal of the second control filter.
Preferably, a first filtered reference signal is obtained by the first input signal passing through an estimated secondary path module; and
a second filtered reference signal obtained by the sixth input signal passing through another estimated secondary path module.
Preferably, the first posterior error signal and the first filtered reference signal are configured (i.e., structured and arranged) to update a weight coefficient of the first control filter; and
the second posterior error signal and the second filter reference signal are configured to update a weight coefficient of the second control filter.
Preferably, a third output signal is obtained based on the first output signal and a first mitigation coefficient;
a fourth output signal is obtained based on the second output signal and a second mitigation coefficient; and
a total output signal of a control system is obtained based on the third output signal and the fourth output signal.
Preferably, a third posterior error signal is obtained based on the first posterior error signal and the first mitigation coefficient;
a fourth posterior error signal is obtained based on the second posterior error signal and the second mitigation coefficient; and
a total error signal of the control system is obtained based on the third posterior error signal and the fourth posterior error signal.
Preferably, the total error signal and the first desired signal are used to update a first variable step size of the first control filter;
the total error signal and the second desired signal are used to update a second variable step size of the second control filter.
The invention may have the following advantages:
A convex combination structure and variable step size strategy are introduced not only to ensure good stability of the algorithm, but also to further improve the convergence performance of the algorithm due to the fixed step size in the active control method with a post filter and filtered reference affine projection sign algorithm. By adjusting the step size coefficient in the control filter structure, controlling the convergence speed of the algorithm, coordinating the contradiction between the convergence speed and steady-state error to improve the convergence performance of the control algorithm, and achieve the objective of effectively controlling impulse noise.
In order to more clearly explain the embodiments of the invention or the technical schemes in the prior art, the drawings needed in the embodiments will be briefly introduced below. Apparently, the drawings in the following descriptions are only some embodiments of the invention, and for those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.
The technical scheme in the embodiment of the invention will be clearly and completely described with reference to the drawings in the embodiment of the invention. Apparently, the described embodiments are only part of the embodiments of the invention, not all of them. Based on the embodiments in the invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of the invention.
In order to make the above-mentioned objects, features and advantages of the invention more obvious and easier to understand, the invention will be described in further detail below with reference to the drawings and detailed description.
As shown in
collect the impulse noise signals and transmit the signals to the control filters; the impulse noise signals include a first input signal, a second input signal, a third input signal, a fourth input signal, a fifth input signal and a sixth input signal; the control filters include a first control filter and a second control filter; the control filters then transmit the impulse noise signals to the post filters, which include a first post filter and a second post filter; the post filters generate the cancellation signals of the impulse noise signals according to the impulse noise signals and internal active control algorithms, and transmit the cancellation signals to the speaker; the speaker sends out cancellation signals, which are superimposed with the impulse noise signals to cancel the impulse noise signals.
Further, the third input signal passes through the primary path module to obtain the first desired signal; the fourth input signal passes through the primary path module to obtain the second desired signal.
Based on the first control filter, taking the second input signal as input, the first output signal is obtained through the first post filter and the secondary path module; based on the second control filter, taking the fifth input signal as input, and the second output signal is obtained through the second post filter and the secondary path module.
A first posterior error signal is obtained based on the first output signal and the first desired signal, wherein the first posterior error signal is the error signal of the first control filter; a second posterior error signal is obtained based on the second output signal and the second desired signal, wherein the second posterior error signal is the error signal of the second control filter.
The first input signal passes through an estimated secondary path module to obtain a first filtered reference signal; the sixth input signal passes through the estimated secondary path module to obtain a second filtered reference signal.
The first posterior error signal and the first filtered reference signal are used to control the updating of the weight coefficient of the first control filter; the second posterior error signal and the second filtered reference signal are used to control the updating of the weight coefficient of the second control filter.
A third output signal is obtained based on the first output signal and the first mitigation coefficient; a fourth output signal is obtained based on the second output signal and the second mitigation coefficient; a total output signal of the control system is obtained based on the third output signal and the fourth output signal.
A third posterior error signal is obtained based on the first posterior error signal and the first mitigation coefficient; a fourth posterior error signal is obtained based on the second posterior error signal and the second mitigation coefficient; a total error signal of the control system is obtained based on the third posterior error signal and the fourth posterior error signal.
The total error signal and the first desired signal are used to control the iterative update of the first variable step size of the first control filter; the total error signal and the second desired signal are used to control the iterative update of the second variable step size of the second control filter.
The specific embodiments of the invention will be further described with reference to the drawings and examples below.
Reference signalsx(n) (impulse noise signal) in
Output signal y1(n) multiplied by mitigation coefficient θ(n) at time n and output signal y2 (n) multiplied by mitigation coefficient 1−θ(n) at time n are superimposed to generate a total output signal y(n) of control system. The posterior error signal ep1(n) multiplied by the relaxation/mitigation coefficient θ(n) at time n and the posterior error signal ep2 (n) multiplied by the relaxation/mitigation coefficient 1−θ(n) at time n are superimposed to generate a total posterior error signal ep (n). The posterior error signal ep (n) is the error signal of the control system, and its power and powers of the desired signals d(n) participate in the iterative updates of variable step sizes μ1(n) and μ2(n) corresponding to the control filters W1(z) and W2 (z). It is noted that, in some embodiments, the above described modules/models may be software modules stored in one or more memories and executable by one or more processors coupled to the one or more memories.
S201, a reference sensor collects impulse noise signals which are transmitted to a control filter;
S202, the control filter transmits the impulse noise signals to a post filter;
S203, the post filter generates a cancellation signal of the impulse noise signals according to the impulse noise signals and the internal active control algorithm, and transmits the cancellation signal to a speaker;
S204, the speaker sends out the cancellation signal, and superposes the cancellation signal with the impulse noise signals to cancel the impulse noise signal.
According to the invention, the weight coefficients of the control filters W1 (z) and W2 (z) are updated by introducing the convex combination structure and the time-varying step size into the active control method with a post filter and filtered reference affine projection sign algorithm. Among them, the update formulas of control filter weight coefficient include six parts: post filter weight coefficients of two controllers, posterior error terms and update of control filter weight coefficients, which not only ensures the stability of the algorithm, but also improves the convergence performance of the control algorithm to impulse noise.
The update formulas are as follows:
in which, sgn(⋅) is the sign operation, (⋅)T is the transpose operation, n is the time coefficient, i is the number of control filters, i=1, 2, wi (n+1) is the weight coefficient vector of the ith control filter at time n+1, w1(n) is the weight coefficient vector of the ith control filter at time n, wi(n)=[wi,0(n), wi,1(n), . . . , wi,M-1(n)]T, M is the length of the control filter, {tilde over (w)}i(n) is the weight coefficient vector of the ith post filter at time n, {tilde over (w)}i(n)=[{tilde over (w)}i,0(n), {tilde over (w)}i,1(n), . . . , {tilde over (w)}i,M-1(n)]T, epi (n) is the weight vector at time n, epi(n)=[epi(n), epi(n−1), . . . , epi (n−K+1)]T, and K is the projection order. Xf (n) is the k-order filtered reference signal vector at time n, Xf(n)=[xf (n), xf (n−1), . . . , xf (n−K+1)], Xf(n) is the filtered reference signal vector at time n, and xf (n)=[xf (n), xf (n−1), . . . , xf (n−M+1)]T, xf (n)=ŜTxH (n), Ŝ is the estimated secondary path model; xH (n) is the reference signal vector at time n, xH(n)=[x(n), x(n−1), . . . , x(n−H+1)]T, H is the secondary path length, d(n) is the desired signal vector at time n, d(n)=[d(n), d(n−1), . . . , d(n−K+1)]T, γ is the weight factor in the post filter, μ is the iteration step size of the control filter, and ∈ is the normalization parameter.
The update formulas of variable step sizes are as follows:
in which β is the forgetting factor, |⋅| is the absolute value operator, d(n) is the desired signal at time n, Ad (n) is the desired signal power at time n, Ad (n−1) is the desired signal power at time n−1, ep (n) is the total a posterior error signal at time n, ep (n)=θ(n)ep1 (n)+(1−θ(n))ep2(n), ep1 (n) is the first posterior error signal at time n, and ep2(n) is the second posterior error signal at time n;θ(n) is the mitigation coefficient at time n,
and e is a constant, taking 2.71828; α(n) is the mixed parameter at time n, α(n+1)=α(n)+ραsgn (ep(n)) (y1(n)−y2(n))θ(n)(1−θ(n)), α(n+1) is the mixed parameter at time n+1, and ρa is a positive number, y1(n) is the output of the first control filter, y1(n)=xfT(n){tilde over (w)}1(n), {tilde over (w)}1 (n) is the weight coefficient vector of the first postfilter at time n, y2 (n) is the output of the second control filter, y2(n)=xfT(n){tilde over (w)}2(n),{tilde over (w)}2 (n) is the first postfilter weight coefficient vector at time n; Ae(n−1) is the posterior error signal power at time n−1, Ae(n) is the posterior error signal power at time n, ε is a positive parameter, σ1 is the ith variable step size coefficient and μi(n) is the ith variable step size at time n.
In this embodiment, the following simulation conditions are set: the order of the filter is 64, the projection order is 5, the normalization parameter is 0.0001, the transfer function of the primary path is [0.0167 0.4833 0.4833 0.0167], the transfer function of the secondary path is [0.2037 0.5926 0.2037], the estimated secondary path model is the same as the transfer function of the secondary path, and the noise source is impulse noise which obeys the standard symmetric and stable distribution, in which the characteristic parameter α=1.8.
Set the iterative step size of the filter to 0.001, and compare the convergence performance of the active control method with a post filter and filtered reference affine projection sign algorithm when the weight factors γ=—0.8,γ=0 and γ=0.8 with the active control method of the filtered reference affine projection sign algorithm based on variable step size when the step size coefficients σ1=0.01, σ2=0.008 and σ1=0.01 and σ2=0.003, and the simulation results are shown in
The simulation parameters are same as the above parameters, and the noise reduction performance is compared between the active control method with a post filter and filtered reference affine projection sign algorithm when the weight factor γ=−0.8, γ=0, and γ=0.8 and the active control method for filtered reference affine projection sign algorithm based on variable step size when the step size factor σ1=0.01, σ2=0.008 and σ1=0.01, σ2=0.003, and the simulation results are shown in
By adopting the convex combination structure and the variable step size strategy, the invention solves the problem that the convergence performance of the algorithm is hindered by fixed step size in the active control method with a post filter and filtered reference affine projection sign algorithm while ensuring the stability of the algorithm. According to the invention, by adjusting the step size coefficient in the control filter structure, controlling the convergence speed of the algorithm, coordinating the contradiction between the convergence speed and the steady-state error, improving the convergence performance of the control algorithm to impulse noise, and thus effectively controlling impulse noise.
The above embodiments only describe preferred modes of the invention, but do not limit the scope of the invention. Without departing from the design spirit of the invention, all kinds of modifications and improvements made by those of ordinary skill in the field to the technical scheme of the invention should fall within the protection scope determined by the appended claims of the invention.
Number | Date | Country | Kind |
---|---|---|---|
202110624450.8 | Jun 2021 | CN | national |
Number | Date | Country |
---|---|---|
106603038 | Apr 2017 | CN |
106603038 | Apr 2017 | CN |
Number | Date | Country | |
---|---|---|---|
20220392426 A1 | Dec 2022 | US |