cancel
Showing results for 
Search instead for 
Did you mean: 

MC Workbench Drive Settings Error

Danu_Park
Associate III

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.

Danu_Park_0-1726717938427.png

 

Danu
1 ACCEPTED SOLUTION

Accepted Solutions
GMA
ST Employee

Hello @Danu_Park,

Could you please precise the used MC Tool version and is it possible to share your ".stwb6" file?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

View solution in original post

1 REPLY 1
GMA
ST Employee

Hello @Danu_Park,

Could you please precise the used MC Tool version and is it possible to share your ".stwb6" file?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA