I’m trying to step the RS (series resistance) for a diode and can’t seem to get it working. I can do it in LTspice with no problem. What is the easiest way to do this. The .model for this diode is:
I tried .step param RS list 0.03 0.1 0.5
The simulation runs without error, but does not give 3 different plots for current through the diode.
What’s the secret?
Wow, I didn’t realize LTspice had this .step syntax. I’m not sure if Qspice has implemented something similar, but this example provides an alternative approach that you can consider by adding an extra .model with ako.
just to be sure; when we over-write the value for RS in this case, does that force all other parameters to go to default values?
That stepping different models is very powerful, is this normal spice syntax or just for Qspice?
Above I show example with .step RS by modifying .model RS=RS and .model with ako. As you can see, both simulations yield the same results. This indicates that ako will only override the specified parameters while keeping all others at their .model values.
@PeterX This is not a model but a subcircuit. I don’t know a way to .step a subcircuit (.subckt). Your setup even not work without .step as this is not the way to get a subcircuit library to work in SPICE.
It’s ok to .lib Infinoen library with your guidelines. Many thanks!
Now if I want to change the MOS model in a bridge circuits, I need to change every MOS attribute one by one. Do you have a better way to chage the MOS model at one-time?