You are on page 1of 6

PART-A FIR FILTER

Deiqn an FIR:Her i h the tol lowinq specibication s pasban d

de onuauncy o -5kHz y stop band foeg, 2kHz. Minimuum


stopband cottenuahion o 50ds i s =8H2

Gven Jp 2X I5KHz nadlsec


Js 2TX 2kHz 1ad/sec

= -50clB, Fs 8hHz
hs
Digrhul Specitrccuhions

Step p JpT =
2TX-5HZ = o-315 T nao
8 KHz

wp O 315IT sna of

ws =JT =
211 X 26 Hz o5TT nauod
Ws = O:5IT aad

step2 Hamminq wWtndou ts selected beccuuse lres b/o


H3 to 54 de. Fo hamming window .
Onden of the 4tltea,
Aw = U0s-Op

s-p 6.2r
N

(O 5T-O:375T) 2T)
N

N64
Let N=65
Alpha =N- = Gs-
2

3
step 3 Magnitudle phase 91eponss o4 he desinedd LPF
-Jod
HaCw) = lwc
O
wclwl <IT

Step Impulse snesponse, hd (,

haln) H).e Jun


T -T

ha)=sro ue (n-)] n
TT(n-)
wc
hC) e. dw
2T
-
hd(o) wc

Step 5
2

c O 375 T + (05TT-035T)

c O 4H 3 75 IT nad|

step 6Tmpulse vusponae .


hn) - hd ( ) . whaln)
On N-

whann)- 0:54-0HG cos 2 1 0


ons

Finally coellictents o lte ono drsployad


TTR Butteonwoath Filter (LPF)
Tes:qn d:qrtal 4illez H(z) wher used rn an Ab-M D/A

stnuctun grues un equivcidant anuloq 4ilteT with the 4ollowin

speciticauions.

Foeq. of pasobancd adge = 500Hz.

Foneq, of otopbundd edlge= 750Hz


Atternuaton o4 passband = -3.0l dB

Atenuetion o4 stopbond =-15 de


amplinq vate = 2000 Hz

the tte ts to be dangned by peloaming orbnecan taanadom


O.1 an analoq) slm 4uncion. Use Bulteuooseth perototype

Analoq pecitrcatfons

ULp 2T X 500 = loooTT adl /sec

Jg 2 T X 750 = 1500T snad g e c

p 3.0l d8
s - I 5olB,

step 1 wp =Jp/Ts
=
looOTTx _ O:5 tT ncd
2000

sJsfPs l50OTTX. = o15 TT 1 a d


2000

Here dagytaul 4ma, rotexms of analoq oneg.

step2D.grtad Specihcattons uaith T 1e0.

-tan( 2 fan()-2
tan tan (u = 2 tan 1 5 ) =H328 2
hp-3old6
-15 dle
step Desiqn 6f an anauog LPE

N loq to - 1)1
( -))
2

N loq o 998
306233 = 19H
2
2loq H-828/

N 22

| o-lp/a
lo

(o.qq8

2 nad/sec

NoaMalzzecd Buteuoorth LPF,

TABLE
H () =
s+29t 1. N Polynomnal

St

HO 2(2+E 2 9+2St
ststst
s+01654St
H S+ 2J2S tH st84 7sti)
(st)Gr0618s
(6t -618st)
step Applying BilineceTncunafoem = 1sec

HCZ)=
4(Z)+ 2U2.2 (z4)t H
(z+)2 (z+1)
H(2+1)2
H)
( z - ) + HU2 (z-) tH (zt)

Hz+ 8zt H
HC2) =

H(2-2z+1) + HU2z-HJL t H(z+2zt1)

H(Z) Hz+8ztH
z - 4 +H t HU2 -4J2 tHz+itH

HZ)- Hz+8zth
(8 t402) z+ (8-4 U2)
HCZ) == HZ+8zth
(8t5G6)z+ (8-5.66)

HC) Hz+8zt 4
3-66 +2.3+

Y) Hz+8zty
X() 13.66z+2:3t
2-34 Yz)+ 13-66z Y(2) = H~ K(2) +8zX(2) + d XE)

2-34 Yz)= - 13.66z Y(2)+ 42 x)+8 zXE) +H x(z)


YE) -5-84Z Y(z) + |.109z XE)* 3-42X(2). z +1-709 Xl2)
Hpplyin9 Z-3nuese ncunsfonm uwe
qet
4 ( ) 5 . 8 h y n t 2 ) * I-709 (nt2) + 342 7(nt)+l.709 x )
LPalename,pathname= utgetfale ("_,'sedect
the nput cuclo
,Foueleoseaol (num2st7(lename))

/4\ter tplementatioo
Fs= H4l00 daunp

Fe 8000 pax band HHL


Fs
s 84OO stopband Hz
Hp =1 Passband sapple in ole

As 95 skopbünol dR3

lP =
daonlsl! ( loepoukes', !Poanbanchoanpanoy ', Fp, 'Stopbeund Freg
FPaanbanoRipple, Ap, 'stopbandseple, As, }
SompleRate',6);

You might also like