7   Autoguiding

7.1) Introduction
7.2) Brief Remarks on the Seitzer Guider
7.3) The DTI Box
7.3.1) Basic Setup of the DTI
7.3.2) Using the DTI Hand Paddle
7.4) Autoguiding with Images from the DTI (PCGUIDER)
7.4.1) Introduction
7.4.2) Basic Startup and Operation
7.4.3) Setting the Guider Parameters
7.4.4) More Guider Notes
7.5) Field Orientation Maps
7.6) DTI Technical Reference Section


7.1  Introduction

All telescope mountings are imperfect, so to maintain accurate pointing for any but the briefest exposures it is necessary to monitor the telescope's drift, generate a correction signal, and feed this back into the telescope's fine motion controls. The autoguider PC accomplishes this using the video signal from the MIS guider camera. As explained in the previous chapter, the guider camera can either look directly into the telescope using an off-axis pickoff mirror or look through a microscope at the image reflected from a spectrograph's slit jaws. This chapter assumes that you are familiar with the operation of the Multiple Instrument System (MIS Section 6).

Either of two setups can be used for guiding:

  • We recommend using the "Seitzer" guider if you are taking direct images. This setup is fairly straightforward to use and works well for relatively bright guide stars. It is not good for visualizing faint objects on the slit jaws and guiding at the same time. The program that runs the Seitzer guider is called TVGUIDER.

  • We recommend using the "DTI" guider if you are doing spectroscopy and guiding with light reflected from the slit jaws. In this case you will want to visualize faint targets on the slit jaws and guide on an integrated image; the choice of guide stars is typically much more limited than in direct imaging. The DTI guider is named for the video integrator box, made by Digital Television Imagery (DTI), which is used in this setup. The DTI guider is harder to use than the Seitzer guider but is much preferable in this role. The program that runs the DTI guider is called (confusingly) PCGUIDER.

    It is not practical to switch from one mode to the other during the night. The two setups use different hardware -- the Seitzer guider uses a video-processing board in a PC, while the DTI guider uses the DTI box for this purpose -- so switching between them requires some non-obvious re-cabling which is best left to the staff. Also, the TV focus is different between the slit jaws and direct viewing with the pickoff optics, so it's not practical to switch quickly from one mode to another.

    Several pieces of equipment work together to perform the autoguiding function:

    The TV selector/gain control, which is covered in the previous chapter. This generally sits on the right-hand extension of the observer's table in the control room. See the previous chapter for a description of its function. For the autoguider to work, the selector switch must be on GUIDE. Also, it is always worth reminding yourself of the long time constant of the GAIN control.

    The Autoguider 486-PC. Its keyboard sits on the right-hand extension of the observer's table in the control room, while the computer itself is just behind the window in the computer room. This PC is used in all guiding configurations.

    For the DTI guider only, the DTI box. It is the cream-colored box sitting on the right-hand extension of the observers table in the control room.

    7.2  Brief Remarks on the Seitzer Guider

    The Seitzer guider is generally used with the offset guide stage configured to look directly into the telescope. In the past one had to search manually for guide stars after setting up on a field. This still works, but you can pre-select guide stars using a program on agung called gs24, which searches the USNO A2.0 catalog and presents a map of the guide field with candidate guide stars. The guide stars can be selected with a cursor, and "dialed in" ahead of time. In practice this can save a great deal of time.

    To use gs24 from hiltner's console, do the following: The meaning should be pretty much self-explanatory.

    See the TVGUIDER manual for details about the Seitzer Guider. For historical reasons, it has its own manual, which is not reproduced here. If you are using the Seitzer guider, go to the TVGUIDER manual and skip the rest of this chapter.

    7.3  The DTI Box

    Note: You should only be reading this if you're in the minority using the DTI guider. (Of course, anyone is welcome to read this, but you're wasting your time if you're using the more standard Seitzer guider, which doesn't use the DTI.)

    7.3.1  Basic Setup of the DTI

    The DTI box takes video input and integrates it. It uses a "leaky memory", in which the older images are gradually forgotten, so the output image changes continuously, rather than in sudden jerks. The MODE SELECTION switch can be in DIRECT or DIGITAL position; in DIRECT position the output signal is the same as the input (although the signal is still integrated internally). The TIME CONSTANT selector controls how long the signal is integrated. The BLACK and WHITE controls select what level of signal corresponds to zero (black) and full intensity (white) in the output. The controls grouped under DISPLAY CONTROL (which are BRIGHTNESS and CONTRAST) are not particularly useful in practice; CONTRAST should be left at 1.

    Figure 7-1: The DTI box.

    Basic Setting Procedure:

    1. Turn on the DTI unit and the video monitor (and adjust the contrast and brightness on the monitor if necessary).

    2. On the CAMERA SELECTOR unit, first ensure the GAIN is all the way down (counterclockwise), then press the red button for power.

    3. Be sure the selector switch on the CAMERA SELECTOR is set to "GUIDE".

    4. Configure the MIS and telescope so that light will reach the slit jaws; to see the sky, this means the finder mirror must be OUT. For testing with comparison lamps, the mirror must be IN.

    5. Get light to the slit jaws by pointing at a star, or by turning on a lamp if testing.

    6. On the DTI, set the mode selector switch to "DIRECT"

    7. On the CAMERA SELECTOR box, advance the GAIN while watching the TV monitor. (Do so slowly, as this turns up the voltage on the image tube. Once the gain is up, it can take many minutes for it to go back down). The star and/or slit jaws should come into view. Stop advancing the gain when the star and background appear optimal -- for bright stars, the background will be dark grey and the slit opening will not be visible. If you are testing with lamps, or if there is bright twilight, or if you have no bright objects in the field, the slit opening will appear as a dark line across a lighter grey field.

    8. Once the gain is adjusted, switch the MODE SELECTOR switch on the DTI to DIGITAL.

    9. Be sure the digital mode switch is set to INTEGRATE (it should stay there).

    10. Set the display control CONTRAST to 1 (white stars on black sky) and leave it there.

    11. The contrast is set by adjusting the BLACK and WHITE knobs. If everything is black, turn the BLACK knob down (CCW); if everything is white, turn the WHITE knob up (CW). Adjust both of them to properly "window" the brightness level of the image. The principle is similar to adjusting the levels in any image display.

    12. Adjust the TIME CONSTANT to the minimum needed to see what you need. Shorter times will show changes more quickly, and the image stops improving above about 2 seconds (systematics dominate).

    13. If necessary, adjust the GAIN on the CAMERA SELECTOR box. Note that if your TIME CONSTANT is long, there will be a slight lag before your changes take effect, so adjust slowly. Adjust BLACK and WHITE as necessary after a gain change.

    7.3.2  Using the DTI Hand Paddle

    The DTI Hand Paddle (Figure 7.1b) is only functional in the DIGITAL mode. It is used to move cursors around the find/guide TV screen. The guide star candidate is centered within a BOX CURSOR. To activate the cursor the mode selector must be in DIGITAL and the camera selector, digital integrator, and the power supplies to the cameras located on the telescope must all be on.

    The CURSOR/WINDOW button steps through a sequence of four states:

    In the last three states, using the UP, DOWN, LEFT, or RIGHT buttons move the blinking cursor or (in the last state), both cursors. The coordinates of the active cursor are displayed in the lower right of the screen, together with the Z-value (pixel value). Note that the box cursor is the one used by the guider. The cross can be used as a fiducial marker.

    The function of the GRAB/ERASE button is dependent on the current digital mode setting. In practice it is seldom used.

    Both cursors may be reset to center by pressing the RESET button located above the AC power rocker switch on the front panel.

    7.4  Autoguiding with Images from the DTI (PCGUIDER)

    7.4.1  Introduction

    The PCGUIDER program is used to process data from the DTI and generate guide pulses. It was developed by Mark Metzger of MIT and the following description is adapted from notes provided by him. John Thorstensen later modified the user interface and revised this writeup, and John Tonry of MIT made some further modifications.

    PCGUIDER generates guide pulses using data from the DTI video integrator. It connects to the DTI through a parallel port and to the TCS through four guide lines (NSEW). The software reads a box of video data around the "box cursor" on the DTI display, computes a star centroid, and attempts to maintain the star at the same centroid position by moving the telescope.

    The guiding algorithm works by computing star centroids from several sequential images (generally three) taken at a fixed interval, and computing a mean. An offset is computed between this mean position and a fiducial position (the position of the star when guiding was started), and used to compute a motion for the telescope that will move the centroid to the fiducial position. The guide pulses are sent to the telescope and the process is repeated.

    7.4.2  Basic Startup and Operation

    The guider PC is normally left on. The guider software is started by typing PCGUIDER at the MS-DOS prompt. If everything initializes properly, it will respond with Board configured. PCGuider Ready. and type a short menu.

    Commands to the guider are given with single keystrokes, without typing return. The commands are given by the on-screen menu, which reads as follows.:

       D : Select Default parameters for various setups ...
       S : START GUIDING (with current parameters)
       Q : Quit guiding (interrupt)
       R : Resume guiding (on original center)
       P : Set parameters individually
       M : Type one-page Mini-Manual
       ? : print this menu
       X : Exit
    

    Here's how to get the guider going, and some basic information about it:

    7.4.3  Setting the Guider Parameters

    Several guider parameters can be configured using the P command. When you type "P", the program prompts you with the parameter and its present value in square brackets; if you like it, just hit ENTER, to change it, just give the new value and hit ENTER.

    Guider sample interval (sec):
    The rate at which the guider reads frames from the DTI. Note that this should be equal to or slightly longer than the leak time set on the DTI, but not significantly less. If less, the guiding algorithm may become unstable and produce oscillation. This parameter should not be set much below ~0.4 second, as the DTI can't provide new data to the PC at a higher rate.

    E/W and N/S guide rates (arcsec/sec):
    These should be set to several times the value on the TCS - values of 8 work pretty well. The guider lens choice affects this; experiment until the guiding is stable and rapid enough. Note again that smaller numbers mean more aggressive guiding. If the guide star oscillates, from guide cycle to guide cycle, the feedback is too aggressive and the guide number should be increased.

    Guider samples per update:
    The number of consecutive frames used to compute the motion for a single guide pulse, by default 3. Thus the interval that guide pulses are sent to the telescope is this number multiplied by the sample interval. The enhanced guiding algorithm in the PC guider tries to reduce the error in finding the centroid to a minimum by averaging positions from several frames. The individual frame error turns out to be significant, due to the pixel scale of the guider video and the structure in the camera. Thus it is best to set this value to at least 3.

    Guider angle (degrees):
    This is the angle of the "North" vector as it appears on the video screen, clockwise from vertical. For direct imaging this is 90 + rotator angle, and for spectroscopy is 270 - rotator angle.

    Flip E/W (0/1):
    This should be 0 for direct guiding, and 1 for guiding off of the slit.

    Centering Algorithm 0/1 = MM/JTh:
    This refers to details of how the sky is computed in the centering algorithm. The default "MM" algorithm is actually buggy and the "JTh" algorithm is recommended. Tonry, who was from MIT, made MM the default, presumably on the "not invented here" theory.

    If you notice that the guide star is visibly oscillating, then the guider's rate parameter is probably off (perhaps the installed lens is not what you thought, etc.). This can be compensated for by artificially increasing the telescope guide rate parameter in the pcguider. This will damp out overshoot of the guider, at the cost of perhaps not correcting as much at each interval as is required.

    7.4.4  More Guider Notes

    If the seeing is exceptionally variable or poor, or if there is a lot of wind shake, the best configuration is to increase the guider samples per update to 5-10. This will use an average of many positions, and discourage the guider from moving the telescope to a position when the stellar image may have already moved away.

    If you need to guide on very faint stars, increase the guider sample interval parameter to 2 sec and increase the DTI leak time to 2 sec for better performance.

    The guide star's centroid is found by a simple first-moment algorithm. There is no attempt to fit a sloping background. Because of vignetting in the optics, a bright background at high gain often shows a strong slope, which affects the centroid calculation. The guider can quite happily "chase" a sloping background far off target. For this reason it is good to make the background black, if that's possible.

    Figure 7-2: Field Orientation Maps

    7.5  Field Orientation Maps

    Figure 7.2 shows the FINDER/GUIDER field orientation for three instrument rotator angles.

    The orientation of the GUIDER field displayed on the FIND/GUIDE MONITOR depends upon the internal MIS optics.

    Use the following formulae to determine the orientation parameters which are entered in the 486-PC using the P command (section 7.4.3):

    Direct imaging (Off-axis guiding)

       Guider angle (deg) = 90 + (Instrument Rotator Angle)
    
       E/W flip: 0
    

    Spectroscopy (Slit-plate guiding)

       (Autoguider PA) = 270 - (Instrument Rotator Angle)
    
       E/W flip: 1
    

    Notes:

    It is assumed that instrument rotator encoder has been set to zero degrees at the actual mechanical zero. (Section 8.2).

    Orientation also depends upon the "fixed" angle at which the camera is mounted; if you suspect that there is a mis-alignment here, contact the staff.

    7.6  DTI Technical Reference Section

    If you are a first time user, you will certainly want to skip this section, which is adapted from the DTI-20C Operator's Manual. It is included for completeness only.

    To undertake a rigorous setup of the DVI:

    1. Turn on the DVI unit, the video monitor and the camera selector.
    2. Acquire some faint stars on the Find/Guide TV.
    3. Adjust the contrast and brightness on the Find/Guide TV.
    4. Set the voltage on the camera selector (4 or 5 volts).
    5. Put the mode selector switch to DIRECT.
    6. Adjust the analog controls:

      • turn the WHITE knob fully clockwise
      • turn the BLACK knob fully counter-clockwise
      • turn the WHITE knob CCW until some contrast appears
      • turn the BLACK knob CW until the contrast sharpens
      • note the two settings for further use

    7. Re-adjust the video monitor:

      • turn the voltage to zero; wait 60 seconds
      • set the monitor contrast to mid range
      • increase the monitor brightness until the rather lines are just visible then back down a tab

    8. Adjust the voltage until the sky background is just visible.
    9. Repeat analog steps 6, 7, and 8 as necessary.
    10. Set the DIGITAL MODE switch to INTEGRATE.
    11. Set the TIME CONSTANT to 1/4 second.
    12. Set the display control CONTRAST to 1 positive (white stars on black sky).
    13. Momentarily hold down the CONTOUR/NORMAL/RESET toggle switch.
    14. Set the mode selector switch to DIGITAL.
    15. Set the CONTOUR/NORMAL/RESET switch to CONTOUR:

      • adjust the display control BRIGHTNESS until bright contours form around the base of the stars
      • reset the CONTOUR/NORMAL/RESET switch to NORMAL.

    16. Test the effect of the ANALOG CONTROLS in steps 6, 7, and 8:

      • optimize the image contrast by slight variations
      • repeat step 13. as necessary

    17. INTEGRATE a background image:

      • set the telescope to a blank part of the sky
      • avoid further analog adjustments
      • set TIME CONSTANT to 4 seconds
      • wait at least 30 seconds then set digital mode to FREEZE.

    18. Examine the frozen background image:

      • adjust the display control BRIGHTNESS knob
      • adjust the display control CONTRAST knob
      • if dark regions have no contrast the BLACK knob is turned too CW
      • if light regions have no contrast the WHITE knob is turned too CCW

    19. Subtract the integrated background image from an input image:

      • set the digital mode to subtract
      • move the telescope to the guide star field
      • enhance the contrast with the DISPLAY CONTROLS (only)
      • note that a higher CONTRAST selector number is necessary
      • the subtracted image can be frozen and examined by switching to FREEZE

    20. Set up the GUIDER:

      • set the digital mode to INTEGRATE
      • check that the mode selector is already at DIGITAL
      • set the TIME CONSTANT (1 second is ideal for most applications)
      • select any star in the field as a guide star by enclosing it with the BOX CURSOR and note the X, Y and Z coordinates
      • note that the star must not be saturated (Z should be no more than about 225)

    21. Clear the image after slewing the telescope:

      • with the digital mode in INTEGRATE press ERASE.

    22. Manually select and accumulate "good seeing" images:

      • hold down ERASE and switch the digital mode to FREEZE
      • switch the mode selector to DIRECT
      • watch the image and quickly press GRAB to capture "good seeing" images. These will accumulate in the digital foreground memory, scaled according to the time constant that is currently set. The accumulated digital image can be non-destructively examined at any time by switching to DIGITAL.

    23. Start guiding:

      • set the digital mode to INTEGRATE
      • set the mode selector to DIGITAL
      • start the autoguider by clicking on the START button

    The Digital Video Integrator uses a "LEAKY MEMORY" algorithm,

        Xi = Xi-1 + (xi - Xi-1)/60T
    

    where:

       T = time constant in seconds
       xi = ADC sample value
       Xi = accumulated ADC average
    

    < Prev (MIS) Table of Contents Next (Instrument Rotator) >

    Updated: 2004-05-22