CIRCUIT ANALYSIS USING SPICE AND PSPICE
Independent Sources Independent sources are speciﬁed by hnamei
The htypei for dc and ac sources is DC and AC, respectively. Other time-dependent sources will be described in Section 15.12. Names of voltage and current sources begin with V and I, respectively. For voltage sources, the ﬁrst node indicates the positive terminal. The current in the current source ﬂows from the ﬁrst node to the second. EXAMPLE 15.3
Write data statements for the sources of Fig. 15-3.
Source Independent Voltage Source Independent Current Source EXAMPLE 15.4
hnamei Vs Ibias
hnodesi 2 1 3 4
htypei hvaluei DC 30 V DC 2A
Write the netlist for the circuit of Fig. 15-4(a) and run PSpice on it for dc analysis.
We ﬁrst number the nodes and name the elements as in Fig. 15-4(b). The netlist is DC Analysis, R1 0 R2 1 R3 2 R4 0 Vs 3 Is 0 .END
Fig. 1 2 3 3 1 2
15-4 500 3k 1k 1.5 k DC DC
4V 3 mA