High Voltage Control

From Hall A Wiki
Jump to: navigation, search

CAEN Model SY527 High Voltage System (introduction)

More information is here media:SY527_Manual.pdf

The System is organized into "crates"; each crate is a 19" wide, 8U high euro-mechanics rack. The modules bearing the output channels (Channel Boards) consist of 6U plug-in modules Up to 10 Channel Boards may be plugged into a single crate. Different plug-in modules are available (Positive, Negative, Floating and Distributor Boards) and can be freely mixed in a single System in order to obtain the necessary configuration.

Each crate may be controlled locally or remotely. Local control is performed manually through a key-pad and an LCD display located on the Front Panel. Remote control is actuated by means of a video terminal (ANSI VT100 or compatible) plugged into an RS232C connector, which is also located on the Front Panel. In this case, a sophisticated Software User Interface is available, featuring symbolic names for channels, custom status displays and other features designed to help the management of a large number of channels.

Each crate houses a HIGH SPEED (H. S.) CAENET node for the remote control; it allows the possibility of linking one or more crates to a H. S. CAENET controller that acts as a System Control Unit. Available controllers are

  • A303 H. S. CAENET IBMTM/PC Controller;
  • C117B H. S. CAENET CAMAC Controller;
  • V288 H. S. CAENET VME Controller.

Alarms: On TRIP, OVERVOLTAGE, UNDERVOLTAGE, OVERTEMP., FAN FAILURE, and POWER FAILURE.

Restart at Power-On: Automatic after Power-On or Reset Password protection: On each channel or group of channels

CHANNEL PARAMETERS

Several parameters are associated with each channel. They depend upon the Board type and can be programmed and monitored in different ways:

  • via Local control by using the LCD display and the Keypad;
  • via Remote control through the H. S. CAENET link or through the RS232C Port;
  • via the Front Panel input signals.

The following is a brief description of the meaning of all parameters.

