10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examples<br />

Example 22—Extract Gain and Phase Margin of a 2-Stage Opamp<br />

Figure 21-32. Example 21—Simulation Results Zoom<br />

Example 22—Extract Gain and Phase Margin<br />

of a 2-Stage Opamp<br />

Netlist file: gain_phase_margins.cir<br />

This example shows how to extract the gain and phase margin for an opamp. The opamp is<br />

configured in open loop. The gain and phase margins are extracted in two different ways, to<br />

illustrate the capabilities of the .EXTRACT statements and functions.<br />

• The bandwidth is plotted versus the phase margin. With EZwave, open the<br />

gain_phase_margins.swd file.<br />

• The various extracted metrics are printed to a tabular output file.<br />

The simulation is stepped using the compensation capacitor as the parameter. The gain and<br />

phase margin quantities are automatically plotted versus the compensation capacitor value.<br />

Summary of Eldo commands used in this example:<br />

Eldo® User's Manual, 15.3 1327

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!