Next Article in Journal
Investigation of Electro-Thermal Performance for TreeFET from the Perspective of Structure Parameters
Previous Article in Journal
A Freehand 3D Ultrasound Reconstruction Method Based on Deep Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Acoustic Feedback Cancellation Algorithm for Hearing Aids Based on a Weighted Error Adaptive Filter

1
School of Microelectronics, Tianjin University, Tianjin 300072, China
2
Research Institute of Tsinghua University in Shenzhen, Shenzhen 518057, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(7), 1528; https://doi.org/10.3390/electronics12071528
Submission received: 27 February 2023 / Revised: 20 March 2023 / Accepted: 21 March 2023 / Published: 23 March 2023
(This article belongs to the Section Circuit and Signal Processing)

Abstract

:
Acoustic feedback is a common phenomenon that occurs during hearing aid use, limiting the maximum gain that a hearing aid can provide. Effective cancellation of acoustic feedback is an essential feature of hearing aids. However, due to the complex environments in which hearing aids are used and the frequently changing acoustic feedback path, it is difficult for existing adaptive filter-based acoustic feedback cancellation algorithms to balance both convergence speed and steady-state error. For this reason, based on the nonparametric variable step size (NPVSS) algorithm, a weighted NPVSS algorithm that also introduces a prediction error method is proposed in this paper. First, by introducing the prediction error method, the adaptive filter bias caused by the nonwhite source signal is effectively reduced. Second, the proposed weighting mechanism weights the error signal according to the adaptive filter misalignment, which enhances the steady-state robustness of the algorithm while accelerating its convergence. In addition, a new low-complexity method is herein proposed for source signal energy estimation by reusing the misalignment information to solve the step size calculation problem of the NPVSS algorithm. Simulation results show that the new algorithm exhibits greater robustness and faster convergence than similar algorithms. The proposed algorithm is implemented with a real hearing aid and its performance is measured on a dummy head in a soundproof room. The test results demonstrate that the proposed algorithm achieves a 35% reduction in convergence time compared with PEM-IMLMS and a 60% reduction compared with PEM-NLMS. Furthermore, the proposed algorithm reduces the sound pressure level of acoustic feedback residues compared with PEM-IMLMS and PEM-NLMS by approximately 2 dB SPL and 6 dB SPL, respectively. These results indicate that the new algorithm can provide timely and stable cancellation of acoustic feedback.

1. Introduction

Hearing aids are a common real-time sound amplification system in which a sound signal is first picked up by a microphone, then processed and amplified by an electroacoustic forward path, and subsequently reproduced by a loudspeaker in real time. As the microphone of a hearing aid system is located in the same acoustic environment as the loudspeaker, the microphone will inevitably pick up the amplified sound again (i.e., acoustic feedback signal), and if the gain is too high and meets certain phase conditions, howling will be generated [1]. The occurrence of howling not only compromises the sound amplification function of the device but also can cause damage to the human ear. Acoustic feedback cancellation can increase the maximum stable gain (MSG) of the hearing aid to meet the high gain requirements of patients with severe hearing loss.
Currently, the adaptive filtering method is the mainstream acoustic feedback cancellation algorithm, widely used in various applications, including public address systems [2,3], active noise reduction systems [4,5,6], and hearing aids [7]. In particular, for hearing aids, this approach employs an adaptive filter (AF) to model the feedback path between the hearing aid microphone and the speaker and subtracts the acoustic feedback signal component estimated by the AF from the microphone signal to achieve acoustic feedback cancellation. Some studies have investigated algorithms that combine AF with other methods, such as probe noise injection [8,9,10,11,12], and spatial filtering [13,14]. While probe noise can help AF accurately estimate feedback paths and maintain a perceptual evaluation of speech quality (PESQ) score of up to 4.28, the sudden injection of noise during use can negatively impact the user experience. Previous research works [13,14] have proposed a multiple microphone AF that uses beamforming, and achieves an additional gain of 7–8 dB. However, in practical hearing aids, the limited size usually means that up to two microphones are available, reducing beamforming accuracy. In addition, in research conducted by [15], a method is presented that decomposes a long adaptive filter into shorter ones using nearest Kronecker product, which achieves an additional stable gain (ASG) improvement of about 2 dB compared to the affine projection algorithm (APA). Despite the numerous improvements mentioned above, the performance of adaptive filters remains constrained by several problems.
First, the hearing aid is a closed-loop system. Due to the existence of the forward path, the speaker signal is correlated with the source signal. If the source signal is nonwhite, this correlation can lead to a pseudo path that is related to the spectrum of source signal between the microphone and the speaker, resulting in a biased estimation of the feedback path [16]. Previous studies have identified three potential methods for addressing this issue, namely the delay insertion method [17], phase modulation method [18,19], and prediction error method (PEM) [2,15,20,21,22,23,24,25,26,27,28,29]. However, the phase modulation and delay insertion method directly affect the forward path and may have a negative impact on the sound quality of hearing aids. As a result, these methods are less preferable. In contrast, PEM can effectively reduce acoustic feedback residuals by pre-whitening the signals while maintaining sound quality. An ASG of 20 dB higher than the Filter-X algorithm can be obtained with time-varying input signals, making it a promising option for addressing this issue [24].
Second, due to the uncertainty of the environment when the hearing aid is worn, the energy of the sound signal may fluctuate greatly. This can lead to large jitter in the tapping coefficients of the filter. To improve the robustness of the adaptive filtering algorithm, methods such as the sign algorithm [30,31,32,33,34] and M-estimate have been proposed. However, the sign algorithm tends to converge more slowly. This is because it only considers the polarity of the error signal and ignores its amplitude, so more iterations are required to reach a steady state [34]. As for the M-estimate [35,36,37,38,39,40], its performance depends on the chosen threshold, and improper selection can lead to degraded performance and reduced robustness. Unfortunately, threshold selection is usually a subjective process. Therefore, these methods need to be improved.
In addition, practical hearing aid applications require consideration not only of performance but also of the limited computing power, which is constrained by latency, power consumption, and size. Algorithms based on APA and affine projection like (APL) [2,26,34,35,40,41,42,43] contain many matrix operations. Meanwhile, algorithms based on the subband adaptive filter (SAF) [29,30,31,32,44,45] require many filtering operations during subband analysis and synthesis. It is very difficult to implement these algorithms on embedded processors with limited computing power and power sensitivity. Therefore, these algorithms are predominantly considered at the theoretical level, and normalized least mean square (NLMS)-based algorithms are more commonly used in real hearing aids.
In particular, more sophisticated algorithms based on NLMS include the variable step size NLMS (VSS-NLMS) [23,24,25,46,47,48,49] and the dual adaptive filter algorithm [50,51,52]. Among them, the variable step size algorithm has been widely studied in hearing aid feedback cancellation scenarios due to its fast convergence and low resource consumption [52,53] and has also been an active research topic in recent years. Among the VSS-NLMS-based algorithms, nonparametric variable step size (NPVSS) [47] is simple and effective, but its ability to model the closed-loop system needs to be improved. Therefore, in this paper, based on the NPVSS algorithm, a new weighting mechanism-based algorithm with PEM introduced is proposed (i.e., PEM Weighted NPVSS-NLMS, or PEM-WNPVSS).
The proposed algorithm calculates the level of short-time misalignment (STML) of the AF and weights the error signal accordingly to improve the convergence speed and anti-interference ability at steady state. At the same time, a method that reuses the STML to estimate the power of the source signal is proposed to solve the step size calculation problem of some VSS-NLMS algorithms (including NPVSS) in practical applications. In addition, the proposed algorithm uses PEM to reduce modeling bias in the acoustic feedback path by decorrelating the source signal and the desired signal of the AF.
The main contributions of this paper are as follows:
  • A new weighting method is proposed, in which the STML of the AF is calculated and the error signal is weighted accordingly. This method avoids subjective determination of the threshold in M-estimate and has a finer control granularity, which not only retains its ability to resist interference, but also accelerates filter convergence.
  • A new method for estimating the source signal power using STML is proposed, which solves the step size calculation problem of some VSS-NLMS algorithms in practical applications. The reuse of STML represents a low-cost solution to this issue.
  • PEM is introduced to improve the performance of the NPVSS algorithm in closed-loop systems. In this study, PEM is implemented in actual hearing aids, whereas previous research on hearing aid algorithms only used PEM for simulation.
The remaining sections are structured as follows. The principles of the proposed algorithm are detailed in Section 2. In Section 3, the algorithm is simulated on a computer, and the simulation results are analyzed. Section 4 presents the algorithm performance results for measurements in a soundproof room. Finally, concluding remarks are given in Section 5.

2. Implementation Principle

2.1. Theoretical Basis

A conventional implementation of AF-based acoustic feedback cancellation is shown in Figure 1. G ( n ) is the electroacoustic forward path, which is used to provide the gain of the hearing aid, y ( n ) is the signal about to be played by the speaker, d ( n ) is the signal picked up by the microphone, and n represents the signal sampling moment. Define the feedback signal as f ( n ) and the sound source signal as v ( n ) .
d ( n ) = f ( n ) + v ( n )
The acoustic feedback path U ( n ) is modeled by the AF W ( n ) , and the degree of deviation between W ( n ) and U ( n ) is called misalignment (MIS). When the MIS is small, f e ( n ) , the output signal of W ( n ) , is approximately equal to f ( n ) .
From Figure 1, the error signal e ( n ) can be expressed as
e ( n ) = d ( n ) w T ( n ) y ( n )
where w ( n ) = [ w 0 ( n ) w 1 ( n ) ... w L - 1 ( n ) ] T and y ( n ) = [ y ( n ) y ( n 1 ) ... y ( n L + 1 ) ] T . w ( n ) is the coefficient vector of W ( n ) , L is the AF length, and [ ] T denotes the transpose operator.
For W ( n ) to converge to U ( n ) , e ( n ) can be minimized in the mean square sense, i.e., the following cost function is minimized:
J ( w ( n ) ) = E [ e 2 ( n ) ] = E [ ( d ( n ) w T ( n ) y ( n ) ) 2 ]
where E [ ] is the mathematical expectation. Due to the correlation between d ( n ) and y ( n ) , solving for w ( n ) in the above equation is complicated, and since U ( n ) is dynamic when the hearing aid is in operation, an iterative approach is used to make W ( n ) approach U ( n ) .
Based on the steepest descent principle, if the AF is iterated with the instantaneous gradient values used in Equation (3) and by normalizing the energy of y ( n ) , then the AF coefficients w ( n + 1 ) at the moment of n + 1 can be expressed as
w ( n + 1 ) = w ( n ) + μ ( n ) e ( n ) y ( n ) y T ( n ) y ( n )
NLMS, NPVSS, etc., are the most common algorithms based on the steepest descent principle. They are differentiated by their selection of μ ( n ) . In the NLMS algorithm, μ ( n ) is a constant, and in the NPVSS algorithm, μ ( n ) can be expressed as [47]:
μ NPVSS ( n ) = 1 σ v ( n ) σ e ( n )
where σ v ( n ) and σ e ( n ) are the square roots of σ v 2 ( n ) and σ e 2 ( n ) , respectively. σ v 2 ( n ) and σ e 2 ( n ) are the powers of v ( n ) and e ( n ) , respectively, where v ( n ) is unknown in practice.

2.2. The Proposed Algorithm

Based on the above theoretical foundation, a PEM-WNPVSS algorithm is proposed in this paper. Although the NPVSS algorithm provides a useful variable step size scheme, there are still some problems that require solving. First, the algorithm is not specifically optimized for closed-loop systems. That is, it does not solve the problem of biased estimation of AFs in hearing aids. Second, the algorithm does not converge fast enough in practical applications, and the robustness is not strong in the steady state. Finally, the algorithm assumes that σ v 2 is known and does not provide a real-time estimation method for it.
For the problem of biased estimation, this paper introduces the PEM to prewhiten d ( n ) and y ( n ) . Regarding issues of low convergence speed and susceptibility to interference, this paper proposes an error weighting mechanism. In addition, an estimation method for σ v 2 is proposed in this paper.
The block diagram of the proposed algorithm is shown in Figure 2, where the signals with the “w” corner marker represent the whitened version of the original signal. W m ( n ) is the mirror filters of W ( n ) , which means they have the same coefficients. In Figure 2, the solid line represents the signal flow, the “dash” line represents the reference to the data, and the “dash-dot” line represents the acoustic signal flow.
The pseudocode of the algorithm is given in Appendix A. The principle and derivation of the algorithm are as follows.

2.2.1. Prewhitening

Since the source signal v ( n ) is usually colored and correlated with the feedback signal f ( n ) , this can cause a bias between W ( n ) and U ( n ) , limiting the system MSG.
PEM is a decorrelation method with low impact on sound quality, which decorrelates d ( n ) and y ( n ) by whitening them. The method is based on the assumption that the sound signal is an autoregressive (AR) process [2,23], i.e., v ( n ) is the output of an all-pole filter H ( n ) with white noise x ( n ) input. Define A ( n ) as the inverse filter of H ( n ) , that is:
H ( n ) A ( n ) = 1
Clearly, A ( n ) is an all-zero filter. Since v ( n ) is correlated with f ( n ) , if A ( n ) can be obtained, A ( n ) can be used to whiten both d ( n ) and y ( n ) . When W ( n ) converges to U ( n ) , e ( n ) converges to v ( n ) , so e ( n ) can be used to model A ( n ) approximately at this time. Since R e e ( n ) , the autocorrelation matrix of e ( n ) , is a Toeplitz matrix, the coefficients a ( n ) of A ( n ) can be obtained by the Levinson–Durbin algorithm.
The pre-whitened signals d w ( n ) and y w ( n ) can be expressed as
d w ( n ) = a T ( n ) d ( n )
y w ( n ) = a T ( n ) y ( n )
where d ( n ) is the vector of d ( n ) and y ( n ) is the vector of y ( n ) . The order of A ( n ) is usually taken as 20, and higher orders do not significantly improve the prewhitening effect but rather attenuate the energy of the signal.

2.2.2. Error Signal Weighting

To improve the resistance of the algorithm to interference, the M-estimate method has been used in some previous studies [35,36,37,38,39,40]. This method uses a modified Huber function to classify the error signal ( e w ( n ) in Figure 2), and the samples of the error signal above the threshold are identified as interference and do not participate in calculating W ( n ) . Although this approach is simple and easy to implement, it suffers from two main drawbacks. One drawback is that the threshold is not adjusted according to the MIS of the AF. In fact, in the convergence stage of the AF, the MIS of W ( n ) is larger, and to ensure the convergence speed of W ( n ) , e w ( n ) should be relatively in a larger range, so there should be a higher threshold during this stage; however, in the steady-state stage, the MIS of W ( n ) is smaller, and to enhance the robustness, the threshold should be appropriately reduced. The other drawback is that the threshold of the method is not easy to determine. If the threshold is too high, it is easy to classify the interference signal as a normal signal, and the algorithm loses its function. If the threshold is too low, it will slow down the AF convergence.
To overcome the drawbacks of M-estimate, a new method, i.e., weighting e w ( n ) by MIS, is proposed here as a replacement for simple classification. In the convergence phase, the MIS is large, so e w ( n ) can be weighted according to the level of MIS, and by doing so, e ( n ) will be scaled up appropriately to obtain faster convergence. In the steady-state phase, the MIS is small, so e w ( n ) can be scaled down to enhance the robustness of the algorithm. However, in practical applications, U ( n ) is unknown; thus, MIS can only be obtained by estimation.
Considering the system shown in Figure 2, its system function can be written as
S ( n ) = G ( n ) 1 + G ( n ) [ W m ( n ) U ( n ) ]
Since W m ( n ) has the same coefficients as W ( n ) , the acoustic feedback residual of this system can be written as
ε ( n ) = f e ( n ) f ( n ) = [ u ( n ) w ( n ) ] T y ( n )
Thus, e ( n ) .
e ( n ) = v ( n ) + ε ( n )
The cross-correlation between e ( n ) and y ( n ) can be written as
r e y , 0 ( n ) = e T ( n ) y ( n ) = ε T ( n ) y ( n ) + v T ( n ) y ( n )
where e ( n ) is the vector of e ( n ) .
It is clear that the magnitude of r e y , 0 ( n ) is determined by both the feedback path (the first term of Equation (12)) and the forward path (the second term). When the AF is not working, S ( n ) is a closed-loop system, so ε ( n ) is repeatedly played back and amplified in the system. Thus, the first term is much larger, resulting in a strong correlation between e ( n ) and y ( n ) . As the iterative process begins, W ( n ) gradually converges to U ( n ) . At this point, the ε ( n ) component in e ( n ) is canceled, and S ( n ) degenerates to G ( n ) , so the correlation between e ( n ) and y ( n ) is caused only by G ( n ) and will be significantly weaker than before. If there is some delay in G ( n ) or if G ( n ) is a nonlinear system, the correlation will be much weaker [18,53]. Based on these factors, the degree of similarity between e ( n ) and y ( n ) characterizes the level of MIS of the AF.
However, Equation (12) is ideal and cannot be applied directly, so we consider the short-time correlation function of e ( n ) and y ( n ) , i.e.,
r e y ( n , k ) = [ e ( n ) h ( n ) ] T [ y ( n k ) h ( n k ) ] = [ ε ( n ) h ( n ) ] T [ y ( n k ) h ( n k ) ] + [ v ( n ) h ( n ) ] T [ y ( n k ) h ( n k ) ]
where k [ 0 , K ] , K is the maximum frame shift of the short-time correlation function and h ( n ) is the time domain window. To avoid chance results, r e y ( n , k ) can be obtained recursively, i.e.,
r e y ( n , k ) = α r e y ( n 1 , k ) + ( 1 α ) [ e ( n ) h ( n ) ] T [ y ( n k ) h ( n k ) ]
where α is the forgetting factor, usually taking a value between 0.9 and 0.999.
Taking the maximum of the absolute values of the K data calculated by the above equation and performing energy normalization yields
R max ( n ) = max k = 0 K 1 | r e y ( n , k ) | | | e ( n ) h ( n ) | | 2 | | y ( n m ) h ( n m ) | | 2
where 2 represents the 2-norm of the vector and m is the index when r e y ( n , k ) takes the maximum value. Notably, Equation (15) represents the short-time energy similarity (STES) between e ( n ) and y ( n ) .
Using the short-time stationary assumption of the sound signal, calculating the mathematical expectation of Equation (15) and abbreviating r e y 2 ( n , m ) , we obtain
R ( n ) = r e y 2 ( n ) N 2 σ e 2 ( n ) σ y 2 ( n )
where N is the width of h ( n ) which can be set to 1 to reduce the complexity of the algorithm. Equation (16) is then used to define the short-time misalignment weighting (STMW):
M ( n ) = β r e y 2 ( n ) N 2 σ e 2 ( n ) σ y 2 ( n )
where β is a weighting factor to adjust the dynamic range of STMW, and the value is related to G ( n ) . When the correlation caused by G ( n ) is small, the dynamic range of the STMW is large, and the value of β is approximately 1. If the correlation caused by G ( n ) is large, the value of β can be increased accordingly. σ e 2 and σ y 2 in Equation (17) can be obtained recursively as follows.
σ e 2 ( n ) = α σ e 2 ( n 1 ) + ( 1 α ) e 2 ( n )
σ y 2 ( n ) = α σ y 2 ( n 1 ) + ( 1 α ) y 2 ( n )
Using STMW to weight e ( n ) , the iterative formula for the coefficients of the proposed algorithm can then be written as
w ( n + 1 ) = w ( n ) + μ NPVSS ( n ) e w ( n ) M ( n ) y w ( n ) y w T ( n ) y w ( n )
To ensure convergence of the AF, the product of μ NPVSS ( n ) and M ( n ) can be constrained to a range.
p min μ NPVSS ( n ) M ( n )     p max
where p max and p min are the maximum and minimum values that the product can take, respectively, with the maximum value generally being 1 and the minimum value being a small positive number.

2.2.3. Power Estimation Method of Source Signal

As mentioned in the introduction, most VSS-NLMS algorithms need a priori information such as σ v 2 when calculating the step size, but in practice, only d ( n ) , e ( n ) and y ( n ) are directly available, so σ v 2 can only be obtained by estimation. An estimation method is given in the literature [29], but it has a high computational complexity and is therefore only suitable for cases where the number of AF taps is relatively small. To reduce the computational complexity of Equation (20), this section proposes an estimation method for σ v 2 ( σ v , w 2 in Figure 2) by reusing STES.
Similar to e ( n ) , e w ( n ) can be rewritten as
e w ( n ) = v w ( n ) + ε w ( n )
Squaring both sides of the above equation and finding the mathematical expectation yields
E [ e w 2 ( n ) ] = E [ v w 2 ( n ) + ε w 2 ( n ) + 2 v w ( n ) ε w ( n ) ] = E [ v w 2 ( n ) ] + E [ ε w 2 ( n ) ] + E [ 2 v w ( n ) [ u ( n ) w ( n ) ] T y w ( n ) ]
Since v w ( n ) and y w ( n ) are effectively decorrelated after prewhitening, the third term in the above equation can be ignored, i.e.,
σ e , w 2 ( n ) = E [ v w 2 ( n ) ] + E [ ε w 2 ( n ) ] = σ v , w 2 ( n ) + σ ε , w 2 ( n )
σ v , w 2 ( n ) = σ e , w 2 ( n ) σ ε , w 2 ( n )
As mentioned in the previous section, R ( n ) mainly reflects the short-time energy similarity between e ( n ) and y ( n ) , so R ( n ) σ e 2 ( n ) represents the energy of the similar part of e ( n ) , and therefore, R ( n ) σ e , w 2 ( n ) represents the energy of the similar part after prewhitening. From Equation (13), when the disorder is large, ε w ( n ) represents the main contribution to the similar part of the energy, and σ ε , w 2 ( n ) can be replaced with R ( n ) σ e , w 2 ( n ) at this time. That is:
σ v , w 2 ( n ) = σ e , w 2 ( n ) R ( n ) σ e , w 2 ( n )
As the filter converges, the degree of similarity is mainly contributed by v w ( n ) , at which point it is necessary to compensate for σ v , w 2 ( n ) in Equation (26). Therefore, σ v , w 2 ( n ) can be obtained using the recursive method:
σ v , w 2 ( n ) = σ e , w 2 ( n ) R ( n ) σ e , w 2 ( n ) + δ σ v , w 2 ( n 1 )
where σ e , w 2 and σ y , w 2 are obtained in the same way as σ e 2 and σ y 2 , respectively, and δ is the compensation factor and can be taken as a value less than 0.1.

3. Algorithm Simulation

3.1. Parameter Setting

In this section, the performance of PEM-WNPVSS is simulated on a computer. The MIS and ASG of the algorithm are tested with nonstationary input signals to evaluate its performance. The results are compared with the performances of NLMS, PEM-NLMS, PEM-IMLMS [23] and CNLMS algorithms [51], where CNLMS is an algorithm that uses a combination of dual AFs. The aspects analyzed include convergence performance, steady-state performance, interference resistance (transient performance), sound quality, and computational complexity.
In the simulation, the speech signal used is D8_752 from the Tsinghua THCHS-30 library, the music signal used is “Summer” by Joe Hisaishi, and the impulse noise used is a section of gas stove ignition sound, as shown in Figure 3. The gain of G ( n ) is 10 dB, and a delay of 1 ms is simulated. Since the performance gap between algorithms can be shown more clearly when the AF is slightly longer, L = 512 is chosen in the simulation. In addition, μ = 0.05 for NLMS and PEM-NLMS, μ 0 = 0.05 for PEM-IMLMS, μ 0 = 0.001 for the small step size of CNLMS, μ 1 = 0.1 for the large step size of CNLMS, and β = 4 , δ = 0.04 , p max = 1 , p min = 10 4 , K = L for PEM-WNPVSS. The window width is 1, the forgetting factor α is 0.999, and the PEM order is 20. The feedback path U ( n ) is switched at the 6 × 104th iteration, i.e., the system to be identified is replaced, but the coefficients of the AF are not cleared. The acoustic feedback paths before and after switching are shown in Figure 4.
In the simulation, we recorded and plotted the MIS and ASG of the five algorithms. Additionally, we analyzed the PESQ scores of each algorithm before becoming unstable, with step increments of 0.5 dB. Where MIS, ASG and PESQ can be explained as follows.
MIS: MIS represents the ability of an algorithm to identify unknown systems; if the coefficient of U ( n ) is u ( n ) , then the MIS is
MIS ( n ) = 10 log 10 w ( n ) u ( n ) 2 u ( n ) 2
ASG: The ASG of an algorithm indicates the additional gain that the algorithm can provide to the hearing aid, which can be introduced by the MSG. The MSG is defined by the maximum error in the frequency domain between the estimated feedback path W ( n ) and the true feedback path U ( n ) . The physical meaning of MSG is the maximum gain that hearing aids can achieve at the threshold where howling is about to occur. They can be calculated as follows [2].
MSG ( n ) = 20 log 10 ( max ω | W ( ω , n ) U ( ω , n ) | )
ASG ( n ) = MSG + 20 log 10 ( max ω | U ( ω , n ) | )
PESQ: PESQ is a standardized objective method for assessing the quality of speech signals. It was developed by the ITU-T (International Telecommunication Union—Telecommunication Standardization Sector) and is defined in ITU-T Recommendation P.862. The method compares a reference (original) signal to a degraded (processed) signal, and calculates a score between 0 and 5.0, with higher scores indicating better speech quality. Studies have shown that PESQ correlates well with other objective metrics, such as the Mean Opinion Score (MOS) in echo cancellation [54], which is based on subjective listening tests.

3.2. Results Analysis

Steady-state performance: As shown in Figure 5 and Figure 6, the steady-state MIS and ASG of the NLMS and CNLMS algorithms demonstrate worse performance and greater variation compared to other algorithms. The poor performance is mainly due to the correlation between y ( n ) and d ( n ) , causing bias in estimating U ( n ) . The greater variation is because the energy of the unwhitened d ( n ) fluctuates more, and therefore, W ( n ) fluctuates as well. The other three algorithms, including the algorithm proposed in this paper, benefit from the PEM, which makes the input signal closer to white noise, and therefore can maintain MIS at a low level and ASG at a high level in the steady state. Among them, the steady-state fluctuations of the algorithms in this paper are smaller than those of PEM-NLMS and PEM-IMLMS because the STMW calculated by Equation (17) is close to zero at steady state, so e w ( n ) is reduced to a very low level after weighting, and therefore, this algorithm is more robust.
Interference resistance: The simulation results presented in Figure 7 demonstrate the transient response of these algorithms to impulse noise. Notably, NLMS and CNLMS exhibit more susceptible to such noise, as evidenced by their large jitter range in ASG and MIS. Although prewhitening filters can provide some whitening and attenuation effects on impulse noise, PEM-NLMS and PEM-IMLMS are still vulnerable to severe energy spikes, which manifest as fluctuations in ASG and MIS with some lag.
In particular, although the proposed algorithm in this paper is also affected by impulse noise, it is able to adjust to steady-state in a timely manner. Additionally, due to the presence of a weighting mechanism, e w ( n ) is reduced when the value of MIS is low, resulting in a relatively smooth overall trend for both the ASG and MIS of this algorithm, demonstrating strong resistance to interference.
Sound quality: As shown in Figure 8, at lower gain levels before reaching the MSG, the two algorithms without using PEM exhibit slightly better PESQ than the other three algorithms. However, as the gain increases, the two algorithms become unstable first, resulting in a sharp decrease in their PESQ to around 1. Because the proposed algorithm in this paper has the highest ASG among these five algorithms, the PESQ of this algorithm is the last to be reduced.
Computational complexity: Computational complexity usually limits the scenarios in which algorithms can be applied. In this paper, the computational complexity of the five algorithms in simulation is measured by the number of operations of addition, multiplication, and division. The Levinson–Durbin algorithm is listed separately as “L-D”, and the results are shown in Table 1.
Although the proposed algorithm has slightly increased complexity compared to PEM-NLMS and PEM-IMLMS, it exhibits improved convergence speed and steady-state robustness. The complexity and the convergence speed of this algorithm are close to those of CNLMS, but this algorithm has higher steady-state robustness, significantly reduced steady-state MIS, and improved ASG.

4. Algorithm Measurement

4.1. Test Environment

We evaluate the proposed algorithm in this section on a hearing aid equipped with Bestechnic’s BES2700 chip, which features a dedicated Cortex-M55 signal processing core and supports vector expansion instructions through Arm Helium technology. This chip provides a speaker reference channel for acoustic feedback cancellation, and the Cortex-M55 can execute the algorithm in real-time. Our test is conducted using a sampling rate of 16 kHz for both ADC and DAC, a sampling depth of 24 bits, and half-precision floating-point numbers for the algorithm. In total, three algorithms, PEM-NLMS, PEM-IMLMS and PEM-WNPVSS, are implemented on the hearing aid. The combination factor of the CNLMS algorithm depends on a priori information of U ( n ) , and the estimation method is not provided in the literature, so it can only be used for simulation.
The parameters set for the algorithms include: μ = 0.01 for PEM-NLMS; μ 0 = 0.01 for PEM-IMLMS; β = 3 , K = L , p max = 0.5 , p min = 10 4 and δ = 0.04 for PEM-WNPVSS; α = 0.999 and L = 128 . All three algorithms use a mirror filter for the calculation of e ( n ) . The order of PEM is 20, and A ( n ) is updated every 256 samples.
The test was performed by placing the hearing aid on a dummy model in a soundproof room shown in Figure 9. An APx555 analyzer is used to record the sound in the dummy ear canal. During the test, the switching of algorithms and the adjustment of parameters are controlled via Bluetooth using a smartphone. The app interface is shown in Figure 10.
During the test, the energy and sound pressure level (SPL) are obtained as follows: first, the hearing aid parameters are adjusted using a smartphone app, and then the audio in the ear canal of the dummy is recorded using an APx555 analyzer. The recorded audio data is first squared and then moving averaged to obtain an energy curve. The energy curve is converted to SPL according to the sensitivity of the microphone in the ear canal. In addition, the corresponding software of APx555 allows for real-time audio observation.

4.2. Test Methods and Results

The evaluation metrics considered in this study include convergence performance, steady-state performance, interference resistance, power consumption (computational complexity), sound quality, and system latency. Specifically, the steady-state performance metrics include both MSG and acoustic feedback residual (i.e., MIS), which are used to evaluate the audio performance of the system in steady state.
Convergence performance test: During the test, the gain of the hearing aid is increased from 0 dB to 30 dB, during which the hearing aid produces howling, followed by the howling disappearing. The duration of the howling is counted to analyze the convergence performance.
Steady-state performance test: In this test, speech and music are played through the speaker at approximately 60 dB SPL. During the convergence phase of the AF, the hearing aid produces whistling. After the whistling disappears for some time, we fix the coefficients. The MSG is then obtained by continuously adjusting the gain. The acoustic feedback residual is tested by playing white noise at approximately 30 dB SPL and adjusting the hearing aid gain to 30 dB.
Interference resistance test: To conduct the test, white noise at 30 dB SPL is played through the speaker, while the AF is continuously iterated. Since white noise is completely random and contains various frequency components, continuous iterations can reflect the algorithm’s transient performance. During the test, the standard deviation of the acoustic feedback residual is recorded to measure the anti-interference performance of the device. The smaller the standard deviation is, the better the resistance to interference.
Power consumption test: We measure the power consumption of the entire machine using a Keysight N6705B. To perform this test, we use the DC output of the instrument, providing a voltage of 3.7 V, instead of a battery. The test is conducted for 30 s, and we take the average power consumption as the final result.
Sound quality test: To test the sound quality, the simultaneous playback and recording feature of the APx555 is used. This means that the microphone records while the speaker plays a sound. The recorded sound is scored based on the played sound. The sound quality of the three algorithms is tested using the speech and music in Figure 3 at low, medium, and high gain, respectively. The AF coefficients are fixed during the test.
The specific experimental results are shown in Table 2 and Table 3.

4.3. Results Discussion

Convergence performance: From the results presented in Table 2, when the input signal is speech, the convergence speed of PEM-WNPVSS is improved by 32.23% compared to PEM-IMLMS and 63.22% compared to PEM-NLMS. The convergence speed of PEM-WNPVSS is improved by 42.89% and 61.84%, respectively, compared to PEM-IMLMS and PEM-NLMS when the input signal is music.
PEM-IMLMS has a variable step size, which allows it to maintain a large step size in the convergence phase and thus achieves a shorter convergence time than PEM-NLMS. However, according to Equation (20), the algorithm proposed in this paper not only bears a variable step size but also has an error weighting mechanism, thus achieving the fastest convergence speed among the three algorithms. In the convergence stage, the MIS of the AF is large, so the STMW estimated by Equation (17) is also large, so the error signal has a higher weight, so the AF can be adjusted to the steady state faster than PEM-IMLMS.
Steady-state performance: From Table 2, the SPL of the feedback residual for PEM-WNPVSS is approximately 3 dB SPL lower than that of the PEM-IMLMS algorithm and approximately 7 dB SPL lower than that of the PEM-NLMS algorithm. The MSG is improved by approximately 2.5 dB and 8.5 dB, respectively.
The step size of PEM-IMLMS is variable and is small at steady state, so W ( n ) is less prone to oscillation, and therefore, the level of acoustic feedback is lower and the MSG is higher compared to PEM-NLMS. In particular, since the MIS of the AF is small at steady state, the STMW calculated by Equation (17) proposed in this paper will also be small, so e w ( n ) has a lower weight and is reduced. Thus, the weighting mechanism helps the AF to stabilize better at steady state, so this algorithm has a lower residual level and a higher MSG than PEM-IMLMS.
Interference resistance: At steady state, the SPL jitter range is approximately 3.97 dB SPL for PEM-NLMS, 1.89 dB SPL for PEM-IMLMS, and 1.56 dB SPL for PEM-WNPVSS. The interference resistance of PEM-WNPVSS is improved by 60.65% over PEM-NLMS and 16.93% over PEM-IMLMS.
PEM-IMLMS and PEM-WNPVSS have a smaller step size at steady state, so the interference resistance is higher than that of PEM-NLMS. In particular, PEM-WNPVSS benefits not only from the variable step size but also from the weighting mechanism, so that the jitter in e w ( n ) introduced by d ( n ) is effectively reduced after being weighted by the STMW, and thus, the stability is improved compared with PEM-IMLMS.
Power consumption: From Table 2, the net power of PEM-NLMS, PEM-IMLMS and PEM-WNPVSS are 2.32 mW, 1.91 mW and 2.76 mW, respectively. The net power confirms the complexity in Table 1. Although the power and the complexity are not strictly proportional, this is mainly due to the presence of the PEM and other program logic, which generates additional power consumption. Compared to the base power, the increase in power due to the increased complexity of the algorithms has little effect on the hearing aid.
Sound quality: As shown in Table 3, the PESQ score without the algorithm is approximately 3.6, which is lower than the simulation results by approximately 1. This difference is primarily due to variations in the audio signal as it passes through different components, such as speakers, microphones, and hearing aids, as well as environmental factors, including acoustics path and background noise. Although the sound remains clear, the deviation from the original audio leads to a lower PESQ score. In addition, the application of different algorithms can lead to varying degrees of degradation in PESQ scores. The measured results presented in Table 3 demonstrate good agreement with the simulation results in terms of overall trend.

5. Conclusions

Based on the NPVSS algorithm, this paper innovatively proposes a PEM-WNPVSS algorithm with error weighting, which exhibits high robustness and can balance convergence speed and steady-state performance.
First, inspired by M-estimate, this paper uses the STMW to weight the error signal of the AF, which effectively enhances the steady-state resistance of the algorithm to interference while improving the convergence speed. Then, to control the complexity of the algorithm, a new method for power estimation of source signal is proposed by reusing the STES, thus achieving a low-complexity step size calculation method. In addition, to make the algorithm more suitable for hearing aid scenarios, the PEM is used to reduce the bias of the AF for acoustic feedback path estimation.
Computer simulation results show that the proposed algorithm achieves higher MSG, faster convergence and lower MIS than PEM-NLMS, PEM-IMLMS and CNLMS, which are also based on NLMS, when the input signal is nonstationary speech or a music signal. In addition, the proposed algorithm demonstrates higher interference resistance when processing impulsive noise. The proposed algorithm maintains better performance without significant degradation in sound quality and even shows better sound quality at high gain. The results of tests in real hearing aids agree with the simulation results. The new algorithm achieves better performance and greater robustness without a significant increase in complexity and can provide timely and effective cancellation of acoustic feedback.
Future work will focus on investigating the relationship between the STMW and the MIS of the AF to further explore the performance of the weighting mechanism since the STMW may not be linearly related to the real MIS of the AF.

Author Contributions

Conceptualization, Y.Y.; Data curation, Y.Y. and F.C.; Formal analysis, Y.Y.; Funding acquisition, F.C.; Investigation, Y.Y.; Methodology, Y.Y.; Project administration, F.C.; Software, Y.Y.; Supervision, F.C.; Validation, F.C.; Visualization, Y.Y.; Writing—original draft, Y.Y.; Writing—review & editing, F.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the National Key Research and Development Program of China, grant number 2016YFA0202201; and Shenzhen Science and Technology Plan, grant number No.JSGG20191129141019090, No.JCYJ20210324115610028, and No.JSGG20210713091808027.

Data Availability Statement

Publicly available datasets were analyzed in this study. THCHS-30 can be found here: http://www.openslr.org/18/, accessed on 10 January 2023.

Acknowledgments

Thanks to Shenzhen Eartech Company Limited for providing the development hardware, dummy model, experimental instruments and soundproof room environment.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Algorithm A1. PEM-WNPVSS
Input:  d ( n ) ,   y ( n )
Output:  e ( n )
Initialization:  a ( 0 ) = [ 1 , 0 , ... , 0 ] ,   w ( 0 ) = 0 , σ v , w 2 ( n 1 ) = 0 .
Parameters: M is the length of a ( n ) , L is the length of w ( n ) . λ > 0 is a small positive number to prevent the denominator from being zero. p max is the upper limit, p min is the lower limit. N = 1 , α is the forgetting factor, β is the scaling factor, and δ is the compensation factor.
Begin Algorithm:
For each iteration n do
PEM:
   d w ( n ) = i = 0 N 1 a i ( n ) d ( n i ) ,
   y w ( n ) = i = 0 N 1 a i ( n ) y ( n i ) ,
   e w ( n ) = d w ( n ) i = 0 L 1 w i ( n ) y w ( n i ) .
Energy calculate:
   σ e 2 ( n ) = α σ e 2 ( n 1 ) + ( 1 α ) e 2 ( n ) ,
   σ y 2 ( n ) = α σ y 2 ( n 1 ) + ( 1 α ) y 2 ( n ) ,
   σ e , w 2 ( n ) = α σ e , w 2 ( n 1 ) + ( 1 α ) e w 2 ( n ) ,
   σ y , w 2 ( n ) = α σ y , w 2 ( n 1 ) + ( 1 α ) y w 2 ( n ) .
Step size and weighting calculate:
 For i = 0 to L-1 do
     r e y , i ( n ) = α r e y , i ( n 1 ) + ( 1 α ) y w ( n i ) e ( n ) .
 End
   r e y , max ( n ) = max i = 0 L 1 ( | r e y , i ( n ) | ) ,
   R ( n ) = r e y , max 2 ( n ) σ e 2 ( n ) σ y 2 ( n ) + δ ,
   σ v , w 2 ( n ) = σ e , w 2 ( n ) R ( n ) σ e , w 2 ( n ) + δ σ v , w 2 ( n 1 ) ,
   p ( n ) = β R ( n ) ( 1 σ v , w ( n ) σ e , w ( n ) + λ ) .
   p ( n ) = min ( p max , max ( p ( n ) , p min ) ) .
Adaption of w ( n ) :
 For i = 0 to L-1 do
     w i ( n ) = w i ( n 1 ) + p ( n ) e w ( n ) y w ( n i ) y w T ( n ) y w ( n ) + λ ,
 End
Update of a ( n ) :
 If mod(n,256) == 0 do
     a ( n ) =   Levinson - Durbin   ( [ e ( n ) , e ( n 1 ) , ... , e ( n M + 1 ) ] ) ,
 End
Shadow filter:
   e ( n ) = d ( n ) i = 0 L 1 w i ( n ) y ( n i ) .
End

References

  1. Van Waterschoot, T.; Moonen, M. Fifty Years of Acoustic Feedback Control: State of the Art and Future Challenges. Proc. IEEE 2011, 99, 288–327. [Google Scholar] [CrossRef]
  2. Wang, G.Z.; Liu, Q.L.; Wang, W. Adaptive feedback cancellation with prediction error method and howling suppression in train public address system. Signal Process. 2020, 167, 107279. [Google Scholar] [CrossRef]
  3. Bispo, B.C.; Freitas, D. Performance Evaluation of Acoustic Feedback Cancellation Methods in Single-Microphone and Multiple-Loudspeakers Public Address Systems. In Proceedings of the 11th International Joint Conference on E-Business and Telecommunications (ICETE), Vienna, Austria, 28–30 August 2014; pp. 473–495. [Google Scholar] [CrossRef]
  4. Aslam, M.S.; Shi, P.; Lim, C.C. Self-adapting variable step size strategies for active noise control systems with acoustic feedback. Automatica 2021, 123, 109354. [Google Scholar] [CrossRef]
  5. An, F.Y.; Cao, Y.; Wu, M.; Sun, H.L.; Liu, B.L.; Yang, J. Robust Wiener controller design with acoustic feedback for active noise control systems. J. Acoust. Soc. Am. 2019, 145, 291–296. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Ahmed, S.; Akhta, M.T.; Zhang, X. Variable step-size based-adaptive algorithm for acoustic feedback cancellation during online operation of ANC systems. In Proceedings of the IEEE China Summit & International Conference on Signal and Information Processing, Chengdu, China, 12–15 July 2015; pp. 74–78. [Google Scholar]
  7. Vanitha Devi, R.; Vasundhara. Review on Recent Advances in Hearing Aids: A Signal Processing Perspective. In Proceedings of the International Conference on Paradigms of Computing, Communication and Data Sciences, Singapore, 24 February 2023; pp. 225–240. [Google Scholar] [CrossRef]
  8. Patel, K.; Panahi, I.M.S. Efficient Real-Time Acoustic Feedback Cancellation using Adaptive Noise Injection Algorithm. In Proceedings of the 42nd Annual International Conference of the IEEE-Engineering-in-Medicine-and-Biology-Society (EMBC), Montreal, QC, Canada, 20–24 July 2020; pp. 972–975. [Google Scholar]
  9. Mishra, P.; Tokgoz, S.; Panahi, I.M.S. Robust real-time implementation of adaptive feedback cancellation using noise injection algorithm on smartphone. In Proceedings of the 175th Meeting of the Acoustical Society of America, Minneapolis, MN, USA, 7–11 May 2018; p. 055003. [Google Scholar] [CrossRef] [Green Version]
  10. Akhtar, M.T.; Nishihara, A. Automatic Tuning of Probe Noise for Continuous Acoustic Feedback Cancelation in Hearing Aids. In Proceedings of the 24th European Signal Processing Conference (EUSIPCO), Budapest, Hungary, 28 August–2 September 2016; pp. 888–892. [Google Scholar]
  11. Mishra, P.; Tokgoz, S.; Panahi, I.M.S. Efficient Modeling of Acoustic Feedback Path in Hearing Aids by Voice Activity Detector-Supervised Multiple Noise Injections. In Proceedings of the 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA, 18–21 July 2018; p. 8513007. [Google Scholar] [CrossRef]
  12. Akhtar, M.T.; Nishihara, A. Two-adaptive filter-based method using gain controlled probe noise for acoustic feedback neutralization in digital hearing aids. In Proceedings of the 16th International Workshop on Acoustic Signal Enhancement (IWAENC), Tokyo, Japan, 17–20 September 2018; pp. 176–180. [Google Scholar]
  13. Schepker, H.; Nordholm, S.; Doclo, S. Acoustic Feedback Suppression for Multi-Microphone Hearing Devices Using a Soft-Constrained Null-Steering Beamformer. IEEE-ACM Trans. Audio Speech Lang. 2020, 28, 929–940. [Google Scholar] [CrossRef]
  14. Schepker, H.; Tran, L.T.T.; Nordholm, S.E.; Doclo, S. Acoustic feedback cancellation for hearing aids using a fixed RTF-Constrained null-steering beamformer. In Proceedings of the 16th International Workshop on Acoustic Signal Enhancement (IWAENC), Tokyo, Japan, 17–20 September 2018; pp. 431–435. [Google Scholar]
  15. Bhattacharjee, S.S.; George, N.V. Fast and efficient acoustic feedback cancellation based on low rank approximation. Signal Process. 2021, 182, 107984. [Google Scholar] [CrossRef]
  16. Siqueira, M.G.; Alwan, A. Steady-state analysis of continuous adaptation in acoustic feedback reduction systems for hearing-aids. IEEE Trans. Speech Audio Process. 2000, 8, 443–453. [Google Scholar] [CrossRef] [Green Version]
  17. Akhtar, M.T.; Nishihara, A. On Delay-Based Technique for Acoustic Feedback Cancellation in Digital Hearing Aids. In Proceedings of the IEEE 56th International Midwest Symposium on Circuits and Systems (MWSCAS), Columbus, OH, USA, 4–7 August 2013; pp. 983–986. [Google Scholar]
  18. Guo, M.; Jensen, S.H.; Jensen, J.; Grant, S.L. On the use of a phase modulation method for decorrelation in acoustic feedback cancellation. In Proceedings of the European Signal Processing Conference, Bucharest, Romania, 27–31 August 2012; pp. 2000–2004. [Google Scholar]
  19. Lee, C.H.; Chen, K.L.; Harris, F.; Rao, B.D.; Garudadri, H. On Mitigating Acoustic Feedback in Hearing Aids with Frequency Warping by All-Pass Networks. In Proceedings of the Interspeech Conference, Graz, Austria, 15–19 September 2019; pp. 4245–4249. [Google Scholar] [CrossRef] [Green Version]
  20. Hashemgeloogerdi, S.; Bocko, M.F. Adaptive Feedback Cancellation in Hearing Aids Based on Orthonormal Basis Functions with Prediction-Error Method Based Prewhitening. IEEE-ACM Trans. Audio Speech Lang. 2020, 28, 1260–1269. [Google Scholar] [CrossRef]
  21. Tran, L.T.T.; Nordholm, S.E.; Schepker, H.; Dam, H.H.; Doclo, S. Two-Microphone Hearing Aids Using Prediction Error Method for Adaptive Feedback Control. IEEE-ACM Trans. Audio Speech Lang. 2018, 26, 909–923. [Google Scholar] [CrossRef]
  22. Bernardi, G.; Van Waterschoot, T.; Wouters, J.; Moonen, M. Adaptive Feedback Cancellation Using a Partitioned-Block Frequency-Domain Kalman Filter Approach With PEM-Based Signal Prewhitening. IEEE-ACM Trans. Audio Speech Lang. 2017, 25, 1480–1494. [Google Scholar] [CrossRef]
  23. Liu, J.; Liu, Q.; Wang, W.; Wang, X.L. An Improved MLMS Algorithm with Prediction Error Method for Adaptive Feedback Cancellation. In Proceedings of the 2021 International Conference on Security, Pattern Analysis, and Cybernetics (SPAC), Chengdu, China, 18–20 June 2021; pp. 397–401. [Google Scholar] [CrossRef]
  24. Spriet, A.; Proudler, I.; Moonen, M. Adaptive feedback cancellation in hearing aids with linear prediction of the desired signal. IEEE Trans. Signal Process. 2005, 53, 3749–3763. [Google Scholar] [CrossRef]
  25. Prasad, S.S.; Rao, C.B.R. Optimal Step-Size Technique for Frequency-Domain and Partition-Block Adaptive Filters for PEM based Acoustic Feedback Cancellation. Def. Sci. J. 2022, 72, 742–752. [Google Scholar] [CrossRef]
  26. Tran, L.T.T.; Dam, H.H.; Nordholm, S.E. Affine projection algorithm for acoustic feedback cancellation using prediction error method in hearing aids. In Proceedings of the 15th International Workshop on Acoustic Signal Enhancement (IWAENC), Xian, China, 13–16 September 2016; pp. 1–5. [Google Scholar] [CrossRef]
  27. Okhassov, T.; Jamwal, P.K.; Akhtar, M.T. Cost-Effective Proportionate Affine Projection Algorithm with Variable Parameters for Acoustic Feedback Cancellation. In Proceedings of the 2021 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC), Tokyo, Japan, 14–17 December 2021; pp. 416–422. [Google Scholar]
  28. Tran, L.T.T.; Nordholm, S.E. A Switched Algorithm for Adaptive Feedback Cancellation Using Pre-Filters in Hearing Aids. Audiol. Res. 2021, 11, 389–409. [Google Scholar] [CrossRef] [PubMed]
  29. Strasser, F.; Puder, H. Adaptive Feedback Cancellation for Realistic Hearing Aid Applications. IEEE-ACM Trans. Audio Speech Lang. 2015, 23, 2322–2333. [Google Scholar] [CrossRef]
  30. Yu, Y.; Yang, T.; Chen, H.Y.; de Lamare, R.C.; Li, Y.S. Sparsity-aware SSAF algorithm with individual weighting factors: Performance analysis and improvements in acoustic echo cancellation. Signal Process. 2020, 178, 107806. [Google Scholar] [CrossRef]
  31. Huo, Y.L.; Ding, R.B.; Qi, Y.F.; Tuo, L.H. An Improved Sign Subband Adaptive Filter Algorithm. Circuits Syst. Signal Process. 2022, 41, 7101–7116. [Google Scholar] [CrossRef]
  32. Yu, Y.; Zhao, H.Q. Novel sign subband adaptive filter algorithms with individual weighting factors. Signal Process. 2016, 122, 14–23. [Google Scholar] [CrossRef] [Green Version]
  33. Li, S.J.; Jin, G.Y.; Chen, Y.K.; Ye, T.G. An active impulsive noise control algorithm with a post-adaptive filter and variable step size. J. Acoust. Soc. Am. 2021, 150, 3238–3250. [Google Scholar] [CrossRef] [PubMed]
  34. Luo, Z.Y.; Zhou, J.L.; Pu, Y.F. A Widely Linear Complex-Valued Affine Projection Sign Algorithm with Its Steady-State Mean-Square Analysis. Circuits Syst. Signal Process. 2022, 41, 3446–3464. [Google Scholar] [CrossRef]
  35. Vasundhara. Robust filtering employing bias compensated M-estimate affine-projection-like algorithm. Electron. Lett. 2020, 56, 241–242. [Google Scholar] [CrossRef]
  36. He, H.S.; Chen, J.D.; Benesty, J.; Yu, Y. Robust recursive least M-estimate adaptive filter for the identification of low-rank acoustic systems. In Proceedings of the 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2021), Toronto, Canada, 6–11 June 2021; pp. 940–944. [Google Scholar] [CrossRef]
  37. Yu, T.; Li, W.Q.; de Lamare, R.C.; Yu, Y. M-estimate affine projection spline adaptive filtering algorithm: Analysis and implementation. Digit. Signal Prog. 2022, 123, 103452. [Google Scholar] [CrossRef]
  38. Wang, G.; Zhao, H.Q. Robust Adaptive Least Mean M-Estimate Algorithm for Censored Regression. IEEE Trans. Syst. Man Cybern. -Syst. 2022, 52, 5165–5174. [Google Scholar] [CrossRef]
  39. Yu, Y.; He, H.S.; Chen, B.D.; Li, J.H.; Zhang, Y.W.; Lu, L. M-Estimate Based Normalized Subband Adaptive Filter Algorithm: Performance Analysis and Improvements. IEEE-ACM Trans. Audio Speech Lang. 2020, 28, 225–239. [Google Scholar] [CrossRef] [Green Version]
  40. Vasundhara. Sparsity aware affine-projection-like filtering integrated with robust set membership and M-estimate approach for acoustic feedback cancellation in hearing aids. Appl. Acoust. 2021, 175, 107778. [Google Scholar] [CrossRef]
  41. Vasundhara; Panda, G.; Puhan, N.B. A new evolving-update-based feedback cancellation scheme for hearing aids. Signal Image Video Process. 2018, 12, 731–738. [Google Scholar] [CrossRef]
  42. Niu, Z.; Gao, Y.; Xu, J.; Ou, S. Switching Mechanism on the Order of Affine Projection Algorithm. Electronics 2022, 11, 3698. [Google Scholar] [CrossRef]
  43. Vasundhara. Re-weighted zero attracting adaptive exponential FLAF with maximum correntropy criterion for robust sparse nonlinear system identification. Digit. Signal Prog. 2022, 130, 103664. [Google Scholar] [CrossRef]
  44. Pradhan, S.; Qiu, X.; Ji, J. A Variable Step Size Improved Multiband-Structured Subband Adaptive Feedback Cancellation Scheme for Hearing Aids. In Proceedings of the 2020 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC), Auckland, New Zealand, 7–10 December 2020; pp. 681–685. [Google Scholar]
  45. Pradhan, S.; Patel, V.; Somani, D.; George, N.V. An Improved Proportionate Delayless Multiband-Structured Subband Adaptive Feedback Canceller for Digital Hearing Aids. IEEE-ACM Trans. Audio Speech Lang. 2017, 25, 1633–1643. [Google Scholar] [CrossRef]
  46. Chao, P.; Wang, B.; Zhu, Y.; Zhu, B. Variable Step Size Least Mean p-Power Algorithm Based on Improved Softsign Function. In Proceedings of the 2022 IEEE 5th International Conference on Electronic Information and Communication Technology, Hefei, China, 21–23 August 2022; pp. 947–952. [Google Scholar] [CrossRef]
  47. Benesty, J.; Rey, H.; Vega, L.R.; Tressens, S. A Nonparametric VSS NLMS Algorithm. IEEE Signal Process. Lett. 2006, 13, 581–584. [Google Scholar] [CrossRef]
  48. Rotaru, M.; Albu, F.; Coanda, H. A Variable Step Size Modified Decorrelated NLMS Algorithm for Adaptive Feedback Cancellation in Hearing Aids. In Proceedings of the 10th International Symposium on Electronics and Telecommunications (ISETC), Timisoara, Romania, 15–16 November 2012; pp. 263–266. [Google Scholar] [CrossRef]
  49. Shen, H.; Zhang, L.H. A new variable step-size algorithm on acoustic feedback suppression for digital hearing aids. In Proceedings of the 2014 International Conference on Audio, Language and Image Processing, Shanghai, China, 7–9 July 2014; pp. 171–175. [Google Scholar] [CrossRef]
  50. Akhtar, M.T.; Albu, F.; Nishihara, A. Maximum Versoria-criterion (MVC)-based adaptive filtering method for mitigating acoustic feedback in hearing-aid devices. Appl. Acoust. 2021, 181, 108156. [Google Scholar] [CrossRef]
  51. Vanamadi, R.; Kar, A. Feedback cancellation in digital hearing aids using convex combination of proportionate adaptive algorithms. Appl. Acoust. 2021, 182, 108175. [Google Scholar] [CrossRef]
  52. Pichardo, E.; Vázquez, Á.; Anides, E.R.; Sánchez, J.C.; Perez, H.; Avalos, J.G.; Sánchez, G. A Dual Adaptive Filter Spike-Based Hardware Architecture for Implementation of a New Active Noise Control Structure. Electronics 2021, 10, 1945. [Google Scholar] [CrossRef]
  53. Cao, H.; Liu, J.; Zhang, W. A Combined De-correlation Method for Acoustic Feedback Cancellation in Hearing Aids. In Proceedings of the 2009 WRI World Congress on Computer Science and Information Engineering, Los Angeles, CA, USA, 31 March–2 April 2009; pp. 220–224. [Google Scholar] [CrossRef]
  54. Musch, H. Subjective Rating and PESQ Prediction of Listener Echo and Duplex Impairments. J. Audio Eng. Soc. 2019, 67, 124–134. [Google Scholar] [CrossRef]
Figure 1. Schematic of AF-based acoustic feedback cancellation.
Figure 1. Schematic of AF-based acoustic feedback cancellation.
Electronics 12 01528 g001
Figure 2. Schematic diagram of PEM-WNPVSS.
Figure 2. Schematic diagram of PEM-WNPVSS.
Electronics 12 01528 g002
Figure 3. Audio signal for simulation: (a) speech; (b) music; (c) impulse noise.
Figure 3. Audio signal for simulation: (a) speech; (b) music; (c) impulse noise.
Electronics 12 01528 g003
Figure 4. Acoustic feedback path: (a) frequency response (before switching); (b) frequency response (after switching); (c) impulse response (before switching); (d) impulse response (after switching).
Figure 4. Acoustic feedback path: (a) frequency response (before switching); (b) frequency response (after switching); (c) impulse response (before switching); (d) impulse response (after switching).
Electronics 12 01528 g004
Figure 5. Performance of five algorithms with speech input: (a) MIS; (b) ASG.
Figure 5. Performance of five algorithms with speech input: (a) MIS; (b) ASG.
Electronics 12 01528 g005
Figure 6. Performance of five algorithms with music input: (a) MIS; (b) ASG.
Figure 6. Performance of five algorithms with music input: (a) MIS; (b) ASG.
Electronics 12 01528 g006
Figure 7. Performance of five algorithms with an impulse noise input: (a) MIS; (b) ASG.
Figure 7. Performance of five algorithms with an impulse noise input: (a) MIS; (b) ASG.
Electronics 12 01528 g007
Figure 8. PESQ score of five algorithms when the inputs are: (a) speech; (b) music.
Figure 8. PESQ score of five algorithms when the inputs are: (a) speech; (b) music.
Electronics 12 01528 g008
Figure 9. Performance test scenario for acoustic feedback cancellation.
Figure 9. Performance test scenario for acoustic feedback cancellation.
Electronics 12 01528 g009
Figure 10. App interface for algorithm parameter adjustment.
Figure 10. App interface for algorithm parameter adjustment.
Electronics 12 01528 g010
Table 1. Computational complexity of the five algorithms in simulation.
Table 1. Computational complexity of the five algorithms in simulation.
AlgorithmMultiplicationAdditionDivisionL-D
NLMS3L + 13L1No
PEM-NLMS4L + 2N + 14L + 2N - 21Yes
PEM-IMLMS3L + 2N + 143L + 2N + 33Yes
CNLMS6L + 33L + 22No
PEM-WNPVSS5L + 2N + 215L + 2N + 73Yes
Table 2. Acoustic feedback cancellation performance of the three algorithms.
Table 2. Acoustic feedback cancellation performance of the three algorithms.
AlgorithmConvergence Time (s)Acoustic Feedback Residual (dB SPL)MSG
(dB)
Interference Resistance
(dB SPL)
Latency
(ms)
Power
(mW)
SpeechMusicSpeechMusicSpeechMusic
None22.322.311.526.71
PEM-NLMS0.5030.62186.48285.50826.529.43.9711.629.03
PEM-IMLMS0.2730.41581.67581.95032.835.01.8911.628.62
PEM-WNPVSS0.1850.23779.04478.73835.137.81.5611.629.47
Table 3. PESQ score of the three algorithms.
Table 3. PESQ score of the three algorithms.
AlgorithmSpeechMusic
10 dB20 dB30 dB10 dB20 dB30 dB
None3.5233.0321.0363.6403.0251.019
PEM-NLMS3.3873.2011.5173.3683.1451.806
PEM-IMLMS3.3493.2962.8393.3373.1822.814
PEM-WNPVSS3.3213.3143.0353.3183.1742.835
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yin, Y.; Chen, F. Acoustic Feedback Cancellation Algorithm for Hearing Aids Based on a Weighted Error Adaptive Filter. Electronics 2023, 12, 1528. https://doi.org/10.3390/electronics12071528

AMA Style

Yin Y, Chen F. Acoustic Feedback Cancellation Algorithm for Hearing Aids Based on a Weighted Error Adaptive Filter. Electronics. 2023; 12(7):1528. https://doi.org/10.3390/electronics12071528

Chicago/Turabian Style

Yin, Yunchao, and Fei Chen. 2023. "Acoustic Feedback Cancellation Algorithm for Hearing Aids Based on a Weighted Error Adaptive Filter" Electronics 12, no. 7: 1528. https://doi.org/10.3390/electronics12071528

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