bldc icon indicating copy to clipboard operation
bldc copied to clipboard

Current control tuning

Open jschall opened this issue 1 year ago • 1 comments

Would be nice to have a current control tuning tool. For me, the computed PI gains from the characterization cause overcurrent faults. There seems to be a fairly narrow middle ground where lower gains cause overcurrent faults due to poor disturbance rejection, and higher gains cause overcurrent faults due to overshoot.

A tuning tool would input steps to the current command, and then provide sampled Id and Iq data for a period after each step.

A simple way to do this would be to add Iq, Id, and a "trigger on setpoint change" to the "Sampled data" interface.

jschall avatar Dec 13 '23 15:12 jschall

During pid tuning I noticed that motor demeanor isn't very linear during real usage under load. So you may get good results during open loop testing or bench testing with a constant load, but then get inconsistent results in real world.

Until today the best way I found for ground vehicle was to connect the vehicle vi internet and doing tests on track with one person providing "current steps" and the other evaluating and tuning from remote.

Gabrielerusso avatar Feb 18 '24 09:02 Gabrielerusso