|
Calvin&Hobbes
Setup for the Azz Experiment |
|
|
by Markus Mühlbauer |
This documents describes the CAMAC crate setup for the Azz experiments
used with the Calvin&Hobbes data acquisition program.
See also: Calvin&Hobbes:
Event file Structure for the Azz Experiment
Setup
Slow
Control
List
of Tables
In the Azz experiment we have two principal groups of detectors: the
polarimeter (P) and the cryo-target in combination with the neutron detector
(TN). A single CAMAC crate controlled by our CES VCC 2118 Crate Controller
is used to read out both detector groups. This crate holds the CAMAC units
as shown in table
1.
Table 1: Layout of the CAMAC crate
Slot |
Group |
Unit |
1 |
|
Borer Memory Buffer 1302
(timing scintillator)) |
2 ... 8 |
TN |
Phillips 7118H TDC - upper ten channels
(neutron detector bars) |
10 |
TN |
Phillips 7118H TDC - all 16 channels
(neuton detector paddels ...) |
12, 13 |
TN |
LeCroy 4434 scaler - all 32 channels
(n-Det. bars, paddels, pulser, RF, RFstab, target, ....
) |
14 |
TN |
LeCroy 4448 Input register (all 48 channels)
(n-Det. bars and paddels, pulser, RFs,target, ...) |
15 |
TN |
LeCroy TDC 2228 - upper two channels
(target and spare) |
16 ... 19 |
TN |
LeCroy ADC 2249A - upper ten channels
(neutron detector bars) |
20 |
TN |
LeCroy ADC 2249A - upper 11 channels
(neuton detector paddels ...) |
21..22 |
P |
Borer Memory Buffer 1302
(polarimeter left/right) |
23 |
|
CAEN Input/Output Register c219
(12 output and 4 input channels; LAM generation) |
24/25 |
|
CES VCC 2118 Crate Controller |
Running Calvin&Hobbes
requires the setup as given in table
1. . While booting Calvin&Hobbes checks every module listed
and fails to run if one is missing. None of the units is optional.
The three Borer
Buffers 1302 (polarimeter and basel chamber) are read out individually.
When one of the memory banks gets full, the unit issues a LAM which generates
an interupt in the VCC2118, the unit is read out and the data gets fed
into the event stream. As the Borer Buffers run free and independent from
each other and the rest of the electronics, no coincidences can be applied.
At the end of a run, the remaining values are read out and stored.
The actual polarisation pattern must be fed into the parameter inputs
#1 (pol. 0), #2 (pol. 1) of the Borer Buffers. and therefore stored together
with the corresponding ADC value in the buffer memory for later analysis
The LeCroy
ADCs, Input Registers and the Phillips TDCs (see tables
2, and4
) are read out all together after a master trigger (generated by some external
coincidence logic) fed into the input #16 of the CAEN Input/Output register
in slot 23. The master trigger has to be delayed external by 60 to
100us to ensure that the ADCs have finished their conversions.
In order to keep the data volume small the TDCs are read out sparse
and only the ADCs channels are read, which are above trigger threshold.
To get the pedestals as well once and a while all ADC channels are read
out.
The actual polarization is read from the c219 IO register (slot #23)
and stored together with the ADC/TDC data in the event stream. To achieve
this the polarisation pattern must be fed back into c219 IO register and
the (undelayed!) master trigger must be connected with its strobe input.
Table 2: ADC and TDC channels read
out
TDC |
ADC |
Detector |
Slot |
Channel |
Slot |
Channel |
2 |
1 ... 10 |
16 |
1 ... 10 |
n-Det. bars E11d-E15d & E21d-E25d |
4 |
1 ... 10 |
17 |
1 ... 10 |
n-Det. bars E11u-E15u & E21u-E25u |
6 |
1 ... 10 |
18 |
1 ... 10 |
n-Det. bars E31d-E35d & E41d-E45d |
8 |
1 ... 10 |
19 |
1 ... 10 |
n-Det. bars E31u-E35u & E41u-E45u |
10 |
1 ... 9 |
20 |
1 ... 9 |
n-Det. paddels dE1u-dE9d |
10 |
10,11 |
20 |
10,11 |
laser-pulser diodes 1 & 2 |
10 |
12 |
- |
- |
laser-pulser trigger |
10 |
13,14 |
- |
- |
RF and stabilized RF |
10 |
15,16 |
15 |
1,2 |
target and spare |
The LeCroy
Scalers 2551 are read out every time the polarization changes.
The channel 17 of the scaler in slot 13 is read on every event and gives
the time stamp value stored in the event header. Therefore it must be connected
to a 1kHz clock. The veto signal from the c219 IO register is used to inhibit
the counting while the polarization changes. Table
3 shows the map of the scalers.
Table 3: Description of the scalers
and the n-Det. input register bits
Scaler |
Input Reg. |
Detector |
Slot |
Channel |
Slot |
Channel |
12 |
1 ... 10 |
14 |
1 ... 10 |
n-Det. coinc. bars E11-E15 & E21-E25 |
12 |
17 ... 26 |
14 |
17 ... 26 |
n-Det. coinc. bars E31-E35 & E41-E45 |
13 |
1 ... 9 |
14 |
33 ... 41 |
n-Det. paddels dE1u-dE9d |
13 |
10,11 |
14 |
42, 43 |
laser-pulser diodes 1 & 2 |
13 |
12 |
14 |
44 |
laser-pulser trigger |
13 |
13,14 |
14 |
45,46 |
RF and stabilized RF |
13 |
15,16 |
14 |
47,48 |
target and spare |
13 |
17 |
- |
- |
time (ms) |
13 |
18 |
- |
- |
faraday cup (0.01nA) |
13 |
19 |
- |
- |
polarimeter pulser |
13 |
20 |
- |
- |
electronic pulser |
13 |
21 |
- |
- |
target (T) |
13 |
22 |
- |
- |
n-detector (N) |
13 |
23 |
- |
- |
N x T |
13 |
24 |
- |
- |
N x T x RF1 |
13 |
25 |
- |
- |
N x T x RF1 x RF2 |
13 |
26 |
- |
- |
master trigger |
14 |
27 |
- |
- |
Mainz trigger |
15 |
28 |
- |
- |
target ADC gate |
The CAEN
Input/Output register c219 is used to output some status bits (used
by the master trigger circurrit) and to set and read the polarization (cf. table
4). The polarization is changed every few seconds (selectable
via slow control). The veto bit (bit #9) is set, the actual polarisation
pattern (bits #10...#12) is cleared, the new polarisation is set (bits
#6...#8) and the scaler values are read out. After a short time (~1/60s)
when the polarization has changed the veto bit (bit #9) is cleared and
the actual polarisation pattern is set (#bits #10...#12).
In order to syncronize all LAM sources with the polarization the actual
polarization pattern must be connected to the parameter inputs (TTL) of
the Borer Buffers and also feed back into the bits #13,#14 of the c219
input register. The scalers must be inhibited with the veto signal while
the polarization changes. The master trigger must be connected to
the c219's strobe input to store the actual polarization selected at the
trigger time and a delayed master trigger (60 to 100us) must be fed into
the bit #16 for the LAM generation.
Table 4: Description of the IO-register
bits
Bit |
I/O |
Description |
1 |
O |
set while a run is started |
2 |
O |
run start marker |
3 |
O |
set while ADC/TDCs are read out |
4 |
O |
ADC/TDC read out start marker |
5 |
O |
ADC/TDC read out end marker (e.g. end of computer busy) |
6, 7 |
O |
select polarization (only one of the bits is active at a time;
(bit #6: pol.=0; bit #7: pol.=1) |
9 |
O |
veto bit (set during polarization changes) |
10, 11 |
O |
actual polarisation (= bits (#6...#7) and not bit #9) |
13, 14 |
I |
read back the polarization as it was set at the
time of the master trigger |
16 |
I |
delayed master trigger (60 to 100us) for LAM generation |
|
Slow Control |
|
|
|
The Azz experiment makes use of the new slow control features
built into Calvin&Hobbes. This allows you to control the time
between polarization changes and the prescale factor for the pedestal readout
from the DAQcontrol program and gives you a feedback on some of the run
parameters as the actual polarization, beam current and the count
rates from the various detectors/LAM sources. The parameters are assigned
according to table
5.
Table 5: Description of the slow control
parameter
# |
Description |
Range |
0 |
time between polarization changes
the value can be changed only while the run is stopped |
0.1-10us |
1 |
prescale factor for the read out of the ADC pedestals
the value can be changed only while the run is stopped |
1-1000 |
2 |
actual polarization |
0, 1 |
3 |
beam current |
0-3000nA |
4 |
ADC/TDC LAM count rate |
0-80Hz |
5 |
rate seen by the timing scintillator |
0-1kHz |
6 |
rate seen by the left polarimeter detector |
0-1kHz |
7 |
rate seen by the right polarimeter detector |
0-1kHz |
8 |
readout lock count (gives network dropouts0 |
0-30 |
9 |
CAMAC errors |
0-30 |
|
List of Tables |
|
|
|
Table
1: Layout of the CAMAC crate
Table
2: ADC and TDC channels read out
Table
3: Description of the scalers and the n-Det. input register bits
Table
4: Description of the IO-register bits
Table
5: Description of the slow control parameter
|
|
|
Calvin&Hobbes:
by Markus Mühlbauer
last edited: August 1998 |