Page 376

CHAP. 15]

CIRCUIT ANALYSIS USING SPICE AND PSPICE

365

Independent Sources Independent sources are specified by hnamei

hnodesi

htypei

hvaluei

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 first node indicates the positive terminal. The current in the current source flows from the first node to the second. EXAMPLE 15.3

Write data statements for the sources of Fig. 15-3.

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.

Fig. 15-4

We first 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

Mahmood_Nahvi_eBook_Schaum_s_Outlines_Theory_An