Below is my buck converter circuit. How can I check its stability using LTspice?
I need to measure GM and PM.
Is this true that a 30–60 degrees phase margin and a gain margin of 2–10 dB are desirable in a closed-loop system design?
As Jonathan suggested I connected a current source at the output.Please see my circuit diagram below.
May I know my current source spec is fine or not.
The output waveform obtained is given below.
The percentage overshoot is given by ( (4.2-3.3)/3.3)*100 = 27% .
This will give a PM of almost 40Deg.
Please correct me if I am wrong.
As Tobalt suggested,changed the current source spec.Please see below.
The output obtained is given below.My question is for finding the overshoot which portion I need to consider .The red one or Blue one.
Voltage across C2 and output voltage
Voltage across capacitor C2