How to detect and hunt down common mode noise on your oscilloscope.
With the example of testing the output noise on a linear bench power supply.
The aside video for Analog vs Digital Scopes: http://www.youtube.com/watch?v=ImyUB3_n9fw
EEVblog Main Web Site:
http://www.eevblog.com
EEVblog Amazon Store:
http://astore.amazon.com/eevblogstore-20
Donations:
http://www.eevblog.com/donations/
Projects:
http://www.eevblog.com/projects/
Electronics Info Wiki:
http://www.eevblog.com/wiki/
With the example of testing the output noise on a linear bench power supply.
The aside video for Analog vs Digital Scopes: http://www.youtube.com/watch?v=ImyUB3_n9fw
EEVblog Main Web Site:
http://www.eevblog.com
EEVblog Amazon Store:
http://astore.amazon.com/eevblogstore-20
Donations:
http://www.eevblog.com/donations/
Projects:
http://www.eevblog.com/projects/
Electronics Info Wiki:
http://www.eevblog.com/wiki/
Hi, this is just going to be a quick little aside video from something I found during the testing, the review of this Atten power supply unit, and I thought I'd just make a quick separate video about this, rather than include it somewhere in the middle of this review video, So if you want to check the review of this thing, check it out. Now, what I'm doing is I'm measuring the noise performance --the output noise of this, power supply, and the way I'm doing that is I've just got my BNC to banana plug adapter there, my-- going straight into the scope via a coax of course, and I've got my scope set up for a bandwidth limit, Now that's quite important because the specs usually, of a power supply -- let's take a look at it. Um,, the ripple here in this case, there it is. 20 hertz to 20 megahertz, So it's a 20 megahertz bandwidth limited range, and that's what the bandwidth limit on your scope does.
And If you turn it off, let's have a look at the display at the moment, Okay,, that's with the bandwidth limit on,. let's turn it off, and we'll see that the noise is very significantly -- peak to peak noise -- there very significantly higher than if you've got the bandwidth limit down to 20 megahertz. So You definitely want to measure the performance over that limit. But Look what we're getting here, okay? This is supposed to be a linear power supply.
Quite Quiet, okay? Now The spec is one millivolt, RMS of course. There it is. One millivolt RMS, now RMS is The key, it doesn't tell you anything about peak-to-peak. But You look at this and you go, well, why are we getting this switching effect here,? this is not a switching power supply! So Where is it coming from,? is it coming from the circ-- processor inside here,? is it coming like-- display refresh or something like that,? is it coming from internal from the power supply,? Well, we'll find out in a second..
Let's take a look at it,. 5 microseconds per division, 3 divisions, that's 66.6 kilohertz or thereabouts,. significant switching, you know,, component there. It dominates that display.
And If you weren't careful,, if you just hooked this up and you didn't know what you were doing,, you might think "well,, this is coming out of this power supply". "Well, this is a shit power supply,. look at the switching, it's horrible!" You Know,, but is it coming from this power supply? You may guess the answer. No, it's not! Let's find out why.
Now The first thing we might check is that what happens when you disconnect it. Okay, you disconnect it, it goes away. Not A problem. Let's connect one side of it to it, not a problem,.
connect the other side. Well,, we're just getting 50 Hertz garbage on there. Let's not worry about that too much. But Look,, you can see the switching component, folks, is Sti-- oop oop-- I Accidently hit it.
The Switching component is still in there. There It is there, you can see it. So It's coming-- it's definitely coming through this power suppy.. So You still might think "okay, this power supply is the culprit". But Let's switch the output off, okay,, so the relay. it should disconnect the output there, so let's oop-- switch all of the outputs off. There We go, our outputs are physically disconnected. It's switched off and it's disconnected those outputs but it's still there.
You'll notice that the noise really doesn't change much at all, whether or not you've got that output on. or off. And Next up, you might think "well, is this BNC Look, here's this. Coax, move it around".
Look, it seems to be a little bit changing a little bit there,. it's sort of, you know,, picking up stuff, So I don't know, is it the BNC? Well Let's use a different BNC. So As you can see,, the switching is still there even with this different BNC cable. So It's not that.
It's not picking it up, so What do we try next to try and figure out the source of this switching frequency because, well,, is it the power supply? Because That's the thing, right? If You're doing this-- these sorts of measurements. You have to know exactly where all your noise sources are coming from. I Know for a fact it's not within this power supply. So I'm going to let you try and guess where it's coming from.
We're going to try and hunt it down. So What we're going to do now is, well,, is there any other lab gear around here, sort of picking up noise? -- maybe this coax ain't that good -- right,? Is it picking up noise somewhere? because it's not shielded all the way,? maybe it's picking up noise somewhere else. Hmm. Let's try a very simple thing, let's just switch the power supply off and see what happens..
Aha, look at that folks!. It's still coming through, it's being picked up. What do we do next? Let's pull the mains plug on this thing. Look At that, I just pulled the mains plug, and it's still coming through! What Do we try next? Well, let's try a real scope probe, you know.
I've got my 500 megahertz Agilent scope probe here, right,? it's a real fair dinkum probe, and look,, I've even got my antenna earth loop there. And Look,, we're not picking up anything at all! Now, I'm using my scope probe to connect up to the power supply here, and look,, it appears to have gone, but let's stop that. Bingo, it ain't gone,. look, it's still there,.
there it is. 3 divisions 1, 2, 3, that's 66.6 Kilohertz still there, So We are getting a better result, because this is a much higher quality Pho--you know,, proper shielded, you know,, oscilloscope probe, as opposed to just, you know,, some regular coax which may not have 100% coverage, but we're still picking it up. So I've gone back to my regular coax here just so we can see the effect again,. And Mains Cable or no mains cable on this supply,, powered up or not powered up,, it makes no difference.
We're still getting that switching noise. Is This power supply magic? Even When it's not powered, is it magically generating this switching frequency? No, of course not!. It's picking it up somewhere. Alright, so I Suspect it's common-mode noise being picked up through the mains system, and because this oscilloscope is Mains Earth referenced, and as you saw in my-- the mysterious oscilloscope phenomenon,, you can actually get ESD impulses which jump onto the coax cable-- onto the lead and then into, Because this oscilloscope only has so much common-mode rejection from the mains, can actually generate input noise coupled through the earth system. Now What I've got is this isolation transformer here. And This physically removes the mains earth and isolates this. So It effectively turns this oscilloscope int--. it's not Mains Earth referenced anymore, so now you can use your scope probe to probe your circuits and you don't blow them up,, etc..
Because It physically removes the earth on this thing, it's not recommended to do this. By the way,, power the scope,. Usually you power your product through this thing, and not your scope, or you use a proper high-voltage probe. Eh, that's for a different video.
But Look,, it's physically changed now,. it's still there. But Look,, it's different. We've got different components picked up-- we're still 5 microseconds per division there,, but it's not that consistent.
66.6 kilohertz we saw before, so aha!. We're getting closer to this thing. And you-- you'll see that it'll instantly go back. If I plug the proper mains cable back into this thing, it'll instantly go back to exactly what we saw before, So we're tracking this thing down..
So What we've got is some sort of switching device somewhere, either in the room or on the mains distribution system that is causing this thing. So Just to show you that it's not the Agilent oscilloscope doing this,, here it is on a Rigol scope. 5 microseconds per division, exactly the same thing. happening.
So What do you do? You Start looking for things that are either within the direct vicinity that are switching, or something that is connected to the mains system. So You start by, well, I've got my lights up here, my LED lights. I'll switch those off. Does it make a difference? No, nothing, it's not those.
Not A problem. Is it the fluoro lights in the lab? Well, only one way to find out. Nope, look at that! Still Exactly the same. And It's none of my gear, I've turned all my gear off on the lab, I've switched the computer off in the office cubicle I've got in here, and I still can't find it, so let's go investigate under here.
Now Here is all of my power boards. They're all connected down to the one, and there's a whole bunch more powering my electronics bench over there as opposed to my teardown bench, So these ones here, there's a-- you know-- there's a few things plugged in. Let's have a look, there's a-- what have we got, no. We've just got a mains cable that's going off to nothing, nothing, going up to gear that I know is switched off. Aha! What is this? What is this? Hello Mister Qili Power! Hmm. Well, there's only one way to find out. I've now switched this down to 2 millivolts per division,. you see, we're getting the huge noise there, I'm still measuring the output direct on the power supply, by the way..
Whoop, it's not switched on, now it's switched on. There We go, so we're picking up that noise there. What You would think is noise coming from this power supply, if you didn't know how to measure things properly. Let's disconnect this stupid.
Qili, look at that switching power supply,. look at it go up as I put it near that coax. Look! Bastard! So Let's-- I'm going to pull the cord on this! Just Going to yank it, here we go. Tada! We've found our culprit folks!.
One of these switching-- cheap-ass switching power supplies plugged into the same mains board as what I was powering my oscilloscope and my Atten power supply from! Bingo! Big trap for young players. So There you go, we're now at 5 millivolts per division and you can see that we're still picking up noise, and that is -- most likely more common-mode noise between the earth and the neutral in the mains system,. But we've gotten rid of that huge spike which we were getting before that was upsetting our measurements.. We Can try and track down sources of this type of common-mode noise, we can filter our mains and do all sorts of stuff like that to reduce it.
But I'm pretty happy now that we've actually gotten rid of that huge 66 kilohertz spike we were getting from that switching power supply. And Of course, if we go back to our original issue and just disconnect it from there. Bingo, we're no more noise and we can even go down to 500 microvolts, you know,, per division. And we're sweet there.
Why Is that not updating? Ahh, bloody firmware in this thing. I Haven't got the latest firmware for this Rigol scope yet, so it has some freezing issues with the horizontal mode. But There you go,, that's 500 microvolts per division. Switch that and put that in, we pick up a bit more, we put it over on our power supply over here,, and we're going to pick up a butt load of common-mode noise.
But that's not coming from our power supply. So You might be asking "well, why was this thing picking it up even though it's switch off and disconnected from the mains like that?" Well, it's because the internal circuitry and the internal transformer in here is effectively, -- via AC coupling -- is effectively working as a very effective, you know,, pickup antenna, so to speak,. And that's why this oscilloscope probe won't pick it up, because this is a relatively high-frequency pickup coil, Okay? It's going to pick up,, you know,, ESD and lots of high-frequency discharge and stuff like that,, as I've shown in previous videos. So The transformer inside here, and the coupling to it is basically going to effectively work as a better, lower frequency, pickup antenna for that stuff.. That's why if we disconnect it, bingo, we're gone. Okay? But We hook it up, this thing is entirely switched off, disconnected from the mains plug, so it's not actually picking it up through the mains earth. It's still working as a very effective antenna for picking up that common-mode noise. It's still working as a very effective antenna for picking up that common-mode noise.
And Common-mode noise comes in all types. folks,. it can come from anywhere, be careful.. Watch this, I'm going to grab this coax with one hand,, touch the screen over here,.
no folks, it ain't magic, it's picking up the noise-- the switching refresh of the screen there. Look at that, Woohoo!! And Of course that is one of the claimed uh-- Well, it is. one of the disadvantages of these digital scopes is that they can be spewing out stuff, which can interfere with low value measurements. So That's why, you know,, a lot of the Greybeards frown upon these digital scopes because, ah,, you know,, be generating all sorts of crap.
You Won't get this sort of thing happening with an analog scope. So What are we going to do when measuring our Atten power supply here?? We Know it's a linear supply, it's not spewing out any switching stuff. So All this high-frequency peaks in here,. common-mode noise is coming from somewhere else in our measurement system.
So When we're measuring the noise on a linear power supply like this: Atten Power supply,. we know that these high-frequency switching components in here are effectively common-mode noise being picked up somewhere else in the system. So Really, you want to chop those out and only look at that in there. So As you can see,, even though we got rid of that mains source, we're still picking up, you know, a lot of common-mode noise in here.
And Unfortunately, that's going to be hard to get rid of.. Now, even if I power both this scope and the power supply through a filter-- a mains input filter board-- so I've got both bits of gear, that's the only thing off that filter, we're still picking up this pain in the ass common-mode noise here. Look at that! So, What's that coming from? Well, if we go full-circle back to something we tested before. Our Lights.
Let's turn it off. Look at that! folks! Bingo. So Now we're talking. We've started to eliminate all of our problems here and getting towards more of the real noise performance of this power supply..
So we still have-- oop,, that's me by the way,. be careful-- So that's-- um-- we're getting very, very close. There's still one -- there's still a burst in there that's triggering off that. So it's obviously oop-- probably we can move our trigger around and there we go,. we can single-shot capture off that. So There is some-- another burst event coming in there, but really,, umm,, that folks. Now we can at least get a more decent measurement of our power supply. You Can see how this is not easy, we originally had a common-mode noise source direct-- a switching power supply directly on there.
We Thought we eliminated the lights, but we didn't. Let's switch those lights back on. Look at that! Unbelievable! Woohoo! They're the LED lights I've got up the top. And they're not even supposed to be PWMing, they're supposed to be constantly on at maximum brightness there.
I Can turn my other set of LED lights above does absolutely nothing, but those lights I've got up there, big switching noise. So So We came full circle there, and we're getting closer to eliminating everything. So Let's actually look at the differences in the quality of some coaxes. I've got this particular coax cable here.
we're 2 millivolts per division, I'll keep it on that. That, you can see, we're picking up lots of high-frequency common-mode noise there,. now you'll see that the bulk of the ripple and noise in there is gonna pretty much stay consistent between these. Now Let me try another coax cable here.
It's roughly the same length, but it's going to be a different type with a different outer weave.. So Here's this other one and you can see that it is particularly cleaner,. I mean if you put it near the screen there,, there we go,. that's why the other one was picking up so much crap.
The weave wasn't as good, the shield wasn't as good, and it's picking up more of that stuff from the screen. Now, if we disconnect that and we plug in our scope probe, our proper scope probe -- this is the 350 megahertz one -- which comes with the rigol -- and it's got a X1 X10 switch, so we'll put it on X1, so it's operating just like a regular coax, and I've got this little coax adapter. It's a bit loose, so please forgive me if it's-- the connection is a bit intermittent there. I may have to hold it.
There You go, look at that! We've suddenly, with this good quality, properly shielded, high-bandwidth oscilloscope probe, look! It's not picking up nearly as much. So Our performance has gone from, you know,, pretty , sort of fairly ordinary -- we're stil at the same volts per division, 2 millivolts per division -- but much cleaner with the scope. Now Let's put it on Times Ten and then we have to compensate. We've got to go in here and we've got to turn that to Times Ten.
And then we're on 20 millivolts per division. And we've got t-- Oh,, we can't actually go down to 2 millivolts per division because we're-- we have to be 5 millivolts per division. And It's higher. Why Is the noise higher on Times Ten? Well, it's because a Times Ten oscilloscope probe is higher bandwidth than it is on Times One.
And If you don't believe me, here's the spec sheet for it. There It is, Times One: DC to 8 megahertz. Times Ten, DC to 350 megahertz. This is the spec sheet for this Rigol probe. And All probes are the same. That's why a lot of them only come times ten, because they give you the high bandwidth. It's due to the input capacitance, I won't go into it, that's a whole separate video but. Times Ten probes, that's why they're used, is because they are higher bandwidth.
So Effectively, we've gone from that 20 meg filtering on our scope to an 8 megahertz bandwidth filtering, And that's why our Times One probe is actually going to give us a lower noise measurement, because it's bandwidth limited, so all that high-frequency noise, wherever it's coming from, is being attenuated.. So Really,, because the bandwidth of this power supply is specified from zero to 20 megahertz,, we can't just use a scope probe on Times One,. because that's only giving us for this probe,, it's only giving us an 8 megahertz bandwidth, So we have to put up with the fact that we're using a Times Ten probe.. And Here's an Agilent one, this is my 500 megahertz high-quality Agilent probe.
And That is 5-- we can only go down to 5 millivolts per division because of the Times Ten. But there you go. That, folks--. you still get the occasional high-frequency glitch in there, you might be able to see.
In Fact: We can probably even trigger off that. There We go,. yep,, we can actually trigger off that. Occasional Little high-frequency pulse which is coming through, but not a big deal.
So There you go,. now we can measure our noise with reasonable performance. Excellent. So There you go, I Hope you found that interesting.
That Just goes to show that there's more to a simple noise measurement than meets the eye. Common-mode noise. Go look it up,, go research it.. It Can be a real pain in the ass and a big trap for young and old players alike.
Let Me tell you! So If you like that, please give it a big thumbs up, and if you want to discuss it, jump on over to the EEVblog Forum. Catch you next time! captioned by Sen.
You pulled the mains from the power supply, not from the wall. But I have had noise from the mains cable itself. Not sure if it's from the wall or from the cable itself. Changing the cable helped. It was a normal 220V 3 prong cable.
66.6
Hello Mr. Qili power!!
invaluable help for beginner and very funny too ! I got a new beginner scope and couldn't find why is the noise there at peaks even when probe was not connected to anything.
Still I don't know where comes but I don't care for a simple beginner thing I'm doing now . 🙂 cheers !
Do you have a video on op-amp stability?
I wish we could have seen the noise with and with and without the ground wire connected to the PS. I noticed near the end of the video (~18 min) that the ground wire was removed, then at the very end, the ground wire is connected again! I know that grounding and ground loops can significantly affect noise. Thanks for the video!
I wonder if you could turn that PSU into a Crystal Radio picking up AM Medium Wave stations 😏
actually when I built my transmitter (very low range just for learning purpose) I used my oscilloscope as a receiver. Because it picks up all the signal 20 cm from the antenna. It shows how we can easly make a mistake with what we see on the oscilloscope…
OMG, this confused me so much today, and I am indeed a 'young player'. Out of pure luck I came across this video in the evening … Karma
Quick little side video ha? Over 21 minutes
we can not see the real ripple of PS . must be comparison – PS off and on . can not see conclusions – the meserement ripple of PS is… and how we meserement that
Dave, PLEASE get a message to our newest guru, (NOT Mr. Magoo!), Paul Carlson of Mr. Carlson's Lab. Tell him we need his help with the common mode noise problem… and ask him to design a lab bench WITHOUT any common mode noise! I dare ya! LOL de KQ2E [and you may wonder why he uses so many old scopes to measure with in his labs!]
Add a clip on Common Mode Choke on the coax, and say 3 turns through the core. It will help. 43 material or similar will be good.
You can use differential subtraction mode with 2 probes, from Math menu.
This is an amazing video, Dave. It makes me value my Tektronix 2245A scope, even more!
i just bought my first oscilloscope and I'm literally having this issue now. Its driving me nuts.
Edit: turns out I was putting 12V into a 3.5-10V function generator lol.
Very helpful Dave Jones. Thanks for the video.
who would've thought your power supply is a sensitive pickup antenna…
wish I found this video earlier. such a great help. I was having this trouble for years . thanks Dave
Interesting?!!!
Oh man
That was AWESOME 😍😍
I have guessed that the light may affect on the oscilloscope reading
But not like this.
Also the human body
Man this was just awesome 😂❤️❤️❤️
I don’t really understand coax cables, why doesn’t it have to be 50 ohms terminated it this case?
Great video. Another lesson learnt by a youngster. And another trap avoided.
Since the power supply was the cause. Does this mean that every signal measured and connected to the scope would pick up that 66khz waveform .
Help! I run my house off a 3000 watt 12 volt to 230-volt inverter from batteries, my inverter is good quality and pure sine wave, however, that pure sine I suspect is made up of fast switching high-frequency peaks.
The household wiring seems to be acting as an antenna, the inverter is Earthed to the ground and sits on a large Aluminium plate in a special cabinet, I was thinking of installing a supply filter robbed from an old washing machine on the 230 volts out from the inverter.
It drives me nuts, I have bought a beautiful MW/LW antique radio which sounds amazing running on its batteries until the inverter is put on and then it is totally screwed. any good ideas welcome.