Escolar Documentos
Profissional Documentos
Cultura Documentos
16-18
ov. 2009, UPM Serdang, Malaysia
Jacob.Mollaei@hotmail.com
Abstract Adaptive filter is one of the most important areas in signal using an A/D converter, the signal is ready to be fed
digital signal processing. This paper seeks to use this area to into digital signal processor which processes the input signal
remove noise from noise corrupted audio signals. An adaptive using computer based programs and software. Any new
FIR filter with normalized LMS algorithm is designed to cancel feature can be achieved only by upgrading the software of
the noise. A SIMULIK model is created and linked to TI DSP, not requiring new hardware.
TMS320C6711 digital signal processor through embedded target All the above stated current applications motivate the
for TI C6000 SIMULIK toolbox and REAL-TIME workshop
author to get more knowledge about DSP, and try to perform
to perform hardware adaptive noise cancellation. The result is a
noise free audio signal in the DSP board output. some of these applications on hardware. It should be noted
that many practical signal processing applications call for an
Keywords Adaptive Filter, Digital Signal Processor, FIR analog or digital filter whose characteristics can be
Filter, LMS Algorithm, SIMULIK, TI TMS320C6711, automatically modified to accommodate incomplete
REAL-TIME Workshop, Code Composer Studio (CCS). knowledge or time variation in the nature of input signals [2].
This type of filter is called adaptive filter which is of great
I. INTRODUCTION interest nowadays in digital signal processing.
Constructing an adaptive filter system requires particular x Developing an approximation for the required
adaptation rules. The filter coefficient update is done based gradient function that can be computed directly
on the implemented algorithm, in other words adaptation from the data.
algorithm is the main part of adaptation system which take
care of update procedure of the coefficients and also stability B. ormalized LMS (LMS) Algorithm
of the system. There are several adaptive algorithms available
with different complexities and capabilities and for different One of the practical problems often associated with LMS
filter structures. Two of the algorithms will be discussed in algorithm is to find the step size value
P which is a small
detail in the following sections. positive constant that determines the speed of convergence of
the algorithm. Step size should not be too large to impact
A. Least Mean Squares (LMS) Algorithm algorithm stability. Theoretically the largest value of step size
is determined by the largest eigenvalue of R which is the
In LMS algorithm, the gradient of cost function J with input matrix. The value of R usually is not available therefore
respect to the coefficient vector W can be estimated directly a more reasonable approach is to find some bounds for the
from the input signal x(k ) and desired signal d (k ) . e(k ) is the largest eigenvlaues. That is, the average value of the dot
error vector and is computed as, product of the data vector with itself equals the sum of
eigenvlaues of R ,
e( k ) d (k ) y (k ) (8)
W (l ) Pe(l ) X (l ) , l ! 0 to ensure that the update term does not become too large [5].
(10) As a result NLMS algorithm may be viewed as a special
implementation of the LMS algorithm which takes into
The above algorithm is popularized by Widrow [Widrow and
Hoff, 1960]. P is a small positive constant called filter step
account the variation in the signal level at the filter input and
selects a normalized step-size parameter. This way of step-
size. Thus, the main procedures for LMS algorithm are as size selection will result in a stable as well as fast converging
follows [5]: adaptation algorithm [5].
y (k ) W t (k ) X (k ) : filter output (11)
46
Adaptive noise cancellation is performed by subtracting
noise from a received signal, and an operation controlled in
an adaptive manner is done during the adaptation process to
get an improved signal-to-noise ratio. Noise subtraction from
a received signal could generate disastrous results by causing
an increase in the average power of the output noise.
However when filtering and subtraction are controlled by an
adaptive process, it is possible to achieve a superior system
performance compared to direct filtering of the received
signal. Figure 3 below shows adaptive noise canceling Fig. 5 NLMS Filter adapting process
technique.
According to figure 5, dot product of input port and
coefficients output port will result in output signal which then
will be subtracted from the desired signal that is shown by
input 2 in the model to calculate the error which then this
error will be used to update the next coefficient.
47
VI. CONCLUSION
REFRENCES
48