EEVblog

  Рет қаралды 82,285

EEVblog

EEVblog

Күн бұрын

Fundamentals Friday
Dave takes you through designing a signal overload detector circuit from scratch and then builds it up on the breadboard.
Window comparators, schmitt inverters, capacitor charging, pulse stretching, common mode input range, tongue angle tweaking, it's all here.
Forum Topic: 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/

Пікірлер: 174
@johnopalko5223
@johnopalko5223 5 жыл бұрын
My father was an engineer and a real perfectionist. The phrase "good enough" was never allowed to be uttered in our home. As a result, I grew up to be a real perfectionist. It does me a world of good to hear someone whom I respect say, "What the hell, it's close enough." Thanks!
@FlashEF
@FlashEF 11 жыл бұрын
This makes me wonder why we never had such electronic lessons. On my university it was mostly like "lest calculate this random gigantic resistor-transistor network". You know, for practical design knowledge and fun... I was never before in a situation when I sit down, listen and understand every single thing. And English is not even my native language, while those classes were!
@HighestRank
@HighestRank 6 жыл бұрын
IDK why
@MarkMcDaniel
@MarkMcDaniel 3 жыл бұрын
That's the problem with professors who've done nothing but instruct. They don't teach much that is practical because they've never worked in the industry.
@albertluna1001
@albertluna1001 3 жыл бұрын
So true
@zarserz
@zarserz 11 жыл бұрын
Love fundamentals Fridays, please keep em' coming Dave!
@madkins0128
@madkins0128 11 жыл бұрын
Thank you!! ... the identification of the building blocks and options of a circuit to achieve a result ... priceless.
@trevorvanbremen4718
@trevorvanbremen4718 3 жыл бұрын
The old '339 is quite a useful beast! I just used it in an automotive device that has several 0-5V analog input signals. I needed to include a voltage clamp on the micro-controller analog inputs in case some IDIOT (that'd be ME) accidentally shorted the input direct to the 12V battery. With 100% negative feedback (inverting input directly connected to the output), and a simple resistor pull up to the +5V micro controller power rail, the output will (fairly) accurately follow its input in the 0-5V range. If the input exceeds 5V (due to the IDIOT), the comparator will saturate at 5V since the pull up cannot pull the inverting input high enough to match the non-inverting input. One of the beauties of the venerable '339 is that it doesn't have the pesky input protection diode to the positive supply rail so the input can be 'over driven' right up to the CE breakdown voltage of the input transistor (>30 volts). Since there ARE no voltages below chassis ground in the car, I shouldn't have to be worried about the input pins being driven below 0V. (However, a resistor + diode clamp to ground on the input pin would almost do it) I included positions for external pull up resistors on the PCB, but I am hoping that simply enabling the MCU pin internal pullup resistor (around 50k) will be enough. The comparator output should cause the MCU input pin pull up resistor to be loaded just enough such that the voltage follows the comparator input (unless it exceeds 5V) It wouldn't have been quite as easy if I had to use a 3.3V based microcontroller as I would have had to scale down the input signal first!
@Miketar2424
@Miketar2424 11 жыл бұрын
Dave, thankyou for Funda-Friday. Its the greatest idea you've ever had for your show imo. I'll be watching every one.
@TreacleMary
@TreacleMary 11 жыл бұрын
This was perfect for me Dave, going through the design decisions step-by-step, but not getting too bogged down in the basics. I look forward to more, cheers!
@modelrogers.19
@modelrogers.19 3 жыл бұрын
Thank you again for your walkthroughs. The best ive ever listened to. Thank you for helping us understand!
@bloomtom
@bloomtom 11 жыл бұрын
I love following along as you solve the problem on the whiteboard. It's like watching a mystery unfold, my mind scrambling to uncover problems and solutions before they are revealed!
@kei_otake
@kei_otake 2 жыл бұрын
I remember Ben Eater using that T = R•C formula for a clock pulse iirc - so cool to see different engineering KZbinrs mention the same things!
@parvinzad
@parvinzad 11 жыл бұрын
Thank you Dave for your simplistic way of explantaion !
@gamccoy
@gamccoy 11 жыл бұрын
I like this new segment format, Dave. Please, keep them coming.
@AbdullahKahramanPhD
@AbdullahKahramanPhD 11 жыл бұрын
Fundamentals Fridays are great, thanks Dave! 30 min. is perfect.
@viesturssilins858
@viesturssilins858 11 жыл бұрын
This new segment is perfect! Please keep them coming! And I think that the lenght is about optimal too.
@roundboy0
@roundboy0 11 жыл бұрын
Dave, These segments are fantastic. Thank you.
@ISmellBurning
@ISmellBurning 11 жыл бұрын
Fundamentals Fridays is a winner. Thanks very much Dave. :D
@jopotzner
@jopotzner 11 жыл бұрын
I'm really enjoying your Fundamental Friday videos. Keep up the great work!
@panzerschrekIOI
@panzerschrekIOI 11 жыл бұрын
I'm really glad you're doing more of these, I'm an electronic enthusiast and student, but I sometime lack the rough basics of some circuits, and you're making it so simple to understand... I'm actually watching your videos instead of making homework... But, electronic theory videos count as homework, right?
@Ninboyc
@Ninboyc 11 жыл бұрын
Absolutely love these educational videos Dave!
@sebastiang2296
@sebastiang2296 11 жыл бұрын
I really like this segment. A good balance to all the other videos. I'm looking forward to more Fundamentals Friday videos. The ~30 minute videos are OK and it is nice to have the theory with details and the real implementation and testing of the circuit.
@BaratheonBC
@BaratheonBC 11 жыл бұрын
awsome, loving this segment. had to watch the RC explanation on the capacitor changing. two times (the high and low voltages were confusing me), but i got it. keep sharing the knowlege. thumbs up!
@pychneag
@pychneag 11 жыл бұрын
Excellent. Love these segments!
@leeYT321987
@leeYT321987 11 жыл бұрын
Hey Dave! I'm only 5 minutes but I just wanted to tell you that I LOVE Fundementals Friday!!!
@BGaborr
@BGaborr 11 жыл бұрын
I love these tutorials! Way to go!
@ver64
@ver64 11 жыл бұрын
Thanks Dave,can't wait to next Friday....
@robertfenney
@robertfenney 11 жыл бұрын
Thanks Dave this new segment are really helpful!
@crabxcorelol69
@crabxcorelol69 11 жыл бұрын
Friday is my new favorite day.
@ForViewingOnly
@ForViewingOnly 11 жыл бұрын
Absolutely ACE Dave! Theory and practical... couldn't be better. As a vintage computer enthusiast I'd also like to request a F.F. covering switch mode power supplies, showing waveforms if possible. Thanks for listening.
@sarwork
@sarwork 11 жыл бұрын
Thank you You have an excellent method for explaining circuits. Keep it up
@RedRobster
@RedRobster 11 жыл бұрын
I don't even do electronics that much but Dave is a frequent-welcome guest to my screen.
@jix177
@jix177 11 жыл бұрын
Very well presented, well done!
@KrisBlueNZ
@KrisBlueNZ 11 жыл бұрын
4. A simple option for detecting voltages close to the rails would be an NPN and a PNP from each rail in common emitter configuration. Several more transistors are needed to deal with the signals from the collectors of those transistors, so it's arguable whether that solution is better, but at least it avoids the common mode input range problem of the comparator.
@memadmax69
@memadmax69 11 жыл бұрын
PLEASE! More fun-damentals fridays!
@SpeedDeamon95
@SpeedDeamon95 11 жыл бұрын
I love this stuff! but it also makes me realize how long its going to take to learn all this stuff but its worth it!
@AntonioBarba_TheKaneB
@AntonioBarba_TheKaneB 11 жыл бұрын
I really like these fundamentals videos, much appreciated :)
@realcomix1
@realcomix1 11 жыл бұрын
Dave! I like the long videos! and I like the Fridays videos .. keep it up sir.
@YQTFun
@YQTFun 11 жыл бұрын
Love fundamentals Friday.
@willywgb
@willywgb 11 жыл бұрын
Hi Dave Your new Fundamentals Fridays is great. Hope that you can keep doing them. Would like to see a segment on Switching Power Supplies? Keep up the great work. Willy
@txescientist
@txescientist 11 жыл бұрын
Keep up the good work! Great video as usual...
@GadgetUK164
@GadgetUK164 11 жыл бұрын
Excellent as usual =) Very interesting, i've learnt lots from this. Keep up the great work!
@KVNRICH
@KVNRICH 11 жыл бұрын
Excellent tutorial really clear instruction another problem solved thank.
@JeremyVeleber
@JeremyVeleber 11 жыл бұрын
I agree with Alyx about the longer videos. I disagree with the knowing everything about comparators, at least for my part. :) I know some useful stuff now. Thanks! Keep these up please, Dave.
@Menimitz
@Menimitz 11 жыл бұрын
I like these at about 30 minutes. I think depending on the topic they can go as high as 45 and still keep it watchable but much longer on a weekly basis would be tough to keep up with. Can't wait for episode 3.
@rotlerin
@rotlerin 11 жыл бұрын
Super stuff. I don't pretend to understand it all, but it's so damn interesting. Big thumbs up for FundFri.
@revealingfacts4all
@revealingfacts4all 11 жыл бұрын
LOVE IT, LOVE IT... Hey Dave, so your tear downs were getting a bit old for me. I love this kind of video and it's more like your earlier ones where you spent time on theory and then into a real world build up. Brilliant! And just love how you show a working circuit and how to use lab equipment to study it. Keep Fundamental Fridays coming!!!
@frollard
@frollard 11 жыл бұрын
Love it! Great stuff. I'm brutally bad at understanding analog theory so you beating a dead horse with terminology, cause, effect, and traps is appropriate for me :) Thanks again, keep it coming!
@sergivaschenko
@sergivaschenko 2 жыл бұрын
1. Common mode voltage range of LM339 ends around Vcc -2V, so other comparator is needed here. 2. LM339 has bipolar transistor output, so our capacitor should discharge very slowly around "Low-level output voltage" 150-400mV, as listed in the datasheet. 3. Its a better idea to ground third comparator's positive input and change resistor value to achive desired delay.
@EEVblog
@EEVblog 11 жыл бұрын
I've had that one since I was a teenager!
@DavidTelesPortugal
@DavidTelesPortugal 11 жыл бұрын
Late in the nigth here in Portugal. So let me see this before bed.
@BlackAck90
@BlackAck90 11 жыл бұрын
Exactly what I was thinking!!.. Great comment.
@KrisBlueNZ
@KrisBlueNZ 11 жыл бұрын
3. In practice I would use a PNP emitter follower from the RC driving an LED, and a resistor between the comparator outputs and the capacitor so it doesn't discharge fully and immediately on every overload. This gives a smooth range of brightness that's proportional to the amount of overload, which I find more useful for audio use, though you may want the behaviour you've designed for. (A pulse time of 0.1 seconds would be plenty long enough though.)
@mccunecp
@mccunecp 11 жыл бұрын
thanks dave I will have to save this video for later watching for my solar stuff. would work great for charging. were I can charge up to a certian voltage and use it to turn off the solar once the battery reaches a preset discharge voltage it will go back in to charge mode untile the battery once again reaches the charge voltage. IE stop chargeing at 28.8 volts and dump any voltage to gti. and when battries goes below 24.4 volts start charging them again. nice video dave. love it.
@hmpeter
@hmpeter 11 жыл бұрын
Great video, thank you!
@EEVblog
@EEVblog 11 жыл бұрын
This is my usual workbench area. That whiteboard is right next to my main bench you see in most videos.
@kevy1yt
@kevy1yt 11 жыл бұрын
LOVE fundamental Friday! Keep um comin'. This one was a tad confusing though because you started with a design goal that was to be low parts and cheap and ended up using a 2nd IC instead of the quad comparator initially mentioned. Still, got to see some 'traps' in action.
@raguaviva
@raguaviva 11 жыл бұрын
Such a nice video!!!
@LegendaryZable
@LegendaryZable 11 жыл бұрын
I build my first little timer with a capacitor and a comparator so proud of me that time :)
@EEVblog
@EEVblog 11 жыл бұрын
Yes, it counts. I can write you a note if needed!
@Daepilin
@Daepilin 11 жыл бұрын
great show of yours. really helps understanding (at least for me as only half an ee student^^)
@armpitdew
@armpitdew 11 жыл бұрын
I got through the theory relatively easily, but once into the practical.... i think i have to watch that half a few more times. Great video though!
@mikeandrewp
@mikeandrewp 11 жыл бұрын
I made a very similar setup to test ATX power supplies, using four LM393s, an LM431 reference, transistor-driven Green (pass) / Red (fail) LEDs and a brighter overall "FAIL" LED, with an added CD4069 hex inverter and some diodes for logic. Also a set of 1ohm and 3.6ohm high-watt resistors and some NTD series power mosfets to generate a ~150W test load. Never got to build it, but I did get as far as a tentative board layout.
@MarcoMardegan
@MarcoMardegan 11 жыл бұрын
Nice video, thank you!
@lodevijk
@lodevijk 11 жыл бұрын
Hey Dave! I really like these new Fundamentals videos. It's too bad you were in a rush and didn't have a lot of time to shoot this one. Otherwise you would have certainly realized an easy solution to making this work at ±1V - by using a divider not to ground, but to -1V. I thought of that immediately because I never work with a split power supply... I cannot afford it, haha. Anyway, as a lecturer, you're very interesting to listen to. Keep this Fundamentals Friday going!
@poopytowncat
@poopytowncat 11 жыл бұрын
Great video! I was worried in the first half though!
@biltema2000
@biltema2000 11 жыл бұрын
I just love this new consept of ''fundamentals friday'' thing. Keep up the good work dave! Thank you ;) ps. Can you do a fundamentals friday video on FPGA's ?
@envisionelec
@envisionelec 11 жыл бұрын
I can't tell you how many times I've forgotten to read the datasheet for the output configuration for a comparator. I'm a little wiser now, but fortunately many comparators share pinout - saved me a few times.
@devilmastah
@devilmastah 11 жыл бұрын
thats a brilliant idea
@k3ith1
@k3ith1 11 жыл бұрын
I agree, this is the best segment. I don't mind 30 minutes at all.
@ChrisMasto
@ChrisMasto 11 жыл бұрын
Funny, I just did this last week (see video response). I probably screwed up some of the details, because I'm really new to electronics, but I wanted to be able to detect a short duration signal with an Arduino program that spends a couple of seconds in a timing-sensitive loop with interrupts disabled. I used an LM358N and an R-C circuit similar to yours to stretch out the pulse to the point where my program can read it at leisure.
@ChipGuy
@ChipGuy 11 жыл бұрын
Very useful, keep it up :)
@TheCrazyInventor
@TheCrazyInventor 11 жыл бұрын
Too bad a week only has one friday... I like this segment. :)
@matteoc1114
@matteoc1114 2 жыл бұрын
Top... as usual!!!
@baghdadiabdellatif1581
@baghdadiabdellatif1581 Жыл бұрын
Thank you. god bless you
@GoodOneGarza
@GoodOneGarza 11 жыл бұрын
sweet vid!
@bitrot42
@bitrot42 8 жыл бұрын
Great to see something like this done with real hardware, instead of whacking in a microcontroller. Why does the datasheet say you can power it on +- 1V when the inputs have to be at least 1.5V away from the rails?
@MicrowaveGenocide
@MicrowaveGenocide 8 жыл бұрын
wait WHAT your telling me I can build circuits with out a atmel and a few msp430's? lol
@yasodhjayathilake5029
@yasodhjayathilake5029 11 жыл бұрын
Hello Dave, i learnt alot about electronics through your videos.Can you make a video on how to send data to a TFT LCD screen through a microcontroller and display some graphics. Thank You.
@luizvision478
@luizvision478 6 жыл бұрын
OK MY DEAR. MANY TKS ABOUT MORE THIS LESSON, I AM ONLY ELETRICAL ENGINERING, 60 YEARS, AND I LOVE DIGITAL ELETRONICS THE BEST FOR YOU LUIZ RIO DE JANEIRO BRASIL
@TheOysterjam
@TheOysterjam 11 жыл бұрын
nice idea. i think the only problem there would be voltage drops in the rectifier but you can compensate for that easy
@michaelhawthorne8696
@michaelhawthorne8696 10 жыл бұрын
Hi Dave, just seen this blog made awhile ago now but enjoyed it none the less. Got a question though, at 16 mins or so you have included a third comparator but maybe I'm wrong but isn't it wired backwards, ie the cap should be going to the + input so when the charge is low across the cap during the peak periods the + input will be low respects to the - input and the o/p will go low turning the LED on?
@WakeUpWolfgang
@WakeUpWolfgang 11 жыл бұрын
I was thinking about doing this right before I read your post but on my 56'' display
@jessstuart7495
@jessstuart7495 7 жыл бұрын
TI makes a convenient window-comparator IC (TPS3700) for overvoltage/undervoltage detection. The voltage thresholds are set by an external 3-resistor tree (voltage divider). It has open drain outputs too, so they can be wire or-ed together. www.ti.com/lit/ds/symlink/tps3700.pdf
@k3ith1
@k3ith1 11 жыл бұрын
Depends on the timing I would think. The PIC needs time to convert that voltage to digital so you would miss very fast signals. Check the conversion time in the datasheet.
@raul116
@raul116 11 жыл бұрын
Hey Dave! Maybe next fundamental friday could be a tutorial on how to read opamp datasheets and what does every characteristic means!
@tonydimichele4428
@tonydimichele4428 2 жыл бұрын
Hey Dave, good vid. I was going to make a circuit using the LM339 to drive LEDs but found the output max sink current of only 20ma to be too low for me to feel comfortable using a setup like this. I need the circuit to work out in the desert where it is bright and hot out so I was worried sinking max current to drive a green LED at 20ma would run into thermal runaway issues, and running less that 20ma into seemed undesirable as the LED might not be bright enough to easily see.
@Joru666
@Joru666 11 жыл бұрын
Great video, I learned a lot from such videos, keep them comming if you'd be so kind.
@Corpsefury
@Corpsefury 11 жыл бұрын
Same, I don't mind the longer videos at all.
@SeanBZA
@SeanBZA 11 жыл бұрын
As you are using an isolated supply use the scope probe as the 10m resistor instead, and just have an inverted trace.....
@OneBiOzZ
@OneBiOzZ 11 жыл бұрын
i dont mind the longer videos ... i have plenty of time to spare and you learn more! .... i thought i knew everything about comparators ... but not CM voltage!
@pyros80
@pyros80 11 жыл бұрын
Fundamental Fridays For Da Win!
@metaforest
@metaforest 11 жыл бұрын
The only way a micro could help here is if you needed to dynamically attenuate or amplify the input signal to keep it inside the window. That gain adjustment problem is WAY beyond the scope(hah) of Dave's demo here. (Thanks Dave for showing the rough edges of this technique!
@aptsys
@aptsys 11 жыл бұрын
It's all in the datasheet.
@0LoneTech
@0LoneTech 11 жыл бұрын
My first thought for a pulse extender was to just put a cap on the comparator output. It would then recover by the same current that feeds the LED. That variant would have a more complex time, uneven light, and require a larger capacitor, so probably not work as well... just thought I'd toss it out here anyway.
@ivanv754
@ivanv754 11 жыл бұрын
Nothing like watching Dave's head on a 42" display in high definition, surround sound system, dimmed lights and popcorn, right?
@Dennis-gr2fx
@Dennis-gr2fx 11 жыл бұрын
If the IC can detect a pos or neg peak how will one know the difference between a half circuit ( just detects say a pos peak) and a circuit that detacts both pos and neg peaks if the frequency is x in one case and 2x in the other?
@lrcarv1971
@lrcarv1971 11 жыл бұрын
Hi Dave ! Don't worry about the time it takes the "fundamental Friday"! I don't mind! In fact if you want to set the limit to 1 hour, I'll find the time to see!
@krawutzimon
@krawutzimon 11 жыл бұрын
FF's the best! :)
@Tjousk
@Tjousk 11 жыл бұрын
Something similar should come pre-installed with your OS, however you may need to install the 'practice' upgrade to get the same quality output.
@vitalsfading
@vitalsfading 11 жыл бұрын
Dave i have a heath bench power supply with a single positive rail is there a way i can make a negative output rail for building projects like this, im kinda of a newbie was into electronics years ago and decided after watching your blog to get back into. thanks in advance
@michaellove7912
@michaellove7912 3 жыл бұрын
my understanding is for the window comparator circuit, you omitted two diodes right at the output of the two opamps, right?
@adenning96
@adenning96 4 жыл бұрын
Hello, I have a query about what's being discussed around the 4:35 mark. What I can't grasp is, why swap the inputs on the comparator? In the Inverting Comparator configuration, when the input is below the 2V reference, the Transistor would be closed and the output would sink to ground, lighting the LED. When it rises above the level, the transistor would cause an open circuit and the LED would go out, i.e the exact opposite of what we want, correct? I've done some digging around and all that I'm seeing confirms my suspicion unless I'm missing something? Can anyone help? Thanks in advance.
EEVblog #490 - Peak Detector Circuit
35:03
EEVblog
Рет қаралды 234 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 10 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 31 МЛН
EEVblog #626 - Ceramic Capacitor Voltage Dependency
27:58
EEVblog
Рет қаралды 89 М.
How to protect circuits from reversed voltage polarity!
6:46
Afrotechmods
Рет қаралды 2,2 МЛН
DE-5000 LCR Meter Kelvin Clip Upgrade. Learn from my mistakes.
51:43
Bad Dog Electronics
Рет қаралды 837
EEVblog #496 - What Is An FPGA?
37:44
EEVblog
Рет қаралды 758 М.
An interesting invention that will surprise you: DIY
8:06
Full Metal Hands
Рет қаралды 45
Bandsaw Wheel Repair- SNS 381
55:51
Abom79
Рет қаралды 70 М.
EEVblog #908 - Zener Diodes
32:34
EEVblog
Рет қаралды 471 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 640 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 4,9 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Сколько реально стоит ПК Величайшего?
0:37
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 114 М.