HOWTO Change ASM skip-frame position safety thresholds

Hereafter the procedure to change the firmware skip frame thresholds. This procedure is intended to allow the override of the skip frame thresholds to be applied to the absolute position command as reported in the document this , step 21. In $ADOPT_SOURCE/conf/adsec// there is a configuration file named skipframe_th.txt. Of couse before use, it has to be installed. Each vector is corresponding to a skip frame threshold. The vector index is bind to the focal station (e.g. 3 for LBTI) Hereafter is reported a sample of the file:
;  [0] no focal station selected
;[1,2...7] thresholds for the corresponding focal station
;[3] LBTI

lowth_cmd            array    
    float 8
    0  36e-6 36e-6 36e-6 36e-6 36e-6 36e-6 36e-6
end

deltath_cmd          array
    float 8
    10e-6 10e-6 10e-6 10e-6 10e-6 10e-6 10e-6 10e-6
end

upth_cmd             array
    float 8
    120e-6 120e-6 120e-6 73e-6 120e-6 120e-6 120e-6 120e-6
end

lowth_force          array
    float 8
    -0.77 -0.77 -0.77 -0.77 -0.77 -0.77 -0.77 0.77
end

upth_force           array
    float 8
    0.77 0.77 0.77 0.77 0.77 0.77 0.77 0.77
end

deltath_mode          array
    float 8
    260e-6 260e-6 260e-6 260e-6 260e-6 260e-6 260e-6 260e-6
end

upth_mode           array
    float 8
    130e-6 130e-6 130e-6 130e-6 130e-6 130e-6 130e-6 130e-6
end

The skip thresholds parameters are presented below. The value set is the last not allowed.
  • lowth_cmd: minimum position command
  • deltath_cmd: maximum delta position command
  • upth_cmd: maximum position command
  • lowth_force: negative force command threshold
  • upth_force: positive force command threshold
  • deltath_mode: maximum delta reconstruction mode allowed
  • upth_mode: maximum integrated mode allowed

At 2014-06-27 some firmware skip-frame position thresholds were hard coded in the AOSupervisor. Hereafter the old procedure to change them until a proper configuration file will be created. This procedure is intended to allow the override of the skip frame thresholds to be applied to the absolute position command as reported in the document this , step 21.

  • set the shell as usual and load the selected shape, if needed
  • in the adsecsx or adsecdx workstation, call "adsceng" script and open and IDL Terminal
  • write the command print, set_safe_skip(ACTLIST=adsec.act_w_cl, MINCMD=mincmd_in_meters, MAXCMD=maxcmd_in_meters ). The standard parameters are restored with the command: print, set_safe_skip(ACTLIST=adsec.act_w_cl, MODLIST=indgen(n_elements(adsec.act_w_cl)))

NB PLEASE BE VERY CAREFUL WITH THE THRESHOLDS. In particular:
  • before set max and min skip-frame position command thresholds, check the max and min distance read by the system in the AdSecMirror GUI
  • to notice some change, you should set the MINCMD at least around 40e-6 (40e-6 or 45e-6 can be a good value, depending on mirror shape and on the amount of tilt you want to allow before skipping frames). The blind zone value change for each actuator but is usually less than 40e-6 [m].

-- %USERSIG{MarcoXompero - 2014-06-27}%

Comments

 
Topic revision: r4 - 16 Oct 2014, MarcoXompero
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback