Calculation of correction

Drawing 2024-08-23 21.47.28.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

SPSBEAM/B

SPSBEAM/BHYS

Interpolate

SPS BHYS CORRECTION

Interpolate

Subtract

SPSBEAM/BHYS_CORR

Link to original

Value = target + correction

Value of SPSBEAM/BHYS subtracted by SPSBEAM/B should yield SPSBEAM/BHYS@CORRECTION setting part.

Interfacing UCAP to LSA NEXT requires the lsa.server property to be set to next.

An UCAP converter has been implemented in sps-ucap-hysteresis-compensation and started on the UCAP-NODE-CSS-DSB-TEST node with device name SPSBEAM-BHYS-CORRECTION/Acquisition, which publishes the latest BHYS/CORRECTION for each user.

  • Test SPSBEAM/BHYS correction calculation with SPS LSA PRO during Pablo’s MD [priority:: medium] [due:: 2024-08-28] [completion:: 2024-08-28]

Event building

The compensation event building is handled by the mbi_event_builder converter, which is deployed as SPS.HYSTCOMP.MBI.EVENT/CycleWarning on the UCAP TEST node. The list of CycleData can be reconstructed using the sps_ucap.hystcom.mbi_event_builder.unflatten_cycle_data function.

The additional lag used by the UCAP converter is

SPS.USER.LHC3: 24.7 ms +/- 13.1 ms, N=31
SPS.USER.MD1: 15.9 ms +/- 6.4 ms, N=104
SPS.USER.SFTPRO1: 34.2 ms +/- 13.7 ms, N=103
SPS.USER.ZERO: 29.6 ms +/- 16.5 ms, N=30

With the max being around 50ms.