3.5 COMPUTER-AIDED CIRCUIT SIMULATION 169
which results are printed, plotted, or reported to PROBE, TMAX is the maximum time increment
between computed values, and UIC is a keyword that causes PSpice to use initial conditions
specified for inductors and capacitors in the element statements. In case of omission, TSTART
defaults to zero and TMAX to (TSTOP−TSTART)/50. If UIC is omitted, PSpice computes
initial conditions by assuming that the circuit is dc steady state prior tot=0. Let us present an
illustrative example.
EXAMPLE 3.5.1
Develop and execute a program to analyze the circuit shown in Figure E3.5.1(a), and use PROBE
for plottingvC(t).
−
+
−
+
Vs = 10 V vC (t)
i(0) = 0; vC (0) = 0
C
t = (^0) L R
(a)
10 mH 100 Ω
Initial conditions
i(t) 1 μF
Figure E3.5.1
−
- −
vC (t); vC (0) = 0
1 2 3
0
C
L R
(b)
10 mH 100 Ω
i(t); i(0) = 0 1 μF
Voltage V vC(t)
t, ms
(c)
0.2
5
0
10
15
0.4 0.6 0.8 1.0
Solution
The program is as follows:
EXAMPLE E3.5.1
- THE CIRCUIT DIAGRAM SUITABLE FOR ANALYSIS IS GIVEN IN
FIGURE E3.5.1(b)