Hi everyone , I’m new on the SimpleFOC community. I recently discovered SimpleFOC and it’s an amazing project
!
Here is my problem , I would like to control three bldc motors in close loop FOC control using hall effect sensors and phase current monitoring with the help of the STM32G474 IC. But I’ve searched and some people say that it’s not possible due to too small number of timers and small calculation capability of the stm32G4 family device
, is it true?
On the datasheet on page 2 it says:
“- 3 x 16-bit 8-channel advanced motor
control timers, with up to 8 x PWM
channels, dead time generation and
emergency stop”.
So it has the hardware to do the job…?
Also, should I use 6-pwm or 3-pwm control, there are enough i/o pins to control them via 6-pwm and 3-pwm, but is the mcu’s computing power sufficient?
To give you some context, I am currently designing a custom PCB with two DRV8316CR and one DRV8353RS bldc drivers. And I want to control them via an MCU that would communicate with a Raspberry via USB or UART.
Here is a summary of my post:
- Is it possible to control in FOC three bldc closed loop motor with a STM32G474?
- Should I use 6-pwm or 3-pwm for my application?
Any help is welcome! If you need any information, ask me
Sorry if my english is terrible