Вы находитесь на странице: 1из 13

1.

containing When also To of and The A Project File/New create which

This

to

the

RA

Now

You

begin,

layout
fi~l select

will general

illustrate
FIRST

Chapter

option Place/Part,
you a will analysis.

only the parts contained in that library. If the library containing the part

project name and the desired directory for your project files. You should

the first step, the user describes the circuit to be simulated or analyzed by drawing it in schematic form. In the second step, the user specifies the type of analysis desired, and directs PSpice to perform that analysis. In the third

'T
WIN blank can dialog you invoke /Project, step, exit guide the create procedure are project.

the

how

part Analog

this box, the

In

the

you

ready

to
this THE user

dialog,

as

your

Place

you as

through

shown

The

first

to Mixed-Mode shown

for

perform
instructs

want,

run the OrCAD

grid and the Capture


PSpice LOOK

Part draw

you CIRCUIT

dialog

look,

using

the in

in

dialog.

are

these

highlighting

your

Fig.

we

project

rest the

Fig.

PSpice

toolbar,
for

Capture

back

will

Project

three

circuit. making CIS computer 1.

of

If

2.

in

the

carefully

you based This

consists

You program,

steps.

Capture,

AT

the

process.

know this

Wizard,

Begin

option

should

on

to

library

develop

choice

of

print

the an

by

but

and

three

PSPICE

will

as

existing select

as shown in Fig. 4.

name

selecting

name is

now

or

shown

select a

shown

invoke

simple

plot

basic

of a

have

will

the

project,

meaningful

the the

the

in

steps.

in

the

example

display

library Fig.

circuit Fig.

option

results

menu

New

or

or by clicking on the second vertical toolbar button.


3. 2, In

I
2

Figure

1:

Figure

The

initial

2:

The

window

Chapter

New

Project

for

1.

dialog

FIRST

box.

LOOK

DrCAD Capture CIS.


AT PSPICE

~
1.1. DRAWING this all Fig. the button. you of is libraries need 5(b), the the Figure The is available part we THE not you

..in the schematic.


have dialog you shown, 3: CIRCUIT need The want. parts selected for you dialog are

Figure

4:

The

circuit

from the list its schematic


will adding Click will in the be window the need on

layout part

displayed.

OK

PSpice

library

to

named

for

grid when

add

creating

subdirectory.

and

is

it

When

you

by

dc,

shown

Capture

clicking

are

is shown (see Fig. 5(b)),


you dc ready in click voltage Fig.

PSpice

on

toolbar.

As

to

the

on

project.

you

5(a).

place

source, Add

part

can

the

so you can verify


name part

Usually Library

see

from

the library of sourcesnamed Source. If you are not sure of which library contains the part you need, you can highlight all of the libraries, and then
that
in

1.1.

DRAWING

THE

CIRCUIT

Figure 6: Place a dc voltage source on the layout grid, then right click on the mouseto finish with this part.
Display
the figure

Properties
that we have

dialog for this part,


changed the value

shown in Fig. 7. You can see from


of the dc voltage source to 12V,

or

12

volts.

The

number

you

specify

may

be

an

integer

(4,

12,

-8)

or

Figure 7: Using the Display Properties dialog window to set the value of the dc voltage source.

real

6
on must Place/Wire, following number the the mouse specified, with

Library

the

the

The Once The

circuit
circuit attribute values

be

vertical

same

again

button at (2.5,

last

process

all

MEG K

you

the

we

SYMBOL

scale

(or

(or

(or

of

of

(or

T (or
v~

step or

at values

3.14159,

are

your

are

number,

toolbar

node

5J

(or

k)

u)

n)

t)

click

m)

(or f)

and the of

n 1_- - \ '-I

P (or p)

kO

factor.

in

ready working

locating

meg)

parts

numbered

drawing

ending and

is

add

on

repeated

as do

button -1.414).

the to

For

the have

kO. on,

EXPONENTIAL

Table

wire

node

2.5m,

third

example,

Source part,

the

labeled been

zero

which

for

the

Integers

circuit

with all of the wires placed.


for vertical each placing selected,

Chapter

2.5MA,

(0).

circuit.

library

the has

GND,

1E-3

1E-6 1E-9

10,

.J.~i7

1E6

1E3

The part

is

wire.

and

1'[;'l\

toolbar lOv,

1.

1E-15

1E12

to it

1E-12

12

You

from and easiest placed,

2.5msec,

in on

add

real

Figure

10HZ,

FORM

your

the

FIRST

select

can

dc

the the button.

and

numbers

way

source

and layout

2: PSpice Scale Factors

select

circuit.

PSpice

circuit

and

the

LOOK

to had

shows

.J.V

106

103 10-3

10-6 10-9

VALUE

part do the

Wires

and

lOA

grid,

may

2.5MOhms.

their

1l\9

Figure

ground,

subdirectory.)

1012

this

10-15

the

menu

two

all

AT

10-12

named

and

be

are

attributes

is

represent

example

resistors

PSPICE

followed

Note

to

setting

placed

option

which

shows

0,

click

and their corresponding exponential forms. Letters immediately following a number that are not scale factors are ignored, as are letters immediately

that

shown in Fig. 10. (If you don't see this part, you will need to click the Add
by'either an integer exponent (7E-6, 2.136E3) or a symbolic scale factor (7U, 2.136k). Table 2 summarizes the symbolic scale factors used in PSpice

you may not use any white space characters when you specify such values.

by clicking the mouse at the starting node for the wire, and clicking the

This is a very important step and easy to forget, but your circuit cannot be
as

. .

.
~

Chapter 1. A

FIRST

LOOK

AT

Figure 9: The circuit with all of the components wired together.

Figure 10: Selecting the ground component.

,."

PSPICE

1.2.

SPECIFYING

THE

TYPE

OF

CIRCUIT

Figure

11:

completed

ANALYSIS

circuit

1.2

SPECIFYING THE TYPE


ANALYSIS

CIRCUIT

You can ask PSpice to perform several different types of analysis on a circuit name for the simulation. you have drawn.
To begin, you need to select a

Figure

12: Creating

a new simulation

OF

schematic.

profile.

~
,I't, '1"[
: ! Iii ill J 111, It ill 11: ii' Hi ~I ,u

i::II, '

Ii 'I : , I " t, Ii 'I

'I

II

Ii

i'rt1 ; 1:1

!:t1i

Iri[l

11

10

that cation analysis Fig. all This which Figure button the from the You

simulation

"bias"

of

default desired

may

will 13.

Fig. is

the

of will

of circuit

for

and

13:

done

Circuit
type, Use node

the

see

be

13.

this

will

The

generate

values the type

changing analysis, by the

the

You

click voltage

not

profile,

Simulation

Simulation

choosing

analysis.

Analysis

analysis
PSpice of suffice, can

continue

on

analysis.

the

values,

a as also

as

OK

brief

AjD

dialog

the

we

Type

the

as

to

see Settings

until

will

they a

simulation error return We menu

window,

in process

shown

drop

the

perform

Chapter

this

have

do

message

dialog option

errors

to

down

in

figure

known

in

as

your selected

this

progresses.

Fig.

1.

shown list window

are

PSpicejNew

simple

will

that

schematic.

example.

as

on

12.

corrected.

FIRST

appear

Bias

"biasing".

there

in

the

will We've

dc

Fig.

There

Point, Analysis

analysis

are

Once

appear,

LOOK

in

Simulation

14.

In

chosen

this

many

Click

begins when you select the menu option

are

the

as

you

As

to

tab

section,

no

you as

AT

lower

other

the

the

determine

select

the

shown

such

to

PSPICE

can Profile,

Create

figure

select name

right

tabs

and

pa-

the

PSpice/Run.

see

corner is a section that allows you to monitor the values of any parameters in the dialog which can be used to further configure the analysis. Usually, Settings dialog window, used to specify the type
in

rameters in this simple bias example. Finally, the top section can be usedfor printing or plotting results of the simulation, the topic of the next section.
shows, this window is divided into three sections. In the lower left corner of the window is an output text section that displays the progress of the simulation. If errors were encountered in your circuit schematic or in the specifi-

1.

1.3
1.3. SIMULATION

ground. nodes netlist plot, Now in as file rameters

we

nodes,

SIMULATION

shown

expected If created

form

we

or

we

NOOO80

as

consists

both. turn

The in

have

shown that

scroll

during

Fig.

since

Figure

to RESULTS

voltage been

and of PSpice

In

further

the

tions of statements
15.

in

the this

the simulation

Fig.

varied.

output

Near 14:

three

(the

at

simple

12

can

down

16(a).

Circuit

node

the

required

understand.

parts We

from

dc

example

top in

in

examine

NOOllO

voltage

The

the

simulation

we the

the

RESULTS

of

ground

voltage drew: this top

simulation,

output

we

source

is As

the

section

that describe the circuit


output cannot

you using output

node);

at

V, 12

file,

is

node

which file

can of

between which

we

dc

examine

PSpice

the

from

is

see

NOOO80

voltage

see

the

PSpice

we

kS1 may

from

the

A/D.

the

node

netlist,

you represented

also

resistor

bias

source

be

is

plot,

the

results AID

should a

NOOO80

12

analysis

figure, the text

V,

as

between

between

window,

of

collec-

no

which

file,

have

and

the the pa-

by

clicking the third button on the left vertical toolbar. This opens the output

as a schematic
a

bias analysis, including the value of the voltage at each of the non-ground

nodesNOOO80 NOOllO;and a 6 kS1 and resistor betweennodesNOOllOand O.

11

I
1.3. SIMULATIONRESULTS 13

Вам также может понравиться