
The BBL3 is a hardwired interlock system developed by the L3 Experiment at CERN.
The BBL3 System, as used in ZEUS, consists of three BBL3 crates situated in the rack P-1-3 of the ZEUS control room. Each crate accepts 48 inputs (LEMO 00 which connect to the rear of each crate) and produces 32 outputs (in various versions also at the rear of each crate). Each input can be "LOCKED" by switches on the front on each crate. "Locked" inputs are displayed and can be readout but are not used in producing the outputs. Each output is a user programmable, hardwired "OR" of any of the inputs. The output from each crate is distributed to a Interlock Relay Box, to the ZEUS Slow Control, and to the SHIVA interface. In addition, the output from BBL3 crate 0 is connected to the OPTO22 system in rack P-1-4 (just a box with lights) for display purposes.
The Interlock Relay Box provides a fourfold fanout of each output. Note the numbering on the interlock relay boxes is 1-32 while the BBL3 uses 0-31 (Sorry).
The SHIVA Interface allows the OS9 system CRATES in rack P-1-1 to monitor the status of all BBL3 crates. Users can telnet to CRATES and run the display program shiva_display to display the status of all inputs, lock switches, and outputs. If this program is not working one can try to re-start the monitoring tasks with the commands: shiva_read_reset <>>>/nil & and shiva_monitor <>>>/nil &. If this fails try rebooting the OS9.
In addition, daily log files are kept in directory /h0/SHIVA. These log files record every change of input, lock switch, or output together with the input or output channel message (see below).
The messages which appear on the shiva display program and in the log files are read from the file /h0/SHIVA/ASSIG/shiva0.res. Note: if you change this file it is necessary to ensure that read access is world.
Re: cabling. Originally it was planned for the BBL3 to be in the rucksack, B-3-13. Consequently, several cables to and from various components end at a terminal strip in B-3-13. When it was decided to have the BBL3 in the control room a cable was run from B-3-13 to the control room and a mating terminal strip installed there behind rack P-1-3. Subsequent cabling to and from the various components go directly to the BBL3 in P-1-4.
Inputs and Outputs, in the BBL3 system, are considered "TRUE" if there is an "OPEN CIRCUIT" and "FALSE" if there is a "CLOSED CIRCUIT". Thus if an input cable is unplugged, or broken (but not shorted) the BBL3 assumes the "TRUE" state for that input channel. The TRUE state can also be considered as an alarm state (ie. something is wrong or dangerous or used to prohibit some other action).
LED's on the input modules (at rear of crate) show the status of the inputs. LED's are on when the input is "true" or an open circuit. LED's on the logic units (at front panel of each BBL3 crate) show the status of the inputs and lock switches. Left LED on means open circuit, flashing means it was an open circuit but now closed and reset not yet performed (Reset is normally automatic via Shiva system running on CRATES but if CRATES is off or programs not running must reset by button on main control module in each crate.) The right LED on means lock switch enabled. Output's are programmed through the two pin arrays on the right side of each BBL3 crate. There are 56 horizontal rows for the 48 input channels plus 8 spemcial functions. The right-most pin board controls outputs 0-15 and the left controls outputs 16-31. The outputs are the vertical columns of each pin board. There are also LED's along the left edge of each pin board which indicate the output channel status (on means open circuit). The outputs are programmed by inserting a diode pin into one of the holes. This couples that horizontal input channel with that vertical output channel. Whenever that input channel is an open circuit and not locked then that output channel is also an open circuit. Each horizontal input line can have several diodes and thus affect several output channels. Similarly each vertical output channel can have several diodes and is thus affected by several input channels. The output is the logical "OR" of the inputs. If any input is true the outpuit is also true.
The present inputs are listed in the following table. The messages describe the signal TRUE or ALARM states with the programmed actions (unless inputs are locked). The outputs associated with each input are also shown.
| Crate | Input | Message | Action | Output |
| 0 | 0 | Operator Switch - DAQ enabled | Prohibit injection | 0,31 |
| 0 | 1 | F/RCAL - NOT fully OPEN | Prohibit injection | 1,31 |
| 0 | 2 | F/RCAL - NOT fully CLOSED | Do NOT setup CTD, etc. | 2,22-24 |
| 0 | 3 | Magnets not at nominal current | Inhibit GFLT | 3,31 |
| 0 | 4 | BAC HV - ON | Prohibit injection | 4,31 |
| 0 | 5 | CTD HV - ON | Prohibit injection | 5,31 |
| 0 | 6 | Beampipe Temp. - ALARM | ABORT BEAM, Prohibit injection | 6,30,31 |
| 0 | 7 | 7 | ||
| 0 | 8 | Radiation in CAL > 1kHz | Sound voice alarm | 8 |
| 0 | 9 | Radiation in CAL > 5kHz | Sound voice alarm | 9 |
| 0 | 10 | STT tripped | 16,20 | 10 |
| 0 | 11 | CTD - TRIPPED | Inhibit GFLT | 11,20 |
| 0 | 12 | LPS - ON | Prohibit injection | 12,31 |
| 0 | 13 | FMUON LST HV - ON | 13 | |
| 0 | 14 | FMUON DC HV - ON | 14 | |
| 0 | 15 | Panic Button - ALARM | ABORT BEAM | 15,30 |
| 0 | 16 | F/RTD HV - TRIPPED | Inhibit GFLT | 16,20 |
| 0 | 17 | BMUON HV - TRIPPED | Inhibit GFLT | 17,20 |
| 0 | 18 | CAL P.S. - FAILURE | Inhibit GFLT | 18,20 |
| 0 | 19 | Disable BMUON HV | Do NOT setup BMUON | 19,24 |
| 0 | 20 | Output 2 (CAL - NOT CLOSED) | Inhibit GFLT | 20 |
| 0 | 24 | Lumi Veto | Prohibit injection | 7,31 |
| 0 | 25 | Lumi Alarm | Inhibit GFLT | 10,20 |
| 0 | 26 | 8 m tagger Veto | Prohibit injection | 7,31 |
| 0 | 27 | 8 m tagger Alarm | Inhibit GFLT | 10,20 |
| 0 | 28 | 44 m tagger Veto | Prohibit injection | 7,31 |
| 0 | 29 | 44 m tagger Alarm | Inhibit GFLT | 10,20 |
| 0 | 30-31 | |||
| 0 | 32 | Output 20 (CAL+CTD+F/RTD+BMU+PS) | Inhibit GFLT | 25 |
| 0 | 33-36 | |||
| 0 | 37 | open circuit | SCM ignores BBL3 ? | 26 |
| 0 | 38 | MVD radiation monitor 1 | Readout by SHIVA | - |
| 0 | 39 | MVD radiation monitor 2 | Readout by SHIVA | - |
| 0 | 40 | MVD radiation monitor 3 | ABORT BEAM, prohibit injection | 30,31 |
| 0 | 41 | MVD temperature alarm | ABORT BEAM, prohibit injection | 30,31 |
| 0 | 42 | MVD is on | Prohibit injection | 31 |
| 0 | 43 | MVD trip | Inhibit GFLT | 20 |
| 0 | 44-46 | |||
| 0 | 47 | Op. Switch - injection enabled | Do not setup CTD, etc. | 21-24,27,28 |
| 1 | 0 | Balcony NW F - OPEN | ||
| 1 | 1 | Balcony NW R - OPEN | ||
| 1 | 2 | Balcony NE F - OPEN | ||
| 1 | 3 | Balcony NE R - OPEN | ||
| 1 | 4 | Balcony SW F - OPEN | ||
| 1 | 5 | Balcony SW R - OPEN | ||
| 1 | 6 | Balcony SE F - OPEN | ||
| 1 | 7 | Balcony SE R - OPEN | ||
| 1 | 8 | Rucksack Temp Input Alarm | Acoustic alarm | 0 |
| 1 | 9 | Rucksack Output Alarm | Acoustic alarm | 0 |
| 1 | 10 | Rucksack Pressure Input Alarm | Acoustic alarm | 0 |
| 1 | 11 | Rucksack Pressure Output Alarm | Acoustic alarm | 0 |
| 1 | 12 | Fmuon Hut Temp Input Alarm | Acoustic alarm | 0 |
| 1 | 13 | Fmuon Hut Output Alarm | Acoustic alarm | 0 |
| 1 | 14 | Fmuon Hut Pressure Input Alarm | Acoustic alarm | 0 |
| 1 | 15 | Fmuon Hut Pressure Output Alarm | Acoustic alarm | 0 |
| 1 | 16 | open circuit | Warn if solenoid trips | 16 |
| 1 | 17 | open circuit | Warn if compensator trips | 17 |
| 1 | 18 | open circuit | Warn if yoke trips | 18 |
| 1 | 19 | open circuit | Warn if toroid trips | 19 |
| 1 | 20 | Cooling pump alarm | Warn if <2 pumps are running | 1 |
| 1 | 21-47 | |||
| 2 | 0-47 |
The present outputs are listed in the following table. The messages describe the signal TRUE or ALARM states with the cable connections. The inputs which produce each output are also shown.
| Crate | Output | Message | Connection | Input |
| 0 | 0 | Operator Switch - DAQ enabled | 0 | |
| 0 | 1 | F/RCAL - NOT fully OPEN | 1 | |
| 0 | 2 | F/RCAL - NOT fully CLOSED | to input 20 | 2 |
| 0 | 3 | Magnets not at nominal current | 3 | |
| 0 | 4 | BAC HV - ON | 4 | |
| 0 | 5 | CTD HV - ON | 5 | |
| 0 | 6 | Beampipe Temp. - ALARM | 6 | |
| 0 | 7 | LUMI HV - ON | 7 | |
| 0 | 8 | Radiation in CAL > 1kHz | to C-1-14 | 8 |
| 0 | 9 | Radiation in CAL > 5kHz | 9 | |
| 0 | 10 | 10 | ||
| 0 | 11 | CTD - TRIPPED | 11 | |
| 0 | 12 | LPS - ON | 12 | |
| 0 | 13 | FMUON LST HV - ON | 13 | |
| 0 | 14 | FMUON DC HV - ON | 14 | |
| 0 | 15 | Panic Button - ALARM | 15 | |
| 0 | 16 | F/RTD or STT HV - TRIPPED | 16 | |
| 0 | 17 | BMUON HV - TRIPPED | 17 | |
| 0 | 18 | CAL P.S. - FAILURE | 18 | |
| 0 | 19 | Disable BMUON HV | 19 | |
| 0 | 20 | CAL+CTD+F/RTD+BMU+PS | to input 32 | 3,11,16-18,20 |
| 0 | 21 | Prepare for DAQ | 47 | |
| 0 | 22 | prepare for DAQ + CAL, MVD enable, MVD-laser enable | to LPS and MVD | 2,47 |
| 0 | 23 | prepare for DAQ + CAL | to CTD, FMUON | 2,47 |
| 0 | 24 | prepare for DAQ + CAL + BMUON | to B/RMUON | 2,19,47 |
| 0 | 25 | inhibit GFLT | to GFLT | 32 |
| 0 | 26 | SC ignores BBL3 | 37 | |
| 0 | 27 | prepare for DAQ | to FDET, TRD | 47 |
| 0 | 28 | prepare for DAQ | to BAC | 47 |
| 0 | 29 | Gas ALARM | to HERA | |
| 0 | 30 | ABORT BEAM | to HERA | 6,15,40,41 |
| 0 | 31 | Prohibit Injection | to HERA | 0,1,4-7,12 |
| 1 | 0 | Cooling water alarm Rucksack/FMUON hut | 8,9,10,11,12,12,14,15 | |
| 1 | 1 | Cooling water alarm: <2 pumps running | 20 | |
| 1 | 2-15 | |||
| 1 | 16 | SC warns if solenoid trips | 16 | |
| 1 | 17 | SC warns if compensator trips | 17 | |
| 1 | 18 | SC warns if yoke trips | 18 | |
| 1 | 19 | SC warns if toroid trips | 19 | |
| 1 | 20-31 | |||
| 2 | 0-31 |
The following INPUTS and their corresponding SWITCHES generate a PROHIBIT INJECTION :
| Crate | INPUT | |
| 0 | 0 | Operator Switch - DAQ enabled |
| 0 | 1 | F/RCAL - NOT fully OPEN |
| 0 | 4 | BAC HV - ON |
| 0 | 5 | CTD HV - ON |
| 0 | 6 | Beampipe Temp. - ALARM |
| 0 | 12 | LPS - ON |
| 0 | 24 | Lumi Veto |
| 0 | 26 | 8 m tagger Veto |
| 0 | 28 | 44 m tagger Veto |
| 0 | 40 | MVD rad. monitor 3 |
| 0 | 41 | MVD temperature alarm |
| 0 | 42 | MVD is on |
The following INPUTS and their corresponding SWITCHES generate an INHIBIT GFLT :
| Crate | INPUT | |
| 0 | 3 | Magnets not at nominal current |
| 0 | 10 | STT tripped |
| 0 | 11 | CTD - TRIPPED |
| 0 | 16 | F/RTD HV - TRIPPED |
| 0 | 17 | BMUON HV - TRIPPED |
| 0 | 18 | CAL P.S. - FAILURE |
| 0 | 20 | Output 2 (CAL - NOT CLOSED) |
| 0 | 25 | Lumi Alarm |
| 0 | 27 | 8 m tagger Alarm |
| 0 | 29 | 44 m tagger Alarm |
| 0 | 32 | Output 20 (CAL+CTD+F/RTD+BMU+PS) |
| 0 | 43 | MVD tripped |
Comments and queries to:
| Bernd Loehr | Tel: +49 (40) 8998 3298 |
| DESY - ZEUS | FAX: +49 (40) 8998 3092 |
| Notkestrasse 85 | |
| 22603 Hamburg, Germany | E-mail: BERND.LOEHR@DESY.DE |
| http://www-zeus.desy.de/~loehr/BBL3/bbl3.html | Updated 5/3/98 |