I'm currently working on an implementation of a Chebyshev Type 2 filter but the gain is all over the place when playing around with the order and ripple. I haven't found anything online but (as far as I understand) I need to calculate the DC gain to compensate for gain differences. How would I go about doing that?
I've tried to do
s = 0 for my analog prototype which leaves me with just the coefficients
b1 / a2 for every biquad. I multiplied all the fractions of the individual biquads together but the result did not help at all, it seems just as random as the gain itself.
Can anyone point me in the right direction?