1. Field of the Invention
The present invention relates generally to digital signal processing techniques, and particularly to an adaptive filter for system identification that uses a modified least mean squares algorithm with a variable step-size for fast convergence while preserving reasonable precision when the unknown system has sparse input.
2. Description of the Related Art
In many electronic circuits, it is necessary to process an input signal through a filter to obtain the desired signal, e.g., to remove noise. The filter implements a transfer function. When the coefficients remain unchanged, the filter is static, and always processes the input signal in the same manner. However, in some applications it is desirable to dynamically change the transfer function in order to produce an output signal that is closer to the desired signal. This is accomplished by using an adaptive filter that compares the output signal of the filter to a reference signal that is an estimate of the desired signal, producing an error signal that is fed back and used to alter the coefficients of the transfer function. Adaptive filters are commonly implemented by digital signal processors, although they may also be implemented by an application specific integrated circuit (ASIC) or by field programmable gate arrays (FPGAs). Adaptive filters are used in a variety of applications, including channel estimation, noise cancellation, system identification, echo cancellation in audio and network systems, and signal prediction, to name a few.
In system identification applications, the goal is to specify the parameters of an unknown system model on the basis of measurements of the input signal and output response signals of the unknown system, which are used to generate error signals that adjust the adaptive filter to more closely correlate with the unknown system model. System identification refers to the process of learning more about the unknown system with each input-output cycle and adjusting the adaptive filter to incorporate the newly acquired knowledge about the unknown system.
Adaptive filters use a variety of algorithms in the feedback loop to recalculate and update the coefficients of the transfer function. One of the most commonly used algorithms is the least mean square (LMS) algorithm, which is easy to implement and generally produces a reasonably accurate output signal. The LMS algorithm, also known as the stochastic gradient algorithm, was introduced by Widrow and Huff around 1960, and basically provides that adjustments should be made at each sample time t according to:
h
t+1
=h
t+2μetxt (1)
where h is a vector of the filter coefficients, e is the error signal, x is the input signal, and μ is a step size. The step size μ is usually chosen to be between 0 and 1. From equation (1), both the speed of convergence and the error in the adjustment are both proportional to μ. This results in a trade-off. The greater the value of μ, the faster the convergence, but the greater the adjustment error. On the other hand, the smaller the value of μ, the slower the convergence, but the closer the correlation to the unknown system. Both convergence time and the total maladjustment may also be affected by the length of the filter.
In system identification, the balance between convergence time and total maladjustment may also be affected by the quality of the unknown system. When the unknown system is sparse, i.e., the energy of the signal is of relatively short duration compared to the length of the signal, many of the filter coefficients (tap weights controlling the magnitude each tap contributes to the output signal) will be zero or close to zero. Many attempts have been made to modify the LMS algorithm to exploit the sparseness of the system to produce faster convergence.
An algorithm recently proposed by Yilun Chen et al. in “Sparse LMS for System Identification”, Proc. of ICASSP '09 (2009), pp. 3125-3128, (the contents of which are hereby incorporated by reference in their entirety) referred to as the Reweighted Zero-Attracting LMS (RZA-LMS) algorithm, improves the performance of the LMS algorithm in system identification of sparse systems. However, the algorithm requires the use of a very small value of step size in order to converge. There continues to be a need for improved adjustment in the step size in algorithms used by adaptive filters for system identification.
Thus, an adaptive filter for system identification solving the aforementioned problems is desired.
The adaptive filter for system identification is an adaptive filter that uses an algorithm in the feedback loop that is designed to provide better performance when the unknown system model has sparse input, i.e., when the filter has only a few non-zero coefficients, such as digital TV transmission channels and echo paths. In a first embodiment, the algorithm is the Normalized Least Mean Square (NLMS) algorithm in which the filter coefficients are updated at each iteration according to:
where the step size μ is varied according to μ(i+1)=αμ(i)+γ|e(i)|. In a second embodiment, the algorithm is a Reweighted Zero Attracting LMS (RZA-LMS) algorithm in which the filter coefficients are updated at each iteration according to:
where the step size u is varied according to μ(i+1)=αμ(i)+γ|e(i)|. The adaptive filter may be implemented on a digital signal processor (DSP), an ASIC, or by FPGAs.
These and other features of the present invention will become readily apparent upon further review of the following specification.
Similar reference characters denote corresponding features consistently throughout the attached drawings.
The adaptive filter for system identification is an adaptive filter that uses an algorithm in the feedback loop that is designed to provide better performance when the unknown system model has sparse input, i.e., when the filter has only a few non-zero coefficients, such as digital TV transmission channels and echo paths. In a first embodiment, the algorithm is the Normalized Least Mean Square (NLMS) algorithm in which the filter coefficients are updated at each iteration according to:
where the step size μ is varied according to μ(i+1)=αμ(i)+γ|e(i)|. In a second embodiment, the algorithm is a Reweighted Zero Attracting LMS (RZA-LMS) algorithm in which the filter coefficients are updated at each iteration according to:
where the step size μ is varied according to μ(i+1)=αμ(i)+γ|e(i)|. The adaptive filter may be implemented on a digital signal processor (DSP), an ASIC, or by FPGAs.
In the configuration shown in
In a first embodiment, the algorithm applied by the algorithm unit 20 is a variation of the normalized least mean squares (NLMS) algorithm. Given the input row vector, u(i), to an unknown system, defined by a column vector wo of lengthM, then the output of the system, d(i),is given by:
d(i)=u(i)wo+ν(i), (2)
where i is the time index and ν(i) is the added noise. If the estimate at any time instant i, of wo, is denoted by the vector w(i), then the estimation error is given by:
e(i)=d(i)−u(i)w(i) (3)
The conventional normalized LMS (NLMS) algorithm is then given by:
where T and |.| denote transposition and the Euclidean-norm, respectively, and μ is the step size, defined in the range 0<μ<2, that gives the NLMS algorithm a much flexible choice for the step size than the LMS algorithm, and specifically when the unknown system is large and sparse.
However, in the present adaptive filter, equation (4) is modified. Previous variable step size algorithms were all based on the l2-norm of the error. For a sparse environment, a more suitable basis would be the l1-norm. Therefore, the following variable step size recursion is applied:
μ(i+1)=αμ(i)+γ|e(i)|, (5)
where α and γ are positive control parameters. Thus, the algorithm is a sparse variable step size NLMS (SVSSNLMS) algorithm in which the filter coefficient vector is given by:
and μ(i) is updated according to equation (5). This gives a wider range of choice in the step size than the conventional NLMS algorithm.
In a second embodiment, the algorithm unit 20 applies a modified version of the RZA-LMS algorithm proposed by Chen et al., discussed above. The l0-norm in compressed sensing problems performs better than the l2-norm in sparse environments. Since the use of the l0-norm is not feasible, an approximation can be used instead (such as the l1-norm). Thus, Chen et al. developed the Reweighted Zero Attracting LMS (RZA-LMS) algorithm, which is based on an approximation of the l0-norm and is given by:
which can be written in vector form as:
where ρ and ò are control parameters greater than 0 and sgn denotes the signum function. The algorithm performs better than the standard LMS algorithm in sparse systems.
However, in the present adaptive filter, equation (8) is modified. Since convergence speed and low steady-state error are usually two conflicting parameters for an adaptive filter, the step size needs to be varied such that initially the convergence rate is fast, but as the algorithm approaches steady-state, the step size becomes small in order to give a low error response. Thus, the variable step size recursion of equation (5) is applied to form a variable step size RZA-LMS (VSSRZA-LMS) algorithm in which the filter coefficient vector is given by:
and μ(i) is updated according to equation (5).
The two embodiments of the adaptive filter were tested by simulations using conventional computer software. Three scenarios are considered here. In the first one, the unknown system is represented by a 16-tap FIR filter. For the first 500 iterations, only one tap weight is non-zero. For the next 500 iterations, all odd numbered taps are 1 while the even numbered taps are zero. For the last 500 iterations, the even numbered taps are changed to −1. The input sequence is zero-mean Gaussian with variance 1. The value for μ is taken as 0.5 for both the NLMS and the RZA-NLMS algorithms while μ(0) is 0.5 for the VSS algorithms. The value for ρ is taken as 5e−4 for both the RZA-NLMS algorithm as well as the proposed VSSRZA-NLMS algorithm. The values for the step size control parameters are chosen as α=0.99 and γ=0.01 for both the VSS algorithms. Results are shown for a signal-to-noise ratio (SNR) of 20 dB. As depicted in
The second experiment is performed with the same unknown system as the first experiment. However, the input in this case is modeled by u(i)=0.8u(i−1)−x(i), where x(i) is a zero-mean random sequence with variance 1. The variance of the resulting sequence is normalized to 1. The values for μ and are taken to be the same as before. The value for γ is same as in the previous case while α=0.995 for both algorithms. The unknown system is modified slightly such that the three variants are now 1500 iterations each instead of 500 iterations as previously. The results are reported in
In the third scenario, the unknown system is modeled using a 256-tap FIR filter with only 28 taps being non-zero. The value for μ is kept the same as previously, showing that the normalization factor makes the algorithms independent of the filter length. The value for ρ is changed to 1 e−5. The values for α and γ are kept the same as the first experiment. As can be seen from
It is to be understood that the present invention is not limited to the embodiments described above, but encompasses any and all embodiments within the scope of the following claims.