CONTROLS
CAMAC 335
SVX
ED-218655
CONTROLS HARDWARE RELEASE NO. 82.0
CAMAC 335 Module
SVX Radiation Dose Monitor
Dan E. Amidei / Robert J. Ducar
March 30, 1992 DRAFT
1 DESCRIPTION
2 CAMAC 335 OP CODES
5 SPARES
7 DOCUMENTATION
8 PALS DOCUMENTATION
PALS DIRECTORY
Note: Please see Ann Mason or Bob Ducar for more information.
1 DESCRIPTION
The two-wide CAMAC 335 module is uniquely associated with protection of the CDF SVX detector from damaging radiation by facilitating the generation of an abort request to the Tevatron Abort System. The module digitizes two separate loss monitor signals that are representative of radiation dose to the SVX detector at the B0 Colliding Detector Facility. Programmable alarm and trip levels are provided for each of the loss monitors. Digitized values at or above the alarm level result in module LAM assertion. Digitized values at or above the trip level also result in module LAM assertion and, additionally, may result in the fall of a permit to the Tevatron Abort System. The sampling rate of the loss monitor signals is once every ten beam revolutions in the Tevatron as indicated by TVBS revolution event $AA. Sampled data are directly readable and are also loaded into FIFOs that may range in depth from 2K to 16K samples. TCLK events, as well as CAMAC codes, control the stop and start of the FIFO recording process. FIFOs will stop loading approximately 10 msec after receipt of TCLK Event $47, which signifies the fall of the Tevatron Permit Loop. The FIFOs will start recording after TCLK Events $58, $5B, or $5C which usually signify injection of beam into the Tevatron. TCLK $48, which resets the Tevatron Abort Loop, will clear latched trips. Though not thought to be implemented for the initial installation, the ability of the module to assert alarm and/or trip conditions may be suppressed for select times upon detection of certain TCLK events. A companion embedded processor module will integrate the radiation dose for each of the channels according to algorithms yet to be specified. The accummulated dose is expected to be read and logged by the control system at the conclusion of every store. Details of this aspect of the SVX protection system will be specified at a later time and will not impact on the 335 module specifications presented herein.
2 CAMAC 335 OP CODES
All codes return Q and X immediately with the exception of the F(2) operations. This module may assert LAM.
F(0) A(n) Read Most Recent Digitized Value of Loss Monitor --------- n = 0 for Channel 0, n = 1 for Channel 1 Sample Data are in Unsigned Integer Format
R24 (MSB) - R9 | R8 - (LSB) R1 -------------------------------------- 0 | Last LM Sample
F(1) A(0) Read Module Status --------- R24 (MSB) - R10 | R9 - (LSB) R1 --------------------------------- 0 | SB9 - SB1
SB9 = 1 for Trip Output Enabled SB8 = 1 for Beam Permitting Output Active SB7 = 1 for FIFOs in Recording Mode SB6 = 1 for TCLK Present ($07 Event Stretched) SB5 = 1 for TVBS Present ($AA Event Stretched) SB4 = 0 (Reserved) SB3 = 0 (Reserved) SB2 = 0 (Reserved) SB1 = 0 (Reserved)
F(1) A(1) Read LAM Status (Any Bit High Yields LAM) --------- R24 (MSB) - R10 | R9 - (LSB) R1 --------------------------------- 0 | LS9 - LS1
LS9 = 1 for Trip Output Disabled LS8 = 1 for TVBS $AA Absent LS7 = 1 for TCLK $07 Absent LS6 = 0 (Reserved) LS5 = 1 for Chan 1 Trip Level Reached LS4 = 1 for Chan 0 Trip Level Reached LS3 = 0 (Reserved) LS2 = 1 for Chan 1 Alarm Level Reached LS1 = 1 for Chan 0 Alarm Level Reached
F(1) A(2) Read and Clear LAM Status --------- Read Data are as above. LS6 through LS1 are cleared at S2 time or upon module receipt of TCLK $48.
F(2) A(n) Read 2K to 16K FIFO Loss Monitor Sample Record --------- n = 0 for Channel 0, n = 1 for Channel 1 No Q when Empty Record Data are in Unsigned Integer Format
R24 (MSB) - R9 | R8 - (LSB) R1 ---------------------------------------- 0 | LM Sample Record
F(3) A(n) Read Alarm Level --------- n = 0 for Channel 0, n = 1 for Channel 1 Alarm Level is in Unsigned Integer Format
R24 (MSB) - R9 | R8 - (LSB) R1 ---------------------------------- 0 | Alarm Level
F(4) A(n) Read Trip Level --------- n = 0 for Channel 0, n = 1 for Channel 1 Trip Level is in Unsigned Integer Format
R24 (MSB) - R9 | R8 - (LSB) R1 --------------------------------- 0 | Trip Level
F(6) A(0) Read Module Number --------- R16 (MSB) - (LSB) R1 -------------------------------- | $014F Hex, 335 Dec |
F(7) A(0) Dummy Read - No Data are Returned ---------
F(9) A(0) Reset Module --------- Wire-OR with Z*S2 and Power Up Clear.
Trip Output Disabled, FIFOs Cleared and Set to Record, Alarm and Trip Flags Reset
F(19) A(n) Write Alarm Level ---------- n = 0 for Channel 0, n = 1 for Channel 1 Alarm Level is in Unsigned Integer Format
W24 (MSB) - W9 | W8 - (LSB) W1 ---------------------------------- x | Alarm Level
F(20) A(n) Write Trip Level ---------- n = 0 for Channel 0, n = 1 for Channel 1 Trip Level is in Unsigned Integer Format
W24 (MSB) - W9 | W8 - (LSB) W1 --------------------------------- x | Trip Level
F(24) A(0) Stop FIFO Recording (Immediate) ----------
F(26) A(0) Start FIFO Recording ----------
F(28) A(0) Disable Trip Request Output (Forced Permit State) ----------
F(30) A(0) Enable Trip Request Output ----------
3 CAMAC 335 MODULE - I/O ASSIGNMENTS
Rather than a standard 36 position edge connector in the I/O space, the CAMAC 335 has three directly mounted Lemo connectors that are accessible from the rear. Their assignment from top to bottom is as follows:
TCLK Input TCLK Output Permit Output
4 CAMAC 335 MODULE - FRONT PANEL
The CAMAC 335 module has the following front panel features:
N led: Red (stretched)
LAM led: Red
Enabled led: Yellow (Module may effect Trip when on.)
Permit Out Lemo: With Green & Red leds (Permit/Trip)
Channel 1 leds: Red (Trip), Yellow (Alarm), & Green (OK)
Channel 0 leds: Red (Trip), Yellow (Alarm), & Green (OK)
Loss Monitor Analog Input Lemos for Channels 1 and 0
TCLK In & Out Lemos: With Green led ($07 stretched)
TVBS $AA In & Out Lemos: With Yellow led ($AA stretched)
5 SPARES
A supply of CAMAC 335 operational spares is maintained on the second floor of the Linac Annex and possibly at the Colliding Detector Facility (CDF).
6 ON-BOARD MODULE OPTIONS
The 2K deep FIFOs at locations #10 and #11 may be substituted with 4K, 8K, or 16K deep devices as applications may warrant. The checking of all options and PAL designators before replacement of the module is advised.
7 DOCUMENTATION
0812-ED-218655 Schematic 0812-BD-218656 Artwork (RF-140) 0812-BD-218657 Master Drawing 0812-MD-34863 Outline Drawing 0812-BD-218658 Solder Mask 0812-BD-218659 Silkscreen 0812-MC-218660 Front Panel Mechanical 0812-MD-218661 Front Panel Silkscreen
8 PALS DOCUMENTATION
Directory: DEVL::USR$DISK3:[DUCAR.PALS]
Filenames: 33509A.DAT NAF Decoder #1 PLS173 33512A.DAT NAF Decoder #2 PLS173 33519A.DAT TCLK Event Decoder PLS173 33535A.DAT Channel 1 Logic PLS153 33536A.DAT Channel 0 Logic PLS153
rjd: DEVL::USR$DISK3:[DUCAR.DOC]CMC335.RNO
PALS DOCUMENTATION
module 33509a title ' CAMAC 335 R. DUCAR 3-31-92 ' 33509a device 'f173';
PUC, F16, F8, F4, F2, F1 pin 1,2,3,4,5,6; N, A1, S1, A8, A4 pin 7,8,9,10,11; S2, Z, A2, F112, TRER, TRE pin 13,14,15,16,17,18; CLR, F122, F24, F26, X pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations ;
/CLR = N*/F16*F8*/F4*/F2*F1*A8*A4*A2*/A1*S1*PUC + " F(9)A(0)S1 /Z*/S2*PUC + /PUC
/F26 = N*F16*F8*/F4*F2*/F1*A8*A4*A2*/A1*S1*CLR ;" F(26)A(0)S1
/F24 = N*F16*F8*/F4*/F2*/F1*A8*A4*A2*/A1*S1*CLR ;" F(24)A(0)S1
/F122 = N*/F16*/F8*/F4*/F2*F1*A8*A4*/A2*/A1*/S2*CLR ;" F(1)A(2)S2
/F112 = N*/F16*/F8*/F4*/F2*F1*A8*A4*A2*A1*CLR + " F(1)A(1) N*/F16*/F8*/F4*/F2*F1*A8*A4*/A2*/A1*CLR ;" F(1)A(2)
TRE = N*F16*F8*F4*F2*/F1*A8*A4*A2*/A1*S1*CLR + " F(30)A(0)S1 TRE*CLR*/TRER;
TRER = N*F16*F8*F4*/F2*/F1*A8*A4*A2*/A1*S1*CLR + " F(28)A(0)S1 /CLR;
/X = N*/F16*/F8*/F4*A8*A4*A2*CLR + " F(0-3)A(0-1) N*/F16*/F8*/F4*/F2*F1*A8*A4*/A2*/A1*CLR + " F(1)A(2) N*/F16*/F8*F4*/F2*/F1*A8*A4*A2*CLR + " F(4)A(0-1) N*/F16*/F8*F4*F2*A8*A4*A2*/A1*CLR + " F(6-7)A(0) N*/F16*F8*/F4*/F2*F1*A8*A4*A2*/A1*PUC*Z + " F(9)A(0) N*F16*/F8*/F4*F2*F1*A8*A4*A2*CLR + " F(19)A(0-1) N*F16*/F8*F4*/F2*/F1*A8*A4*A2*CLR + " F(20)A(0-1) N*F16*F8*/F1*A8*A4*A2*/A1*CLR ;" F(24-30)A(0)
"DESCRIPTION: This PAL provides the first level of NAF decoding for the CAMAC 335 module. end 33509a
module 33512a title ' CAMAC 335 R. DUCAR 4-2-92 ' 33512a device 'f173';
X, F16, F8, F4, F2, F1 pin 1,2,3,4,5,6; A1, S1, EF0, EF1, N pin 7,8,9,10,11; A2, W, R, DF02, Q, NC18 pin 13,14,15,16,17,18; NDF, DF6, DF1, DF319, DF420 pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations
/DF420 = /X*/F16*/F8*F4*/F2*/F1*A2 + " F(4)A(0-1) /X*F16*/F8*F4*/F2*/F1*A2*S1 ;" F(20)A(0-1)S1
/NDF = N*/F8*F4*/F2*F1*X " N*F(5+21)
/DF319 = /X*/F16*/F8*/F4*F2*F1*A2 + " F(3)A(0-1) /X*F16*/F8*/F4*F2*F1*A2*S1 ;" F(19)A(0-1)S1
/DF02 = /X*/F16*/F8*/F4*/F2*/F1*A2 + " F(0)A(0-1) /X*/F16*/F8*/F4*F2*/F1*A2*/A1*EF0 + " F(2)A(0) /X*/F16*/F8*/F4*F2*/F1*A2*A1*EF1 + " F(2)A(1) /DF02*/X;
/DF6 = /X*/F16*/F8*F4*F2*/F1*A2*/A1 ;" F(6)A(0)
/DF1 = /X*/F16*/F8*/F4*/F2*F1*A2*/A1 ;" F(1)A(0)
/R = /X*/DF02 + /X*/DF1 +/X*/DF6 + /X*/F16*/F8*/F4*/F2*F1*A2*A1 + " F(1)A(1) /X*/F16*/F8*/F4*/F2*F1*/A2*/A1 + " F(1)A(2) /X*/F16*/F8*/F4*F2*F1*A2 + " F(3)A(0-1) /X*/F16*/F8*F4*/F2*/F1*A2 ;" F(4)A(0-1)
/Q = /X*/R + /X*/W + /X*/F16*/F8*F4*F2*F1*A2*/A1 + " F(7)A(0) /X*/F16*F8*/F4*/F2*F1*A2*/A1 + " F(9)A(0) /X*F16*/F8*/F4*F2*F1*A2 + " F(19)A(0-1) /X*F16*/F8*F4*/F2*/F1*A2 + " F(20)A(0-1) /X*F16*F8*/F1*A2*/A1 ;" F(24-30)A(0)
/W = N*F16*/F8*/F4*F2*F1*A2 + " F(19)A(0-1) N*F16*/F8*F4*/F2*/F1*A2 ;" F(20)A(0-1)
"DESCRIPTION: This PAL provides the second level of NAF decoding for the CAMAC 335 module. end 33512a
module 33519b title ' CAMAC 335 R. DUCAR 4-20-92 ' 33519b device 'f173';
B0, B1, B2, B3, B4, DE pin 1,2,3,4,5,6; B5, B6, F122, B7, CLR pin 7,8,9,10,11; T1, TT1, T2, TT2, _47D, RLAM pin 13,14,15,16,17,18; F24, _47, F26, RCRD, _07 pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations
/_07 = /DE*/B7*/B6*/B5*/B4*/B3*B2*B1*B0 ;" $07
/_47 = /DE*/B7*B6*/B5*/B4*/B3*B2*B1*B0 ;" $47
RCRD = /DE*/B7*B6*/B5*/B4*B3*/B2*/B1*/B0 + " $48 /F26 + /CLR + RCRD*F24*__47D*/T2;
/RLAM = /DE*/B7*B6*/B5*/B4*B3*/B2*/B1*/B0 + " $48 /F122*RCRD + /CLR
"DESCRIPTION: This PAL decodes TCLK events for the CAMAC 335 module. "RCRD" being set allows the on-board FIFOs to record Loss Monitor samples.
B Version includes T2 in the reset part of the RCRD term to stop recording upon external pulse input from a 177 timer. end 33519b
module 33535a title ' CAMAC 335 R. DUCAR 3-31-92 ' 33535a device 'f153';
CE, RCRD, RLAM, AI, NC5 pin 1,2,3,4,5; TI, SB, FF, DF2 pin 6,7,8,9; LAMI, W, R, LAMO, NC15 pin 11,12,13,14,15; NC16, OK, ALRM, TRIP pin 16,17,18,19;
H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations ;
/LAMO = /TRIP + /ALRM + /SB + /LAMI " LAM Out
/W = CE*RCRD ;"
Write FIFO
/R = /W*/FF + /DF2 " Read FIFO
/TRIP = /ALRM*/TI*CE*RLAM + /TRIP*RLAM " Trip Flag
/ALRM = /AI*CE*RLAM + /ALRM*RLAM " Alarm Flag
/OK = ALRM*TRIP ;" OK
"DESCRIPTION: This PAL provides logic for the Channel 1 Loss Monitor circuitry of the CAMAC 335 module. end 33535a
module 33536a title ' CAMAC 335 R. DUCAR 4-10-92 ' 33536a device 'f153';
CE, RCRD, RLAM, TI, AI pin 1,2,3,4,5; DF2, SB, FF, NC9 pin 6,7,8,9; LAMI, R, W, TRE, NC15 pin 11,12,13,14,15; OK, ALRM, TRIP, LAMO pin 16,17,18,19;
H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations ;
/LAMO = /TRIP + /ALRM + /SB + /TRE + /LAMI " LAM Out
/W = CE*RCRD ;" Write FIFO
/R = /W*/FF + /DF2 " Read FIFO
/TRIP = /ALRM*/TI*CE*RLAM + /TRIP*RLAM " Trip Flag
/ALRM = /AI*CE*RLAM + /ALRM*RLAM " Alarm Flag
/OK = ALRM*TRIP ;" OK
"DESCRIPTION: This PAL provides logic for the Channel 0 Loss Monitor circuitry of the CAMAC 335 module. The equations are identical to those of the PAL at Location #35 except for the addition of the TRE term in the LAMO equation. end 33536a