cancel
Showing results for 
Search instead for 
Did you mean: 

MCWB 6.4.1 Auto Calculate option presenting error

Raul_Posada
Associate II

[PN]: STM32G431CBU6

[VERSION]: 6.4.1

[TOOL]: Motor Control Workbench

[DETAILS]:

The automatic calculation for the speed observer gains in the Speed Sensing Config and the speed regulator gains (Kp & Ki) in the Drive Settings fails. This occurs after importing a custom inverter board JSON file. The tool reports errors and does not populate the gain values.

[EXPECTED BEHAVIOR]:

After importing the custom inverter JSON file, the Motor Control Workbench should be able to automatically calculate and set the appropriate gains for the speed observer and speed regulators without any errors.

[HOW TO REPRODUCE]:

  1. Import Custom Inverter Board: Open Motor Control Workbench (v6.4.1) and import a custom inverter board using the following JSON file attached to the post:

  2. Navigate to Drive Settings: After the import, navigate to the "Drive Settings" tab.

  3. Attempt Automatic Calculation: Check the "Auto Calculate Kp & Ki" box under the "Speed regulator" section.

  4. Observe the Error: The tool fails to perform the calculation and displays an error message. The same issue occurs when attempting to calculate the gains for the speed observer in the "Speed Sensing Config" tab.

1 ACCEPTED SOLUTION

Accepted Solutions
GMA
ST Employee

Hello @Raul_Posada,

In the provided inverter JSON file, the offsetNetworkAttenuation parameter is set to 0. By setting it to 1, Workbench can compute the parameters.

Refer to STM32 Motor Control Boards Description page for more details.

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

View solution in original post

2 REPLIES 2
GMA
ST Employee

Hello @Raul_Posada,

In the provided inverter JSON file, the offsetNetworkAttenuation parameter is set to 0. By setting it to 1, Workbench can compute the parameters.

Refer to STM32 Motor Control Boards Description page for more details.

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

Hello @GMA,

Thank you for the support. Your solution worked, and I also tested with the value set to 0.01, which worked as well.

Best regards,
Raul Posada