Update after further testing: In the case of Encoder Axis, if we use the built-in filter of the Measuring Encoder, not only is the signal smoothed out before it gets to the Encoder Axis, but also the Extrapolation in ctrlX is working much better since there is minimal noise to amplify. With the Extrapolation box checked for the Encoder Axis and the slave geared to it with SYNC_ACTUAL_EXTRAPOLATED I see that the lag that was present with SYNC_ACTUAL is corrected for. I have 0 for Extrapolation Time, so I guess the correct default extrapolation time/cycles is automatically calculated. The built-in filter of the Measuring Encoder has its own compensation for the filter delay, so there is no velocity-dependent phase shift induced by the filter. The filter can induce lag and overshoot during accel/decel, so it works best with low acc/dec and jerk limiting of the master encoder (which in real application we don’t necessarily have control over ).
Red (Encoder Axis) and Blue (real axis who is following) stay in phase:
... View more