Ideas: something in the dither / restart routine has a random behavior - or a corrupted start up value. Can we have a Maxim - like algorithm - not so intelligent - that simply issues a guiding command which is a proportion of the last tracking error value? This would also be useful for diagnostics .
Getting the log data will be the important thing to do. But another thing you could try to help isolate the problem is to do dithering only in RA – that might help to show whether this problem is triggered by the external dithering or by something else.
Bruce W.
--
You received this message because you are subscribed to the Google Groups
"Open PHD Guiding" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to open-phd-guidi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andy and I are collaborating on this one, looking hard at the guiding algorithm behaviors and how they’re affected by things like dither operations. After Andy posted this question, we realized you were using a Paramount and likely had no backlash issues. So stay tuned…
Bruce W.
From:
open-phd...@googlegroups.com [mailto:open-phd...@googlegroups.com] On Behalf Of ch...@beyondmonochrome.co.uk
Sent: Monday, November 03, 2014
4:29 AM
To:
open-phd...@googlegroups.com
Subject: Re: PHD2 guiding
algorithm sometimes oscillates?
Hi Andy - the mount is a Paramount MX - there is no appreciable backlash and I have no software backlash being enabled.
--
Ok, we may have something for you to try by then anyway. One other thing to try would be to run for awhile dithering only in RA. If that showed the Dec guiding performance to be normal, it would really be convincing. J
Hi Chris. Andy and I have spent quite a bit of time on this, and we have some things for you to try. One involves testing some code changes and the other involves some changes to guiding parameters. The code changes made by Andy will clear the history in the guiding algorithms whenever there is a pause/resume or a dither operation. Depending on the algorithm being used, we think this can reduce the cases where the guiding is too slow to react to a legitimate change in direction, especially with dithering. Clearing of history in this way is already done when you stop/start guiding, so now it would be done for any of these operations.
The second thing involves the choice of guide algorithm for Dec. Your mount apparently has near-zero backlash and you also seem to enjoy good seeing conditions. We think that’s relatively unusual among the community of PHD users, so the “resist-switch” algorithm may not be your best option. This algorithm applies damping only in the sense of trying to avoid changes in the direction of Dec guiding. Once it decides to issue a guide command, though, it tries to correct for the full amount of the star deflection – there is nothing like an “aggressiveness” property here to attenuate the correction. This seems to work pretty well for most users, perhaps because the full guide pulse helps to overcome backlash. But after looking at your data, we think it contributes to instability in your case. We suggest that you start using the “hysteresis” algorithm in Dec. We know you tried this with mixed results, but it seems like you were running with the default parameters for that algorithm when it was applied to Dec. Those parameters are probably reasonable for RA, but we think you would need more damping in Dec. If you increase the hysteresis parameter, that should act to reduce the number of directional changes. Changes in direction could still occur if there was a clear need but not with the regularity you’re accustomed to seeing in the RA guiding. You could also reduce the aggressiveness parameter to further reduce the likelihood of over-shoot in Dec. I see you already use a low aggressiveness factor with RA, and I would try an even lower value in Dec as a starting point. Just to throw some numbers out there, I’d maybe start with a hysteresis up around 50 and an aggressiveness down around 30, something like that.
As you well know, it’s difficult to evaluate performance in short time spans. Seeing is never constant, and it may take awhile for a guide algorithm to stabilize. To the extent you can afford the time, it would be good to let things run a bit unless it’s obvious that something is completely out-of-whack. Everything we’ve said here is based on code inspection, “theory”, and lots of testing with the simulators. But to paraphrase a military expression, a good guiding theory rarely survives its first contact with an actual mount. J But hopefully we will learn something from these experiments and hopefully get you closer to your goal.
We don’t want to do a full build yet with Andy’s code changes, so I’ll attach a new test executable in a subsequent private e-mail.
Thanks.
Bruce W.
From:
open-phd...@googlegroups.com [mailto:open-phd...@googlegroups.com] On Behalf Of ch...@beyondmonochrome.co.uk
Sent: Sunday, November 02, 2014
8:36 AM
To:
open-phd...@googlegroups.com
Subject: Re: PHD2 guiding
algorithm sometimes oscillates?
Here are the two files - overall the difference between good/bad was not as striking as it has been on prior occasions but it serves to illustrate the point.
--
Yes, those two test cases but also some experimentation with hysteresis on Dec using heavily damped settings. I’d suggest doing that with the test executable, there’s really no reason to do that part twice. In the end, we’re hoping to get good results in whatever situation you *want* to run in with regard to dithering, pausing, all that. Obviously, it would be helpful to keep track of time ranges when you run the tests so we can more quickly find things in the log files (debug and guide)
Thanks.
Bruce
From:
open-phd...@googlegroups.com [mailto:open-phd...@googlegroups.com] On Behalf Of ch...@beyondmonochrome.co.uk
Sent: Wednesday, November 05, 2014
6:27 AM
To:
open-phd...@googlegroups.com
Subject: Re: PHD2 guiding
algorithm sometimes oscillates?
Bruce - thanks for the files. I think there is a clear sky tonight but a full moon, ideal for testing! I will do these trials.
--
Yes, the changes are already in the source base and will be included in the next release, which I believe Andy is about to push out. Maybe you can give us additional feedback when things settle down for you. I had no idea Guy Fawkes day was such an extended event… J
From:
open-phd...@googlegroups.com [mailto:open-phd...@googlegroups.com] On Behalf Of ch...@beyondmonochrome.co.uk
Sent: Sunday, November 09, 2014
12:48 PM
To: open-phd...@googlegroups.com
Subject: Re: PHD2 guiding
algorithm sometimes oscillates?
Another 30 subframes, with a mixture of different guiding parameters - with dither enabled and pause enabled during image download. Out of about 50 frames, one stood out but it was also accompanied by a lower SNR. I'm trying to keep my cool with the incessant fireworks and I reckon it may have just been smoke in the path. It does look promising - and if there is no downside to the modification, why not leave it in?
--