Docsity

Structures For Discrete Time Systems-Digital Signal Processing-Lecture Slides, Slides of Digital Signal Processing

Partial preview of the text

Download Structures For Discrete Time Systems-Digital Signal Processing-Lecture Slides and more Slides Digital Signal Processing in PDF only on Docsity!

Structures for Discrete-Time Systems

Quote of the Day

Today's scientists have substituted mathematics for

experiments, and they wander off through equation

after equation, and eventually build a structure which

has no relation to reality.

Nikola Tesla

Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer, and Buck,

Example

  • Block diagram representation of

y  n  a 1 y n  1  a 2 yn  2  b 0 x n

Direct Form I

  • General form of difference equation
  • Alternative equivalent form

 ^ ^  ^   

M

k 0

k

N

k 0

k b xn k ˆa yn k ˆ

  (^)    (^)     

M

k 0

k

N

k 1

yn ak yn k b xn k

Direct Form I

  • Transfer function can be written as
  • Direct Form I Represents

 

N

k 1

k k

M

k 0

k k

1 a z

b z

Hz

     

       

      (^) V z

1 a z

Y z H z V z

V z H z X z b z X z

b z

1 a z

Hz H zH z

N

k 1

k k

2

M

k 0

k 1 k

M

k 0

k N k

k 1

k k

2 1

   

y n a yn k v n

vn b xn k

N

k 1

k

M

k 0

k

Alternative Block Diagram

  • We can change the order of the cascade systems

     

  (^)   

M

k 0

k

N

k 1

k

yn b wn k

wn a wn k xn

Direct Form II

  • No need to store the same

data twice in previous

system

  • So we can collapse the

delay elements into one

chain

  • This is called Direct Form II

or the Canonical Form

  • Theoretically no difference

between Direct Form I and

II

  • Implementation wise
    • Less memory in Direct II
    • Difference when using

finite-precision arithmetic

Example

  • Representation of Direct Form II with signal flow graphs

     

   

     

   

y n w  n

w n w n 1

w n b w n b w n

w n w n

w n aw n xn

3

4 2

3 0 2 1 4

2 1

1 4

     

y n b w  n b w n 1 

w n aw n 1 xn

0 1 1 1

1 1

Determination of System Function from Flow Graph

y n w  n w  n

w n w n 1

w n w n xn

w n w n

w n w n xn

2 4

4 3

3 2

2 1

1 4

Y z W  z W  z

W z W zz

W z W z X z

W z W z

W z W z X z

2 4

1 4 3

3 2

2 1

1 4

Y z W  z W  z

1 z

X zz 1 W z

1 z

X z z 1 W z

2 4

1

1

4

1

1

2

h  n un 1  u n

1 z

z

X z

Y z Hz

n 1 n 1

1

1

 

Basic Structures for IIR Systems: Direct Form II

Basic Structures for IIR Systems: Cascade Form

  • General form for cascade implementation
  • More practical form in 2nd^ order systems

^ ^ ^ ^ 

  

  

1 2

1 2

N

k 1

1 k

1 k

N

k 1

1 k

M

k 1

1 k

1 k

M

k 1

1 k

1 c z 1 d z 1 d z

1 f z 1 g z 1 g z

Hz A

 

 

M 1

k 1

2 2 k

1 1 k

2 2 k

1 0 k 1 k

1 a z a z

b b z b z Hz

Basic Structures for IIR Systems: Parallel Form

  • Represent system function using partial fraction expansion
  • Or by pairing the real poles

 

  

 

 

P NP P

k 1

N

k 1

1 k

1 k

1 k k 1 k

k

N

k 0

k k 1 d z 1 d z

B 1 e z

1 c z

A

Hz C z

 

 

P NS

k 1

2 2 k

1 1 k

1 0 k 1 k

N

k 0

k k 1 a z a z

e e z Hz C z

Example

  • Partial Fraction Expansion
  • Combine poles to get

1 2 1 1

1 2

1 0. 25 z

1 0. 5 z

1 0. 75 z 0. 125 z

1 2 z z H z    

 

1 2

1

1 0. 75 z 0. 125 z

7 8 z H z 8  

Example

Transpose

  • Both have the same system function or difference equation

y  n  a 1 y n  1  a 2 yn  2  b 0 x n b 1 xn  1  b 2 xn  2 

Basic Structures for FIR Systems: Direct Form

  • 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