Author Topic: measuring mains with oscilloscope  (Read 21709 times)

0 Members and 2 Guests are viewing this topic.

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27323
  • Country: nl
    • NCT Developments
Re: measuring mains with oscilloscope
« Reply #25 on: October 25, 2019, 09:47:09 pm »
here is what I do, when measuring stuff on a live mains:
power the scope via a special low capacity isolation transformator.
it was easy to make:
http://webx.dk/oz2cpu/230V-trafo-isolation-low-capacity/230V-trafo.htm
Don't try this at home  :palm: Get a job in a super market or flipping burgers and make money during the time spend creating dangerous contraptions so you can buy safe tools. Differential probes and current probes are very cheap nowadays. It doesn't pay to mess around.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline joeqsmith

  • Super Contributor
  • ***
  • Posts: 11976
  • Country: us
Re: measuring mains with oscilloscope
« Reply #26 on: October 25, 2019, 10:36:30 pm »
You could roll your own differential probe but I suspect it would cost more than just buying one.   I built a couple for the fun of it but I suspect the purchased ones would out perform them..
   



Offline oz2cpu

  • Frequent Contributor
  • **
  • Posts: 860
  • Country: dk
    • webx.dk private hobby and diy stuff
Re: measuring mains with oscilloscope
« Reply #27 on: October 27, 2019, 11:51:45 am »
tggzzz ??
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,

If the 1 ohm sense resistor brakes open, the scope prope will get full mains voltage, in 10:1 it can handle this too
Radioamateur OZ2CPU, Senior EE at Prevas
EMC RF SMPS SI PCB LAYOUT and all that stuff.
youtube : oz2cpu teardown
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17881
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: measuring mains with oscilloscope
« Reply #28 on: October 27, 2019, 12:04:55 pm »
The siplest way to do it is to remove the earth clips for the probes. set the scope to math subtraction mode and and use the two probes as "differential" probes. You still have to stay withing the range of the scopes inputs relative to ground but this way you can make sure the chasis is grounded and not worry about what you do with each probe.
 
The following users thanked this post: Electro Detective

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 2055
  • Country: us
Re: measuring mains with oscilloscope
« Reply #29 on: October 27, 2019, 12:13:42 pm »
There are two questions I've noticed that frequently are asked by new oscilloscope owners and users. They are : "How can I measure the mains with my (grounded) oscilloscope?" and "why does my (improperly grounded) oscilloscope keep showing me 60Hz (or 50, whatever) noise from the mains?"
 :horse:
The easiest person to fool is yourself. -- Richard Feynman
 
The following users thanked this post: Fungus

Offline Terry01

  • Frequent Contributor
  • **
  • Posts: 907
  • Country: scotland
Re: measuring mains with oscilloscope
« Reply #30 on: October 27, 2019, 12:55:36 pm »
It seems there is a couple of ways to measure the mains safely for beginners and a couple of ways to measure the mains using homebrew stuff that you should only use if you really know and understand what you are doing.

I fall under the "beginner using 2 probes" category but it is also good to learn the "other" ways too. It's always good to learn new stuff.

It's great how the guys who know better can teach the beginners new things on the forum and keep them from blowing themselves and/or their equipment up. 

 :-+
Sparks and Smoke means i'm nearly there!
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 2055
  • Country: us
Re: measuring mains with oscilloscope
« Reply #31 on: October 27, 2019, 01:14:29 pm »
Most of the time my problem is the latter: I _don't_ want mains noise contaminating the signal I'm trying to measure. Ymmv of course!
(The "line" trigger option can frequently help one to identify weirdnesses caused by mains pickup in a higher frequency signal.)

But they say experience is the best teacher. Blow up one expensive scope by sticking things into places they don't belong, and you will probably never do it again.
 :-BROKE
« Last Edit: October 27, 2019, 01:18:13 pm by alsetalokin4017 »
The easiest person to fool is yourself. -- Richard Feynman
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19953
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: measuring mains with oscilloscope
« Reply #32 on: October 28, 2019, 01:29:29 am »
tggzzz ??
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,

If the 1 ohm sense resistor brakes open, the scope prope will get full mains voltage, in 10:1 it can handle this too

Think about all the equipment you are connecting together, not just one bit. Include yourself in "the equipment".

The failure modes can be subtle and surprising, and can catch out even professionals that take precautions. For one real life fatality, see https://www.eevblog.com/forum/testgear/ground-of-oscilloscope-always-connected-to-earth/msg1967150/#msg1967150
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: nctnico

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: measuring mains with oscilloscope
« Reply #33 on: October 28, 2019, 01:47:31 am »
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,

If what you claimed is true, so this millions of dollars people poured in the measurement business either the manufacturers or the users are stupid and just wasting their time and money all this time ?  :palm:

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19953
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: measuring mains with oscilloscope
« Reply #34 on: October 28, 2019, 08:35:30 am »
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,

