EEVblog

Ғылым және технология

Dave explains and demonstrates how out of phase digital signals can effectively double your voltage. The magic of moving your reference point. And how you can verify this with a differential probe.
A question bought up in the comments of the previous LCD driving video.
The HVP70 High Voltage Differential Probe
Coupon code "bargainprobe"
www.eevblog.com/product/hvp70/
amzn.to/2Bk4AnY
EEVblog Main Web Site: www.eevblog.com
The 2nd EEVblog Channel: / eevblog2
Support the EEVblog through Patreon!
/ eevblog
Donate With Bitcoin & Other Crypto Currencies!
www.eevblog.com/crypto-currency/
EEVblog Amazon Store (Dave gets a cut):
astore.amazon.com/eevblogstore-20
T-Shirts: teespring.com/stores/eevblog
💗 Likecoin - Coins for Likes: likecoin.pro/@eevblog/dil9/hcq3

Пікірлер: 604

  • @atmel9077
    @atmel90776 жыл бұрын

    You've got 10Vpp BUT you've still got 5VRMS. For me it's not a voltage doubler. However if you add a diode and a capacitor then you'll get 10VDC and you now have a charge pump voltage multiplier. Note that 1.5v calculators use this kind of voltage doubler to generate 3v for the digital logic and to drive the LCD. On dot-matrix LCDs the controller also uses this kind of voltage multiplier to generate voltage up to 15 volts or more in order to achieve a good contrast.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    @Integrated Electronics - Your concept is correct, but the LCD drive is not 5V RMS since this is a square wave. RMS only applies to pure sine waves. With a square AC waveform the effective voltage is the same as the peak voltage, in this case, 5V. EDIT: In retrospect I realize that RMS does apply to square AC (it applies to any waveform), its just that for square waves the RMS == Nominal so it's not normally used in reference to square waves.

  • @SimoWill75
    @SimoWill756 жыл бұрын

    For those that are still struggling to understand, try this. Imagine you have a speaker, you apply 5vdc, the speaker cone moves out and stays there right? Now remove the 5v DC and the cone returns to its resting point right? Now reverse the wires and apply 5vdc again, this time the cone moves IN right? Now, how many volts AC, peak to peak, would move the speaker cone the equivalent distance max out, to max in? Have a guess.

  • @michaelhawthorne8696

    @michaelhawthorne8696

    6 жыл бұрын

    Good analogy....

  • @amojak

    @amojak

    6 жыл бұрын

    Simo.. you are referring to the equivalent of a centre tapped transformer with the speaker analogy. the speaker is biased to be mid travel you push or pull its cone. it has nothing to do with the particularly poor video.

  • @SimoWill75

    @SimoWill75

    6 жыл бұрын

    *Facepalm* Your comment only highlights your lack of understanding.

  • @amojak

    @amojak

    6 жыл бұрын

    i would say it highlights the lack of clarity and mis-explanation in the video actually. But if you are confident how about you explain the 10V being created to drive the LCD here ?

  • @SimoWill75

    @SimoWill75

    6 жыл бұрын

    Troll on to your heart's content.

  • @Yotanido
    @Yotanido6 жыл бұрын

    I'll just put a copy of my response to the comment on the other video, in case it helps someone: At time t0: COM is at 0V relative to circuit ground Pin A is at 5V relative to circuit ground. Pin A is therefore at 5V relative to COM. At time t1: COM is at 5V relative to circuit ground. Pin A is at 0V relative to circuit ground. Pin A is therefore at -5V relative to COM. In other words, Pin A just went from 5V to -5V relative to COM, which makes a change of 10V.

  • @ahmedejaz1125

    @ahmedejaz1125

    3 жыл бұрын

    Yes but at any given point of time the voltage difference between com and a is 5V and so voltage difference is not actually 10 but only appears to be so

  • @gblargg

    @gblargg

    3 жыл бұрын

    @@ahmedejaz1125 The point is that you can generate a square wave of double the usual amplitude, without anything special. So you can drive your LCD with a 10V square wave instead of just 5V.

  • @gigglesseven
    @gigglesseven6 жыл бұрын

    new drinking game. every time dave says "actually" take a shot. if you can still understand the video by the end you win

  • @gigglesseven

    @gigglesseven

    6 жыл бұрын

    7 miutes in, i'm drunk

  • @ktos9934

    @ktos9934

    4 жыл бұрын

    @@gigglesseven You almost killed me, now I'm back from hospital

  • @FilipMilerX
    @FilipMilerX6 жыл бұрын

    Actually 10V voltage SWING (difference between minimum and maximum amplitude) doesn't mean 10V VOLTAGE. Actual voltage is +/-5V, but not +5V and -5V AT THE SAME TIME, so not +10 nor -10V differential. But the SWING is definitely 10V.

  • @henribondar3997

    @henribondar3997

    6 жыл бұрын

    Yes your right this is an inverter and not a voltage doubler as Dave falsely suggest

  • @MarkTillotson

    @MarkTillotson

    6 жыл бұрын

    Its definitely doubling the AC component of the voltage across the load, just as a bridged audio amp doubles the voltage across the load. I think there's some confusion here betwen DC and AC - peak-to-peak voltage is a property only of the AC component, we are only talking here of the AC component. Another way to think of this setup is using phasors - the pre-inverter and post-inverter signals are 180 degrees out of phase, as as phasors(*) you can call them +5 and -5, the difference is 10. (*) This strictly only applies to sine waves of identical frequency, I gloss over the harmonics, but it works the same.

  • @FilipMilerX

    @FilipMilerX

    6 жыл бұрын

    But the amplitude of AC component (DC is zero in this case) is 5V, not 10. Swing is not amplitude.

  • @alynicholls3230

    @alynicholls3230

    6 жыл бұрын

    yes but there is 10v, but 10v ac.relative to virtual ground, 5v dc relative to actual ground.

  • @bertbronson8395

    @bertbronson8395

    3 жыл бұрын

    Ok, if true I should be able to power, say 4 red LEDs at like 2mA or more from this instead of just two right?;) No, it is only 5 volts (like he said, sort of like an H-bridge... polarities keep switching... so a motor would just see 5v ... first from one direction then from the other for example). Interestingly, RS-485 works like this also (10v noise immunity with only 5v ... ethernet based on '485).

  • @russellhltn1396
    @russellhltn13966 жыл бұрын

    It's just like taking a stereo amp and putting it into bridge mode and wiring the speaker across the two outputs.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    Yes it is, but from the comments I don't think many people here understand amp bridging either. H-Bridge motor drivers work the same way too, but people are having trouble grasping that if you keep swapping the voltages on the ends of any component then that component sees EXACTLY the same source waveform as it would if driven by a true AC supply.

  • @Marzec309
    @Marzec3096 жыл бұрын

    It's simple, the scope is measuring relative to it's Gnd reference (the Gnd clip). When the Reference voltage on the Gnd clip is 0V and the probe is at +5V the difference is a +5 Volts. Now, the confusing part. The logic is changing the voltage at the Reference Point (The Gnd Clip) to +5V and at the same time the probe is now at 0V. Zero is below 5, the result is that the measured Value is now -5V. You end up with a +5v to -5v Differential swing on the scope. BUT, it is still a 5 Volt Peak to Peak signal relative to the logic circuit (no voltage doubling) the AC RMS is 2.5volts, you only end up with a "SIMULATED" -5Volts because the COM of the LCD is Floating relative to circuit com and not at a fixed reference point. Your single ended voltage is still 5 Volts no mater the polarity (of a single signal). It is simply the function of TWO different wave forms that give you the 10Volts (remember the LCD's com pin is floating). The Differential AC RMS of the to signals is still 5V. No doubling took place ;-) It's also worth mentioning that each segment of the LCD would have its own XOR gate, wired exactly as the one shown for segment A. In this way, all the driven segments will change polarity relative to the LCD's Com pin at the same time. Effectively driving the LCD with an AC Square wave. With current flowing from com to segment pin and then having the current change direction and flow from Segment pin to the Com pin (exactly as an AC Signal would).

  • @mcuembedded
    @mcuembedded6 жыл бұрын

    Here is a short note for those who still find it confusing... :) Easiest way to understand it is, let's have the two points called A and B, where probes are connected in this video. For first half cycle, A = 5V, B = 0, and for half second cycle, A = 0V, B = 5V If we call A our "ground reference", A must always be considered 0V. This makes B look like -5V in the first half cycle (because B is ALWAYS 5V less than A in first half cycle. In the second half cycle, B is 5v higher than A, which makes it +look like 5V. So you effectively have B swinging from -5V to +5V, with respect to A. Why A? Because that's where the LCD COM pin was connected to!

  • @AndyHullMcPenguin

    @AndyHullMcPenguin

    6 жыл бұрын

    @Pratik, yours is by far the simplest explanation. The key is that we are always measuring *relative* to A. The chip's GND pin is completely irrelevant (except for the reason below). All our measurements are relative to A, nothing to do with GND. However the gotcha is.. if we use a non isolated power source, the moment we make the mistake of grounding Pin A, while trying to measure things with a grounded oscilloscope probe by attaching the croc clip to Pin A and the probe clip to B ... fzzzt..... there goes the magic smoke, 'cos we just shorted out Pin A to GND. If we have our circuit on a bread board, and powered by a battery, then we are OK, since everything has galvanic isolation from the oscilloscope ground, so by attaching the croc clip to A, the whole breadboard will float relative to the oscilloscope GND +/- whatever offset we have at Pin A , so we can get away with measuring the difference between A and B. Power the circuit from a mains power source, where 0V is not galvanically isolated from our oscilloscope and ... fzzzttt... we blow things up. Today's bed time reading.... en.wikipedia.org/wiki/Test_probe

  • @tzubin99
    @tzubin996 жыл бұрын

    Cool! I learn something new almost every video! Thanks Dave.

  • @alanesq1
    @alanesq16 жыл бұрын

    If you measure 5vdc with a multimeter then swap the probes over you will see -5vdc. This is basically what this circuit is doing - alternating between 5vdc and -5vdc resulting in 10v peak to peak.

  • @qwertyasdf66

    @qwertyasdf66

    6 жыл бұрын

    Yeah that's almost exactly how I was imagining it. But I was thinking of a 9v battery hooked directly up to a scope. Then simply flip the battery and now you have -9v.

  • @amojak

    @amojak

    6 жыл бұрын

    except it isn't. you are just using a multimeter to look at 5V that is swapping polarity . it never is or will be 10V .

  • @amojak

    @amojak

    6 жыл бұрын

    with the 9V example, you still only have 9V too

  • @SweatyHatMan

    @SweatyHatMan

    6 жыл бұрын

    amojak The claim here is it is 10V peak to peak. Which is exactly what it is doing... Vpp is the distance between the pos and neg peaks, not the value of the peak in reference to GND.

  • @henribondar3997
    @henribondar39976 жыл бұрын

    In common inverter technology, this technique is known as "full bridge" by comparison to the classical "half bridge" structure. It involves four switches and is equivalent to revert voltage and current in the load (then here alternating from +5V to -5V). However it is not usually called a voltage doubler as there is no way to obtain a 10V voltage relative to a common ground without using a storing capacitor somewhere. So voltage doubler: yes and no, everyone is right !

  • @kkkk0freak008

    @kkkk0freak008

    6 жыл бұрын

    Yout absolutly right! Sadly Dave didnt mentiond it.

  • @kkkk0freak008

    @kkkk0freak008

    6 жыл бұрын

    Oh dammed he does in the end of the vid as subtitles...

  • @henribondar3997

    @henribondar3997

    6 жыл бұрын

    Yes your right, however using the word doubler for such a circuit is technically incorrect, there is never a 10V applied to the LED device only alternately a +5V and a -5V but not a 10V voltage difference between the PIN of the LED has he falsely suggests by an inappropriate understanding of what he sees on the scope (a 10Vpp signal doesn't mean that a 10V is present at any time)

  • @BenjaminEsposti

    @BenjaminEsposti

    6 жыл бұрын

    Henri BONDAR, I agree, it's a bit confusing to some I'm sure, when you say "voltage doubling" ... it's not necessarily doubling the voltage, but doubling the possible excursion. (Remember that voltage potential is only relative.)

  • @willhelmx8388
    @willhelmx83886 жыл бұрын

    Nice explanation Dave, thumbs up for your channel

  • @PilotPlater
    @PilotPlater6 жыл бұрын

    I understood it on the first video, but good on ya Dave for helping the community!

  • @ranikeev
    @ranikeev6 жыл бұрын

    The same trick is used in car audio amps. Due to 12V power limit they use bridge sircuit to drive loudspeekers. So it is possible to get 24 volts on the output peak to peak.

  • @flubba86
    @flubba866 жыл бұрын

    I had the exact same thoughts and questions when I watched the last video. But I paused the video, thought about it for a while, rewatched dave's explanation, rewatched the scope example, looked at it from a different point of view, and suddenly it became clear. I thought I was just slow, I didn't realize others would actually call you out as wrong or misleading. Its like staring at an optical illusion for a while then suddenly seeing it clearly.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    To be fair to the doubters, I've learned how LCD driving works 40 years ago and I still found Dave's explanation confusing.

  • @gblargg

    @gblargg

    3 жыл бұрын

    @@PhoenixRevealed It is confusing. The output of the inverter is always +5V or -5V relative to the input. So feed a square wave and you get a +5V/-5V square between the input and output pins. Relative to the circuit ground it's another story, but if your device is floating this doesn't matter and it just sees a square wave going between +5V and -5V, for a total change of 10V each time.

  • @capt.k8577
    @capt.k85776 жыл бұрын

    thanks dave for another interesting and well explained video

  • @mcflapper7591
    @mcflapper75916 жыл бұрын

    Dave, honestly, this is the type of topic/video I love to see on eevblog. Same for the reference to your scope gnd ref video. These sometimes not so intuitive aspects are my preferred topic. I would subscribe to this chan again if there was such a thing. :) The key to this "mystery" is probably the reference to the inverted signal as the signal levels are switching simultaneously in opposite directions, effectively doubling the voltage (relative to the LCD and w/o gnd ref). And as you already mentioned in the last video, the LCD only wants to see the difference in potential on one pin relative to another. GND is irrelevant here. Thanks, again, and thumbs up!

  • @tomasz9517
    @tomasz95176 жыл бұрын

    at 5:53 You shoud not write -5 on the table, some folks could not understand it that way. I think the proper way will be draw an arrow down from 5v to 0v to show from where the magic negative voltage show up.

  • @MrPinolatino
    @MrPinolatino6 жыл бұрын

    You have great capacity of explain things! great teacher! thank you very much!

  • @DOOMDUDEMX
    @DOOMDUDEMX6 жыл бұрын

    The simplest way i can think of explaining this is by taking a battery and alternate between connecting it backwards and forwards between the probes. This is essentially exactly what the circuit is doing with the inverters.

  • @martinwinkelhofer7023
    @martinwinkelhofer70236 жыл бұрын

    Hi Dave, I've agreed with every video you've made ... until now. It's not voltage doubling. It's just alternating 5 V across the load one way and then the other way. Your explanation gives an impression that there will be 10 V across the load (between those 2 test points), but in reality, there's only 5 V potential at any given moment. It's just that the polarity changes. If you hook up the scope this way, you'll see what you see, I completely agree with that, because your reference is constantly changing. Another thought experiment: if we hook up 1k resistor between those 2 test poins, what will be the power loss on that resistor? I'm saying 25 mW (that's equal to constant 5 V across 1k (0 V on one end and 5 V on the other for 50 % of the time and then the opposite for another 50 % of time)), but according to your reasoning, you'll probably say 50 mW (which would be equal to constant 10 V from your "voltage doubler"). What is correct?

  • @waltercomunello121

    @waltercomunello121

    5 жыл бұрын

    Although it may be seen as trivial, in *P = V x I* the voltage is *the absolute value* of a given voltage in time. Either we do have electromotive force, or we don't. The absolute value of V across the load *never surpasses 5V* , be it in a direction or in the other, the load never gets a whole 10V emf because the reference (i.e. "no charges moving because there is no force") is right in the middle. I've got to say, this channel confuses me from here and there. Good thing I want to acquire solid basics of electronics. Unfortunately, I've yet to found them here.

  • @gblargg

    @gblargg

    3 жыл бұрын

    @@waltercomunello121 It will sound twice as loud if you drive a speaker. Something is being doubled. The waveform is jumping 10V between levels rather than just 5V.

  • @mikejones-vd3fg

    @mikejones-vd3fg

    Жыл бұрын

    @@gblargg hmm intersting, maybe because the speakers reference doesnt change it reproduces the full 10v swing as the cone moves in phsyical space, so although electronicially theres no doubling just an appearnce of it, phsyically you get the full efffect

  • @gblargg

    @gblargg

    Жыл бұрын

    @@mikejones-vd3fg It's similar to driving it with a 0 to 10V wave, in that you have 10V signal swings. But like the 5V case, it's only effectively continuously 5V since in the 0 to 10V case half the time it's at 0V.

  • @PenZon
    @PenZon6 жыл бұрын

    You could think it like this: You have the two square waves ,out of phase, each on its own 5vpp. If you change the reference point to be one of these square wave outputs, you have to re-draw the voltage waveform for your new reference point, i.e., flatten it. This new flat line represents your new 0v. And since you flattened one wave form and the voltage difference did not change, your other wave form will be amplified. And since we consider our first output as the 0v (let's call it pin A), we see the inverted output (pin B) flipping from +5v relative to it (logic drives A low and B high), to -5v relative to it (logic drives A high and B low), giving us a total of 10vpp.

  • @mikewillis1592
    @mikewillis15926 жыл бұрын

    I think the problem people have is tied to thinking about ground and common. Much easier just to think about pin 1 and pin 2. Then its relatively simple. Two alternating options, Pin 1 2 Option 1 = 0V 5V Option 2 = 5V 0V There is only ever 5V relative to ground, but the LCD is not connected to ground and doesn't know this. As far as the LCD is concerned its got a push-pull alternating 5V alternating signal across it. This is a 10V peak to peak. This is rather useful beyond driving LCDs. For example if you are driving a loudspeaker with a 12-14V supply like in a car. The peak voltage available is ~12V. If you were to drive the speaker with a single amplifier like a TDA2003, with one side of the coil connected to ground, you could only have maximum of 12V across the coil. That's 6V peak to peak AC or 4V RMS and with a typical 4 ohm speaker only 4W of audio power, not enough if you own a Landrover. If you instead drive the speaker with two amplifiers, in antiphase with the speaker coil between them, as in the LCD example, you have up to 24 volts available, 8V RMS and 16Watts. This is called a Bridge amplifier. There are more exotic solutions, to high power audio from 12V, that this was one of the most common before switching amplifier chips became commonplace.

  • @airmann90

    @airmann90

    6 жыл бұрын

    You made it click. Thanks!

  • @chriskaye1997
    @chriskaye19976 жыл бұрын

    Love the back to basics whiteboard approach :)

  • @ElmerFuddGun
    @ElmerFuddGun6 жыл бұрын

    Not "doubling" any more than 10 Vpp is "double" 5 Vp. 10 Vpp = 5 Vp which since this is a square wave can be easily seen equal to 5 VAC RMS. The power dissipated by a resistor powered by a 10 Vpp (=5 Vp) AC square wave will be the same as if it was powered by 5 VDC. This circuit does however double what you could get using just a single logic output (tied to a 2.5 V common to provide AC to protect the LCD) as you are going from 2.5 Vp to 5 Vp. (all assuming full swing 5V logic. TTL will be different of course).

  • @waltercomunello121

    @waltercomunello121

    5 жыл бұрын

    Good point. Power dissipation implies that voltage is taken as *absolute value* . Resistors are polarless passive components, they don't care which way charges flow (do they?). So in this case we should keep in mind that in *P = V I* V is *always 5* and not 10.

  • @mr.amp0076
    @mr.amp00766 жыл бұрын

    & also their is very less current flow in the two differential points.... If you think about total power p=vi then the current flow is less... For this type of screen it operates in electrical field & less current flow... Means you can also get higher villages.... Awesome explanation dave...

  • @Jedda73
    @Jedda736 жыл бұрын

    I guess a simple way to look at it would be measuring a 1.5V battery with a multimeter. Probed one way gives +1.5V and reversing the probes gives -1.5V. The total voltage difference possible is therefore 3V from a 1.5V battery.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    I challenge you to run a component requiring 3VDC from a 1.5V battery just by continually reversing the battery. Can't be done.

  • @philevans4021
    @philevans40216 жыл бұрын

    Thanks a lot for this. I was actually struggling to get my head round this properly, but now I understand it perfectly :-D

  • @vladomaimun
    @vladomaimun6 жыл бұрын

    Very well explained, thank you!

  • @station240
    @station2406 жыл бұрын

    Another way to look at it, is in terms of current flow. After all that is what makes it a negative voltage. A -> B +5V B -> A -5V You can also show this differential signal by measuring the current, say by adding a resistor in the circuit and measuring the voltage across it using the scope.

  • @12325833
    @123258336 жыл бұрын

    simplest explanation - just flipping battery terminals at some frequency

  • @lasersbee
    @lasersbee6 жыл бұрын

    Great explanation and clarification...

  • @mduvigneaud
    @mduvigneaud6 жыл бұрын

    Thumbs up! And I'll have to watch this again... I'm starting to get back into doing some hobby electronics design.

  • @patwicker1358
    @patwicker13586 жыл бұрын

    Thanks for clarifying, I was one of the ones who was confused. I believed you I just couldn't get the numbers to add up.

  • @yabgu79
    @yabgu796 жыл бұрын

    This should be studied in schools, after 10 years from graduating I saw this first time and this has to be something fundamental; It really changed how I look into circuits thanks really,

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    It is studied in schools. This is basically the exact same technique used in bridged amplifiers and H-Bridge drivers.

  • @yabgu79

    @yabgu79

    6 жыл бұрын

    I don't think H-Bridge drivers double its voltage and I dont think this circuit will hold even if we put 1mA load there; Most likely output will become 5V with minimum amount of load. Seems like this is very special edge case to me,

  • @AppliedCryogenics
    @AppliedCryogenics6 жыл бұрын

    Dave, the way that really gelled it for me was the idea of driving a Piezo element with one gpio pin vs2. I think that's a pretty bare-bones example of what you're trying to demonstrate.

  • @Arnthorg
    @Arnthorg6 жыл бұрын

    its like connecting the leads backwards and then correctly again and again

  • @ovalwingnut
    @ovalwingnut4 жыл бұрын

    Back for a 2nd suck of the salve.... It's that good and clearly I'm slow. Thank you Ausi-Man

  • @HectorDC02
    @HectorDC026 жыл бұрын

    wooow this is a very crazy thing, thanks Dave

  • @mata7648
    @mata76486 жыл бұрын

    Took me a while to grasp when I first used a differential op-amp.

  • @axelbostrom3606
    @axelbostrom36066 жыл бұрын

    Took me a while to get it, but the current is changing direction and that's how you get it. First you have flow one way that we call positive, and then you have flow the other way and we get negative voltage.

  • @Anton-hz4ev
    @Anton-hz4ev6 жыл бұрын

    Hey Dave, i think the explanation makes now much more sense than before. By the way, i tried to use the coupon from the task description but got the message coupon expired :/ would you mind to check if there is a typo or something else going on? Thanks in advanced and good job with LCD series, I find it very interesting and fascinating to gain a bit of your insight ^^ Kind regards Anton

  • @TheTruthSentMe
    @TheTruthSentMe6 жыл бұрын

    How about this explanation?: Vpp is NOT A VOLTAGE. A voltage is the difference of two potentials AT THE SAME POINT IN TIME. That is not how Vpp is measured though. Vpp describes a time-dependent signal and is the difference of the highest and lowest amplitude regardless of where those appear in time.

  • @Djhg2000

    @Djhg2000

    6 жыл бұрын

    +TheTruthSentMe Vpp is definitely a voltage. Ever heard of VAC?

  • @TheTruthSentMe

    @TheTruthSentMe

    6 жыл бұрын

    The unit is volts, but it's not a voltage. At no POINT in time you can measure that. It's a characteristic of a signal. For the same reason I don't consider VAC a voltage. It's a RMS value of a voltage.

  • @Djhg2000

    @Djhg2000

    6 жыл бұрын

    +TheTruthSentMe Voltage is *always* a difference, either with respect to another point in DC or with respect to time in AC.

  • @TheTruthSentMe

    @TheTruthSentMe

    6 жыл бұрын

    "Voltage is always a difference" Yes. "either with respect to another point in DC or with respect to time in AC" No. You don't understand the difference between a voltage and a signal. What you call DC is a voltage. There is no AC voltage if you take it literally. There are AC signals where every point in time corresponds to a voltage. You can come up with ways to describe the AC signal in quantities that have the unit volts. That doesn't make them a voltage though. A voltage can only ever be the momentary value of the difference of two electrical potentials. Therefor you cannot call v(t1)-v(t2) a voltage where v(t) is a signal and t1 and t2 are points in time.

  • @Djhg2000

    @Djhg2000

    6 жыл бұрын

    +TheTruthSentMe AC can be used for power delivery as well and you seem to be stuck in the world of DC.

  • @indrekardel4263
    @indrekardel42636 жыл бұрын

    I understood it better when inspecting the circuit with falstad.com/circuit, which showed that it is the same as if someone repeatedly swapped the polarity between the SEG and COM by swapping the leads of 0V and +5V at those points and that the direction just changes. I thought I understood it from the original video, but this video proved me wrong as I did not understand your explanations from this one. After investigating it myself, now I get why it works and can see that actually your explanations make sense too, thanks!

  • @henribondar3997
    @henribondar39976 жыл бұрын

    To confirm previous comments such as philips miller one below, Dave is wrong on that one, there is never a 10V voltage difference applied to the LED PINs only alternately +5V and -5V. This circuit can be called an inverter but surely not a voltage doubler !

  • @Ma_X64
    @Ma_X642 жыл бұрын

    I used this method to drive a piezo-buzzer directly from MCU. Just using two output pins that worked complementary. It's just an equivalent of an H-bridge cirquit. It not doubles your voltage but it doubles the amount of work that current does because instead of "working/not working" cycle it's doing "working forward/working backward" cycle.

  • @TheBdd4
    @TheBdd46 жыл бұрын

    It works! I just simulated it with LTSpiceXVII. Input signal = 5 volts at 1KHz, outputs labeled A and B, 10 V P-P displayed by taking V(A) - V(B) which displays as 10V P-P at 1KHz.

  • @djbare9
    @djbare96 жыл бұрын

    I've used this technique to produce 9 volts from a 5 volt supply, very useful for circuit setups that require duel voltage but you don't want to add two battery types, in my case I was running from a 5 volt usb battery pack normally used for smartphones.

  • @PhoenixRevealed
    @PhoenixRevealed6 жыл бұрын

    I think you are missing the simplest way to explain what is happening when driving LCD segments. If you think instead of driving a DC motor with an H bridge... that is EXACTLY what is happening when driving LCD segments. The same differential drive trick can be used with VFD display heaters to prevent one end of the display being brighter than the other due to gradual voltage drop over the length of the heater (this technique makes the AVERAGE voltage the same the entire length of the heater). By switching both ends out of phase of any component between earth and Vcc (for instance) from the perspective of that component you are driving it alternately with Vcc and -Vcc, or in other words, an AC signal of 2x Vcc peak to peak.

  • @BenjaminEsposti

    @BenjaminEsposti

    6 жыл бұрын

    Yup, this is just like some audio amps that do the same thing to get more power from the same voltage supply rails. Just add another amp, with inverted signal, and presto!

  • @Shawn_White
    @Shawn_White6 жыл бұрын

    watched this at 1:00AM before going to bed had to run down to the shop right quick to test it and I'll be damn it actually works. Still can't quite wrap my head around it so I'll give it another go tomorrow.

  • @deBug67

    @deBug67

    6 жыл бұрын

    You cant wrap your head around it because Dave got it wrong.

  • @Shawn_White

    @Shawn_White

    6 жыл бұрын

    nope it actually worked just can't wrap my head around why. I also put kapton tape around the earth pin on my scope power cable since I'm only dealing with low voltages. This means I don't need any differential probes.

  • @zer0b0t
    @zer0b0t6 жыл бұрын

    Or simply invert the probes in a multimeter or oscilloscope and then you get a negative or positive voltage, the difference between both voltages is double the voltage you are measuring.

  • @SFefy
    @SFefy6 жыл бұрын

    I think the simplest explanation is the following: when you measure the voltage with the correct polarity red (+) black(-) the scope shows +5V. When you put in some inverter into the circuit the polarity is swapping so red(-) and black(+). This case the scope shows -5V. Technically the scope (or DMM) just "substracts the voltage levels from red wire and black wire". With correct polarity: red(+5V)-black(0V)=+5V, the inverted polarity: red(0V)-black(+5V)=-5V

  • @TheBdd4
    @TheBdd46 жыл бұрын

    By the way, nice move Dave, all this chatter has occurred while you sneakily ( kudos to you) introduced your differential probe.

  • @lalmuanpuiamizo
    @lalmuanpuiamizo6 жыл бұрын

    Thank you, very clear now

  • @sunebrian1423
    @sunebrian14236 жыл бұрын

    I suggest clarify some of the notations in the previous video, which are the voltage referencing points in the circuit i.e. the LCD.

  • @QuantumFluxable
    @QuantumFluxable6 жыл бұрын

    I think a good analogy would be someone driving between three cities A, B, and C: A and C both have a distance of 50 km from B and all cities lie in a straight line on the map. If you were to drive from A to C with a short break in B, an observer in city B would never see you move further than 50 km from B, but an observer at C would see you move up to 100 km away from their location. A represents +5V, B is circuit ground, C represents -5V and the observer is the oscilloscope ground. The person driving from city to city is the output voltage of your circuit. While this isn't completely accurate it might help to illustrate your point.

  • @unlost117
    @unlost1176 жыл бұрын

    Dave, I dont see your previous video linked in like you said it would be in the first few seconds of this vid. Plonk it here some where? Cheers

  • @uzaiyaro
    @uzaiyaro5 жыл бұрын

    I’m really interested in that diff probe. Any reviews or videos on it explaining what it’s useful for and whatnot? I’m looking to probe around switchmode power supplies, especially measuring their noise and power quality etc. Would this fit the bill in not blowing my lowly USB oscilloscope (or the computer attached to it) to high heaven, or do I need an isolated probe instead? I want to do this safely and with minimal or no risk of letting the smoke out of anything, and I’m happy to pay for that safety. That said. Any videos on this? Cheers!

  • @zanekaminski
    @zanekaminski6 жыл бұрын

    It’s the same thing as wiring up a 240V circuit (at least in the US. I don’t know how it’s done in other countries.) Two hot wires come into a building, each carrying 120V RMS AC. The two wires are called A and B and are 180 degrees out of phase, that is A = -B. For regular 120V outlets, you only connect one of the hot wires, and then the neutral provides the return. For a 240V outlet, such as the one used by your air conditioner or dryer, you use the A and B phase in conjunction. Although both are only 120V RMS, the difference is 240V, as expected.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    No, it's not the same thing. What you are describing is more akin to the output of a center-tapped transformer, with "neutral" coming into your home being the center tap. There is no "center" here, and no way to get 10V AC, no matter how you connect it up.

  • @power-max
    @power-max6 жыл бұрын

    I exploited this phenomenon when I was like young (like, 13) using 3 position DPDT switches and wiring them up in a way that I could apply power to a motor and reverse polarity. I think I also did some stuff with voltage doubling too, but might have been later on.

  • @zwerko
    @zwerko6 жыл бұрын

    It's exactly the same as with multi-phase AC - two 220V lines can give 380V because they are phased by 120° from one another. You can look at this situation as integrated two-phase AC with phases removed by 180° from each other.

  • @EE_fun
    @EE_fun6 жыл бұрын

    Well this is something that you learn in first class at university in EE. It's so basic and fundamental like Ohms law is. Maybe this would get more clear, if you show it with a multimeter on a positive and negative DC voltage. You can easily demonstrate this by measuring the 5V rail against the -5V rail of your PC supply and you will read 10V on your meter. Voltage is the difference of potential: V = phi1 - phi2. 5V - (-5V) = 5V + 5V = 10V

  • @scottb721
    @scottb7216 жыл бұрын

    From the point of view of the input the output is either 5v higher or 5v lower regardless of what the input actually is. If the input is set to the zero line on the scope the output will swing between 5v higher (+5v) to 5v lower (-5v)

  • @yngvenystrand167
    @yngvenystrand1676 жыл бұрын

    Many comments here... maybe somebody already suggested this... but here goes: It might help to understand what Dave explained if the whole circuit with power supply, square wave source and all is floated, that is, all GND connections removed, so that there would be no "natural" reference point anymore. Then connect the GND to one of the legs of the LCD, and connect the scope to the other LCD leg, and the scope GND to the new circuit GND. The scope would then show 10 Vpp (varying between -5V and +5V), which still is 5Vrms. You wouldn't do like this in practice of course, but only "in your mind", to help visualize the whole thing. Not sure if this really helps though......

  • @charlesdorval394
    @charlesdorval3946 жыл бұрын

    Thanks for the explanation, very nice! Yeah, thought it was h-bridge-ish :P

  • @douggale5962
    @douggale59626 жыл бұрын

    5 - (-5) = 5 + 5 = 10. Easy.

  • @railspony
    @railspony6 жыл бұрын

    Perhaps useful in explaining it would be to add 2 diodes and 2 capacitors to make it into a charge pump and get ~10V DC output. Your circuit in the video is the same thing, just without the storage. Lots of ICs have the circuit built in.

  • @ChristopherLionRoars
    @ChristopherLionRoars6 жыл бұрын

    There is never actually 10v across the inputs at any time. Its either 5 or -5. But it results in 10ptp ac.

  • @flubba86

    @flubba86

    6 жыл бұрын

    correct, that is a really good way of explaining it. thanks.

  • @willyarma_uk

    @willyarma_uk

    6 жыл бұрын

    I said similar in a seperate comment, if youtube comments had been working I would have seen this earlier. I said there is never more than 5V difference at any given instant.

  • @gotj

    @gotj

    6 жыл бұрын

    Just like the AC at the wall plug.

  • @MarkTillotson

    @MarkTillotson

    6 жыл бұрын

    Another way to put it (which will confuse even more?) is that the original single-ended signal has an AC amplitude (and rms value) of 2.5V, whereas the differential signal has an AC amplitude/rms of 5V. For a square wave amplitude=rms. (And the DC component of the single ended signal also has an rms voltage of 2.5V as it happens, making total rms of 3.56V (2.5 x sqrt(2)), but that's going to confuse even more!) Yet another way to think about it is power into a load of fixed resistance - the original single-ended 5V square-wave signal puts 0.125W into a 100 ohm load (half of which is DC component, half AC component), whereas the differential signal puts 0.25W into 100 ohms load, 4 times the AC power from the single-ended signal).

  • @BenjaminEsposti
    @BenjaminEsposti6 жыл бұрын

    This is how some audio amps get more power from a lower supply voltage. Instead of one speaker terminal being connected to ground, it is connected to the output of another amplifier that is set up to have an inverted signal output. So instead of being able to supply + or - 20V to the speaker, it an supply + or - 40V! (And more voltage across a given impedance means more current, and thus more power!)

  • @nullunit5566
    @nullunit55666 жыл бұрын

    Just imagine a LEGO block that represents 5 volts of potential. The LEGO block can't grow or shrink, but it can flip in polarity (position). So if Common is our 'base', then the 5 volt LEGO just moves above the 'base' line and below the 'base' line as the phase transitions occur. Hope that helps to visualize what is happening. Cheers.

  • @erikdenhouter
    @erikdenhouter4 жыл бұрын

    My way to say what I think I know : * take an oscilloscope. * Put it on DC, with the 0V nicely set in the middle. * Connect a 9V battery to the input, the line goes up 9V. * Disconnect the battery, the line returns to 0. * Reverse the polarity of the battery. * Connect the 9V battery to the input, the line goes down 9V. * Difference between upper- and lower line is 18V. What I missed was the connection of a resistor and a capacitor that would be charged to the 10V DC. That must be possible and convincing ?

  • @gotj
    @gotj6 жыл бұрын

    You can explain that with a DMM and a simple analogy with the AC at the wall plug.

  • @muffenme
    @muffenme6 жыл бұрын

    I used Circuit Simulator v1.6i and made two same circuit using inverters. I connected the + terminal to the but half of the inverter. On the other side I connected the but half of the 2nd inverter. I then added a resistor between the but half and other side of 2nd inverter. messure the voltage across the resistor and you get +5v. Removing the + terminal on the but half of the first inverter and now it reads -5v. I wish I could post an image on KZread because I don't anyone can understand what I just wrote.

  • @cameronsteel6147
    @cameronsteel61476 жыл бұрын

    Hi, I'm from the Department of Redundancy Department

  • @cameronsteel6147

    @cameronsteel6147

    6 жыл бұрын

    Adamus Alpha (Adam) Haha yeah for some reason I’ve really been noticing “LCD Display” a lot recently 😂

  • @skeggjoldgunnr3167

    @skeggjoldgunnr3167

    6 жыл бұрын

    VIN number = Vehicle Identification Number Number. okay. Yet, everyone says it. I bother them about what they just said - every time.

  • @2oqp577
    @2oqp5776 жыл бұрын

    The point is that using terms involved with AC don't go very well with DC. It is not understood by most amateurs that there is never more than 5Vdc at any given moment.

  • @avilik
    @avilik6 жыл бұрын

    We can get +1.5V and -1.5V with alternating leads of one AA cell. We need two cells to have positive and negative rail at the same time.

  • @Premblogsy
    @Premblogsy6 жыл бұрын

    Good circuit !!

  • @2oqp577
    @2oqp5776 жыл бұрын

    The point is that Dave doesn't make sure people don't start to believe that there is a measurable 10V drop between two points at any given time. I thought this would have been very important to point out, albeit countless cues. teaching is a tough job.

  • @Brutikus32
    @Brutikus326 жыл бұрын

    Would this be similar to measuring a voltage and getting 5V and then reversing the leads and getting a measurement of -5V?

  • @gamerpaddy

    @gamerpaddy

    6 жыл бұрын

    yup

  • @logik100.0
    @logik100.06 жыл бұрын

    Thanks, I learnt something :)

  • @frankpiscopo
    @frankpiscopo6 жыл бұрын

    To get your head around this, consider the simple logical inverter fed with a 1Hz square wave signal. Connect a ±5Vdc center-zero DC voltmeter as follows: 1) meter -ve to "0V" and meter +ve to the inverter output. It's obvious that the meter will swing from center-zero (inverter output low) to +5V (inverter output high). That's a 1Hz 5Vpp square wave. 2) move meter -ve to the inverter input. It's obvious that the meter will swing from -5V (inverter input high, output low) to +5V (inverter input low, output high). That's a 1Hz 10Vpp square wave. That's it. Between circuit ground and the inverter output, you have 5Vpp. Between the inverter input and the inverter output, you have 10Vpp.

  • @markg735
    @markg7356 жыл бұрын

    Another way to think about this is to read up on a "flying capacitor" circuit. You can actually think of the capacitance of the LCD as the capacitor in a flying capacitor power supply.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    Huh? The minuscule capacitance across the LCD segments is too small to have any appreciable effect at 100Hz. You are overthinking this. All this circuit does is continuously reverse the polarity of the 5V supplied to the LCD from the supply rails.

  • @alanclarke4646
    @alanclarke46463 жыл бұрын

    Put a piezzo buzzer from 2nd inverter output to ground. Then put it across the inverter and notice how much louder it is.

  • @Psi105
    @Psi1056 жыл бұрын

    You can demonstrate this with sound. Drive a raw piezo beeper or speaker connected between ground and 5V GPIO = medium volume. versus, Driving it between two GPIO that are alternating out of phase = Loud. The piezo mechanically moves X distance negative then back to ground. versus Moving X distance negative then X distance positive = A total 2 * x movement

  • @KyleRepinski
    @KyleRepinski6 жыл бұрын

    The video was confusing to me even though I actually understood what was going on. The oscilloscope demo might've been easier to picture if channels 1 and 2 (blue and yellow) were overlaid instead, forming two solid lines across the screen with alternating colors. "The difference from blue to yellow is always 5V. It's like measuring a battery's voltage with a multimeter and swapping the probes around (then demo that too)."

  • @ceneblock
    @ceneblock6 жыл бұрын

    What was confusing tome at first is your initial diagram. The "diff" should have started at -5 instead of +5v Once I figured that out, then it fell into place.

  • @willishendley8924
    @willishendley89246 жыл бұрын

    I think your two input waveforms to the math function highlight that the only way this makes sense is that the “reference” voltage is actually dynamically changing between 0V and 5V, which of course is irrelevant to the differential probe (and LCD apparently).

  • @JohnAudioTech
    @JohnAudioTech6 жыл бұрын

    Using a couple LEDs connected anti-parallel to the outputs of two gates swapping low and high would also be a good demonstration of the current reversing in the circuit giving the 10vpp

  • @fabimre

    @fabimre

    6 жыл бұрын

    JohnAudioTech : that only works with totempole output, not with open collector. You'd create a H bridge!

  • @amojak

    @amojak

    6 жыл бұрын

    these devices are totempole output. the differential voltage will only ever be 5V. it in this config cannot be anything else. which is +5V and which is gnd just alternates.

  • @fabimre

    @fabimre

    6 жыл бұрын

    amojak, wrong. The peak to peak voltage is 10 volts, while the effective (RMS) value is 5 V (square wave). The swing of the segment is +/- 5 V. If you would rectify both sides and measure across these rectified sides, effectively making one these sides reference, you WOULD measure 10 V!

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    "If you would rectify both sides and measure across these rectified sides, effectively making one these sides reference, you WOULD measure 10 V" NO YOU WOULD NOT!!!! For crying out loud, why do people keep promoting this idea? The voltage across the LCD segment when enabled is NEVER 10V, it is 5VAC. If you rectify and filter the 12VAC output of a transformer you don't get 34VDC (24 x 1.414)... you get SEVENTEEN VOLTS DC (12 x 1.414). If you don't believe me then build a simple circuit and prove it to yourself rather than just make erroneous prediction of what you THINK would happen.

  • @SuperSSSSooonniicccc

    @SuperSSSSooonniicccc

    6 жыл бұрын

    10 Vpp, not rms Martin Green. To use your transformer example, it would be 34 Vpp, not rms. At least, according to my full-bridge regulator and capacitive filter I made in Multsim it is. This is only possible when using a differential probe between the positive and negative sides of the transformer, not when only measuring the positive side with reference to ground, as seen with my standalone probe to the right of the differential probe. goo.gl/mR4cyo

  • @MellexLabs
    @MellexLabs6 жыл бұрын

    Perfect explanation... I understood it already... it's like generating a 10V square wave A.C. signal... which is very cool that you can do that with 5V logic. How would you measure the current on this circuit?

  • @mcuembedded

    @mcuembedded

    6 жыл бұрын

    Whatever the IC draws from the 5V supply rail is what the circuit actually consumes. :)

  • @MellexLabs

    @MellexLabs

    6 жыл бұрын

    Pratik Panda. I agree however the vagueness that I am trying to clear up is if you measure the differential voltage cross 2 points and you get 10Vpp does the same apply to the current? Let's say the circuit draws 10mA will I get 20mA pp? So I am wondering how would you measure the current with differential probes... would I need to use a resistor somehow and measure the voltage drop and then use ohms law to work out the current? So many questions...

  • @sarowie

    @sarowie

    6 жыл бұрын

    good trick question. 10Vpp square wave is 5V effective. I did need a few moments to get the theory straight in my head.

  • @Keeze68
    @Keeze686 жыл бұрын

    So, you are using some kind of virtual ground, just like in many battery operated headphone amps..?

  • @ipr724
    @ipr7246 жыл бұрын

    Is it possible to cascade these circuits in order to get a multiple stage voltage multiplier?

  • @pohsinhee3076
    @pohsinhee30766 жыл бұрын

    HI eevblog Dave Jones . I would like you to put a load test at the 10 volt to check the current Time Domain with respect to the 5 volt. to dissolve this mystery. thanks

  • @shakaibsafvi97
    @shakaibsafvi976 жыл бұрын

    Oh... Just use a dpdt toggle switch hooked on to a single 5V power source and connect the oscilloscope...

  • @BC3012

    @BC3012

    6 жыл бұрын

    Shakaib Safvi my dude 👏

  • @manickn6819
    @manickn68196 жыл бұрын

    Made sense last video but I still watched this one. I know you tried Dave but for those who did not understand I am not sure you could convince them with this video. Either you see it or you don't.

  • @EEVblog

    @EEVblog

    6 жыл бұрын

    Yeah, probably.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    To be fair Dave, I learned how this works about 40 years ago, and I have to humbly say that both your explanations were clear as mud. Sorry mate.

  • @Daveyk021
    @Daveyk0216 жыл бұрын

    Do you own stock in Excederine headache pills? I now understand your explanation which goes against all my normal logical thinking and training. I really now want a differential scope probe but would not use it in my day to day work. It's 10:1 but wouldn't an amplified differential probe be more useful ?

  • @10100rsn
    @10100rsn6 жыл бұрын

    I thought this was magic at first but using the outputs of the two inverting gates are like using an H bridge to drive the output. You have 5 volts output on gate A and ground output on gate B but when you invert the gate signal you have ground output on gate A and 5 volts output on gate B effectively reversing the polarity, and that is where the 10Vpk-pk comes from. Peak-to-peak (pk-pk) is the difference between the maximum positive and the maximum negative (also known as trough) amplitudes of a waveform. So its not actually 10 volts but it is _10 volts peak-to-peak_, as the formula; (PeakVoltage - TroughVoltage) = (5 - -5) = (5 + 5) = 10Vpk-pk. It all works out. ;)

  • @DarianCabot
    @DarianCabot6 жыл бұрын

    @EEVblog The "bargainprobe" coupon code for differential probe has expired?

  • @EEVblog

    @EEVblog

    6 жыл бұрын

    Fixed.

  • @notamouse5630
    @notamouse56306 жыл бұрын

    Not relative to anything is also not true, each is relative to the other signal, so choose your point of reference arbitrarily between the two options. The good way to think of this is as a Fourier series. A 0-5v square wave is 2.5v dc + sum of all the components in a zero biased square wave of 5 Vpp. Thus when you take the difference between two of them 180 out of phase, the dc cancels, and the one adds the negative of the other to get double the AC voltage with no DC bias assuming perfect inputs.

  • @andreweastland9634
    @andreweastland96346 жыл бұрын

    Think of 2 cars driving along a road at 5mph, if they are going in opposite directions they pass at 10mph.

  • @VladimirNicolici

    @VladimirNicolici

    6 жыл бұрын

    Except, for the analogy to be equivalent, both cars can't move at the same time. When one moves at 5mph the other stops. Then the other moves in the opposite direction, and the first one stops. And so on. So they can't pass each other at more than 5mph, so Dave is wrong. Yes, the potential peaks in his example have a 10V difference between them. But obviously the peaks don't happen at the same time, so that's irrelevant. If you want a better analogy, in my country we have alternating current at 230V. However, in reality, the voltage oscillates on a sinusoidal curve between -325V and +325V. 230V is just the average of the absolute value of the voltage. If I used "Dave logic" I could say my wall socket has 325+325=650V, because that's the potential difference between the two peaks. Obviously, my wall socket doesn't have 650V, so Dave is wrong.

  • @bbreeuwer4577
    @bbreeuwer45776 жыл бұрын

    @EEVblog Maybe it's wise to explain that the current is going to be much bigger (or impedance much lower), since you're working with the power of two.

  • @PhoenixRevealed

    @PhoenixRevealed

    6 жыл бұрын

    Current is negligible when driving LCDs. Drive frequency is kept to about 100Hz so switching and capacitive losses can also be ignored. For all intents and purposes, LCDs are infinite resistances with zero load. That's why batteries in LCD watches last their full shelf life even while the clock runs with the display on the whole time.

Келесі