2024-09-18 08:52 PM - edited 2024-09-18 08:55 PM
In the FOC Wizard, when the "I" coefficient of the Speed Regulator in the Drive Setting is set to Auto Calculate, it exceeds the maximum value.
In such cases, how should I set it?
I manually set the maximum value of 32767 for testing, but in the PI_Controller() function, the hUpperOutputLimit is 2136 and the hLowerOutputLimit is -2136. When the wProcessVarError is around 400, the wOutput_32 value becomes 4912958, so it always reaches the maximum value of 2136, making RPM control ineffective.
For reference, I am using the EVLSPIN32G4-ACT board.
I’m not sure what the problem is at the moment.
I need help.
Thank you.
2024-09-19 01:06 AM
Hello @Danu_Park,
Could you please precise the used MC Tool version and is it possible to share your ".stwb6" file?