next up previous contents
Next: The Forward Scaler GUI Up: Beamline EPICS applications Previous: The Scaler GUI

Subsections

The Collimator GUI

 

Overview

The Collimator GUI (Figure 4.6) controls the position of the two sets of collimators located after the Tagger Magnet (See Figure 2.11. These collimators are used to clean the photon beam after its generation by the radiator. They are simple cylinders with a hole drilled in the middle. A translation stage moves these cylinders in and out of the beam (Figure 4.8).


  
Figure 4.6: The Collimator GUI window
\begin{figure}
\epsfysize=15cm
\centerline{\rotatebox{-90}{
\epsfbox {collimator_gui.eps}
}}\end{figure}

How to launch it

Launching the GUI is very easy once the GUI_launch GUI (see section 4.2) is up. Simply click on the left popup menu and select 'scaler'. A window (Figure 4.6) should shortly pop-up on the screen.

How to use it

What to look at ?

 If an electron run is in progress, the only thing that matters is that the collimators are well outside of the beam. If the collimators are outside of the beam, the string ``Out of the beam limit!'' should be displayed in the upper message box (the one that display the position). If it's not, then click the ``out'' button, it should move the collimators out and display the string. Don't worry about the ``check Calibration'' warning.

If it's a photon run, then the collimators have to be precisely positioned. So first check if the warning string ``check Calibration'' is displayed in the lower message box. If it is, then click on the second left button in the main button bar to move a collimator in, then click on the ``out'' button to move the collimator out. It should reset itself against the limit switch and display ``Calibration OK''.

What to do ?

Once in good position, collimators don't require any monitoring.


 

 
Table 4.15: The Collimator Position Control Panel
[1] 2l|The Position Control Panel  
  Buttons Move the chariot to put the requested device into the beam. ``Out'' take everything out of the beam. ``N/A'' is not available.



 

 
Table 4.16: The Collimator Help Pane
[2] 2l|The Help Panel  
  [2.a] This button is to be clicked when the system seems no more to respond to the commands. It exit as nicely as possible every loops the SNL program could be locked in.
  [2.b] This popup-menu will allow you to open the help window or the ``expert'' GUI window (the last one is not documented).



 

 
Table 4.17: The Collimator Calibration Panel
[3] 2l|The Calibration Panel  
  String This string can be :
Check Calibration !
The calibration has not been done. See paragraph 4.5.3.
Calibration OK !



 

 
Table 4.18: The Collimator Position and Switches Panel
[4] 2l|Position and Switches Panel  
  [4.a] The position of the chariot in inches. Zero is the ``out'' position, against the limit switch.
  [4.b] This is the switch indicator, it can display :
Nothing
anywhere but on any switch.
Out of the Beam Limit !
The chariot is outside of the beam .
....
The extreme inserted position has been reached.
...
The fine positioning switch (may not be ON when the collimator is in position, because of the presence of an offset).



 

 
Table 4.19: The Collimator Graphic Position Indicator Panel
[5] 2l|Graphic Position Indicator Panel  
    A graphic position indicator, it is.


Hardware and Software

The Collimators clean up the photon beam, by removing particles that are not on it's axis. The beam spot (70% of the photons) at the level of the target will have a divergence of $4.5{\textstyle cm}/E_{0}/GeV$. It's well inside of the target at 4 GeV, but 30% of the photons would still hit the frame if it wasn't for the collimators.


  
Figure 4.7: The photon collimating system
\begin{figure}
\epsfxsize=12cm
\centerline{
\epsfbox {collimator.eps}
}\end{figure}

A Collimator box (Figure 4.8) has four different positions. Three of them are carrying a Collimator, with different inside diameter. The latest position is not used, and is a rest position when the Collimator is not needed. Each collimator is a nickel cylinder with a thin hole along the beam axis. Nickel is used because it is the material that will be the less likely to produce neutrons when stopping photons. Neutrons can travel a long way in matter and are able to create noticeable background when reaching the detector. Each collimator box is moved by a motor under EPICS control.


  
Figure 4.8: A collimator box
\begin{figure}
\epsfxsize=12cm
\centerline{
\epsfbox {uncoli.eps}
}\end{figure}

After the primary collimator, a magnet will clean the beam from charged particles generated by collision of photons with the collimator.

But still some secondary photons made inside the first Collimator are not removed and a second Collimator is placed after the sweeping magnet. Its inside diameter is far greater than the first one and is not intended to touch the photon beam, it's purpose is only to remove things far outside of the beam-line (figure 4.7).

To move precisely enough in position, the routine that moves the Collimator make it in three steps :

1.
Go near the position
2.
Slow down, and go until the home switch fire.
3.
Then take a few adjustment steps as calibrated.

The typical speed diagram for a move is displayed in Figure 4.9.


  
Figure 4.9: Speed diagram for a collimator move
\begin{figure}
\epsfxsize=12cm
\centerline{
\epsfbox {colispeed.eps}
}\end{figure}

File informations

The application is under CVS monitoring and is known as collimator.To check it out, type cvs checkout collimator. Then build it by typing make in the main directory.

There are several files of interest :

collimator/db/collimator.db
is the database file. It contains two motor records, one for each collimator.
collimator/medm/collimator.adl
is the main GUI.
collimator/medm/collimator_expertx.adl
is the expert GUI for collimator 1 and 2.
collimator/src/collimator.h
contains common defines for both collimator 1 and 2.
collimator/src/collimator_posx.st
contains the ode to light the indicators on GUI.
collimator/src/collimator_movex.st
contains the code to move the collimators.

next up previous contents
Next: The Forward Scaler GUI Up: Beamline EPICS applications Previous: The Scaler GUI
Garp patois@cebaf.gov