Next Article in Journal
Mapping and Optimization Method of SpMV on Multi-DSP Accelerator
Previous Article in Journal
Electrical Response Analysis of a Piezoelectric Energy Harvester Power Source Based on Electromechanical Parameters
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Switching Mechanism on the Order of Affine Projection Algorithm

1
School of Physics and Electronic Information, Yantai University, Yantai 264005, China
2
School of Computer and Control Engineering, Yantai University, Yantai 264005, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(22), 3698; https://doi.org/10.3390/electronics11223698
Submission received: 7 October 2022 / Revised: 3 November 2022 / Accepted: 7 November 2022 / Published: 11 November 2022
(This article belongs to the Section Circuit and Signal Processing)

Abstract

:
Conventional affine projection (AP) algorithm with a fixed order is subject to a tradeoff between convergence speed and steady-state misalignment. In order to address such problem, a switching mechanism on the order of AP algorithm is proposed by comparing the performance of two AP algorithms with different orders. Firstly, the mean square deviations (MSD) behavior of the AP algorithm is analyzed, and a calculation formula for computing MSD at each iteration is derived. Secondly, we design a switching mechanism to select the better order of the two AP algorithms by comparing the MSDs of them; the MSD of the chosen order is smaller than that of the other. We also give the theoretical analysis, including steady-state mean square error (MSE) and computational complexity. Finally, the experiments in system identification and echo-cancellation scenarios demonstrate that the proposed algorithm has good performance not only in a stationary environment but also in a non-stationary environment.

1. Introduction

With the rapid development of signal processing technology, filter theory plays an increasingly important role in this field [1,2,3]. As one of the typical filters, the Wiener filter needs the a priori knowledge about the statistical properties of the signal, which is frequently unavailable in practice. With regard to the adaptive filter, one of its greatest advantages is that it does not require this knowledge to accomplish the signal processing. Thus, adaptive filters are attracting considerable interest in numerous applications, such as system identification, communication, acoustic processing, industrial control, and biomedicine [4,5,6,7,8]. As for the adaptive filter, its performance is strongly influenced by the adaptive filtering algorithms. Being one of the most widely used algorithms, the least mean square (LMS) [9] algorithm is simple in structure and low in computational complexity, but slow in convergence. On the basis of the LMS algorithm, the normalized LMS (NLMS) [10] algorithm was proposed, which has further advantages in convergence speed. However, when the input signals are highly correlated, these two LMS-type algorithms will deteriorate with respect to the convergence. Refs. [11,12] presented the affine projection (AP) algorithm, which can accelerate the convergence rate by reusing the past signals. Nevertheless, there is still a conflicting problem between convergence speed and steady-state misalignment for the conventional AP algorithm.
To solve the aforementioned contradiction, some scholars put forward a few constructive strategies in the conventional AP algorithm employing time-varying parameters. By use of variable step-size (VSS) technique, a number of VSS-AP algorithms have been proposed [13,14,15]. These VSS-AP algorithms essentially use a larger step-size when the output error is large and vice versa. Furthermore, the order of the AP algorithm is another important parameter that affects the convergence rate and the misalignment. Based on this fact, an evolving-order AP (EAP) algorithm was proposed in [16], which selected the algorithm’s order by comparing the output error with a threshold. Furthermore, adaptively combining two AP algorithms with different orders is also an effective idea to address the conflict. Ref. [12] proposed a combination structure, which can perform at least as well as the best of these two components. However, there is an obvious two-stage convergence phenomenon in this algorithm. In response to such issue, a transferring approach was presented in [17], which makes the convergence process coherently at the cost of increasing the computational complexity. Later on [18], proposed a combination scheme for the NLMS and AP algorithm to achieve a faster convergence rate while reducing the cost of calculation.
In this paper, our proposal to address the conflicting problem in conventional AP algorithm is to use a mechanism that can switch the AP algorithm’s order adaptively. Through comparing the MSDs of two AP algorithms with different orders, the proposed switching mechanism is able to select the better order at each iteration so that fast convergence speed and small steady-state misalignment can be obtained simultaneously. Our proposed algorithm does not require any predetermined parameters and has relatively small computational complexity. We have conducted theoretical analysis about the MSE to prove that the proposed algorithm is reasonable and has significant advantages. Finally, the simulation results in system identification and echo-cancellation scenarios further verify the good performance of the proposed algorithm.
The components of this paper are as follows. In Section 2, the canonical AP algorithm is concisely described. Taking the MSD as the entry point, Section 3 illustrates the proposed switching mechanism for the order of AP algorithm and analyses the computational complexity. The convergence analysis of the mean square error (MSE) is also carried out in Section 4. Section 5 exhibits the simulation experiments aimed at verifying the performance of the proposed algorithm. Finally, Section 6 summarizes the conclusion.

