Duet3D / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
945 stars 535 forks source link

Closed Loop: jolt when switching mode #835

Open T3P3 opened 1 year ago

T3P3 commented 1 year ago

When switching into closed loop mode, read the microstep position and set the motor currents to be the same phase, to avoid a jolt.

Now there is no jolt at the start, but there is a jolt at the end, at least when the encoder is working in reverse polarity

dc42 commented 1 year ago

There is a more severe jolt when switching from closed to open loop mode after doing some movement in closed loop mode.

dc42 commented 1 year ago

Fixed this apart from the jolt when switching form closed loop back to open loop after doing movement. To avoid the jolt we could: