Flux-loop reset per detector

From MCEWiki

The flux-loop servo can be reset on a per-detector basis without having to stop the data-acquistion in progress. This is particulary useful in cases that only certain detectors are hit by cosmic rays.

To schedule a reset, a per-detector flag can be set using servo_rst_col# parameter and then the servo_rst_arm has to be set to 1.

The reset involves setting the integral-term of the calculated feedback to 0, resetting the corresponding flux-jump counter to 0, and resetting the corresponding integral_clamp flag.

For example to schedule a servo reset on col3, row 4, and col5, row 2:

wb rc1 servo_rst_col3 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
wb rc1 servo_rst_col5 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wb rc1 servo_rst_arm 1

Bugs

  • Currently (RC fw_rev 5.2.1 and 6.0.3), the per-pixel reset does not clear the filter, like a flx_lp_init does.
  • Currently (RC fw_rev 5.2.1 and 6.0.3), resetting any pixel also resets all the pixels in the last row (as specified by num_rows, ignoring row_order).