EEVblog

Поділитися
Вставка
  • Опубліковано 28 чер 2013
  • Fundamentals Friday.
    Designing and measuring basic and precision opamp peak detector circuits.
    All EEVblog Opamp related videos are here:
    • Opamps - Tutorials & P...
    Forum: www.eevblog.com/forum/blog/eev...
    EEVblog Main Web Site: www.eevblog.com
    EEVblog Amazon Store:
    astore.amazon.com/eevblogstore-20
    Donations:
    www.eevblog.com/donations/
    Projects:
    www.eevblog.com/projects/
    Electronics Info Wiki:
    www.eevblog.com/wiki/
  • Наука та технологія

КОМЕНТАРІ • 295

  • @MylesShannon
    @MylesShannon 11 років тому +51

    I love how he starts off with a simple circuit and talks about how great it is, and then starts talking about how it sucks in some way, and then he gives us a new circuit that fixes that problem, and then it starts all over again. I love this guy!

    • @gwav1a
      @gwav1a 9 місяців тому

      Exactly-

  • @user-pc5sc7zi9j
    @user-pc5sc7zi9j 4 роки тому +15

    I love the fact you start of so rock basic people understand the workings instantly to then build up the complexity for everyone to follow along rather than just slaping down the state of the art from the get go and tearing it down into understandable sections later down the line (or let alone just going through it front to back).

  • @martinda7446
    @martinda7446 9 років тому +83

    That was meat and drink to a hungry engineer. Thanks again Dave, hope you are not bored of the complements, you have really inspired me and I cant get enough at the mo.

    • @alexreeve
      @alexreeve 5 років тому +8

      Says the NPN to the PNP: "oh what a nice complement" ;) scnr

    • @jagr1460
      @jagr1460 2 роки тому

      My EE anxiety eases as soon as I hear this man's voice. Dave has saved my college life, the man is a God 🙌🤣

  • @logitech446
    @logitech446 8 років тому +21

    A scope painted a thousand words on trade-offs. Excellent presentation, Dave.

  • @gregben
    @gregben 3 роки тому +2

    Seven years later and still a GREAT video. Thank you.

  • @lisakingscott7729
    @lisakingscott7729 Рік тому +2

    I came across this as I was looking for a peak detector to detect the time when the peak occurs rather than the value of the voltage. I've got a microcontroller with A-D doing it, but I wanted a simple circuit to generate a pulse, whenever the voltage starts to reduce.
    Just to make things more difficult it needs to be immune from noise, but that really just means a LPF on the input.
    It's for triggering a TRIAC on the AC mains peak for switching inductive loads. It should be pretty simple with a comparator some resistors and capacitor, so that in effect one comparator input lags the other and the output changes state whenever the input changes from increasing to reducing and vice versa, or something like that. In fact a Google search finds such a concept was even patented in 1969.

  • @andymouse
    @andymouse 3 місяці тому

    Awesome to be able to come back 10 years and get this level of tuition.....cheers.

  • @hanedoggy
    @hanedoggy 2 роки тому +2

    Man I wish I had these videos 13 or 14 years ago... Would have made college soooo much easier. Sometimes breaking down complex concepts into basic functions is all a bad teacher needs to do to be a good one. Thanks Dave!

  • @lleaves
    @lleaves 10 років тому +11

    Thank you for the video. I have designed peak detectors for AM waveform demodulation using op-amps to buffer the input and output similarly to what you have done here. In my applications I have needed the capacitor to discharge in order to follow the envelope of the AM waveform. I sometimes refer to the peak detector circuits I designed as envelope detectors for this reason. I did learn a few things from your video that I was not aware of. I may try to incorporate some of the techniques you presented here in my future designs. Thanks again!

  • @sagem116
    @sagem116 6 років тому +2

    Dave u are an amazing teacher, i learned so much from this video and actually showing us the waveforms on the scope was very very helpful. thanks

  • @SirMo
    @SirMo 9 років тому +26

    This is one of your best videos Dave. Thank you!

  • @davidfof13
    @davidfof13 9 років тому

    This is the perfect way of teaching. You go through the conceptual design , the different implementations then you implement the circuit and test it.

  • @YO6TJJ
    @YO6TJJ 11 років тому

    Thank you Dave for learning us electronics here! I just want to thank you for every video you uploaded and dedication!

  • @tonydengineering
    @tonydengineering Рік тому

    I start designing a nonlinear filter. Cut-off frequency must depend on the average amplitude of a signal. Your explanation is very helpful to me!

  • @Normie_dog
    @Normie_dog 11 років тому

    This is by far my favorite series on UA-cam.....nice job...

  • @freon500
    @freon500 11 років тому +1

    Tour d' force. Awesome! There is enough here to keep me playing this video for quite a while!

  • @maxwellstrange4572
    @maxwellstrange4572 6 років тому +1

    Nothing like the aussie accent to put you in the mood to learn about circuits :D

  • @19n05k83
    @19n05k83 7 років тому

    Thank you Dave. These tutorials are really great and helpful. Solving my engineering problems and going forward :)

  • @DjokovicWu
    @DjokovicWu 11 років тому +1

    Just discovered you channel and love it. I am an EE undergrad at Caltech, and this is just perfect for practical knowledge that we don't get in classes.

  • @davidmiles
    @davidmiles 5 років тому

    Thank you very much for this! Very well explained and the example/demo circuit helps tremendously for those of us who aren't engineers but like to tinker.

  • @neilalbaugh4793
    @neilalbaugh4793 3 роки тому +6

    Nice video, Dave. You've done a good job of explaining the peak detector. In practice, your circuit will work nicely with a storage capacitor of 1nF to 10nF if you put a 10 to 50 ohm resistor in series with that capacitor to ground. This cures the instant instability of the op amp caused by the capacitive load on its output. The loop stability is complicated by the diode's varying ON resistance as the current charging the capacitor varies.
    Regards, Neil ex-Burr-Brown Corporation

    • @topquark22
      @topquark22 Рік тому +1

      I built this circuit. It was unstable, and I spent hours trying to guess what could be wrong. Your suggestion cured the problem! Thank you so much!
      One other thing I did:
      I connected the output to a 4098 monostable multivibrator, driving a LED. The output also goes to a 2n7000 MOSFET that drains the capacitor, so that the cycle can repeat.

    • @neilalbaugh4793
      @neilalbaugh4793 Рік тому

      @@topquark22 I'm glad it fixed your problem. Your feedback is much appreciated.

  • @darlingtonpear940
    @darlingtonpear940 11 років тому

    Fundamentals Friday is awesome! Keep them coming!

  • @BryanByTheSea
    @BryanByTheSea 3 роки тому

    Wish you would bring back Fundamental Fridays. Love these.

  • @daveb5041
    @daveb5041 Рік тому +1

    i gorgot how much I like this channel. The stupid algorithm didnt pop up any eevblog for over a month and I forgot about it. Why did you tube stop putting eev videos in my que?

  • @TomMinnick
    @TomMinnick 11 років тому

    I love Fundamentals Friday. Thanks Dave, as always a big thumbs up!

  • @Stelios.Posantzis
    @Stelios.Posantzis 4 роки тому

    Great tutorial! Highlights the gremlins that may lurk in an otherwise seemingly simple circuit!

  • @bendavis1215
    @bendavis1215 8 років тому +1

    loving all the vids electronic theory you've done so far. I'd be really excited to see your spin on opto couplers/zero crossing/Traics... you are very easy to understand and I enjoy the way you expand problems and given problems in a way the audience can follow. Thank you

  • @paguerchanel
    @paguerchanel Рік тому

    You are an absolute genius! Thanks a lot for taking the time to make this videos

  • @EEVblog
    @EEVblog  11 років тому +1

    And the final circuit I gave sucks in a way too! So it can start all over again in part 2 if there is enough interest...

    • @markszlazak
      @markszlazak 3 роки тому

      What is the video called for part 2? I do not see something like a "Peak Detector Curcuit - Part 2" among your videos.

  • @mrjohhhnnnyyy5797
    @mrjohhhnnnyyy5797 10 років тому +1

    Very nice! Now I know how to build an ideal diode, thanks!

  • @bwack
    @bwack 7 років тому +1

    Search around for peek detection and here you are again. Awesome. I'm making a audio amp automatic switch box for my dads vintage amplifiers such that he can use one set of speakers without switching cables manually. The detector will tickle a state machine made out of 4000 series logic ic's.

  • @kevinbeckenham3872
    @kevinbeckenham3872 4 роки тому

    Thank you Dave for another good tutorial on peak detector

  • @fdk7014
    @fdk7014 9 років тому +3

    Great video! It would have been interesting to see the last circuit too, the "ultra precision" one

  • @AbhijithCRX
    @AbhijithCRX 9 років тому

    I was searching for a peak detector circuit in google last week.. Today I got a video suggestion email from youtube with this link. Very useful and right on time for me. Thank you! (I am using a simple diode + cap circuit and adding the diode drop in software)

  • @NickAlexeev
    @NickAlexeev 3 роки тому

    Note that the diodes reduce the dynamic range. For the first circuit with a single diode, the max input voltage is the OpAmp's max input, minus one diode drop. For the second circuit with two diodes in series, the max input is the OpAmp's max input, minus two diode drops.
    These are useful circuits, and this is a good video.

  • @famossfla
    @famossfla 11 років тому +1

    Wonderful Dave
    Always learn a lot from your video's. Thanks for your time and energy.

  • @pohsinhee3076
    @pohsinhee3076 10 років тому

    I learn a lot from your CIRCUT explanation .GOOD TO LEARN FROM U THANK.

  • @CristiNeagu
    @CristiNeagu 9 років тому +27

    17:23 Smooth edit there...

    • @nouveriantechno
      @nouveriantechno 5 років тому +1

      Gotta love the mid sentence jump cuts. If you look away you won't notice.

    • @pepe6666
      @pepe6666 5 років тому

      haha brilliant. deserves an award for that one

  • @Excalibur32
    @Excalibur32 4 роки тому

    Your videos are so informative, thank you so much!

  • @chrisl456
    @chrisl456 11 років тому

    Excellent video. I learned a ton of stuff, and it's exactly on my level.

  • @jnkettenring
    @jnkettenring 10 років тому

    You are a very good teacher. I learned a lot from this video. Thank you.

  • @theemelex
    @theemelex 11 років тому

    I jus luv all these segments youve come up with. Of all the videos youve done, the best series i thoroughly enjoyed was the power supply series & I really miss those really meaty electronics videos.

  • @daniele1209
    @daniele1209 2 роки тому

    Thanks for great video. you deserve every single dollar you make out of this UA-cam channel.

  • @adrianaldea5869
    @adrianaldea5869 11 років тому

    Awesome!!! We are using peak detector for detecting peak pressure with the pusher centrifuge!!!

  • @Factory400
    @Factory400 6 років тому

    One of my favorites Dave.

  • @PIXscotland
    @PIXscotland 9 років тому

    Nice one.
    I've just implemented the second circuit in my Arduino power supply:
    1. As a peak current detector using your I>V from your power supply.
    2. To hold the output of a "PWM/CR filter" voltage output for the regulator setting.
    Works very well for both parts of the design.

  • @SamiJumppanen
    @SamiJumppanen Рік тому

    Really really good info! Thank you for this!

  • @fahadnadeem6130
    @fahadnadeem6130 3 роки тому

    Thank you very much, sir. I wish you were my teacher in school.

  • @jmi5969
    @jmi5969 7 місяців тому

    One thing to note is that if the op amp must NOT have input protection diodes - these would short the capacitor to the input node when the latter goes negative.
    CMOS opamps are usually fine (no protection diodes), as for bipolars it varies, e.g. the 5532 does have protection diodes, the 358 does not.

  • @GaRbAllZ
    @GaRbAllZ 11 років тому

    Excellent! Great topic Dave.

  • @vasko002
    @vasko002 11 років тому

    I love these basic videos.

  • @m.alkaff9110
    @m.alkaff9110 2 роки тому

    Yooo sir thank you very much, plz don't stop sharing

  • @gwav1a
    @gwav1a 9 місяців тому

    Thanks very much. I gain a lot from your videos. Brilliant!!

  • @BaeHat
    @BaeHat 11 років тому

    Just love these FF videos. Really educational, and simple explanations for "complex" circuitry, love it.
    If you anyday need some inspiration for a FF subject, i would love to hear something about diode reverse recovery time, and capacitance in the N-P junction on a diode.

  • @viksohal
    @viksohal 9 років тому +3

    Excellent tutorial. I do wish you had time to show the scope view of the final configuration with the second diode. Homework I guess :-)

  • @HAPPYChaU123
    @HAPPYChaU123 11 років тому +1

    i think the capacitor discharge curve on 4:20 and 5:13 should have positive second derivative which means its slope is increasing with time

  • @Gabbe0x58
    @Gabbe0x58 10 років тому

    Very interesting! Thanks Dave!

  • @mikeadler434
    @mikeadler434 2 роки тому

    Great video! I enjoyed the lecture.. Thank you

  • @BitBerlin
    @BitBerlin 11 років тому +1

    Loving it!!! It just never gets boring watching you dress up a circuit and then just watching how you dismember it one detail at a time just to massacre the next. =D

  • @balkrishntulsyan4236
    @balkrishntulsyan4236 9 років тому

    thanks for the video Dave..!!

  • @orangedac
    @orangedac 11 років тому

    What a useful video.
    Thanks so much for this.

  • @EEVblog
    @EEVblog  11 років тому

    You can, but as I said, the diode drop changes with current and temperature. You can do a reasonable approximation tweek though, which should be suitable for something fairly crude like a VU meter.

  • @fl4tcircl3
    @fl4tcircl3 11 років тому

    Your didactic skill is superb. Chapeau.

  • @Shaked618
    @Shaked618 7 років тому

    !!Impressive explanation of amazing teacher

  • @josebelmar5951
    @josebelmar5951 7 років тому

    Thanks for the excellent tutorial

  • @aerofart
    @aerofart 11 років тому

    Good one, Dave!

  • @RexxSchneider
    @RexxSchneider 2 роки тому

    Around 5:30 the "droop" from leakage is almost never becoming greater as shown. Particularly for droop caused by resistive loads, the fastest rate of discharge is at the beginning, and it slows down over time. The shape of the voltage line is concave, not convex.

  • @deltapparo4451
    @deltapparo4451 11 років тому

    I don't own a scope and keep claiming I have no need for one. But watching these videos sure makes me want to own one anyway.

  • @mukeshkumarsharma3413
    @mukeshkumarsharma3413 7 років тому

    just one word for you "WOW" thanks for such video

  • @DuanvantSlot
    @DuanvantSlot 8 років тому +12

    If I may add an improvement suggested by Art of Electronics 3rd edition:
    Add another resistor and diode to the output of op amp 1. This will clamp the voltage to one diode drop below the ouput voltage, which dramatically increases the charging time of the capacitor. (The slew rate of the op amp is fixed, so keeping it at a diode drop below the output is much better than the output going all the way to Vee).

    • @GV757
      @GV757 5 років тому +1

      page 255 fig.4.58

  • @jonathanknight8251
    @jonathanknight8251 5 років тому +1

    14:15 slew rate (the time it takes for the op amp to swings its output back up to the point where the diode begins to conduct again) and the value of the holding cap are unrelated. The size of the cap only matters when the diode is conducting, and in that case, the charge time is determined by the maximum output current capability of the op amp. They are both important but separate issues.

    • @HighestRank
      @HighestRank 5 років тому

      Clearly we can see the output of the first op amp isn’t connected to the diode anyway.

    • @RexxSchneider
      @RexxSchneider 2 роки тому

      That's exactly right, and the issue of recovery from being in saturation is a different issue again. This is the issue faced by comparators and some opamps are much better than others when changing from the mode where you have a large differential between the inputs and returning to linear operation.

  • @arcadianelectronics
    @arcadianelectronics 10 років тому

    My favorite part is when you go "wrrrrr!" and wave the marker around about a processor with fast ADC brute force reading the signal instead of using a peak detector. Excellent and entertaining video!

  • @user-qu7oo8ul6p
    @user-qu7oo8ul6p 11 років тому

    Thanks Dave!

  • @user21XXL
    @user21XXL 10 років тому +26

    cap discharge curve is bent the wrong way

    • @MarkMcDaniel
      @MarkMcDaniel 3 роки тому

      Yeah, it's asymptotic decay towards zero.

    • @ohmslaw6856
      @ohmslaw6856 3 роки тому +2

      @@MarkMcDaniel hey man it's 2021.. everything is bent the wrong way

    • @MarkMcDaniel
      @MarkMcDaniel 3 роки тому +1

      @@ohmslaw6856 -- Fair.

    • @ohmslaw6856
      @ohmslaw6856 3 роки тому +1

      @@MarkMcDaniel haha best wishes

    • @MarkMcDaniel
      @MarkMcDaniel 3 роки тому

      @@jaxtyneddie131 -- No, because we are not the loser you appear to be.

  • @MylesShannon
    @MylesShannon 11 років тому

    lmao. Do it! You're extremely knowledgeable. I could listen to you for days!

  • @fabi5783
    @fabi5783 Рік тому

    Guarding technique ... awesome!

  • @tocsa120ls
    @tocsa120ls 11 років тому

    Excellent video, nice demonstation!
    I'd like to add that it's really easy to get out of a common diode's comfort zone, for example, a 1N4001 will start 'zenering' at about -40V, so you really should keep the voltages above that. Also, sub-1V measurements are also 'out'. Too much distortion.

  • @aduedc
    @aduedc 2 роки тому

    The second opamp is in positive feedback loop and could osculate or with the diode could drive the output to positive rail. This could happen when there is a new peak at the input.

  • @aregjan
    @aregjan 5 місяців тому

    You're an amazing teacher!

  • @MrSparker95
    @MrSparker95 11 років тому

    That was very interesting. Thanks!

  • @technobabble_
    @technobabble_ 11 років тому

    I fucking love this series, Dave. Seriously. Every week I burn up my F5 waiting for it.

  • @howardsway782
    @howardsway782 8 років тому

    Thanks, yet another great vid... pleeeeease keep 'em comin'

  • @maqsoodu23
    @maqsoodu23 11 років тому

    good one EEV Blog.. i like this video but key point to remember...never drive a cap directly with a op amp.
    Reason: There is output capacitance built in to the op amp from the manufacturer,..so when you drive a cap with directly with an op amp, you change the pole frequency and thats changes the phase margin and creates instability.
    You can find this data in the datasheet of the op amp...*look at the open loop frequency response curve..i.e bode plot of the op amp

  • @tamyboy1
    @tamyboy1 5 років тому

    Great stuff our Sensei.

  • @anthonyvolkman2338
    @anthonyvolkman2338 4 роки тому

    A peak detector is basically a half wave rectifier. The opamp (precision diode) circuit reminds me of a synchronous rectifier.

  • @DoktorJeep
    @DoktorJeep 5 років тому

    This is the solution I was looking for. Thank you English accent guy!

  • @ManutdLucki
    @ManutdLucki 5 років тому

    I absolutoly love this

  • @douro20
    @douro20 11 років тому

    Matsushita used to make small glass-encapsulated LEDs which had leakage current in the femtoamp range. I have a couple of them which came out of a CD player and they look very much like a small silicon diode.

  • @nguyenvandat09
    @nguyenvandat09 9 років тому

    It's very interesting your video. Thanks!

  • @tubical71
    @tubical71 11 років тому

    you soo damn right, my latest was original in HD, big mistake, upload time was something between 3-4 hours...so I stopped it, and scale it down...

  • @Ziplock9000
    @Ziplock9000 6 років тому

    Great video.

  • @gearstil
    @gearstil 4 роки тому

    Good information!

  • @WhiskeyRichard.
    @WhiskeyRichard. 9 років тому +35

    Oh baby, sample and hold me

  • @pepe6666
    @pepe6666 5 років тому

    holy shit this is a useful video. damn ive got so many ideas now. thanks dave!

  • @biwaUSA
    @biwaUSA 8 років тому

    Very well done. Thanks you.

  • @wchen2340
    @wchen2340 2 роки тому

    great stuff

  • @theemelex
    @theemelex 11 років тому +1

    Lookin 4ward to the new uSupply. Only this time share some of the software / firmware as well. Now I know youre primarily a hardware guy but still why dont you do a segment called software Saturdays Id really like to learn a little something on the software side of things from Daves unique perspective! Splendid job thus far mate!

  • @theemelex
    @theemelex 11 років тому

    Have learned a lot from u... tnx!!

  • @EEVblog
    @EEVblog  11 років тому

    Oh, right. Unfortunate similarity in the names, didn't think of that. They are of course different applications.

  • @supercircuitsfun
    @supercircuitsfun 3 роки тому

    The video creator only presented the theoretical circuit. When the capacitor is a short circuit you are burning the output of the operational amplifier. A 1 kohm resistor needs to be connected in series with the diode to limit the maximum opamp output current.