CharBiasVoltageV1R0


Purpose

Determine the optimum front end bias voltage at which a given DOM should be
operated and the optimum front-end bias voltage.

Rationale

The PMT frontend bias voltage (in the hardware state event it is called
DAC_PMT_FE_PEDESTAL where 'pedestal' is slightly misleading)
represents a DC bias to the input signal before it enters the
digitizers (See Figure \ref{pedPatternAtFEBiasVFig}). The ATWD applies
different gain amplification to the AC signals in its first three data
channels. The DC-level, however, is not affected by these different
gains, all DC input adds as a constant offset onto the data of all
three channels.

Too high or too low a frontend bias voltage will drive the pedestal
pattern (or any signal) out of the dynamic range of a given digitizer
channel (c.f. Figure \ref{scanSuggestionATWDFig}).

In turn, the correct value for the frontend bias voltage will allow
one to make best use of the dynamic range of all available channels.

Here the baseline level (the average over a pedestal record across
all available samples) is used to compute the optimal bias voltage
level for a given channel.


pedestal patterns at different FE bias voltage
Pedestal patterns recorded at two different values of the PMT
frontend bias voltage, introducing a DC offset to all input in the
digitizers.
Pedestal RMS across all samples
The pedestal RMS across all samples is sketched as a
  Gaussian in the top drawing. The lower drawing shows the
  distribution of these RMS values across the dynamic range of the
  channel. At the lower and upper ends of the dynamic ranges the RMS
  gets smaller as more and more of the features are suppressed in
  favour of flat cutoff lines with an RMS of zero.


During data recording the output level in pedestal records (CPU
triggers) is driven across the dynamic range of all available
channels. The goal is, to cover the available range in each channel
with at least seven ({\bf TBD}) data points, as is sketched in Figures
\ref{scanSuggestionATWDFig} and \ref{rmsVsBiasVoltageFig}.

Also shown in Figure \ref{rmsVsBiasVoltageFig}, lower panel, is the
effect of the edges of the dynamic range on the RMS width of the
pedestal pattern, computed across all available samples.

One goal of this analysis is to extract the optimal value for the
DAC\_PMT\_FE\_PEDESTAL value on the mainboard. This value is first
determined for each channel separately. Secondly, the highest of them
is suggested to be used in the operation of the DOM.

The optimum value of DAC\_PMT\_FE\_PEDESTAL is characterised by an
offset of the baseline level from the lower end of the dynamic range
of two times ({\bf TBD}) the average pedestal RMS level, plus some
allowance for pulse undershoot (negative pulses display positive
overshoot, turning into a negative overshoot due to the signal
inversion in all DOM channels).


Data Recording

HV off
CPU trigger
FADC 255 samples deep
ATWD channels all 128 samples deep
scan the bias voltage across its entire range in 20 regular steps
record 1000 pedestal patterns at each step


suggestion for the scan
Measurement data points for the
different channels in the ATWD.


Data Requirements / Completeness Criteria

For any given temperature, at least seven ({\bf TBD}) steps in bias
voltage should span the available range in each channel.

1000 pedestal patterns per bias voltage step must be available that do
not contain patterns that are considered pulses in any channel, that
is, they can't exceed the three-Sigma pedestal noise level consistently.

Monitor Limits

stable DOM MB temperature
stable DAC\_PMT\_FE\_PEDESTAL

Bias Voltage Analysis Tree
Each DOM's data is sorted according to temperature and the
value of the PMT frontend bias voltage.


Bias Voltage Leaf

At each analysis leaf all input data are combined that
represent stable conditions in the quantities listed.

Analysis Products


data analysis:

At each leaf (i.e. temperature and front-end pedestal), variables that
hold for each digitizing channel:



Analysis Strategy

1. Init

Make clear in the java-comments that the hit analysis carries out its
math in units of ticks (not mV, judgement is doing that).

2. Process Records

For each monitor record :

For each hit record :
If the hit record does not contain a pulse (TBD: define the
criteria for 'pulse'):

3. Finish analysis

The means and RMS values are computed in judgement, as a cut needs to be performed on the number of entries in each leaf, therefore nothing to be done here.


Judgement Criteria

Pass:

Fail:

Incomplete:
If there are fewer than 7 data points available for the bias voltage
estimate of any channel, rule 'incomplete'.


Judgement Products

Judgement Steps


Extract the optimum bias voltage
For each Leaf:
For each channel:
If this condition is satisfied:
count the number of data points left over for this channel:
whenever for a given DOM any channel does not show seven (TBD) data points, the ruling  is 'incomplete' for this DOM.

Possibility ONE:
Alternatively:
Estimate a DOM-wise optimum bias voltage
Select the highest of the suggested bias voltages as optimum bias voltage for this DOM. (TBD)
Data output
Export an xml file with the optimum bias voltages for each channel and
the optimum bias voltage for the DOM in question.
Pass / Fail
If there are fewer than 7 data points available for the bias voltage
estimate of any channel, rule 'incomplete' (see above).

Glossary (Collection only)

Bias Voltage: the front end pedestal voltage (DAC_PMT_FE_PEDESTAL). a voltage added directly to the signal digitized by the ATWD channels and the FADC.