Official Request for Improved Autofocus in SGP


The SGP auto focus routine already supports backlash compensation. It works quite well. You just need to specify how much to use, which is fairly easy to figure out. Larger amounts than required do not cause a problem, so it is not a sensitive parameter.



A robust autofocus strategy is immune to backlash. If you always walk one slope of the focusing curve to determine the focus point, backlash compensation is not needed at all, the price to pay is that you have to build a focusing model a priori.




It does not do any harm to use more backlash compensation than necessary. It’s okay to overshoot backlash compensation. If excessive backlash compensation is not working, then there’s something wrong with the mechanical focuser hardware and/or motor.



There is really probably not enough juice in the orange to expect much on the focusing issue any time soon. The fact that this has been on the agenda for so long and that not much was done beyond the prior effort to improve focus is evidence. Same with multiple instances and multiple cameras. There is a certain amount of denial of the issues that people are having for various things. There was hope that for the last pay increase there would be some progress and there probably has been some progress, but I would have personally stayed with the 2.6xx versions.

However, even with a pay increase, there is still not enough juice in the orange to generate a large effort at recoding things. I suggest that people punt and integrate FocusMax into the equation. That won’t fix other issues that are listed in the forums, but it will hopefully be easier than to continue to work on a proprietary model for focusing. Then the other issues can be addressed as time allows. Focus is mission critical and for those who think that the focus issues are associated with people who just don’t follow directions, or don’t know what they are doing, or have bad equipment. You are just outright wrong. I support integrating FocusMax and not re-inventing the wheel. Then maybe people will have a proven method of focusing larger scopes with central obstructions or faster scopes with central obstructions.


I would add that in the scenario I indicated in my prior post, if people don’t want to pay anything more for focus max, then just stay with the SGP proprietary model and leave it as is. Those that are happy with should just leave it alone.


One additional comment. I am not complaining about the price increase, instead I am saying if you go to the well, go once and get a full bucket of water to quench the thirst that arises out of hard work and creates the incentive to continue.


I look at it in a slightly different way. FocusMax commands a fairly serious charge relative to the cost of SGP and only gives us one function whereas SGP gives us much, much more. I don’t have the experience of seeing how well it works, but if the development effort is roughly in line with the price, FM must do some very clever and complex calculations to work out the ideal focus. Therefore, is it reasonable to expect SGP to replicate the research and develop the code with just some good suggestions from the user community. I appreciate that it has been an issue for some time, but developing the code can only come once the mathematics behind what has to be achieved is fully understood. The code should then be easy. Can anyone provide the fine detail behind how to achieve focus using faster, more reliable methods like those used by FM ? Sorry CCDWare, but we all want what you provide included in the SGP price. I run an SCT and lose about 10% of my subs due to focus issues, but I still can’t see that I can justify the cost of FM.


Great, so for us with zero backlash focusers, this idea would do nothing.


I don’t understand your point Bill. I either use the backlash compensation feature in SGP or in my module’s firmware. It works fine with both Crayford and R&P mechanisms. Since I use the same module to control different telescopes, I just plugged in a backlash amount that slightly exceeded the worse of the motors and I never give it a second thought.


I’m guessing the focus process boils into several sections which we are all discussing interchangeably:

  • Strategy (single/multiple, full V-curve, sampling and so on)
  • HFR calculation
  • Motor control
  • Recovery modes (outliers, multiple sampling, out of range)

I have several refractors and one RCT. I generally do not have any operational issues with the refractors (f/3.5-F/8) but the RCT needs more care. I used FM several years ago but never in combination with the RCT but I do occasionally use TSX when I’m doing a T-Point run. I have noticed that TSX is better able to determine the diameter of an out of focus star (donut) than SGP, which sometimes selects hotspots on the annulus (due to seeing).

I have also noted that if my RCT is not perfectly collimated, the V curve is wonky, with different slopes. It is actually a really good indicator of collimation ;).
There is nothing that SGP or any other program can do about that and if an algorithm were to rely on one side of the slope, it would get it wrong and the user would be unaware. In this instance, so long that I do not go too out of focus on the AF run, SGP at least still finds the best position.


