Feature Request: Plot charge in scope (useful for switched capacitors) - example provided
StickySli opened this issue · 0 comments
Background
I am working on some electrical engineering homework regarding switched capacitor circuits. The lectures show simulations using pspice or Cadence, tools only available at the university and that are not easily accessible.
The homework asks us to implement an inverting 1st order low-pass filter replacing the resistors by switched capacitors. I did just that on CircuitJS.
Project link: Falstad CircuitJS | 1st order 10KHz inverting low-pass filter using non-inverting parasitic-insensitive switched capacitors
Issue
Analyzing switch capacitors can be done using discrete-time analysis or using the flow-graph (block diagram) method.
By using discrete-time analysis, which is the preferred in order to learn how are charges redistributed between the different capacitors in the circuit.
This method is not always intuitive, to solve this, I've used circuitJS to better understand the physics of the circuit, but the main point which is observing the charge of elements in the circuit is not available yet.
Feature request
For this reason, I request to be added in the "scope properties" a plot for "show charge". It would essentially be the integral of current over time.