2019-02-04 08:20 AM
Newb question here. I have the ST FOC and 6step motor control kit (Nucleo F302R8 , X-Nucleo- IMH07M1 and running bull BR2804-1700KV-1. I have been able to successful using the startup guide for motor control workbench to build and download a configuration, and do simple speed based control with the motor control workbench.
I am now attempting torque control and use ID, IQ setpoints. I have a slight load on the motor, but the issue i'm having is that the IQ measured current is very unstable around the setpoint. I have adjusted the IQ gains a bit the instantaneous numeric display is not very stable.
Any advice is greatly appreciated!
2019-05-16 04:36 PM
I solved this by:
Writing an averaging function in mctasks.c based upon measured id iq and doing a printf to the screen.
2021-06-22 01:53 AM
The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards