sysId for other Characterizations #7070
-
So I guess one could argue that the most used feature of sysId is motor characterization with drivetrain probably being a very close second. I could be wrong. Anyhoo. I know from discussions with others on either CD or github that you can use sysID for FOC characterization (torque/current) by passing in current for voltage. What I want to know is this a general case for all systems that can be reduced to a model similar to that of the DC motor. I'm guessing so. I'm wanting to characterize a PID loop where velocity is an input and position of the commanded mechanism is the output. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
SysId fits the model dx/dt = Ax + Bu + c where A = −kᵥ/kₐ, B = 1/kₐ, c = −kₛ/kₐ sgn(x). x and u can be whatever. The fit should work for a system with x = position and u = velocity. The ideal system would have A = 0 and B = 1 → kᵥ = 0, kₐ = 1, but friction exists, so they'll be a bit different in practice. |
Beta Was this translation helpful? Give feedback.
Should be velocity, position, don't care (the position field isn't used).
Since your system is a single integrator, the "velocity PID" option is what you want.