Você está na página 1de 9

IEEE PSpice Transient Analysis

1) Implement the schematic shown below. The input is a sinusoid with a DC offset of zero, an amplitude of 0.1 and a frequency of 1 !z. ") #lace $olta%e mar&ers at the input and output. Parts Used School Version Description Part Library Name DC $olta%e 'dc (ource source (inusoidal 'sin (ource $olta%e source )esistor ) *nalo% +,1 op-amp ./+,1 0# */# Student Version Part Name Library 'dc 'sin ) u*+,1 (ource (ource *nalo% 1'*.

&un

Place Voltage and urrent !ar"ers #or Probes$ I %Ns

Voltage

Per'orming a Transient Simulation


2) 3rom the top toolbar select Pspice()Ne* Simulation Pro'ile ,) In the pop-up menu that appears type in a simulation name 4) Clic& on + &EATE) 5) 6ou will see the pop-up menu below +) (elect Transient Analysis as an analysis type 7) Chan%e the run time to ,msec 8) Clic& +%-) to close the window 10) To run the simulation from the top toolbar select9 Pspice() run 0) the &un PSpice icon :see pre$ious pa%e)

Plotting
*fter the simulation is complete a new window will appear. ;ecause we placed $olta%e mar&ers at the inputs and output of the circuit these two $olta%e traces are automatically plotted.

Plotting Additional Traces


To plot additional traces after a simulation has run. 11) In the window with the simulation results select9 Traces() Add Trace 1") The pop-up menu below will appear On the left hand side are all the voltages and currents that are available to plot. On the right hand side are mathematical functions that can be performed on these values. The output variables are sensibly named: currents begin with an I, voltages with a V. For example I !"# is the current going through the resistor !". 12) (elect the current throu%h resistor )1 1,) Clic& +%-) - to close the window and plot the current

Deleting Traces
14) 15) Clic& on the I:I)) icon at the bottom left of the simulation window clic& +delete) to delete it

ursors
*fter a simulation has run one can use cursors to %et precise simulation $alues. 1+) To acti$ate the cursors clic& on the toggle cursor on icon at the top of the (imulation window :see below) * small $robe %ursor window, shown below, will appear. <e=t to *1 are = and y $alues for the left mouse cursor. <e=t to *" are $alues for the ri%ht mouse cursor. dif shows the difference between the $alues for the left and ri%ht mouse cursors

Toggle cursor 17) *ffiliate left cursor, *1, with the trace of ':'0>T) by clic&in% on its icon at the bottom of the simulation window with the .13T mouse button :see below) 18) *ffiliate ri%ht cursor, *", with the trace of ':'I<) by clic&in% on its icon with the )I?!T mouse button :see below) "0) Clic& on the ':'0>T) trace with the .13T mouse button to define the position of the *1 cursor. Crosshairs will be shown correspondin% @ and 6 $alues are displayed in the $robe %ursor window. The crosshairs can be mo$ed by dra%%in% the mouse with the ri%ht button. Note. o The position of the *" cursor is similarly controlled with the ri%ht mouse button o The difference between the *1 and *" cursors is shown in the $robe %ursor menu as well. o Cursors *1 and *" can be used for the same trace

Toggle curser icon

le't mouse clic" here

Le't mouse clic"

&ight mouse clic"

simulation

Delete the $olta%e probe at the input and replace the 'sin part with either a 'ac or 'src part from the (ource .ibrary. It is possible to add a dc offset to this *C source here we ha$e left it zero. <ote that the parameter 'ac is one. This is the amplitude of the *C si%nal. >sin% an amplitude of one, causes the transfer function to automatically be plotted.

R 2 200K

Vsrc or Vac part 'rom S%U& E Library


V in 0Vdc 1Vac TR AN = V4

VccVcc+ R 1 10K 3 0 VuA741 2 4 O S1 1 6 5 Vout


V

VccV2 -1 5 V d c

V1 +15Vdc

O U T 0 + U 1 O S2 V+

0 0

Vcc+

Per'orming an A

simulation

"1) 3rom the top toolbar in the schematic window menu select9 PSpice ()Edit Simulation Pro'ile "") In the &imulation &ettings window select A S*eep/Noise as an analysis type "2) 1nter the frequency ran%e as shown below D% N%T STA&T *ith 01 Note that 2! is e3ui4alent to 2m 5 20(6 ",) (elect .o%arithmic instead of linear :This is more customary.) "4) (pecify 10 points per decade "5) Clic& +%-) to close the window

Do N%T start at 7E&%8

"+) To run the simulation from the top toolbar select9 Pspice() run 0) clic& on the &un PSpice icon "7) Ahen the simulation is complete you will see the followin% output. 6ou can see that the output at 1 !z appears to %o to "0'olts e$en thou%h the amplifier should saturate at B14'olts.
20V

10V

0V 1.0Hz V(VOUT)

10Hz

100Hz

1.0KHz Frequency

10KHz

100KHz

1.0MHz

reating 9ode Plots


"8) In the top toolbar of the simulation window select9 Traces()Add Trace There are a number of functions that are helpful for *C simulations. These, and others are shown on the ri%ht panel of the 'dd Traces window. ;elow are some helpful functions9 :unction :unction name #hase #:) /a%netude /:) d; d;:) Ima%inary #art I/?:) )eal #art ):) 20) #lot the phase of the transfer function by plottin% the function #:':'out)) as shown below. 21) Clic& +%-) to close the window and plot the phase

;elow is a plot of the phase. )emember the %ain for low frequencies is -"0. This is represented with a170 de%ree phase shift.
173d

130d

87d

50d 1.0Hz P(V(VOUT))

10Hz

100Hz

1.0KHz Frequency

10KHz

100KHz

1.0MHz

Sho*ing the magnitude as a separate plot #a strip chart$


2") 3rom the top toolbar of the schematic window with the wa$eforms select9 Plot() Add Plot to ;indo*. 22) 3rom the top toolbar of the simulation window select9 Traces()Add Trace 2,) #lot the ma%nitude of the transfer function by plottin% the function /:':'out)) 24) Clic& +%-) to close the window and plot.

A transient simulation *ith a digital pulse and initial condition


25) ;uild the simple )C circuit shown below. *dd $olta%e mar&ers to the input and output. 2+) The part IC1 is used to assi%n an assi%n the initial condition of "'olts at the node 'out. PA&T LI99A&< &esistor ) *<*.0? apacitor C *<*.0? digital *a4e'orm 'pulse (0>)C1 Initial condition IC1 or IC" :IC1 shown) (#1CI*.
V in V1
V

R 1 1%

+ Vout

&# = 2 V

V1 = 0 V2 = 5 TD = 1u TR = 1n TF = 1n ! = 1u "R = 2u

There are two parts that are helpful for di%ital (pice simulations. 0ne is 'pwl and the other is 'pulse. # 1 !ere we are usin% 'pulse the parameters necessary 0 $1 n for 'pulse are summarized below.
V

Parameter '1 '" TD T)CT3 #A

Description 3irst 'olta%e (econd 'olta%e Delay Time )iseC3all time #ulse width

#1) 27) 28)


5.0V

#eriod )un a Transient simulation simulatin% from 1-,usec The output should appear as follows

2.5V

0V

V(VOUT)

0.5u V(V"#)

1.0u

1.5u

2.0u Time

2.5u

3.0u

3.5u

!.0u

Você também pode gostar