Hi yes,
C1 is just a smoothing capacitor,
the voltage doesn't change quickly.
So... the voltage on C1 at the '-' input of the comparator is set.
When the '+' terminal drops below this, the comparator output goes negative and the 'D' of the flip-flop is logic 0.
So this circuit is looking at one particular point of the discharge curve, the design has now been changed to be a more traditional sample and hold... the advantage being it grabs a sample over a period of time and averages (integrates) it which is a little less noisy and also faster.
I am going to post this updated design. It is more conventional. (the comparator approach does work, but it is slower than the normal sample-and-hold approach also...
C1 is just a smoothing capacitor,
the voltage doesn't change quickly.
So... the voltage on C1 at the '-' input of the comparator is set.
When the '+' terminal drops below this, the comparator output goes negative and the 'D' of the flip-flop is logic 0.
So this circuit is looking at one particular point of the discharge curve, the design has now been changed to be a more traditional sample and hold... the advantage being it grabs a sample over a period of time and averages (integrates) it which is a little less noisy and also faster.
I am going to post this updated design. It is more conventional. (the comparator approach does work, but it is slower than the normal sample-and-hold approach also...
Comment