I tried determine phase margin in LTspice of the circuit in the picture but I am not sure if I choosed correctly nodes for calculating(Vout/Vin). Can anybody give his point of view? Thanks
You just have to do an AC analysis and click on Vout.
The resulting plot shows the ratio of Vout to the AC value of V6.
Make sure the circuit is biased in the linear region when you do the AC test.
Note that C25 creates a lag in the loop which may cause a high frequency peak (and possible transient ringing or oscillation) in the response.
Thanks for your reply, in my simulation I was use AC simulation but I observed ratio Vout/Vin and from resulting plot I determined phase margin. My question was if I should use for calculating anothor nodes for example Vfb/Vin, but according your answer I should use only Vout, so my question now is why in LTspice is enough use only Vout for determine phase margin, thanks