\documentclass[11pt,a4paper]{article}

\usepackage{hyperlatex}
\W\usepackage{emulate}

\W\renewcommand{\HlxIcons}{../images/}

\htmltitle{EDOC403: Exogam HV Control Specification}
\htmladdress{Janet Sampson, \docdate}
\htmldirectory{../html}
\htmlname{edoc403}
\htmldepth{1}     %% 1=single html file

\makeindex
\sloppy
 
\title{Exogam HV Control Specification}

\T\author{Janet Sampson}
\W\author{\xlink{Janet Sampson}{mailto:jas@ns.ph.liv.ac.uk}\\%
  {\small Nuclear Structure Software Systems Group,%
          Department of Physics,}\\[-0.7ex]%
  {\small University of Liverpool, UK}}

\newcommand\edition{Edition 1.2}
\renewcommand\docdate{May 1998}

\W\begin{iftex}
\date{\edition\\\docdate}
\W\end{iftex}
\W\date{\edition, \docdate}

\begin{document}
\begin{rawhtml}
<H1 ALIGN=RIGHT>EDOC403</H1>
<HR>
\end{rawhtml}

\W\begin{iftex}
%%%%%%%%%%%%%%%%%%%%%%%%%% start of LaTeX title page %%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{titlepage}
% a front or cover page for EG docs suitable for inclusion inside
% a titlepage environment in a LaTeX document
% for use with Plain TeX uncomment the \nopagenumbers and the \eject

\hoffset=.5in
\hsize=5.25in
\vsize=10.25in
%---gives left and right margins of 1.5in
\font\small=cmssbx10 scaled \magstep2
\font\medium=cmssbx10 scaled \magstep3
\font\large=cmssbx10 scaled \magstep4
%\nopagenumbers
\hrule height 0pt
\parindent=0pt
%\parskip=0pt
\hskip 3.9in
\large
EDOC403\par
\vskip 2.0in
\hrule height 2pt
\vskip 20pt
\large
EXOGAM PROJECT\par
\vskip 20pt
\large
\baselineskip 25pt
Exogam HV Control Specification\par
\vskip 20pt
\hrule height 2pt
\vskip 1in
\medium
\edition\par
\vskip 5pt
\docdate\par
\vfill
\medium
Nuclear Structure Software Systems Group\par
\vskip 5pt
Department of Physics\par
\vskip 5pt
Liverpool University\par
\vskip .5in
\eject
\end{titlepage}
\maketitle

\begin{displaymath}
\left[ \begin{array}{ll}
{\rm e-mail:} & jas@ns.ph.liv.ac.uk\\
{\rm website:} & http://ns.ph.liv.ac.uk/developments.html\\
{\rm phone:}  & +44\ (0) 151\ 794\ 3398\\
{\rm fax:}    & +44\ (0) 151\ 794\ 3348
\end{array}
\right]
\end{displaymath}
%%%%%%%%%%%%%%%%%%%%%%%%%%% end of LaTeX title page %%%%%%%%%%%%%%%%%%%%%%%%%%%
\W\end{iftex}

%%%%%%%%%%%%%%%%%%%%%%%%%%% start of HTML base page %%%%%%%%%%%%%%%%%%%%%%%%%%%

\W\maketitle
\htmlmenu{6}
\begin{rawhtml}
<HR>
\end{rawhtml}
%%%%%%%%%%%%%%%%%%%%%%%%%%%% end of HTML base page %%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Introduction}
 
\setlength{\parskip}{2ex}
\setlength{\parindent}{0in}

The detector array proposed by the Exogam project will consist of 16
segmented clover detectors.  Each clover detector consists of 4
germanium (Ge) crystals surrounded by a shield of bismuth germanate
(BGO) and caesium iodide (CsI) crystals.

In order for the clover detector to operate, each crystal needs to be
maintained at a high voltage (HV) level specified by the manufacturer.
For the Ge crystals in particular, this voltage should not be applied or
removed instantly but at or below a specified rate.
In addition the Ge crystals need to kept very cold when voltage is on.
Failure to deliver the voltage under these conditions can result in
the crystal structure being damaged.

It is proposed to use a computer controlled HV supply
for the Ge crystals and to control the voltage on each crystal
individually.
The shield will have one HV supply common to all elements in the
shield fed via a distribution box.  At present it has not been decided
whether the distribution box will be completely decoupled from the
computer controlled system and have it's own HV supply, or whether
it will be fed via the computer controlled supply.

The control system will allow voltages to be set, monitored
and restored from a database via a graphical user interface.
The Exogam array will reside in a restricted-access radioactive area
so HV control will be possible via a remote terminal.

