



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Frequency Transformations For Analog Filters
Strategy:
(1) Prewarp the cutoff frequencies (2) Design an analog lowpass filter (3) Use a frequency transformation to prewarped frequencies (4) Use the bilinear transform to get a digital filter
Type of Transformation Transformation
Cutoff Frequencies of New Filter Lowpass
Highpass
Bandpass
Bandstop
s
Ω (^) p Ω' (^) p
→ --------s
Ω' (^) p
s
Ω (^) pΩ' (^) p s
Ω' (^) p
s Ω (^) p
s^2 +ΩlΩu s ( Ωu – Ωl)
Ωl ,Ωu
s Ω (^) p
s ( Ωu – Ωl)
s^2 +ΩlΩu
Ωl ,Ωu
Frequency Transformations For Digital Filters
Strategy:
(1) Design a digital lowpass filter (using standard techniques) (2) Use a digital frequency transformation
Type of Transformation Transformation
Cutoff Frequencies of New Filter
Lowpass
Highpass
Bandpass
Bandstop
z –^1 z^
1 – az –^1
ω' (^) p
a
sin[ ( ωp – ω' (^) p) ⁄ 2 ] sin[ ( ω (^) p +ω' (^) p) ⁄ 2 ]
z –^1 z^
1 +az –^1
ω' (^) p
a
cos[ ( ωp +ω' (^) p) ⁄ 2 ] cos[ ( ωp – ω' (^) p) ⁄ 2 ]
z
a 2 z –^2 – a 1 z –^1 + 1
ωl ,ωu
a 1 = – 2 αK ⁄( K + 1 )
a 2 = ( K – 1 ) ⁄( K + 1 )
α
cos[ ( ωu +ωl) ⁄ 2 ] cos[ ( ωu – ωl) ⁄ 2 ]
ωu – ωl 2
cot (^) ------------------
ωp 2
= tan -------
z
a 2 z
ωl ,ωu
a 1 = – 2 α ⁄( K + 1 )
a 2 = –( K – 1 )⁄( K + 1 )
α
cos[ ( ωu +ωl) ⁄ 2 ] cos[ ( ωu – ωl) ⁄ 2 ]
ωu – ωl 2
tan (^) ------------------
ωp 2
= tan -------
1 y n( )^ δ^ ( )n H z----------( )-
(2) Least-Squares Using an All-Pole Filter
Suppose is specified for. Our desired filter has the form:
Consider the following minimization problem:
h (^) d ( )n n ≥ 0
H z( )
b 0
(^1) a (^) k z – k k = 1
N
Define the mean-squared error as:
where implies.
Differentiating w.r.t. and rewriting as a system of linear equations:
where, for finite data ,
y n( ) 1 b 0
----- h (^) d ( )n h (^) d (n – k) k = 1
N
E y^2 ( )n n = 1
∞
y (^) d ( ) 0 = y ( ) 0 = 1 b 0 = h (^) d ( ) 0
a (^) k
a (^) k r (^) dd (k l , ) k = 1
N
r (^) dd (k l , ) r (^) dd (k – l) h (^) d ( )n h (^) d (n +k – l) n = 0
L – k – l
H (^) d ( )z
δ ( )n
Minimize Error
(3) Least-Squares Using an ARMA (Pole/Zero) Filter
Suppose our desired filter has the form:
The impulse response can be written as:
or,
This is, in general, a nonlinear optimization problem (that can be solved directly with iterative algorithms).
A sub-optimal approach, known as Prony’s method, uses a two-step process: (1) fit the poles of the filter; (2) minimize the remaining error using zeros.
Define:
H z( )
b (^) k z – k k = 0
M
(^1) a (^) k z – k k = 1
N
h n( ) a (^) k h n( – k) k = 1
N
k = 0
M
h n( ) a (^) k h n( – k) k = 1
N
a (^) k h n( – k) k = 1
N
hˆ^ d ( )n a (^) k h (^) d (n – k) k = 1
N
Similarly, the all-zero portion of the filter can be written as:
The impulse response can be written as:
The error signal is given by:
Its energy is given by:
By differentiating w.r.t. the filter coefficients, we obtain:
where,
and
The above equation can be solved using any standard technique (matrix inversion, Gaussian elimination, etc.).
This method of two-stage optimization is known asShanks’ method.
v n( ) aˆ (^) k v n( – k) k = 1
N
H 2 ( )z (^) b (^) k z – k k = 0
M
hˆ^ d ( )n b (^) k v n( – k) k = 0
M
e n( ) h (^) d ( )n – hˆ^ d ( )n h (^) d ( )n b (^) k v n( – k) k = 0
M
E 2 h (^) d ( )n b (^) k v n( – k) k = 0
M
2
n = 0
∞
b (^) k r (^) vv (k l , ) k = 0
M
r (^) vv (k l , ) v n( – k)v n( – l) n = 0
∞
n = 0
∞