Dalsa PC-30-02K80 User manual

Piranha Color
Trilinear Camera
PC-30-02K80
PC-30-02K60
PC-30-04K80
PC-30-04K60
Camera User’s Manual
03-032-10211-01
9-May-07

Piranha Color Camera User’s Manual 2
DALSA 03-032-10211-01 5/9/2007
© 2007 DALSA. All information provided in this manual is believed to be accurate and reliable.
No responsibility is assumed by DALSA for its use. DALSA reserves the right to make changes
to this information without notice. Reproduction of this manual in whole or in part, by any
means, is prohibited without prior permission having been obtained from DALSA.
About DALSA
DALSA is an international high performance semiconductor and electronics company that designs,
develops, manufactures, and markets digital imaging products and solutions, in addition to providing
semiconductor products and services. DALSA’s core competencies are in specialized integrated circuit
and electronics technology, software, and highly engineered semiconductor wafer processing.
Products and services include image sensor components; electronic digital cameras; vision processors;
image processing software; and semiconductor wafer foundry services for use in MEMS, high-voltage
semiconductors, image sensors and mixed-signal CMOS chips. DALSA is listed on the Toronto Stock
Exchange under the symbol “DSA”. The Company has its corporate offices in Waterloo, ON and
over 1000 employees world-wide.
For further information not included in this manual, or for information on DALSA’s extensive line of
image sensing products, please call:
Waterloo Europe Asia Pacific
605 McMurray Rd
Waterloo, ON N2V 2E9
Canada
Tel: 519 886 6000
Fax: 519 886 8023
www.dalsa.com
Breslauer Str. 34
D-82194 Gröbenzell (Munich)
Germany
Tel: +49 - 8142 – 46770
Fax: +49 - 8142 – 467746
www.dalsa.com
Ikebukuro East 13F
3-4-3 Higashi-Ikebukuro
Toshima-ku, Tokyo 170-
0013
Japan
Tel: 81 3 5960 6353
Fax: 81 3 5960 6354 (fax)
www.dalsa.com

Piranha Color Camera User’s Manual 3
DALSA 03-032-10211-01 5/9/2007
Contents
1.0 Introduction 7
1.1 Camera Performance Specifications 8
2k Model ................................................................................................................................8
4k Model ................................................................................................................................10
1.2 Image Sensor 12
1.3 Responsivity 13
2.1 Installation Overview 15
2.2 Input/Output Connectors and LED 15
2.3 Camera LED 16
2.4 Power Connector 16
2.5 Camera Link Data Connector 17
Input Signals, Camera Link......................................................................................................17
Output Signals, Camera Link ...................................................................................................17
2.6 Camera Timing 18
Base Configuration..................................................................................................................18
Base Configuration Timing ......................................................................................................19
Medium Configuration.............................................................................................................20
Using ASCII Commands..........................................................................................................23
Command Format ...................................................................................................................23
3.1 First Power Up Camera Settings 24
3.2 Rebooting the Camera 24
3.3 Baud Rate 24
3.4 Select Cable 24
3.5 Help 25
3.6 Sensor Output 27
Color Scan Direction ...............................................................................................................27
Sensor Readout Direction (Mirroring Mode) .............................................................................27
3.7 Data Output 28
Setting the Camera Link Mode.................................................................................................28
Setting the Camera’s Pixel Rate (Throughput) ..........................................................................28
3.8 Set Color Correction 28
3.9 Camera Selection Variables 29
3.10 Exposure Control 31
Overview ................................................................................................................................31
Setting the Exposure Mode......................................................................................................31

