Тёмный

EEVblog  

EEVblog
Подписаться 943 тыс.
Просмотров 82 тыс.
50% 1

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/

Наука

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 173   
@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!
@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!
@madkins0128
@madkins0128 11 лет назад
Thank you!! ... the identification of the building blocks and options of a circuit to achieve a result ... priceless.
@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 RU-vidrs mention the same things!
@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!
@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!
@modelrogers.19
@modelrogers.19 3 года назад
Thank you again for your walkthroughs. The best ive ever listened to. Thank you for helping us understand!
@parvinzad
@parvinzad 11 лет назад
Thank you Dave for your simplistic way of explantaion !
@memadmax69
@memadmax69 11 лет назад
PLEASE! More fun-damentals fridays!
@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.
@roundboy0
@roundboy0 11 лет назад
Dave, These segments are fantastic. Thank you.
@viesturssilins858
@viesturssilins858 11 лет назад
This new segment is perfect! Please keep them coming! And I think that the lenght is about optimal too.
@ISmellBurning
@ISmellBurning 11 лет назад
Fundamentals Fridays is a winner. Thanks very much Dave. :D
@RedRobster
@RedRobster 11 лет назад
I don't even do electronics that much but Dave is a frequent-welcome guest to my screen.
@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.
@Ninboyc
@Ninboyc 11 лет назад
Absolutely love these educational videos Dave!
@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!!!
@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!
@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?
@ver64
@ver64 11 лет назад
Thanks Dave,can't wait to next Friday....
@crabxcorelol69
@crabxcorelol69 11 лет назад
Friday is my new favorite day.
@BGaborr
@BGaborr 11 лет назад
I love these tutorials! Way to go!
@robertfenney
@robertfenney 11 лет назад
Thanks Dave this new segment are really helpful!
@jix177
@jix177 11 лет назад
Very well presented, well done!
@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.
@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.
@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.
@DavidTelesPortugal
@DavidTelesPortugal 11 лет назад
Late in the nigth here in Portugal. So let me see this before bed.
@sarwork
@sarwork 11 лет назад
Thank you You have an excellent method for explaining circuits. Keep it up
@rotlerin
@rotlerin 11 лет назад
Super stuff. I don't pretend to understand it all, but it's so damn interesting. Big thumbs up for FundFri.
@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
@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.
@AntonioBarba_TheKaneB
@AntonioBarba_TheKaneB 11 лет назад
I really like these fundamentals videos, much appreciated :)
@txescientist
@txescientist 11 лет назад
Keep up the good work! Great video as usual...
@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!!!
@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.
@KVNRICH
@KVNRICH 11 лет назад
Excellent tutorial really clear instruction another problem solved thank.
@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!
@GadgetUK164
@GadgetUK164 11 лет назад
Excellent as usual =) Very interesting, i've learnt lots from this. Keep up the great work!
@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!
@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.
@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.
@BlackAck90
@BlackAck90 11 лет назад
Exactly what I was thinking!!.. Great comment.
@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.
@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.)
@MarcoMardegan
@MarcoMardegan 11 лет назад
Nice video, thank you!
@TheCrazyInventor
@TheCrazyInventor 11 лет назад
Too bad a week only has one friday... I like this segment. :)
@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.
@EEVblog
@EEVblog 11 лет назад
I've had that one since I was a teenager!
@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.
@raguaviva
@raguaviva 11 лет назад
Such a nice video!!!
@poopytowncat
@poopytowncat 11 лет назад
Great video! I was worried in the first half though!
@LegendaryZable
@LegendaryZable 11 лет назад
I build my first little timer with a capacitor and a comparator so proud of me that time :)
@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!
@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!
@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.
@Daepilin
@Daepilin 11 лет назад
great show of yours. really helps understanding (at least for me as only half an ee student^^)
@EEVblog
@EEVblog 11 лет назад
Yes, it counts. I can write you a note if needed!
@GoodOneGarza
@GoodOneGarza 11 лет назад
sweet vid!
@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
@devilmastah
@devilmastah 11 лет назад
thats a brilliant idea
@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.
@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
@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!
@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!
@k3ith1
@k3ith1 11 лет назад
I agree, this is the best segment. I don't mind 30 minutes at all.
@baghdadiabdellatif1581
@baghdadiabdellatif1581 Год назад
Thank you. god bless you
@ivanv754
@ivanv754 11 лет назад
Nothing like watching Dave's head on a 42" display in high definition, surround sound system, dimmed lights and popcorn, right?
@ChipGuy
@ChipGuy 11 лет назад
Very useful, keep it up :)
@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 ?
@BalticLab
@BalticLab 11 лет назад
"There are practical effects when you probe things" -> That's what she said
@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!
@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!
@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.....
@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
@johndunn5272
@johndunn5272 Год назад
Dave you need to take your hobbyists on a long range project. Why not design and build an oscilloscope!!! Yay !
@matteoc1114
@matteoc1114 3 года назад
Top... as usual!!!
@WakeUpWolfgang
@WakeUpWolfgang 11 лет назад
I was thinking about doing this right before I read your post but on my 56'' display
@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.
@FirstName-14
@FirstName-14 11 лет назад
Fundamental Fridays For Da Win!
@aptsys
@aptsys 11 лет назад
It's all in the datasheet.
@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.
@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.
@Corpsefury
@Corpsefury 11 лет назад
Same, I don't mind the longer videos at all.
@Joru666
@Joru666 11 лет назад
Great video, I learned a lot from such videos, keep them comming if you'd be so kind.
@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
@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.
@AIM54A
@AIM54A 11 лет назад
A micro also adds V&V headaches, potential regulatory nightmares depending on the project and its overkill as you mention. New players need to avoid tossing software at a hardware solution.. Great video.
@gamingSlasher
@gamingSlasher 11 лет назад
That is usually what happens to me when I try to do designs with integrated circuits, op-amps. You get all kind of strange problems when you get near the voltage supply. You would probably have been better of using a diode to sense when you are near the +/- supply.
@alek202
@alek202 11 лет назад
You can download DaveCad at Amazon and various online stores, simply search for Post-It!
@stargazer7644
@stargazer7644 8 лет назад
The point of adding the extra bits on the circuit is to stretch the duration that the LED lights up to make it visible even on short pulses. Is there any possibility of the pulse being so short that it cannot discharge the cap in time? How to address that? I would think you'd want the cap as small as possible.
@krawutzimon
@krawutzimon 11 лет назад
FF's the best! :)
Далее
EEVblog #908 - Zener Diodes
32:34
Просмотров 471 тыс.
EEVblog #486 - Does Current Flow Through A Capacitor?
17:17
Наташа Кампуш. 3096 дней в плену.
00:58
EEVBlog 1436 - The TOP 5 Jellybean OPAMP's
27:14
Просмотров 121 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 749 тыс.
EEVblog #490 - Peak Detector Circuit
35:03
Просмотров 235 тыс.
EEVBlog #1116 - How to Remove Power Supply Ripple
27:05
EEVblog #373 - Multimeter Input Protection Tutorial
39:51
Лучший браузер!
0:27
Просмотров 1,1 млн
КАКОЙ SAMSUNG КУПИТЬ В 2024 ГОДУ
14:59