3:06 am

March 28, 2016

Hi,

Can someone help me with the 6.4.1 challenge. I have been through it a number of times and corrected various mistakes I've made along the way but I've hit a dead end and can't see where I went wrong.

I assume my frequency pre-warping is OK as it is the same as in the previous example in the book:

Wa = tan[ WdT / 2 ] = 0.07136

Denormalize analogue transfer function:

0.005092

----------------------------------------

s^2 + 0.07136s + 0.005092

And BZT:

0.005092(z+1)^2

------------------------------------------------------------------

(z-1)^2 + 0.07136(z-1)(z+1) + 0.005092(z+1)^2

I think my error my be in the denormalize section but I can't see where. From what I've seen in other examples, the structure of the various powers of z seems right in the BZT but I may be mistaken. If anyone could offer any insight in to where I have gone wrong it would be very much appreciated!

3:30 am

January 29, 2017

Hi

Well, the wording of the question is a bit confusing here and I apologize for that. It is slightly different from the way the previous problem is worded in that you are given a transfer function H(s) *with the analog LPF cutoff already calculated as 1kHz* so you do not need to find the pre-warped analog cutoff - you already have it. This was supposed to simplify the derivation but the wording caused issues. I've already fixed this for whenever the 2nd Edition is desired.

So, calculate the normalized wa as

wa = 2pifc/fs and then go from there.

You can find the solution here:

http://willpirkle.com/Download.....Pirkle.pdf

Sorry for any confusion with that wording.

Will

1:18 pm

March 28, 2016

OK gotcha, thanks for the speedy reply Will.

The book is great, I have been dipping in to Audio DSP for the last few years but banging my head against the wall trying to learn from the fragmented information in different papers/books, all with different terminology - so it's really useful to have it all in one resource.

I have the synthesiser book on order now too, I wrote a 303 emu a while ago but never really understood the filter, so I'm hoping this will help me crack that one.

1:14 am

March 28, 2016

Thanks for posting the solution Will. However, I found the solution has the frequency calculation listed incorrectly:

Wn = 2 PI Fc / Fs = 0.1425 (not 0.0714, as listed in the solution)

...it should be...

Wa = tan(WdT/2) = 0.0714

using the pre-warping calculation gives the correct value, which can then be used with the rest of the solution listed. Just wanted to mention it here for anyone else who might be looking.

As it turned out, I was on the right track - I just needed to multiply everything by z^-2 and then scale by the reciprocal of the non-z term in the denominator - sorted!

Most Users Ever Online: 36

Currently Online:

7 Guest(s)

Currently Browsing this Page:

1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 30

TheSmile: 27

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 522

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 545

Posts: 2134

Newest Members:

Bill, hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman, venkman, Jfx, drorhModerators: W Pirkle: 247

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 247