Skip to main content
Zt Liu
Senior III
May 8, 2019
Question

Does ST FOC SDK support generator mode?

  • May 8, 2019
  • 3 replies
  • 1966 views

Hi, dear all!

I am curious about the current functionality of FOC SDK.

I checked that in ST Motor Control Workbench does support over voltage protection and a brake resistor can be used to dissipate the power.

But I am curious about whether or not the motor can work in torque mode,

and continues to produce a resisting torque, dissipating mechanical power and converts to electrical power.

like a negative Iq configuration?

thanks for reading this post!

Zt.

This topic has been closed for replies.

3 replies

kswarm
Associate II
May 15, 2019

Hi Zt.

I am, al well, new to the ST MC SDK, but so far, I think the generator mode is not supported, haven't seen anything related in the documentation.

E

Hani Chahine
Associate II
May 16, 2019

Yes. When torque (Iq) is the opposite direction of speed you will be regenerating​. This is an inherent feature of FOC.

Zt Liu
Zt LiuAuthor
Senior III
May 20, 2019

Thanks for the reply, Hani!

Have you ever tried this generator mode using ST's FOC library?

Andrea Canepa
Senior
June 19, 2019

The proof is that if you go to run the motor at high speed (5000 RPM) and then set a low speed (500 RPM) with zero or low value ramp (10 ms) you will get that MC Workbench Monitor will report a failure for "Over voltage ". This happens because the regenerated voltage causes the bus voltage to rise, but since there is no braking circuit (with resistors), this voltage exceeds the maximum threshold. To verify all this I advise you to feed the card with 30Vdc instead of using the small 12V power supply included.

Laurent Ca...
Senior III
June 15, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards