Connect with us

parametric Sweep in pspice

Discussion in 'Electronic Design' started by Tamim, Nov 15, 2003.

Scroll to continue with content
  1. Tamim

    Tamim Guest

    Hi all,
    I just wanted to know whether it is possible to plot a graph in which
    the x-axis would be our varying parameter (e.g. resistor value) and
    the y axis would be the AC current.
    Thanx
    Tamim
     
  2. Jim Thompson

    Jim Thompson Guest

    Do whatever kind of analysis you want that also utilizes a Parametric
    change.

    Upon completions of the simulation, in Probe double-click on the
    X-axis, click on Axis Variable, and change to the parameter name.

    In many cases you won't see what you expect... you need to do some
    thinking in advance to figure exactly how you want to express the
    output ;-)

    ...Jim Thompson
     
  3. That's an odd way to do it Jim, so let me put in my 2c worth.

    Do a parametric run, then in probe click the two crossed flags
    (performance analysis). That will make your x axis the parametric
    variable. Now to add a trace you need to use a goal function. So
    click add trace then select a function from the right-hand pane.

    Let's take an example. Say you have done an ac analysis of a filter
    varying R. So R will be the X axis. Now select YatX(1,X_Value) for
    the right hand pane. The 1 is the trace so if you have a node out
    then that might be V(out). the X_Value is the point on a normal curve
    you want the value from. Say in this case you are interested in 1kHz.
    The whole this is thus YatX(V(out),1kHz).

    There are loads of others and you can write your own function fairly
    easily. All you have to do is to work out the cursor commands to find
    the point you want.


    --

    ....malcolm

    Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
    (, or ).
    Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
    electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:

    http://www.fullcircuit.com or http://www.fullcircuit.co.uk

    NEW - Desktop ToDo/Reminder program (free)
     
  4. Jim Thompson

    Jim Thompson Guest

    Hi Malcolm, I read the OP as wanting to change the X-axis variable in
    a normal plot pane... like you might want to do the transient analysis
    on an inverter with hysteresis, then change the X-axis variable to Vin
    so you could display the hysteresis.

    You've described *Performance Analysis* where you plot a *Measurement*
    against a *Parameter*, as opposed to my description of displaying a
    *Trace* (waveform) against a *Parameter*.

    ...Jim Thompson
     
  5. On Sun, 16 Nov 2003 08:14:26 -0700, Jim Thompson

    Hi Jim,

    I guess we have covered both options then :). The OP mentioned
    resistor value which would have to be a param sweep and thus
    *performance analysis*, but now he knows both :).

    Malcolm

    --

    ....malcolm

    Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
    (, or ).
    Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
    electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:

    http://www.fullcircuit.com or http://www.fullcircuit.co.uk

    NEW - Desktop ToDo/Reminder program (free)
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-