Skip to main content
Luczia
Associate II
October 11, 2020
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

  • October 11, 2020
  • 3 replies
  • 1447 views

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.
Best answer by Enrico Poli

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 

3 replies

Enrico Poli
ST Employee
October 14, 2020

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
October 14, 2020

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
October 15, 2020

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
June 21, 2021

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

Best regards