Seeking Feedback and Suggestions on Custom ESC Design for Drone Integration

Hey everyone, I’m excited to share my current project and would love to get your thoughts and suggestions. I’m building an ESC (Electronic Speed Controller) from scratch and will then integrate it into a custom-designed drone.
Solution:
Hi, I reached character limit on discord, so I've added my comments on this doc. Cheers! https://docs.google.com/document/d/11dqii1o3Np3LmN8Pq6OEqnvy3KBDijHr5KIcKhlCioc/edit?usp=sharing...
Google Docs
Nayels's ESC board review
Sorry for the late reply, here are my thoughts. I haven't read the other replies, so some stuff might be repeated. Okay, since its an ESC, first thing that comes to my mind is what the currents are going to be in the power traces and is the width is sufficient. If there is space limitations you ...
Jump to solution
29 Replies
Nayel
Nayel4mo ago
The ESC will use current sensing for low RPM or FOC (Field Oriented Control) and a BEMF (Back Electromotive Force) divider for high speed.
Nayel
Nayel4mo ago
The system features an STM32G431RBT6TR MCU, a DRV8323RHRGZR MOSFET driver to drive IRL7486 MOSFETs, a TPS5430DDAR buck converter for the 3.3V MCU power, a 3-pin PWM input and another for a potentiometer to adjust the motor speed, plus a USER RGB WS2812B LED.
Nayel
Nayel4mo ago
It will run on a 6S battery, and the motor I intend to control is a 5010-750 KV, designed to work with a 40A ESC. Currently, the MCU runs with a 96MHz crystal, but I plan to upgrade to a more powerful one. I appreciate any suggestions on my PCB and any general feedback on the design. It's my first time realizing a complex PCB like this one,
Thanks, Nayel KHOUATRA
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
attachment 0
Nayel
Nayel4mo ago
Thanks in advance for your time
Enthernet Code
Enthernet Code4mo ago
Hey @Nayel to begin by defining clear requirements and setting up your hardware and software development environment. Design your circuit, connect all components (MCU, motor driver, MOSFETs, power supply, potentiometer, PWM input, and RGB LED), and develop firmware using tools like STM32CubeMX and STM32CubeIDE. Test each component individually before integrating them, debug as needed, and ensure thorough system testing. Optimize performance, manage power effectively, and document your code and user guide. Finalize by stress testing, validating against requirements, and preparing for deployment and maintenance, using version control and collaboration tools for smooth project management. Here are some documentations you can study
Nayel
Nayel4mo ago
Thank you very much!
Joseph Ogbonna
Joseph Ogbonna4mo ago
Your design is great. Make sure to use and design with power integrity in mind. Are you using a dedicated layer for power or just a trace
Nayel
Nayel4mo ago
I'm using only the second layer as PCB ground plane, the 3V3, vbus... are traces
Nayel
Nayel4mo ago
I'm not very familiar with using a 4-layer PCB. I understand that one layer can be dedicated to 3.3V, another to GND, and the remaining two for signals. However, I'm unsure about the effective placement of components. My goal is to place the MOSFETs along with the shunt and bemf dividor on the bottom side of the PCB and the other components on the top side.
Joseph Ogbonna
Joseph Ogbonna4mo ago
Ok. Are there any critical signals in your design? Like any impedence matching trace
Nayel
Nayel4mo ago
In my case, I based the width of the traces and lengths on another person's design.
Nayel
Nayel4mo ago
And based on my current skills I'm unable to answer this question properly
Joseph Ogbonna
Joseph Ogbonna4mo ago
Ok I should be fine
Nayel
Nayel4mo ago
Thank you, Joseph, for sharing your insights.
Solution
hemalchevli
hemalchevli4mo ago
Hi, I reached character limit on discord, so I've added my comments on this doc. Cheers! https://docs.google.com/document/d/11dqii1o3Np3LmN8Pq6OEqnvy3KBDijHr5KIcKhlCioc/edit?usp=sharing
Google Docs
Nayels's ESC board review
Sorry for the late reply, here are my thoughts. I haven't read the other replies, so some stuff might be repeated. Okay, since its an ESC, first thing that comes to my mind is what the currents are going to be in the power traces and is the width is sufficient. If there is space limitations you ...
Nayel
Nayel4mo ago
Hi Hemalchevli, thank you very much I will check that right now!
Nayel
Nayel4mo ago
Thank you so much for your detailed feedback on the ESC design! I really appreciate you taking the time to share your expertise. Your suggestions on power traces, MOSFET thermal management, and PCB layout are super helpful. I hadn't thought about some of these aspects, like using functional names for indicators instead of just "LED1". I'm not familiar with the IPC7351 standard you mentioned - could you tell me a bit more about why it's important? Your advice will definitely help me improve this design. Thanks again for your help!
hemalchevli
hemalchevli4mo ago
Happy to help! If I have your permission, can I put the design review as content on my LinkedIn? I'll be including the pics you posted. IPC is a family of standard in electronics industry. IPC7351 defines how a footprint pad size should be. If you are not able to find them or generate them, the next best is to refer to the component's datasheet for designing the footprint.
Nayel
Nayel4mo ago
Yes sure!
Nayel
Nayel4mo ago
Oh ok, I will check that thanks!
Nayel
Nayel4mo ago
Hi everyone! I think I have finished my design, and I would like to thank you all for being part of this. There are some adjustments I didn't make, like the orientation of some designators which overlap with each other. However, I have made the necessary adjustments for the rest. In the next version, I plan to use a 4-layer PCB to make it smaller. Currently, I am learning different techniques. I am leaving the board as it is to mark a beginning, and in the next iteration, I will use the 4-layer approach. Here is the final version: Thank you again, everyone!
attachment 0
attachment 1
Want results from more Discord servers?
Add your server