Author Topic: help with buck regulator pcb  (Read 497 times)

0 Members and 1 Guest are viewing this topic.

Offline apraxophobiaTopic starter

  • Contributor
  • Posts: 15
  • Country: us
help with buck regulator pcb
« on: August 04, 2024, 06:38:46 pm »
I don't have much power electronics experience... And made a PCB using a design from TI's WebBench for a 12V to 6.5V, 15A regulator with an LM5117. I get the basic idea and I can more-or-less reason through how it works, but I am lost.

The output is correct (6.5V) and can drive small loads (I haven't tested large loads yet) but the noise is terrible. Clearly the switching is irregular and not at a fixed frequency. I've probed about every part of the board, and that irregular switching and noise is everywhere.

I was fairly careful during layout to adhere to the datasheet's guidelines but I did miss a few suggestions. That said, I didn't make any huge mistakes, and I'd be surprised if the layout is so severely wrong as to be causing this issue.

I know this is probably hard to fix, but even more broadly: How do I go about figuring out what the issue is? I've exhausted all the testing/probing I can think of. I need to get a design working ASAP. The webbench designs should be pretty good normally, right?
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22261
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: help with buck regulator pcb
« Reply #1 on: August 04, 2024, 07:00:36 pm »
There's no (or almost no) designators on the PCB, could you bring those forward a bit?

What I'm guessing is Rsense, has almost no grounding; there's tons of vias under the controller, but not here?  Maybe other ground spots too.  But I'll take a look later when it's easier to review (see above).

Tim
« Last Edit: August 04, 2024, 07:03:27 pm by T3sl4co1l »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: Someone, apraxophobia

Offline apraxophobiaTopic starter

  • Contributor
  • Posts: 15
  • Country: us
Re: help with buck regulator pcb
« Reply #2 on: August 04, 2024, 07:39:37 pm »
Sorry about that- attached is proper schematic and better layout photos with designators. Some of the larger input/output caps don't have designators but should be clear.

Vias under the IC were recommended by the datasheet/came with the footprint I downloaded.
 

Offline Whales

  • Super Contributor
  • ***
  • Posts: 2015
  • Country: au
    • Halestrom
Re: help with buck regulator pcb
« Reply #3 on: August 04, 2024, 10:07:22 pm »
How are you measuring the noise?  How much noise?

 - I assume you're hooking up a x10 scope probe directly on the output of the power supply. 
 - Make sure that the ground lead is also hooked up on the output, not somewhere else or disconnected.
 - Is the noise from the upstream power supply?  Try measuring just that with your board disconnected or disabled.
 - What is the noise floor of your scope?  My old 90's DSO is particularly bad.  Try measuring something else that you suspect is good as a control.

> Clearly the switching is irregular and not at a fixed frequency.

Fixed frequency operation is often only guaranteed for a range of loads.  At no-load you will often see pulse-skipping which adds a whole bunch of nasty lower frequency switching noise.  Attaching a load to the output may fix this.
« Last Edit: August 04, 2024, 10:15:35 pm by Whales »
 
The following users thanked this post: apraxophobia

Online Someone

  • Super Contributor
  • ***
  • Posts: 4849
  • Country: au
    • send complaints here
Re: help with buck regulator pcb
« Reply #4 on: August 04, 2024, 10:18:17 pm »
I was fairly careful during layout to adhere to the datasheet's guidelines but I did miss a few suggestions. That said, I didn't make any huge mistakes, and I'd be surprised if the layout is so severely wrong as to be causing this issue.
Why not follow the example layout in the datasheet? You've lost all its embedded knowledge.

T3sl4co1l found a problem pretty much immediately, whether that is enough to salvage the design remains unknown.
 
The following users thanked this post: apraxophobia

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22261
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: help with buck regulator pcb
« Reply #5 on: August 05, 2024, 01:53:16 am »
Some more documentation deficiencies:

And some layout comments. I think. Again, can only guess at what/where a lot of components are.



Spend time studying the datasheet/appnote layout -- appnotes in general are poor, but they're at least a starting point to go from.  Keep in mind that distance, trance length, body length, all count against you in terms of stray inductance.  You *will* see switching noise everywhere, because everything is coupled into the main switching loop: long grounds to few (mostly single!) vias means lots of nH's add up (figure ballpark 0.5nH/mm).  Use wide connections, lots of vias, especially when stitching top side to GND.

Maybe some ceramic caps on the output would be desirable too, I don't know.

The mostly solid bottom ground plane will help greatly with common mode, but do try to avoid trace length there, and when unavoidable, try to space traces so that ground can fill between them (and further, pour top side with GND and stitch that over the gaps made by bottom-side traces).  R29/C46 is especially egregious in this regard, crossing under the main switch node itself (I think), and thus preventing that node from having solid uninterrupted ground under it.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: apraxophobia

Offline apraxophobiaTopic starter

  • Contributor
  • Posts: 15
  • Country: us
Re: help with buck regulator pcb
« Reply #6 on: August 05, 2024, 04:21:38 pm »
What I am hearing is I do indeed need to be much more careful about layout!!

Thanks very much for all your suggestions- T3sl4co1l especially! Back to the drawing board I guess...
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 12433
  • Country: ch
Re: help with buck regulator pcb
« Reply #7 on: August 05, 2024, 05:02:15 pm »
I don't have much power electronics experience... And made a PCB using a design from TI's WebBench for a 12V to 6.5V, 15A regulator with an LM5117. I get the basic idea and I can more-or-less reason through how it works, but I am lost.

The output is correct (6.5V) and can drive small loads (I haven't tested large loads yet) but the noise is terrible. Clearly the switching is irregular and not at a fixed frequency. I've probed about every part of the board, and that irregular switching and noise is everywhere.

I was fairly careful during layout to adhere to the datasheet's guidelines but I did miss a few suggestions. That said, I didn't make any huge mistakes, and I'd be surprised if the layout is so severely wrong as to be causing this issue.

I know this is probably hard to fix, but even more broadly: How do I go about figuring out what the issue is? I've exhausted all the testing/probing I can think of. I need to get a design working ASAP. The webbench designs should be pretty good normally, right?
When you say “based on”, do you mean you used the WEBENCH schematic and component values, or did you also use its PCB layout? While they aren’t always perfect (especially if you manually change components to ones in other packages) but they’re a great place to start. If you didn’t use their layout, why not?

Alternatively, what about the layouts in evaluation boards or reference designs? These often give great insight (often explained in the documentation) on how to design a real board.
 

Offline AnalogTodd

  • Regular Contributor
  • *
  • Posts: 106
  • Country: us
Re: help with buck regulator pcb
« Reply #8 on: August 05, 2024, 06:47:24 pm »
One major thing I would do with your layout as well is look at grounding. You have 15A switching on this board! This is not trivial!

I see right away that your sense resistor in series with the low side FET goes through a tiny trace to a single via to your ground plane. This is going to completely throw off your current sensing.

A switcher like this takes careful thought to lay out, especially considering the spikes of current you will get. Layout must be done while thinking of parasitic inductance in every single trace and then comparing that to what the current waveforms look like. High dI/dt with fast edges is impossible with too much parasitic inductance.
Lived in the home of the gurus for many years.
 
The following users thanked this post: tooki

Offline Sagar

  • Contributor
  • Posts: 29
  • Country: in
Re: help with buck regulator pcb
« Reply #9 on: August 06, 2024, 11:22:31 am »
Barely I can found any Ground return paths, keep the switching circuit away from signal paths and try to add more different value capacitor at input. TI always provide referecne PCB design, if you go with that it works perfectly. btw, did you get the PCB and soldered everything, an you share noise behaviour.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf