ceturtd., 2025. g. 9. janv., plkst. 13:26 — lietotājs Viesturs Lācis
(<viesturs.la...@gmail.com>) rakstīja:
>
> The thing I do not understand at all is how to approach PID tuning. At
> the moment I have set P=20 and all the rest to 0 and I get
> oscillations indicating that the value is too big, but the actual
> velocity is totally different from commanded. If I try to jog, motor
> does not slow down when button is released, I have to jog in opposite
> direction to reduce actual velocity, motor drifts until ferror limit
> is reached.

Oh well this one was a marvelously stupid mistake of having position
on pid command and velocity on pid feedback, fixed that and now I can
jog the motor back and forth until I change pid parameters in
"Calibration" window. After that I get runaways. Ferror triggered,
motor stops. Hitting F2 will give immediate runaway.
And one more thing that seems strange is that motor makes noise at
standstill but motion is really quiet. Could these 2 things be related
to fact that it is the velocity on pid command and position loop is
not closed?

Viesturs


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to