Simulating Switching Circuits? SOLVED

Forgive me for being a noob, not that familiar with PSPICE type software, but how do I simulate a circuit that has, for example a SPST NO switch? I don't understand how to use the simulator to show when a circuit has the switch open or closed.

BTW... Great software. I hope to design a lot of digital circuits here.

by digitalcircuitman777
February 28, 2012

Double-click the switch. You can change the State from "open" to "closed"

by BurkeLaShell
February 28, 2012

You can also use a time controlled switch element, and set the T parameter (switch time). In a time domain simulation the switch will switch states at the specified time.

by hevans
February 28, 2012

Hi there,

Can a switch be opened/closed while simulating? Going back to build just to change a switch is not very intuitive.

by bockyPT
March 02, 2012

Just wondering if it is possible to simulate bounce? I am playing around with some debouncing circuits.

by spierepf
September 28, 2012

You could use a PWS() or PWL() source.

For an example of a bouncy sort of signal see the PWS() source in:

For help in using PWS() and PWL() sources, see also:

https://www.circuitlab.com/docs/expressions/

and see the question (b) and follow up answers in:

https://www.circuitlab.com/forums/support/topic/923rgp9z/mystery-component/#comment_2731

by signality
September 28, 2012

Sorry, should have said: you then use the PWS() or PWL() source to drive the voltage controlled switch element.

Is good yes?

:)

by signality
September 28, 2012

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.