I’m a very happy user of SGPro for about 8 months and would like to add my support to having a more robust Autofocus routine.

Thanks and CS,


There are other focusers on the market that dont use R&P or Crayford technology. To decide on a method based on those would be limiting, and again is completely unnecessary.

The myopic perspectives here are all interesting to hear from a problem perspective, but are not all that useful from a solution perspective. You can take all of these variables out, and come up with a solution that can work across camera types and focuser types and scopes with or without CO.

I feel the need to make it very clear (since I was the vocal person on “the other site”) that I do think that SGP is a good Astro Imaging platform. While I dont subscribe to the notion that I should just “accept what it is” and honestly dont really understand why others would (after all, you paid money for this), I do think that the focusing method in this software is a bit long in the tooth.

I hope this aspect of the software can improve.


Good point - there are others too, but by definition anything mechanical and with moving parts has a tolerance and hence backlash of some order. The ‘method’ ultimately looks at the optical effects of in and out of focus stars and the backlash aspect only affects the ‘motor’ control aspect of the process.

I think the word ‘myopic’ is somewhat inflammatory, maybe parochial is more accurate. The problem is that we all have different equipment and different experiences, which we are sharing here. I respect what the inventors of FM did for the hobby but I do not miss the old free version of FM. At the same time I can also see room for improvement in TSX and SGP focus algorithms too. TSX have recently overhauled theirs. I have only used it a few times and my early assessment is that it gets there (I think) after quite a bit of time but I have not yet really worked out what it is doing, as for me, it does not have the visual feedback that a well graphed V curve has.


This was originally posted on December 18th, has there been any appreciable movement on solving this problem?


I too want a better intelligent focus system!
Or at least some sort of AF wizard that will automatically compute your values for backlash, ideal step size etc. At least where it will work properly enough to get perfect focus. But, a better algorithim would be even better! I do agree that it’s silly to pay however much for software that has a malfunctioning proprietary funcion that is critical. You could use a free software such as N.I.N.A which has effectively all of the functions of SGP minus some minor differences.


Hey guys,

Just checking in 3 weeks after my last inquiry – do we have some new tech ready to test to see if the problem is solved. Happy to help test it out. :slight_smile:


Winter time is not exactly the best time to test new software changes or updates. I am not sure what the Texas weather is like but I have read reports of nasty weather throughout this country so be nice to SGP developers and give them time to develop and test their code changes before they make formal release. I have not been able to image since October 2018 due to awful weather so you get the idea of how difficult is to test code or products during Winter.

I have made several requests to Voyager developers at least three weeks ago and he has not yet made any changes or updates but I am not going to force him to make changes or updates the same way you’ve been doing to SGP developers.



To be fair, it has been at least 2 months since any dev even mentioned autofocus. Surely we should have some sort of info? Remember we are paying for the software.


Yes, I remember I am paying for the software.

Well, personally I have not seen any issues with focusing with SGP and it helped me win APOD award of M33: and it was entirely captured and automated by SGP. My scope was TEC 140ED with TEC Field Flatenner,

In fact when I imaged this object, I wasn’t even trying hard to image because I didn’t image for 18 months due to bad weather and my health issues and when I imaged this object for over 6 straight hours, it turned out to be the best image I have ever captured thanks to the ease of using SGP.

Also, capturing this image resulted the lowest FWHM ever captured.

I guess YMMV with your equipment.



You got what you paid for. SGP does exactly want it was advertised to do - it uses a multi-point fitted focusing curve to determine best focus. It works exceedingly well for most users. While there are rare, very challenging edge cases for which it doesn’t work perfectly every time, that can be said of any software for any function.

Your first post in this thread appears to be asking for new features - i.e. things that you didn’t pay for. While I applaud the developers for frequently adding features within a major release - i.e. free new stuff that we didn’t pay for - there is nothing that entitles us to them.

The other point worth noting is that most of the challenges with autofocus can be overcome with some careful tweaking of the settings. I checked your history and have not seen any posts where you (nor rockstarbill) have asked for help getting AF tuned for your needs. There are a lot of knowledgeable people who are more than willing to help. Maybe that’s a better place to start rather than thinly-veiled accusations that the developers are somehow cheating you.