Transcript Slide 1

Image Acquisition in LCLS
Sheng Peng
EPICS Meeting 2008, Shanghai
3/12/2008
Image Acquisition in LCLS
1
Sheng Peng
[email protected]
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
3/12/2008
Image Acquisition in LCLS
2
Sheng Peng
[email protected]
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
3/12/2008
Image Acquisition in LCLS
3
Sheng Peng
[email protected]
Possible Camera Interfaces
There are a few most popular interfaces in camera industry:
Cameralink
Ethernet
LVDS(RS-644)
USB2.0
Firewire
(2.38Gbps for Base)
(1Gbps)
(1.923Gbps)
(480Mbps)
(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
3/12/2008
Image Acquisition in LCLS
4
Sheng Peng
[email protected]
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
3/12/2008
Image Acquisition in LCLS
5
Sheng Peng
[email protected]
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.
3/12/2008
Image Acquisition in LCLS
6
Sheng Peng
[email protected]
Profile Monitor Image Acquisition
UNIQ UP900CL-12B camera
CCD:
Shutter:
Resolution:
Progressive:
External Trigger:
Full scan:
Analog Output:
Cameralink:
1/2”
Full Frame
1392x1040
Yes
Yes
14.97Hz
Yes
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
3/12/2008
Image Acquisition in LCLS
7
Sheng Peng
[email protected]
Profile Monitor
3/12/2008
Image Acquisition in LCLS
8
Sheng Peng
[email protected]
Snapshot: historical moment
3/12/2008
Image Acquisition in LCLS
9
Sheng Peng
[email protected]
Drive Laser Image Acquisition
PULNiX TM-6710CL camera
CCD:
Shutter:
UV option:
Resolution:
Progressive:
External Trigger:
Full scan:
Analog Output:
Cameralink:
Genlock:
1/2”
Full Frame
Yes
648x484
Yes
Yes
120Hz
Yes
Yes
Yes
EDT PMC DV C-Link
Cameralink compatible
32bit/66MHz PCI
External trigger input
3/12/2008
Image Acquisition in LCLS
10
Sheng Peng
[email protected]
Drive Laser Camera Crate
3/12/2008
Image Acquisition in LCLS
11
Sheng Peng
[email protected]
LCLS Drive Laser
3/12/2008
Image Acquisition in LCLS
12
Sheng Peng
[email protected]
Integrated Plug-and-Plug System should be very welcome
3/12/2008
Image Acquisition in LCLS
13
Sheng Peng
[email protected]
Test Stand
3/12/2008
Image Acquisition in LCLS
14
Sheng Peng
[email protected]
Test Stand
3/12/2008
Image Acquisition in LCLS
15
Sheng Peng
[email protected]
Picture
3/12/2008
Image Acquisition in LCLS
16
Sheng Peng
[email protected]
Air Force Reticle
3/12/2008
Image Acquisition in LCLS
17
Sheng Peng
[email protected]
Snapshot: history buffer
3/12/2008
Image Acquisition in LCLS
18
Sheng Peng
[email protected]
10
10
10
6
Spectral Intensity
Spectral Intensity
Dark/White Image Structure Spectrum
Single image
Diff image
4
2
100
200
300
400
500
10
Single image
Diff image
10
10
600
6
4
2
100
-1
10
10
4
2
100
200
300
400
-1
Image Acquisition in LCLS
10
10
10
500
Vert. Frequency (pixel )
3/12/2008
300
400
500
600
Hor. Frequency (pixel )
6
Spectral Intensity
Spectral Intensity
10
200
-1
Hor. Frequency (pixel )
6
4
2
100
200
300
400
-1
Vert. Frequency (pixel )
19
Sheng Peng
[email protected]
500
CCD test (Data analyzed by Henrik Loos)
Dark image noise histogram
Counts
10
10
10
10
10
10
Single image
Diff image
Fit  = 3.7
Fit  = 4.9
5
4
10
3
Counts
10
White image noise histogram
10
10
2
1
10
0
-30
-20
-10
0
10
Intensity Level
3/12/2008
Image Acquisition in LCLS
20
30
10
40
5
4
3
2
1
0
20
20
Single image
Diff image
Fit  = 6.6
Fit  = 7.1
30
40
50
60
Intensity Level
Sheng Peng
[email protected]
70
80
90