Download Help (Windows Only) |
In some adaptive filter applications, such as active noise control, you must take the secondary path into consideration. A secondary path is the path from the output of the adaptive filter to the error signal. The secondary path causes phase shifts or delays in signal transmission. Conventional least mean squares (LMS) algorithms cannot compensate for the effect of the secondary path. For those applications, you can use the filtered-x LMS algorithms to create adaptive filters.
The following figure shows the diagram of an adaptive filter that you create by using the filtered-x LMS algorithm.
where | x(n) is the input signal to a linear filter at time n |
y(n) is the corresponding output signal | |
d(n) is another input signal to the adaptive filter | |
S(z) is the impulse response of the secondary path | |
y_{s}(n) is the signal from the secondary path | |
e(n) is the error signal that denotes the superposition of d(n) and y_{s}(n) | |
is the estimation of S(z) | |
f_{x}(n) is the resulting output signal from |
An LMS algorithm adjusts the coefficients of the linear filter iteratively to minimize the power of e(n).
Note In real-world applications, superposition typically occurs in the space domain. You cannot acquire d(n) or y_{s}(n) separately. You can acquire only the superposition signal e(n) and then use the filtered-x adaptive filter to minimize the power of e(n). |
Notice the following differences between the previous figure and the diagram of a typical adaptive filter.
The filtered-x LMS algorithm performs the following operations to update the coefficients of an adaptive filter.
Use the AFT Create FIR Filtered-X LMS VI to create an adaptive filter with the filtered-x LMS algorithm.
The normalized filtered-x LMS algorithm is a modified form of the filtered-x LMS algorithm. The filtered-x LMS algorithm combines the filtered-x and normalized LMS algorithms. The normalized filtered-x algorithm updates the coefficients of an adaptive filter by using the following equation:
Use the AFT Create FIR Normalized Filtered-X LMS VI to create an adaptive filter with the normalized filtered-x LMS algorithm.