2. Affine Projection Algorithm

In the system identification problem [13,18], the output signal of the system to be identified is defined as
d ( i ) = U i T w o + v ( i ) ,
where i is the time index, whereas ui = [u(i),u(I − 1),…, u(IM + 1)]T is the input vector to adaptive filter, and wo = [w(0),w(1),…,w(M + 1)] are the filter coefficients of the system to be identified. M denotes the filter length, and v(i) is the additive background noise with variance σ v 2 , which is generally assumed to be Gaussian white noise. The update equation of the AP algorithm is as follows:
w i = w i 1 + μ U i T ( U i T U i ) 1 e i ,
where Ui = [ui, ui−1, …, uiK+1], and di = [d(i), d(I − 1), …, d(IK + 1)]T. μ is the step size, and wi and K denote the coefficients and the order of the AP algorithm, respectively.
e i = [ e ( i ) , e ( i 1 ) , , e ( i K + 1 ) ] T = d i U i T w i 1 ,
which is the estimation error between the outputs of the system to be identified and the AP filter. When the order K is set to 1, the AP algorithm will evolve into the NLMS algorithm with the update equation as follows:
w i = w i 1 + μ u i T ( u i T u i ) 1 e ( i ) ,
e ( i ) = d ( i ) u i T w i 1 .
The performance of the AP algorithm is mainly controlled by the order factor K. A small value for this factor results in low steady-state misalignment but slow convergence speed, while a large value will lead to fast convergence speed but increased steady-state misalignment. In conventional AP algorithm, the order factor is usually set to be a fixed value, which inevitably leads to a conflicting problem between convergence speed and steady-state misalignment.

3. Proposed Algorithm

In this section, we first study the MSD behavior of the AP algorithm and obtain its iterative calculation formula. Then, a switching mechanism on the order of AP algorithm is proposed by comparing the MSDs of two AP algorithms with different orders. The computational complexity of the proposed algorithm as well as other commonly used AP algorithms are analyzed and compared at the end of this section.

3.1. MSD Analysis of the AP Algorithm

We define the error vector between wo and wi as follows:
w ˜ i = w o w i .
Based on the Equation (2), we obtain:
w ˜ i = w ˜ i 1 μ U i ( U i T U i ) 1 e i = Φ i w ˜ i 1 μ U i ( U i T U i ) 1 v i
where
Φ i = I μ U i ( U i T U i ) 1 U i T .
The autocorrelation matrix of the error vector w ˜ i is defined as
P i = E ( w ˜ i w ˜ i T ) .
Then, the MSD of the AP algorithm at iteration i can be obtained as follows:
MSD i E ( w ˜ i T w ˜ i ) Tr ( P i ) = p i ,
where E() and Tr() are the expectation and the trace operators, respectively. Assuming that the noise v(i) is iid signal and statistically independent with w ˜ I 1 , then we can obtain the following by substituting Equation (7) into (9):
P i = Φ i P i Φ i T + D i
where
D i = σ v 2 μ 2 ( U i T U i ) 1
From Equations (10) and (11), we can obtain
p i = Tr ( Φ i T Φ i P i 1 ) + Tr ( D i )
The above equation is computationally simplified by dividing it into two parts, and considering the first half of Tr( Φ i T ΦiPi−1) in Equation (13), the matrix Φ i T Φi can be expressed in the following form:
Φ i T Φ i = I + μ 2 U i ( U i T U i ) 1 U i T 2 μ U i ( U i T U i ) 1 U i T .
Thus,
Tr ( Φ i T Φ i P i 1 ) = Tr ( P i 1 ) + μ 2 Tr [ U i ( U i T U i ) 1 U i T P i 1 ] 2 μ Tr [ U i ( U i T U i ) 1 U i T P i 1 ]
According to the [19,20], the following approximation can be used in the AP algorithm:
Tr [ U i ( U i T U i ) 1 U i T P i ] K M Tr ( P i )
Therefore, substituting (16) into (15) for simplification gives
Tr ( Φ i T Φ i P i 1 ) = [ 1 + K ( μ 2 2 μ ) M ] Tr ( P i 1 )
Next, considering the second term Tr(Di) in Equation (13) shows
Tr ( D i ) = σ v 2 μ 2 Tr ( U i T U i ) 1
Thus, synthesizing Equations (13), (17), and (18), we can obtain the iterative calculation formula of the MSD for the AP algorithm as follows:
p i = Tr ( Φ i T Φ i P i - 1 ) + Tr ( D i ) = [ 1 + K ( μ 2 2 μ ) M ] p i 1 + σ v 2 μ 2 Q i
where
Q i = Tr ( U i T U i ) 1 .
As i tends to infinity, the steady-state value of the MSD can be obtained as follows:
lim i   p i = σ v 2 μ Tr ( U i T U i ) 1 M ( 2 μ ) K .
To verify the correctness of the above derivation results, this paper compares the current pi and the steady-state MSD values obtained, respectively, in Equations (19) and (21) through simulation experiments. Figure 1 and Figure 2 show the results when the order K is set to 8 and 1, respectively. It can be seen from the figures that the two curves converge almost exactly to the same value as the iterations proceed. It is thus concluded that the derived pi in this paper can predict the value of MSD very well.

3.2. Switching Mechanism

In the switching mechanism scheme, the mode with the lower MSD estimate is selected by comparing the pi values of two AP algorithms with different orders. The update equation of the proposed algorithm can be described as follows:
w i = { w i 1 + μ U 1 , i T ( U 1 , i T U 1 , i ) 1 e i , if   p 1 , i + 1 p 2 , i + 1 w i 1 + μ U 2 , i T ( U 2 , i T U 2 , i ) 1 e i , if   p 1 , i + 1 > p 2 , i + 1
where p1,i+1 and p2,i+1 are the current estimates of MSDs for the AP algorithms with the order K1 and K2, respectively. U1 and U2 are the input matrices corresponding to the different orders K1 and K2 of the AP algorithm. Here, we set K1 > K2, which means that the first AP algorithm occupies fast convergence speed, while the other has low steady-state misalignment.
According to Equation (19), the current p1,i+1 and p2,i+1 of each AP algorithm are calculated as follows:
p 1 , i + 1 = [ 1 + K 1 M ( μ 2 2 μ ) ] p i + σ v 2 μ 2 Tr ( U 1 , i T U 1 , i ) 1
p 2 , i + 1 = [ 1 + K 2 M ( μ 2 2 μ ) ] p i + σ v 2 μ 2 Tr ( U 2 , i T U 2 , i ) 1
Based on the switching scheme in Equation (22), the mode with the lower MSD estimate is selected, and the value of pi at the next iteration is determined as
p i + 1 = { p 1 , i + 1       i f   p 1 , i + 1 p 2 , i + 1 p 2 , i + 1       i f   p 1 , i + 1 > p 2 , i + 1 .
The proposed switching scheme on the order for AP algorithm is summarized in Table 1. It also can be seen from Equation (22) that if a bigger step size μ1 and a smaller one μ2 are set to the first and second modes, respectively, the proposed algorithm is able to combine the advantages of order and step size to achieve faster convergence speed and smaller steady-state error.

3.3. Computational Complexity

Table 2 lists the total number of multiplication operations required at each iteration for the conventional AP algorithm, CAP algorithm [12], the CAP-WF algorithm [17], the VSS-AP algorithm [13], EAP algorithm [16], AP-NLMS algorithm [18], and the proposed algorithm. From the results illustrated in Table 2, we can see that the computational complexity of our proposed algorithm is much smaller than that of the CAP, CAP-WF, and AP-NLMS algorithms. As the CAP and CAP-WF algorithms both need to update two filters independently at the same time, their computational complexity increases exponentially. Compared with the VSS-AP and EAP algorithms, the proposed algorithm only has 10 and 11 more multiplication operations by comparison, respectively.

4. Mean Square Error Convergence Analysis

The equation for the steady-state MSE of an AP algorithm in a stationary system, as already noted by [21], is as follows:
M S E = σ v 2 + μ σ v 2 T r ( E [ A i ] ) ( 2 μ ) E [ A i ( 1 , 1 ) ] ,
where Ai= ( U i T Ui)−1.
Since calculating the exact expected value in (26) is not practicable, here, we introduce some approximate assumptions. For one thing, the expectation of the ratio between two random variables can be similar to the ratio of their expectations, and together with Tr(E[Ai]) ≈ E[K/‖ui2]), (26) can be simplified to
M S E = σ v 2 + μ σ v 2 E [ u i 2 ] ( E [ K u i 2 ] ) ( 2 μ )   = σ v 2 + μ σ v 2 E [ u i 2 ] K E [ u i 2 ] ( 2 μ )   = σ v 2 + μ σ v 2 K ( 2 μ )
with E[Ai(1,1)]) = E[1/‖ui2]).
From the above theoretical analyses, it can be concluded that the MSE of the AP algorithm is influenced by the order K. As our proposed algorithm can select a better order of the two AP algorithms at each iteration, when the number of iterations approaches infinity, the MSE of the proposed algorithm will undoubtedly converge to the following value:
M S E = σ v 2 + μ σ v 2 K 2 ( 2 μ )

5. Simulation Experiments

5.1. System Identification

