Author Topic: Does a transformer make the waveform looks more like sine wave?  (Read 2228 times)

0 Members and 1 Guest are viewing this topic.

Offline BeBuLamarTopic starter

  • Super Contributor
  • ***
  • Posts: 1591
  • Country: us
Does a transformer make the waveform looks more like sine wave?
« on: February 28, 2025, 11:17:29 pm »
I want to test the output of a cheap inverter which produces what they call modified sine wave. I want to see how bad it is but I don't want to hook up my scope directly to 120VAC so I want to use a step down tranformer. What I wonder if the transformer makes the waveform looks better than it is?
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 2003
  • Country: ca
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #1 on: February 28, 2025, 11:29:21 pm »
It depends on the transformer.  Transformers definitely have BW limitations and something like a 220V to 12V power supply transformer will do horrible things to sharp edged signals like square waves.  However, one designed for RF might do a better job, if it will handle the voltage.

I would put a mostly ohmic load on it (like an incandescent bulb) and use a few turns of wire around one lead going to the bulb.  A home-made HF transformer.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline Whales

  • Super Contributor
  • ***
  • Posts: 2236
  • Country: au
    • Halestrom
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #2 on: February 28, 2025, 11:32:55 pm »
Yes it can.  Transformers + termination load have a frequency response.  If it attenuates higher frequencies then it can make the waveform look better.

Ordinary steel 240V transformers will likely be particularly distorting, they are only designed to work around 50Hz.  They might be OK up to audio frequencies, but I expect they will still make a 50Hz square or stepped ("modified") wave look smoother.  Also they behave nonlinearly sometimes, which will add extra strangeness.

Make sure to have a termination resistor on the output of the transformer.  If you just hook up a (1Megohm) oscilloscope probe then you will see lots of unwanted capacitively coupled higher frequency signals (and possibly have oscillation/damping issues?).  A 1k resistor might work, YMMV.

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 8058
  • Country: ca
  • Non-expert
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #3 on: February 28, 2025, 11:45:08 pm »
What oscilloscope and what scope probe do you have?

As BillyO says, a step down transformer is not going to have a flat frequency response. I can't find a good reference but here is a power transformer that you can see goes all over the place after about 200Hz: https://netaworldjournal.org/advanced-transformer-diagnostics-sweep-frequency-response-analysis/

You can build a resistive divider, though, that is essentially what a 10x scope probe is already.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: Whales

Offline BeBuLamarTopic starter

  • Super Contributor
  • ***
  • Posts: 1591
  • Country: us
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #4 on: March 01, 2025, 12:51:56 am »
OK so I used a 10x probe and connect it directly. It's just a square wave with only about 70% duty cycle.
 
The following users thanked this post: thm_w

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 2003
  • Country: ca
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #5 on: March 01, 2025, 12:53:43 am »
OK so I used a 10x probe and connect it directly. It's just a square wave with only about 70% duty cycle.
That's quite the "modified" sine wave  :-DD
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Online edpalmer42

  • Super Contributor
  • ***
  • Posts: 2400
  • Country: ca
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #6 on: March 01, 2025, 01:15:07 am »
OK so I used a 10x probe and connect it directly. It's just a square wave with only about 70% duty cycle.
That's quite the "modified" sine wave  :-DD

If you measure the RMS and peak voltage, the so-called modified sine wave is actually better than a pure square wave.  However, I always call it 'modified square wave' because that's what it is!  Modified sine wave is a marketing term that has no basis in reality.  Oh, wait ... I guess that's kind of a definition of marketing, isn't it?   ;)
« Last Edit: March 01, 2025, 01:18:24 am by edpalmer42 »
 

Offline CaptDon

  • Super Contributor
  • ***
  • Posts: 2360
  • Country: is
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #7 on: March 01, 2025, 01:17:13 am »
Modified sinewave inverters have a horrible output waveform!! They can damage older equipment with power transformers and solid state rectifiers, even more so if the rectifiers are low loss Shottkey due to reverse breakdown voltages being exceeded by ringing transients of the nearly square waves. If you think the inverter output looks bad with a resistive load put an inductive load on it and scope it!! I have a home made multiple section L C Filter inline with the output of my inverter. It is basically a low pass filter but it does reflect some bad stuff backwards into the inverter.
Collector and repairer of vintage and not so vintage electronic gadgets and test equipment. What's the difference between a pizza and a musician? A pizza can feed a family of four!! Classically trained guitarist. Sound engineer.
 
