¿ªÔÆÌåÓý

Re: Switch ... on - Switch... off


 

Enrico wrote:

? "I thank you Andy, but i've made a small circuit with one switch ON and another OFF and they work exactly the same, so i don't understand the difference."

Both S1 and S2 switches are controlled from the same voltage, 'b'. ?So they must work exactly the same.

I believe the optional "on" and "off" parameters, with the Switch device, are aides or hints to LTspice, about its initial conditions. ?Occasionally, SPICE has difficulty figuring out whether a device such as a diode or a transistor should initially be ON or OFF when it does the initial transient solution. ?Adding that parameter is used as an initial guess, to help LTspice decide whether the switch (or diode or transistor) should initially be ON. ?Other than making it easier to solve for the initial conditions, it does not affect the rest of the simulation. ?Ultimately (except for that initial guess), the state of the switch is determined only by its control voltage.

Regards,
Andy


Join [email protected] to automatically receive all group messages.