donpacino
Science Advisor
Gold Member
- 1,439
- 285
donpacino said:ok. so if there is a very small pulse at the input (say 5 ms), the peak integrator output barely touches the comparator threshold, the comparator will never output anything, so the gain is zero.
so we know it takes a 5 ms pulse to go over the threshold for this comparator setting
if there is a pulse, say 6 ms, and the integrator barely goes over the comparator output, the output of the comparator would be 2 ms. or a gain of 0.33
7 ms pulse, the output would be 4 ms, or a gain of 0.57
8 ms pulse the output would be 6 ms, or a gain of 0.75
eventually it would come close to being linear (until the integrator saturates).
So if you are ok with nonlinear data in a certain range, then go for it (note by the time you approach a linear range you will be close to saturation).
The output of the integrator where the pulse should be active will be close to zero. the purpose of the comparator is to increase this voltage, basicly any voltage aboze ground will become 3.3 V, 5V, or whatever the comparator supply is at.
does that make sense.
dont worry about the crazy pills thing, it happens to everyone!
see above. the gain is the value of m. it will change as x changes