Compare the Closed-loop AC, Loop gain, and Small-step transient views to connect phase margin with ringing.

Open and run
- Open Examples from the Home ribbon.
- Choose Op-amp loop gain and phase margin.
- Open Simulate and choose Setup to review the analyses.
- Choose Run for one analysis or Run All for the complete configured set.
- Select a matching Scope view after the run. Use Save as sheet to keep the example or Discard to close it.
Sheets, analyses, and Scope
Non-inverting amp and loop gain
Setup: Loop-gain lab
| Analysis | Configuration |
|---|---|
| Small-step transientTransient |
|
| Closed-loop ACAC |
|
| Loop gain (voltage injection)AC |
|
Scope views and expected results
Closed-loop AC
Waveforms
V(vin)V(vout)
Loop gain T (voltage injection)
Analysis: Loop gain (voltage injection)
Waveforms
- T = −V(vfb)/V(vinv)
-V(vfb) / V(vinv)
Step response (ringing)
Analysis: Small-step transient
Waveforms
V(vin)V(vout)V(vload)
Readouts
- Maximum outputMax
V(vout) - Minimum outputMin
V(vout)
Python scripts
No Python scripts are included with this example.