Skip to main content
Luczia
Associate II
Oct 11, 2020 5:58 PM UTC
Solved

Is there a way to fine-tune motor parameters (final ramp value, speed ramp up...) in the motor workbench without systematically re-generating code from Motor Control Workbench

Hi !

Is there a way to fine-tune motor parameters (final ramp value, speed ramp up...) in the motor workbench without systematically re-generting code from Motor Control Workbench

and then Cube-MX everytime every time I'd like to adjust a parameter ?

It could take more than 3 minutes to change each parameter which makes the fine-tuning a hurdle.

This topic has been closed for replies.
Enrico Poli
Enrico PoliBest answer
ST Employee
Oct 14, 2020 7:57 AM UTC

Hi @Luczia​ 

You can change the start-up sequence and many other parameters using the monitor feature of the workbech.

In particular, in the "configuration" tab you can find a list of 5 steps used for the ramp-up.

0693W000004Jh9AQAS.png 

In the "advanced" tab you can find all PI gains (speed control, id/iq control, flux weakening, etc.) and some other control parameters for the sensorless algorithm.0693W000004Jh9PQAS.png 

4 replies

Enrico Poli
Enrico PoliBest answer
ST Employee
Oct 14, 2020 7:57 AM UTC

Hi @Luczia​ 

You can change the start-up sequence and many other parameters using the monitor feature of the workbech.

In particular, in the "configuration" tab you can find a list of 5 steps used for the ramp-up.

0693W000004Jh9AQAS.png 

In the "advanced" tab you can find all PI gains (speed control, id/iq control, flux weakening, etc.) and some other control parameters for the sensorless algorithm.0693W000004Jh9PQAS.png 

Luczia
LucziaAuthor
Associate II
Oct 14, 2020 7:45 PM UTC

Hi Enrico

Okay, thanks for the answer. I didn't realise they were the same parameters.

And we don't have to acknowledge the emission through the UART (like click on a "send/write" button) ?

Each time we modify an editable field, it automatically send the new field value to the board ?

Enrico Poli
ST Employee
Oct 15, 2020 2:46 PM UTC

Hi @Luczia​ 

Yes. No send/receive acknowledge is needed.

As soon as you write the value it is sent to the MCU through UART and updated accordingly.

Laurent Ca...
Senior III
Jun 21, 2021 8:08 PM UTC

The question has been set only to the "STM32 Motor Control" topic (the question is only about the STM32 MC SDK). 

Best regards