The temperature of the Ge crystals will be controlled by an \xlink{automatic
liquid nitrogen filling system}
{http://nnsa.dl.ac.uk/Eurogam/documents/edoc401/edoc401.htm}.

\begin{rawhtml}
<HR>
\end{rawhtml}
 
\section{Hardware}

The system will comprise a \xlink{CAEN SY527}
{http://www.caen.it/hivolt/sy527.html}
universal multichannel power supply
system controlled via a CAEN A303 high speed serial CAENET IBM PC interface.

The power supply is rack mounted and has slots for up to 10 channel boards.
The Ge voltage will be fed via 6 CAEN A832P\footnote{Polarity to be confirmed}
boards containing 12 channels each.
The BGO voltage will be fed via a single A734P board containing 16 channels.
The interface will reside in an industrial rack-mounted PC chassis
next to the SY527 power supply.
The controlling software will run in the rack-mounted PC.

For the first phase of Exogam due by the end of 1998, it is likely
that 2 Exogam clovers and 4 Euroball clovers will be used.
Each Exogam clover requires 4 HV Ge channels, and each Euroball clover
requires 1 HV Ge channel.
For the proposed final detector array of 16 segmented clover
detectors, when the maximum number of channels will be required,
one SY527 crate will be required.
If yet more channels are required at a later date, further CAEN or
LeCroy HV power supplies can be added to the system.

No decision has yet been reached on the shutdown signal specification.
Euroball clover detectors maintain a -24V shutdown signal in normal
operation changing to 0V in the event of a trip.
This specification may also be implemented for the Exogam clovers if
timescales allow.
Alternatively a trip signal of +5V dropping to ground will be implemented
since this can then be used directly to shut off the voltage on a
given Ge channel by feeding it into the TRIP connector for that channel
on the A832 board.
Whichever voltage level is defined, the hardware shutdown mechanism
will be designed so that if a trip signal is generated from one Ge
preamplifier it will shut down the Ge voltage for the whole clover detector.
If a channel trips in this way then the voltage is ramped down to zero
at the maximum ramp-down rate set in software.

\begin{rawhtml}
<HR>
\end{rawhtml}
 
\section{Software}

The controlling software will run under a linux operating environment.
It will consist of a control task to issue commands across the
high speed serial link.
This task will be able to interrogate each power supply
to find out which board type is present in each slot
so the system will be self-configuring to allow the boards to be placed
in any slot.

A setup file configurable by the user will map each possible HV line
required to a unique module, slot and channel combination.
This is known as the wire list.

A graphical user interface (GUI) running in the PC locally or via a
restricted access remote session will allow the user to control
the voltage on each channel.

Both CAEN boards allow the following parameters to be set for each channel:
\begin{itemize}
\item on/off status
\item requested voltage ({\it demand voltage})
\item voltage limit (overrides requested voltage)
\item current limit
\item rate of change of increasing voltage ({\it ramp-up rate})
\item rate of change of decreasing voltage ({\it ramp-down rate})
\end{itemize}

It is proposed to allow all these parameters to be set via the user
interface and saved in a database, but to make clear in
the software that certain parameters should be modified by expert
users only.
The control task will monitor each channel to see if any parameters
have been changed and automatically save any changes to the database.
It will be possible to selectively restore parameter values from the
database.

When a detector is added to the system the GUI will require the user
to specify the parameter values for each channel.  The user will be
able to select a set of default values for a given detector type.

The control task will also monitor the state of each channel to
check for any irregularities.  If a channel trips then the user will
be alerted via a warning message.  There will also be an optional
audible alarm the user can enable to indicate a trip has occurred.
The channel will be switched off and only be reactivated by user intervention.

The GUI will be written in Tcl/Tk to be compatible with the MIDAS
software that may be used for the data acquisition system.
On startup it will display the system status in terms of the number of
active Ge and BGO channels.  A quick reference summary of the voltage
on each channel will also be displayed in a histogrammed format.
The control task will constantly check if any voltages do not match
the demand voltage for each channel and any anomalies will be
displayed as a colour coded warning.
Information on the corresponding crate, channel and slot will be
available via a secondary window.
More detailed information on all Ge channels, all BGO channels and all
channels for a single detector will be displayed in separate windows,
accessible by clicking on the relevant button in the startup window.
This information can be displayed in a tabulated or histogrammed format.
If the user wishes to change a parameter, they will have the option of
changing it for a single channel, detector or all detectors of the
same type.

\begin{rawhtml}
<HR>
\end{rawhtml}
 
\end{document}
