I am really scratching my head at this. I don't see anything wrong with my circuit but my regulator gets EXTREMELY hot while in operation.
What I'm building is a USB phone charger for my e-bike as part of my DIY e-bike project. I want to support a battery as high as 48 V, so I selected a regulator that can handle this and then some. The regulator is set for a maximum of 3 A, which is plenty for even an iPad. My inductor is rated to handle more than 150% of that.
With no load (reads as a few mA at the PSU of course due to losses) the chip stays cool. With a small 5 V LED it still stays cool. As soon as I add any substantial load (even just say 400 mA) the chip immediately starts getting very toasty >50-60 degrees and climbing. (I think so anyway, my temperature probe sucks and I need to invest in a thermal camera). Plug in my phone which tries to draw around 1.8 A, and it's enough to burn my finger within 3 s.
I tried adding a moderately sized heatsink (with some thermal paste from my gaming PC build), but it's not enough. Now it just takes 30 s to start roasting instead of 3 s.
On a multimeter the chip outputs a nice, smooth 5.1 V regardless of load condition (even with a USB fan), so it's clearly working, but why's it getting so hot? It seems to get scorching hot at the same rate whether my PSU is set to just a few volts above at 8 V, or all the way at 32 V (which is as high as it goes).
Is there something I don't understand here? Is it because I used a smaller inductor than the datasheet recommends? Would that lead to heat? The inductor is totally cool by the way. It's only the regulator IC that is getting hot.
The regulator is an XDS TX4138.
Edit: Here is my terrible PCB layout lol
Oh, and for the folks complaining about capacitors, I'm trying not to overdo it on the input caps, because the balance board already has such massive ones that the system stays on for 10 seconds after the battery is removed. And for testing purposes I've got a 10,000uF cap I stole from a dead AC. As for output caps, I've got a 470uF one soldered into the cable going to the USB plug.
Update #2: Someone asked for the specific inductor I used, so here it is. I've ordered a new 33uH inductor to replace it. It has a higher resistance, but it's all I could find to fit into a similar footprint. I will also try to add a small ceramic between BATT and GND pins directly on the chip.