SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
EC533: Digital Signal Processing
  5          l      l

          Lecture 7
 Realization of Discrete-Time
           Systems
7.1 – Discrete-Time System Components
1) Unit Delay
                                 X(n)            y(n)= x(n-1)
                                            T
                                                 Y(z)= z-1 X(z)



2) Adder
                         X1(z)
                         X2(z)


                         Xn(z)

3) M lti li
   Multiplier                           k

                            X(z)                Y(z)= k X(z)
                                        X
N.B. Delay in the time domain by k-periods corresponds to multiplication by z-k.
7.2 – Discrete System Networks
                                        z-1 X(z)               z-2 X(z)
FIR Network      X(z)               T                 T

                        a0
                             X          a1
                                             X               a2
                                                                  X


IIR Network                                  Y(z)
                             X(z)
                                                                  Y(z)



                                              -m
                                                        T
                                                            z-1 Y( )
                                                                Y(z)
                                              X
                                                    ‐ ve Feedback
Example
Find the transfer function for the following IIR Network
                                               a0
    X(z)
                                             X             Y(z)

                       - b1
                                  T            a1

                      X                      X
                        - b2      T
                      X
                                                             1




                                                              2

From 1 & 2
7.3 – Realization of Discrete Systems
• We will study the following realization topologies:

1) Direct Form I (for FIR & IIR).
   (
   (named as transversal for FIR)
                           f      )
2) Direct Form II – Canonical Form. (for IIR).
3) Cascaded Realization (IIR).
4) Parallel Realization (IIR).
7.3.1.a - FIR Direct or Transversal form

                        x(n 1)
                        x(n-1)            x(n 2)
                                          x(n-2)
    x(n)
     ( )       z   -1            z   -1                   z -1
                                                             1


     h0    x       h1     x                   hN-1   x   hN      x




                                          +

                                     y(n)
7.3.1.b - IIR Direct Form I


Feedforward
              Feedback

                          M
                D′( z ) = ∑ bi z −i
                          i =1


x(n)                                  y(n)
7.3.1.b - Direct Form I – cont.
                  a0
x(n)              X                                  y(n)

       T          a1                      - b1   T
                  X                       X
       T          a2                      - b2   T
                  X                       X
       T          a3                      - b3   T
                  X                       X

                          a0
           x(n)           X                   y(n)

                      T   a1   - b1   T
                          X    X
                      T   a2   - b2   T
                          X    X
                      T   a3   - b3   T
                          X    X
7.3.2 – IIR Direct Form II (Canonical Form)
                                             a0
    x(n)                                                       y(n)
                                             X
                  - b1   T              T    a1
                  X                          X
                  - b2   T              T    a2
                  X                          X
                  - b3   T              T    a3
                  X                          X
                                        a0
           x(n)                                       y(n)
                                        X
                             - b1   T   a1
                         X              X
                             - b2   T   a2
                                                  No of Delays= Order of the 
                                                            y
                         X              X                  System.
                             - b3   T   a3
                                                  Less than the previous method
                         X              X
7.3.3 – Cascaded Realization
• The transfer function is decomposed into cascaded combination of
second order or first order z-transforms.
                            z transforms.



where            is either a 2nd or a 1st order section.

                                                                  2nd order
                                                                        d



                                                                  1st order



          x(n)                                             y(n)
7.3.4 – Parallel Realization
• The transfer function is decomposed into parallel combination of
  second order or first order z-transforms.
                  f                  f




          x(n)      X                                 y(n)
Example
                                                               Parallel




                                                              Cascaded



• For high order filters, cascaded or parallel realization is mainly
  used because large errors is caused by direct realization due to
  the accumulation of truncation errors. But in cascaded &
  p
  parallel, the coefficients are more integer, & mathematical
          ,        ff                     g ,
  operations are small so truncation error decreases.
• Truncation error arises due to the specific number of bits
  allocated to the decimal notation so some of the decimals is
    ll t d t th d i l t ti                      f th d i l i
  truncated.
7.4 – Digital Filters
• A digital filters is a mathematical algorithm, implemented in
hardware and/or software, that operates on a digital input signal to
                  software
produce a digital output signal for achieving a filtering objective.

• Digital filters are systems, but not all systems are filters.


                                           DSP
                  MUX                                   DMUX
                                      System/Filters



    So as the filter may be used for more than one 
                 signal at the same time
7.4.1 – Advantages & Disadvantages of
                  Digital Filters
                    g

•    Advantages of Digital Filters
1)   No impedance matching problem.
2)   Size is small, made from IC’s.
3)   Programmable if made software.
                             software
4)   Can achieve linear phase; No phase distortion.
5) One digital filter can be used for several inputs at the same time.


•    Disadvantages of Digital Filters
1) E
   Expensive.
         i
2) Harder to design.
3) Quantization noise is present.
7.4.2 – Types of Digital Filters


Finite Impulse Response (FIR)        Infinite Impulse Response (IIR)
 open loop system                    closed loop system (Feedback).
 Non-recursive.                      Recursive (Depends on previous O/p).




 (N-1) is the filter order.          (N) is the filter order.
 ak’s are the filter coefficients.
    s                                ak , bk’s are the filter coefficients.
                                             s
 Only zeros are available.           Poles & zeros are available.
7.4.3 – Choosing between FIR & IIR Filters
1) FIR filter can have exactly linear phase response, while that of IIR filter is
   nonlinear. (needed in some applications like digital audio).
2) FIR filters are always stable (have zeros only), while IIR filters are not
   guaranteed.
3) Finite word length effects are much less severe in FIR than IIR.
 )                 g ff
4) FIR requires more coefficients for sharp cut-off filters than IIR. more
   processing time, storage will be needed.
5) Analogue filters can be readily transformed into equivalent IIR digital filters
   meeting similar specifications. This is not possible with FIR, as they have no
   analogue counterpart.
6) FIR is algebraically more difficult to synthesize, if CAD tool is not available.
                                          synthesize                     available


             Use IIR if sharp cut‐off filters is needed.
  So
            Use FIR if no of coefficients is not too large & if no phase distortion is required
7.4.4 – Design Steps of Digital Filters
• Type of the filter.                    Start
• Amplitude & phase
responses (performance
                                                                                            Approximation
                              Performance Specification
we are willing to accept).
             g        p)




                                                                                            Resepcify
                                                                                                    y
• Sampling Frequency.
• Wordlength of the I/p      Filter Coefficients Calculation
data




                                                                                    ulate
                                                                              Recalcu
                                 Realization Structure




                                                               Restructure
                                         Error
                                        Analysi          Yes
                                           s
                                             No
                                                                             Due to finite wordlength
                                                                                       effect
                               Hardware &/or Software 
                               Hardware &/or Software
                                   Implementation


                                        Testing


                                          End
7.5 - Digital Filter Specification

• Digital Filter designed to pass signal components of certain
     g               g       p      g       p        f
  frequencies without distortion.

• The frequency response should be equal to the signal’s
  frequencies to pass the signal. (passband)

• The frequency response should be equal to zero to block the
  signal. (stopband)
7.5 - Digital Filter Specification – cont.
• The main four Filter Types:
7.5 - Digital Filter Specification – cont.
• The magnitude response specifications are given some
  acceptable tolerances.

           H(e jw )
7.5 - Digital Filter Specification – cont.

• Transition band is specified between the passband and the
  stopband to permit the magnitude to drop off smoothly.
      b d             h           d    d     ff     hl
• In Passband

      1 − δ p ≤ H ( e jω ) ≤ 1 + δ p ,   for ω ≤ ω p
• In Stopband
                jω
          H (e ) ≤ δ s ,      for ω s ≤ ω ≤ π

• Where δp and δs are peak ripple values, ωp are
  p
  passband edge f q
             g frequency and ωs are stopband edge
                         y                p      g
  frequency
7.5 - Digital Filter Specification – cont.

• Digital f
    g     filter specification are often given in terms of loss
                  p f                f g                 f
  function,
       A(ω) = -20 log10 |H(ejω)|
