0% found this document useful (0 votes)
76 views

10.chebyshev Filter

This document describes an experiment to implement Chebyshev IIR filters in MATLAB. It discusses Chebyshev filters and their properties. The experiment involves writing MATLAB programs to design and analyze Chebyshev lowpass, highpass, bandpass, and bandstop filters. The programs generate plots of the magnitude and phase responses to observe the filter characteristics. The results demonstrate the successful implementation of Chebyshev IIR filters in MATLAB.

Uploaded by

NARENDRA
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views

10.chebyshev Filter

This document describes an experiment to implement Chebyshev IIR filters in MATLAB. It discusses Chebyshev filters and their properties. The experiment involves writing MATLAB programs to design and analyze Chebyshev lowpass, highpass, bandpass, and bandstop filters. The programs generate plots of the magnitude and phase responses to observe the filter characteristics. The results demonstrate the successful implementation of Chebyshev IIR filters in MATLAB.

Uploaded by

NARENDRA
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Experiment-11

Implementation of Chebyshev IIR


Filter

AIM:
Implementation of Chebyshev IIR Filters.

SOFTWARE REQUIRED:
 MATLAB Software.
 Windows OS.

THEORY:
Chebyshev filters are analog or digital filters that have a steeper roll-off than Butterworth filters,
and have either passband ripple (type I) or stopband ripple (type II). Chebyshev filters have the
property that they minimize the error between the idealized and the actual filter characteristic
over the operating frequency range of the filter, but they achieve this with ripples in the
passband. This type of filter is named after Pafnuty Chebyshev because its mathematical
characteristics are derived from Chebyshev polynomials.

PROCEDURE:
 Switch on the system (with Windows OS & MATLAB tool).
 Launch MATLAB software by clicking on MATLAB icon on desktop.
 Create new program from NEW option in FILE menu.
 Write the program in TEXT EDITOR window .
 Save the program with .m extension.
 Run the program from EDITOR menu or by pressing F5.
 Check the COMMAND window for output values / error. If any errors
are there, debug the errors, modify the program and go to above step.
Observe the text outputs in command window and graphical outputs in FIGURES

PROGRAM 1 (Chebyshev LowPass FILTER):

clc;
clear all;
close all;
Wp=0.25;
Ws=0.75;
Rp = 2
Rs = 20
[n,Wp] = cheb1ord(Wp,Ws,Rp,Rs)
[b,a] = cheby1(n,Rp,Wp);
[h,omega] = freqz(b,a,256);
subplot(311)
plot(omega/pi,20*log10(abs(h)))
xlabel('\omega/pi');
ylabel('Gain, dB')
title('chebyshev low pass Filter')
grid on
an=angle(h)
subplot(312)
plot(omega/pi ,unwrap(an))
title('chebyshev lowpass Filter phase response')
grid on
xlabel('normalised frequency')
ylabel('phase in radians')
subplot(313)
zplane(b,a)

Output:
PROGRAM 2 (Chebyshev High Pass FILTER):

clc;
clear all;
close all;
Wp=0.8
Ws=0.4;
Rp = 1
Rs = 60
[n,Wp] = cheb1ord(Wp,Ws,Rp,Rs)
[b,a] = cheby1(n,Rp,Wp,'high');
[h,omega] = freqz(b,a,256);
subplot(211)
plot(omega/pi,20*log10(abs(h)))
xlabel('\omega/pi');
ylabel('Gain, dB')
title('chebyshev highpass Filter')
grid on
an=angle(h)
subplot(212)
plot(omega/pi ,an)
title('chebyshev highpass Filter phase response')
grid on
xlabel('normalised frequency')
ylabel('phase in radians')

Output:
PROGRAM 3 (Chebyshev Band Pass FILTER):

clc;
clear all;
close all;
Wp1=0.4;
Wp2=0.6;
Ws1=0.25;
Ws2=0.7;
Rp = 0.5;
Rs = 45;
[n,Wp] = cheb1ord([Wp1,Wp2],[Ws1,Ws2],Rp,Rs);
[b,a] = cheby1(n,Rp,[Wp1,Wp2]);
[h,omega] = freqz(b,a,256);
subplot(211)
plot(omega/pi,20*log10(abs(h)))
xlabel('\omega/pi');
ylabel('Gain, dB')
title('chebyshev bandpass Filter')
grid on
an=angle(h)
subplot(212)
plot(omega/pi ,an)
title('chebyshev bandpass Filter phase response')
grid on
xlabel('normalised frequency')
ylabel('phase in radians')

Output:
PROGRAM 4 (Chebyshev Band Stop FILTER):

clc;
clear all;
close all;
Wp1=0.1;
Wp2=0.5;
Ws1=0.2;
Ws2=0.4;
Rp = 1;
Rs = 40;
[n,Wp] = cheb1ord([Wp1,Wp2],[Ws1,Ws2],Rp,Rs);
[b,a] = cheby1(n,Rp,[Wp1,Wp2],'stop');
[h,omega] = freqz(b,a,256);
subplot(211)
plot(omega/pi,20*log10(abs(h)))
xlabel('\omega/pi');
ylabel('Gain, dB')
title('chebyshev bandpass Filter')
grid on
an=angle(h)
subplot(212)
plot(omega/pi ,an)
title('chebyshev bandstop Filter phase response')
grid on
xlabel('normalised frequency')
ylabel('phase in radians')
Output:

APPLICATIONS:
▪ IIR filters used in multi-channel ANC in duct.
▪ Used in Digital Filtering.

RESULT:
Implementation of Chebyshev IIR Filters is done.

You might also like