Project Report
Project Report
Project Report on
“Noise Cancellation using Adaptive Filter and
performance evaluation of Adaptive
Equalizer”
Submitted in partial fulfillment of the requirement for the award of the degree
of
BACHELOR OF TECHNOLOGY
In
Electronics & Communication Engineering
SUBMITTED BY:
SUPERVISED BY:
Guide Name
Mr.Janak Kapoor
Assistant Professor
Dept. of Electronics and Communication Engineering,
IET MJP Rohilkhand University Bareilly, India
Page | 1
CERTIFICATE
This is to certify that the project entitled “NOISE CANCELLATION USING ADAPTIVE
FILTER AND PERFORMANCE EVALUATION OF ADAPTIVE EQUALIZER
”is a bona fide record work done by KAVITA GANGWAR(15EC22), SHUBHAM
MISHRA(15EC47), SHUBHAM GUPTA(15EC46) during the partial fulfillment of the
requirement for the award of the Degree of Bachelor of Technology.
.
ACKNOWLEDGEMENT
We deem it a privilege to have been the students of electronics and communication engineering
in IET MJPRU BAREILLY Our heartfelt regards to Mr. Janak Kapoor our project guide who
helped us bring out this project in a fruitful manner with his precious suggestions and rich
experience. We are grateful to Prof. S.K. Tomar, Head of the Department of Electronics &
communication for providing necessary facilities in the department.
ABSTRACT
This project deals with the study of the various kinds of interferences in a communication
channel viz. Inter symbol Interference, Multipath Interference and Additive Interference. It deals
with the design of an Adaptive Equalizer. The idea of the equalizer is to build (another) filter in the
receiver that counteracts the effect of the channel. In essence, the equalizer must “unscatter” the
impulse response. This can be stated as the goal of designing the equalizer E so that the impulse
response of the combined channel and equalizer CE has a single spike. This can be solved using
different techniques.
The transmission path may also be corrupted by additive interferences such as those caused by
other users. These noise components are usually presumed to be uncorrelated with the source
sequence and they may be broadband or narrowband, in-band or out-of-band relative to the band
limited spectrum of the source signal. Like the multipath channel interference, they cannot be
known to the system designer in advance. The second job of the equalizer is to reject such additive
narrow band interferers by designing appropriate linear notch filters „on-the-fly‟ based on the
received signal. At the same time, it is important that the equalizer not unduly enhance the noise
In this project, we have implemented an „Adaptive Equalizer‟ using Least mean square algorithms
in Matlab. This method(LEAST MEAN SQUARE ALGORITHM) involves minimizing the square
of the error between the received data values and the transmitted values which are achieved via an
adaptive element.
LIST OF FIGURE
.
ABBREVIATION USED
CONTENT
2
CHAPTER 1: INTRODUCTION
1.1 GENERAL
Our requirement is to design a filter which minimizes the
effect of the noise at the filter output by using some statistical
criterion. An optimal solution to this problem is minimizing the
mean square value of the error signal. This approach of
minimizing error signal to the stationary input data is known as
Wiener Filter. But this wiener filter is not useful for non-
stationary data.
The design of wiener filter also requires prior information
on the signal which cannot be possible at every time. So we
need to find the solution for the filter designing which do not
require any relevant signal information. Thus we go for
Adaptive Filter which meets our requirement.
2
3
General description for the figure are given below, x(n)-Input signal
plus Noise, d(n)-Desired signal, e(n)-Error signal, y(n)output signal.
Figure 1.2 Basic block diagram of an adaptive filter used for noise cancellation
3
4
4
5
5
6
6
7
7
8
7
9
2.1 GENERAL
8
10
8
11
2.3.2Tracking mode
17
12
where:
x[n] is the input signal,
y[n] is the output signal, and
bi are the filter coefficients.
N is known as the filter order; anNth-order filter has (N + 1) terms on the right-
Hand side are commonly referred to as taps.
The previous equation can also be expressed as a convolution of filter coefficients
And the input signal
In general, an accurate digital model for a channel depends on many things: the
underlying analog channel, the pulse shaping used, and the timing of the sampling
process. At first glance, this seems like it might make designing an equalizer for such a
channel almost impossible. But there is good news. No matter what timing instants are
chosen, no matter what pulse shape is used, and no matter what the underlying analog
channel may be (as long as it is linear), there is a FIR linear representation of the form
(1.1) that closely models its behavior.
17
13
1.They can easily be designed to be "linear phase" (and usually are). Put simply, linear-
phase filters delay the input signal, but don‟t distort its phase.
2. They are simple to implement. On most DSP microprocessors, the FIR calculation can
be done by looping a single instruction.
4. They have desirable numeric properties. In practice, all DSP filters must be
implemented using "finite-precision" arithmetic, that is, a limited number of bits. The use
of finite-precision arithmetic in IIR filters can cause significant problems due to the use
of feedback, but FIR filters have no feedback, so they can usually be implemented using
fewer bits, and the designer has fewer practical problems to solve related to non-ideal
arithmetic.
5. They can be implemented using fractional arithmetic. Unlike IIR filters, it is always
possible to implement a FIR filter using coefficients with magnitude of less than 1.0.
(The overall gain of the FIR filter can be adjusted at its output, if desired.) This is an
important consideration when using fixed-point DSP's, because it makes the
implementation much simpler.
Compared to IIR filters, FIR filters sometimes have the disadvantage that they require
more memory and/or calculation to achieve a given filter response characteristic. Also,
certain responses are not practical to implement with FIR filters.
17
14
The signal path of a baseband digital communication system is shown in fig 1.1, which
emphasizes the role of the equalizer in trying to counteract the effects of the multipath
channel and the additive interference.
In the figure above, a digital input is passed thrrough an analog channel after pulse
shaping. Pulse shaping is the process of changing the waveform of transmitted pulses. Its
purpose is to make the transmitted signal suit better to the communication channel by
limiting the effective bandwidth of the transmission. By filtering the transmitted pulses
this way, the intersymbol interference caused by the channel can be kept in control. Then
after passing through the analog channel noise and interferers are added to the signal in
order to account for the actual noise and interferences which a signal encounters while
passing through a channel.
The analog signal is sampled and then it is passed through a linear digital equalizer. The
baseband linear (digital) equalizer is intended to ( automatically) cancel unwanted effects
of the channel and to cancel certain kinds of additive interferences.
All of the inner parts of the system are assumed to operate precisely. Thus the up and
down conversion, the timing recovery and the carrier synchronization are assumed to be
flawless and unchanging. Modeling the channel as a time invariant FIR filter, the next
section focuses on the task of selecting the coefficients in the block labeled “linear digital
equalizer”, with the goal of removing the inter symbol interference and attenuating the
additive interferences. These coefficients are to be chosen based on the sampled received
signal sequence and (possibly) knowledge of a prearranged “training sequence”. While
the channel may actually be timevarying, the variations are often much slower than the
data rate, and the channel can be viewed as (effectively) time-invariant over small time
scales.
17
15
the reflections depends on the physical properties of the reflecting objects, while the
delay of the reflections is primarily determined by the length of the transmission path.
Let u(t) be the transmitted signal. If N delays are represented by ∆1, ∆2, ∆3, ∆4…∆N and
the strength of the reflections is α1, α2, α3, α4,…αN then the received signal y(t) is
Where η(t) represents additive interferences. This model of the transmission channel has
the form of a finite impulse response filter, and the total length of time ∆N - ∆1 over
which the impulse response is nonzero is called the delay spread of the physical medium.
This transmission channel is typically modeled digitally assuming a fixed sampling
period Ts.Thus (1.2) is approximated by
In order for the model (1.3) to closely represent the system (1.2), the total time over
which the impulse response is nonzero( the time ηTs) must be at least as large as the
maximum delay ∆N .Since the delay is not a function of the symbol period Ts, smaller Ts
require more terms in the filter, i.e., larger n.
CHAPTER 3
17
16
The block oriented design of the previous section requires substantial computation even
when the system delay is known since it requires the calculating the inverse of an (n+1) X
(n+1) matrix, when n is the largest delay in the FIR linear equalizer. This section
considers using an adaptive element to minimize the average of the squared error.
JLMS = ½ avg{e2[k]}
Observe that JLMS is a function of all the equalizer coefficients fi since
which combines (1.10) with (1.4) and where r[k] is the received signal baseband after
sampling. An algorithm for the minimization of JLMS with respect to the ith equalizer
coefficient fi is
17
17
Typically, the averaging operation is suppressed since the iteration with small step-size
itself has a low pass (averaging) behavior. This result is commonly called the Least Mean
Squares (LMS) algorithm for direct linear equalizer impulse response coefficient
adaptation.
When all goes well, the recursive algorithm converges to the vicinity of the block least
squares answer for the particular used in forming the delayed recovery error. As long as
µ is nonzero,
if the underlying composition of the received signal changes so that the error increases
and the desired equalizer changes, then fi react accordingly. It is this tracking ability that
earns it the label adaptive.
CHAPTER 4
17
18
17