Master #32

Open
divall_e wants to merge 3 commits from divall_e/ED_controls_fork:master into master
pull from: divall_e/ED_controls_fork:master
@@ -2,8 +2,55 @@
title: Detector
---
# Detector Introduction
Currently the Controls section supports a range of Cameras in EPICS through the areaDetector (1) on Debian and RedHat (RH) machines (camera servers). There are also specific X-ray detectors (i.e. Jung Frau) which are supported by ?
The advantage is that AD is supported by the EPICS community and gives a similar feel to all panels. It also gives some extra functionality in terms of plugins which give processing abilities to captured images, i.e. Vertical or Horizontal ROIs, summing, fitting, etc???
N.B. There are still some cameras running on Windows which will gradually be phased out and/or moved to AD on Linux.
# Detector Portfolio
Supported manufacturers include:
- Genicam standard cameras (i.e. Basler, Allied Vision (AVT), FLIR, ..)
- Pro-Silica
- PCO
- Tucson
- Scienta Omicron
- PSI detectors (i.e. MYTHEN3, EIGER)
- Andor (Zyla)
- TimePix3
Currently most models of Basler (2), Pro-Silica and Allied Vision (4) are supported, although it is best check with your Controls supporter before purchasing.<br>
Theoretically all cameras supporting the GeniCam standard should work, but again ask first.<br>
Both USB and Ethernet cameras can be used. However, note ethernet is preferred as ethernet patches already exist between camera-servers and the labs. Generally the camera servers are equiped with 1Gbps ethernet ports - if you require a 2.5 or 5Gbps connection then check first that this exists at the camera server end, a faster network card may be required.<br>
PCO (4) cameras are also supported. Generally these are used for more demanding applications due to their larger chip diagonal (upto 21.8mm) and high dynamic range (13000-30000:1 ) Currently the poc.edge 5.5 CLHS and pco.edge 4.2 CLHS are used in the end stations. NB. that this camera also requres a PCI card to be installed in the camera server and typical runs with a rolling shutter.<br>
## Triggering / Operation
In SwissFEL the X-rays are present at 7500us on the timing system. Thus, for normal operation they should be triggered just before this so they integrate over the shot. Due to the rolling shutter the PCO cameras must be triggered earlier. Triggers are available from the timing system in server rack or endstation.<br>
If the camera is used for experiments (not just alignment) then it may be important that the images are saved and tagged with the shot pulse-id. Depending on the camera this can be done in different ways (5):
1) Basic: For the most basic cameras then when the image arrives at the timing server it is given the current pulse-id.
2) PTP: If the camera supports PTP (Precision Time Protocol) then the image can be stamped with the acquisiton time on the camera and then the pulse-id looked up when it arrives at the server. Generally this is Basler/AlliedVision cameras runnning over Ethernet?
3) Back Trigger: The PCO and Tuscon cameras can be configured to send a digital trigger back to the server when they start each acquisition. The server can then buffer this to assign the pulse-id when the image arrives.
## Camera / server Limitations
- If you need 100Hz operation check the camera is capable of this, or how much you may need to reduce the ROI. Basler for instance has online frame-rate calculators.<br>
- For each 1 Gsps camera runnning at 100Hz, (approx full ROI, fitting gaussian and sending to image buffer) then approx 2 cpu cores are required on the server.<br>
- For each camera at 100Hz and 400x400 ROI then this drops to approx 0.7 cores/camera. Thus, for alignment systems with small ROIs then 20+ cameras could be supported. <br>
- 5 GSps cameras can easily double these requirements.<br>
Current camera servers are bought with 32 cores which should easily support 16 cameras streaming to the image buffer. In this case the bottle neck may become the 10/25 Gbps connection outfrom the camera server.
## Links
1) Area Detector: https://areadetector.github.io/areaDetector/
2) Basler: https://www.baslerweb.com/en/
3) Allied Vision: https://www.alliedvision.com/en/products/area-scan-cameras
4) PCO: https://www.excelitas.com/product-category/pco
5) Tagging: https://gitea.psi.ch/epics_driver_modules/NDPluginPIDTag
6) List of cameras in database (doesn^t gauranty full functional): https://gitea.psi.ch/epics_driver_modules/ADGenICamDB/src/branch/master/db
Here you can find a short description of all hardware that is supported by the Controls section. For related contact information, please consult the "Contacts Support" part off this website.