EEVblog

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 296

  • @MylesShannon
    @MylesShannon 11 лет назад +53

    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 Год назад

      Exactly-

  • @user-pc5sc7zi9j
    @user-pc5sc7zi9j 5 лет назад +16

    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 лет назад +86

    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 3 года назад

      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 9 лет назад +22

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

  • @gregben
    @gregben 4 года назад +3

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

  • @lisakingscott7729
    @lisakingscott7729 2 года назад +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.

  • @davidfof13
    @davidfof13 9 лет назад +1

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

  • @SirMo
    @SirMo 9 лет назад +26

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

  • @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!

  • @andymouse
    @andymouse 7 месяцев назад

    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!

  • @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.

  • @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 4 года назад +1

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

  • @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.

  • @freon500
    @freon500 11 лет назад +1

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

  • @Stelios.Posantzis
    @Stelios.Posantzis 4 года назад

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

  • @DuanvantSlot
    @DuanvantSlot 9 лет назад +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

  • @CristiNeagu
    @CristiNeagu 9 лет назад +27

    17:23 Smooth edit there...

    • @nouveriantechno
      @nouveriantechno 6 лет назад +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

  • @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!

  • @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)

  • @fdk7014
    @fdk7014 9 лет назад +3

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

  • @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.

  • @adrianaldea5869
    @adrianaldea5869 11 лет назад

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

  • @BryanByTheSea
    @BryanByTheSea 4 года назад

    Wish you would bring back Fundamental Fridays. Love these.

  • @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.

  • @sagem116
    @sagem116 7 лет назад +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

  • @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.

  • @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.

  • @maxwellstrange4572
    @maxwellstrange4572 6 лет назад +1

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

  • @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.

  • @daveb5041
    @daveb5041 2 года назад +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?

  • @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.

  • @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

  • @YO6TJJ
    @YO6TJJ 11 лет назад

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

  • @EEVblog
    @EEVblog  11 лет назад

    You don't need to get into physics, but yes, there is a lot more to this when you start playing with opamps, capacitor loads, open loop recovery etc. This simple circuit could spawn several branch topics to explain it.

  • @Nate_dog01
    @Nate_dog01 11 лет назад

    This is by far my favorite series on RUclips.....nice job...

  • @EngineeringAllAround
    @EngineeringAllAround 2 года назад

    It's possible to avoid very high negative oversaturation with just one additional diode and resistor (for the schema with two op amps). This reduces overshoot and switch on time.

  • @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

  • @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

  • @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.

  • @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.

  • @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.

  • @viksohal
    @viksohal 10 лет назад +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 :-)

  • @EEVblog
    @EEVblog  11 лет назад

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

  • @jessstuart7495
    @jessstuart7495 7 лет назад

    You can keep the op-amp from saturating at the negative rail by modifying the circuit a little bit.
    1. Break the feedback connection from the cap to the 1st opamp's inverting input.
    2. Use a 2nd opamp to buffer the cap voltage.
    3. Add a diode from the 1st opamp's inverting input to the 1st opamp's output. The anode should be connected to inverting input, the cathode to the opamp's output.
    4. Place a feedback resistor (10k?) from the buffer output (2nd opamp) to the 1st opamp's inverting input.
    This will allow the first opamp's output to effectively track the input signal, staying 1-diode drop below the input voltage when the input goes below it's peak value. The 1st opamp's output doesn't saturate at the negative rail that way, and the slew rate limitation is fixed.
    You can also use shottkey diodes which have a faster switching time. But you will probably need to use the 0-volts across the second diode trick, as shottkey diodes have higher leakage than regular PN diodes.
    If you need a fast response, you might have better luck using a fast comparator to compare the input with the buffered cap voltage (fast fet input opamp) and generate a digital signal. The digital signal could be NORed with a reset signal, or the digital signal could be gated by the reset signal using a series p-fet. The gatedl signal would control an n-fet connected to Vdd that would charge the storage capacitor connected to its source (source-follower). A second discharge n-fet would be controlled by the reset signal directly. If overshoot was a problem, you could add a small resistor in series with the charging n-fet to decrease the charging rate. Be sure to use adequate bypass capacitors as the charging fet will draw large spikes of current from the supply.
    This would make a peak-detector that would track very fast pulses probably up to a few MHz bandwidth.

  • @jmi5969
    @jmi5969 10 месяцев назад

    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.

  • @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!

  • @paguerchanel
    @paguerchanel Год назад

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

  • @kevinbeckenham3872
    @kevinbeckenham3872 5 лет назад

    Thank you Dave for another good tutorial on peak detector

  • @darlingtonpear940
    @darlingtonpear940 11 лет назад

    Fundamentals Friday is awesome! Keep them coming!

  • @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.

  • @famossfla
    @famossfla 11 лет назад +1

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

  • @TomMinnick
    @TomMinnick 11 лет назад

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

  • @mrjohhhnnnyyy5797
    @mrjohhhnnnyyy5797 10 лет назад +1

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

  • @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.

  • @kitanowitsch
    @kitanowitsch 7 лет назад

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

  • @nouveriantechno
    @nouveriantechno 6 лет назад

    Another drawback of the crude circuit is that the active discharge will also clamp the signal source to ground through the diode.

  • @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.

  • @fl4tcircl3
    @fl4tcircl3 11 лет назад

    Your didactic skill is superb. Chapeau.

  • @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.

  • @daniele1209
    @daniele1209 2 года назад

    Thanks for great video. you deserve every single dollar you make out of this RUclips channel.

  • @cosmic_husky
    @cosmic_husky 5 лет назад

    14:40 Trade-Off
    15:15 Dielectric Absorption

  • @anthonyvolkman2338
    @anthonyvolkman2338 4 года назад

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

  • @m.alkaff9110
    @m.alkaff9110 2 года назад

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

  • @WhiskeyRichard.
    @WhiskeyRichard. 9 лет назад +35

    Oh baby, sample and hold me

  • @jnkettenring
    @jnkettenring 10 лет назад

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

  • @pohsinhee3076
    @pohsinhee3076 10 лет назад

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

  • @fabi5783
    @fabi5783 Год назад

    Guarding technique ... awesome!

  • @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...

  • @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

  • @gwav1a
    @gwav1a Год назад

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

  • @fahadnadeem6130
    @fahadnadeem6130 3 года назад

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

  • @mukeshkumarsharma3413
    @mukeshkumarsharma3413 8 лет назад

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

  • @supercircuitsfun
    @supercircuitsfun 4 года назад

    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.

  • @technobabble_
    @technobabble_ 11 лет назад

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

  • @tubical71
    @tubical71 11 лет назад

    You just have demonstrated, why good designs aren´t that simple. My own design of a Full wave precision rectifier, for my latest "Tinker-Goal" ended up with 5 OpAmps. But as nealy always i´m not fully satisfied with it. I started with a standart "tech-teach" 2 Op toppic, as also could be found in the LM3915 datasheets.
    Thanx for this vid!!

  • @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!

  • @robinparnaby3335
    @robinparnaby3335 11 лет назад

    Power the 'kin' opamp off +5 and gnd (or even better -0,7v) to reduce the reverse saturation recovery time.

  • @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.

  • @RobertGallop
    @RobertGallop 11 лет назад

    Best electronics series on the net!

  • @Factory400
    @Factory400 6 лет назад

    One of my favorites Dave.

  • @CagnPolat
    @CagnPolat 7 лет назад

    Most of the time I forget to press the like button. Sorry about that. You gave me lots of lots of useful informations. So thank you a lot.

  • @DoktorJeep
    @DoktorJeep 6 лет назад

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

    • @HighestRank
      @HighestRank 4 года назад

      Doktor Jeep *Dave Jones.

  • @vasko002
    @vasko002 11 лет назад

    I love these basic videos.

  • @thefatmoop
    @thefatmoop 11 лет назад

    do more on peak detection! Higher the frequency the better

  • @Excalibur32
    @Excalibur32 4 года назад

    Your videos are so informative, thank you so much!

  • @aregjan
    @aregjan 8 месяцев назад

    You're an amazing teacher!

  • @JohnnyNoBueno
    @JohnnyNoBueno 10 лет назад

    In the ideal diode and cap circuit, can't you just put a buffer between the diode and storage cap to reduce the slew noise down to that first blip when the input goes negative? It looks like the cap impedance is causing most of the distortion.

  • @Gabbe0x58
    @Gabbe0x58 10 лет назад

    Very interesting! Thanks Dave!

  • @Desmaad
    @Desmaad 11 лет назад

    Now I know how to make a sample and hold system for an analogue synthesizer!

  • @metalmolisher666
    @metalmolisher666 11 лет назад

    Surely not! The green line is the OPA - thats why it peaks later on - since it only ahs to cahrge the cap for very short amounts. Watch the whole video.

  • @mooseteets
    @mooseteets 11 лет назад

    if you were using a vu meter to display the cap voltage it would be tweakable to add the voltage drop of the diode, i assume other display devices could be tweaked the same way.

  • @SamiJumppanen
    @SamiJumppanen 2 года назад

    Really really good info! Thank you for this!

  • @jakopinorama
    @jakopinorama 11 лет назад

    Great video Dave! Have just been learning about the same problem for my electronics exam. =)
    Is it possible to get an episode up about hi power audio amplifiers?
    Keep it up!

  • @chrisl456
    @chrisl456 11 лет назад

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

  • @ksrele
    @ksrele 11 лет назад

    This is very good video. I never imagine that simpla peak detector can be so complicated.
    Can you PLEASE make videos about zener and varicap diodes? And I want to know more about DIAC and TRIAC and I know that when you explain it I will understand it then :)
    Thanks you for nice videos.
    Greatings from Serbia.

  • @douggale5962
    @douggale5962 7 лет назад +4

    Wouldn't it droop quickly at first then flatten out as the capacitor voltage approaches zero? Your graph implies that it droops slowly at first then more rapidly.

  • @reviathon360
    @reviathon360 11 лет назад

    Fundamentals Friday yeah!

  • @HighestRank
    @HighestRank 5 лет назад +1

    “this diode” is actually a not a diode but a feedback-resistance. 17:55

    • @HighestRank
      @HighestRank 4 года назад

      18:27 that’s a diode* not a “capacitor “.

    • @HighestRank
      @HighestRank 4 года назад

      18:27 that’s a diode*, not a “capacitor “.

  • @GaRbAllZ
    @GaRbAllZ 11 лет назад

    Excellent! Great topic Dave.