Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
u put an iprobe between the opamp and the pass element and use the stability analysis to check the phase margin and for the psr u put 1V Ac on the supply and use ac analysis to get the transfer function from the supply to the output.
Which simulator engine do you use ?
If the program does not contain a specific stability analysis package you have to apply the stability definition: Simulate the ac response of the loop gain Lo(w) and determine the phase margin at the frequency where the magnitude Lo=1.