Practica2 Electronica PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

1

Universidad Autonoma de Yucatan


Engineering Faculty
Practice No. 2: Circuit Simulation with PSpice
Cuy D., Isaac S., Mitz E.
Abstract
Due to development of helpful circuits who require a high complexity level and a large control of the variables,
PSpice is an appropriate software for analysis and measurement of dicult circuits and devices. This powerful
tool, used by professionals who need to manipulate electric and electronic circuits, will be used to analyze a
given circuit.
1 Objectives
I. Introduce to the PSpice management as a circuit
analysis tool.
2 Introduction
In the development of this practice, it will be used the
software PSpice as introduction of circuits simulation
and analysis. It will be simulated the current, voltage
and electric power on a resistive circuit given by the
Figure 1 ( used in Practice 1) to compare the simulated
and experimental values.
3 Development
Figure 1: Diagram of used circuit.
Based on the circuit shown in gure 1,rst we need to
dene the nodes for PSpice code and these are repre-
sented by the blue numbers. The table 1 describes the
elements of the code (at frame 1) and their function.
This shows the reason of each statement at the code.
* Practice 2. PSpice Introduction
Vin 1 0 dc 10
r1 1 2 1.5k
r2 2 4 2.2k
r3 2 4 1k
r4 2 3 3.9k
r5 3 4 5.6k
r6 4 0 4.7k
.op
.dc vin 5 10 0.5
.print dc i(r1) i(r2) i(r3) i(r4)
.probe i(r1) i(r2) ir(3) i(r4)
.end
Frame 1. Statements on PSpice for the circuit.
Table 1: Description of utilized statements
Statement Description
V. Source Syntax: [Name variable, initial V]
[Node +] [Node -] [Value]
Resistor Syntax: [Name variable, initial R]
[Node +] [Node - [Value]
.op Give the voltage in every node (ex-
cept the reference node), the current
in the sources independent and total
power dissipation.
.dc Sweep the voltage of a designate
source. It have to established the
source, start value, nal value and
increment, in the respective order.
.print Print the designate current or volt-
age established.
.probe Display a window to graph the cho-
sen variables and save all the data in
a .dat le.
.
2
On the rst lines of the code, we declare a DC source
with the statement Vin 1 0 dc 10. The Vin
represents the name of the source; the next two num-
bers are the nodes to which the source is connected;
dc 10 means it is a 10 volt DC source.
Next, the resistances are declared similarly of DC
source Vin. First we have the name, then the
nodes of the resistance and last their values.
Finally we have the output parameters congu-
ration, in which we vary the source voltage (.dc)
then we get the current in each resistor (.print) and
plot the current versus dierent voltage values (.probe).
Table 2: Results of circuit.
V
DC
(V ) I
1
(A) I
2
(A) I
3
(A) I
4
(A)
5.0 730.9 213.0 468.6 49.32
6.0 877.1 255.6 562.3 59.19
7.5 1096 319.5 702.9 73.98
8.0 1169 340.8 749.7 78.92
9.5 1389 404.7 890.3 93.71
10 1462 426.0 937.1 98.65
And exclusively for the 10 voltage source, the results
are the next:
Table 3: Voltages in nodes and power dissipated.
Node number Voltage (V)
1 10.0000
2 7.8047
3 7.4227
4 6.8702
Total Power Dissipation: P
T
= 14.6mW
The results are exactly the same as analytic values.
As seen in table 2, the current through resistors versus
voltage source change varies linearly, as Ohms law
says.
Figure 2: Currents vs Voltage change.
As it can observe in gure 2, the currents through the
resistors 1, 2, 3 and 4 varies linearly versus the voltage
change, proving the linearity property of Ohms law.
4 Conclusions
It was proved that with a few statements, PSpice can
easily obtain the required values.
Also it was shown the accuracy of the software com-
paring with analytic results.
In addition it was proved the linearity of Ohms
law using the graph of current versus voltage.
5 References
[1.] E. Dillon W. (2011) "PSpice
Tutorials". Available in:
<http://www.uta.edu/ee/hw/pspice/index.php>.
[2.] W. Carter J. (1998) "ELET 3153
- Experiment #2". Available in:
<http://www.docshut.com/irvptp/pspice-
command-summary.html>.

You might also like