Author Topic: EEVblog #1046 - Mysterious Digital Voltage Doubling  (Read 9296 times)

0 Members and 1 Guest are viewing this topic.

Online PsiTopic starter

  • Super Contributor
  • ***
  • Posts: 9943
  • Country: nz
EEVblog #1046 - Mysterious Digital Voltage Doubling
« on: December 09, 2017, 01:16:40 am »
You can demonstrate this with sound using a speaker or piezo
If you drive it with GPIO to GND vs between two GPIOs.

You get more physical movement and more sound driving between two GPIOs out of phase than one GPIO to ground

You're basically 'reference jacking'
Picking the right moment by timing or by design to change how you apply voltage and its reference in order to get a larger overall effect at the output.
Like measuring a battery around the other way and seeing a negative voltage.
« Last Edit: December 09, 2017, 01:20:25 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11882
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #1 on: December 09, 2017, 03:08:24 am »
@Dave: The coupon code for the differential probe mentioned in the video doesn't seem to work on the EEVBlog shop. It says "This coupon has expired." ? Is that correct?
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #2 on: December 09, 2017, 04:55:15 am »
Ian, the code worked OK for me — no spaces between words.
TEA is the way. | TEA Time channel
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11882
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #3 on: December 09, 2017, 05:28:02 am »
Yes, it works now. There may have been a time delay before it was active.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #4 on: December 09, 2017, 05:32:32 am »
Ah! Just a little Gear Acquisition Syndrome making for an itchy mouse finger. ;D

The probe works great. I got mine earlier this year and the 1/10 mode makes it as convenient as a passive probe.

Happy probing!
TEA is the way. | TEA Time channel
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37738
  • Country: au
    • EEVblog
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #5 on: December 09, 2017, 05:43:22 am »
@Dave: The coupon code for the differential probe mentioned in the video doesn't seem to work on the EEVBlog shop. It says "This coupon has expired." ? Is that correct?

Fixed now.
 

Offline jstuart

  • Newbie
  • Posts: 6
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #6 on: December 09, 2017, 05:48:54 am »
It's not a digital phenomenon.



What is the peak voltage across the cap? And what's the peak voltage across the diode?

If you think they're the same then welcome to the smoking diode club. Been there, done that, o yeah. Maybe you should build it and see. Be sure to use floating probes. Or buy one of Dave's diff probes.




 

Offline jstuart

  • Newbie
  • Posts: 6
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #7 on: December 09, 2017, 05:50:54 am »
[edit]Nevermind.[/edit]
« Last Edit: December 09, 2017, 05:53:00 am by jstuart »
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #8 on: December 09, 2017, 08:45:11 am »
I think the tern "voltage doubling" confuses many of the people.

Just use a battery and couple of relays to  build an h bridge. :D :D :D

Alexander.
Become a realist, stay a dreamer.

 

Offline chriswebb

  • Supporter
  • ****
  • Posts: 143
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #9 on: December 09, 2017, 09:16:01 am »
If I am understanding it correctly mathematically you are doing f(x) = x - NOT x  which can be simplified as f(x) = 2x where x is channel 1 and NOT x is channel 2. And because your differential probe is floating you dont see the dc bias with respect to ground. Does that make sense?

edit: Frequency wise there is a 360 degree phase shift from the double inversion and the two signals are added to get 10 Vpp
« Last Edit: December 09, 2017, 09:21:32 am by chriswebb »
Always learning. The greatest part of life is that there will always be more to learn.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #10 on: December 09, 2017, 10:10:37 am »
I think pouinting out that it is a full H bridge might help people to understand. you get to have negative voltages without a negative supply at the expense of floating the load. Widely used in controlling brushed motors and the basis of VFD's in the form of 3x 1/2 H bridges.
 

Offline OzOnE

  • Regular Contributor
  • *
  • Posts: 55
  • Country: gb
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #11 on: December 09, 2017, 12:33:38 pm »
I tend to agree - this video was quite confusing, and I've been working on / designing / repairing electronics for 25 years now.

The video isn't so much "wrong" in what it says or demonstrates, but it completely threw me off, because of the term "voltage doubling".
It's not really a "voltage doubler" circuit in any real sense, and there will only ever 5 Volts across the LCD segment(s) at any given time.


This and me second-guessing myself for about half an hour. lol
I thought I'd missed something over the years, and had to test it for myself...

https://imgur.com/a/Wm0tH

Sure enough, yes, the o'scope will show 10 Volts P-P across the NOT gate, but that's only PEAK-TO-PEAK, which means that the only reason the o'scope appears to show the apparent doubling of the voltage is due to where it's reference point is set at "0V".

Plus, obviously the 'scope is designed to show negative voltages that swing below that 0V reference level, and that's what you would see when the signal across the NOT gate switches polarity.


I don't think the video explained clearly that there is not a "real" doubling of the voltage, as the signal only goes positive and negative with respect to the reference point on the 'scope, and doesn't actually create twice the voltage across the LCD (or any other load) in the circuit itself.


Granted, it was partly my own brain fart as well, but it appears that lots of people on the video comments are very confused by this too.

I even had to grab a cup of coffee and bacon sandwich before I finally realised that my original assumption was correct. lol


Quote from the vid at 1:21 (not gigawatts, sadly)...

"We do actually get 10 Volts peak-to-peak ACROSS this LCD for a 5-Volt supply. So it is actually really voltage doubling..."


I think statements like the one above are what's causing most of the confusion (and the video title).

Yes, the P-P voltage is effectively doubled, but the "voltage doubling" phrase makes it sound like there would be a true 10 Volts across the LCD segment.


OzOnE.
 

Offline OzOnE

  • Regular Contributor
  • *
  • Posts: 55
  • Country: gb
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #12 on: December 09, 2017, 12:37:14 pm »
I think a good way to really show what's going on is to just hook up a 9 Volt battery to the scope probe, then show what happens when the polarity is reversed.

That would explain why the trace on the o'scope goes below the 0V reference point, and why it's called a Peak-to-Peak measurement.


I was even trying to think of how the apparent "doubling" of the voltage could be down to stored capacitance, so the reference point would change if the signal was toggling fast enough. But yeah, that doesn't really come into it at all in this case.


You fried my brain, Dave. lol

OzOnE.
 

Offline Peabody

  • Super Contributor
  • ***
  • Posts: 2005
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #13 on: December 09, 2017, 03:29:23 pm »
Well I'm going to defend the "actual voltage doubling".  From the point of view of the LCD display, you go from SEG1 being +5V with respect to COM, to SEG1 being -5V with respect to COM.  That's a 10V swing - a real 10V swing.  You get the same kind of thing at every capacitor in a Dickson charge pump stage - the references are floating.
 
 

Offline retrolefty

  • Super Contributor
  • ***
  • Posts: 1648
  • Country: us
  • measurement changes behavior
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #14 on: December 09, 2017, 03:34:04 pm »
Well I'm going to defend the "actual voltage doubling".  From the point of view of the LCD display, you go from SEG1 being +5V with respect to COM, to SEG1 being -5V with respect to COM.  That's a 10V swing - a real 10V swing.  You get the same kind of thing at every capacitor in a Dickson charge pump stage - the references are floating.
 

 There is no "10V swing" at any given point in time. This is just like and same effect as passing a 5vdc square wave through a series capacitor.

 

Offline bw2341

  • Regular Contributor
  • *
  • Posts: 160
  • Country: ca
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #15 on: December 09, 2017, 03:47:50 pm »
I'm not sure if all my terminology is correct, but here's my take on it:

Let's compare the three different cases with a 5V digital drive:
1. DC drive (5V)
2. Unipolar square-wave AC drive (0V and 5V)
3. Bipolar square-wave AC drive (-5V and 5V)

We need to figure out the RMS voltage in each case. This way, we can directly compare the drive methods.

For DC, "Vrms" equals 5V by definition.

For unipolar, Vrms=5V*sqrt(0.5)=3.54V. Just think of it as connecting and disconnecting a battery at 50% duty cycle. You can only deliver half the power compared to a constant DC supply. Since V=sqrt(P*R), halving the power requires sqrt(0.5) of the voltage.

For bipolar, Vrms=5V. If you're swapping the polarity of a battery, it still connected (almost) all the time. You're delivering the same power as a constant DC supply.

There's no magical doubling of anything as Vrms will never exceed the original 5V. You're just maximizing the effectiveness of the drive method.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #16 on: December 09, 2017, 04:51:56 pm »
Well I'm going to defend the "actual voltage doubling".  From the point of view of the LCD display, you go from SEG1 being +5V with respect to COM, to SEG1 being -5V with respect to COM.  That's a 10V swing - a real 10V swing.  You get the same kind of thing at every capacitor in a Dickson charge pump stage - the references are floating.
 

 There is no "10V swing" at any given point in time. This is just like and same effect as passing a 5vdc square wave through a series capacitor.



Completely and utterly wrong, you completely miss the point, if you put 5V DC pulses through a series capacitor you will gety +/-2.5V and 5V peak to peak. A full H bridge does indeed produce negative pulses as much as it does positive ones, that is the whole point of it.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11882
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #17 on: December 09, 2017, 05:10:37 pm »
The way to settle this would be to rectify the pulses and use them to charge up a reservoir capacitor. If the capacitor settles out at 10 V DC it would be more convincing than doing math on an oscilloscope.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #18 on: December 09, 2017, 05:12:49 pm »
oh for Christs sake, I can't believe something so simple is causing so much confusion. Hasn't anyone use H bridges ?
 
The following users thanked this post: newbrain

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11882
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #19 on: December 09, 2017, 05:15:49 pm »
LOL  ;D

It's not confusion, it's healthy skepticism. If you want to convince people of something strange you have to present strong evidence.

The issue here is that there are no points in the circuit that have a potential difference of 10 V at the same time. If you put a voltmeter on the circuit there is nowhere you can measure 10 V. So it is reasonable to say that 10 V doesn't exist.
 
The following users thanked this post: OzOnE

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #20 on: December 09, 2017, 05:18:53 pm »
... then welcome to the smoking diode club.

Sounds like a dive bar.

Sounds like my kind of dive bar.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #21 on: December 09, 2017, 05:19:21 pm »
No 10V dose not exist, 10Vpp on an AC supply exists, it's the same as saying that the mains in the UK is around 620Vpp (2x240x1.414). The swing is 10V, now if you rectified it with a voltage doubler you will get 10V the same as you can get 620V from the mains that is 310V peak.
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #22 on: December 09, 2017, 09:14:29 pm »
IMHO there would be not so much frustration around if Dave explained what LCD will see in case of "single ended" drive. Additional reading for those still unsure: check about "bridge tied load" audio power amplifier configuration. Start here: https://en.wikipedia.org/wiki/Bridged_and_paralleled_amplifiers
 

Offline jstuart

  • Newbie
  • Posts: 6
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #23 on: December 11, 2017, 06:45:35 am »
My first comment on this subject was to say this isn't a digital phenomenon, it is absolutely an analog thing. My first thought was to compare Dave's inverter circuit to an differential output amp. But then if you have trouble with Dave's claims, you'll have the same trouble with a linear differential amp.

Or maybe not. Maybe a sine wave would be easier to understand.

If you've never used a differential output amp, the LME49724 is an example. It has two outputs. When one goes up, the other goes down. It produces a differential output proportional (by some gain) to the input. It can be powered from a single supply, say 5V.

If the differential signal is a sine wave (as opposed to a square wave), it has a zero crossing, where each amp output is at 2.5V (half Vcc). At this time the load has zero volts across it. As time goes on one output (call it "A") goes up, one (call it "B") goes down, symmetrically. The rate of change of the voltage across the load is 2x the r.o.c of each individual output. That should be easy to see.

So if you follow the outputs thru a quarter cycle, "A" rises to 5V and "B" drops to 0. At that time the load has 5 volts across it, yes?

Go another quarter cycle "A" drops and "B" rises till they are both back at 2.5V. The load is again at 0V.

Now "B" rises and "A" drops. After a quarter cycle "B" is at 5V and "A" is 0. If you're the load, this isn't 5V, it's the opposite. Current is flows the other way. The opposite of 5V "-5V".

During the last quarter cycle "B" drops and "A" rises till they both reach 2.5V. The cycle ends and the load is back at 0V.

The load experienced a voltage that went from 0 to +5 to 0 to -5 and back to 0. At the same time the outputs went from 2.5/2.5 to 5/0 to 2.5/2.5 to 0/5 to 2.5/2.5.

Using sine waves you can measure the load voltage directly using a simple handheld DMM. (Don't use a mains grounded instrument.) I have a few LME49724's on hand, maybe I'll do that. I don't do videos, so you'll have to take my word on the outcome.

Sine waves aren't special to the operation of differential amps. They're just easy to measure with handheld DMM's. The LME49724 can produce 100Hz square waves just as good as Dave's. Square waves behave just like sine waves, far as the load is concerned.
 

Offline JustMeHere

  • Frequent Contributor
  • **
  • Posts: 743
  • Country: us
Re: EEVblog #1046 - Mysterious Digital Voltage Doubling
« Reply #24 on: December 11, 2017, 06:59:45 am »
This is the way I've explained this to myself:

I'm in a two story house.  I'm on the first floor and I measure up to the next floor and get +10 ft.   Then I (change my reference and) go up stairs.  Now I measure the distance to the bottom floor and get -10 ft.  The difference (Vpp) between the two measurements is 20.

Think about that and watch the double NOT gate part again.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf