Help controlling to stable IQ,ID setpoints, logging values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-04 8: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.
- Is this expected behavior with this particular motor and control board?
- Is there a way to log or plot IQ and/or ID such that I can graph them? Perhaps the average value is more stable than I realize.
Any advice is greatly appreciated!
- Labels:
-
STM32 Motor Control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-16 4: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-22 1: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
