AnsweredAssumed Answered

Custom board based on STEVAL-ESC001V1 fails to startup

Question asked by Alexey Leshchenko on May 4, 2018

Greetings!

I have made a custom board based on STEVAL-ESC001V1 but with 2 identical channels(schematic attached). I use  ST motor control workbench 4.3 and configuration for STEVAL-ESC001V1 included in workbench package. My board and STEVAL-ESC001V1 have some  differences: other MCU, gate driver with other logic, other FETs. My one uses STM32F303CC instead STM32F303CB, but as i understand only difference between these MCUs is memory size, my is bigger. Gate driver from original board have inverted low side input, my one have both uninverted. I changed this logic in board configuration in workbench. My FETs are not so powerfull as original, but it is overkill for 30A motor anyway.
So i have generated configuration in STMCWb for STEVAL-ESC001V1 with customized gate driver logic, built binary, flashed MCU, connected it to PC via USB-UART. Connection is fine, start ramp is 5 steps 1000ms +500rpm each. But every time i try to start the motor i get startup error. Motor accelerates by ramp and then stop. Idle current is 0, current durring start ramp is 3A. I use T-motor MN4014 link
So, do you have any suggestions what is wrong?

Also i checked sourse code of FOC library and i can't find any ADC sampling for BEMF signals, only for current shunts signals. That way i don't understand how this driver detects rotor position and switch phases. That way second question is  how does this driver work in sensorless mode?

Any suggestions or feedback is much appreciated!

Thanks in advance.

Attachments

Outcomes