If what you claimed is true, so this millions of dollars people poured in the measurement business either the manufacturers or the users are stupid and just wasting their time and money all this time ?  :palm:

You can try to point people in the right direction, but the Dunning-Kruger effect is strong.

That's why I will never try to remotely indicate single specific problems in topics where there are many subtle dangers.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16854
  • Country: 00
Re: measuring mains with oscilloscope
« Reply #35 on: October 28, 2019, 09:19:28 am »
tggzzz ??
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,

 :-DD

If you meant it's just as dangerous as a battery-operated 'scope then I agree 100%

ie. The danger isn't from the 'scope's power supply, it's from using a little crocodile clip to connect mains A/C to the chassis of a device with exposed metal all over the place.

If you can't understand where the danger comes from then my only advice is to wear rubber boots and gloves while you work. And don't sit on a chair.
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19953
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: measuring mains with oscilloscope
« Reply #36 on: October 28, 2019, 09:25:43 am »
tggzzz ??
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,

 :-DD

If you meant it's just as dangerous as a battery-operated 'scope then I agree 100%

ie. The danger isn't from the 'scope's power supply, it's from using a little crocodile clip to connect mains A/C to the chassis of a device with exposed metal all over the place.

If you can't understand where the danger comes from then my only advice is to wear rubber boots and gloves while you work. And don't sit on a chair.

And work with one hand in your pocket, tied there if necessary :)
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27323
  • Country: nl
    • NCT Developments
Re: measuring mains with oscilloscope
« Reply #37 on: October 28, 2019, 09:58:29 am »
tggzzz ??
it is NOT going to fail, the isolation transformer I use is well made and with ultra low capacity
so there is no problems at all with the test setup i explain, it is just as good as using a battery opperated scope,
No it isn't. Even battery powered scopes come in two categories: expensive ones with isolated inputs (usually these have a plastic, non-conductive BNC connectors) and the cheaper ones which have a common metal chassis and metal BNCs. The latter are just as dangerous to use compared to floating a scope using an isolation transformer.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline n3mmr

  • Regular Contributor
  • *
  • Posts: 121
  • Country: se
Re: measuring mains with oscilloscope
« Reply #38 on: October 28, 2019, 11:52:11 am »
Regarding the proper way to measure inside the mains side of a power supply, i e a high voltage diff probe, which ones are actually good enough of the diff probes offered on Ebay?

I see a Micsig probe set for 5000V at about 180 USD, https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.de%2Fulk%2Fitm%2F113749875769 ,
and used testtec 9001 probes.
Are these any good? Dare one trust them?
 

Offline shakalnokturn

  • Super Contributor
  • ***
  • Posts: 2159
  • Country: fr
Re: measuring mains with oscilloscope
« Reply #39 on: October 29, 2019, 07:08:18 pm »
I'm always astonished by how often this same question comes-up and even more by some of the answers given.

Although I have overlooked the problems of safe probing on line referenced equipment myself in the past, it is a really important point to understand.

Anyone wanting to work on live equipment should go to the trouble of first understanding how electricity is delivered to wherever they are using it, the role of each wire used up to the socket, the existing protection equipment and it's condition if something does go wrong.
Beyond the financial aspect of a failure the question you want to ask when working in your lab or garage is: "If I touch this how much current will I be taking?" When "this" is your oscilloscope Ext. Trig. BNC or handle the question should become worrying.

If you aren't worried at that point you may as well take the reasoning one step further and double wrist-strap yourself with a nice low impedance to the local ground, it has potential to roast your fingers off, but may at least save your chest.

There are well known good solutions for probing on 220V, they do have a low cost compared to an oscilloscope or funeral.
Is it really worth putting your relatives to all that bother for a bloody 9$99 power supply that should have been better designed in the first place?
 
The following users thanked this post: genghisnico13

Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 7652
  • Country: au
Re: measuring mains with oscilloscope
« Reply #40 on: October 30, 2019, 12:48:35 am »
For Pete's sake, everybody, buy a bloody differential probe, & those of us with enough knowledge to do it safely in other ways can just quietly die out, without running into hundreds of iterations of this thread  everytime we log on throughout our declining years!
 
The following users thanked this post: janoc

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16854
  • Country: 00
Re: measuring mains with oscilloscope
« Reply #41 on: October 30, 2019, 07:51:00 am »
I'd like to know what information people hope to gain by poking at mains with an oscilloscope as opposed to, eg., plugging in a lamp.

For Pete's sake, everybody, buy a bloody differential probe, & those of us with enough knowledge to do it safely in other ways can just quietly die out, without running into hundreds of iterations of this thread  everytime we log on throughout our declining years!

You don't even need that for a quick test. Just pop the ground clips off your probes and set the 'scope to "AC" mode.

(Use two probes and "difference" as necessary).
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17881
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: measuring mains with oscilloscope
« Reply #42 on: October 30, 2019, 07:53:23 am »
I'd like to know what information people hope to gain by poking at mains with an oscilloscope as opposed to, eg., plugging in a lamp.

For Pete's sake, everybody, buy a bloody differential probe, & those of us with enough knowledge to do it safely in other ways can just quietly die out, without running into hundreds of iterations of this thread  everytime we log on throughout our declining years!

You don't even need that for a quick test. Just pop the ground clips off your probes and set the 'scope to "AC" mode.

(Use two probes and "difference" as necessary).


Yep I said that way back but it's not sexy or dangerous enough.
 

Offline maginnovision

  • Super Contributor
  • ***
  • Posts: 1963
  • Country: us
Re: measuring mains with oscilloscope
« Reply #43 on: October 30, 2019, 08:38:24 am »
I logged a week on an oscilloscope the mains voltage at my house. Captured large voltage dips that likely fried my refrigerator compressor and my old AC compressor. I showed the logs to SCE who paid for those failures after finding a loose connection on the pole I get power from. I then logged another week to make sure it didn't happen again.

You can't do that plugging in a lamp.
 
The following users thanked this post: tautech, Russ_A

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28887
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: measuring mains with oscilloscope
« Reply #44 on: October 30, 2019, 08:43:21 am »
I logged a week on an oscilloscope the mains voltage at my house. Captured large voltage dips that likely fried my refrigerator compressor and my old AC compressor. I showed the logs to SCE who paid for those failures after finding a loose connection on the pole I get power from. I then logged another week to make sure it didn't happen again.

You can't do that plugging in a lamp.
Exactly !

Connecting a scope to mains is not for the inexperienced but it can safely be done.
Wise to use 100x probes or a differential probe for safety reasons though.
Avid Rabid Hobbyist.
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19953
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: measuring mains with oscilloscope
« Reply #45 on: October 30, 2019, 10:17:50 am »
I logged a week on an oscilloscope the mains voltage at my house. Captured large voltage dips that likely fried my refrigerator compressor and my old AC compressor. I showed the logs to SCE who paid for those failures after finding a loose connection on the pole I get power from. I then logged another week to make sure it didn't happen again.

You can't do that plugging in a lamp.

Just so, but there are simple easy cheap and safer ways to achieve that than connecting a scope to the mains, e.g.:
  • use an ac voltmeter that can capture and upload the values to a PC
  • connect a standard 240V/12V (etc) transformer to the mains, and connect the scope to the 12V output

With a little thought and imagination, it is usually possible to avoid the potential dangers of connecting a scope directly to the mains.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline joeqsmith

  • Super Contributor
  • ***
  • Posts: 11976
  • Country: us
Re: measuring mains with oscilloscope
« Reply #46 on: October 30, 2019, 10:41:58 am »
I'd like to know what information people hope to gain by poking at mains with an oscilloscope as opposed to, eg., plugging in a lamp.

Normally, I am looking for some sort of transient condition.  The scope isn't really a tool I would use for that.

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: measuring mains with oscilloscope
« Reply #47 on: October 30, 2019, 11:46:53 am »
I did use my HV diff. probe + scope, in measuring AC mains voltage & current (thru shunt) for capturing, and tweaking the soft start circuits that built for AC inductive load, like my bench drill, variac and other AC rotary cutting tools and etc.

As these inductive loads can have nasty current spike (sometimes 10 to 50 times at rated current) at few 1st cycles when powered on at the right/wrong AC phase, and also caused serious voltage sag or trip the current breaker.

In this specific case, just can't use slow AC logger like DMM (own Fluke 287) as its not fast enough to capture that events.

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16854
  • Country: 00
Re: measuring mains with oscilloscope
« Reply #48 on: October 30, 2019, 12:14:38 pm »
You can't do that plugging in a lamp.

I could point a camera at a lamp much more easily than I could record a week's worth of waveforms on my 'scope.

As these inductive loads can have nasty current spike (sometimes 10 to 50 times at rated current) at few 1st cycles when powered on at the right/wrong AC phase, and also caused serious voltage sag or trip the current breaker.

ie. A light bulb would flicker if it's connected to a nearby socket.
« Last Edit: October 30, 2019, 12:40:58 pm by Fungus »
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16854
  • Country: 00
Re: measuring mains with oscilloscope
« Reply #49 on: October 30, 2019, 12:20:25 pm »
Connecting a scope to mains is not for the inexperienced but it can safely be done.
Wise to use 100x probes or a differential probe for safety reasons though.

I never said it can't be done, I even said how I'd do it a couple of posts up, ie. remove ground clips from probes (to avoid temptation), use probes.

The issue at stake is floating oscilloscopes so you can attach them to mains wires without blowing your mains fuses (as if that should be the thing that's worrying everybody).
« Last Edit: October 30, 2019, 12:39:25 pm by Fungus »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf