I want to build a circuit that keeps monitoring a capacitor's voltage and once the voltage crosses a particular threshold the capacitor should discharge and come back to it's threshold.
This is what I came up with, the moment the capacitor crosses the threshold, the resistor will turn on the NMOS and the cap is discharged to ground.
Any reasons why this circuit won't work/better ideas?
The circuit implements a V/I characteristic according to the transistor Id = f(Vgs) curve and the voltage divider ratio. You should determine if it's steep enough. An amplifier or comparator can give you a steeper characteristic, depending on what you need.
Presently, there's no source charging the capacitor, so it stays at zero voltage.
The circuit implements a V/I characteristic according to the transistor Id = f(Vgs) curve and the voltage divider ratio. You should determine if it's steep enough. An amplifier or comparator can give you a steeper characteristic, depending on what you need.
Presently, there's no source charging the capacitor, so it stays at zero voltage.
@FvM : The capacitor is connected to a variable delay ring oscillator, like shown below. So once the delay crosses a particular threshold the circuit should react and bring it down to its old value.
Also, can you elaborate on your point regarding the curve not being steep enough, I did not understand that part.
Your circuit won't discharge the capacitor to near zero volts. It just limits it's voltage at a dedicated level.
This is not the function you describe.
It seems you more want the function of a diac.
You should specify your function.
What peak voltage level?
How fast should it discharge?
To what voltage value should it discharge?
Your circuit won't discharge the capacitor to near zero volts. It just limits it's voltage at a dedicated level.
This is not the function you describe.
It seems you more want the function of a diac.
You should specify your function.
What peak voltage level?
How fast should it discharge?
To what voltage value should it discharge?
@Klaus, well I do not want the cap to discharge to zero volts. I'm talking in the range of micro-volts here and almost an instant discharge. Will a diac help me out here?
You need a negative resistance device to perform this task. Old school was to use a Unijunction or now a DIAC, still used today with Triac triggering.
Depending on frequency and size of capacitance, this means you need hysteresis to detect and then force discharge well below threshold then float. THis is done with positive feedback ratio or Schmitt trigger to FET.
But source/input capacitance ratio must be large and switch recovery time must be low for this to be reliable.
I want to build a circuit that keeps monitoring a capacitor's voltage and once the voltage crosses a particular threshold the capacitor should discharge and come back to it's threshold.
This is what I came up with, the moment the capacitor crosses the threshold, the resistor will turn on the NMOS and the cap is discharged to ground.
Any reasons why this circuit won't work/better ideas?