filter realization

Upload: ravikumaar-rayala

Post on 25-Feb-2018

229 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/25/2019 Filter Realization

    1/45

    Filter Realization

  • 7/25/2019 Filter Realization

    2/45

    Classification of Digital Systems - IIR

    Systems are classified in to two types based on impulse R

    h[n] of the systems

    IIR Filters * FIR Filters

    Representation of Filters using System Function

    FIR systems are all zero systems and all poles of H(z) are at Z=0

    IIR systems are all pole systems & H(z) is a rational polynomial

    FIR and IIR filters can be represented as difference equati

  • 7/25/2019 Filter Realization

    3/45

    Convolution properties

    Commutative property

    H1[n] * H2[n] = H2[n] * H1[n]

    Associative property

    H1[n] * {H2[n] * H3[n]} = {H1[n] * H2[n]} * H3[n]

    Distributive property

    H1[n] * { H2[n] + H3[n] } = { H1[n] * H2[n] } + { H1[n] * H3[n]

  • 7/25/2019 Filter Realization

    4/45

  • 7/25/2019 Filter Realization

    5/45

    Copyright (C) 2005 Gner Arslan

    Elements for Block Diagram Representation of a sys

    LTI systems with rational systemfunction can be represented asLinear constant coefficient difference

    equation. The implementation of difference

    equations requires delayed values ofthe

    input

    output

    intermediate results

    The requirement of delayedelements implies need for storage

    We also need means of

    addition

    multiplication

  • 7/25/2019 Filter Realization

    6/45

  • 7/25/2019 Filter Realization

    7/45

  • 7/25/2019 Filter Realization

    8/45

    Digital Filter Structures

    M

    k

    k nxbnv0

    ][

    Direct Form I implementation

  • 7/25/2019 Filter Realization

    9/45

    On the z-domain

    or equivalently

    )()()()(0

    1 zXzbzXzHzVM

    k

    k

    k

  • 7/25/2019 Filter Realization

    10/45

    Direct FormI Structure Block diagram

  • 7/25/2019 Filter Realization

    11/45

    Direct Form1 Modified Structure Block di

  • 7/25/2019 Filter Realization

    12/45

    By changing the order of H1 and H2, consider the equivalencethe z-domain:

    where

    Let

    Then

    )()()( 21 zHzHzH

    M

    k

    k

    kzbzH0

    1 )(

    )()()()(0

    1 zWzbzWzHzYM

    k

    k

    k

  • 7/25/2019 Filter Realization

    13/45

    In the time domain,

    We have the following equivalence for implementation:

    M

    k

    k knwbny0

    ][][

    We assume

    here

  • 7/25/2019 Filter Realization

    14/45

    Note that the exactly the same signal, w[k], is stored in thetwo chains of delay elements in the block diagram. Theimplementation can be further simplified as follows:

    Direct Form II (orCanonic Direct Form)implementation

  • 7/25/2019 Filter Realization

    15/45

    Direct FormII Structure Block diag

  • 7/25/2019 Filter Realization

    16/45

    Direct FormII Structure Block diag

  • 7/25/2019 Filter Realization

    17/45

    Direct FormII Structure Modified Block d

  • 7/25/2019 Filter Realization

    18/45

    By using the direct form II implementation, the number ofdelay elements is reduced from (M+N) to max(M,N).

    Example:

    21

    1

    9.05.11

    21)(

    zz

    zzH

    Direct form I implementation Direct form II implementat

  • 7/25/2019 Filter Realization

    19/45

  • 7/25/2019 Filter Realization

    20/45

  • 7/25/2019 Filter Realization

    21/45

  • 7/25/2019 Filter Realization

    22/45

  • 7/25/2019 Filter Realization

    23/45

    C d F

  • 7/25/2019 Filter Realization

    24/45

    Cascade Form

    If we factor the numerator and denominator polynomials,can express H(z) in the form:

    where M=M1+2M2 and N=N1+2N2, gk and gk* are a compconjugate pair of zeros, and dk and dk* are a complex conjugpair of poles.

    It is because that any N-th order real-coefficient polynomequation has n roots, and these roots are either real or compconjugate pairs.

    1 2

    1 2

    1 1

    111

    1 1

    111

    )1)(1()1(

    )1)(1()1(

    )(N

    k

    N

    k

    kkk

    M

    k

    M

    k

    kkk

    zdzdzc

    zgzgzf

    zH

    A general form is

  • 7/25/2019 Filter Realization

    25/45

    A general form is

    where

    and we assume that MN. The real poles and zeros have beecombined in pairs. If there are an odd number of zeros, one o

    the coefficients b2k will be zero.It suggests that a difference equation can be implemented vthe following structure consisting of a cascade of second-order and first-order systems:

    cascade form of implementation (with a direct form II realizatieach second-order subsystems)

    2/)1( NNs

    Example:

  • 7/25/2019 Filter Realization

    26/45

    Cascade structure: direct form I implementation

    Cascade structure: direct form II implementation

    Example:

    )25.01)(5.01(

    )1)(1(

    125.075.01

    21)(

    11

    11

    21

    21

    zz

    zz

    zz

    zzzH

  • 7/25/2019 Filter Realization

    27/45

    Parallel form Realization

  • 7/25/2019 Filter Realization

    28/45

    Parallel Form

    If we represent H(z) by additions of low-order rational syste

    where N=N1+2N2. If MN, then Np = MN.

    Alternatively, we may group the real poles in pairs, so that

    21

    111

    1

    11

    0 )1)(1(

    )1(

    1)(

    N

    k kk

    kk

    N

    k k

    k

    N

    k

    k

    kzdzd

    zeB

    zc

    A

    zCzH

    p

  • 7/25/2019 Filter Realization

    29/45

    Example: consider still the same system

  • 7/25/2019 Filter Realization

    30/45

    Example: consider still the same system

    21

    1

    21

    21

    125.075.01

    878

    125.075.01

    21)(

    zz

    z

    zz

    zzzH

  • 7/25/2019 Filter Realization

    31/45

  • 7/25/2019 Filter Realization

    32/45

  • 7/25/2019 Filter Realization

    33/45

    Transposed Forms

  • 7/25/2019 Filter Realization

    34/45

    Copyright (C) 2005 Gner Arslan

    p

    Linear signal flow graph property:

    Transposing doesnt change the input-output relation

    Transposing:

    Reverse directions of all branches

    Interchange input and output nodes Example:

    Reverse directions of branches and interchange input and output

    1az1

    1zH

    Example

  • 7/25/2019 Filter Realization

    35/45

    Copyright (C) 2005 Gner Arslan

    p

    Transpose

    Both have the same system function or difference equation

    2nxb1nxbnxb2nya1nyany

    21021

  • 7/25/2019 Filter Realization

    36/45

  • 7/25/2019 Filter Realization

    37/45

  • 7/25/2019 Filter Realization

    38/45

  • 7/25/2019 Filter Realization

    39/45

    Basic Structures for FIR Systems: Direct Form

  • 7/25/2019 Filter Realization

    40/45

    Copyright (C) 2005 Gner Arslan

    Special cases of IIR direct form structures

    Transpose of direct form I gives direct form II

    Both forms are equal for FIR systems

    Tapped delay line

  • 7/25/2019 Filter Realization

    41/45

    Basic Structures for FIR Systems: Cascade Form

  • 7/25/2019 Filter Realization

    42/45

    Copyright (C) 2005 Gner Arslan

    Obtained by factoring the polynomial system function

    M

    0n

    M

    1k

    2k2

    1k1k0

    nS

    zbzbbznhzH

  • 7/25/2019 Filter Realization

    43/45

    l k i i l l

  • 7/25/2019 Filter Realization

    44/45

    Block Diagram Signal Flow G

  • 7/25/2019 Filter Realization

    45/45