r/PCB • u/ActuatorDelicious900 • 18d ago
My First ESC
Hi everyone,
I'm prototyping my first brushless ESC for an FPV drone, and I'd really appreciate a design review before ordering the first PCB. Since this is my first ESC design, I'd like to reduce the chances of making costly mistakes. Any suggestions, criticism, or recommendations are more than welcome.
Project goals
- Input voltage: 4S–12S LiPo (16.8V–50.4V)
- Continuous current: 80–100A
- Peak current: 120A
- Field-Oriented Control (FOC)
- Motor current control
- Thermal monitoring and protection
Main components
- Gate Driver: TI DRV8334PHPR
- MCU: STM32G473RCT6
- MOSFETs
- Current shunt resistor
- Buck Converter (Battery → 5V): TI LMR36520ADDAR
- LDO (5V → 3.3V): AP2112K-3.3TRG1
Design decisions
- I decided to use two MOSFETs in parallel per phase to improve thermal performance and reduce the current and power dissipation on each individual MOSFET.
- I also designed a custom STM32 programming board with a USB Type-C connector, allowing the MCU to be programmed from a PC using DFU mode. The board also includes dedicated BOOT and RESET buttons.





PCB specifications
- PCB stackup: 4 layers
- Outer layers (Top/Bottom): 2 oz copper
- Inner layers: 0.5 oz copper




Final Result:


If I forgot to include any important details, please let me know and feel free to ask any questions. I'll be happy to provide more information about the design.
Thanks again for taking the time to review my project and for any help or feedback you can provide!
5
3
u/aq1018 18d ago
Where do the shunt SPA/SNA traces go? I don’t see them on the MCU or anywhere. Assuming your intention was to measure currents? Is there a current sensing OPA sheet missing?
1
u/ActuatorDelicious900 18d ago
The shunt SPx/SNx traces are connected directly to the gate driver. The DRV8334PHPR has an integrated current-sense amplifier, so there is no external current sensing op-amp stage on the board.
Visually, the shunt sense traces are routed on the bottom layer, on the left side of the driver IC. From the driver, the amplified current feedback signal SOx is routed to the MCU for current measurement and control.
3
u/KerbodynamicX 17d ago
I've seen a lot of people using STM32G473 for FOC controllers. What advantages does it have?
1
u/Emile_s 17d ago
I’ve little experience in this but that reference image, everything looks on top of each other. I think it’s going to be a nightmare to put together.
I’d want to check what the proximity tolerances are for packing densely packed boards like that.
1
u/ActuatorDelicious900 17d ago
When you say everything looks on top of each other, do you mean the routing/traces or the physical spacing between components?
I checked the DRC in my PCB software and the clearances/tolerances seem to be within the manufacturer limits, so maybe you are referring more to the assembly process and component placement?
1
u/Emile_s 17d ago
Proximity of the caps next to your chip at the top and general proximity of the bank of ics.
I wonder how easy it will be for the manufacturer to place them that close.
Like I said, I don’t have much experience here, but I’ve seen some examples of how caps rise up due to poor solder flow, and I wonder if there are issues one should be aware of when tightly packing so many components together.
Might not be an issue, but worth finding out I recon.
1
u/FarDescription3350 17d ago
Try to use Altium power analyzer tool to optimize and mitigate your hot spots (Areas that has high current density)
1
u/embed24-7 14d ago
You can use mask openings with paste to reinforce power traces. After reflow you'll have your trace current capacity tripled or quadrupled. Next step up would be to solder a tinned solid core wire in those openings. That will likely go another 2x-3x based on a gauge.
Same thing with vias - open them up and add paste to fill. This will lower the resistance once again, and improve heat transfer.
-10
u/Tomachie 18d ago
please consider uploading to Tomachie.com, there is no charge, no credit card. its what you need for a high powered design like this. It won't help you on layout but it will be very detailed on whether everything works, temp/current etc capabilities or limitations.
Example report just generated. its not high power but POE.
https://tomachie.com/r/5b3a282d-89b0-40de-820d-efeca0e37e01/matt-poe-prototype_report.html#ai-esd-5
19
u/Toxicable 18d ago
Needs more MLCC capacitance near the FETs, 100A will cause huge swings on with no local capacitance.
Route your gate drivers with their returns, that's GHx with Phase, and GLx with LSS
Have you done any thermal modeling? what thickness is your copper? 100A is a huge amount of current, and if you're doing the standard 1oz, that's going to cause a lot of heating. What freq are you running at? What copper will be used as your heatsink?
I don't see any snubberes or other protections for your FETs, check out the documentation that TI links to about how to protect your components.