-
Notifications
You must be signed in to change notification settings - Fork 6
Diode support : approximate by unequal forward and reverse bias resistances #1
base: master
Are you sure you want to change the base?
Diode support : approximate by unequal forward and reverse bias resistances #1
Conversation
…esistances A diode is approximated by the linear terms in the Taylor's expansion about some non-zero points (different for forward and reverse bias regimes). The cut-in voltage is assumed to be zero. For proper implementation, the Z-matrix has to be recomputed and the circuit re-solved at many time instants
…esistances A diode is approximated by the linear terms in the Taylor's expansion about some non-zero points (different for forward and reverse bias regimes). The cut-in voltage is assumed to be zero. For proper implementation, the Z-matrix has to be recomputed and the circuit re-solved at many time instants
Made a few changes: Component now takes object as an argument Instantaneous voltages used to check bias of diode Redundant error checking for diode bias removed
Made a few changes: Component now takes object as an argument Instantaneous voltages used to check bias of diode Redundant error checking for diode bias removed
|
It looks like you've added some very interesting stuff recently, but as far as I can tell the tests still don't run. Is that what you see? Several of your commits make changes to the test file, so I was expecting them to work. Maybe something was not committed? |
|
Ah, it does look like there was some stuff committed to dist/CircuitSolver.js that wasn't in src/CircuitSolver.js, such as the time support (getVoltageAt is different in the src and dist versions). If I tell the SpecRunner to use dist/CircuitSolver,js, however, now it complains about "nodeLabels" on line 111. It looks like there's just some stuff accidentally missing in the commits. Let me know if it will be easy to get working, because I'm very interested to look at it properly once it's fixed. |
Still fails two tests, though - solve check for diodes doesn't seem to run, all diodes are assumed to be forward biased
Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.
Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.
Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.
Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.
Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.
Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.
Modeled capacitor as a dynamic voltage source whose instantaneous voltage is computed by a first order Runge-Kutta method
Components ranging from impedances (caps, inductors and resistors), voltage and current sources and non-linear and active circuit elements like diodes, BJTs and MOSFETs are supported with the time-domain simulations
A diode is approximated by the linear terms in the Taylor's expansion about some non-zero points (different for forward and reverse bias regimes). The cut-in voltage is assumed to be zero.
For proper implementation, the Z-matrix has to be recomputed and the circuit re-solved at many time instants. This requires modification of code to read the circuit parameters(to display on the oscilloscope et al)
Non-zero cut-in voltage will soon have to be added with a voltage source in series with this diode.