The following users thanked this post: Aldo22

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 8868
  • Country: us
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #8 on: March 01, 2025, 01:28:17 am »
So I just happen to be replacing an old modified-sine Back-UPS.  Most moderate-sized mains transformers I've seen don't do much to filter out anything, especially under a few kHz.  Here is my mains vs the Back-UPS 500 "modified sine".  Transformer (magenta line) is a decent-quality desktop power brick from an old printer or something (several amps output @ 13.5VAC) and I used a 10x  probe, the direct connection (yellow line) I used a MicSig DP10013 differential probe at 500x.  There's no load on the UPS or the transformer, various loads might make a difference, especially something like a linear power supply.  I have no idea what PFC SMPS units do with that input.   



« Last Edit: March 01, 2025, 01:33:24 am by bdunham7 »
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Online edpalmer42

  • Super Contributor
  • ***
  • Posts: 2400
  • Country: ca
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #9 on: March 01, 2025, 01:50:27 am »
Those waveforms look similar to ones I've seen.  Apparently, the zero-voltage sections reduce the RMS values to something closer to the value for a sine wave while still maintaining a reasonable peak-to-peak voltage.  But the fast rise and fall times still wreak havoc with a lot of equipment.  Something like CaptDon's filter would help knock down the harmonics that those fast times create.

Another interesting way to knock down the harmonics is with a ferroresonant voltage stabilizer, if you can find one.  It's an old technology that's big, heavy, and sometimes noisy (acoustic, not RF).  But if you come across one for a good price it's worth considering.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 15470
  • Country: de
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #10 on: March 01, 2025, 08:18:37 am »
Even the iron transformers are not that bad for at least the audio range. The get little distortion from the magnetizing current one should use less than the nominal voltage. So for the US, use a 230 V transformer to look at 110 V mains waveform.