• Loss specification of a digital filter
   – Peak passband ripple, Ap = 20 log10 (1 + δp) dB
   – Mi i
     Minimum stopband attenuation, As = -20 l 10 (δs) dB
                  t b d tt         ti         20 log
7.5 - Digital Filter Specification – cont.
• The magnitude response specifications may be given in a
  normalized form.     H(e jw )

                                                       δp



Passband ripple parameter


                                                                                   δs




•Assume peak passband gain = 1
                                               1
then the passband ripple (Ap)=    − 20 log              = 10 log 1 + ε 2 = −20 log 1 − δ p
                                              1+ ε 2
•Assume Peak passband gain is A larger than peak stopband gain

Hence, minimum stopband attenuation(As)=     20 log A = − 20 log( δ s )

More Related Content

PPTX
Discrete Fourier Transform
PDF
Design of FIR filters
PPSX
Multirate digital signal processing
PDF
Code conversion using verilog code VHDL
PPTX
FIR Filter Design.pptx
PDF
Digital signal Processing all matlab code with Lab report
PPT
digital filters
PPTX
FIR and IIR system
Discrete Fourier Transform
Design of FIR filters
Multirate digital signal processing
Code conversion using verilog code VHDL
FIR Filter Design.pptx
Digital signal Processing all matlab code with Lab report
digital filters
FIR and IIR system

What's hot (20)

PPTX
Butterworth filter
PPT
Decimation in time and frequency
PDF
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
PPTX
EC8352-Signals and Systems - Laplace transform
PPTX
IIR filter
PPT
Booth Multiplier
PPTX
Fir filter design using windows
PPTX
Fir filter design (windowing technique)
PPTX
Pn sequence
PPTX
Discrete fourier transform
PDF
Digital Signal Processing
PPT
Z transfrm ppt
PPTX
Predictive coding
PPTX
Introduction to Adaptive filters
PDF
Chapter 5 counter
PDF
Types of line coding
PPT
Source coding
PPT
Noise in Communication System
PPT
Matched filter
PDF
quantization
Butterworth filter
Decimation in time and frequency
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
EC8352-Signals and Systems - Laplace transform
IIR filter
Booth Multiplier
Fir filter design using windows
Fir filter design (windowing technique)
Pn sequence
Discrete fourier transform
Digital Signal Processing
Z transfrm ppt
Predictive coding
Introduction to Adaptive filters
Chapter 5 counter
Types of line coding
Source coding
Noise in Communication System
Matched filter
quantization
Ad

Similar to Dsp U Lec07 Realization Of Discrete Time Systems (20)

PPT
Digital fiiter
PDF
Formula List Math 1230
DOCX
1 d wave equation
PPTX
State description of digital processors,sampled continous systems,system with...
PDF
Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
PDF
11 x1 t16 04 areas (2012)
PDF
11X1 T17 04 areas
PDF
11X1 T14 04 areas
PDF
11X1 T16 04 areas (2011)
PDF
Emat 213 study guide
DOCX
Logics of the laplace transform
PPT
"Modern Tracking" Short Course Taught at University of Hawaii
PDF
Sns mid term-test2-solution
DOC
15815265 form-4-amat-formulae-and-note
PDF
Figures
PDF
Integral table
PDF
Figures
PDF
Figures
PDF
Digital fiiter
Formula List Math 1230
1 d wave equation
State description of digital processors,sampled continous systems,system with...
Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
11 x1 t16 04 areas (2012)
11X1 T17 04 areas
11X1 T14 04 areas
11X1 T16 04 areas (2011)
Emat 213 study guide
Logics of the laplace transform
"Modern Tracking" Short Course Taught at University of Hawaii
Sns mid term-test2-solution
15815265 form-4-amat-formulae-and-note
Figures
Integral table
Figures
Figures
Ad

More from taha25 (9)

PDF
Dsp U Lec10 DFT And FFT
PDF
Dsp U Lec09 Iir Filter Design
PDF
Dsp U Lec08 Fir Filter Design
PDF
Dsp U Lec06 The Z Transform And Its Application
PDF
Dsp U Lec05 The Z Transform
PDF
Dsp U Lec04 Discrete Time Signals & Systems
PDF
Dsp U Lec03 Analogue To Digital Converters
PDF
Dsp U Lec02 Data Converters
PDF
Dsp U Lec01 Real Time Dsp Systems
Dsp U Lec10 DFT And FFT
Dsp U Lec09 Iir Filter Design
Dsp U Lec08 Fir Filter Design
Dsp U Lec06 The Z Transform And Its Application
Dsp U Lec05 The Z Transform
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U Lec03 Analogue To Digital Converters
Dsp U Lec02 Data Converters
Dsp U Lec01 Real Time Dsp Systems

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Big Data Technologies - Introduction.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Big Data Technologies - Introduction.pptx
MIND Revenue Release Quarter 2 2025 Press Release
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Programs and apps: productivity, graphics, security and other tools
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing

Dsp U Lec07 Realization Of Discrete Time Systems

  • 1. EC533: Digital Signal Processing 5 l l Lecture 7 Realization of Discrete-Time Systems
  • 2. 7.1 – Discrete-Time System Components 1) Unit Delay X(n) y(n)= x(n-1) T Y(z)= z-1 X(z) 2) Adder X1(z) X2(z) Xn(z) 3) M lti li Multiplier k X(z) Y(z)= k X(z) X N.B. Delay in the time domain by k-periods corresponds to multiplication by z-k.
  • 3. 7.2 – Discrete System Networks z-1 X(z) z-2 X(z) FIR Network X(z) T T a0 X a1 X a2 X IIR Network Y(z) X(z) Y(z) -m T z-1 Y( ) Y(z) X ‐ ve Feedback
  • 4. Example Find the transfer function for the following IIR Network a0 X(z) X Y(z) - b1 T a1 X X - b2 T X 1 2 From 1 & 2
  • 5. 7.3 – Realization of Discrete Systems • We will study the following realization topologies: 1) Direct Form I (for FIR & IIR). ( (named as transversal for FIR) f ) 2) Direct Form II – Canonical Form. (for IIR). 3) Cascaded Realization (IIR). 4) Parallel Realization (IIR).
  • 6. 7.3.1.a - FIR Direct or Transversal form x(n 1) x(n-1) x(n 2) x(n-2) x(n) ( ) z -1 z -1 z -1 1 h0 x h1 x hN-1 x hN x + y(n)
  • 7. 7.3.1.b - IIR Direct Form I Feedforward Feedback M D′( z ) = ∑ bi z −i i =1 x(n) y(n)
  • 8. 7.3.1.b - Direct Form I – cont. a0 x(n) X y(n) T a1 - b1 T X X T a2 - b2 T X X T a3 - b3 T X X a0 x(n) X y(n) T a1 - b1 T X X T a2 - b2 T X X T a3 - b3 T X X
  • 9. 7.3.2 – IIR Direct Form II (Canonical Form) a0 x(n) y(n) X - b1 T T a1 X X - b2 T T a2 X X - b3 T T a3 X X a0 x(n) y(n) X - b1 T a1 X X - b2 T a2 No of Delays= Order of the  y X X System. - b3 T a3 Less than the previous method X X
  • 10. 7.3.3 – Cascaded Realization • The transfer function is decomposed into cascaded combination of second order or first order z-transforms. z transforms. where is either a 2nd or a 1st order section. 2nd order d 1st order x(n) y(n)
  • 11. 7.3.4 – Parallel Realization • The transfer function is decomposed into parallel combination of second order or first order z-transforms. f f x(n) X y(n)
  • 12. Example Parallel Cascaded • For high order filters, cascaded or parallel realization is mainly used because large errors is caused by direct realization due to the accumulation of truncation errors. But in cascaded & p parallel, the coefficients are more integer, & mathematical , ff g , operations are small so truncation error decreases. • Truncation error arises due to the specific number of bits allocated to the decimal notation so some of the decimals is ll t d t th d i l t ti f th d i l i truncated.
  • 13. 7.4 – Digital Filters • A digital filters is a mathematical algorithm, implemented in hardware and/or software, that operates on a digital input signal to software produce a digital output signal for achieving a filtering objective. • Digital filters are systems, but not all systems are filters. DSP MUX DMUX System/Filters So as the filter may be used for more than one  signal at the same time
  • 14. 7.4.1 – Advantages & Disadvantages of Digital Filters g • Advantages of Digital Filters 1) No impedance matching problem. 2) Size is small, made from IC’s. 3) Programmable if made software. software 4) Can achieve linear phase; No phase distortion. 5) One digital filter can be used for several inputs at the same time. • Disadvantages of Digital Filters 1) E Expensive. i 2) Harder to design. 3) Quantization noise is present.
  • 15. 7.4.2 – Types of Digital Filters Finite Impulse Response (FIR) Infinite Impulse Response (IIR) open loop system closed loop system (Feedback). Non-recursive. Recursive (Depends on previous O/p). (N-1) is the filter order. (N) is the filter order. ak’s are the filter coefficients. s ak , bk’s are the filter coefficients. s Only zeros are available. Poles & zeros are available.
  • 16. 7.4.3 – Choosing between FIR & IIR Filters 1) FIR filter can have exactly linear phase response, while that of IIR filter is nonlinear. (needed in some applications like digital audio). 2) FIR filters are always stable (have zeros only), while IIR filters are not guaranteed. 3) Finite word length effects are much less severe in FIR than IIR. ) g ff 4) FIR requires more coefficients for sharp cut-off filters than IIR. more processing time, storage will be needed. 5) Analogue filters can be readily transformed into equivalent IIR digital filters meeting similar specifications. This is not possible with FIR, as they have no analogue counterpart. 6) FIR is algebraically more difficult to synthesize, if CAD tool is not available. synthesize available Use IIR if sharp cut‐off filters is needed. So Use FIR if no of coefficients is not too large & if no phase distortion is required
  • 17. 7.4.4 – Design Steps of Digital Filters • Type of the filter. Start • Amplitude & phase responses (performance Approximation Performance Specification we are willing to accept). g p) Resepcify y • Sampling Frequency. • Wordlength of the I/p Filter Coefficients Calculation data ulate Recalcu Realization Structure Restructure Error Analysi Yes s No Due to finite wordlength effect Hardware &/or Software  Hardware &/or Software Implementation Testing End
  • 18. 7.5 - Digital Filter Specification • Digital Filter designed to pass signal components of certain g g p g p f frequencies without distortion. • The frequency response should be equal to the signal’s frequencies to pass the signal. (passband) • The frequency response should be equal to zero to block the signal. (stopband)
  • 19. 7.5 - Digital Filter Specification – cont. • The main four Filter Types:
  • 20. 7.5 - Digital Filter Specification – cont. • The magnitude response specifications are given some acceptable tolerances. H(e jw )
  • 21. 7.5 - Digital Filter Specification – cont. • Transition band is specified between the passband and the stopband to permit the magnitude to drop off smoothly. b d h d d ff hl • In Passband 1 − δ p ≤ H ( e jω ) ≤ 1 + δ p , for ω ≤ ω p • In Stopband jω H (e ) ≤ δ s , for ω s ≤ ω ≤ π • Where δp and δs are peak ripple values, ωp are p passband edge f q g frequency and ωs are stopband edge y p g frequency
  • 22. 7.5 - Digital Filter Specification – cont. • Digital f g filter specification are often given in terms of loss p f f g f function, A(ω) = -20 log10 |H(ejω)| • Loss specification of a digital filter – Peak passband ripple, Ap = 20 log10 (1 + δp) dB – Mi i Minimum stopband attenuation, As = -20 l 10 (δs) dB t b d tt ti 20 log
  • 23. 7.5 - Digital Filter Specification – cont. • The magnitude response specifications may be given in a normalized form. H(e jw ) δp Passband ripple parameter δs •Assume peak passband gain = 1 1 then the passband ripple (Ap)= − 20 log = 10 log 1 + ε 2 = −20 log 1 − δ p 1+ ε 2 •Assume Peak passband gain is A larger than peak stopband gain Hence, minimum stopband attenuation(As)= 20 log A = − 20 log( δ s )