Piranha Color Camera User’s Manual 4
DALSA 03-032-10211-01 5/9/2007
Exposure Modes in Detail........................................................................................................32
3.11 Spatial Correction 34
Setting the Line Delay between Colors .....................................................................................36
3.12 Averaging Horizontal Pixels 36
Setting the Averaging Horizontal ..............................................................................................36
3.13 Processing Chain Overview and Description 37
Analog Processing..................................................................................................................37
Digital Processing...................................................................................................................37
The Effects of the Processing Chain on Calibration...................................................................38
3.14 Analog Gain and Analog Offset 39
Setting Analog Gain.................................................................................................................39
Calibrating Camera Gain..........................................................................................................40
Setting Analog Offset ..............................................................................................................41
3.15 Flat Field Correction 42
Flat Field Correction Overview..................................................................................................42
Flat Field Correction Restrictions .............................................................................................43
FPN Measurement ..................................................................................................................44
3.16 Digital Gain and Background Subtract 49
3.17 Look-Up Tables 50
3.18 Saving, Loading and Restoring Settings 52
Saving and Restoring Settings.................................................................................................52
Writing and Loading Setting to Non-Volatile Memory ................................................................53
3.19 Diagnostics 58
End-of-line Sequence..............................................................................................................58
Setting Thresholds ..................................................................................................................59
Returning Video Information ....................................................................................................61
Setting the Number of Lines to Sample..........................................................................................................62
Temperature Measurement......................................................................................................62
Voltage Measurement .............................................................................................................62
Camera Frequency Measurement ............................................................................................63
Returning the LED Status ........................................................................................................63
Returning Camera Settings......................................................................................................63
4.1 Mechanical Interface 69
4.1 Optical Interface 70
5.1 Electrostatic Discharge and the CCD Sensor 73
5.2 Protecting Against Dust, Oil and Scratches 73
5.3 Cleaning the Sensor Window 74
6.1 Troubleshooting 75
6.2 Specific Solutions .............................................................................................................76
6.3 Product Support................................................................................................................78

Piranha Color Camera User’s Manual 5
DALSA 03-032-10211-01 5/9/2007
Appendix A: ASCII Command Reference 79
ASCII Commands: Reference ..................................................................................................79
A5 Error Handling ...................................................................................................................86
Appendix B: Blue Correction Command 89
Enabling blue correction.................................................................................................................................89
Appendix C: EMC Declaration of Conformity 91
Appendix D: Revision History 93
Index 95

Piranha Color Camera User’s Manual 6
DALSA 03-032-10211-01 5/9/2007

Piranha Color Camera User’s Manual 7
DALSA 03-032-10211-01 5/9/2007
1
1
Features and Specifications
1.0 Introduction
Camera Features
2048 or 4096 trilinear RGB line scan sensor
Color spacing: 3 lines, center to center
Forward and reverse scanning operation
Maximum line rates of 22 kHz (2k60) and 32 kHz (2k80), or 12 kHz (4k60) and 17 kHz
(4k80).
Programmable analog gain and offset
FPN and PRNU correction
White balancing algorithms
Optional luminance output
Spatial correction
Anti-blooming
Configurable Base or Medium Camera Link
Applications
100% print inspection
Electronics manufacturing inspection
Postal/parcel sorting
High performance document scanning/image lift
Narrow and large web inspection
High-end industrial inspection
Models
PC-30-02k60: 2k resolution, 3 taps at 60 MHz
PC-30-04k60: 4k resolution, 3 taps at 60 MHz
PC-30-02k80: 2k resolution, 3 taps at 80 MHz
PC-30-04k80: 4k resolution, 3 taps at 80 MHz

Piranha Color Camera User’s Manual 8
DALSA 03-032-10211-01 5/9/2007
1.1 Camera Performance Specifications
2k Model
Test conditions unless otherwise noted:
Pixel Rate: 80 MHz (2k80), 60 MHz (2k60).
Line Rate: 7.5 kHz.
Exposure Time: Red = 50 µs, Green = 30 µs, Blue = 60 µs.
Light Source: Broadband Quartz Halogen, BG-38, with 750 nm cutoff filter
installed, Correction Color Temperature = 5300ºK.
ECE Exposure Control Enabled.
Ambient test temperature 25 °C.
Ouput 3220 DN includes 180 DN dark offset. (Range of 0 DN to 4095 DN.)
All numbers referenced to 12 (0 to 4095 DN) bits unless otherwise specified.
Specifications are only valid when line rates greater than 1.0 kHz and input voltage
is between +12 V and +15 V.
The responsivity of each color is adjusted to achieve equal output.
CLM 16.
Table 1: 2k Model Performance Specifications
Sensor Features Units Value Notes
Imager Format Trilinear CCD
Resolution pixels 2048
Pixel Fill Factor % 100
Pixel Size μm 14 x 14
Antiblooming 10x
Operating Ranges Units Notes
Minimum Line Rate kHz 3.0 Operable to 1 Hz
from external
Maximum Line Rate kHz 22.7 (2k60) or 32.3 (2k80)
Pixel RGB Throughput Mps up to 80
Gain dB -10 to +10
-10 dB 0 dB +10 dB
Notes
Operating
Specifications
Unit
Min Typ Max Min Typ Max Min Typ Max
Responsivity DN/
(nJ/cm2)
133 422 1333
Dynamic
Range
700 250 70
Random
Noise
DN rms 5 14 45
DC Offset DN 144 180 216 90 180 270 90 180 360
FPN ECD DN pk to 14 43

Piranha Color Camera User’s Manual 9
DALSA 03-032-10211-01 5/9/2007
-10 dB 0 dB +10 dB
Notes
Operating
Specifications
Unit
Min Typ Max Min Typ Max Min Typ Max
pk
FPN ECE
(FFC
disabled)
DN pk to
pk
4 14 12 43 35 137
FPN (FCC
enabled)
pk to pk 9
PRNU ECD
pix to pix
DN rms 350 350
PRNU ECE
pix to pix
DN rms 20 350 350 724
PRNU ECE DN
pk to pk
180 608 608 854
PRNU (FCC
enabled)
ECD
ECE
pk to pk
DN rms
DN rms
61
NEE (RGB) pJ/cm2
SEE nJ/cm2
Optical Interface Units Value Notes
Back Focal Distance
M72 Mount
mm 19.56 (M72 x 0.75)
Sensor Alignment
x
y
z
0z
μm
μm
μm
°
± 50
± 50
± 250
Lens Mount M72 x 0.75
Mechanical Interface Units Value Notes
Camera Size mm (l x h x w) 67 x 105 x 76
Mass g 450
Connectors
power connector
data connector
Electrical Interface Units Notes
Input Voltage Volts +12 to +15
Power Dissipation W 12
Operating
Temperature (front
plate)
°C 0 to 50
Data Output Format Bits 8 or 12

Piranha Color Camera User’s Manual 10
DALSA 03-032-10211-01 5/9/2007
Output Data
Configuration
3 taps 8 bit
3 taps 12 bit
6 taps 8 bit
4k Model
Test conditions unless otherwise noted:
Pixel Rate: 80 MHz (4k80), 60 (4k60)
Line Rate: 3.75 kHz
Light Source: Broadband Quartz Halogen, BG-38, with 750 nm cutoff filter
installed, Correction Color Temperature = 5300ºK.
Ambient test temperature 25 °C
All numbers referenced to 8 bits unless otherwise specified
Specifications are only valid when line rates greater than 2.5 kHz and input voltage
is between +12 V and +15 V.
Table 2: 4k Model Performance Specifications
Sensor Features Units Value Notes
Imager Format Trilinear CCD
Resolution pixels 4096
Pixel Fill Factor % 100
Pixel Size μm 10 x 10
Antiblooming 100x
Operating Ranges Units Notes
Minimum Line Rate kHz 3.0 Operable to 1 Hz
Maximum Line Rate kHz 12.1 (4k60) or 17.6 (4k80)
Pixel RGB Throughput Mps up to 80
Gain dB -10 to +10
-10 dB 0 dB +10 dB
Notes
Operating
Specification
Unit
Min Typ Max Min Typ Max Min Typ Max
Responsivity
(8 bit)
DN/
(nJ/cm2)
4 13 42
Responsivity
(12 bit)
DN/
(nJ/cm2)
67 211 667
Dynamic
Range
700 250 70
Random
Noise
rms
DN 5 8 14 25 45 80
DC Offset DN 144 180 216 90 180 270 90 180 360
FPN ECD DN
pk to pk
27 87
FPN ECE DN
pk to pk
4 27 12 87 35 275

