Home
  • Products
  • Solutions
  • Support
  • Company

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  • Products
  • Solutions
  • Support
  • Company
Community PCB Design & IC Packaging (Allegro X) PSpice Including parameters in measurement expression

Stats

  • State Verified Answer
  • Replies 3
  • Subscribers 26
  • Views 3540
  • Members are here 0
More Content

Including parameters in measurement expression

carolinawalter
carolinawalter over 1 year ago

Hello, 

I have an established parameter, in this case called "CLOAD" when I use it in the schematic program and I need to call it this it can be done with the curly brackets {CLOAD}. 

I have a mathematical equation that is evaluated in the post processor that helps calculate a value,

1/(10e-9*2*pi*XatNthY(DB(V(AOL_LOADED)),20,1))

This measurement works great and provides the value I want.
I would like to change the measurement to be more dynamic.
I would like to use the parameter in the measurement equation, like this: 

1/({CLOAD}*2*pi*XatNthY(DB(V(AOL_LOADED)),20,1))

This provides an error, is it possible to call into measurement expressions a parameter value? 

Note: I am using an AC analysis without parametric stepping. Therefore i=Cdv/dt cannot be used since there is no time component. 

All the best,
Carolina

  • Sign in to reply
  • Cancel
  • TechiEE12
    0 TechiEE12 over 1 year ago

    CLOAD is defined as parameter which would be understood by simulator and not by probe. You can try to add the statement .probe P(param_name) on capture canvas as PSpice directive, so that probe recognizes it and now try to use as P(param name) inside expression. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • TechiEE12
    +1 TechiEE12 over 1 year ago in reply to TechiEE12

    You can try something like this : 

    In your case RLOAD is CLOAD. Using @PSpice and .probe statement will get RLOAD into netlist and you will be able to add this in probe window. For measurement expressions try using something like :

    1/(Min(P(RLOAD))*10e-9*2*pi*XatNthY(DB(V(OUT1)),20,1)) OR

    1/(Max(P(RLOAD))*10e-9*2*pi*XatNthY(DB(V(OUT1)),20,1))

    Hope this helps.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • carolinawalter
    0 carolinawalter over 1 year ago in reply to TechiEE12

    This is very helpful! Thank you so much! Have a nice day Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information