×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Focuser backlash?

  • Posts: 278
  • Thank you received: 17

Focuser backlash? was created by S

Hi!

Is it important to have either zero backlash or backlash compensation to get autofocus to work?
Mine have backlash, but fcusb does not seem to have backlash compensation....

Why is backlash compensation not implemented at a higher level than the driver? Seems to be it should be generic to do if one can move the focuser back and forth. And maybe one could also determine the backlash automatically by doing a forward and a backward v-curve?

Thanks for any help!

Best regards
Søren
4 years 4 months ago #45488

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133

Replied by Peter Sütterlin on topic Focuser backlash?

Yes, I had asked that before, too. Hy seems to have some code for linear focusing , not sure if that is going to end up in the main code.
4 years 4 months ago #45534

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 17

Replied by S on topic Focuser backlash?

Thanks a lot. Could one implement this in ekos, such that it would work for any focuser driver?
I may just need to download the source and see how hard it is to modify and compile.....
4 years 4 months ago #45545

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559

Replied by Hy Murveit on topic Focuser backlash?

Sorry for that delay. I will get back to it at some point (the linear focus algorithm--yes, scanning through in one direction then reversing to find the best point) .

WRT backlash, I did look to see if it was trivial to find (and eliminate) the backlash in my Moonlight focuser, and I will say
(a) it's clear I have backlash, and
(b) the number doesn't just pop out in the V-curve when you go back and forth--there's other noise in the system that hides it a bit.
Hy
The following user(s) said Thank You: Peter Sütterlin
4 years 4 months ago #45548

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 17

Replied by S on topic Focuser backlash?

If there is a lot of noise, then the first thing I would try was to do a least squares fit of a line to both sides of the v-curve (made with many small steps) and see if the intersection of the two lines matches the optimal fucus. If yes, then make a backward v-curve, do the fitting and see if the step difference between the two focused positions matches the backlash. The backlash should also show up as the shift between the lines of the forward and backward 'linear' v-curves.

Can this be tested with a simulator?
How hard is it to compile ekos? Is it done together with compiling kstars?
4 years 4 months ago #45562

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133

Replied by Peter Sütterlin on topic Focuser backlash?


Thanks Hy for looking at things!
Some remarks:
  • The V-curve isn't a V, nor a parabola, but hyperbolic. If you measure the full curve that might make a difference. If you also read CN, there had been a discussion about that not too long ago.
  • Use really long exposures to counter seeing influence (or do with quite good seeing)
  • I first had my motor connected to the micro-focuser. But that one has slippage, i.e., with some mild force you can trun it without the focus tube moving.
  • an option without backlash correction could be forcing focus moves to always end inwards, i.e., an outward move would move some additional distance outwards and then inwards to the intended value. (I had tried to implement that myself, without success :()
4 years 4 months ago #45564

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559

Replied by Hy Murveit on topic Focuser backlash?

Attached is a text file with some data I dumped a while back, when I started looking at focus.
Never worked it hard, but if you want to give it a shot, let me know what you think my backlash is ;)

I generated this data by modifying the code a little to get the focuser in an infinite loop, starting 100 steps below the focus point,
going up by 10 steps twenty times, each time computing the HFR,
then reversing direction and going down by 10 steps twenty times, and repeating forever.
I was using my moonlight focuser, I don't remember where it was pointed, I probably still have the images.
Did about 7 passes through the data.

Re compiling kstars/ekos/indi, it's not hard if you're comfortable with that kind of thing.
The easiest way to get started is to run one of Rob's (rlancaste) AstroPi scripts
see indilib.org/forum/general/5524-astropi3-...revised.html?start=0
depending on your target platform (or just read the script and run the commands manually).

Feel free to ask if you have any questions.
Hy
4 years 4 months ago #45565
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 17

Replied by S on topic Focuser backlash?

Thanks for the data. It certainly looks different than the curve shown here:
nighttime-imaging.eu/docs/develop/site/advanced/autofocus/

:-)
4 years 4 months ago #45590

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559

Replied by Hy Murveit on topic Focuser backlash?

I promised a while back on this thread that I'd create a new focus algorithm that was more tolerant of backlash.
Please check out indilib.org/forum/general/6167-for-those-with-focus-issues.html
and let me know if this improves your autofocus issues or not.
Hy
The following user(s) said Thank You: Jerker B
4 years 3 months ago #47122

Please Log in or Create an account to join the conversation.

Time to create page: 0.809 seconds