Piranha Color Camera User’s Manual 11
DALSA 03-032-10211-01 5/9/2007
-10 dB 0 dB +10 dB
Notes
Operating
Specification
Unit
Min Typ Max Min Typ Max Min Typ Max
FPN (FCC
disabled)
DN
pk to pk
1 18
PRNU ECD DN
pix to pix
350 350
PRNU ECE DN rms
pix to pix
20 350 350 725
PRNU DN
pk to pk
180
PRNU
Corrected
ECD
ECE
DN
DN
608
608
608
608
854
NEE pJ/cm2
SEE nJ/cm2
Optical Interface Units Value Notes
Back Focal Distance
M72 Mount
mm
91.56 (M72 x 0.75)
Sensor Alignment
x
y
z
0z
μm
μm
μm
°
±50
±50
±250
Lens Mount
Mechanical Interface Units Value Notes
Camera Size mm (l x h x w) 67 x 105 x 76
Mass g
Connectors
power connector
data connector
Electrical Interface Units Notes
Input Voltage Volts +12 to +15
Power Dissipation W 12
Operating
Temperature (front
plate)
°C 0 to 50
Data Output Format Bits
Output Data
Configuration

Piranha Color Camera User’s Manual 12
DALSA 03-032-10211-01 5/9/2007
1.2 Image Sensor
The Piranha Color camera uses a trilinear CCD sensor with three lines of pixels: one
blue, one red and one green. Depending on your camera model, each line contains
either 2048 or 4096 pixels. As illustrated in the diagram below, the blue line has 2
outputs (taps), and the red and green lines have 4 outputs.
Figure 1: Sensor Block Diagram
Red Tap 2
Red Tap 1
Blue Tap 2
Blue Tap 1
2048 or 4096 pixels
Red Tap 4
Red Tap 3
Green Tap 2
Green Tap 1 Green Tap 4
Green Tap 3
Red Tap 2
R
ed Tap
1
Blue Tap
1
Green Tap 2
Green Tap
1
30 µm (4k)
42 µm (2k)
30 µm (4k)
42 µm (2k)
T
he three color lines are
separated
30 µm (4k) or 42 µm (2k) apart
center to
center.

Piranha Color Camera User’s Manual 13
DALSA 03-032-10211-01 5/9/2007
1.3 Responsivity
0
10
20
30
40
50
60
400 500 600 700 800 900 1000 1100
Wavelength (nm)
Responsivity {V/(uj/cm2)
}
Blue
Green
Red
2K sensor spectral responsivity

Piranha Color Camera User’s Manual 14
DALSA 03-032-10211-01 5/9/2007
0
10
20
30
40
50
60
400 500 600 700 800 900 1000 1100
Wavelength (nm)
Responsivity {V/(uj/cm2)
}
Blue
Green
Red
4K sensor spectral responsivity

Piranha Color Camera User’s Manual 15
DALSA 03-032-10211-01 5/9/2007
2
2
Hardware Interface: Connectors
and Timing
2.1 Installation Overview
When installing your camera, you should take these steps:
1. Power down all equipment.
2. Following the manufacture’s instructions, install the frame grabber (if applicable).
Be sure to observe all static precautions.
3. Install any necessary imaging software.
4. Before connecting power to the camera, test all power supplies. Ensure that all the
correct voltages are present at the camera end of the power cable. Power supplies
must meet the requirements defined in section 2.2.2 Power Connector.
5. Inspect all cables and connectors prior to installation. Do not use damaged cables
or connectors or the camera may be damaged.
6. Connect Camera Link and power cables.
7. After connecting cables, apply power to the camera.
8. Check the diagnostic LED. See the LED Status Indicator section below for an
LED description.
9. The camera powers on with a baud rate of 9600.
You must also set up the other components of your system, including light sources,
camera mounts, host computers, optics, encoders, and so on.
2.2 Input/Output Connectors and LED
The camera uses:
An LED to display the camera's status.
High-density 26-pin MDR26 connectors for Camera Link control signals, data
signals, and serial communications. Refer to section 2.2.3 Camera Link Data
Connector for details.
One 6-pin Hirose connector for power. Refer to section 2.2.2 Power Connector for
details.

Piranha Color Camera User’s Manual 16
DALSA 03-032-10211-01 5/9/2007
!
Camera Link Connector
Camera Link Connector
Power Connector
Note: Refer to the following sections for details on equipment recommendations and
camera connector information.
2.3 Camera LED
The camera is equipped with a red/green LED used to display the operational status of
the camera. The table below summarizes the operating states of the camera and the
corresponding LED states.
When more than one condition is active, the LED indicates the condition with the
highest priority. The fatal error state is accompanied by corresponding messages further
describing the problem.
Table 3: Diagnostic LED
Priority Color of Status LED Meaning
1 Flashing Red Fatal Error. For example, camera temperature is too
high and camera thermal shutdown has occurred.
2 Flashing Green Camera initialization or executing a long command
(e.g., flat field correction commands ccp or ccf).
During this state, any other sent command is ignored.
3 Solid Green Camera is operational and functioning correctly and
ready to receive commands.
2.4 Power Connector
Figure 2: Hirose 6-pin Circular Male—Power Connector
Hirose 6-pin Circular Male
5
4
6
23
1
MatingPart:HIROSE
HR10A-7P-6S
The camera requires a single voltage input (+12 to +15V). The camera meets all
performance specifications using standard switching power supplies, although well-
regulated linear supplies provide optimum performance.
WARNING: When setting up the camera’s power supplies follow these guidelines:
Ensure +12V to +15V at the camera power input (after the voltage drop across the
power cable. This may mean that the power supply will have to provide a voltage
Table 4: Hirose Pin Description
Pin Description Pin Description
1 Min +12 to Max +15V 4 GND
2 Min +12 to Max +15V 5 GND
3 Min +12 to Max +15V 6 GND

Piranha Color Camera User’s Manual 17
DALSA 03-032-10211-01 5/9/2007
greater than the required camera voltage. For example, to achieve +12V at the
camera, the power supply may need to be +12.5V or greater.
Protect the camera with a fast-blow fuse between power supply and camera.
Do not use the shield on a multi-conductor cable for ground.
Keep leads as short as possible to reduce voltage drop.
Use high-quality linear supplies to minimize noise.
Use an isolated type power supply to prevent LVDS common mode range
violation.
Note: Camera performance specifications are not guaranteed if your power supply
does not meet these requirements.
2.5 Camera Link Data Connector
Figure 3: Camera Link MDR26 Connector
MDR26 Female
1
14
13
26
MatingPart
:3M 334-31 series
Cable:
3M 14X26-SZLB-XXX-0LC
**
Input Signals, Camera Link
The camera accepts control inputs through the Camera Link MDR26F connector.
The camera ships in internal sync, internal programmed integration (exposure mode 2).
EXSYNC (Triggers Line Readout)
Line rate can be set internally using the serial interface. The external control signal
EXSYNC is optional and enabled through the serial interface. This camera uses the
falling edge of EXSYNC to trigger pixel readout.
Direction Control
You control the CCD shift direction through the serial interface. With the software
command, scd, you determine whether the direction control is set via software control
or via the Camera Link control signal on CC3.
Output Signals, Camera Link
These signals indicate when data is valid, allowing you to clock the data from the camera
to your acquisition system. These signals are part of the Camera Link configuration and
you should refer to the DALSA Camera Link Implementation Road Map, available at
http://vfm.dalsa.com/, for the standard location of these signals.
Clocking Signal Indicates
LVAL (high) Outputting valid line
DVAL (high) Valid data (unused, tied high)
STROBE (rising edge) Valid data
FVAL (high) Outputting valid frame (unused, tied high)
IMPORTANT:
This camera’s
data should be
sampled on the
rising edge of
STROBE.
i

Piranha Color Camera User’s Manual 18
DALSA 03-032-10211-01 5/9/2007
The camera internally digitizes 12 bits and outputs the 8 MSB or all 12 bits
depending on the camera’s Camera Link operating mode.
2.6 Camera Timing
The Piranha Color camera uses a Base or Medium Camera Link interface.
Base Configuration
A Base Configuration uses 1 MDR26 connector and 1 Channel Link chip. The main
characteristics of the Base Configuration are:
Ports supported: A, B, C
Serializer bit width: 28
Number of chips: 1
Number of MDR26 connectors: 1
Base Configuration
One Channel Link Chip + Camera Control + Serial
Communication
Camera
Connector
Right Angle
Frame Grabber
Channel Link
Signal
1 1 inner shield
14 14 inner shield
2 25 X0-
15 12 X0+
3 24 X1-
16 11 X1+
4 23 X2-
17 10 X2+
5 22 Xclk-
18 9 Xclk+
6 21 X3-
19 8 X3+
7 20 SerTC+
20 7 SerTC-
8 19 SerTFG-
21 6 SerTFG+
9 18 CC1-
22 5 CC1+
10 17 CC2+
23 4 CC2-
11 16 CC3-
24 3 CC3+
12 15 CC4+
25 2 CC4-
13 13 inner shield
26 26 inner shield

Piranha Color Camera User’s Manual 19
DALSA 03-032-10211-01 5/9/2007
Base Configuration Timing
Each pixel output has 8 bits for each of the three colors (red, green, and blue)
Table 5: Base Configuration Video Data
Base Configuration
Connector 1 Maximum SSF8
CLM1Bits2Taps3Lum4Time5Port6A Port B Port C SOT72k60 4k60 2k80 4k80
40 19.0 9.7 19.0 9.75 8 3 No −R
0-7 G
0-7 B
0-7
80 22.7 12.0 32.4 17.7
T0R0-7 B0-7 −9 8 3 Yes
T1G0-7 Y7-0 −
40 19.0 9.7 19.0 9.7
T0R
0-7 B
8-11R8-11 B
0-710 12 3 Yes
T1G
0-7 Y
8-11G8-11 Y
0-7
40 19.0 9.7 19.0 9.7
Notes:
1. CLM: Camera Link Mode
2. Bits: Number of bits per pixel
3. Taps: Number of camera link taps per color
4. Luminance: Indicates whether a fourth tap constructed from the RGB using SCC
command is output
5. Time: Time multiplex interval
6. Port: Camera Link port
7. SOT: Output throughput [mega-pixels / second / color]
8. Maximum SSF: Maximum line rate [kHz] possible in this mode (may be reduced by
SAH, ELS and SRM)
Figure 4: Base Configuration
EXSYNC
TBD
R1
R2
R3
R4
R5
R6
R7
Rn 1Rn
Rn 2
Rn 3
Rn 4
G1
Gn 1Gn
Gn 2
Gn 3
Gn 4
G2
G3
G4
G5
G6
G7
B1
Bn 1Bn
Bn 2
Bn 3
Bn 4
B2
B3
B4
B5 B6 B7
REDData
GREEN Data
BLUE Data
n = Number of pixels per line (2048 or 4096)
Data = 8 -bits/color/pixel
Line and Data Valid
Pixel Clock
40 or 80MHz

Piranha Color Camera User’s Manual 20
DALSA 03-032-10211-01 5/9/2007
Medium Configuration
A Medium Configuration uses 2 MDR26 connectors and 2 Channel Link chips. The
main characteristics of the Base Configuration are:
Ports supported: A, B, C, D, E, F
Serializer bit width: 28
Number of chips: 2
Number of MDR26 connectors: 2
Medium Configuration (Connector 2)
2 Channel Link Chips
Camera
Connector
Right Angle
Frame Grabber
Channel Link
Signal
Cable Name
1 1 inner shield Inner Shield
14 14 inner shield Inner Shield
2 25 Y0- PAIR1-
15 12 Y0+ PAIR1+
3 24 Y1- PAIR2-
16 11 Y1+ PAIR2+
4 23 Y2- PAIR3-
17 10 Y2+ PAIR3+
5 22 Yclk- PAIR4-
18 9 Yclk+ PAIR4+
6 21 Y3- PAIR5-
19 8 Y3+ PAIR5+
7 20 terminated PAIR6+
20 7 terminated PAIR6-
8 19 Z0- PAIR7-
21 6 Z0+ PAIR7+
9 18 Z1- PAIR8-
22 5 Z1+ PAIR8+
10 17 Z2- PAIR9+
23 4 Z2+ PAIR9-
11 16 Zclk- PAIR10-
24 3 Zclk+ PAIR10+
12 15 Z3- PAIR11+
25 2 Z3+ PAIR11-
13 13 inner shield Inner Shield
26 26 inner shield Inner Shield
Notes:
*Exterior Overshield is connected to the shells of the connectors on both ends.
**3M part 14X26-SZLB-XXX-0LC is a complete cable assembly, including connectors.
Unused pairs should be terminated in 100 ohms at both ends of the cable.
Inner shield is connected to signal ground inside camera
This manual suits for next models
3
Table of contents
Other Dalsa IP Camera manuals