Docsity
Docsity

Pripremite ispite
Pripremite ispite

Studirajte zahvaljujući brojnim resursima koji su dostupni na Docsity-u


Nabavite poene za preuzimanje
Nabavite poene za preuzimanje

Zaradite bodove pomažući drugim studentima ili ih kupite uz Premium plan


Školska orijentacija
Školska orijentacija


Pspice dc tutorial, Rezime od Elektronika

orcad - orcad

Tipologija: Rezime

2013/2014

Učitan datuma 07.04.2014.

ferdinandstrasni1
ferdinandstrasni1 🇸🇷

3 dokumenti

1 / 22

Toggle sidebar

Ova stranica nije vidljiva u pregledu

Ne propustite važne delove!

bg1
PSPICE TUTORIAL
PART I: INTRODUCTION AND DC ANALYSIS
for the
Orcad PSpice Release 9.2 Lite Edition
INTRODUCTION
The Simulation Program with Integrated Circuit Emphasis (SPICE) circuit simulation tool was first
developed in the early 1970s. It was written in the FORTRAN programming language and was
intended to support the early data entry methods of this period. SPICE was immediately valuable to
allow circuit designers to analyze circuit systems, in particular as the complexity of circuits began to
expand with the arrival of the first integrated circuits. It is certainly one of the most important tools
in Electrical Engineering and is an example of one of the first tools for Computer Aided Design.
SPICE has evolved with many advances in numerical analysis methods for accurate and fast
computation and has appeared in many commercial forms. SPICE has been ported to many
platforms and the version that operates over the Windows operating system is PSpice.
The first SPICE users designed circuits with manual circuit drawing tools. Then, inspection of the
circuit design was used to generate a text-based description of the circuit design. Even today this still
occurs in certain special instances. However, the arrival of graphical drawing tools allows a circuit
designer to directly draw circuit schematics using circuit design tools and then special “capture” tools
operate to “capture” the schematic and generate the text-based description of the circuit design,
automatically. The versions of PSpice available to us operate in this way.
This is a great advantage for the engineering design process this provides the designer with the
ability to focus directly on a visual description of their system and obtain circuit operation numerical
and graphical results in an automatic, convenient process.
This Tutorial describes the development of two typical, simple circuits. The first is a circuit that will
demonstrate the ability to quickly compute voltage and current values. The second will demonstrate
the ability to compute time-dependent circuit response.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Delimični pregled teksta

Preuzmite Pspice dc tutorial i više Rezime u PDF od Elektronika samo na Docsity!

P S P I C E T U T O R I A L

P A R T I : I N T R O D U C T I O N A N D D C A N A L Y S I S

f o r t h e

O r c a d P S p i c e R e l e a s e 9. 2 L i t e E d i t i o n

I N T R O D U C T I O N

The Simulation Program with Integrated Circuit Emphasis (SPICE) circuit simulation tool was first developed in the early 1970s. It was written in the FORTRAN programming language and was intended to support the early data entry methods of this period. SPICE was immediately valuable to allow circuit designers to analyze circuit systems, in particular as the complexity of circuits began to expand with the arrival of the first integrated circuits. It is certainly one of the most important tools in Electrical Engineering and is an example of one of the first tools for Computer Aided Design.

SPICE has evolved with many advances in numerical analysis methods for accurate and fast computation and has appeared in many commercial forms. SPICE has been ported to many platforms and the version that operates over the Windows operating system is PSpice.

The first SPICE users designed circuits with manual circuit drawing tools. Then, inspection of the circuit design was used to generate a text-based description of the circuit design. Even today this still occurs in certain special instances. However, the arrival of graphical drawing tools allows a circuit designer to directly draw circuit schematics using circuit design tools and then special “capture” tools operate to “capture” the schematic and generate the text-based description of the circuit design, automatically. The versions of PSpice available to us operate in this way.

This is a great advantage for the engineering design process – this provides the designer with the ability to focus directly on a visual description of their system and obtain circuit operation numerical and graphical results in an automatic, convenient process.

This Tutorial describes the development of two typical, simple circuits. The first is a circuit that will demonstrate the ability to quickly compute voltage and current values. The second will demonstrate the ability to compute time-dependent circuit response.

A C C E S S T O P S P I C E

The SEASnet laboratory PCs all carry an installation of PSpice 9.2 Lite. If you wish to install this version of PSpice on your personal machine, you may order a free PSpice 9.2 Lite CD from Cadence at

http://www.orcad.com/Partner/Solution/ContentPage/cddemo4.asp

You may also download the PSpice 9.1 version from

http://www.orcad.com/Product/Simulation/PSpice/download.asp

I N S T A L L A T I O N

You may use the SEASnet PCs for your work. However, if you decide to install Orcad Family Release 9.2 Lite Edition software, then in the installation process you will be presented with options as to which components to install. Ensure that you have selected to install Capture and PSpice. You may install other options in addition to these.

Figure 1

Now, to begin, you must create a new Project. We will be engaged in Analog Design in this EE course. So, your new Project selection will be for a new Analog Design project.

Begin by selecting the File > New > Project menu. Your screen should appear as in Figure 2.

Figure 2

This will launch the Project dialog. At this point, you must create a directory for your new projects. Here we have created a directory of D:\My Documents\PSPICE\Projects in Figure 3.

Figure 3

You should now configure the application so that an Analog or Mixed A/D (analog or mixed analog and digital design) is selected. Also, you should entire a Project Name. This has been selected to be, Figure 2.16 Circuit Simulation. Please note carefully that the Analog or Mixed A/D checkbox has been highlighted.

Now, upon confirming your selection by clicking on the OK button, another choice will appear. This prompts you as to whether you would like to create a new Project based on a previous Project. For this case, select Create a blank project , as shown in Figure 4 and then press the OK button.

Figure 4

Figure 6

Now, click on Ground, and you will see the Ground dialog box as in Figure 7.

Figure 7

You should see the Libraries highlighted as shown. Now, select the 0/Source selection as in Figure

Figure 8

Then, click on OK and you will now find that there is a Ground symbol attached to your mouse cursor as in Figure 9.

Figure 9

Place this as shown in Figure 10 by clicking with the left mouse button. Then, click with the right mouse button. If you are not careful here, you will accidentally create two ground terminals (one will have to be deleted by right clicking on the part and deleting it).

Figure 10

To view the circuit more easily, click on View > Zoom > In.

Now, we will add a conductor (Wire) to our circuit. Again, proceed to the Place menu, select Wire, and this will now create a drawing tool. You may create the wire by placing the mouse cursor on the

Figure 13

We need to add the following Libraries:

1) analog.olb

2) eval.olb

3) source.olb

4) sourcstm.olb

5) special.olb

Now, we can add a Resistor to our circuit. Click on Place > Part and then when the Place Part dialog box appears, highlight the ANALOG library in the Libraries box. This will bring up a list of parts in the Part List box. Now, scroll down to R and click on this. You should see the dialog box of Figure 14.

When we enter device property values into PSpice configuration settings or directly into SPICE code, we generally use a scientific notation for number entry that includes a scale factor equal to a power of 10. The Appendix at the end of this document describes the SPICE and PSpice Units of Measure as well as the scale factor conventions. It is important to read this very carefully. Frequent errors in SPICE and PSpice simulation result from a confusion over entry of a proper scale factor.

Figure 14

Click the OK button to select this and then you are ready to Place this part. Proceed to place this part as shown in Figure 15.

Figure 15

Its default value is 1 kilo-Ohm. We now want to change its value to 5 Ohms. So, double-click on the Part. This will bring up the Property Editor, as shown in Figure 16.

Figure 18

At this stage we will add a Current Source. This will be a direct current (DC) source and will be labeled as IDC by PSpice. So, proceed to the Place > Part menu to bring up the Place Part dialog. Highlight the SOURCE Library and then IDC as in Figure 19.

Figure 19

Now, upon clicking OK, we are ready to place this source. Place the Current Source so that its terminal connects to the junction of the Resistor (R1) and Ground Wire. Then, right click to bring up a configuration menu as in Figure 20.

Figure 20

Now, select Rotate. You will then be able to drag the Current Source into the position shown in Figure 21. Now, use the Property Editor to set its current to 1 Ampere by updating the DC column as shown in Figure 21. ( Remember to press the Apply button).

Figure 21

After additional components, we have the Schematic of Figure 24. This is a very important stage to highlight a critical feature.

Note that in the circuit of Figure 2.16 of Nilsson and Riedel, there is no connection between the conductors connecting nodes a and c and conductor connecting node d with the Current Source terminal, as shown in Figure 24, below.

We must be very careful to recognize this and to design the schematic of Figure 25 properly. Note the position of the node junctions appearing as red “dots” in Figure 25 and note that no junction appears in the center of the schematic diagram where the two conductors cross (the conductors are those connecting R2 and R3 and the conductor connecting Ground and I4).

Figure 24

Figure 25

Now, we complete the circuit as shown in Figure 26.

Figure 26

Now, with our circuit complete, we are ready to start a Simulation. First, we must configure the Simulation tool. Proceed to the PSpice menu and click on New Simulation Profile as in Figure 27.

Figure 27

We have entered the name “Bias” into the Name field and have left the Inherit From entry equal to noon. As we will have discussed in lecture, the term “bias” refers to the notion of a tendency or asymmetry. Bias is a voltage generated across a device or combination of devices. It may be created directly by a voltage source, or indirectly through a combination of sources and other components.

Bias analysis refers to the operation of determining this arrangement of voltages. In general, bias analysis is critical. Later, as we encounter nonlinear circuit elements, you will see that bias analysis and design for a stable, predictable set of bias voltages is often one of the most important concerns.

So, we now click on Create. This will bring up the Simulation Settings-Bias dialog box as in Figure

The Output File contains a PSpice program listing that was generated by “capturing” the schematic. This program listing was the target analyzed by PSpice to determine the Bias the list of bias voltages for each element, as shown in Figure 30.

Figure 30

Also, we may examine the Bias analysis for current values. Generally, the display default will be to show Bias Voltages. To observe Currents, click on I and de-select V in the Toolbar. The Bias Current display will appear as in Figure 31.

Figure 31

Finally, also select W to display power dissipation for each device, as in Figure 32. Note that power is being extracted from the Sources (they are delivering power) and show negative power dissipation values. While the Resistors, which are absorbing power and have power being delivered to them, show positive power dissipation values.

Figure 32

You may modify this circuit, for example by increasing the I3 current to 2A. In this event, you must execute PSpice > Run again in order to view valid results. This has been done to generate Figure

Figure 33

You may Save your work with the File > Save command. When you close your Project, you will be prompted by a pop-up dialog box to Save your Project files. You should select Save All.