Hi,
Thanks, this helps already! Language is just plain MATLAB (or Octave). It worked right of the box, converging to vo=9.9 (it should be 10 with infinite loop gain and error is 1/T=0.01 with finite T which matches).
I am trying to understand why we need a high frequency roll-off at all. (just from a highly theoretic perspective!)
And what we can say about the stability of a hypothetic, infinite bandwidth feedback system (i.e., T(s)=T0=const and real for all s).
One criterion for stability (Bode) is that |T(s)|<1 where Phase(T(s)) = -180.
But T(s)=T0 implies that the phase cannot go to -180, so shouldn't this system be always stable?
On the other hand, changing the input signal (in the code from 0 to 1) corresponds to a step which has infinite frequency. This signal is then amplified with T0 at all frequencies in the loop all over again which results in an unstable system. If T(s) would have a high frequency roll-off, the high frequencies induced by the step would not be amplified.
So is it correct that such a system is only stable if it is excited with a DC signal for all times?
How does this agree with Bode's criterion?
In this sense, I am also asking myself about the difference of positive and negative FB in the context of hypotethic, infinite BW loops (e.g., no s!).
Generally, for A=a/(1+T), I would expect an unstable system only for T=-1. But the criterion says: Negative T is positive FB and unstable.
So why should any negative T (positive feedback!) other than T=-1 be more unstable than any positive T?