Author Topic: Poor regulation / ripple in SMPSU Buck converters  (Read 4354 times)

0 Members and 1 Guest are viewing this topic.

Offline arcadeukTopic starter

  • Newbie
  • Posts: 8
Poor regulation / ripple in SMPSU Buck converters
« on: March 06, 2016, 12:59:54 am »
Hi everyone,

I am very much fluent in digital electronics, but I have to admit I am no expert when it comes to power supply design, so I could really do with some assistance please.

I  am trying to create a PSU that can convert 6.3VAC into 3.3VDC @ 1 - 1.5amp

I bought a bunch of ebay/China buck converter modules (more for experimentation with different chipsets so I can later integrate the buck convert of choice into my pcb)


So I moved my design onto the bench and used a Variac to generate the 6.3VAC for convenience. This is fed into a bridge rectifier, and a 15,000uF filter capacitor is placed in parallel with the bridge rectifier to give a smoothed DC output.

I hooked up the load tester and scope and applied load and the ripple varied as expected within reasonable limits with load variations. All fine so far!


I added a linear 3.3v regulator and connected the load to the output. The linear regulator worked as expected and provided a near enough perfectly smooth 3.3v. Again all fine.


I replaced the linear regulator with the first buck converter module and applied load. The peak-to-peak voltage on the output of the regulator is terrible, even with low (100ma) loads.

I wound up the variac to a higher voltage to give more headroom for the buck converter to operate, but still the same problem.

I tried a different buck converter, but still the same problem. I tried another, still the same! I tried adding a filter capacitor to the output of the buck converter, still the same!

So if we look at the waveforms, we can see I am getting 50hz ripple on the output of the buck converter. Why is this happening? If there is enough headroom in the smoothed DC from the bridge/capacitor than I didn't expect this ripple to occur.

Here is one example scenario on the scope (attached to this post)

Pink is the AC from the variac
Yellow is the smoothed DC (12.7vrms 960mv ripple)
Blue is the output of the buck converter (3.24vrms 800mv ripple!)

As you can see the ripple in the output lines up perfectly with the 50hz AC and the 50hz dipping of the capacitor during charging cycles. Why is this 50hz appearing on the output when there is so much headroom from the smoothed DC?

So as this is not what I am expecting to happen I must be doing something dumb. I would appreciate it if someone could point out what dumb thing I am doing :)

Thanks in advance
 

Offline arcadeukTopic starter

  • Newbie
  • Posts: 8
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #1 on: March 06, 2016, 01:06:05 am »
I forgot to add the modules I have been using are based on LM2596 and MP1584 (and other One-Hung-Low variants)
 

Online Phoenix

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: au
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #2 on: March 06, 2016, 04:26:28 am »
Sounds like a problem with the power supply ripple rejection.

Things to try: Put a bigger capacitor on the rectifier output. Use a full bridge rectifier.
 

Offline exmadscientist

  • Frequent Contributor
  • **
  • Posts: 404
  • Country: us
  • Technically A Professional
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #3 on: March 06, 2016, 06:50:01 am »
Sounds like a problem with the power supply ripple rejection.

Things to try: Put a bigger capacitor on the rectifier output. Use a full bridge rectifier.
What, 15mF just isn't enough?

Sounds to me like you need to try some known-good switchers. For whatever reason, Chinese counterfeits of SMPS chips are everywhere, and would handily explain your results.
 

Online Phoenix

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: au
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #4 on: March 06, 2016, 07:09:19 am »
Sounds like a problem with the power supply ripple rejection.

Things to try: Put a bigger capacitor on the rectifier output. Use a full bridge rectifier.
What, 15mF just isn't enough?

Sounds to me like you need to try some known-good switchers. For whatever reason, Chinese counterfeits of SMPS chips are everywhere, and would handily explain your results.

I missed the 15mF, that is quite big. The rectified DC waveform still looks pretty bad so...

Another question - how are you connecting your oscilloscope? You say you're using a variac, do you have an isolation transformer too? This come to mind because a full bridge rectifier should have 100Hz ripple. But an incorrectly attached oscilloscope ground could cause 50Hz ripple to appear in the measurement.
 

Offline prasimix

  • Supporter
  • ****
  • Posts: 2037
  • Country: hr
    • EEZ
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #5 on: March 06, 2016, 10:43:00 am »
I'm not sure how much 15mF can help if you didn't add low ESR ceramic (one or more in parallel depending of required capacity and rated voltage) as close as possible to the buck power input.

Offline arcadeukTopic starter

  • Newbie
  • Posts: 8
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #6 on: March 06, 2016, 10:56:51 am »
Another question - how are you connecting your oscilloscope? You say you're using a variac, do you have an isolation transformer too? This come to mind because a full bridge rectifier should have 100Hz ripple. But an incorrectly attached oscilloscope ground could cause 50Hz ripple to appear in the measurement.

I would be using an isolation transformer on the variac if I could find it, but I can't lol

All 3 channels of scope ground are connected to earth, the bridge rectifier negative is connected to earth, the buck regulator ground is connected to earth, so all measurements are relative to earth ground.

I initially was not measuring the AC waveform on the scope, I only added it in to see if the 50hz ripple on the buck converter output lined up perfectly with the positive phase of the mains AC.

The ripple is present, when only the output of the buck convert is being measured, and is visible on the scope (with buck converter ground tied to earth ground) or visible on my bench meters bargraph when measured as floating ground
 

Online Phoenix

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: au
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #7 on: March 06, 2016, 11:01:07 am »
I think this might be your problem. What country are you in? In Australia we have a CMEN system where the neutral is tied to earth. Since your oscilloscope is also tied to earth this creates a short circuit and can be quite dangerous for your oscilloscope or circuit under test.

Find an isolation transformer or use a 240V to ~12V step down transformer that's isolated. See if that fixes your problem.
 

Online Phoenix

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: au
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #8 on: March 06, 2016, 11:02:49 am »
I'm not sure how much 15mF can help if you didn't add low ESR ceramic (one or more in parallel depending of required capacity and rated voltage) as close as possible to the buck power input.

The ceramic cap you speak of won't help with 50Hz/100Hz ripple.
 

Offline arcadeukTopic starter

  • Newbie
  • Posts: 8
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #9 on: March 06, 2016, 12:32:11 pm »
I think this might be your problem. What country are you in? In Australia we have a CMEN system where the neutral is tied to earth. Since your oscilloscope is also tied to earth this creates a short circuit and can be quite dangerous for your oscilloscope or circuit under test.

Find an isolation transformer or use a 240V to ~12V step down transformer that's isolated. See if that fixes your problem.

I am in the UK,

I understand what you are saying, and I have been careful not to create a current path through the scope.

For the purpose of my original question, imagine I am not measuring the AC at all, I only did this as a visual aid. In this case, the buck converter ground will still be tied to earth, and the scope will s till be measuring the DC output relative to earth.
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8058
  • Country: gb
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #10 on: March 06, 2016, 01:06:20 pm »
Do yourself a favour and find a transformer.

And for the love of noodles stop using earth as a current-carrying conductor.
 

Offline arcadeukTopic starter

  • Newbie
  • Posts: 8
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #11 on: March 06, 2016, 01:21:12 pm »

And for the love of noodles stop using earth as a current-carrying conductor.

I'm sure I am not, what makes you think I am?
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8058
  • Country: gb
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #12 on: March 06, 2016, 01:38:49 pm »

And for the love of noodles stop using earth as a current-carrying conductor.

I'm sure I am not, what makes you think I am?

All 3 channels of scope ground are connected to earth, the bridge rectifier negative is connected to earth, the buck regulator ground is connected to earth, so all measurements are relative to earth ground.

Ponder that earth is connected to neutral (the same neutral you're using on one leg of your rectifier).
 

Offline arcadeukTopic starter

  • Newbie
  • Posts: 8
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #13 on: March 06, 2016, 03:05:54 pm »
Scope ground is connected to earth, so everything measured is relative to earth.

I have just picked up a Meanwell metal framed PSU on the bench, DC, negative is connected to frame ground, frame ground is connected to earth.  So this is normal right?

I work on pinball machines daily, all DC rails (of where there are many in a pinball machine, are referenced to earth)

I'm not arguing with you, but I don't understand your point. DC ground is always connected to earth right, unless the supply is specifically a floating supply?
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8058
  • Country: gb
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #14 on: March 06, 2016, 04:27:17 pm »
Scope ground is connected to earth, so everything measured is relative to earth.

I have just picked up a Meanwell metal framed PSU on the bench, DC, negative is connected to frame ground, frame ground is connected to earth.  So this is normal right?

I work on pinball machines daily, all DC rails (of where there are many in a pinball machine, are referenced to earth)

I'm not arguing with you, but I don't understand your point. DC ground is always connected to earth right, unless the supply is specifically a floating supply?

But you're not isolated from a system which has an earth connection at a different point.
 

Online Phoenix

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: au
Re: Poor regulation / ripple in SMPSU Buck converters
« Reply #15 on: March 07, 2016, 07:09:19 am »
Scope ground is connected to earth, so everything measured is relative to earth.

I have just picked up a Meanwell metal framed PSU on the bench, DC, negative is connected to frame ground, frame ground is connected to earth.  So this is normal right?

I work on pinball machines daily, all DC rails (of where there are many in a pinball machine, are referenced to earth)

I'm not arguing with you, but I don't understand your point. DC ground is always connected to earth right, unless the supply is specifically a floating supply?

Your commercial power supplies have an isolated DC output (you'll find a small high frequency transformer or large mains frequency transformer inside them). This is OK to ground.

The supply you have constructed is not isolated from the mains. This is hazardous to ground (and hazardous to touch if wired incorrectly).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf