Custom Search

Friday, July 18, 2008

simple dc circuit simulation using pspice

The following circuit is to be simulated on P Spice to calculate and print all node voltages and currents, and the power dissipation of all voltage sources (Vs, Vx, and Vy).
The circuit file stored as DC circuit.cir, and the Outputs stored in the file as DC circuit.out

The circuit file contains the following statements:
•VS 1 0 DC 20V : DC Voltage source of 20V
IS 0 4 DC 50MA : DC Current source of 50mA
••R1 1 2 500 : Resistance of 500Ohms
R2 2 5 800 : Resistance of 800Ohms
R3 2 3 1KOHM : Resistance of 1000Ohms
R4 4 0 200 : Resistance of 200Ohms
VX 3 0 DC 0V : Measures the current through R3
VY 5 4 DC 0V : Measures the current through R2
•••.OP : Directs the Bias Point to output file
.END : End of circuit file

The results that appear in the out put file are shown below
****SMALL SIGNAL BIAS SOLUTION TEMPERATURE=27.000 DEG C
NODE VOLTAGE
1 20.000
2 12.500
3 0.000
4 10.500
5 10.500
VOLTAGE SOURCE CURRENT
NAME CURRENT
VS -1.500E-02 IR1=15mA
VX 1.250E-02 IR3=12.5mA
VY 2.500E-02 IR2=2.5mA

TOTAL POWER DISSIPATION 3.00E-01 WATTS.

No comments: