200 likes | 315 Vues
Image Acquisition in LCLS. Sheng Peng EPICS Meeting 2008, Shanghai. Applications. We have many applications which need camera Injection Laser Stabilization Beam Profile Monitors: OTR/YAG Experiments Requirement Resolution, Frame rate CCD sensitivity/Dynamic rage Thermal noise
E N D
Image Acquisition in LCLS Sheng Peng EPICS Meeting 2008, Shanghai
Applications • We have many applications which need camera • Injection Laser Stabilization • Beam Profile Monitors: OTR/YAG • Experiments • Requirement • Resolution, Frame rate • CCD sensitivity/Dynamic rage • Thermal noise • Beam synced acquisition capability • Interface to control system • LCLS standard IOC platform is EPICS/RTEMS/MV6100
Possible Data Throughput on MVME6100 • The data throughput may be very high • 640*480*2bytes/pixel*120Hz ~= 72MB/s • 1392*1040*2bytes/pixel*15Hz ~= 42MB/s • Theoretical maximum throughput • Giga-Ethernet: ~100MB/s • USB2.0: 60MB/s • Firewire 1394b: 100MB/s • 32-Bit 66MHz PCI: 264MB/s • 64-Bit 66MHz PCI: 528MB/s
Possible Camera Interfaces • There are a few most popular interfaces in camera industry: • Cameralink (2.38Gbps for Base) • Ethernet (1Gbps) • LVDS(RS-644) (1.923Gbps) • USB2.0 (480Mbps) • Firewire (400Mbps/800Mbps) • Some decisions are easy: • Ethernet is attractive • Firewire is better than USB • More camera choices • Higher power • Less CPU involvement • RTEMS no USB stack • CameraLink is better than LVDS • CameraLink is serialized LVDS, so less wires • More popular
Possible Camera Interfaces • The most of cameras we are using now are all CameraLink cameras so far • We have two methods to integrate Cameralink interface into our control system: • Ethernet • PMC Frame Grabber
Ethernet Interface for Camera • As always, I love Ethernet. • But at that time, the choice we had was CameraLink to Ethernet converter. • Proprietary protocol, can’t get any info out from Pleora. Later on it turned to GigEVision. • Vendor driver works with particular Ethernet chip • Pleora and JAI PULNiX and another ten companies started GigEVision • We still need protocol/source code if we are not using Windows/Linux to interface to camera • Even now, CameraLink is probably more sophisticated.
Profile Monitor Image Acquisition • UNIQ UP900CL-12B camera • CCD: 1/2” • Shutter: Full Frame • Resolution: 1392x1040 • Progressive: Yes • External Trigger: Yes • Full scan: 14.97Hz • Analog Output: Yes • Cameralink: Yes • EDT PMC DV C-Link • Cameralink compatible • 32bit/66MHz PCI • External trigger input • RCX C-Link • Convert between CameraLink and 50ns Duplex LC fiber up to 300m • Tested with ~70m fiber and ~110ºF
Drive Laser Image Acquisition • PULNiX TM-6710CL camera • CCD: 1/2” • Shutter: Full Frame • UV option: Yes • Resolution: 648x484 • Progressive: Yes • External Trigger: Yes • Full scan: 120Hz • Analog Output: Yes • Cameralink: Yes • Genlock: Yes • EDT PMC DV C-Link • Cameralink compatible • 32bit/66MHz PCI • External trigger input
CCD test (Data analyzed by Henrik Loos) White image noise histogram • Dark image noise histogram