I am looking to build an adjustable output buck converter with the following requirements:
- Output 1.25-15V
- Input 20-24V
- Max current 5A (with limiting)
- Max output ripple 100mV (preferable but less crucial)
- PCB area of 50x50mm
Using the LM5085 IC: datasheet, I believe I have a design that will work. The design I have opted for is the "typical application" schematic on pg1 of the datasheet, with the addition of a sense resistor:
I am fairly confident with my choice of values for the components just by following the equations throughout the datasheet (note: \$ C_{OUT1}\$ and \$C_{OUT2}\$ have no values shown as they are there for the needs of any future projects with different capacitor package constraints).
NOTE: I have not included the calculation of component values because it was not the scope of the question, the values can be seen in the schematic diagram though. If for any reason they are needed i can provide an edit with all my working.
My first question is regarding \$ R_{adj}\$, as shown in the design example on pg18-19 of the datasheet, the current limit comparator offset and ADJ pin sink tolerance can cause the actual current limit value to be somewhere in quite a large range. Is there any issue if I were to leave \$R_{adj1}\$ as an open circuit, attach an output load that will draw ~6A, then tune the value of the trimpot \$R_{adj2}\$ until the current is limited to 5A?
The rest of my questions are about the layout of the board. This is my first PCB with higher frequencies and larger currents so i expect to have a lot to learn. Using the layout example on pg23, this guide, as well as other questions posted about routing with high frequencies, high currents, and routing around inductors I have this understanding:
- Must minimise loop1: \$D_1->L_1->C_{out}->D_1\$
- Must minimise loop2: \$C_{in}->R_{sns}->Q_1->L_1->C_{out}->C_{in}\$
- Connection from \$R_{sns}\$ to ISEN pin must be kelvin connection
- Avoid all traces and pours running under the inductor where possible to minimise induced noise/current
- High current carrying traces must be thick and short
- Keep feedback trace away from inductor and other noisy traces
- Avoid using vias wherever possible for high switching signals
With all these in mind, my first attempt is shown below. It is worth noting that the maximum switching frequency (occuring at \$V_{out}=max\$) is approx 420kHz. For reference the thickness of traces are: N$6 is 1.68mm (will likely be made thicker as there is plenty of space), VOUT going to the output terminal J4 is 3mm, and small signal traces are 0.254mm. Using the online trace width calculator gives a temp rise of ~23C on the 1.68mm traces.
This is not the most recent design, it is left here for storytelling, see EDIT
Showing the size of the loops:
The main concerns I have are:
- Are these trace thicknesses in the right ballpark?
- I have minimised the loops as best I can but if it's a bad job let me know
- The two vias under the LM 5085 are necessary to connect the input terminal J3 to the top layer GND pour. The only way i see to avoid this would be to instead use vias on the FB trace (coming from CFF to the LM5085) to allow a top layer trace to run from J3 to the top layer ground plane. I have not opted for that in the current layout because it is required that the FB trace needs to be kept away from noise, Figure 7-c on the aforementioned layout guide here however does make use of vias so maybe this is a possibility? What should be my priority here? direct FB connection on one layer or connecting ground to the input terminal without vias?
- The gate signal also contains 2 vias to allow the ground plane to reach the input capacitors and the diode, the alternative would be to have it as just a top layer trace and use a via to connect the capacitors to the bottom layer GND pour. What is worse for performance here? connecting input caps to GND through via/s or having two vias on a signal operating at 420kHz?
- If there is anything else I've overlooked or could just improve on?
I know this was a longish read so thank you so much for any help and suggestions, Ill be posting the results when the buck is finished and tested!
EDIT 1
After looking at the linked evaluation board layout I have redone the board, trying to only make necessary adjustments:
Original schematic diagram has been updated to new setup, I am now using the "reduced ripple level" configuration.
Component Changes:
- \$C_{out}\$ are now ceramic
- Inductor is now SMD and smaller package size
- Eliminated obsolete trimpot (\$R_{FB1}\$)
- Values for \$C_{in}\$ changed, now includes bypass cap
- Changed Q1 to to220 package to allow better heatsinking (shared by D1)
Addressing @Ali Chen Re: "what is the purpose of the design? For 1.25V there will be quite different optimum than for 15V output"
The purpose is to build a SMPS that can operate similar to a benchtop supply, but can be enclosed in a larger project. You are right that the most optimal set of component values will be different for different outputs but for my purpose it is enough that the project works, obtaining max efficiency/min output ripple etc is not my priority.
My line of thinking for component values (and please correct me if this is wrong) has been to use excel to give key figures over the output range of 1.25-15V (\$V_{o(ripp)}, V_{FB(ripp)}, I_{L(ripp)}\$ etc.) then comparing these with the regulators requirements (e.g \$V_{FB(ripp)} > 25mV\$) to find component values that would work for all outputs.
I would welcome feedback on this new design, my new concerns are:
- Are the kelvin connections on \$R_{sns}\$ acceptable?
- Thermals vs no thermals? the layout on the evaluation board uses no thermals, i have used them for most connections. Will this be okay aslong as the combination of all traces going in to the pad can handle the current?
- Any other thoughts?
EDIT 2
Taking the advice of @winny, I have reduced the size of the layout by mounting D1 and Q1 back to back. It was also suggested to move Cin closer to Q1, so I have tried this. Cin1 is the original position of the electrolytic as governed by the evaluation board layout. Cin4 is my attempt at moving it closer, is this a better position for it? Or is its ground terminal now located too far from the loops?
Lastly, the effectiveness of using an electro at frequencies up to 420kHz was questioned. This board has an output of 1.25-15V meaning its frequency will actually be somewhere in the range 40-420kHz, so I am expecting the electro to help reduce the ripple at the lower outputs. (Also considering adjusting the frequency range to 20-200kHz)