A 100kHz Zero Droop Precision Peak Detector

  Рет қаралды 30,521

devttys0

devttys0

Күн бұрын

Here's an inexpensive precision peak detector circuit that accurately tracks the peak voltage of input signals at frequencies up to 100kHz and has zero voltage droop over an indefinite period of time...no microcontrollers required! Additional references and schematics can be found at: www.analogzoo.com/2016/02/a-10...

Пікірлер: 50
@w2aew
@w2aew 8 жыл бұрын
I did a similar thing years ago using a simple counter and DAC - before digipots were widely available. Nice video as always.
@Analogzoo
@Analogzoo 8 жыл бұрын
+w2aew Nice! The first time I saw a DAC used like that was in a Jim Williams circuit - it was an epiphany for me that DACs had useful applications beyond interfacing microcontrollers with the "real world". :)
@brendandsilva4498
@brendandsilva4498 3 жыл бұрын
@@Analogzoo Late here, but wouldn't the high load capacitance and replacing the 1st OPAMP with a comparator (no compensation capacitor) make the comparator circuit unstable at high frequencies?
@scarpia519
@scarpia519 2 жыл бұрын
This video saved me one thousand bucks, thanks!! I was close to acquiring a scope with a companion arbitrary wave generator (Siglent) so I could make Bode plots of analog audio bandpass peaking filters that I make for my ham receivers. I made the circuit (with the op amp not the digital resistor version) as described in the video and it did indeed work. Applying the peak detector to my filter's output after sweeping the filter's input, my scope displayed a neat Bode plot of the filter's response; however, the plot did not tell me anything that I did not already know from using the scope's FFT function not to mention basic cursor data. For my application, the Bode plot isn't as valuable as I thought it could be. I might go forward and get a new scope anyhow but at much less $$$ than I would have spent just to have the Bode plot function. For the record, my analog scope is a Tek 2247A and my 'digital' scope is a Tek TDS1002. The Bode plot can still be useful in the audio/low frequency range but rather than dropping a kilobuck, I'll repackage the peak detector and use it as a tool if I ever need to see cut off frequencies of low or high pass filters, etc.
@Avionics1958
@Avionics1958 4 жыл бұрын
What a beautiful circuit design. Thanks
@microlatinamicrocontrol1240
@microlatinamicrocontrol1240 5 жыл бұрын
Such a great technique and so well explained. I will use it for a new project I have. Thanks and greetings from Buenos Aires, Argentina.
@damny0utoobe
@damny0utoobe 5 жыл бұрын
Very good tutorial. Thanks for passing the EE knowledge.
@dancollins1012
@dancollins1012 4 жыл бұрын
This is what KZfaq is all about - great content... good one!
@BR.
@BR. 6 жыл бұрын
Thanks! Very nicely explained.
@2LukeLOL
@2LukeLOL 4 жыл бұрын
This is very professionally done, congrats! out of curiosity, what power consumption did you get from this circuit? I am using a peak detector for my circuit using a low power CMOS op-amp and the circuit itself drains around 1 mA of power, did you find the AD5220 draws a lot of current?
@ohmedarick1
@ohmedarick1 5 жыл бұрын
Thank you great video as always
@bvillas
@bvillas 8 жыл бұрын
Thanks for the nice video. I had problems with a similar circuit using lm324. Definitely going to use the lm393 solution.
@user-ue1ti3ri3w
@user-ue1ti3ri3w 4 жыл бұрын
Hello, pls could you explain what sort of problem you had met. Im goin to build a circuit like this. So been aware of different issues is a big deal. Thanks a lot
@jb3757
@jb3757 2 жыл бұрын
loved it, you are simply great.
@adilmalik7066
@adilmalik7066 8 жыл бұрын
amazing as always. love your love for analog :). one question: why do you have a pull up and pull down on the relaxation oscillator. i havnt seen that before in standard implementations.
@Analogzoo
@Analogzoo 8 жыл бұрын
+Adil Malim In dual supply circuits the "pull up" is not needed, since the "pull down" resistor is connected to ground, which is half way between the voltage rails. The "pull up" is added to single supply circuits such as this. See the "Astable Circuit Operation" section of this page (it explains it nicely with schematics and scope traces much better than I can describe it in a youtube comment! :) : www.learnabout-electronics.org/Oscillators/osc42.php
@adilmalik7066
@adilmalik7066 8 жыл бұрын
+devttys0 thanks for the link! i see why now! one resistor sets the appropriate schmitt trigger threshold for single supply operation and the other prevents cross over distortion. thanks!
@henryrobinson9837
@henryrobinson9837 4 жыл бұрын
i'm kinda new at this, got any good ideas for a 100hz LPF with an op-amp. its used with automotive diagnostics with a cheap scope
@chronobot2001
@chronobot2001 5 жыл бұрын
Brilliant !
@jalarmas1
@jalarmas1 6 жыл бұрын
hello how are you, excellent explanation, I want to consult you for a detection circuit from peak to peak but it is to measure the power delivered by an ignition coil, from now thank you
@dwDragon88
@dwDragon88 8 жыл бұрын
Nice! I hadn't thought of using a digital pot in that way.
@Analogzoo
@Analogzoo 8 жыл бұрын
+dwDragon88 Me either. :) Saw it in a Maxim app note and thought it was a pretty clever use of a digital pot.
@ydonl
@ydonl 4 жыл бұрын
Something not discussed is that in the original circuit, the op-amp goes into saturation toward the negative supply on the negative half-cycle of the input, and thus has to devote quite a bit of time and effort to desaturate and get back to normal operation in order to track the next positive half-cycle. This is a basic problem that's worth solving, and one approach is to use a second diode to control the negative half cycle, converting the the circuit to more or less a unity gain buffer, and keeping away from that crazy saturation. It's still a pretty simple circuit, and might off some performance improvements -- or, depending on what you're doing... maybe no big deal. :)
@g1ld
@g1ld 3 жыл бұрын
Interesting, do you mean a second diode from the inverting to non inverting input to keep it within 0.7V? Also maybe decreasing the 100k input resistor could make it a bit faster at high freq?
@ydonl
@ydonl 3 жыл бұрын
@@g1ld There are various capacitances in the opamp, and when they're fully charged, and it's going to take a long time to pull all that charge back out. When an opamp goes into saturation, it takes a while to recover. When the next positive half cycle comes in, we're still trying to get from full negative back to zero so we can start tracking it. So the goal is to prevent the output from driving toward negative infinity as it tries to balance the inputs (which can never happen because of the diode). To do that, you can use another diode "inside" the other one in the feedback loop, reversed from the other one, such that it essentially puts the opamp in unity gain on the negative half cycle. Then the output doesn't have to work so hard, and recovery time increases, and frequency response goes up. My main point was that the slew rate is being "abused" a bit with this simple circuit, and it's on the negative (otherwise uninteresting) half cycle. The MCP602 has a unity-gain bandwidth of 2.8MHz. My theory is that the reason the comparator went faster in this test is that the comparator may have less capacitance, but more interestingly, it just gets pulled to ground on the negative half cycle rather than being pulled all the way to a negative rail. Or so it seems to me, an interested amateur! Google "fast peak detector," and look for two diodes.
@g1ld
@g1ld 3 жыл бұрын
Thank you for the explanation @Phreadrick !
@rulyvideo
@rulyvideo 8 жыл бұрын
interesting project, can it be used to detect 1 period of 100khz wave? i mean i need to detect peak of a single wave of 100khz,. (100.000 times detect-reset-detect-reset) and still accurate? or at least how fast it detect the peak? 20 ns, or 50 will be ok, any clue?
@Ahmadnaweed786
@Ahmadnaweed786 4 жыл бұрын
What if we want that droop? So that the output is always precisely equals to the current peak value of the input not previous one.
@josephcote6120
@josephcote6120 6 жыл бұрын
It looks like it wouldn't be all that hard to use an LM398 style sample-and-hold chip. Same comparator setup to drive the sample pin.
@qzorn4440
@qzorn4440 2 жыл бұрын
wow is it possible to make a good quality multimeter based on voltage to frequency counter, instead of the op-amp range resistors front end? thanks..:)
@SomeRandomPerson163
@SomeRandomPerson163 5 жыл бұрын
Nice video! but I have some doubts about 6:28 - should we use diod on LM393 output like before? Is it correct that we have positive feedback? Or it's all just little mistake while drawing?
@BEdmonson85
@BEdmonson85 5 жыл бұрын
You don't need the diode since we're not charging a capacitor here. We're only holding the CS line low while the clock sets the digipot output.
@brendandsilva4498
@brendandsilva4498 3 жыл бұрын
Late here, but wouldn't the high load capacitance and replacing the 1st OPAMP with a comparator (no compensation capacitor) make the comparator circuit unstable at high frequencies?
@SegawaKS
@SegawaKS 6 жыл бұрын
Hello, wich diodes ure using ?
@riccardoanzil5998
@riccardoanzil5998 4 жыл бұрын
Nice!! Thank you :) What about going up to 250KHz with the first comparator circuit? What components would you change? What comparator specs?
@izunnanwokoye7725
@izunnanwokoye7725 3 жыл бұрын
Can this be used to detect 500MhZ signals. If not how fast can it go?
@DeeegerD
@DeeegerD 8 жыл бұрын
Thought I might find this info useful for a problem I'm working on. I need to detect the peak voltage of an RF signal prior to feeding it into a circuit with a limited input. If the voltage is above the safe limit I would switch in an attenuator. Unfortunately I don't think I will find something with a slew rate fast enough for HF. Any ideas?
@Analogzoo
@Analogzoo 8 жыл бұрын
+Digger D It's common in RF to just use a Germanium or Schottky diode to rectify the signal and charge up a capacitor for the peak detection. For general input protection I think this would work fine, just remember that there's a 200-300mV drop across the diode, so you'd want to switch in the attenuator if the peak detector output is within ~300mV of your max safe value. I don't know your specific application, but for input protection I don't think you'd need it to be super precise...if the input signal gets anywhere near the max voltage level, you'll want to switch in the attenuator!
@DeeegerD
@DeeegerD 8 жыл бұрын
devttys0 Thanks for your reply. As I was pondering your video and my problem, I questioned the need for that precision as well. I plan on putting a frequency counter module PLJ-8LED from eBay into a case and I was thinking that adding automatic attenuation of a signal to protect the module would be a nice feature. So your reply and solution should work fine. I will use an LED to indicate attenuation, etc... Thanks again.
@nicolarosano
@nicolarosano 3 ай бұрын
Is there a detailed schematic for this?
@dmrt8828
@dmrt8828 9 ай бұрын
Link in your description is unaviable. Could you tell parametres of all used elements or redirect to enabled source for information?
@subhankarde3300
@subhankarde3300 8 жыл бұрын
+devttys0 Why is the 1k resistor connected to the output of LM393 ?
@Analogzoo
@Analogzoo 8 жыл бұрын
+Subhankar De The LM393 has an open collector output, which means that it will pull the output low when it needs to output a 0V state, but doesn't actively drive the output high during a high output state. To ensure a high output voltage when the comparator "goes high", you have to add a pull up resistor on the output pin.
@subhankarde3300
@subhankarde3300 8 жыл бұрын
+devttys0 Thanks Craig.
@sergsapov2927
@sergsapov2927 4 жыл бұрын
What about 80 MHz?
@martinmartinmartin2996
@martinmartinmartin2996 4 жыл бұрын
4:01/10:41 BIG PROBLEM: what happens when NO input signal is connected to LM393 ? clue: consider pdf1.alldatasheet.com/datasheet-pdf/view/172081/STMICROELECTRONICS/LM393.html Input Offset Voltage =1mv
@akashprajapati2384
@akashprajapati2384 4 жыл бұрын
Will it be able to detect 1mV of peak?
@bayusetyo7844
@bayusetyo7844 3 жыл бұрын
Up
@bayusetyo7844
@bayusetyo7844 3 жыл бұрын
I have the same question with you
@SegawaKS
@SegawaKS 6 жыл бұрын
Our circuit doesn’t work 🙄
Precision Op Amp Rectifier Circuits
14:18
devttys0
Рет қаралды 51 М.
Building a 28.8MHz TCXO for the RTL-SDR
15:54
devttys0
Рет қаралды 33 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 15 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 63 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 78 МЛН
EEVblog #490 - Peak Detector Circuit
35:03
EEVblog
Рет қаралды 234 М.
Negative resistance and the Negative Impedance Converter
17:14
Op-Amps  - Using Operational Amplifiers
44:21
DroneBot Workshop
Рет қаралды 271 М.
Quadrature Mixers, IQ Demodulation, and the Tayloe Detector
34:09
Peak detector circuits
23:50
Electronics Prepper
Рет қаралды 1,7 М.
The Most Important Circuit for our Electrical Future?! (PFC) EB#55
11:26
Colpitts Crystal Oscillator Fundamentals
37:34
devttys0
Рет қаралды 154 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 4,9 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 37 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,4 МЛН