IRR Filter desighn

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
User avatar
earth
Posts: 21
Joined: Mon Nov 07, 2011 8:12 am

IRR Filter desighn

Post by earth »

hey you guys

can someone please upload a scheme of a filter made only with
add and multyply components ... Not an already build module

http://en.wikipedia.org/wiki/File:IIRFilter2.svg

i need to ilustrate a real dsp engine with the z transform
and make it work



i need your imidit help
thnx
jksuperstar
Posts: 1638
Joined: Mon Nov 15, 2010 12:57 pm

Re: IRR Filter desighn

Post by jksuperstar »

This sounds like a homework problem. And you should read a bit more on IIR filters, because the picture you chose is a poor example...there are no coefficients to tweak (ie - no multiply or scaling!!)

Read this:
http://www.eas.uccs.edu/wickert/ece2610 ... _chap8.pdf

Then go to page 8-13. Then work you're way through the direct form I, into form II (reduced memory elements (Z^-1)), and finally a few pages later, the transposed Direct Form II (reduced summing points). Those diagrams are an exact layout of how you'd connect things in modular.

The only tips you need to do them are these:
Z^-1 == Feedback module (1 sample delay)
Multiply == VCA with constant used for coefficients.
Add == 2 input Mixer with both inputs set to 12 o'clock.

The other tick, is in calculating the coefficients a0, a1, b0, b1 and so on!
User avatar
earth
Posts: 21
Joined: Mon Nov 07, 2011 8:12 am

Re: IRR Filter desighn

Post by earth »

can i use the math moudules ???
add is add ...
etc,,,
jksuperstar
Posts: 1638
Joined: Mon Nov 15, 2010 12:57 pm

Re: IRR Filter desighn

Post by jksuperstar »

sure, and there's other ways to do multiply. But I do think the feedback module is the guaranteed way to get 1 sample delay.
User avatar
earth
Posts: 21
Joined: Mon Nov 07, 2011 8:12 am

Re: IRR Filter desighn

Post by earth »

fir is more relevant ..

does the frequency changes through the coefficients ???
User avatar
Roland Kuit
Posts: 670
Joined: Fri Dec 28, 2012 1:42 pm
Location: NL/SWE
Contact:

Re: IRR Filter desighn

Post by Roland Kuit »

I made a few IRR filters. Even one with a complete matrix.
The FB module is needed but doesn't give you the 1-sample Delay.
You need the Flexor Sample Delay module for that.
On the other hand, the Flexor Sample Delay module can't be used as a feedback module.
Avant-electronic composer | synthesis research | lecturer
http://www.rolandkuit.com/
tgstgs
Posts: 526
Joined: Sun Jan 15, 2006 4:00 pm

Re: IRR Filter desighn

Post by tgstgs »

the feedback IS a 1 sample delay_
good vibes
User avatar
Roland Kuit
Posts: 670
Joined: Fri Dec 28, 2012 1:42 pm
Location: NL/SWE
Contact:

Re: IRR Filter desighn

Post by Roland Kuit »

Thank you tgstgs .
That's why I mentioned the Flexor Sample Delay module in specific.
I was wondering why it cannot be used as a Feedback module.
Any ideas?
Avant-electronic composer | synthesis research | lecturer
http://www.rolandkuit.com/
tgstgs
Posts: 526
Joined: Sun Jan 15, 2006 4:00 pm

Re: IRR Filter desighn

Post by tgstgs »

it is 1 object;
the algo checking to protect for recursion without delay doesnt know that it is a delay_
how could he;

good vibes
jksuperstar
Posts: 1638
Joined: Mon Nov 15, 2010 12:57 pm

Re: IRR Filter desighn

Post by jksuperstar »

Ahhhh, that is really good to know, and I am glad (or lucky) not to have run into that problem!

Thanks!
tgstgs
Posts: 526
Joined: Sun Jan 15, 2006 4:00 pm

Re: IRR Filter desighn

Post by tgstgs »

heres a 1 tap sitting in PM // no feedback
im a feedforward freak you know
good vibes
Attachments
tgsds1tap.zip
(1.32 KiB) Downloaded 189 times
tgstgs
Posts: 526
Joined: Sun Jan 15, 2006 4:00 pm

Re: IRR Filter desighn

Post by tgstgs »

with sdk look into the feedback modul to see how they fool their algo_
User avatar
Roland Kuit
Posts: 670
Joined: Fri Dec 28, 2012 1:42 pm
Location: NL/SWE
Contact:

Re: IRR Filter desighn

Post by Roland Kuit »

Happy feedfoward! Thanks!
Avant-electronic composer | synthesis research | lecturer
http://www.rolandkuit.com/
User avatar
Roland Kuit
Posts: 670
Joined: Fri Dec 28, 2012 1:42 pm
Location: NL/SWE
Contact:

Re: IRR Filter desighn

Post by Roland Kuit »

With compliments to tgstgs modules:
A Schroeders All pass filter
Attachments
Schroeders Allpass.rar
(4.01 KiB) Downloaded 175 times
Roland Kuit Schroeders Allpass.jpg
Roland Kuit Schroeders Allpass.jpg (55.42 KiB) Viewed 4727 times
Avant-electronic composer | synthesis research | lecturer
http://www.rolandkuit.com/
User avatar
sharc
Posts: 638
Joined: Mon Oct 29, 2001 4:00 pm
Location: No idea. All looks the same down here

Re: IRR Filter desighn

Post by sharc »

Looks good Roland 8)
User avatar
Roland Kuit
Posts: 670
Joined: Fri Dec 28, 2012 1:42 pm
Location: NL/SWE
Contact:

Re: IRR Filter desighn

Post by Roland Kuit »

Thanks Shark, but I have to test the mixers. In this case they must be linear.
Tomorrow an other day.
Avant-electronic composer | synthesis research | lecturer
http://www.rolandkuit.com/
jhulk
Posts: 935
Joined: Fri Apr 01, 2011 4:49 am

Re: IRR Filter desighn

Post by jhulk »

yes looks good roland
Post Reply