I don’t consider myself an expert on the SharpCap auto focus since I just started using it in the past month, but I have gone through a lot of “growing pains” with it, and I have learned some best practices, at least ones that work for me. I’ve had the auto focus work for me successfully every time on my last 4-5 imaging sessions, performing one after every hour of imaging, sometimes doing the auto focus > 6 times per night. I can’t see or find all the info in your log file to determine if you’re doing something similar, so I’ll just outline what I do, and you can compare to what you do.
The first thing I do is, while in Live View, I set both the gain and exposure high enough to see at least 15-20 stars on the screen without any stretching. Then I manually adjust the focus step position until I get as close to as a good focus position as I can just based on my eyesight, maybe even cheating a bit to put it a bit out of focus on the positive side. I do that because I set up the focuser to always overshoot approaching from the negative direction with an overshoot of 500 steps (for my SCT, but this would be smaller for most refractors). In general, I have found that an exposure time of 4 s and a gain of about 400 works great. You must have these set high enough so that enough stars are found. It looked to me like you were using an exposure time of 1 s. I think that value could work on some cases with great viewing conditions, a lot of bright stars, and minimal filtering (not something like an OIII or L-Extreme filter), but I’d consider 4 s a lot safer and more robust. My bottom line is having it work every time, and if that takes 1-2 more minutes per auto focus, I'm willing to live with that. The gain may be camera-dependent, but still, it should be on the high side, much more than “unity gain”. I’m using ZWO cameras, specifically the 071MC and 1600MC, and I find that 400 is a good gain number for them. I reset it back to unity gain for my imaging.
Once I get a decent focus manually, I will run the auto focus tool from a positive offset number to a negative offset number. How big these numbers are is telescope dependent. For my C925 EdgeHD, I use offset values of 500 to -400; and for my RedCat51, I use 250 to -250. You don’t want to make them so big that the stars get so out of focus that the auto focus tool then can’t even find them (hence, the dreaded ”25”), and this may be the problem you noted when you expanded your range. You have to find these numbers by trial and error, or just noting what the stars look like when you’re searching for a good focus manually. Also, I find that 9 steps are sufficient. If SharpCap needs one or two more at the end, I‘ll just let it do that, but that’s not always the case. Actually, it might even be better to just use 5 steps to go from your max positive offset down to 0, then let SharpCap add as many points to the left as it needs, since it seems to do that anyway, but I haven’t tried this yet. Again, it is vitally important to make sure your gain and exposure numbers are high enough to find enough stars.
This practice has worked very well for me. In fact, I’m writing this up as I’m imaging this evening, and I just had my 3rd successful auto focus. Since I found safe and robust numbers to use, the auto focus tool has worked flawlessly (can you hear me knocking on wood?).
Rich
Autofocus final position when parabolic fit fails
Re: Autofocus final position when parabolic fit fails
One thing I forgot to mention in my last post is that the offset values I mentioned are for when I use my ZWO EAF. I do have a Celestron EAF on my CPC800, and my offset numbers with it have to be about 1/10 as large, like 25 to -25 or so.
Rich
P.S. I just had another successful auto focus.
Rich
P.S. I just had another successful auto focus.
Re: Autofocus final position when parabolic fit fails
Thanks so much for conveying the details of your experience. You're absolutely right that I would be better off with longer integrations, but I'm constrained by a mount that doesn't have the best tracking stability and if I take long integrations the image size is dominated by the drift (or windshake). One second integration was the best compromise to get a true measure of focus. I would love to start all of my focus runs near the focus center, but because I'm running in automated mode (I start a script running in the evening and pick up the data in the morning) the focus for each focus run starts wherever it has drifted from one occultation observation to the next (which sometimes can be a couple of hours). If I make the range wide enough to see both sides of the focus trough, given the focus drift, I inevitably get into the 25 regime on one side or the other. So, to be honest, I'm asking for autofocus to do a lot more than its basic function and shouldn't expect a bulletproof solution, but I hope pushing the envelope might help improve the process. Every time my focus starts near center I get a good solution (unless there are strong winds or horrible seeing (par for the course in the Rockies)). In general, after expanding the focus range a bit and increasing the density of points, more often than not, I get a fit, so at this point I'm fairly content with the status quo. Thanks for the suggestions and good luck with your own work. Mike.