AGC DSP IIR Digital Filter Design Standard approach

  • Slides: 28
Download presentation
AGC DSP IIR Digital Filter Design Standard approach (1) Convert the digital filter specifications

AGC DSP IIR Digital Filter Design Standard approach (1) Convert the digital filter specifications into an analogue prototype lowpass filter specifications (2) Determine the analogue lowpass filter transfer function (3) Transform by replacing the complex variable to the digital transfer function Professor A G Constantinides 1

AGC DSP IIR Digital Filter Design n This approach has been widely used for

AGC DSP IIR Digital Filter Design n This approach has been widely used for the following reasons: (1) Analogue approximation techniques are highly advanced (2) They usually yield closed-form solutions (3) Extensive tables are available for analogue filter design (4) Very often applications require digital simulation of analogue systems Professor A G Constantinides 2

AGC DSP IIR Digital Filter Design n n Let an analogue transfer function be

AGC DSP IIR Digital Filter Design n n Let an analogue transfer function be where the subscript “a” indicates the analogue domain A digital transfer function derived from this is denoted as Professor A G Constantinides 3

AGC DSP IIR Digital Filter Design n n Basic idea behind the conversion of

AGC DSP IIR Digital Filter Design n n Basic idea behind the conversion of into is to apply a mapping from the sdomain to the z-domain so that essential properties of the analogue frequency response are preserved Thus mapping function should be such that n Imaginary ( ) axis in the s-plane be mapped onto the unit circle of the z-plane n A stable analogue transfer function be mapped into a stable digital transfer function Professor A G Constantinides 4

AGC DSP IIR Digital Filter: The bilinear transformation n n To obtain G(z) replace

AGC DSP IIR Digital Filter: The bilinear transformation n n To obtain G(z) replace s by f(z) in H(s) Start with requirements on G(z) G ( z) Available H(s) Stable Real and Rational in z Real and Rational in s Order n L. P. (lowpass) cutoff L. P. cutoff Professor A G Constantinides 5

AGC DSP IIR Digital Filter is real and rational in z of n Hence

AGC DSP IIR Digital Filter is real and rational in z of n Hence order one i. e. n For LP to LP transformation we require n Thus n Professor A G Constantinides 6

AGC DSP IIR Digital Filter n The quantity n ie on n Or n

AGC DSP IIR Digital Filter n The quantity n ie on n Or n and is fixed from Professor A G Constantinides 7

AGC DSP Bilinear Transformation n Transformation is unaffected by scaling. Consider inverse transformation with

AGC DSP Bilinear Transformation n Transformation is unaffected by scaling. Consider inverse transformation with scale factor equal to unity For and so Professor A G Constantinides 8

AGC DSP Bilinear Transformation n Mapping of s-plane into the z-plane Professor A G

AGC DSP Bilinear Transformation n Mapping of s-plane into the z-plane Professor A G Constantinides 9

AGC DSP Bilinear Transformation n For with unity scalar we have or Professor A

AGC DSP Bilinear Transformation n For with unity scalar we have or Professor A G Constantinides 10

AGC DSP Bilinear Transformation n Mapping is highly nonlinear Complete negative imaginary axis in

AGC DSP Bilinear Transformation n Mapping is highly nonlinear Complete negative imaginary axis in the s -plane from to is mapped into the lower half of the unit circle in the z-plane from to Complete positive imaginary axis in the splane from to is mapped into the upper half of the unit circle in the z-plane from to Professor A G Constantinides 11

AGC DSP Bilinear Transformation n n Nonlinear mapping introduces a distortion in the frequency

AGC DSP Bilinear Transformation n n Nonlinear mapping introduces a distortion in the frequency axis called frequency warping Effect of warping shown below Professor A G Constantinides 12

AGC DSP Spectral Transformations n n To transform a given lowpass transfer function to

AGC DSP Spectral Transformations n n To transform a given lowpass transfer function to another transfer function that may be a lowpass, highpass, bandpass or bandstop filter (solutions given by Constantinides) has been used to denote the unit delay in the prototype lowpass filter and to denote the unit delay in the transformed filter to avoid confusion Professor A G Constantinides 13

AGC DSP Spectral Transformations n n n Unit circles in z- and -planes defined

AGC DSP Spectral Transformations n n n Unit circles in z- and -planes defined by , Transformation from z-domain to -domain given by Then Professor A G Constantinides 14

AGC DSP Spectral Transformations n n From hence Therefore function , thus , must

AGC DSP Spectral Transformations n n From hence Therefore function , thus , must be a stable allpass Professor A G Constantinides 15

AGC DSP Lowpass-to-Lowpass Spectral Transformation n n To transform a lowpass filter with a

AGC DSP Lowpass-to-Lowpass Spectral Transformation n n To transform a lowpass filter with a cutoff frequency to another lowpass filter with a cutoff frequency , the transformation is On the unit circle we have which yields Professor A G Constantinides 16

AGC DSP Lowpass-to-Lowpass Spectral Transformation n Solving we get Example - Consider the lowpass

AGC DSP Lowpass-to-Lowpass Spectral Transformation n Solving we get Example - Consider the lowpass digital filter which has a passband from dc to with a 0. 5 d. B ripple Redesign the above filter to move the Professor A G Constantinides passband edge to 17

AGC DSP Lowpass-to-Lowpass Spectral Transformation n n Here Hence, the desired lowpass transfer function

AGC DSP Lowpass-to-Lowpass Spectral Transformation n n Here Hence, the desired lowpass transfer function is Professor A G Constantinides 18

AGC Lowpass-to-Lowpass Spectral Transformation DSP n The lowpass-to-lowpass transformation can also be used as

AGC Lowpass-to-Lowpass Spectral Transformation DSP n The lowpass-to-lowpass transformation can also be used as highpass-tohighpass, bandpass-to-bandpass and bandstop-to-bandstop transformations Professor A G Constantinides 19

AGC DSP Lowpass-to-Highpass Spectral Transformation n Desired transformation n The transformation parameter is given

AGC DSP Lowpass-to-Highpass Spectral Transformation n Desired transformation n The transformation parameter is given by where is the cutoff frequency of the lowpass filter and is the cutoff frequency of the desired highpass filter Professor A G Constantinides 20

AGC DSP Lowpass-to-Highpass Spectral Transformation n n Example - Transform the lowpass filter with

AGC DSP Lowpass-to-Highpass Spectral Transformation n n Example - Transform the lowpass filter with a passband edge at to a highpass filter with a passband edge at Here The desired transformation is Professor A G Constantinides 21

AGC DSP Lowpass-to-Highpass Spectral Transformation n The desired highpass filter is Professor A G

AGC DSP Lowpass-to-Highpass Spectral Transformation n The desired highpass filter is Professor A G Constantinides 22

AGC Lowpass-to-Highpass Spectral Transformation DSP n n The lowpass-to-highpass transformation can also be used

AGC Lowpass-to-Highpass Spectral Transformation DSP n n The lowpass-to-highpass transformation can also be used to transform a highpass filter with a cutoff at to a lowpass filter with a cutoff at and transform a bandpass filter with a center frequency at to a bandstop filter with a center frequency at Professor A G Constantinides 23

AGC DSP Lowpass-to-Bandpass Spectral Transformation n Desired transformation Professor A G Constantinides 24

AGC DSP Lowpass-to-Bandpass Spectral Transformation n Desired transformation Professor A G Constantinides 24

AGC Lowpass-to-Bandpass Spectral Transformation DSP n The parameters and are given by where is

AGC Lowpass-to-Bandpass Spectral Transformation DSP n The parameters and are given by where is the cutoff frequency of the lowpass filter, and are the desired upper and lower cutoff frequencies of the bandpass filter Professor A G Constantinides 25

AGC Lowpass-to-Bandpass Spectral Transformation DSP n n Special Case - The transformation can be

AGC Lowpass-to-Bandpass Spectral Transformation DSP n n Special Case - The transformation can be simplified if Then the transformation reduces to where with denoting the desired center frequency of the bandpass filter Professor A G Constantinides 26

AGC Lowpass-to-Bandstop Spectral Transformation DSP n Desired transformation Professor A G Constantinides 27

AGC Lowpass-to-Bandstop Spectral Transformation DSP n Desired transformation Professor A G Constantinides 27

AGC Lowpass-to-Bandstop Spectral Transformation DSP n The parameters by and are given where is

AGC Lowpass-to-Bandstop Spectral Transformation DSP n The parameters by and are given where is the cutoff frequency of the lowpass filter, and are the desired upper and lower cutoff frequencies of the bandstop filter Professor A G Constantinides 28