Repeated Pulse Guide failed Message

1,708 views
Skip to first unread message

Philip Keyser

unread,
Sep 24, 2015, 9:26:23 AM9/24/15
to Open PHD Guiding
I am using Dev5 build and I keep getting the message about a guide pulse failing. My guiding doesn't appear to be any different from normal. Is this something I should be concerned about? I checked the debug logs and see these liens when the message appears. I am attaching both Guide and Debug logs.

05:29:25.982 00.000 2560 Error thrown from C:\cygwin\home\agalasso\projects\phd2\scope_ascom.cpp:656->timeout exceeded waiting for guiding pulse to complete
05:29:25.982 00.000 2560 Error thrown from C:\cygwin\home\agalasso\projects\phd2\scope.cpp:643->guide failed
05:29:25.982 00.000 2736 Alert: PulseGuide command to mount has failed - guiding is likely to be ineffective.


PHD2_Logs.zip

bw_msgboard

unread,
Sep 24, 2015, 1:40:36 PM9/24/15
to Philip Keyser, Open PHD Guiding

Sorry you’re having problems Philip.  Judging from the log data, it looks like your mount controller or the associated ASCOM driver is having some problems.  Here’s a typical example:

 

20:24:19:034     PHD2 issues a pulse guide command to move west for 69ms

          19:094    PHD2 gets a mount response acknowledging receipt of the command. We now wait an additional 20 ms before checking on the status

          19:114    It’s now 80 ms after the guide command was issued but the mount is still moving (guiding)

                        At this point, we start polling every 20ms, expecting the mount will stop moving

20:24:21.116     It is now 2 seconds since we asked for a 69ms guide pulse – but the ASCOM driver still reports the mount is moving.  So we time out and issue the alert message

 

This is not a fatal event but we don’t know what happened to this guide pulse.  Guide commands that follow this one work ok but then we will hit the problem again, typically in less than a minute.  So you are still guiding, but a significant number of commands are encountering this problem.  You might want to check in with people who are knowledgeable about the mount and its ASCOM driver.  Just to be more specific, PHD2 is checking the ‘IsGuiding’ property in the ASCOM driver to determine that the mount is still moving.  The PHD2 logic here is applied to all ASCOM mounts, nothing specific about your mount.

 

Good luck.

Bruce

 

 

 

 


--
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 Galasso

unread,
Sep 24, 2015, 1:49:39 PM9/24/15
to Open PHD Guiding
Hi Philip,

FWIW, the problem seems to be happening only on the Declination axis.  The pattern is that Guide North gets stuck, subsequent Guide North commands work ok until the next Guide South which gets stuck, then subsequent Guide South commands are ok until then next Guide North which gets stuck, etc.

Is it possible there is something plugged in to the mount's guider port that is causing the mount to move?

If not, then you may want to take a look at the EQMOD ASCOM driver log file, and perhaps even post the log to the EQMOD forum.

Andy

Bruce Waddington

unread,
Sep 24, 2015, 10:45:16 PM9/24/15
to Open PHD Guiding
Ok, we've now established that I'm directionally challenged - my bad. :-(   As Andy pointed out, your problems are in Dec, not RA.  But this raises an important question I'd like to ask: do you perhaps have a large backlash compensation set in the mount?  If so, I think that could explain what's happening.  A backlash setting in the mount might silently convert a 70ms guide pulse into a multi-second guide pulse, something PHD2 could not know about.  This would create the timeouts you are seeing and would explain why they occur only after a direction change.  Running this way would not be a good idea - a constant backlash compensation in the mount is not likely to perform very well.  And if the backlash pulse ends up being longer than the guide exposure in PHD2, you will eventually trigger other errors which will result in a halt to guiding.  If you need backlash comp, you should consider having it done in PHD2, a feature that's present in all of the dev builds.  In the PHD2 version, the backlash amount will be tuned on-the-fly to avoid Dec oscillation.  And of course, there wouldn't likely be timeouts because PHD2 would know how long to wait for a completed move. 

Bruce

Philip Keyser

unread,
Sep 25, 2015, 1:43:45 PM9/25/15
to Open PHD Guiding
I did have EQMOD's Dec Backlash comp set instead of using PHD2's new built in version. That is probably the issue. I will try using PHD2's DEC backlash comp and if the messages continue to appear I will try switching to ST4 guiding which should rule out any ASCOM issue and point more to an issue with the mount itself correct?

bw_msgboard

unread,
Sep 25, 2015, 2:11:01 PM9/25/15
to Philip Keyser, Open PHD Guiding

Yes, switching to ST-4 would eliminate the ASCOM driver use and thus PHD2’s checking of the IsGuiding property.  I don’t know how it would affect the mount’s backlash comp behavior.  But I will bet you a jelly doughnut that the backlash comp setting in the mount is the source of your trouble… <g>  You might want to start by letting the PHD2 guiding assistant measure the backlash to see how big a correction is needed.  Let us know how it works out…  

 

Bruce

 


From: open-phd...@googlegroups.com [mailto:open-phd...@googlegroups.com] On Behalf Of Philip Keyser


Sent: Friday, September 25, 2015 10:44 AM
To: Open PHD Guiding

--

Colm Brazel

unread,
Jan 4, 2016, 6:14:15 AM1/4/16
to Open PHD Guiding
Hi Guys,


Using PHD 2.5 dev8  I had a similar problem last pm first time this has happened. Incidentally using Andy's excellent PHD2 log viewer. I've a number of logs related to the session, first problem came with, 'star did not move enough' fail. Tried again and got "PulseGuide command to mount has failed - guiding is likely to be ineffective." Message. Initially I think problem may be related to me changing the pulse guide settings in Ascom to Xo.4 for Dec/RA  whereas I had set the calibration step calculator to .60 in PHD2 mount/calibrate steps. So maybe an Ascom/PHD misalignment re pulse settings? Another thought air was oversaturated with dew could have contributed to 'star lost'. I'd also moved down to use a faster 6" scope. I wonder should PHD2 take into account the focal length of the main imaging scope as well as the focal length of the guide scope. Anyways I hope to improve my understanding a bit by looking at docs and tuts as I may be lacking in crucial aspects. One other point is the 'stop' button doesn't appear to work well with my Orion Monochrome G3 camera and hangs on 'waiting for devices'..big problem if you've just calibrated and now need to force/restart PHD2. It did appear to work better earlier versions. Finally, a general question, I've been using the drifting tool and it works really well with my other scope SCT11" with FR 6.5 main imaging camera, but I wonder should I do 2 calibrations, one close to SE meridian/equator location, then another close to the main imaging target especially if meridian needs to be crossed. Lots of points there pointing to my ignorance but any tips appreciated. 



19:57:37.016 00.001 3332 Processing an image
19:57:37.016 00.000 3332 UpdateGuideState(): m_state=1
19:57:37.017 00.001 3332 Star::Find(15, 284, 442, 0, (0,0,0,0))
19:57:37.017 00.000 3332 Star::Find returns 0 (3), X=284.00, Y=442.00, Mass=0, SNR=0.0, Peak=826 HFD=0.0
19:57:37.017 00.000 3332 Error thrown from C:\cygwin\home\agalasso\projects\phd2\guider_onestar.cpp:573->UpdateCurrentPosition():newStar not found
19:57:37.017 00.000 3332 Throw from C:\cygwin\home\agalasso\projects\phd2\guider.cpp:1142->unable to update current position
19:57:37.017 00.000 3332 Status Line 0: Star lost - low mass
19:57:37.018 00.001 3332 UpdateImageDisplay: Size=(752,582) min=647, max=4476, FiltMin=706, FiltMax=807
19:57:37.068 00.050 3332 Resizing image to 469,363
19:57:37.093 00.025 3332 UpdateGuideState exits: Star lost - low mass
19:57:37.093 00.000 3332 OnExposeCompete: CaptureActive=1 m_continueCapturing=1
19:57:37.093 00.000 3332 ScheduleExposure(3000,3,0) exposurePending=0
19:57:37.093 00.000 3332 Enqueuing Expose request
19:57:37.093 00.000 7000 Worker thread wakes up
19:57:37.093 00.000 7000 worker thread servicing REQUEST_EXPOSE 3000
19:57:37.094 00.001 7000 Handling exposure in thread, d=3000 o=3 r=(0,0,0,0)
19:57:40.421 03.327 3332 Stop button clicked
19:57:40.422 00.001 3332 StopCapturing CaptureActive=1 continueCapturing=1 exposurePending=1
19:57:40.422 00.000 3332 Status Line 0: Waiting for devices...
19:57:40.453 00.031 7000 invoke abortexposure: [80020009] Exception occurred.
19:57:40.453 00.000 7000 invoke abortexposure:
(ASCOM.OrionG3CameraDriver) Cannot complete operation

Cheers and Happy New Year,

Colm

bw_msgboard

unread,
Jan 4, 2016, 5:29:05 PM1/4/16
to Colm Brazel, Open PHD Guiding

Hi Colm.  This is kind of all over the map, so yes, it would be good to do some reading and become more familiar with the app and guiding in general.  That said, I’ll try to give short answers to some of your questions.

 

  1. The PulseGuide command failed message means your ASCOM scope driver didn’t perform the requested guide command.  That, combined with your other problems with the Orion camera, suggest you may have underlying problems with your USB system.  This is a common source of problems, often becoming worse in cold weather because of cable problems and low-power.
  2. The guide speed settings in your mount don’t have the same meaning as the calibration step-size in PHD2 if that’s what you’re talking about.  But if you change the guide speed settings, you will always need to recalibrate and may need to choose a different calibration step-size.  Look in the help docs to learn how to use the calculator for this.
  3. Lost star messages need to be tracked down on a case-by-case basis.  There can be lots of different reasons including dew, but you should assume the problem is real and probably not a bug in PHD2.
  4. There is no reason for PHD2 to know the image scale of your main imaging scope.  That’s why we ask people to think in terms of arc-secs – an arc-sec is an arc-sec, regardless of the scope.
  5. You don’t need to re-do a drift alignment based on where your target is.  The drift alignment is going to get your physical RA axis pointing close to the celestial pole.  One it’s there, you’re done.

 

Good luck,

Bruce

 


From: open-phd...@googlegroups.com [mailto:open-phd...@googlegroups.com] On Behalf Of Colm Brazel


Sent: Monday, January 04, 2016 3:14 AM
To: Open PHD Guiding

--

Colm Brazel

unread,
Jan 5, 2016, 7:19:45 AM1/5/16
to Open PHD Guiding, colmb...@gmail.com, bw_m...@earthlink.net
Hi Bruce,


FYI and those following this thread found a good set of tips here as well. I think severe dew conditions in my case last session caused usb issues you mentioned in 1 also more evidence in that connection to camera failed at later stages of session. Testing indoors in the dry, camera worked fine.  Combined with PHD2 docs I need to study more I found this helpful as well:


However I'm curious about 4. From above link and using his math deduced my main scope/ 80mm guide scope and camera combinations give me a pixel scale ratio out of whack at approx 7:1 according to the author. Adding a Barlow 2x to use with the imaging camera should improve matters according to him. Re 4. could you comment on his points a little further. 

"The next tip is to is to match the pixel scales of the guider and imager. By ‘pixel scale’ I mean the angular resolving power of the scope/camera combination in arcseconds**.

If you are using an OAG or a self-guiding camera, even though you are guiding and imaging through one scope, it is still worth understanding whether your imaging camera, guide camera and scope work well together or not. (It is unlikely that you will have a problem unless you have a ridiculous difference in pixel sizes between the two, but knowledge is power!)

PHD Guiding can track the centroid (centre point) of a guide star to ‘sub pixel accuracy’. Basically it is able to calculate the position of the guide star down to a fraction of a camera pixel. This leads people to the erroneous conclusion that they don’t need to worry about matching pixel scales of guider and imager because PHD can “track to a 10th of a pixel” or even “a 50th of a pixel” (depending on who you ask).

In theory that is true, but in practice you are not likely to get PHD guiding reliably to more than one quarter of a camera pixel. So a good rule of thumb is your imaging pixel scale should be no more than four times your guiding pixel scale. You might be able to exceed 4x by some margin, but sticking to less than that will make your life much easier.

So how do you calculate your pixel scale?

pixel scale in arcseconds per pixel = (camera pixel size in µm / scope focal length in mm ) x 206.3

So I image with a Canon EOS 500D with pixels that are 4.7µm square and a Skywatcher Evostar 80ED and 0.85x Reducer with an effective focal length of 510mm:

(4.7µm / 510mm) x 206.3 = 1.9 arcseconds per pixel

I guide with a QHY5 with pixels that are 5.2µm square and an Orion ST80 with an effective focal length of 400mm:

(5.6µm / 400mm) x 206.3 = 2.67 arcseconds per pixel

If you don’t feel like doing the maths, use my Imaging Toolbox to do the hard work for you. The upshot is that I my imaging resolution is about one and a half times my guiding resolution (2.67 / 1.9 = 1.41). That is well within the 4 x rule we established above.

Don’t forget, you can use a Barlow lens or a focal reducer to adjust the relative pixel scales of imager and guider. For example, the quality of the image through the guider is not critical so a cheap Barlow can be used cut the number of arcseconds per pixel if needed.

Now there is a lot more that could be said about the optimal pixel size of imaging cameras vs different scopes, but that is another topic. The best advice I have read is that your first priority is to have a scope and camera combination that can fit your target in the frame, and to worry about everything else later! Again using the Imaging Toolbox you can try different combinations of scope and camera to see what works."

Cheers,

Colm

bw_msgboard

unread,
Jan 5, 2016, 11:24:40 AM1/5/16
to Colm Brazel, Open PHD Guiding

Hi Colm.  I really don’t want to start critiquing other people’s editorials, tutorials, and opinions on guiding.  There’s a vast amount of this stuff out there and you need to decide for yourself how much you want to rely on it.  And of course, much of it is outdated, such as the one you referred to.  In this case, I don’t see any experimental or theoretical data to support this person’s assertions about centroid accuracy.  I recommend reading the attached document, which is based on something more solid.

 

Obviously, there is some practical upper limit to the difference between the two image scales, and imagers have their own opinions about how far they want to push it.  The PHD2 step-size calculator can be used to calculate your image scales – just enter whatever values you want for focal length and pixel size.  In many cases, a large difference between image scales is the result of imaging at long focal lengths and for those situations people often go to off-axis-guiding to eliminate differential flexure.  In the process, of course, the difference in image scales is also eliminated.  Plus, most users end up battling mechanical and seeing-related problems that are much larger than any centroid-related errors.  Personally, I think these two things explain why this whole topic isn’t a burning issue, at least not for the PHD2 community

Hi Bruce,

 

 

1.      The PulseGuide command failed message means your ASCOM scope driver didn’t perform the requested guide command.  That, combined with your other problems with the Orion camera, suggest you may have underlying problems with your USB system.  This is a common source of problems, often becoming worse in cold weather because of cable problems and low-power.

2.      The guide speed settings in your mount don’t have the same meaning as the calibration step-size in PHD2 if that’s what you’re talking about.  But if you change the guide speed settings, you will always need to recalibrate and may need to choose a different calibration step-size.  Look in the help docs to learn how to use the calculator for this.

3.      Lost star messages need to be tracked down on a case-by-case basis.  There can be lots of different reasons including dew, but you should assume the problem is real and probably not a bug in PHD2.

4.      There is no reason for PHD2 to know the image scale of your main imaging scope.  That’s why we ask people to think in terms of arc-secs – an arc-sec is an arc-sec, regardless of the scope.

5.      You don’t need to re-do a drift alignment based on where your target is.  The drift alignment is going to get your physical RA axis pointing close to the celestial pole.  One it’s there, you’re done.

Guiding_SNR_Stark.pdf

Colm Brazel

unread,
Jan 5, 2016, 12:10:16 PM1/5/16
to Open PHD Guiding, colmb...@gmail.com, bw_m...@earthlink.net
Hi Bruce,

Thank you for the attached doc that explains centroid accuracy deduced in terms of SNR with examples how this is measured at the pixel level. Don't quite understand it all but I think enough to assume I got the most important point that PHD2 has a high degree of accuracy measuring  SNR at pixel level. Getting good guiding depends on picking a star to guide upon with good enough SNR and this should be provided by my own 80mm refractor on board my SCT C11" with FR 6.5. The following at end of doc confirm this.

" One notable implication of this is that with higher SNR stars, you can afford to use wider FOV guide setups since the higher SNR leads to increased precision in localization."

 "Odds are, your mount, the wind, flex, etc. will be causing more trouble than even this error unless you're using a very wide FOV guide setup."

I'll renew efforts to deal with flex, wind, dew, loose cables etc to get better results on my long FL scope eventually turning to OAG to try this as well.

My original Q was a bit over the map but you nailed it with your very enlightening answer.

Cheers for 2016.

Have a good one.

Colm
...

Colm Brazel

unread,
Jan 6, 2016, 6:07:32 AM1/6/16
to Open PHD Guiding, colmb...@gmail.com, bw_m...@earthlink.net
Hi Bruce,

Reading the doc below I've one question I need to double check with you.



You said:

" But if you change the guide speed settings, you will always need to recalibrate and may need to choose a different calibration step-size. "

I'm assuming therefore that while the autoguiding process is taking place I can use the excellent Pulseguide monitor in Ascom if I need to dynamically improve guiding by adjusting the gain settings. But only while guiding is taking place.

"Please note that autoguiding calibration should always be performed with the sliders at 100% gain
settings. Adjustments on the gain values should be done only during the actual autoguiding process
and NOT before any calibration process."

What I don't understand is as part of setting up calibration for your camera in PHD2.5 you are asked to input the Guide Speed of your mount eg

"Guide speed, n.nn x siderial: 50"

Problem is I don't know how to calculate that global setting as Ascom allows to you input different guide rates for both Dec and RA. I guess if I got x0.60 for Dec rate and x0.40 for RA pulseguide rate set in Ascom this would be overall x0.50 for the mount as I have in the above example? Is this correct.

Cheers,

Colm
...

bw_msgboard

unread,
Jan 6, 2016, 12:00:03 PM1/6/16
to Colm Brazel, Open PHD Guiding

Hi Colm.  I think you will have to make a decision about how you want to do your guiding.  First of all, you aren’t talking about ASCOM, you are talking about EQASCOM, which is a completely different thing.  If you want to do guiding with PHD2, you need to set your guide speeds in the mount once AND THEN LEAVE THEM ALONE.  If you do change them, you will have to re-calibrate in PHD2 and THEN LEAVE THEM ALONE.  You can’t use this so-called PulseGuide adjustment feature with PHD2, or at least not if you want to get any help from us.  This is a classic example of “too many cooks in the kitchen” – only one app can handle guiding, there’s no way to have some sort of collaboration.  The EQASCOM PulseGuide adjustment feature will defeat the guiding algorithms in PHD2, and we can’t support it – you’d just have to figure things out for yourself, I guess.

 

The guide speed setting we ask for in PHD2 is used primarily to calculate a reasonable calibration step-size.  So it doesn’t need to be completely accurate.  In your example, just specify a guide speed of 0.5X sidereal.

 

Bruce

 


Colm Brazel

unread,
Jan 7, 2016, 5:11:32 AM1/7/16
to Open PHD Guiding, colmb...@gmail.com, bw_m...@earthlink.net
Hi Bruce,

That clears that up got it now.

Thanks again.

Colm.



...
Reply all
Reply to author
Forward
0 new messages