Create High-pass filter

  • #1
With bilinear transform (s=z-1/z+1) determine the differential equation for a 1st order discrete HP filter fith samplingfrequency f_s=150 Hz and lower cutoff frequency f_c=50 Hz. Also set the passpandgain to 1.


This is how i did:

Discrete variable: Ω=2π/3

Equivalent cuttof frequency for analog filter: ω_a=sqrt(3)

Analog HP-filter transfer function: H(s)=(s/s+ω_a)

Then use the bilinear transform om H(s).

how do i get passbandgain = 1?

If they mean H(z)=H(1)=1 by that, then H(z)=0, so that cant be right.

Because my answer didnt seem correct. Help please. :D
 

Answers and Replies

  • #2
766
79
beyondlight,
How did you get corner frequency ω_a=sqrt(3)? Should be ω_a=2πf = 2π(50) right?
How did you get discrete variable Ω=2π/3?, your independent variables are z and s right?

You are missing your sampling frequency in your bilinear transform. It should be: s=150(z-1)/(z+1).

By the way with such a low sample freq compared to corner frequency (150Hz and 50Hz respectively) this will be a very bad discrete time realization of your first order filter (see attached image, red is ideal first order, blue is your discrete time realization, vertical is dB).
Does this help?
 

Attachments

  • Picture1.jpg
    Picture1.jpg
    6.4 KB · Views: 321
Last edited:

Related Threads on Create High-pass filter

  • Last Post
Replies
15
Views
6K
  • Last Post
Replies
5
Views
1K
Replies
6
Views
11K
Replies
1
Views
10K
  • Last Post
Replies
13
Views
3K
  • Last Post
Replies
0
Views
4K
Replies
43
Views
3K
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
3
Views
5K
Replies
0
Views
2K
Top