Ejercicio IIR
Ejercicio IIR
Ejercicio IIR
Ecuaciones de diferencia:
1) 𝑦[𝑛]=𝑏0𝑥[𝑛]+𝑏1𝑥[𝑛−1]+𝑏2𝑥[𝑛−2]−𝑎1𝑦[𝑛−1]−𝑎2𝑦[𝑛−2]−𝑎3𝑦[𝑛−3]
diagrama de bloques
−1 −2 −3 −1 −2
Y [ Z ] [1+ a 1 Z +a 2 Z + a3 Z ]= X [Z ][b 0+ b 1 Z + b 2 Z ]
H [ Z ]=( )(
Y [Z]
X [Z]
=
[ b 0+b 1 Z−1+ b 2 Z−2 ]
[ 1+a 1 Z−1+ a 2 Z−2 +a 3 Z −3 ] )
H [ Z ]=
Y [Z]
X [Z]
= ( )(
[ b 0+b 1 Z−1+ b 2 Z−2 ]
[ 1+a 1 Z−1+ a 2 Z−2 +a 3 Z −3 ] )
− jω
Z=e
H [ Z ]= ( )(
Y [Z]
X [Z]
=
[ b 0+ b 1 e− jω + b 2e− j 2 ω ]
[ 1+a 1 e− jω+a 2 e− j 2 ω +a 3 e− j3 ω ] )
magnitud de la respuesta en frecuencia
− j αω
e =cos(α ⍵)− jsin (α ⍵)
H [ Z ]= ( )(
Y [Z]
X [Z]
=
[ b 0+ b 1 e− jω + b 2e− j 2 ω ]
[ 1+a 1 e− jω+a 2 e− j 2 ω +a 3 e− j3 ω ] )
H [⍵ ]=
([ [ b 0+b 1[cos ( ⍵ )− j sin ( ⍵ ) ]+b 2 [cos (2 ⍵)− jsin(2⍵)] ]
1+ a1 [cos (⍵ )− jsin ( ⍵ ) ]+ a 2[cos (2⍵)− j sin(2 ⍵)]+a 3[cos (3 ⍵)− j sin(3⍵)] ] )
H [⍵ ]=
([ [ b 0+ b 1 cos ( ⍵) +b 2 cos (2⍵)−b 1 j sin (⍵ )−b 2 j sin(2 ⍵)]
1+ a1 cos ( ⍵ )+ a 2 cos(2 ⍵)+a 3 cos (3 ⍵)−a 1 j sin ( ⍵ )−a 2 jsin (2⍵)−a 3 j sin(3 ⍵) ] )
Se realiza los siguientes cambios de variable:
([
H [⍵ ]=
[ b 0+ b 1 cos ( ⍵) +b 2 cos (2⍵)−b 1 j sin (⍵ )−b 2 j sin(2 ⍵)]
1+ a1 cos ( ⍵ )+ a 2 cos(2 ⍵)+a 3 cos (3 ⍵)−a 1 j sin ( ⍵ )−a 2 jsin (2⍵)−a 3 j sin(3 ⍵) ] )
( C−
H [⍵ ]=
jD )
A− jB
H [ ⍵ ] =( )∗(
C+ jD )
A− jB C+j D
C− jD
( )
2
A C + AjD− jB C− j BD
H [⍵ ]= 2 2 2
C + jCD− jC D− j D
H [⍵ ]=
( AC+ j[ AD−BC]− j 2 BD
C 2− j 2 D 2 )
2
j =−1
H [⍵ ]=
( AC + j [ AD−BC ] +BD
2
C +D
2 )
H [⍵ ]=
( AC + BD + j [ AD−BC
2
C +D
2
]
)
magnitud de la respuesta en frecuencia
√( )( )
2
AC + BD
2
[ AD−BC ]
|H [ ⍵ ]|= 2 2
+ 2 2
C +D C +D
respuesta en Fase del sistema
[ ] ( C +D )
AC + BD
=[
AC + BD ]
2 2
AD−BC
θ|H [ ⍵ ]|=
( C +D )
[ AD−BC ]
2 2