(file) Return to bcm_calibration.tex CVS log (file) (dir) Up to [HallC] / Documents / Howtos

  1 saw   1.1 \documentclass{chowto}
  2           
  3           \title{BCM Calibration}
  4           \howtotype{expert} % ``expert'', ``user'', ``reference''
  5           %\experiment{Name of experiment} % Optional
  6           \author{Dave Mack, Stephen A. Wood}
  7           \category{general} % Subject area of this document
  8           \maintainer{Stephen A. Wood} % Optional
  9 saw   1.2 \date{April 18, 2003} % Can use \today as the argument
 10 saw   1.1 
 11           \begin{document}
 12           The Hall C Beam Current Monitors (BCMs) are calibrated using an Unser monitor
 13           located in Hall C as a reference.  These
 14           calibrations are used both in the EPICS system which displays the BCM1 and
 15           BCM2 currents and in data analysis.  This document describes how to make these calibrations
 16           \begin{abstract}
 17           
 18           \end{abstract}
 19           
 20           \section{Background}
 21           This section will contain background information on how the Unser monitor,
 22           and BCM's work as well as the electronics that are used.
 23           
 24           In summary:
 25           
 26           There are three devices used in current measurement in the
 27           Hall.  Once calibrated, the two BCM's are stable and linear over a wide
 28           current range.  However, the BCM's, being cavity resonant devices are only
 29           sensitive to CW beam and so can not be bench calibrated with known current
 30           sources.  Thus the BCM's are cross-calibrated with an Unser Monitor\cite{bi:unser}
 31 saw   1.1 (Direct Current Transformer).  The Unser Monitor has been calibrated with
 32           known currents in wires, however, the ``offset'' on the calibration is
 33           noisy and the time average offset drifts in unpredictable ways.  By
 34           measuring a series of currents over a short period of time, this drift can
 35           be minimized so that calibrations can be transferred to the BCM's.
 36           
 37           The outputs of the front end electronics for these three devices are small
 38           voltages.  These voltages are digitized by the use of V/F (voltage to
 39           frequency) converters.  Scalers are used both in the control system
 40           (EPICS) and in the data acquisition to record these digitized signals.
 41           
 42           \section{Obtaining a BCM Calibration}
 43           
 44           Obtaining a BCM calibration consists of two steps that cross calibrate the
 45           BCM's to the Unser Monitor.  First the response of the Unser and the BCM's
 46           is measured at a series of beam currents that cover the range of beam
 47           currents to the current experiment.  Second those measurements are
 48           analyzed to produce calibration constants for the BCM's.
 49           
 50           
 51           \subsection{Data Collection}
 52 saw   1.1 
 53           The following is the recommended method of acquiring BCM calibration
 54           data.  This procedure was designed for the Spring 2003 Hall C running.  
 55           For other
 56           experiments the procedure may be modified, depending on the range of
 57           currents required by the experiment, but the procedure will be similar.
 58           
 59           \begin{description}
 60           \item[Goal] The goal is to perform a current monitor calibration over the range
 61           10 to 100 $\mu$A.
 62           
 63           \item[Estimated Duration] 1 hour
 64           
 65           \item[When] Soon after startup, but reliable high current beam is needed.
 66           
 67           \item[Impact on other halls]  The calibration is normally invasive because, without
 68           turning off the other Hall lasers, it is the only sure way to get the required
 69           0.000 microA needed for the Unser zero offset measurements. 
 70           \end{description}
 71           
 72           \begin{enumerate}
 73 saw   1.1 
 74           \item The Run Coordinator needs to make pre-arrangements with the other
 75           halls since we're shutting them off for one hour.
 76           
 77           \item Put in either of the 4 cm cryotargets. The choice of target isn't
 78           critical, but these are least likely to trip off the beam due to 
 79           excessive dose rates in the ion chambers. 
 80           
 81           \item Find out if the MCC can deliver 100 microA. If they can't, the Run
 82           Coordinator needs to decide whether it's worth proceeding. 
 83           
 84           \item Make sure our data acquisition is working, and that BCM and CLOCK
 85           scalers are counting. Prescale away most spectrometer triggers so the daq is 
 86           less likely to crash in the middle of the calibration.
 87           
 88           \item Ask the operator to turn off non-Hall C lasers.
 89           
 90           \item Start a "BCM Calibration Run" now before you forget. 
 91           
 92           
 93           \item Tell the operator your nominal current cycle will be:
 94 saw   1.1 
 95           0, 10, 0, 20, 0, 30, 0, 40, 0, 50, 0, 60, 0, 70, 0, 80, 0, 90, 0, 100,
 96           
 97           and should then be repeated. Each current setting should be 1.5-2 minutes
 98           duration. 
 99           
100           If the green light is flashing on the scaler crate, you're probably taking
101           data. The files are usually small enough to fit in the daq buffer, so the 
102           output .log file will be nearly empty until you finally stop the run. 
103           
104           \item (FINAL): After the calibration run is over, please replay completely, 
105           taking care to output the charge scalers \verb|via charge####.txt|. 
106           
107           \end{enumerate}
108           
109           \subsection{Data Analysis}
110           At this point, data analysis must be done by a BCM expert (Dave Mack).
111           
112           The basic principle of the analysis is as follows.  The Unser monitor has
113           a well known calibration, but it has an offset that is both noisy and
114           drifts with time.  In taking the calibration data, each different beam
115 saw   1.1 current is bracketed by a period of beam off so that the drifting offset
116           can be well determined for each different beam current used in the
117           cabibration.  With these offsets determined, the average current for each
118           nominal current is well determined and the unser calibration can be
119           trasnferred to the BCM's.  The BCM's are not linearly, particularly at
120           small currents, so the calibration fit is made using only currents over
121           the range that is required by the experiment.  Typically this means that
122           zero current is excluded from the fit.
123           
124           \section{Using the BCM calibration}
125           
126           The result of the BCM calibration is a straight line fit, a gain and a
127           slope, that converts the V/F frequencies or total counts measured by DAQ or controls
128           scalers into current or total charge.  (Usually the unit is
129           microamps/microcoulombs, but some experiments may prefer nano
130           amps/coulombs.)
131           
132           \subsection{EPICS}
133           
134           The EPICS variables for Hall C beam current are \verb|ibcm1| and
135           \verb|ibcm2| (Accelerator also has copies of the signals known as
136 saw   1.1 \verb|hallc:bcm1| and \verb|hallc:bcm2|.  The beam currents are
137           calculated by the EPICS IOC \verb|vmec15|.
138           
139           Changing the EPICS BCM calibration should be done only at the request of
140           the Run Coordinator or a BCM expert.  To change the EPICS calibrations,
141           logon to \verb|cvxwrks@cdaqs1| and do the following.
142           \begin{verbatim}
143 saw   1.3   cd $EPBCM/db/sr/vmec15
144 saw   1.1   emacs part_scaler.hw
145           \end{verbatim}
146           Once editing that file, find the line:
147           \begin{verbatim}
148           PV: ibcm1    Type: ai
149           \end{verbatim}
150           and scroll down to find lines that look like:
151           \begin{verbatim}
152           AOFF 250553
153           ASLO 0.0000856942
154           \end{verbatim}
155           These two lines are the Offset and Slope (Gain).  Replace the numbers
156           there with the numbers from the calibration for BCM1.  Then find:
157           \begin{verbatim}
158           PV: ibcm2    Type: ai
159           \end{verbatim}
160           and replace the corresponding \verb|AOFF| and \verb|ASLO| parameters
161           there.
162           
163           After saving this file, do the following:
164           \begin{verbatim}
165 saw   1.1 cat part_*.hw > CaenScalervmec15.hw
166 saw   1.3 mv CaenScalervmec15.hw ..
167 saw   1.1 cd $EPBCM/sch
168           make
169           \end{verbatim}
170           At this point, reboot \verb|vmec15| using the reboot
171           panel\cite{howto:rebootpanel}.
172           
173           \subsection{On and Off-line Analysis}
174           To impliment new BCM calibration constants in the On and Off line
175           analyzer, consult the analysis expert for your experiment.
176           
177           \end{document}
178           
179           % Revision history:
180 saw   1.2 % $Log: bcm_calibration.tex,v $
181 saw   1.3 % Revision 1.2  2003/06/12 16:19:19  saw
182           % Minor Change
183           %
184 saw   1.2 % Revision 1.1  2003/04/18 20:43:35  saw
185           % First Draft
186           %

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0