I have a circuit that uses 2 DC supplies. I want one of the supplies to turn on at a later time in simulation than the first supply. How can this be done? Is there also a way to simulate a supply turning on and off during the simulation so I can see how fast capacitors discharge? |
by chey2guy
September 13, 2013 |
Timed switches should work. |
by chey2guy
September 13, 2013 |
Assuming that you expect the output of the power supply to go high impedance when it is off then using switches is the simplest way to do it. You can use the basic Time Controlled switch. For more complex timings you could use an array of them switching at different times. A more elegant solution might be to use the Voltage Controlled Switch and drive it from a PWS() source: https://www.circuitlab.com/docs/expressions/ https://www.circuitlab.com/circuit/hsss64/pwl-type-source-can-be-used-as-part-of-expression-01/ Don't forget though that voltage (but not battery) sources in CL have zero output resistance so you will throw an error if you connect them in parallel without some finite positive resistance between them. The switches in CL have a default ON resistance of zero. :) |
by signality
September 13, 2013 |
Please sign in or create an account to comment.
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.