• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. What is the Cadence PSpice equation describing the S sw...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 165
  • Views 11427
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is the Cadence PSpice equation describing the S switch

SZiel
SZiel over 4 years ago

All,

This sounds like a really simple question.  I've looked at Google, pspice books I usually reference, the Cadence forums, and I reviewed plenty of simulation options to no avail.  If the answer is online or posted elsewhere, please send me the link.

I am trying to understand the math relationship for the input variables on the S switch in Cadence PSpice (Voff, Von, Roff, Ron).  I initially thought the relationship would be linear but that is not the case based on the example simulation.  For this simple example, I am trying to simulate a resistance from 1k ohms to 2k ohms.  Using the ZX block I obtain a linear ramp as I expect.  Using the S switch it looks more like an exponential ramp.  Ultimately my problem requires a linear ramp and not exponential, but I'm trying to understand what is going on with the S switch anyway.  If I don't understand the S switch math I will probably never use it in the future.  I would prefer the S switch over the ZX block in my application as the risk of 0V or negative voltage applied to the input of the ZX block is possible, and it's an added step to make sure the simulation is built properly.  The S switch would be simpler if I could get it to work.

Thanks!

  • Cancel
  • SZiel
    SZiel over 4 years ago

    All,

    I was able to locate the answer and I confirmed that the S switch is nonlinear based on the mathematics inside PSpice.

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • 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