cancel
Showing results for 
Search instead for 
Did you mean: 

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

Luczia
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Enrico Poli
ST Employee

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 

View solution in original post

4 REPLIES 4
Enrico Poli
ST Employee

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
Associate II

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 ?

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...
Lead II

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

Best regards