SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Det. Search
Who's who?
Meetings
FAQ
Images
Archive
Systems
Performance
Intern. region
Vertex Tracker
Drift chamber
DIRC
Calorimeter
IFR
LST
Magnet
Electronics
Trigger
Operations
Run Coordination
Contact Experts
Shift Takers Info
Operations Manual
Electronic Logbook
Ops Hypernews
Shift Signup
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)



IFR Detector Control Documentation

List of arguments:
IFR Main panel


Login on a SOLARIS machine placed in IR-2 and type the following command:

  • source /nfs/bbr-srv01/u1/1/bin/solaris/startEpics
If you have any problem open a NEW xterminal and try again.
Now you are running the BaBar ODC Main EPICS Screen:


Pushing on the IFR button you will get the IFR ODC Main Screen


In general:
  • If the frame around the subsystem's button is GREEN , the subsystem is OK.

  • If the frame around the subsystem's button is RED there is an High Level Alarm.

  • If the frame is YELLOW there is a Low Level (warning) Alarm.

  • If the frame is white the subsystem is not receiving new data (=> comunication problem).


IFR Configuration Screen


In this panel you can find the main setting values for the HV for each subdetector area:


The IFR can run in 2 different MODEs and 5 different STATEs:
The MODEs are: LOCAL and GLOBAL;
The STATEs are: OFF, INJECTABLE, RUNNABLE, CALIBRATION and SPECIAL.

  • LOCAL: The IFR shifter can change the IFR STATE following the following steps:

    • Set the IFR into the LOCAL mode (button on the bottom right);

    • Change the IFR state using one the 5 buttons into the local square area (on the left);

  • GLOBAL: The BaBar shift leader changes the IFR STATE using the global button on the main babar screen;

  • OFF: All the HV channels have 0 Volts and are OFF (safe state);

  • INJECTABLE:HV is at the values indicated by V0 inj (safe state);

  • RUNNABLE: HV is at the vaues indicated by V1 run
What are the HV setpoints of the IFR STATEs ???
The HV setpoints are written into the IFR configuration screen and they are divided in Runnable (V1 run) and Injectable (V0 inj).
The setpoints are divided accordingly to the detector areas: Barrel, Endcap Forward, Endcap Backward and Cylindrical.
Special setpoints are allocated for Special set and the spare channels.
It is possible to change the set points by moving the cursor in the area, edit the new value and give enter key.
What does mean HV ON, LV ON and FEE ON ????
  • LV ON: You can switch OFF/ON the Power Supplies from the Switch panel located in the Electronic House. When the LV are OFF the frame around the LV button on the IFR main screen is RED.

  • FEE ON: You can switch OFF/ON the FEE crates from the Switch panel and from the FEE screen. If one of the eight FEE crates is OFF the FEE button will be RED on the main screen.

  • HV ON: Each HV channels is ON when its CAEN STATUS is ON (V0=VMON).


IFR HV panel



The IFR HV system is divided in 6 regions/sectors corresponding to the HV crate at which the region is connected. They are called:
  • C1: Barrel sextants 0,1,2;
  • C2: Barrel sextants 3,4,5;
  • C3: Endcap Forward;
  • C4: Endcap Backward;
  • C5: Spare channels;
  • Cylindrical.
Each crate has two different kind of alarms: the CRATE alarm and the CHANNEL alarm. In this panel you can see that there is no allarm in any of the CRATE, therefore all the HV channels connected to the crates are OK.

On the IFR HV panel there are other usefull information:
  • The total current drown in each sector is reported on the right part of the screen;
  • The total number of tripped and masked channels are reported on the bottom;
  • The number of "bad" and masked channels are written on the right of the sector button.
As an example, this panel shows the channels connected to crate No 1:


All the chennels are ON, except for channel #33 and #37. Note that these chennels are also masked (last right column of buttons in red). Therefore is not a problem.
How are the HV alarms defined ???
Each HV CAEN channel has an HV CHANNEL alarms defined has the logical OR of two different alarms: the Overcurrent alarm and the Status alarm.
  • OverCurrent Alarm is yellow (warning) or red (high alarm) when Imon is greater than Iord of a certain amount;
  • Status Alarm changes when the HV status is: rump-up or rump-down;
  • Status Alarm is red when the HV status is: trip, uv, ov, uc, oc.
  • The CRATE HV alarm is the logical OR of all the chennels connected in that crate.
  • The IFR HV alarm, placed on the main IFR panel, is the logical OR of the 6 crate alarms.

In this panel you can also see the actual voltage value of the channel Vmon compared to the set value Vord
If you have a "bad" HV channel (trip, overcurrent....) you can remove it from the State Machine by masking that channel using the corresponding red button in the right column.

What does MASKED channel mean ????
  • You can mask an HV channel anytime, you do not need to go in local mode.
  • A masked HV channel does NOT rump (up/down) automatically.
  • A masked channels are not included into the ALARM state machine and into the RUNINJ State machine.
  • You can change by hand the HV parameter of the masked channels both in local and in global mode.
When do you have to MASK an HV channel ????
  • You can mask an HV channel to remove an alarm and to remove the NOT RUNNABLE flag.

  • This is the fastest way to make the IFR runnable when you have an HV trip problem.

  • Then you can set the voltage of the masked channel by hand, choosing the best V0 value.


IFR LV panel


Click on the LV button in the IFR main panel and you will get the location and the status of all the LV power supplies of the IFR:


The LV are ok when the status shown is green .
If you have a LV alarm:
  • If all the LV channel are RED check that the LV are ON looking at the switch panel placed in electronic house;
  • If the Voltage and the Current of one channel are zero you can try to reset the LV crate switching it off/on (switch panel);
  • If the Current is zero but not the Voltage you can try to reset the fuse switching off/on the LV crate

FEE DAQ crates panel


Click on the FEE crate button in the IFR main panel and you will get the location and the status of all the Front End Electronics crates:


The LV are ok when the status shown is green .
If you have a FEE alarm:
  • Find the "bad" crate and then switch ON it using the Control button under the crate symbol. Remember to use the Enable button before to switch ON it;
  • Check the switching panel in the electronic house and then try again.
  • If you have a white alarm....this is not a real problem......go to the section can bus problem.
Below are the control panel from which you can detailed check what is wrong with the crate and the control button to switch the crate remotely on/off.




IFR MON crate panel


Click on the IFR-MON cr button in the IFR main panel and you will get the following VME crate panel:


Everything is ok when the status shown is green .
If you have a IFR-MON alarm:
  • Click on Details... button and you will get the IFR-MON IOC STATUS panel:

  • Click on Control button and you will get the control button from which you can switch the VME crate on/off. Remember to use the Enable button before to switch ON it;


IFR HV MON crate panel


Click on the IFR-HV cr button in the IFR main panel and you will get a VME crate panel similar to the IFR-MON crate
Everything is ok when the status shown is green .
If you have a IFR-HV MON alarm:
  • Click on Details... button and you will get the IFR-HV MON IOC STATUS panel:
  • Click on Control button and you will get the control button from which you can switch the VME crate on/off. Remember to use the Enable button before to switch ON it;

Chillers panel


Click on the Chillers button in the IFR main panel:


Everything is ok when the status of all the parts shown is green .
If you have a chiller alarm:
  • Click on the SIAM ctl button corresponding to the tower with the alarm.
  • Check if it is possible to reset the alarm by resetting the corresponding SIAM channel. You need to have an OK condition for that channel in order to reset it.

  • If you have a chiller alarm but all the lights are green except the fact that you cannot read temperatures values and valves positions:
  • Click on the VSAM debug button.
  • Click the button on the right of Scan Mode two times. After this operation, that button goes back to "normal" and chillers readings are correctly recovered.

Chillers panel


Click on the Summary Info button in the IFR main panel:



In this panel you find all of informations concentrated in a single spot.

CAN bus problems:

  • If the IODC lose the comunication with a CAN-bus line the LV or the FEE alarm frame becomes WHITE.

  • This is not a "real" alarm; the LV and the FEE systems are working but the IODC is not able to monitor them.

  • If the comunication does not come back in a 5 minutes you can RESET the CAN-bus line (switching off/on the GMBs). To do this you can use the switch panel placed in the electronic house on the IODC VME crate. On the panel there are 8 switches for the BARREL monitor crates and 4 switches for the ENDCAP monitor crates.

  • Switch off/on ONLY the MONITOR CRATE corresponding to the lost CAN-bus line.

  • YOU DO NOT NEED to switch off/on the LV or the FEE crates.

  • YOU DO NOT NEED to reboot the CPU.


After Power Outage

  • If you can't turn LV power supplies ON by using EPICS panels, and reboooting IOC does not help, it may be because modules in the IFR_MON VME crate are "hung" and don't communicate through CANBUS to another parts of the system. The easiest method to reset them from such state is to cycle AC power on VME crate. This will cause general alarm because of SIAM modules in this crate, so make sure to tell shift leader that you are going to generate such alarm before proceeding


This page was created by Pigi Paolucci (paolucci@slac.stanford.edu),
Now it is mantained by Maria Chiara Simani
Last updated: 7 Jan 2003