Guest
On Thursday, April 23, 2020 at 5:26:23 PM UTC-7, Ricky C wrote:
Don't need to count pulses. I know there will be 1000 pulses per second. just need to know the signal voltage level, in order to drive some switches.. The ideal diode (driven by op-amp) should be good enough. Too much trouble to program micro, if a few passive parts can do the job.
On Thursday, April 23, 2020 at 7:06:38 PM UTC-4, whit3rd wrote:
On Thursday, April 23, 2020 at 3:55:42 PM UTC-7, whit3rd wrote:
On Thursday, April 23, 2020 at 10:48:11 AM UTC-7, edward...@gmail.com wrote:
I want to measure the peak DC voltage of a 10% duty cycle signal.
The simplest approach for that (used with proportional counter pulses) is
a peak detect/hold/convert-to-time-delay-and-count circuit
called a Wilkinson A to D converter.
Basic circuit is an op amp follower on the input voltage, feeding a diode and capacitor
(output through diode to capacitor, feedback from the capacitor). When a peak
passes, the diode reverse-biases, and the op amp output goes to the negative rail.
Then you disconnect the op amp (it's done its job) and either directly
voltage-measure the capacitor, OR connect an accurate current-sink to
the capacitor and count clock pulses as it discharges to zero volts.
Or you use a $0.60 MCU to digitize the 100 uS wide pulses at 100 kSPS, let software find the valid pulse measurements and you are done.
Why is everyone making this so hard? He didn't initially say he was measuring the pulses, but still, not sure what that implies. Does he want data to be sent to another computer? Does this need to drive a display? Is he looking for real time updates of each pulse? An average of some sort? Is the pulse height varying? Sounds like he wants window comparisons to produce a decision of some sort? All of the above is very easy to do in the same $0.60 MCU that is taking the measurement. It can send an output via RS-232, TTL signals, RF pulses or an amplitude modulated audio tone. It can even provide the universally hated output, a blinking LED.
This is a classic case of, "No, tell me the problem you are really trying to solve".
Don't need to count pulses. I know there will be 1000 pulses per second. just need to know the signal voltage level, in order to drive some switches.. The ideal diode (driven by op-amp) should be good enough. Too much trouble to program micro, if a few passive parts can do the job.