I've found that there is a discontinuous graph for V(B) in time domain simulation in the following circuit. There is no problem when exporting the data in CSV format. Could you let me know if there is any problem in my circuit? |
by drahn90
September 14, 2020 |
I'm seeing small, short-lived voltage spikes that happen on the edges of V(B). This is real, not a simulation error. It happens because MOSFETs have capacitance. (You've chosen MOFSETs with particularly large capacitance, too.) I do see the spikes in the CSV export as well when I find t = 1e-5 in the CSV, so it's not a discrepancy between CSV and graph. If I take your circuit and modify it to remove capacitance from the MOSFETs, I remove the spikes: As to why the plotter draws the transition discontinuously (rather than with a vertical line), my hunch is that this happens when you have too many datapoints and the plotting engine starts plotting them as points rather than as line segments. If you make the time step bigger, for example |
ACCEPTED
+2 votes by mrobbins September 14, 2020 |
Thank you for your detailed answer. |
by drahn90
September 16, 2020 |
You must log in or create an account (free!) to answer a question.
Anyone can ask a question.
Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.
CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.
We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.
Acceptable Questions:
Unacceptable Questions:
Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.