Alarms for voltages (Nerses)

From GlueXWiki
Jump to: navigation, search

Alarm calculation scheme.jpg Blocks with cyan background are inputs for alarm calculation, pale yellow blocks are intermediate calculations and yellow one is final storage of alarm state. Red arrow indicate transfer of information with Passive Processing, black arrows with No Passive Processing.

The δ and ε are different parameters for CAEN HV, WIENER LV abd BIAS modules.

δ 0.5V 0.02V 0.01V
ε 0.01V 0.02V 0.002V

Calcout record is recalculated and alarm state changed subsequently if one of inputs are changed achieved using posted monitors on input channels.

Alarm calculation scheme Wiener.jpg

The difference with CAEN is that intead of Status we have Stat_string reported by hardware. In the CAEN haardware state reported is unique state. I.e. it could not be on the On and Ramping Up states simultaneously. In Winer/iSEG, the state could be combination of different states reported by bit pattern. We report an alarm if one of BAD states reported or channel is not on (bit0). Below is the list of bits reported by hardware (Note the bit8 is not used).

Processed as   Bit and short name                      Description
GOOD           outputOn (0),                           output channel is on
BAD            outputInhibit(1),                       external (hardware-)inhibit of the output channel
BAD            outputFailureMinSenseVoltage (2)        Supervision limit hurt: Sense voltage is too low
BAD            outputFailureMaxSenseVoltage (3),       Supervision limit hurt: Sense voltage is too high
BAD            outputFailureMaxTerminalVoltage (4),    Supervision limit hurt: Terminal voltage is too high
BAD            outputFailureMaxCurrent (5),            Supervision limit hurt: Current is too high
BAD            outputFailureMaxTemperature (6),        Supervision limit hurt: Heat sink temperature is too high
BAD            outputFailureMaxPower (7),              Supervision limit hurt: Output power is too high
BAD            outputFailureTimeout (9),               Communication timeout between output channel and main control
NORMAL         outputCurrentLimited (10),              Current limiting is active (constant current mode)
NORMAL         outputRampUp (11),                      Output voltage is increasing (e.g. after switch on)
NORMAL         outputRampDown (12),                    Output voltage is decreasing (e.g. after switch off)
BAD            outputEnableKill (13),                  EnableKill is active
BAD            outputEmergencyOff (14),                EmergencyOff event is active
NORMAL         outputAdjusting (15),                   Fine adjustment is working
NORMAL         outputConstantVoltage (16),             Voltage control (constant voltage mode)
BAD            outputVoltageBoundsExceeded (17),       output Voltage out of bounds
BAD            outputCurrentBoundsExceeded (18),       output Current out of bounds
BAD            outputFailureCurrentLimit (19)          Hardware current limit (EHS) / trip (EDS, EBS) was exceeded