4 * DRV8323SRTAR and STM32F401VET6 Prototype Schematic Review

Hey SimpleFOC Community,

I’m trying to design my own PCB to control 4 x 300W three-phase motors with the DRV8323S BLDC and an STM32F401VET6.I i know all the SOA, SOB, SOC, ENABLE and CAL are not connected, i have to figure it out where to connect to have a smooth rooting

The objectif of the project is to create a omnidirectional RC car

I’d like someone to have a look over my schematic to make sure I haven’t made any silly mistakes, and any feedback would be appreciated.

(sorry for the picture, new user can only post 1 media)

please find links for motors and Bluetooth

Thanks you :slight_smile:

Paulo971

motors

Bluetooth

1 Answer

1

Hi Paolo, welcome to SimpleFOC!

Running 4 motors on one MCU will be a big challenge in terms of the performance and the pin assignments.

The schematic you linked is a bit “fuzzy” (low resolution), I can’t really make out the details of the pins you’re using. But you’re not free to just choose any pins, for the PWM signals you have to choose pins coming from the same timer.

Same for the ADCs for the current sensing. You’ll have to choose pins that are attached to the ADC(s) in the right way for your current sensing scheme. Be aware that at the moment we only support current sensing for a single motor, so you would have to extend the driver to support 4 motors.

But also the position sensors are important - ideally you would want to use ABZ encoders with hardware encoder support, so you would have no latency reading the sensors. But this requires dedicated timers, and for 4 motors you may find yourself running out of timers to use…

Hey runger, Thank you for the reply and sorry for the picture i try my best to give as much infirmation i can with one picture. i know about the pin, i used CUBE MX from ST to configure ADCs, timers and PWM but i saw on the datasheet that i can run one driver with only 3 PWM so that divide by 2 the number of pwm required. can you tel me more about the ABZ encoders, i never heard about that and when i look on google that look like a hheady duty motors with a 100 pin stm32f4 i have enought timers