10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examples<br />

Example 2—Transient and AC Analysis of a 4th Order Butterworth Filter<br />

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

• .AC—AC analysis.<br />

• .TRAN—Transient analysis.<br />

• .PLOT—Plot simulator results.<br />

Netlist Explanation<br />

The first group of lines define the devices in the circuit to be simulated. Each device<br />

instantiation specifies the component name, the nodes to which the component is connected and<br />

the value of the component.<br />

4th Order Butterworth Filter<br />

c1 4 0 1.5307n<br />

c2 3 0 1.0824n<br />

l1 3 4 1.5772u<br />

l2 2 3 .38268u<br />

r1 1 2 1<br />

This line defines an AC source of 1V and a time dependent Piece Wise Linear function between<br />

the nodes 1 and 0. The pwl parameters describe a signal that stays at 0V until 1μs where it rises<br />

to 1V in 1μs. The signal stays at 1V until 20μs where it drops back to 0V in 0.1μs.<br />

v1 1 0 ac 1 pwl (0 0 1u 0 2u 1 20u 1 20.1u 0)<br />

Tip<br />

Refer to the output results for a pictorial representation of this signal.<br />

The line below specifies that Eldo will perform a transient analysis on the circuit lasting 40μs<br />

with a plotting increment for the line printer of 0.2μs.<br />

.tran 0.2u 40u<br />

The lines below specify that voltage/time plots will be generated on separate graphs of the<br />

voltage at node 4 and the voltage at node 1.<br />

.plot tran v(4)<br />

.plot tran v(1)<br />

The line below indicates that Eldo performs an AC analysis on the circuit within the frequency<br />

range 10000Hz to 100MHz with 20 steps per decade. This AC analysis statement specifies that<br />

an AC analysis is performed in addition to the transient analysis. Eldo first performs the AC<br />

analysis, followed by the transient analysis.<br />

.ac dec 20 10000 100meg<br />

The line below sets the simulator accuracy.<br />

Eldo® User's Manual, 15.3 1275

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

Saved successfully!

Ooh no, something went wrong!