Docsity

Frequency Transformations-Digital Signal Processing-Lecture 38 Slides-Electrical and Computer Engineering, Slides of Digital Signal Processing

Toggle sidebar
bg1
NOVEMBER 15, 1996 EE 4773/6773: LECTURE NO. 38 PAGE 1 of 7
ELECTRICAL AND COMPUTER ENGINEERING
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
s2ΩlΩu
+
sΩuΩl
–()
---------------------------



→
ΩlΩu
,
sΩp
sΩuΩl
–()
s2ΩlΩu
+
---------------------------



→ΩlΩu
,
pf3
pf4
pf5

Partial preview of the text

Download Frequency Transformations-Digital Signal Processing-Lecture 38 Slides-Electrical and Computer Engineering and more Slides Digital Signal Processing in PDF only on Docsity!

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) – a

1 – az –^1

ω' (^) p

a

sin[ ( ωp – ω' (^) p) ⁄ 2 ] sin[ ( ω (^) p +ω' (^) p) ⁄ 2 ]

z –^1 z^

  • (^1) +a

1 +az –^1

ω' (^) p

a

cos[ ( ωp +ω' (^) p) ⁄ 2 ] cos[ ( ωp – ω' (^) p) ⁄ 2 ]

z

  • 1 z^
    • (^2) a 1 z^
  • –^1 a
  • 2

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 ]

K

ωu – ωl 2

cot (^)  ------------------

ωp 2

= tan  -------

z

  • 1 z^
    • 2 a 1 z - 1
  • +a 2

a 2 z

  • 2 a 1 z - 1
    • 1

ωl ,ωu

a 1 = – 2 α ⁄( K + 1 )

a 2 = –( K – 1 )⁄( K + 1 )

α

cos[ ( ωu +ωl) ⁄ 2 ] cos[ ( ωu – ωl) ⁄ 2 ]

K

ω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 (l^ ,^0 ) l^ = 1 2,^ ,^ …^ ,N

( L »N)

r (^) dd (k l , ) r (^) dd (k – l) h (^) d ( )n h (^) d (n +k – l) n = 0

L – k – l

= = ∑ 0 ≤ k – l≤N

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

– ∑ b kδ (n – k)

k = 0

M

= + ∑ n ≥ 0

h n( ) a (^) k h n( – k) k = 1

N

= – ∑ +b n 0 ≤ n ≤M

a (^) k h n( – k) k = 1

N

= – ∑ n >M

hˆ^ d ( )n a (^) k h (^) d (n – k) k = 1

N

= – ∑ n >M

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

= – ∑ +δ ( )n n ≥ 0

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^ hv ( )l

r (^) vv (k l , ) v n( – k)v n( – l) n = 0

∞

= ∑ r hv ( )k h d ( )n v n( – k)

n = 0

∞