Orcad Capture users

Qacer

Platinum Member
Apr 5, 2001
2,721
1
91
Hello all,

I found that there is an R_var part in the analog library. Is there an easy way to run a parametric sweep on this part? It would be nice to just place the R_var part on the schematic sheet and just run a quick simulation without having to go through the steps mentioned in other tutorials.

Thanks!
 

Eskimo

Member
Jun 18, 2000
134
0
0
What sort of output are you looking to get exactly? If you only want to see the impact of changing the value of a resistor on an analog circuit it would be easier to define a tolerance on a standard resistor and run a monte carlo analysis. I guess i'm not clear on what you want to see.
 

Qacer

Platinum Member
Apr 5, 2001
2,721
1
91
That can do, too. Actually, I just wanted to cut down on the number of steps needed to vary the value of a part. The part could be a resistors, capacitor, inductor, etc.. Do you know of an easy way? How? Thanks!
 

alpineranger

Senior member
Feb 3, 2001
701
0
76
use the standard resistor R and specify it's value as a parameter {parametername} (you need the curly braces, but use whatever name you want). Place optimizer parameters and add the parameter, using the name you chose. When you setup the pspice simulation profile, use parametric sweep. select the global parameter radio button, and specify the parameter name in the field provided. Then choose the step size and upper and lower bounds in the fields below that. In addition to getting a nice graph with tons of lines through it, you can also display a performance analysis graph, which will plot all sorts of different results as a function of the parameter changing.