To verify the performance of the proposed switching algorithm, the simulations were carried out both in stationary and non-stationary environments based on a system identification model. The MSD is used as the judging criterion in order to analyze the performance of the algorithms. A Gaussian white noise, which has no correlation with the input signal, is used as the background noise, and its variance can be easily estimated online in many practical applications. The filter coefficients of the system to be identified are generated randomly with the length M = 20, and we assume the adaptive filter has the same length. The input signal is generated by filtering a zero-mean Gaussian white sequence through a first-order AR system:
G 1 ( z ) = 1 1 0.8 z 1
The purpose for doing this is to produce a correlated input signal. All of the following results of the simulation experiments are obtained by 200 Monte Carlo trials for receiving more clearer convergence curves.
Figure 3 and Figure 4 show the convergence curves of the proposed algorithm and the conventional AP, CAP, CAP-WF, VSS-AP, and EAP algorithms in a stationary environment with SNR = 20 dB and SNR = 30 dB, respectively. The orders used in the proposed algorithm are K1 = 16 and K2 = 2, and the step-sizes are set as μ1 = 0.5 and μ2 = 0.05. To observe the performance of the algorithms more clearly, the order and the step size of CAP and CAP-WF algorithms are set to the same values as the proposed algorithm. The order and step-size of the VSS-AP algorithm are set to K = 16 and μ = 0.5, while in the EAP algorithm, they are set to Kmax = 16 and μ = 0.02.
As can be seen from the Figure 3 and Figure 4, there is an inherent problem between convergence speed and steady-state misalignment for the conventional AP algorithm: a large K leads to fast convergence speed but increased steady-state misalignment and vice versa. As for the CAP algorithm, an obvious two-stage convergence phenomenon comes to light in its convergence curve. Compared with the CAP-WF, VSS-AP, and EAP algorithms, the proposed algorithm can obtain faster convergence speed and lower steady-state misalignment. Since the order values of the above algorithms are all set to greater than or equal to 2, the performance curve of the AP-NLMS algorithm is not added to the above two figures.
To demonstrate the convergence performance of the algorithms in a different system, the input signal is generated through another AR system as follows:
G 2 ( z ) = 1 1 0.9 z 1 .
The length of the filter coefficients of the system to be identified is set to M = 16. Figure 5 and Figure 6 show the convergence curves of the algorithms with SNR = 20 dB and SNR = 30 dB, respectively. The orders used in the proposed algorithm are K1 = 8 and K2 = 1, and the step sizes are both taken as 0.1. The order and step size of the CAP and CAP-WF algorithms are set in the same ways as the proposed algorithm. The order and step size of the VSS-AP algorithm are set to K = 16 and μ = 0.5, while in the EAP algorithm, they are set to Kmax = 16 and μ = 0.02. The step-size of the AP-NLMS algorithm is set to 0.1. We can see from Figure 5 and Figure 6 that the proposed algorithm clearly outperforms all of the other algorithms.
Additionally, as for the adaptive algorithm, the tracking capability is another crucial issue. Therefore, Figure 7 and Figure 8 plot the convergence curves of the algorithms in anon-stationary environment with different SNRs. We make the unknown system change abruptly at iteration 2000 and 2500 by regenerating the coefficients of the system to be identified, and all the parameters of the algorithms are consistent with Figure 3 and Figure 4. In Figure 9 and Figure 10, the unknown system changes abruptly at iteration 5000 and 6000, respectively, and all the parameters of the algorithms are consistent with Figure 5 and Figure 6. It can be seen from Figure 7, Figure 8, Figure 9 and Figure 10 that the proposed algorithm is able to track the changed unknown system quickly and provides the best performance in all different SNRs and environments, neither losing the convergence speed nor increasing the misalignment.

5.2. Echo Cancellation

The adaptive filter plays an important role in the field of echo cancellation. In this subsection, the performance of the proposed algorithm is tested and compared with the conventional AP, CAP, CAP-WF, VSS-AP, EAP, and AP-NLMS algorithms again for echo cancellation. Figure 11 shows the basic principle diagram of echo-cancellation technology, in which the echo signal r(i) is generated by transmitting the input vector u(i) through an echo path in room B. Together with the noise signal v(i) in room B, it constitutes the desired signal d(i). At the same time, the estimated signal y(i) is obtained by filtering u(i) with the coefficients of adaptive filter. If the coefficients of adaptive filter and echo path impulse response achieve the same, y(i) will be equal to the actual echo signal r(i), and then, any echo signal cannot be included in signal e(i). In this experiment, the length of impulse response for the echo path is set to 128 and shown in Figure 12. The input is a real speech signal with a sampling rate of 8 kHz, and the order and step sizes of the proposed algorithm and the CAP, CAP-WF, and AP-NLMS algorithms are set to K1 = 8, K2 = 1 and μ1 = 0.1, μ2 = 0.05. In the VSS-AP and EAP algorithms, the parameters of K and μ are both set to 8 and 0.1. Figure 13 reveals the convergence curves of the proposed algorithm together with the others. From the simulation plot, it can be seen that the proposed algorithm has the fastest convergence rate and lowest steady-state error, which again confirms the good performance of our proposed switching mechanism in the echo-cancellation scenario.

6. Conclusions

In this paper, we proposed a novel method for switching the order of the AP algorithm aimed at improving the performance of the algorithm in the convergence speed and steady-state error. By analyzing and comparing the MSDs of two AP filters with different orders, the switching mechanism can select the favorable order at each iteration so that the advantages of a large order and a small one can be combined at the same time. Moreover, our proposed algorithm does not need to introduce excessive parameters and rely on some a priori knowledge. Through extensive mathematical analysis, we proved that the algorithm is reasonable and has significant advantage in the calculation. At last, the simulations also demonstrated that our proposed algorithm has a competitive convergence speed and produces a smaller steady-state misalignment in the cases of system identification and echo cancellation in comparison to other existing algorithms.

Author Contributions

Z.N., conceptualization, software, investigation, data curation, and writing—original draft preparation; Y.G., writing—review and editing and supervision; S.O., methodology, formal analysis, data curation, validation, writing—review and editing, project administration, supervision, and funding acquisition; J.X., supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by Shandong Provincial Natural Science Foundation under Grant ZR2022MF314 and in part by the National Natural Science Foundation of China under Grant 62072391.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lu, J.; Zhang, Q.; Shi, W.; Zhang, L.; Shi, J. Robust Adaptive Filtering Algorithm for Self-Interference Cancellation with Impulsive Noise. Electronics 2021, 10, 196. [Google Scholar] [CrossRef]
  2. Stavrou, V.N.; Tsoulos, I.G.; Mastorakis, N.E. Transformations for FIR and IIR Filters’ Design. Symmetry 2021, 13, 533. [Google Scholar] [CrossRef]
  3. Tsoulos, I.G.; Stavrou, V.; Mastorakis, N.E.; Tsalikakis, D. GenConstraint: A Programming Tool for Constraint Optimization Problems. SoftwareX 2019, 10, 100355. [Google Scholar] [CrossRef]
  4. Wu, C.; Wang, X.; Guo, Y.; Fu, Q.; Yan, Y. Robust Uncertainty Control of the Simplified Kalman Filter for Acoustic Echo Cancelation. Circuits Syst. Signal Process. 2016, 35, 4584–4595. [Google Scholar] [CrossRef]
  5. Ferrer, M.; Gonzalez, A.; de Diego, M.; Pinero, G. Transient Analysis of the Conventional Filtered-x Affine Projection Algorithm for Active Noise Control. IEEE Trans. Audio Speech Lang. Process. 2011, 19, 652–657. [Google Scholar] [CrossRef]
  6. Zhao, J.; Zhang, H.; Zhang, J.A. Generalized Maximum Correntropy Algorithm with Affine Projection for Robust Filtering under Impulsive-Noise Environments. Signal Process. 2020, 172, 107524. [Google Scholar] [CrossRef]
  7. Li, G.; Wang, G.; Dai, Y.; Sun, Q.; Yang, X.; Zhang, H. Affine Projection Mixed-Norm Algorithms for Robust Filtering. Signal Process. 2021, 187, 108153. [Google Scholar] [CrossRef]
  8. Peng, N.; Li, C.; Yu, L.; Yu, P.; Yao, T. Maximum Versoria Criterion Algorithm with Adaptive Radius in Active Impulse Noise Control. Electronics 2022, 11, 2178. [Google Scholar] [CrossRef]
  9. Tan, Z.-J.; Shi, Y.-L.; Cui, N. Emulational Research of Adaptive Filter Based on LMS Algorithm. In Proceedings of the International Conference on Computer Application and System Modeling (ICCASM 2010), Taiyuan, China, 22–24 October 2010; Volume 6, pp. 12–15. [Google Scholar]
  10. Hsia, T. Convergence Analysis of LMS and NLMS Adaptive Algorithms. In Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP 83), Boston, MA, USA, 14–16 April 1983; Volume 8, pp. 667–670. [Google Scholar]
  11. Ozeki, K.; Umeda, T. An Adaptive Filtering Algorithm Using an Orthogonal Projection to an Affine Subspace and Its Properties. Electron. Commun. Jpn. Part Commun. 1984, 67, 19–27. [Google Scholar] [CrossRef]
  12. Sankaran, S.G.; Beex, A.A.L. Convergence Behavior of Affine Projection Algorithms. IEEE Trans. Signal Process. 2000, 48, 1086–1096. [Google Scholar] [CrossRef] [Green Version]
  13. Shin, H.-C.; Sayed, A.H.; Song, W.-J. Variable Step-Size NLMS and Affine Projection Algorithms. IEEE Signal Process. Lett. 2004, 11, 132–135. [Google Scholar] [CrossRef]
  14. Mayyas, K. A Variable Step-Size Affine Projection Algorithm. Digit. Signal Process. 2010, 20, 502–510. [Google Scholar] [CrossRef]
  15. Tran, L.T.T.; Schepker, H.; Doclo, S.; Dam, H.H.; Nordholm, S.E. Adaptive Feedback Control Using Improved Variable Step-Size Affine Projection Algorithm for Hearing Aids. In Proceedings of the 2017 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC), Kuala Lumpur, Malaysia, 12–15 December 2017; pp. 1633–1640. [Google Scholar]
  16. Kim, S.-E.; Kong, S.-J.; Song, W.-J. An Affine Projection Algorithm With Evolving Order. IEEE Signal Process. Lett. 2009, 16, 937–940. [Google Scholar] [CrossRef]
  17. Martinez-Ramon, M.; Arenas-Garcia, J.; Navia-Vazquez, A.; Figueiras-Vidal, A.R. An Adaptive Combination of Adaptive Filters for Plant Identification. In Proceedings of the International Conference on Digital Signal Processing (DSP 2002), Santorini, Greece, 1–3 July 2002; Volume 2, pp. 1195–1198. [Google Scholar]
  18. Choi, J.H.; Kim, S.H.; Kim, S.W. Adaptive Combination of Affine Projection and NLMS Algorithms. Signal Process. 2014, 100, 64–70. [Google Scholar] [CrossRef]
  19. Park, P.; Lee, C.H.; Ko, J.W. Mean-Square Deviation Analysis of Affine Projection Algorithm. IEEE Trans. Signal Process. 2011, 59, 5789–5799. [Google Scholar] [CrossRef]
  20. Park, P.; Chang, M.; Kong, N. Scheduled-Stepsize NLMS Algorithm. IEEE Signal Process. Lett. 2009, 16, 1055–1058. [Google Scholar] [CrossRef]
  21. Shin, H.-C.; Sayed, A.H. Mean-Square Performance of a Family of Affine Projection Algorithms. IEEE Trans. Signal Process. 2004, 52, 90–102. [Google Scholar] [CrossRef]
Figure 1. Convergence plots of the current pi and steady-state MSD values (SNR = 30 dB, M = 16, K = 8).
Figure 1. Convergence plots of the current pi and steady-state MSD values (SNR = 30 dB, M = 16, K = 8).
Electronics 11 03698 g001
Figure 2. Convergence plots of the current pi and steady-state MSD values (SNR = 30 dB, M = 16, K = 1).
Figure 2. Convergence plots of the current pi and steady-state MSD values (SNR = 30 dB, M = 16, K = 1).
Electronics 11 03698 g002
Figure 3. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a stationary environment with SNR = 20 dB.
Figure 3. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a stationary environment with SNR = 20 dB.
Electronics 11 03698 g003
Figure 4. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a stationary environment with SNR = 30 dB.
Figure 4. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a stationary environment with SNR = 30 dB.
Electronics 11 03698 g004
Figure 5. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a stationary environment with SNR = 20 dB.
Figure 5. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a stationary environment with SNR = 20 dB.
Electronics 11 03698 g005
Figure 6. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a stationary environment with SNR = 30 dB.
Figure 6. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a stationary environment with SNR = 30 dB.
Electronics 11 03698 g006
Figure 7. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a non-stationary environment with SNR = 20 dB.
Figure 7. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a non-stationary environment with SNR = 20 dB.
Electronics 11 03698 g007
Figure 8. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a non-stationary environment with SNR = 30 dB.
Figure 8. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, and EAP algorithms in a non-stationary environment with SNR = 30 dB.
Electronics 11 03698 g008
Figure 9. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a non-stationary environment with SNR = 20 dB.
Figure 9. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a non-stationary environment with SNR = 20 dB.
Electronics 11 03698 g009
Figure 10. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a non-stationary environment with SNR = 30 dB.
Figure 10. Convergence curves of the proposed algorithm and the conventional AP, CAP, CAP−WF, VSS−AP, EAP, and AP−NLMS algorithms in a non-stationary environment with SNR = 30 dB.
Electronics 11 03698 g010
Figure 11. Principle diagram of echo cancellation.
Figure 11. Principle diagram of echo cancellation.
Electronics 11 03698 g011
Figure 12. Impulse response of the echo path.
Figure 12. Impulse response of the echo path.
Electronics 11 03698 g012
Figure 13. Comparison of the performance of different algorithms in echo cancellation.
Figure 13. Comparison of the performance of different algorithms in echo cancellation.
Electronics 11 03698 g013
Table 1. The proposed algorithm.
Table 1. The proposed algorithm.
Initialization: p1,0 = p2,0 = p0 = 1, w0 = 0
  • Computing the current pi of each AP algorithm:

