If i consider the open loop gain of an opamp with negative feedback composed of 2 poles (with negative real part) and one zero (with positive real part) and if i want a phase margin of 45=B0, from its definition
360=B0-tan^-1[-A(jwo)F(jwo)]=3D45=B0 i have
+180=B0-tan^-1[A(jwo)F(jwo)]=3D+180=B0-[-tan^-1(w/p1)-tan^-1(w/p2) -tan^-1(= w/ z)]=3D45=B0 where +180 is obtained from 360=B0-tan^-1[negative constant]=3D360=B0- tan^-1[-1]=3D360=B0-180=B0 Instead i've found as solution
+-180=B0-tan^-1(w/p1)-tan^-1(w/p2) -tan^-1(w/z) =3D45=B0 what's wrong? thanks