background image

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. 

 

Summary of Contents for PC-30-02K80

Page 1: ...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...

Page 2: ...uctor 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...

Page 3: ...ls 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 Re...

Page 4: ...ction 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...

Page 5: ...211 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 C...

Page 6: ...Piranha Color Camera User s Manual 6 DALSA 03 032 10211 01 5 9 2007...

Page 7: ...alog 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 inspec...

Page 8: ...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 Speci...

Page 9: ...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...

Page 10: ...e 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 A...

Page 11: ...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 Mecha...

Page 12: ...048 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...

Page 13: ...or 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 r...

Page 14: ...anha 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 responsivi...

Page 15: ...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...

Page 16: ...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 i...

Page 17: ...rnal 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 t...

Page 18: ...p 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 Co...

Page 19: ...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 com...

Page 20: ...ield 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...

Page 21: ...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...

Page 22: ...ata 1 BLUE Data 1 GREEN Data 2 GREEN Data 1 G2 Gn 2 Gn Gn 4 Gn 6 Gn 8 G4 G6 G8 G10 G12 G14 RED Data 2 B2 Bn 2 Bn Bn 4 Bn 6 Bn 8 B4 B6 B8 B10 B12 B14 R2 R4 R6 R8 R10 R12 R14 Rn 2 Rn Rn 4 Rn 6 Rn 8 B9 F...

Page 23: ...8 data bits 1 stop bit No parity No flow control 9 6kbps at power up Camera does not echo characters Command Format When entering commands remember that A carriage return CR ends each command The came...

Page 24: ...reboot Previously saved pixel coefficients are also restored 3 3 Baud Rate Purpose Sets the speed in bps of the serial communication port Syntax sbr m Syntax Elements m Baud rate Available baud rates...

Page 25: ...t camera operating conditions you may not be able to obtain these values If this occurs values are clipped and the camera returns a warning message Some commands may not be available in your current o...

Page 26: ...scd set ccd direction i 0 2 scl set colour m rgb r g b sdo set digital offset ti 0 0 0 4095 sem set exposure mode m 2 3 4 5 6 7 sem set exposure mode m 2 3 4 5 6 7 sfc set fpn coeff xi NA sfr set fpn...

Page 27: ...CD shift direction 2 External direction control via Camera Link control CC3 CC3 1 forward CC3 0 reverse Notes To obtain the current value of the shift direction use the command gcp or get scd Related...

Page 28: ...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 Purpose In DALSA cameras the sot command works in c...

Page 29: ...alent to floating point coefficients of 2 0 to 1 999 Step size is 0 000244 Values are saved with camera settings Values may be viewed with GCP or GET SCC Example White 100 0 25 x Red 0 15 x Green 0 8...

Page 30: ...is saved along with the camera settings when the wus command is issued Syntax ssn i Syntax Elements i 0 Factory set Settings can only be loaded from this set 1 4 User sets You can save or load setting...

Page 31: ...osure mode allowing you to control your sync exposure time and line rate generation Syntax sem i Syntax Elements i Exposure mode to use Factory setting is 2 Notes Refer to Table 6 Color Exposure Modes...

Page 32: ...Piranha Color Camera User s Manual 32 DALSA 03 032 10211 01 5 9 2007 Exposure Modes in Detail...

Page 33: ...ncy an error message is returned Line rate reduces depending on clm sut els and sah settings Values less than 5000 Hz will return the warning Warning 01 Outside of specification Related Commands sem s...

Page 34: ...ts As a result the color images need to be stored delayed and recombined to properly reconstruct the color image This is referred to as spatial correction Blue Green Red Sensor Object As the object tr...

Page 35: ...e a step of 0 1 mm in the movement of the web i e the image on the sensor will move 10 m for each step of the encoder The image is line captured at each step of the encoder The moving object A from th...

Page 36: ...t the line delay Example ssa 3 3 12 Averaging Horizontal Pixels Setting the Averaging Horizontal Purpose Averaging reduces the pixel noise and decreases the horizontal resolution The charge collected...

Page 37: ...icients background subtract digital system gain sag ccg sao ccf sdo ccp cpa ssb ssg background addition digital video sab background addition digital video eil LUT addition Analog Processing Optimizin...

Page 38: ...image is consistently between 128 and 255DN 8 bit you can subtract off 128 ssb 2048 and then multiply by 2 ssg 0 8192 to get an output range from 0 to 255 Background addition sab command is used to e...

Page 39: ...8 x Blue Therefore C1 0 25 x 4096 1024 C2 0 15 x 4096 614 C3 0 8 x 4096 3276 OK scl RGB OK scc 100 1024 614 3276 3 9 Camera Selection Variables for details on commands that should be set before perfo...

Page 40: ...ax ccg i t i Syntax Elements i Calibration algorithm to use 1 This algorithm adjusts analog gain so that 8 to 13 of tap region of interest ROI pixels are above the specified target value 10 Above Targ...

Page 41: ...average gain of the taps that are within the ROI Perform analog gain algorithms before performing FPN and PRNU calibration All digital settings affect the analog gain calibration If you do not want th...

Page 42: ...N coefficients digital offset PRNU coefficients background subtract digital system gain sag ccg sao ccf sdo ccp cpa ssb ssg background addition digital video sab background addition digital video eil...

Page 43: ...t for proper calibration White paper is often not sufficient because the grain in the white paper will distort the correction White plastic or white ceramic will lead to better balancing For best resu...

Page 44: ...If the signal level is too low increase your light level adjust the analog gain or use the automated algorithm DALSA recommends a target value of about 80 of saturation If you change the gain FPN coe...

Page 45: ...e last Example sfr 1 100 80 PRNU Calculation Performing PRNU to a user entered value Purpose Calculate the PRNU coefficients to eliminate the difference in responsivity between the pixels thereby crea...

Page 46: ...FPN coefficients are set to zero Since this algorithm adjusts the analog gain it also affects FPN If FPN is calibrated prior to running this algorithm FPN will be observable in dark conditions and an...

Page 47: ...command Related Commands ccf cpa Setting a Pixel s PRNU Coefficient Purpose Sets an individual pixel s PRNU coefficient Syntax spc i1 i2 Syntax Elements i1 The pixel number from 1 to n where n 2048 o...

Page 48: ...mited by the scl color selection Example dpc 10 20 Returning FPN Coefficients Purpose Returns a pixel s FPN coefficient value in DN 12 bit LSB Syntax gfc i Syntax Elements i The pixel number to read i...

Page 49: ...btracting Background Purpose Use the background subtract command after performing a flat field correction in order to improve your image in a low contrast scene This is useful for systems that process...

Page 50: ...and Related Commands ssb Example ssg 1 15 Setting Add Background Purpose Use the set add background command to ensure a minimum output value by adding this value to the digital video after system gain...

Page 51: ...ne rate average output is greater than 3 685 DN 12 bit In addition Use the wil command to write the LUT to non volatile memory Use the eil command to enable use of the LUT Use the scl command to selec...

Page 52: ...ch has been set equal to the factory settings You can restore the original factory settings at any time using the command lfs User Settings You can save or restore your user settings to non volatile m...

Page 53: ...ROM Syntax wus Syntax Elements Example wus Notes Before issuing this command select the set you wish to write with the ssn command Set 1 4 are user sets The settings can be manually restored with usin...

Page 54: ...ytes LSB first x 1024 values x 4 green taps 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 wor...

Page 55: ...memory on power up LIL and LFS They are not loaded by LUS Related Commands wil Write FPN Coefficients Purpose Saves current values of FPN pixel coefficients that are in FPGA SDRAM to Flash memory or...

Page 56: ...e 0x9b79 0x8b58 0xbb3b 0xab1a 0x6ca6 0x7c87 0x4ce4 0x5cc5 0x2c22 0x3c03 0x0c60 0x1c41 0xedae 0xfd8f 0xcdec 0xddcd 0xad2a 0xbd0b 0x8d68 0x9d49 0x7e97 0x6eb6 0x5ed5 0x4ef4 0x3e13 0x2e32 0x1e51 0x0e70 0x...

Page 57: ...and LFS They are not loaded by LUS Related Commands wfc Write PRNU Coefficients Purpose Saves current values of PRNU pixel coefficients that are in FPGA SDRAM to Flash memory or a PC file Syntax wpc...

Page 58: ...emory to FPGA SDRAM Syntax lpc Syntax Elements Example lpc Notes 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...

Page 59: ...xels above threshold 15 8 11 Pixels below threshold 7 0 12 Pixels below threshold 15 8 Monitor these values either above or below threshold and adjust camera digital gain and background subtract to ma...

Page 60: ...output R single color output G single color output B single color output LVAL is not high during the end of line statistics Related Commands els sut Example slt 1024 Generating Test Pattern Purpose G...

Page 61: ...ve been displayed it also displays the minimum maximum and mean value of the line sampled within the region of interest the region of interest command is explained in section Setting a Region of Inter...

Page 62: ...Commands css roi Example gla 10 20 Setting the Number of Lines to Sample Purpose Sets the number of lines to sample when using the gla command or when performing FPN and PRNU calibration Syntax css m...

Page 63: ...PR Note Accuracy 271 ns Reliable up to 40 000 H Example gsf 1 Returning the LED Status Purpose Returns the status of the camera s LED Syntax gsl The camera returns one of the following values 2 green...

Page 64: ...et Number Last FPN 3 Set Number Last PRNU 3 Color RGB Video Mode Normal video Region Of Interest 1 to 2048 End Of Line Sequence 1 Number Of Line Samples 1024 Upper Threshold White 4095 Red 4095 Green...

Page 65: ...6 4096 4096 4096 Blue 4096 4096 Background Add Red 0 0 0 0 Green 0 0 0 0 Blue 0 0 OK Returning Camera Settings with Get Commands You can also return individual camera settings by inserting a get in fr...

Page 66: ...model number get gcs Returns the camera s serial number get gcv Returns the camera s software version get gfc x Returns the FPN pixel coefficient for the pixel indicated Only available when a single c...

Page 67: ...posure time 7 Internal programmable SYNC maximum exposure time get set Returns the current exposure time in s get sfc x Returns the FPN coefficient for the pixel number indicated x pixel number within...

Page 68: ...onal ramp 3 Vertical ramp 4 n a 5 n a 6 DC value 7 FPN demo 8 PRNU demo 9 All 4095 to get FPN 10 All 2048 to get PRNU 11 Power toggle 12 All 320 to FPN offset 13 All zeros 14 All ones get ugr t Return...

Page 69: ...DEEP 4X PIXEL 1 M3x0 5 5 0 DEEP 2X 1 4 20 UNC 9 0 DEEP F MOUNT CONFIGURATION M72 MOUNT CONFIGURATION RECOMMENDEDAIR FLOW TOP AND BOTTOM IMAGE CENTER M3x0 5 X 5 0 DEEP 4X DETAILA 42 50 BLUE CHANNEL GRE...

Page 70: ...d light IR Fiber optic light distribution systems generally transmit very little blue relative to IR Some light sources age over their life span they produce less light This aging may not be uniform a...

Page 71: ...the image height pixel size and h is the object height desired object resolution size By similar triangles the magnification is alternatively given by m f OD These equations can be combined to give th...

Page 72: ...Piranha Color Camera User s Manual 72 DALSA 03 032 10211 01 5 9 2007...

Page 73: ...Charge buildup will affect the camera s flat field correction calibration To avoid an erroneous calibration ensure that you perform flat field correction only after a charge buildup has dissipated ove...

Page 74: ...tion of these pixels changes with the angle of illumination 5 3 Cleaning the Sensor Window Use compressed air to blow off loose particles This step alone is usually sufficient to clean the sensor wind...