p 1 , i + 1 = [ 1 + K 1 M ( μ 2 2 μ ) ] p i + σ v 2 μ 2 Tr ( U 1 , i T U 1 , i ) 1
p 2 , i + 1 = [ 1 + K 2 M ( μ 2 2 μ ) ] p i + σ v 2 μ 2 Tr ( U 2 , i T U 2 , i ) 1
2
Switching mechanism:

w i = { w i 1 + μ U 1 , i T ( U 1 , i T U 1 , i ) 1 e i , if   p 1 , i + 1 p 2 , i + 1 w i 1 + μ U 2 , i T ( U 2 , i T U 2 , i ) 1 e i , if   p 1 , i + 1 > p 2 , i + 1
3
Updating the pi value at the next iteration:

p i + 1 = { p 1 , i + 1       i f   p 1 , i + 1 p 2 , i + 1 p 2 , i + 1       i f   p 1 , i + 1 > p 2 , i + 1
End
Table 2. Computational complexity of various algorithms.
Table 2. Computational complexity of various algorithms.
AlgorithmMultiplication
AP ( K 2 + 2 K ) M + K 3 + K 2
CAP ( K 1 2 + K 2 2 + 2 K 1 + 2 K 2 + 2 ) M + K 1 3 + K 2 3 + K 1 + K 2 + 9
CAP-WF ( K 1 2 + K 2 2 + 2 K 1 + 2 K 2 + 4 ) M + K 1 3 + K 2 3 + K 1 + K 2 + 9
VSS-AP ( K 2 + 2 K ) M + K 3 + K 2 + 2
EAP ( K 2 + 2 K ) M + K 3 + K 2 + 1
AP-NLMS ( K 2 + 2 K + 4 ) M + K 3 + K 2 + 22
Proposed ( K 2 + 2 K ) M + K 3 + K 2 + 12
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Niu, Z.; Gao, Y.; Xu, J.; Ou, S. Switching Mechanism on the Order of Affine Projection Algorithm. Electronics 2022, 11, 3698. https://doi.org/10.3390/electronics11223698

AMA Style

Niu Z, Gao Y, Xu J, Ou S. Switching Mechanism on the Order of Affine Projection Algorithm. Electronics. 2022; 11(22):3698. https://doi.org/10.3390/electronics11223698

Chicago/Turabian Style

Niu, Zhiwei, Ying Gao, Jindong Xu, and Shifeng Ou. 2022. "Switching Mechanism on the Order of Affine Projection Algorithm" Electronics 11, no. 22: 3698. https://doi.org/10.3390/electronics11223698

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop