[Advice Request]: managing thermal pads for SMD components in custom PCB
Hello everyone, I need some advice.
I am making custom PCBs for a project of mine. It's basically for a little remotely controlled robot using little DC motors. I chose the Seeed Studio XIAO ESP32C3 as the uC since it has inbuilt wifi/bt, 3.3V regulator that I can use to power the motors (can source up to 700mA) and lipo charging management (the robots will run on battery). As you can see from here, the microcontroller is surface mounted and the pads for the battery are on the bottom layer. Same story goes for the thermal pad of the microcontroller and the thermal pad of the motor driver (datasheet).
I have worked with SMD components in the past and can solder them by hand, but I have never worked with SMD components that have thermal pads on the bottom layer. My question is: how to manage (route?) them? My PCB is 2-layer and I was planning on having both layers filled with a ground plane. Do I just connect thermal pads to the ground plane and call it a day? Wouldn't that make the components hard to solder with hot air? Do I make an isolated polygon that only acts as a thermal pad?
Speaking of soldering is even hot air the way to go in this case? My PCB has components on both sides, and I was planning on ordering stencils together with the boards and using solder paste, placing the components and then using hot air to solder the components in place. I thought a hot plate would be better but I don't have access to one and I don't know how that works with components on both sides.
I attached some photos of the PCB in Kicad, and here's the git repo. If it is of any help, I'm planning of having them manifactured by JLCPCB.
It is also my first time using KiCad, so go easy on me :)
Yup, the thermal pad is usually connected to ground with multiple evenly spaced vias
What are the sizes for your via and traces you are using btw?
Edit: I would also make the first one all on the same side unless it's really crucial it stays that small, it's generally not advised to put components on both sides unless you have no choice. It will make routing and your gnd plane simpler. If your gnd plane is Swiss cheese, it doesn't really do its job properly and might actually cause other weird problems.
Trace width depends on the net class, I calculated them using kicad's built-in calculator
0.127mm (minimum by jlcpcb) for signals and low current
0.15mm for motors (the max. current the driver can source is 400mA per channel, I overspec'ed them since my motors will absorb current in the order of 100mA)
0.3mm for power supply
I also need that the PCB stays as small as possibile, so having components on both sides is a necessity for me
I usually try and go a bit higher for trace size than needed to avoid complication and aid in heat dissipation. My signals are by default .25 and my power traces are usually between .5 and .75 (my teacher argues for 1 and 1.5).
There are trace width calculators online like on digikey that can tell you he minimum you need.
Your vias are fine though, I usually go 0.5/0.3 . If you bring up your power traces, you have to keep in mind a vias hole should be the same size or bigger than the trace.
I also edited my other comment while you were replying, sorry.
Just saw your comment on the PCB size. In that case I would definitely go with a four layer board to avoid issues (heat and signal integrity).
The vias are there to transfer heat to a solid gnd plane to properly dissipate it mainly but not all components need them. I usually add them anyways but the datasheet should tell you on their example footprint, some components even tell you specifically not to.
If you have components on top of each other, I think it's better to forego them instead of linking two relief pads together but maybe with a solid gnd plane in between, it's okay.
I also just saw how they places their vbat and gnd on your main chip, I don't think I would put any there either unless it asks for it.
If you have pics of the schematic, I can take a deeper look at it. Cool project, first time I see that chip.
Look at your datasheet, but put some thought into it too.. I like to segment the heat via, breaking it so that the heat dissipation isn't infinitely large.
In other words: vias that can wick heat to the other side of the board, and on that other side, a smaller gnd plane made by breaking the connection to the rest of the gnd plane.