Page 75: ...er than 10m Use the scb command to select the correct cable parameter for the cable length Equipment Requirements Ensure that you are using compatible equipment Power Supply Voltages Check for the pre...

Page 76: ...mera does not exceed the camera s useable line rate under the current operating conditions and that it is free from noise Horizontal Lines or Patterns in Image A faulty or irregular encoder signal may...

Page 77: ...r Camera User s Manual 77 DALSA 03 032 10211 01 5 9 2007 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 com...

Page 78: ...ed in your application and their frequency or state if applicable EXSYNC Camera Link Other _______ Voltage reported by the vv command and voltage range reported by the vvRange command gcp screen Pleas...

Page 79: ...is equal to the specified target value 3 This algorithm adjusts digital system gain so that the average pixel value in tap s ROI is equal to the specified target 4 This algorithm adjusts the analog g...

Page 80: ...target value It then calculates the PRNU coefficients using the target value as shown below PRNU Coefficient Target AVG Pixel Value FPN value sdo i i i The calculation is performed for all sensor pix...

Page 81: ...log gcl Displays the last 50 commands and the camera s response to them get camera model gcm Displays the camera model number get camera parameters gcp Displays all of the camera parameters get camera...

Page 82: ...nput LUT lil Load input LUT s from non volatile memory to current Modified by the ssn command load pixel coefficients lpc Load the previously saved PRNU coefficients from non volatile memory Modified...

Page 83: ...output streams Use SCL to select the color RGB for luminance to modify i1 Offset 0 to 4095 i2 Red multiplier 8192 to 8191 i3 Green multiplier 8192 to 8191 i4 Blue multiplier 8192 to 8191 Multipliers a...

Page 84: ...he end of line sequence i Threshold in a range from 0 4095 set mirroring mode smm i Set mirroring mode 0 Left to right 1 Right to left set output throughput sot m Sets the camera s total throughput pe...

Page 85: ...than the upper threshold are counted and reported in the end of line sequence i Threshold 0 4095 set video mode svm i Switch between normal video mode and camera test patterns 0 Normal video 1 Horizo...

Page 86: ...nt operating range Use GCP or GET to see value used Warning 04 Related parameters adjusted Internal operating condition is adjusted to accommodate the entered command E g requesting exposure time long...

Page 87: ...this mode E g Set sync frequency ssf when in external sync mode 3 sem Error 06 Timeout Command not completed in time E g CCF or CCP in SEM 3 when no external EXSYNC is present Error 07 Camera settings...

Page 88: ...Piranha Color Camera User s Manual 88 DALSA 03 032 10211 01 5 9 2007...

Page 89: ...ue Tap PC 30 02K80 516 517 519 520 1536 1537 1539 1540 PC 30 04K80 1025 1026 1028 1029 3067 3068 3070 3071 The interpolation equation is as follows and includes green pixel data Blue B1 B2 B3 B4 Green...

Page 90: ...Piranha Color Camera User s Manual 90 DALSA 03 032 10211 01 5 9 2007...

Page 91: ...ct s xx xx xxxxx xx xx xxxxx fulfill s the requirements of the standard s EMC This product complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC and ca...

Page 92: ...Piranha Color Camera User s Manual 92 DALSA 03 032 10211 01 5 9 2007...

Page 93: ...current cameras Extensive updates throughout manual Manual remains preliminary Base and medium configuration timing tables updated Product name revised from PC 30 02k40 and 04k40 to PC 30 02k60 and 04...

Page 94: ...Piranha Color Camera User s Manual 94 DALSA 03 032 10211 01 5 9 2007...

Page 95: ...atches 76 data bus 17 data rate 8 10 digital gain 50 51 offset 49 processing 37 direction externally controlled 27 28 DVAL 17 E electrical specifications 9 11 EMC Declaration of Conformity 91 enable b...

Page 96: ...ut signals 17 P performance specifications 8 10 pixel statistics 61 power connectors 16 guidelines 16 PRNU coefficient 47 correction 46 product support 78 R rebooting 24 resolution 8 10 restoring fact...

Reviews: