Sometimes backlash compensation does not work


#1

Hello,
from time to time and randomly, the backlash compensation is not triggered.
This happens sometimes at the end of the autofocus process to return to the calculated position, other times it happens when changing the filter.
I think I noticed that this happens during the automatic autofocus phases but I’m not sure I saw it when you manually launch an autofocus.
I noticed that to limit this phenomenon I had to disable the backlash compensation and then reactivate it before launching a sequence.


#2

Hi,
I did some research. Log file attached
sg_logfile_20180911225414.zip (158.3 KB)

While analyzing the log file, I found that sometimes the backlash process did not wait for the focuser to finish his move.

For example, here it’s correct

[09/11/18 23:48:51.044][DEBUG] [Focuser Move Thread] Focuser moving to 10124
[09/11/18 23:48:51.054][DEBUG] [Focuser Move Thread] Focuser backlash active, modified move to 12124
[09/11/18 23:48:51.054][DEBUG] [Focuser Move Thread] Focuser move call complete
[09/11/18 23:48:51.055][DEBUG] [Focuser Backlash Thread] Focuser backlash thread has started…
[09/11/18 23:49:04.420][DEBUG] [Focuser Backlash Thread] Backlash thread has detected that movement to modified position (12124) is complete…
[09/11/18 23:49:04.420][DEBUG] [Focuser Backlash Thread] Moving focuser to original requested position (10124)…
[09/11/18 23:49:04.420][DEBUG] [Focuser Backlash Thread] Focuser backlash compensation needed. Steps: 2000 Direction:IN
[09/11/18 23:49:04.420][DEBUG] [Focuser Backlash Thread] Focuser moving to 10124
[09/11/18 23:49:04.421][DEBUG] [Focuser Backlash Thread] Focuser move call complete
[09/11/18 23:49:16.667][DEBUG] [Focuser Backlash Thread] Focuser backlash completed. Focuser is at original request position (10124)…
[09/11/18 23:49:16.667][DEBUG] [Focuser Backlash Thread] Focuser backlash thread has ended…

while here the process didn’t wait

[09/12/18 00:37:21.136][DEBUG] [Focuser Move Thread] Focuser moving to 10115
[09/12/18 00:37:21.146][DEBUG] [Focuser Move Thread] Focuser backlash active, modified move to 12115
[09/12/18 00:37:21.147][DEBUG] [Focuser Move Thread] Focuser move call complete
[09/12/18 00:37:21.148][DEBUG] [Focuser Backlash Thread] Focuser backlash thread has started…
[09/12/18 00:37:21.148][DEBUG] [Focuser Backlash Thread] Backlash thread has detected that movement to modified position (12115) is complete…
[09/12/18 00:37:21.148][DEBUG] [Focuser Backlash Thread] Moving focuser to original requested position (10115)…
[09/12/18 00:37:21.148][DEBUG] [Focuser Backlash Thread] Focuser backlash compensation needed. Steps: 2000 Direction:IN
[09/12/18 00:37:21.148][DEBUG] [Focuser Backlash Thread] Focuser moving to 10115
[09/12/18 00:37:21.160][DEBUG] [Focuser Backlash Thread] Focuser move call complete

My focuser is a MyFocuserPro


www.mainsequencesoftware.com