The sharp transitions can still stress slow rectifiers and active PFC citcuits could act up.
 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ch
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #11 on: March 01, 2025, 10:08:48 am »
I once had a look at this with my DSO-TC2 (you don't need a good scope for this. Probe in 10x).
The so-called “modified sine wave” can be dangerous for connected devices.

e-ast CL300-12:



e-ast CLS 600-12:

« Last Edit: March 01, 2025, 10:11:21 am by Aldo22 »
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #12 on: March 01, 2025, 10:32:32 am »
Hooking up that Fnirsi tester to 580-680Vpp takes balls, mate.  :palm:

How good is the insulation of your probe and that gizmo?

 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ch
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #13 on: March 01, 2025, 10:48:21 am »
Hooking up that Fnirsi tester to 580-680Vpp takes balls, mate.  :palm:

How good is the insulation of your probe and that gizmo?

It is an inverter connected to a 12V battery.
The scope runs on rechargeable batteries.
Nothing is connected to earth/ground.
The probe is a P6100. 10x:600Vpk CAT II.
I haven't touched anything, just switched on the inverter and took a photo.
The risk is manageable.
« Last Edit: March 01, 2025, 10:57:03 am by Aldo22 »
 
The following users thanked this post: The Soulman

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 22183
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #14 on: March 01, 2025, 10:56:59 am »
Another interesting way to knock down the harmonics is with a ferroresonant voltage stabilizer, if you can find one.  It's an old technology that's big, heavy, and sometimes noisy (acoustic, not RF).  But if you come across one for a good price it's worth considering.

They also have the advantage of "keeping the power flowing" during short brownouts.

Equally they take a lot of power/time to "get going" in the first place, and that temporary "overload" can cause inverters to give up and protect themself.
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 janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #15 on: March 01, 2025, 11:27:24 am »
Hooking up that Fnirsi tester to 580-680Vpp takes balls, mate.  :palm:

How good is the insulation of your probe and that gizmo?

It is an inverter connected to a 12V battery.
The scope runs on rechargeable batteries.
Nothing is connected to earth/ground.
The probe is a P6100. 10x:600Vpk CAT II.
I haven't touched anything, just switched on the inverter and took a photo.
The risk is manageable.

I would be worried that it explodes in my face due to vastly overstated/fake safety ratings and generally poor design (Fnirsi isn't exactly known for quality gear), not that I get electrocuted. And an inverter powered from a 12V battery has plenty enough energy to kill you.  :-//

 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ch
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #16 on: March 01, 2025, 11:41:54 am »
I would be worried that it explodes in my face due to vastly overstated/fake safety ratings and generally poor design (Fnirsi isn't exactly known for quality gear), not that I get electrocuted. And an inverter powered from a 12V battery has plenty enough energy to kill you.  :-//

Here we go again.  :palm:
After the standard probe in 10x, it's 24Vrms.
The input has 1MΩ.
I'm sure it will explode and kill me.  ;)

P.S. Please don't start another “Your DMM will kill you” thread.
This has been discussed ad nauseam.
« Last Edit: March 01, 2025, 11:47:04 am by Aldo22 »
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 22183
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #17 on: March 01, 2025, 11:52:55 am »
I would be worried that it explodes in my face due to vastly overstated/fake safety ratings and generally poor design (Fnirsi isn't exactly known for quality gear), not that I get electrocuted. And an inverter powered from a 12V battery has plenty enough energy to kill you.  :-//

Here we go again.  :palm:
Behind the standard probe in 10x, it's 24Vrms.
The input has 1MΩ.
I'm sure it will explode and kill me.  ;)

P.S. Please don't start another “Your DMM will kill you” thread.
This has been discussed ad nauseam.

I'm glad that, unlike me, you've found a way to ensure it is always *10, and the switch will never slip into the *1 position.

I'm glad that, unlike me, you've found a way to guarantee that the probe shield (and hence scope case) will never touch something other than earth. SMPSs are high energy devices, and that always makes me wary that I may encounter some unexpected consequences.

I don't see any spec for how the voltage rating must be derated with frequency. While that's unlikely to be a problem at 50Hz, it doesn't engender a feeling that the probe is well specified, designed and manufactured.
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: janoc

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ch
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #18 on: March 01, 2025, 11:59:27 am »
 |O |O |O |O
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #19 on: March 01, 2025, 12:12:24 pm »
P.S. Please don't start another “Your DMM will kill you” thread.
This has been discussed ad nauseam.

And yet people still do stupid unsafe shit like this, thinking they know better and that it can't happen to them. Nothing happened last time, so it has to be alright, right?

What to say.  :-//
« Last Edit: March 01, 2025, 12:15:35 pm by janoc »
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 22183
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #20 on: March 01, 2025, 12:27:01 pm »
P.S. Please don't start another “Your DMM will kill you” thread.
This has been discussed ad nauseam.

And yet people still do stupid unsafe shit like this, thinking they know better and that it can't happen to them. Nothing happened last time, so it has to be alright, right?

What to say.  :-//

Yup. It is also a lack of experience and imagination, along the lines of "I don't see how this can be dangerous" - because they haven't witnessed it and haven't thought sufficiently about the failure mechanisms.

Imagine telling children that "it is OK to run into the road without looking, because I've done it without consequences".
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 BeBuLamarTopic starter

  • Super Contributor
  • ***
  • Posts: 1591
  • Country: us
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #21 on: March 01, 2025, 12:56:13 pm »
I once had a look at this with my DSO-TC2 (you don't need a good scope for this. Probe in 10x).
The so-called “modified sine wave” can be dangerous for connected devices.

e-ast CL300-12:

(Attachment Link)

e-ast CLS 600-12:

(Attachment Link)

Yes what I got looks like your waveform. I used an analog scope so I don't have screen capture. My digital scope is a USB one and I don't want to connect it directly to 120VAC.
 
The following users thanked this post: Aldo22

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 2003
  • Country: ca
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #22 on: March 01, 2025, 03:21:28 pm »
So I just happen to be replacing an old modified-sine Back-UPS.  Most moderate-sized mains transformers I've seen don't do much to filter out anything, especially under a few kHz.  Here is my mains vs the Back-UPS 500 "modified sine".  Transformer (magenta line) is a decent-quality desktop power brick from an old printer or something (several amps output @ 13.5VAC) and I used a 10x  probe, the direct connection (yellow line) I used a MicSig DP10013 differential probe at 500x.  There's no load on the UPS or the transformer, various loads might make a difference, especially something like a linear power supply.  I have no idea what PFC SMPS units do with that input.   

Looks like a very nice transformer.  I imagine there are frequencies in that signal that go into the 10s or 100s of kHz.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 8868
  • Country: us
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #23 on: March 01, 2025, 04:03:44 pm »
Looks like a very nice transformer.  I imagine there are frequencies in that signal that go into the 10s or 100s of kHz.

It is pretty decent, it's a few decades old and was made in Taiwan.  I can't remember what it originally powered but I keep it around for all sorts of testing.  It's heavy and probably has plenty of iron, but I think it just might be saturating at the end of the cycle when the UPS is going.  Or perhaps that is the UPS output transformer.  The UPS is also several decades old and quite heavily built.  Anyway, transformers like this often will work through most of the audio range with little distortion, especially if you operate them well below their rated voltage.  Maybe I'll characterize one someday just for fun.
« Last Edit: March 01, 2025, 04:16:55 pm by bdunham7 »
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 2003
  • Country: ca
Re: Does a transformer make the waveform looks more like sine wave?
« Reply #24 on: March 01, 2025, 04:08:18 pm »
Maybe I'll characterize on someday just for fun.
Run a bode plot on it.  :-+
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf