I have been using both (Bode and Nyquist diagrams) to design simple digital feedback controllers for low-order SISO systems P(z), by analysing the loop transfer function L(z) = P(z)*C(z). But I am getting frustrated by the fact that both graphical representations, in some cases, may suggest that I have derived a nice controller C(z), for a good closed loop transfer function T(z) = P(z)*C(z)/{1+P(z)*C(z)}, as indicated by:
however, I may still end up with closed-loop poles in T(z) (slightly) outside the unit circle, which, as far as I can tell, are not apparent in these diagrams!
Fortunately, Matlab's margin() command picks up on this and issues a closed-loop instability warning, even though the returned gain and phase margins indicate stability.
Is there any point using Bode and Nyquist diagrams if closed loop instability can be concealed like this?
Or am I doing something wrong?
Could there be some evidence of instability in the Nyquist diagram, that I am missing?