Implement brake mode and avoid overvoltage
Hi,
[VERSION]: MCSDK 6.2.0
[TOOL]: SDK Application Code:
- single PMSM Motor
- FOC
- Sensorless Cordic
- on STM32 G4
- on the fly startup enabled
- flux weakening enabled
- speed controller
[DETAILS]:
We have a fan application with large mechanical energy and a very small bus voltage capacitor. So it happens by decreasing the speed reference in a speed controlled PI controller that the overvoltage is happening. If we use less accurate PI parameters this also happens if the fan swings over at the final speed ramp. So, there is nothing surprising here because the motor acts as generator in "brake mode".
The motor SDK has only one brake mode to avoid overvoltage and this is the extra brake resistance that could be activated at a specific bus voltage level. Is this correct observed?
The best solution for my specific application would be to short the motor winding's at low side or high side or maybe in interchange to get a good head extraction and "pump" the rotary energy in the IGBT Block and the motor winding's. I wounder a bit why this option is not part of the STM Motor Control SDK, did I miss something?
How could I start implementing this without loosing the speed reference, because I use the sensorless Cordic algorithm? It should also smoothly decelerate without stopping the motor. A smooth ramp from e.g. 3000 rpm to 1000 rpm is desired.
[EXPECTED BEHAVIOR]: maximum decelerate without bus overvoltage based on max IGBT temperature
best regards
Sebastian
