Global Control›Global Control
#14685
Output Protection
When the new version of locking Gc was tested we discovered that the Gc could still send corrupted data to the DSPs. This appears to be due to the fact that the Gc has NEVER had a protection against sending bad data, though there is a check on the incoming data. The check on incoming data is obviously sufficient only if the Gc does not generate bad data internally, which, due to an uninitialized output matrix, is exactly what happed.
I have implemented a check of the output of the Gc (in locking_Algo.cxx, v17r5). This check limits the output values to have an absolute magnitude less than 1e20. The logic is written so as to exclude NaN and Inf. The value of 1e20 is many orders of magnitude larger than any useful signal, as the DSP signals are generally calibrated in useful physical units (urad, um, Volts, etc... nothing Planc would like).
To test this protection I set all DSP LockSw gains to 0, enabled a sine excitation on CARM, changed the locking thresholds so that the Algo would send correction signals even though the arms were not locked, and increased the CARM -> NE driving matrix element until clipping was observed in the control signals (see plot).