DEIMOS Grating Offset Adjustment Procedure

Background

The DEIMOS gratings must be able to clamp up at all DEIMOS rotator position angles, a task made difficult by the varying gravity and subsequent flexure of the grating select mechanism. To achieve the accurate positioning required for each grating slider's cone to insert properly into the "pin", the system employs a two-stage alignment process:

  • Coarse move. First, the slider is moved into approximate position based on the absolute encoder value by slewing to the position given by the GRATTABn keyword, then it makes a slow move until a flag on the stage interrupts an optical switch.
  • Fine move. With the exact position now determined, the select stage makes a relative move of the number of encoder steps given by the keyword GRATOFFn. This should put the stage into position where it can clamp up.
Tuning the GRATOFFn keywords is a labrious process that is made much easier through scripts provided by Bob Kibrick of UCO/Lick. This document describes the tuning procedure and documents instances of tuning.

Procedure

Follow these steps to determine the appropriate values of GRATOFFn:

  1. Obtain summit permission to rotate DEIMOS.
  2. Open a terminal as any DEIMOS account at any of the DEIMOS Linux hosts and launch script:
    optimal_offset_driver 2 3 4
    Execution time for 3 sliders is around 6h30m.
  3. The following two files will be saved on /s/sdata1004/grating_offsets:
    optimal_offset_driver.csh.2020oct22.clampup
    optimal_offset_driver.csh.2020oct22.results
  4. Extract results by running the PlotDeimosGratingOffset script as follows:
    PlotDeimosGratingOffset /s/sdata1004/grating_offsets/ optimal_offset_driver.csh.2020oct22.clampup 45000 58000 60000 AUTO AUTO AUTO AUTO
  5. Review plot saved on /s/sdata1004/grating_offsets using the command:
    eog optimal_offset_driver_2020oct22.png
  6. Update the stowed GRATOFFn values included in the deimosplus.GRATEOFF keyword with the new values from the plot.
    1. Check the old stowed values:
      • gshow -s deimosplus grateoff
    2. Write the new values to deimosplus.GRATEOFF:
      • modify -s deimosplus GRATEOFF="deimot.GRATOFF1 0 deimot.GRATOFF2 44000 deimot.GRATOFF3 56500 deimot.GRATOFF4 56500"
      • gshow -s deimosplus grateoff
    3. Test the new values are properly loaded:
      • modify -s deimosplus godefault=1
      • gshow -s deimot gratoff1 gratoff2 gratoff3 gratoff4
  7. Optional: Have Lick staff enter new values of GRATOFFn into Galil code and burn into controller ROM.

Typical grating offset adjustment plot

Grating offset adjustment plot

Last modified: 10/20/2023 09:50
Send questions or comments to:DEIMOS Support

The information on this page is the property of the W. M. Keck Observatory. The contents of this page or any part thereof shall not be copied or otherwise reproduced or transferred to other documents or used or disclosed to others for any purpose other than observing support at the W. M. Keck Observatory and the subsequent analysis and publication of scientific data obtained from observations conducted at the W. M. Keck Observatory. All rights reserved. © W. M. Keck Observatory.