Designing your own power supplies: Ripple and filters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Th3_uN1Qu3
    Believe in
    • Jul 2010
    • 6031
    • Romania

    #1

    Designing your own power supplies: Ripple and filters

    Since the overwhelming majority said "yes" when i asked if you wanted to learn how to design your own SMPS, i'll start writing some useful stuff from time to time. Today i'll be talking about the various ripple mechanisms in a SMPS supply. This is going to get long probably, but it'll be full of useful info so read on. Ever wondered why, while the switching frequency is in the 10s, sometimes even 100s of kHz, the output L-C filter has a cutoff in the 100s of Hz? Well, here you go.

    In a SMPS we have many types of ripple.
    • Ripple from the switching frequency (this is always present)
    • Ripple from the load (especially true for PC and LCD power supplies where the loads are other switching power supplies)
    • Ripple from whatever frequency the controller is correcting at (which may or may not be the load frequency!)
    • Ripple from ringing of the output filter at low loads (hence the need for those pesky minimum load resistors)

    Now i'm sure you realize that those poor caps take quite a beating.

    Note that i omitted mains frequency ripple from the list. In a regulated SMPS the controller cancels that out. This is how they get by with so small primary capacitors. However, a regulated SMPS isn't the ideal power supply for all types of equipment... Audio amplifiers for example do better with unregulated rails. If your SMPS is unregulated you have to worry about mains frequency ripple too, and the load ripple becomes several times larger! And there we go, we need lots of caps again...

    Filters.
    While all SMPS books give formulas for filter calculation, there is something that i haven't seen mentioned too much, and that becomes very apparent in simulation. That is, filter overshoot when transitioning from a heavy to a light load. Most dangerous when you're going from max load to zero. An inductor is a device that opposes changes in current. That's actually why SMPS supplies work in the first place. When current demand is suddenly removed, the inductor has to release the energy it had been storing to deliver that current. And this translates to a sudden increase in output voltage. Most books probably assume that we're doing fixed output power supplies and there is some sort of overvoltage eating circuitry at the output, such as a zener diode. Even so, that must be sized properly, and if you hit it all that often, efficiency suffers. This can be mitigated by having a proper filter to begin with.

    Generally speaking, the bigger the inductor, the higher the overshoot. Now, with a bigger inductor, we would need less caps since there is less ripple current left, isn't it? Well, in theory. In practice, taming overshoot means we would need bigger caps. Fortunately this isn't an issue in PC SMPS as they always cheap out on inductors. However, the smaller the inductor, the greater the minimum load required... are we running in circles already?

    But why is minimum load so important? Well, the ringing of the output filter:
    • Appears as unwanted ripple at the output
    • Can confuse the control loop and cause it to oscillate

    The first one is a non-issue generally. The second however is a big problem. The fact is that in an effort to get good transient response (which btw is only essential in some specialty applications), many design engineers do not leave enough phase margin so this ringing could cause control loop oscillation. It's also unfortunate that at the transition between continuous current mode and discontinuous current mode in the inductor, the maths change a lot. And control theory is hard enough as it is.

    Now, i propose a different approach. Let the sucker ring all it wants and adjust compensation components to suit. But this is for another topic... Anyway. Simulation can be a great aid to people like us who have no access to expensive equipment like network analyzers. You cannot compensate a control loop without a Bode plot of the frequency response, and by plugging real-world measured data in a simulation, you can get *very* close to what the real thing would do. You have to design on the conservative side anyway, since real-world parts have real-world tolerances, so overcompensating in the simulation is perfectly adequate.

    I once read about a power supply design that worked fine as prototype but when they received the first batch from the factory it oscillated. It turned out that one little Chinese worker forgot to put one of the layers of tape on the transformer. This changed the response of the entire supply... IMO this screams of bad design. If one missing layer of tape threw it into oscillation, i can only imagine what real-world aging capacitors would do to it.

    That's it for now, stay tuned.
    Last edited by Th3_uN1Qu3; 03-01-2011, 03:45 AM.
    Originally posted by PeteS in CA
    Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
    A working TV? How boring!

Related Topics

Collapse

  • dkneyle
    Onkyo DX-V500 Laser Disc Player - weird SMPS fault
    by dkneyle
    This relic from a technology path that came to a dead end (but still has historical interest) was brought in with a dead SMPS, which is based around a MK1210 device. I got it going after a battle. It seems to have a strange design - if it's not getting feedback that the secondary is OK it cause the big FET to go into full conduction and overloads resulting in a blown fuse at best or something worse! I'm using a Dim Bulb Tester (70W/230V) which thankfully has saved the day a number of times whilst repairing.

    Now, it loads a CD OK. The motor voltage output (which is built onto the SMPS...
    02-01-2022, 02:08 AM
  • shamsudeen
    Hi, Can we use SMPS Bench Power Supply for Laptop troubleshooting?
    by shamsudeen
    Hi all, I just need to know that, can i use SMPS type power supply to test and short circuit detection on a laptop motherboard?
    I saw 95% of repair guys are using only Linear bench power supply. linear bench power supply is pricy, thats why i planned to get one SMPS supply.

    i know that in linear power supply the noise will be very low comparing to SMPS supply....
    07-19-2025, 07:14 AM
  • chth96
    Is it no harm to replace with capacitor without ripple current rating?
    by chth96
    When I tried to repair LG 29 inch CRT TV, I found that the ESR value of samyoung SMS capacitor(160v 2.2uf), which is very close to D1879 transistor, is 6 ohm.


    Judging from above ESR Meter Table,I think It is necessary to replace this sms capacitor.So I visited local electronics shop,and I purchased 160v 2.2uf rubycon YK capacitor.
    But when I browse through rubycon YK datasheet,I found that there is no ripple current rating for 160v 2.2uf specification. But On the contrary, I found 39 mA ripple current rating for 160v 2.2uf SMS capacitor.
    Rubycon YK DataSheet (b...
    04-19-2024, 05:19 AM
  • Antonynl
    What are typical ripple voltages on a laptop motherboard?
    by Antonynl
    I have here a HP pavilion hp 15-cs2975nd with a 1.095v power supply that is driven by a FDMF3035. I do see about 80mV of ripple on my scope. I searched through the datasheet to find possible values of the ripple but I don't understand the datasheet well enough.

    So I have two questions:
    1) what is the typical ripple voltages of gpu/cpu on a laptop or pc mobo?
    2) what would be the max ripple of a FDMF3035 that drives an output of 1.095V?

    Would be nice to have a rule of thumb of say a percentage of the supply voltage to be an acceptable ripple voltage....
    12-09-2022, 06:51 AM
  • iMic
    Vintage AT Power Supplies - Selecting Capacitors
    by iMic
    Hi,

    Back after a long hiatus with some old power supplies that need repairing. I've recently picked up a couple of 386SX systems, two 486DX systems, a SiliconGraphics Indy and an iMac G3 that either have verified leaking capacitors in their power supplies, or are likely to in the near future. For the sake of simplicity, instead of tackling all at once, I'm starting with the 386's and one of the 486's.


    The 386's power supplies are Seasonic SS4040A's, with caps that are visibly leaking, and 9 replacement caps per unit are required. Most appear to be from the Rubycon...
    02-19-2023, 06:45 PM
  • Loading...
  • No more items.
Working...