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!
↧