I should have clarified that my question is really for this case. Where the two poles are conjugates. (The two different real poles case wouldn't work for sure. I'm aware of that). Given that I'm doing a serial connection (cascade) between the two 1-poles. I haven't tried a partial fraction (parallel connection), although I'm currently looking into it.mystran wrote: ↑Wed May 22, 2019 2:35 amNot really. What we have is essentially a parallel implementation by partial fractional decomposition... but since we know the outputs of the two terms are conjugate for Q>.5 we can just compute one and take the real part and pretend we did a parallel sum.S0lo wrote: ↑Wed May 22, 2019 1:13 amI have skimmed through 7.11 very briefly to get the top lines. But let me take it from you before I decide to go deep into this or not. Is it possible to design a single CPS (or Complex resonator, or..etc) where we would simply drop the imaginary part and get exactly the desired 2-pole without ill-conditioned problems at any resonance value?Z1202 wrote: ↑Tue May 21, 2019 5:29 pm As mentioned, this works only if resonance is sufficiently high so that the imaginary parts of the poles are away from zero. Particularly see 7.9 and 7.11 of you know which book (dropping the imaginary part is equivalent to averaging with a conjugate filter's output).
Actually it should be possible to construct any resonating 2-pole this way.
On the other hand, serial connection probably doesn't suffer from this ill-conditioning, but doubles (effectively) the filter order and has complex transients.
Given the above, Specifically how do you normalize it to have the desired gain? Say for an LP, you want 0db gain at z=1. Normally we equalize the amplitude response at the desired z (or s) to the gain we want, then solve for the gain coefficient. But this doesn't seam to be really working clear here. As the analytical transfer function is now a 1-pole, instead of the a 2-pole.
I tried both, normalizing for the 1-pole and 2-pole transfer functions. Doesn't seam to be giving the desired 0db gain a z=1 gain. The result is that the lower frequencies get heavily attenuated as soon as the cut-off becomes lower than 9Khz or so. The problem worsens with high resonance. While I have to say that normalizing for the 1-pole has less attenuation. But another problem that arised in this case is that the normalizing coefficient gets populated with a sqrt() function. Pretty unfortunate for the hoped for CPU saving.
The second thing I noticed clearly in a spectrum analyzer is the drop in the order/slope of the filter. Perhaps due to the ill-conditioning that Z1202 was talking about as far as I understand it. It's not apparent in the sound with high cut-off but clear with lower cut-off. Higher resonance does improve this just a little bit but not much. But Off-course this is just a mere eye observation without any quantification from my side. I could be miss-lead.