CHANNEL NUMBER (Ch#)

  It is the physical name of the channel (0.00, 0.01 and so on) and is determined by the channel position;
  this parameter is read out by the software and is always associated to the channels monitored both in Local and Remote control.

CHANNEL NAME (Channel)

   It is the symbolic name of the channel, it can be modified via Remote Control;
   it may be up to 11 characters long and may contain any of the following characters:
   "0..9", "A..Z", "a..z", "#", "&", "%", "$", "*", "_" and "-".
   Via Local Control it is displayed but it is not possible to modify it. 

VMAX HARDWARE (HVmax)

   It is a hardware Voltage limit; usually it is fixed through a potentiometer.

VMAX SOFTWARE (SVmax)

   It is the maximum Voltage value (in absolute value) programmable for the channel.
   It can be programmed either via Local or Remote Control.

V0SET (V0set)

   It is the first of the two allowed Voltage programmable values (in absolute value).
   It is active when VSEL is FALSE. It can be programmed either via Local or Remote Control.

I0SET (I0set)

   It is the first of the two allowed Current Limit programmable values (in absolute value).
   It is active when ISEL is FALSE. It can be programmed either via Local or Remote Control.

V1SET (V1set)

   It is the second of the two allowed Voltage programmable values (in absolute value).
   It is active when VSEL is TRUE. It can be programmed either via Local or Remote Control.

I1SET (I1set)

   It is the second of the two allowed Current Limit programmable values (in absolute value).
   It is active when ISEL is TRUE. It can be programmed either via Local or Remote Control.

RAMP-UP (Rup)

   Maximum Voltage programmable increase rate expressed in Volt/second (in absolute value).
   When a channel is switched On, or when it is switched from a lower Voltage value to a higher one, 
   the Voltage output drifts from one value to the other at the rate expressed by the Ramp-Up parameter. 
   It can be programmed either via Local or Remote Control.

RAMP-DOWN (Rdwn)

   Maximum Voltage programmable decrease rate expressed in Volt/second (in absolute value).
   When a channel is switched Off, or when is switched from a higher Voltage value to a lower one, 
   the Voltage output drifts from one value to the other at the rate expressed by the Ramp-down parameter.
   The output voltage of a channel drops to zero following the Ramp-down parameter in these cases:
     When the channel is switched Off (Power Parameter = Off); 
     When the channel has tripped with 0< Trip parameter < 1000; 
     When the channels' outputs are disabled   via the "CH OUT EN" switch. 
   It can be programmed either via Local or Remote Control.

VMON (Vmon)

   Voltage Monitored value. It can be monitored either via Local or Remote Control.

IMON (Imon)

   Current Monitored value. It can be monitored either via Local or Remote Control.

TRIP (Trip)

   It is the maximum time an "overcurrent" is allowed to last (expressed in tenths of second). 
   If an "overcurrent" lasts for more than the programmed value, the System will react in the following ways:
      Trip =0..999: Ramp-down.
      It will cause the channel to "Trip": after an interval of time equal to the Trip value in tenths of second, 
      the output voltage will drop to zero at the rate specified by the Ramp-down parameter and the channel will be put in the Off state.
      Trip = 1000: Constant Current.
      The overcurrent may last indefinitely. If the Board has programmable current hardware protections, 
      the channel behaves like a current generator. It can be programmed either via Local or Remote Control. 

POWER (Pw)

   It is the On/Off Status of the channel; by setting this parameter On the channel is On and the output drifts 
   from 0 to the programmed value at the programmed rate (if the interlock is not active and the CH OUT ENABLE switch is in the Enable position). 
   Via Terminal it is controlled by the Password Protection (see 'Password protection' ' and 'On/Off protection). 
   It can be programmed either via Local or Remote Control.
   

PRIORITY ON/OFF (PrOn/PrOff)

   These parameters are active only via Terminal control in the Group operation. 
   The Priority On/Off of the channels in a Group allows to switch On or Off the channels with a determined sequence 
   in order to obtain the safest ON/OFF procedure.
      Priority On/Off = 0: The channel status is not affected by the Group ON/OFF command.
      Priority On/Off = 1..16: The channel status is affected by the Group ON/OFF command in such a way that channels with 
                               higher priority are switched ON/OFF before channels with lower priority. 

POWER-ON ENABLE (Pon)

   This parameter controls the behavior of the channel at Power-On (On/Off).
   If this parameter is On, the channel reacts at Power-On, or after a Restart, restoring the same value of the Power parameter 
   at the time of the Power-Off or the Reset occurrence.
   All the channels with this parameter On are switched On following the sequence of priorities defined in GROUP00. 
   If the Power-On Status is Off, at Power-On or after a Reset the channel is Off regardless of its status before 
   the Power-Off or the Reset occurrence.
   It can be programmed either via Local or Remote Control.

CHANNEL STATUS (Status)

It is the status of the channel that can be:

   Up:
   Voltage Output Up.
   The voltage is regularly increasing towards the programmed value at the programmed rate (Ramp-Up).
   Down:
   Voltage Output Down.
   The voltage is regularly decreasing towards the programmed value at the programmed rate (Ramp-Down).
   Ovv:
   Overvoltage.
   This condition is signalled: When the actual value of the voltage output is higher than the programmed value;
   When the actual value of the voltage increase/decrease rate is higher then the programmed value (Ramp-Up /Ramp-Down parameter). 
   If the Ovv mask is ON (see § 3.4.9) the output signal CH STATUS becomes true.
   Unv:
   Undervoltage.
   This condition is signalled: When the actual value of the voltage output is lower than the programmed value;
   When the actual value of the voltage increase/decrease rate is lower than the programmed value (Ramp-up/Ramp-down parameter). 
   If the Unv mask is ON (see § 3.4.9) the output signal CH STATUS becomes true.
   Ovc:
   Overcurrent.
   The current limit has been reached, and if the Board has a programmable current hardware protection the channel is behaving like a constant current source. 
   If the Ovc mask is ON (see § 3.4.9) the output signal CH STATUS becomes true.
   Trip-down:
   The channel has tripped.
   An overcurrent has lasted for an interval longer than the allowed time and the voltage is decreasing towards 0 at the programmed rate (Ramp-Down).
   Tripped:
   The channel has tripped and has been switched off.
   If the CH STATUS is true, it remains in this state until a "Clear Alarm" command is performed. 
   To recover from this state it is sufficient to turn that channel On again. 
   This operation also clears the CH STATUS signal (if asserted).
   Vmax.
   The channel has reached the Vmax Hardware value.
   This means that the hardware protection circuit is active. 
   The Channel Status can be monitored either via Local or Remote Control.

PASSWORD PROTECTION STATUS (Pswd)

   This protection is active only via Terminal control if the Password is Enabled.
   It is the status of the protection: if this status is "Required" it is necessary to know the password to modify 
   the parameters of the channel (see the   following paragraph for a complete description of the protections). 
   It can be programmed via Remote Control;

ON/OFF PROTECTION STATUS (On/Off)

   This protection is active only via Terminal control.
   In conjunction with the Password Protection Status, it determines the possible channel operations. 
   If the Password is disabled it is possible to modify every value of the Channel Parameters regardless of its Password Parameter.

Notes for CAEN A932A board !!!

More information about A932A board is here SY527 DISTRIBUTOR BOARDS Manual

The Board houses a Primary High Voltage Channel and 24 Active Distributor Output Channels, directly supplied by the Primary Channel.

The Voltage on each Distributed Output Channel (V_SET) can be independently programmed in a range of 900 V drop from the Primary Channel V_PRIM setting with a Current of 0.5 mA on each Distributed Channel.

All these 25 channels appear both on the GUI display and on the RS232 Terminal. The 24 distributed channels are numbered from 0 to 23, while the primary H.V. channel appears as number 24.

The Current Monitored value (Imon) supported only from Primary Channel 24. There is no current monitoring for Distributed Output Channels (0-23).

In order to obtain the desired specifications, the difference between the primary channel voltage setting and the distributors output voltage setting is between 50 V and 900 V with a load drawing more than 200 uA

A suggested operation procedure for a Power-On of all channels could be the following:

  • Program the 24 distributed channels at the desired voltage set, taking care that the maximum difference between the 24 settings does not exceed 900 V.
  • Program the primary channel at a setting = [max. setting of distributed channels + 50V].
  • Set all channels ON simultaneously (in common operation).

Even if all distributed channels are set to OFF via terminal, H. S. CAENET or via front panel keyboard, this does NOT imply that there is no output voltage on the Multipin connectors.

For the A932A board, "Channel OFF" means that the A932A distributed channel supplies as output a voltage that is equal to the primary channel voltage minus the maximum drop (approx. 900 V).

As an example, if the primary channel is set to 2200 V and the distributed channel is set to 1900 V, if the distributor channel is ON the output on the multipin connectors will be 1900 V with ≤5 mV ripple, while if the distributor channel is OFF the output on the multipin connectors will be approx. 1300 V with a higher ripple.

HV Control System with GUI

More information about Java HV GUI is here Hall A Wiki High Voltage.
HV control system consists of two High Voltage CAEN crates, CaeNet VME board V288, VME crate with a single board computer (VxWorks, CPU-MVME2306). HV crates are connected to V288 board using CAENET network with daisy-chain schema. The server, which runs on VME computer, translates commands from HV GUI to control CAEN crates and sends back responses from CAEN modules using HV GUI protocol. The communication protocol between HV GUI and server is TCP/IP (it is the same as used for LeCroy-1458 HV System).

More Details

HV GUI monitors changes of channel parameters(properties) by polling summary numbers from server using commands: "GS", "LS", "PS". There are 3 types of summary numbers:

  • global: GS - five four-digits words(hex),
  • logical: LS - two four-digit word(hex) for every module(slot),
  • property: PS - one four-digit word(hex) for every hv channel property(parameter).


If channel property is changed, PS number for that property is incremented, then LS number for corresponded module(board) is incremented and then GS number is also incremented. GUI gets these changed summary numbers and it founds what property in what module(board) have to be updated, then it sends recall command to server with corresponded parameter name.

Task called 'monitor' runs on VME computer and it scans all hv channels in loop by crates, boards to readout parameters values. Values from all hv channels are stored in monitor's memory (arrays). Stored values are updated in regular time interval (about 10-15 sec for one crate with 10 boards). Property value after readout from HV channel is compared with corresponded value stored in array. If there is some(predefined) difference between these two values, summary number for that property is incremented. Server receives recall command from GUI for corresponded property and sends back property value stored in 'monitor' array.

Start HV GUI

HV GUI is located on hvsrv3 computer under highv account in directory /home/highv/slowc.

There is test configuration in directory /home/highv/slowc/TEST.

Host names for CAEN crates in HV GUI:

   Crate #12: sbscdet:2012
   Crate #9 : sbscdet:2009 

To start HV GUI:

  • Login to hvsrv3 as user highv (password is the same as for 'adaq').
  • Go to directory slowc:
 cd slowc
  • Start GUI:
 ./hvs TEST 

Initialization time of two HV crates in GUI is about 2 min. Update time for changed parameter in one crate is about 10-15 sec. Be patient, it takes time.

HV GUI Power ON/OFF button

CAEN SY527 crate does not support direct remote command to switch power ON or OFF for entire crate.
There is only On/OFF option for every channel. HV GUI Power ON button will not provide any power action.
It is used only to clear alarm state ("CH STATUS" output on the front panel of the crate).
HV GUI Power OFF button is used to immediate switch OFF all channels in crate(s).
Power ON/OFF for one channel is provided by enabling/disabling channel property "CE_Ch".
There is group GUI command in "Menu->Edit" to Enable/Disable all channels in module, crate or all crates.

Voltage Polarity from HV GUI

CAEN A932A board does not support polarity property.
HV GUI will accept and show only positive values for settable parameters regardless of board polarity.

Parameters of CAEN HV channels SUPPORTED by GUI

Parameters of CAEN HV channels supported by GUI:

 Property  CAEN parameter  GUI Label    Description                 Units 
   Ch_number  Ch#          CH#          channel number              (read)
   CE         Pw      	   CE_En        channel enable/disable      (read/write)  0/1
   MC         Imon    	   Imon_mA      measured current            (read)   	  mA
   MV         Vmon    	   Vmon_V       measured voltage            (read)         V
   DV         V0set   	   V0set_V      set #0 of voltage           (write/read)   V 
   DC         I0set   	   I0set_V      set #0 of current limit     (write/read)  mA 
   SVL        SVmax   	   SVmax_V      software max voltage limit  (write/read)   V
   RUP        Rup     	   RUP_V/s      ramp up speed               (write/read)  V/s   
   RDN        Rdwn    	   RDN_V/s      ramp down speed             (write/read)  V/s
   TC         Trip    	   Trip_s       maximum time an "overcurrent" 
   	   	   	   	        is allowed to last          (write/read)  in tenths of second
   STAT       Status       Status       channel status              (read)        4 hex digits
   FLAG       FLAG    	   FLAG_N       channel flag and mask       (read)        4 hex digits
   ST         Status  	   CH_Stat      converted channel status for support GUI alarms

Parameters of CAEN HV channels NOT SUPPORTED by GUI

Currently NOT supported parameters of CAEN hv channels from HV GUI:

   CAEN Parameter         
   V1SET			V1set	  
   I1SET			I1set     	  
   HVMAX			HVmax       
   CHANNEL NAME                 Channel      
   PASSWORD PROTECTION STATUS   Pswd          
   ON/OFF PROTECTION STATUS     On/Off
   PRIORITY ON/OFF              Pron/Proff
   POWER-ON ENABLE              Pon

Alarms supported by HV GUI

  • Power OFF not from GUI
  • Channel overvoltage
  • Channel overcurrent
  • Channel trip
  • Channel hardware voltage limit

All these alarms are cleared by enabling/disabling alarmed channel or pressing GUI button power ON.

VME Boot parameters

Boot parameters for VME CPU 'sbscdet' in Test Lab:

   #boot device          : dc
   #processor number     : 0 
   #host name            : hvsrv3
   #file name            : /site/coda/kern/5.3.1/vx2306_IVG3
   #inet on ethernet (e) : 129.57.36.152
   #host inet (h)        : 129.57.88.47
   #gateway inet (g)     : 129.57.36.1
   #user (u)             : highv
   #flags (f)            : 0x20 
   #target name (tn)     : sbscdet
   #startup script (s)   : ~/caen_hv/sbscdet.boot


Program components

Programs tasks started on VME CPU at boot time from file /home/highv/caen_hv/sbscdet.boot:

   # load library for v288 and sy527
   ld < sy527/sy527.o
   # Set V288 board address on VME bus:
   v288addr=0xe0600000;
   # start monitors for Caen crate #12 and crate #9 
   taskSpawn "caenmon12",150,spTaskOptions,10000, monitor1, 12
   taskSpawn "caenmon9",150,spTaskOptions,10000, monitor1, 9

Parameters:

   9  - Caen crate one number (1-99)
   12 - Caen crate two number (1-99) 
   # load and start two servers
   ld < server/server.o
   taskSpawn "c_srv1",120,spTaskOptions,10000, start, 2012, 12
   taskSpawn "c_srv2",120,spTaskOptions,10000, start, 2009, 9

Server parameters:

   2012 (2009) - port number(s)
   12  (9)   - crate number(s)

Serial connections with Port Server

CAEN crates can be controled by terminal connected to serial line.

There is port server cdetts2 that allows to make connection to CAEN crates and also to VME CPU by serial line.

  • Connect to CAEN crate #12:
   telnet cdetts2 2002
  • Connect to CAEN crate #9:
   telnet cdetts2 2003
  • Connect to VME CPU 'sbscdet':
   telnet cdetts2 2008

Back to: SuperBigBite: Coordinate_Detector