Online Calibration Needs Questionnaire


February 1997 public release


This is a long form, with some sixty-odd fields to fill in. Please consider printing out the form from your browser (though unfortunately some Web browsers will fail to leave blank spaces in the printout where the fill-out fields are on the screen), and even if you are entirely confident of your Web browser's stability while you fill out the form, we encourage you to sketch out your answers on paper or in some other medium first, and not only on this form.


Introduction

The form below, an adjunct to the presentations in the Calibration mini-plenary at the February 1997 collaboration meeting and at the Operations Workshop preceding it, is intended to provide subsystem experts a convenient means of submitting essential information regarding their online calibration needs to the online calibration group.

As will have been discussed at the meeting, a draft proposal for the infrastructure for online calibrations has been developed. An early version of this proposal was presented, along with a request for comments, at the October 1996 online review and, along with an earlier questionnaire, at the subsequent collaboration meeting. Very little feedback was received.

The calibration model has since been refined, but it is now urgent that we proceed with implementation if we are to stay on a satisfactory schedule. Before we can do this, we must determine whether the model will in fact work for the foreseeable calibration needs of all the detector subsystems. The design of the online system itself depends on the calibration services it is required to provide, and here it is again urgent that outstanding questions be settled quickly. These goals can only be attained with considerably more detailed information on the detector subsystems' calibration requirements than has been made available to date.

Detailed information on the subsystems' calibration needs is also now needed in order to develop a model for detector operations for efficient "factory" running.

All of these needs are immediate. Calibration, online, and operations design and development will have to proceed at this point, and detector systems not responding in a timely way will find it increasingly difficult to affect the design of the system to support their needs.

The most important questions are probably those which directly address the volume of calibration constant data for the subsystems, and the frequency and duration of calibrations required and the machine and detector conditions required for them.

For the most part the sense of the questions below should be self-explanatory, but some BABAR calibration jargon (e.g., "minor cycle") is used, and readers may wish to refer to some of the draft calibration documents:

The questions below are based on a fairly basic model of what sorts of data are collected by a typical subsystem and how they might need to be calibrated. Almost all the places provided for answers are generic scrolling text boxes, so there should be plenty of room for explanations of more complicated situations. If the form is really too restrictive, please send e-mail with comparably detailed information to David Nathan Brown (online calibration coordinator).

We recognize that some of the questions may be difficult to answer at this time, but the answer definitely matter to the design of the calibration facilities, especially if they are outside the range of our current expectations, and we hope that subsystems will make a concerted effort to develop responses soon to those questions they can't answer immediately. If you do need an extended time to respond to some questions, please do not wait to respond to those to which you already know the answer!

It is expected that detector system managers will each designate a "calibration expert" tasked to submit an authoritative set of requirements to the online calibration group (whether using this Web page or in another form providing the equivalent information). Advisory responses from other individuals are still welcome, but these cannot substitute for authoritative ones.


Identity of respondent

Name:
E-mail address: (this address will be used for correspondence in reply to your posting)

Subsystem: SVT Drift Chamber DIRC Calorimeter IFR Trigger Other: 

Is this response advisory, or an authoritative subsystem submission?

Is this a new response, or a continuation of or addition or correction to an earlier response from the same author on this form?


Basic Parameters of the Subsystem


Calibration Types and Basic Characteristics

This questionnaire is concerned with online calibrations, meaning those either determined or used anywhere in the online system before Prompt Reconstruction. Most importantly, it addresses those calibrations obtained by providing the system with controlled inputs ("electronics calibrations" and "pulser calibrations"). Nonetheless, any calibration, however performed, which results in data that must be fed back into the online system, especially into the front ends, ROMs, or ROCs, is of interest at least in the initial sections of this form.

Please answer the following questions for each calibration type described in the previous answer. Note that you may submit multiple copies of this form, perhaps one per calibration type, if you would like to avoid combining your answers and reduce crowding in the form. Please check the "continuation" box in the "Identity of Respondent" section above for responses after the first one.

[The answers above should allow estimates of the overall size and accumulation rate of constants for the system. These are important for deciding on the basic hardware and software requirements of the online system for storage and throughput.]


Sources of calibrations and required conditions

Again, please answer the following questions for each calibration type described above.

Most of the questions from here on are applicable primarily or exclusively only to those calibrations performed in the online system.

[The answers to the last two questions are of particular importance in ensuring that the online system has all the tools necessary to run detector systems through complete calibrations, including the setting of conditions for calibration stimuli.]


Partitionability


Frequency of calibrations

Based on discussions with detector systems to date, and on Vera Lüth and Jonathan Dorfan's remarks on the deadtime budget, we have drafted an indicative list of categories of online calibrations in the factory environment.

Frequency Duration Maximum # of Pulses Schematic purpose
? non-intrusive ~10-100 Continuous monitoring
~1/hour
(at top-off)
< 1 min. ~10^3 "System operating OK" checks (~30% window), pedestals, verification of existing calibrations
~1/shift
to 1/day
< 5 min. ~10^4 - 10^5 Precision constants for production running
~1/week
to 1/month
< 1 hour ~10^7 High precision stability and crosstalk tests, slowly-varying constants

The duration limits apply to loss of otherwise useful machine time - i.e., not including PEP-II down time. The limits also assume that calibrations of different systems will indeed happen in parallel, or at least that the duration is in fact the total available for all subsystems.

[The goals here are to determine what is needed by the subsystems but also to begin to apply the stringent "factory running" deadtime budget constraints to these needs.

It is recognized that during commissioning and debugging there may be additional types of calibration runs needed that may not fit into this structure as well.]


Fitting into the Proposed Calibration Environment

The questions in this section refer to the basic pulse/minor cycle/major cycle/meta cycle model of calibrations in BABAR presented in the overview associated with this questionnaire, and, in greater detail, at various recent collaboration meetings and reviews.

This model probably does not apply to calibrations obtaining their inputs from normal physics data-taking, even if they are performed within the online system. The remainder of this form probably is of little relevance to such calibrations; further information about them will be solicited from subsystems separately, at a later date.

Details

Please consider these questions for each calibration type envisioned. Multiple answers to each question may be appropriate.


Pulses

In the basic model, a "pulse" consists of a "CalStrobe" command (in the sense of the front end protocol) followed by an "L1Accept" command. Within a minor cycle, there will be a programmable interval from "CalStrobe" to "L1Accept" of no less than 2.2 microseconds (the minimum inter-command spacing), and then another programmable interval from the "L1Accept" to the "CalStrobe" of the next pulse. The sum of the two delays will therefore set the pulse rate.

Despite the single CalStrobe per pulse, multi-hit calibrations can be accommodated in this system if a subsystem's electronics can generate more than one stimulus on a single CalStrobe.

Calibration stimuli not able to be triggered by a CalStrobe command can be accommodated if the calibration source itself can generate a trigger.


Minor Cycles

A minor cycle is defined as a series of pulses taken under constant conditions. Normally this would be to accumulate statistics on data taken with, for example, a particular DAC setting. In the model, the number of pulses in a minor cycle must be set in advance.


Major Cycles

Major cycles will be series of minor cycles, with a provision for changing the calibration stimulus or other conditions before each minor cycle begins. Possible major cycles might be one consisting of a single minor cycle, in order to measure pedestals, or one consisting of a series of minor cycles each accumulating data at a single point on a pulse-height-to-digital curve. The result of a major cycle would thus typically be a traditional set of calibration constants, e.g. pedestals or gain curves.


Meta Cycles

A meta cycle is a set of major cycles. It is the largest unit of calibration. When a user at an operations console requests a calibration during normal operation, the request would typically be for a particular type of meta cycle to be executed.

Meta cycles could take many forms. The simplest meta cycle might be something like "run pedestals", consisting of a single "pedestals" major cycle which in turn consisted of a single minor cycle. One could be nothing more than a collection of several major cycles, each producing an independent set of calibration constants, but needing to be run together in order to fully calibrate a subsystem, whereas another might have significant summary processing at its end, combining the results of all its major cycles.


Validation and Verification

It is assumed that no set of calibration constants will be put into production without its validity being tested in some way. These tests might include checks of histogram fit qualities, comparison of constants to earlier sets or reference sets, and so on.

It is also envisioned that not every measured set of calibration constants, even if passing these tests, would be put into production (e.g., in the data correction and feature extraction algorithms in the ROMs). There may be a value placed on retaining a single set of calibration constants in production for as long as newer sets are not found to deviate from it by more than a specified tolerance.

The term "validation" will be used to describe the process of determining that a just-measured set of calibration constants is accurate and error-free within specified limits. The term "verification" will be used to describe using the results of a recent calibration run to determine whether or not the existing production constants are still usable.

Verification may be desired to be performed using sets of constants, say, of lower statistical precision than would be acceptable in production, as they might still give an indication of whether a dramatic change had occurred in the system which could require the determination of a new set of precision constants for production. This could provide a sort of cheap insurance - a means of fairly frequently testing for large changes in a subsystem even when the operational constraints of "factory" running might prevent high-precision tests at that frequency.

The combination of validation and verification required to determine that a new set of constants is indeed to be put into production will be referred to here as "blessing". For successful factory running, this presumably will have to be an automated procedure.

If the constants are to be used anywhere in the online in an application that has an effect on the physics data collected (essentially, anywhere but in reconstruction), resumption of data-taking subsequent to a calibration should wait for the "blessing" and installation of new constants, if found to be required. If validation and verification turn out to be time-consuming, this could have a significant effect on operational efficiency. Therefore...


A final performance question


Submit form


The ad-hoc online calibration group: David Nathan Brown (coordinator), Gregory Dubois-Felsmann (online/OEP), and Mike Huffer (online/DataFlow).

This form is edited and maintained by Gregory Dubois-Felsmann.

v2.0.0


Gregory Dubois-Felsmann
Last modified: Tue Feb 11 19:34:15 PST