Difference between revisions of "Slow controls"

From GlueXWiki
Jump to: navigation, search
(Tagger Harp)
(PLC based)
Line 42: Line 42:
 
=== PLC based ===  
 
=== PLC based ===  
  
* PLC may be the cheapest way of doing it from point of view of hardware. For 18 axes of motion we probably will need about $16K; $14K for 9 [http://www.amci.com/stepper-motor-control/controllogix-stepper-motor-controller.asp AMCI 3202 modules for 1756], and approximately $2K for a 1756 chassis with a communication module.  
+
* PLC may be the cheapest way of doing it from point of view of hardware. For 18 axes of motion we probably will need about $17K; $14K for 9 [http://www.amci.com/stepper-motor-control/controllogix-stepper-motor-controller.asp AMCI 3202 modules for 1756], and approximately $3K for two 1756 chassis with communication modules.  
* I have not been able to find a true Allen-Bradley stepper motor drive card for ControlLogix PLC, AMCI was the only one I could Google. Allen-Bradley has expensive and sophisticated system for ControlLogix.  
+
* I have not been able to find a true Allen-Bradley stepper motor drive card for ControlLogix PLC, AMCI was the only one I could Google. Allen-Bradley has expensive and sophisticated system for ControLogix.  
 
* We will need to develop the software nearly from scratch. This option also creates the usual extra layer of PLC/EPICS communications.  
 
* We will need to develop the software nearly from scratch. This option also creates the usual extra layer of PLC/EPICS communications.  
 
* Implementing harp scans can be problematic because of the synchronization issue between the scalers and the motor read-backs. The bandwidth limitations of the EtherIP EPICS interface may cause problems in harp scan applications.
 
* Implementing harp scans can be problematic because of the synchronization issue between the scalers and the motor read-backs. The bandwidth limitations of the EtherIP EPICS interface may cause problems in harp scan applications.

Revision as of 20:42, 19 April 2011

General


EPICS on Linux


Motor Applications Introduction


Scope

We need to plan for the following motor-based applications:

  • Goniometer (5 axis)
  • Tagger harp (1 axis)
  • Tagger microscope (4 axis)
  • Collimator table (1 axis)
  • Converter/photon harp (1 axis)
  • TAC (1 axis) ?
  • Gamma profiler (1 axis) ?

This means 10 axes in tagger hall, 4 axes in Hall D. We can consider the three options shown below.


VME based

  • This approach would require two VME crate with a controller in each (one in tagger hall and one in Hall D) and OMS motor driver cards. This is a common way of doing it at Jefferson Lab.
  • Currently we are trying to avoid VME based systems, but harp applications need to have a VME scaler module. Therefore, for harp systems this would be a convenient way of doing it since the motor and the scaler module can be easily synchronized through a single VME bus.
  • The hardware cost can be high ~ $26K for the two VME crates (2x$6000), CPUs (2x$3400 each) and the 4 OMS VS4-040 cards (4x$1800).
  • Software from other halls and accelerator division can be used saving us on labor cost.



PLC based

  • PLC may be the cheapest way of doing it from point of view of hardware. For 18 axes of motion we probably will need about $17K; $14K for 9 AMCI 3202 modules for 1756, and approximately $3K for two 1756 chassis with communication modules.
  • I have not been able to find a true Allen-Bradley stepper motor drive card for ControlLogix PLC, AMCI was the only one I could Google. Allen-Bradley has expensive and sophisticated system for ControLogix.
  • We will need to develop the software nearly from scratch. This option also creates the usual extra layer of PLC/EPICS communications.
  • Implementing harp scans can be problematic because of the synchronization issue between the scalers and the motor read-backs. The bandwidth limitations of the EtherIP EPICS interface may cause problems in harp scan applications.


Newport XPS based

  • A new module for controlling multiple motor drivers from Newport with Newport XPS-DRV00 pass-through cards can be used.
  • This approached apparently is not used in JLab.
  • Mark Rivers uses these devices at APS and he developed EPICS support for this. In fact his SNL applications is probably directly usable for us, so little software development would be needed for this. He is using the pulse output from XPS to strobe the scaler module, and keeps the positions of the motors (encoders) in XPS to later synchronize with the scaler FIFO values. This is exactly what we are looking for.
  • Mark Rivers is working on changing this application to work without state code, and some of the general features of his current and future implementation are briefly described in an e-mail exchange.
  • The low-power motors can be controlled using XPS-DRV01 card, which is more expensive that pass-through cards, $571. But this would allow us to skip building of the driver box for applications like microscope counter and LED positioning.
  • This is an expensive option. The price for 3 XPS-C6 units fully equipped with six XPS-DRV00 cards would cost us $23K.
  • Software development cost is probably going to be low since we can nearly copy APS' application.


Goniometer Application

No plans now


Tagger Harp

Tagger harp mechanical hardware exists within the accelerator group's scope. They will installed the vacuum system and the motor, but we probably will have to instrument the harp stick and decide what readout we will need. In order to achieve 10^{{4}} dynamic range we need to instrument it with PMT-based readout, which accelerator division usually does not do. It is also not defined who will be responsible for the control software, but it would be logical if we use our readout method then we also build the controls for this harp.

The tagger harp will consist of two thin wire, for instance 20μ iron wire which will be positioned at 450 with respect to the stick and 900 with respect to each other. One of these wires would measure the x-profile of the beam, the other one the y-profile of the beam. The overall scanning range is expected to be on the order of 6cm. The motor will be moving at a slow speed of ~0.5mm/sec, resulting in a full scan lasting about 2-3 minutes. While the motors is moving we will need to strobe a scaler module either internally or externally to measure the number of hits in three PMT-based detectors mounted near the electron beam dump versus the displacement of the stick. The measured numbers are recorded on the disc and analyzed after the full scan is complete. The analyzing software should be able to recognize the two peaks in the enhancements in the data and fit them to obtain the centroids x and y and their resolutions σx and σy. The analyzing software exists and can in principle be copied from the accelerator division or other halls. The scanning software may have to be rewritten based on what hardware we choose for this application.

PLC