Sensor Readout Direction (Mirroring Mode) ................27 3.7 Data Output Setting the Camera Link Mode....................28 Setting the Camera’s Pixel Rate (Throughput) ................28 3.8 Set Color Correction 3.9 Camera Selection Variables 3.10 Exposure Control Overview ..........................31 Setting the Exposure Mode......................31 DALSA 03-032-10211-01 5/9/2007...
Page 4
Returning Camera Settings......................63 4.1 Mechanical Interface 4.1 Optical Interface 5.1 Electrostatic Discharge and the CCD Sensor 5.2 Protecting Against Dust, Oil and Scratches 5.3 Cleaning the Sensor Window 6.1 Troubleshooting 6.2 Specific Solutions ......................76 6.3 Product Support........................78 DALSA 03-032-10211-01 5/9/2007...
Page 5
Piranha Color Camera User’s Manual Appendix A: ASCII Command Reference ASCII Commands: Reference ....................79 A5 Error Handling ........................86 Appendix B: Blue Correction Command Enabling blue correction..........................89 Appendix C: EMC Declaration of Conformity Appendix D: Revision History Index DALSA 03-032-10211-01 5/9/2007...
Page 6
Piranha Color Camera User’s Manual DALSA 03-032-10211-01 5/9/2007...
22.7 (2k60) or 32.3 (2k80) Pixel RGB Throughput up to 80 Gain -10 to +10 Operating Unit -10 dB 0 dB +10 dB Specifications Responsivity 1333 (nJ/cm Dynamic Range Random DN rms Noise DC Offset FPN ECD DN pk to DALSA 03-032-10211-01 5/9/2007...
Page 9
67 x 105 x 76 Mass Connectors power connector data connector Electrical Interface Units Notes Input Voltage Volts +12 to +15 Power Dissipation Operating °C 0 to 50 Temperature (front plate) Data Output Format Bits 8 or 12 DALSA 03-032-10211-01 5/9/2007...
Gain -10 to +10 Operating Unit -10 dB 0 dB +10 dB Specification Responsivity (8 bit) (nJ/cm Responsivity (12 bit) (nJ/cm Dynamic Range Random Noise DC Offset FPN ECD pk to pk FPN ECE pk to pk DALSA 03-032-10211-01 5/9/2007...
Page 11
67 x 105 x 76 Mass Connectors power connector data connector Electrical Interface Units Notes Input Voltage Volts +12 to +15 Power Dissipation Operating °C 0 to 50 Temperature (front plate) Data Output Format Bits Output Data Configuration DALSA 03-032-10211-01 5/9/2007...
The three color lines are 30 µm (4k) separated 30 µm (4k) or 42 µm (2k) apart Red Tap 2 42 µm (2k) Green Tap center to center. 30 µm (4k) 42 µm (2k) Red Tap Green Tap 2 DALSA 03-032-10211-01 5/9/2007...
Piranha Color Camera User’s Manual 1.3 Responsivity Blue Green 1000 1100 Wavelength (nm) 2K sensor spectral responsivity DALSA 03-032-10211-01 5/9/2007...
Page 14
Piranha Color Camera User’s Manual Blue Green 1000 1100 Wavelength (nm) 4K sensor spectral responsivity DALSA 03-032-10211-01 5/9/2007...
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. DALSA 03-032-10211-01 5/9/2007...
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 DALSA 03-032-10211-01 5/9/2007...
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.
One Channel Link Chip + Camera Control + Serial Communication Camera Right Angle Channel Link Connector Frame Grabber Signal inner shield inner shield Xclk- Xclk+ SerTC+ SerTC- SerTFG- SerTFG+ CC1- CC1+ CC2+ CC2- CC3- CC3+ CC4+ CC4- inner shield inner shield DALSA 03-032-10211-01 5/9/2007...
RED Data Gn 4 Gn 2 Gn 1 Gn Gn 3 GREEN Data Bn 2 Bn 1 Bn Bn 4 Bn 3 BLUE Data Data = 8 -bits/color/pixel n = Number of pixels per line (2048 or 4096) DALSA 03-032-10211-01 5/9/2007...
*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 DALSA 03-032-10211-01 5/9/2007...
Page 21
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) CLM 14 Pixels are Interleaved Port Sequence Green Blue Green Blue DALSA 03-032-10211-01 5/9/2007...
Page 22
Rn 4 Rn 3 RED Data Gn 4 Gn 1 Gn Gn 2 Gn 3 GREEN Data Bn 2 Bn 1 Bn Bn 4 Bn 3 BLUE Data n = Number of pixels per line (2048 or 4096) DALSA 03-032-10211-01 5/9/2007...
The following parameter conventions are used in the manual: = integer value = real number = member of a set = string = tap id = pixel column number = pixel row number Example: to return the current camera settings gcp <CR> DALSA 03-032-10211-01 5/9/2007...
100. The cable parameter is a relational value. Increase the value for longer cables, and decrease it for shorter ones. Adjust the value until the test pattern (SVM 1) is clean. DALSA 03-032-10211-01 5/9/2007...
0-1:0-1 get command log get camera model get camera parameters get camera serial get camera version get values get fpn coeff get help get input lut get line 1-2048:1-2048 get line average 1-2048:1-2048 get prnu coeff DALSA 03-032-10211-01 5/9/2007...
Page 26
1-32362 set system gain 0-0:0-65535 set set number set upper threshold 0-4095 set video mode 0-10 update gain reference verify temperature verify voltage write FPN coefficients write input lut write PRNU coefficients write user settings DALSA 03-032-10211-01 5/9/2007...
Sensor Readout Direction (Mirroring Mode) Purpose: Selects the camera’s horizontal readout direction. Syntax: smm i Syntax Elements: Direction of sensor readout 0 = Left to right = 1 to n 1 = Right to left = n to 1 DALSA 03-032-10211-01 5/9/2007...
• To obtain the current data mode, use the command gcp or get clm. • The bit patterns are defined by the DALSA Camera Link Roadmap and the Camera Link Standard. Example: clm 5 Setting the Camera’s Pixel Rate (Throughput)
Setting the Color Variable Purpose: Selects the color or colors that you want to adjust with the ccf, ccg, ccp, cpa, dpc, gfc, gl, gla, gpc, sag, sao, sdo, set, sfc, spc, ssb, ssg commands. Syntax: scl s Syntax Elements: DALSA 03-032-10211-01 5/9/2007...
Page 30
Column start number. Must be less than the pixel end number in a range from 1 to sensor resolution. Column end. Must be greater than the pixel start number in a range from 1 to sensor resolution. DALSA 03-032-10211-01 5/9/2007...
Each color may have a different exposure time. External Internal Each color may have a different exposure time. Internal None All colors share the same exposure time. Note: When setting the camera to external signal modes, EXSYNC and/or PRIN must be supplied. DALSA 03-032-10211-01 5/9/2007...
Piranha Color Camera User’s Manual Exposure Modes in Detail DALSA 03-032-10211-01 5/9/2007...
Page 33
Desired exposure time in µs. Allowable range is 5.0 to 9997.000.0µs. Notes: To read the current exposure time, use the command gcp or get set. The ssf and set commands will "push" each other when set. Related Commands: sem, ssf DALSA 03-032-10211-01 5/9/2007...
As the object travels along the web, the object passes the three color lines at different points in time. As a result, the camera uses spatial correction to reconstruct the image. The Piranha Color sensor uses DALSA’s proprietary design to minimize the center to center spacing to 30 µm (4k) or 42 µm (2k).
Page 35
In the above case, the Line Delay is 3. In general, Inter-array spacing (30 µm or 42 µm) Line Delay = ----------------------------------------------------- Step of encoder (µm) x magnification DALSA 03-032-10211-01 5/9/2007...
ROI will be pushed out to include both averaged pixels at each end (e.g. if the ROI was 4-2048, the start value would be changed to 3, since the first averaged pixel consists of sensor pixels 3 and 4). DALSA 03-032-10211-01 5/9/2007...
3 times the RMS noise value at the current gain. Digital Processing To optimize camera performance, complete all analog adjustments before digital signal adjustments. Fixed pattern noise (FPN) calibration (calculated using the command) is used to subtract away individual pixel dark current. DALSA 03-032-10211-01 5/9/2007...
Sets the color correction coefficients. Syntax: scc Co C1 C2 C3 Syntax Elements: Co = offset (0 to 4095) C1 = red multiplier (-8192 to +8191) C2 = green multiplier (-8192 to +8191) C3 = blue multiplier (-8192 to +8191) DALSA 03-032-10211-01 5/9/2007...
See scl for further information. Gain value in a range from –10 to +10dB. Notes: To return the current analog gain setting, use the command gcp or get sag. DALSA 03-032-10211-01 5/9/2007...
ROI is equal to the specified target value. Algorithm Two Mean Target Before Calibration 3 = This algorithm adjusts digital gain so that the average pixel value in tap’s ROI is equal to the specified target. Note: See Alogrithm Two above for an illustration. DALSA 03-032-10211-01 5/9/2007...
Sets the analog offset. The analog offset should be set so that it is at least 3 times the RMS noise value at the current gain. DALSA configures the analog offset for the noise at the maximum specified gain and as a result you should not need to adjust the analog offset.
The algorithm is performed in two steps. The fixed offset (FPN) is determined first by performing a calibration without any light. This calibration determines exactly how much offset to subtract per pixel in order to obtain flat (zero) output when the CCD is not exposed. DALSA 03-032-10211-01 5/9/2007...
When greater than 6.25% of the pixels from a single row within the region of interest are clipped, then flat field correction results may be inaccurate. Correction results are valid only for the current analog gain and offset values. If you change these values, it is recommended that you recalculate your coefficients. DALSA 03-032-10211-01 5/9/2007...
. If the signal level is too low, increase your light level, adjust the analog gain ( ) or use the automated algorithm ccg i 0 i DALSA recommends a target value of about 80% of saturation. If you change the gain, FPN coefficients should be recalculated. 3. Issue the command . The camera will respond with OK>( if no error occurs).
Page 45
FPN will be observable in dark conditions and an incorrect FPN value will be used during PRNU calibration resulting in incorrect PRNU coefficients. 2 = Calculates the PRNU coefficients using the entered target DALSA 03-032-10211-01 5/9/2007...
Page 46
Example: cpa 1 600 Performing PRNU Calculation to a Camera Calculated Value Purpose: Performs PRNU correction and eliminates the difference in responsivity between the most and least sensitive pixel creating a uniform response to light. Syntax DALSA 03-032-10211-01 5/9/2007...
Page 47
Coefficient value in a range from 0 to 61438 where: prnu coefficient = 4096 Notes: Before sending this command, use the scl command to select the color or colors you want to adjust. This allows you to limit the calibration to a single color. DALSA 03-032-10211-01 5/9/2007...
Page 48
Example: gpc 10 Enabling and Disabling Pixel Coefficients Purpose: Enables and disables FPN and PRNU coefficients. Syntax: epc i i Syntax Elements: FPN coefficients. 0 = FPN coefficients disabled 1 = FPN coefficients enabled PRNU coefficients. DALSA 03-032-10211-01 5/9/2007...
50 DN and a maximum of 200 DN, then to expand it to 0 DN and 255 DN, set the ssb command to 800 (50 x 16), and the ssg command to 6990 (4096 / ((200 – 50) x 16)) x 4096). DALSA 03-032-10211-01 5/9/2007...
Look-Up Table (LUT) has been implemented in the FPGA for each tap immediately after the ADC. The LUT adds a signed value (-256 to +255) indexed by the 10 MSB of the input value. DALSA 03-032-10211-01 5/9/2007...
Page 51
Enables or disables the use of the input look-up tables for the correction of the analog chain non-linearity. Syntax: eil flag Syntax Elements: Disable Enable Notes: Coefficients must be created first with the cil command. Setting saved with the wfs and wus commands. Example: DALSA 03-032-10211-01 5/9/2007...
To load the user settings from non-volatile memory, use the command lus. To write and load the LUTs, use the wil and lil commands, respectively. DALSA 03-032-10211-01 5/9/2007...
Before issuing this command, select the set you wish to load with the SSN command 0 = Factory set 1 to 4 = User sets 5 = Selects transfer from PC Unlike LFS, LUS only restores the settings and not the FPN, PRNU, and LUT. DALSA 03-032-10211-01 5/9/2007...
Page 54
((2 bytes, LSB first) x (1024 values)) x (2 blue taps) 32 bytes reserved 2 byte CRC-16 of previous bytes e.g. PC-30-02k80 would have 1024 words for red tap 1 + 1024 words for red tap 2 + 1024 words for red tap 3 +...
Page 55
Provided so that user can generate their own coefficients to File send to the camera Binary file ((2 bytes, LSB first) x (number of pixels)) x (3 colors – red, green, blue) 32 bytes reserved 2 byte CRC-16 of previous bytes DALSA 03-032-10211-01 5/9/2007...
Page 56
Piranha Color Camera User’s Manual e.g. PC-30-02k80 would have: 2048 words of red + 2048 words of green + 2048 words of blue + 32 unused bytes + 2 byte CRC of the above 2 byte FPN = [IIII][IIII][IIII][FFFF] I – Integer portion {0-4095} F –...
Page 57
Format of PRNU PC Provided so that user can generate their own coefficients to File send to the camera Binary file ((2 bytes, LSB first) x (number of pixels)) x (3 colors – red, green, blue) 32 bytes reserved DALSA 03-032-10211-01 5/9/2007...
Piranha Color Camera User’s Manual 2 byte CRC-16 of previous bytes e.g. PC-30-02k80 would have 2048 words of red + 2048 words of green + 2048 words of blue + 32 unused bytes + 2 byte CRC of the above...
You must first select the color or colors you want to adjust using the scl command. RGB: all outputs R: red output G: green output B: blue output To change just the white (luminance) value, first change all DALSA 03-032-10211-01 5/9/2007...
Page 60
8 pixels of 0x00 followed by 8 pixels of 0xFF on all colors, repeating DC value FPN demo PRNU demo All 4095 (to get FPN) All 2048 (to get PRNU) Notes: Example: svm 1 Examples of the horizontal ramp test pattern (svm 1): PC-30-02K80 DALSA 03-032-10211-01 5/9/2007...
1 to n (sensor resolution), where n = 2048 or 4086. ≤ Notes: If x2 x1 then x2 is forced to be x1. Values returned are in 12-bit DN. Related Commands Example: gl 10 20 DALSA 03-032-10211-01 5/9/2007...
The camera allows you to send the (verify temperature) command while it is in this state. Voltage Measurement The command vv displays the camera’s input voltage. Note that the voltage measurement feature of the camera provides only approximate results (typically within DALSA 03-032-10211-01 5/9/2007...
Returning All Camera Settings with the Camera Parameter Screen The camera parameter (gcp) screen returns all of the camera’s current settings. The table below lists all of the gcp screen settings. To read all current camera settings, use the command: Syntax: DALSA 03-032-10211-01 5/9/2007...
Page 64
SYNC Frequency [Hz]: 10498.7 Exposure Time [uSec]: 95.25 CCD Direction: Internal/Forward Horizontal Averaging: Camera Link Mode: 16, Medium, 1 taps, 12 bits, no time MUX Cable Parameter: Output Throughput: Spatial Alignment Mirroring Mode: 0, left to right DALSA 03-032-10211-01 5/9/2007...
Page 65
Returns the FPN pixel coefficients for the pixel range indicated. x1 = Pixel start number x2= Pixel end number get ccp x1 x2 Returns the PRNU pixel coefficients for the pixel range indicated. x1 = Pixel start number x2= Pixel end number get clm DALSA 03-032-10211-01 5/9/2007...
Page 66
1 to 4 for individual tap selection, depending on camera model. get sag Returns the analog gain in dB for the tap indicated t = Tap value. 0 for all taps or 1 to 4 for individual tap selection. get sah Returns the horizontal averaging factor. DALSA 03-032-10211-01 5/9/2007...
Page 67
Returns the current background subtract value. t = Tap value. 0 for all taps or 1 to 4 for individual tap selection depending on camera model. get ssf Returns the current line rate in Hz. Only available while DALSA 03-032-10211-01 5/9/2007...
Page 68
Returns the camera’s supply voltage. get wfc Returns the current coefficient set number. get wil Returns the current coefficient set number. get wpc Returns the current coefficient set number. get wus Returns the current coefficient set number. DALSA 03-032-10211-01 5/9/2007...
Factors include the nature, speed, and spectral characteristics of objects being imaged, exposure times, light source characteristics, environmental and acquisition system specifics, and more. DALSA’s Web site, http://vfm.dalsa.com/, provides an introduction to this potentially complicated issue. See “Radiometry and Photo Responsivity”...
Page 71
45mm, and requires that 100μm in the object space correspond to each pixel in the image sensor. Using the preceding equation, the object distance must be 450mm (0.450m). 10 µm 45 mm — — OD=450 mm (0.450 m) 100 µm DALSA 03-032-10211-01 5/9/2007...
Page 72
Piranha Color Camera User’s Manual DALSA 03-032-10211-01 5/9/2007...
Oil is usually introduced during handling. Touching the surface of the window barehanded will leave oily residues. Using rubber fingercots and rubber gloves can prevent oil contamination. However, the friction between the rubber and the window DALSA 03-032-10211-01 5/9/2007...
Wipe the window carefully and slowly. When cleaning long linear sensors, it may be easier to wipe along the width (i.e. as opposed to the length) of the sensor. DALSA 03-032-10211-01 5/9/2007...
Verify Voltage To check the camera’s input voltage, use the vv command. The supplied voltage must be within specification. Erratic behavior may occur at low voltages. Voltages will be reduced through the use of lengthy power supple cables. DALSA 03-032-10211-01 5/9/2007...
The dry part of the pad should follow the moistened end. The goal is to prevent solvent from evaporating from the window surface, as this will end up leaving residue and streaking behind. DALSA 03-032-10211-01 5/9/2007...
Page 77
Piranha Color Camera User’s Manual Repeat steps 2-4 using a clean tissue until the entire window has been cleaned. Blow off any adhering fibers or particles using dry, filtered compressed air. DALSA 03-032-10211-01 5/9/2007...
6.3 Product Support If there is a problem with your camera, collect the following data about your application and situation and call your DALSA representative. Note: You may also want to photocopy this page to fax to DALSA. Customer name Organization name...
Selects the CameraLink mode. calculate PRNU i1 i2 Performs PRNU calibration according algorithm to the selected algorithm. i1 = The calibration algorithm: 1 = The algorithm first adjusts each DALSA 03-032-10211-01 5/9/2007...
Page 80
= Tap number: 0 for all. The range is modified by the color selected. a1 = Range start address: 0 to 1023. a2 = Range stop address: 0 to 1023. a1 ≤ a2 display pixel coeffs x1 x2 Displays the pixel coefficients in the DALSA 03-032-10211-01 5/9/2007...
Page 81
= Pixel start number x2 = Pixel end number in a range from 1 to n. Where n = 2048 or 4096. DALSA 03-032-10211-01 5/9/2007...
Page 82
= Value to add set analog gain Sets the analog gain in dB. t = tap selection, either 1 or 4 depending on the color selected, or 0 for all taps. f= gain value specified from –10 to DALSA 03-032-10211-01 5/9/2007...
Page 83
6 = External SYNC, internal exposure time set using SET command 7 = Internal line rate, maximum exposure time. Factory setting. set exposure time Sets the exposure time. Refer to the camera help screen (h command) for DALSA 03-032-10211-01 5/9/2007...
Page 84
60% of maximum line rate 1 = Always clears dark; reduces the maximum line rate 2 = Off set spatial alignment Set line delay between colors. 0 to 6. set subtract background Subtract this value from the output signal. DALSA 03-032-10211-01 5/9/2007...
Page 85
Write current FPN coefficients to non- volatile memory set previously using the ssn command. write input LUT Write current LUT’s to non-volatile memory set previously using the ssn command. write PRNU coeffs Write current PRNU coefficients to DALSA 03-032-10211-01 5/9/2007...
Description Error 01: Internal Where xx is a code list below. error xx> Only output during power up. Customer should contact Dalsa customer support. Error 02: Command is not valid (or not available at the current access level). Unrecognized command>...
WUS. Also present during manufacturing before settings saved for first time. Error 08: Unable to Cannot calibrate a tap that is not part of the end of line statistics. calibrate - tap outside ROI> DALSA 03-032-10211-01 5/9/2007...
Appendix B: Blue Correction Command Note: This command applies to the PC-30-0xK80 cameras only. The 80 mega-pixel camera models (PC-30-02K80 and PC-30-04K80) show an artifact at the mid-point of the blue taps. The blue correction command enables replacing these pixels with interpolated values.
Page 90
Piranha Color Camera User’s Manual DALSA 03-032-10211-01 5/9/2007...
Page 91
73/23/EEC and the EMC Directive 89/336/EEC and carries the CE mark accordingly. Place of Issue Waterloo, ON, CANADA Date of Issue xxxxx 2006 Name and Signature of Hank Helmond authorized person Quality Manager, DALSA Corp. This Declaration corresponds to EN 45 014. DALSA 03-032-10211-01 5/9/2007...
Page 92
Piranha Color Camera User’s Manual DALSA 03-032-10211-01 5/9/2007...
Page 93
-Set Binning Horizontal (sbh) command replaced with Set Averaging Horizontal (sah) command. Horizontal average replaces horizontal binning. -Added Warning 09: Changing this parameter (e.g. vertical binning) has changed read out time and that is greater than the internal SYNC, to table 10: Warnings and Errors. DALSA 03-032-10211-01 5/9/2007...
Page 94
Piranha Color Camera User’s Manual DALSA 03-032-10211-01 5/9/2007...