background image

 

 

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  

 

Summary of Contents for PC-30-02K60

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: ...ductor 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 ...

Page 3: ...als 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 Li...

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

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

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

Page 7: ...nalog 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 reso...

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

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 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 Un...

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 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 ...

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

Page 12: ...8 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 Red Tap 1 Blue Tap 1 Green Tap 2 Green Tap 1 30 µm 4k 42 µm 2k 30 µm 4k 42 µm 2k The three color line...

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

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

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 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 ...

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 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 2 3 1 Mating Part HIRO S...

Page 17: ...ernal 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 s...

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

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

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

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 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 CLM 14 Pixels ...

Page 22: ...Data 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 Figure 6 Medium Configuration 12 Bits Color Pixel EXSYNC TBD R1 R2 R3 R4 R5 R6 R7 Rn 1 Rn Rn 2 Rn 3 Rn 4 G1 Gn 1 Gn Gn 2 Gn 3 Gn 4 G2 G3 G4 G5 G6 G7 B1 Bn 1 Bn Bn 2 Bn 3 Bn 4 B2 B3 B4 B5 B6 B7 RED Dat...

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 camera will answer each command with either CR LF OK or CR LF Error xx Error Message or Warning xx Warning Message The character is always the last character sent by the camera The following parameter co...

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 are 9600 Default 19200 57600 and 115200 Notes Power on rate is always 9600 baud The rc reset camera command will not reset the camera to the power on baud rate and will reboot using the last used bau...

Page 25: ...nt 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 operating mode The help screen displays NA in this case The following help screen listing are for a 2k camera ccf correction calibrate fpn ccg calibrate camera gain iti 1 4 0 0 1024 4055 ccp correctio...

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 range xxi NA sil set input lut tai NA slt set lower threshold i 0 4095 smm set mirroring mode i 0 1 sot set output throughput m 30 40 60 80 spc set prnu coeff xi NA spr set prnu range xxi NA srm set ...

Page 27: ...CCD 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 Commands smm Example scd 0 Direction of Object Movement Camera should operate in Reverse CCD Shift Direction scd 1 Direction of Object Movement Camera should operate in Forward CCD Shift Direction sc...

Page 28: ...m 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 conjunction with the clm command see previous command and determines the pixel rate of the camera Syntax sot m Syntax Elements m 30 outputs pixels RGB triplet or RGBY quad at 32 Mps 40 outputs pixels ...

Page 29: ...valent 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 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 There are some camera condition variables that you should...

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 settings with these sets Note The camera powers up with the last set saved using this command Related Commands wus lus wil lil wfc lfc Example ssn 3 Setting a Region of Interest ROI Purpose Sets the pixel r...

Page 31: ...posure 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 for a quick list of available modes or to the following sections for a more detailed explanation To obtain the current value of the exposure mode use the command gcp or get sem Related Commands ssf ...

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

Page 33: ...ency 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 set Example ssf 10000 Setting the Exposure Time Purpose Sets the camera s exposure time in micro seconds Camera must be operating in mode 2 or 6 Syntax set f Syntax Elements f Desired exposure time in...

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 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 Direction of object movement The Piranha...

Page 35: ...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 the view of line of Red channel to that of Green channel is 3 steps i e 3 steps x 0 1 mm step x 1 10 magnification 30 µm movement of the image on the sensor There are 3 more steps to move the image of obje...

Page 36: ...et 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 in adjacent pixels is averaged together Syntax sah i Syntax Elements i The number of horizontal pixels to average Available values are 1 factory setting and 2 Notes Selecting sah 1 results in no aver...

Page 37: ...ficients 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 Optimizing offset performance and gain in the analog domain allows you to achieve a better signal to noise ratio and dynamic range use Perform all analog adjustments prior to any digital adjustments Analog ga...

Page 38: ...r 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 ensure a minimum output value and is added to the digital video after the system gain is applied The Effects of the Processing Chain on Calibration The Processing Chain as shown in Figure 7 Video out ...

Page 39: ...0 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 performing any analog or digital adjustments 3 14 Analog Gain and Analog Offset All analog signal processing chain commands should be performed prior to FPN and PRNU calibration and prior to digital signa...

Page 40: ...tax 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 Target Before Calibration Algorithm One 2 This algorithm adjusts analog gain so that the average pixel value in tap s ROI is equal to the specified target value Algorithm Two Mean Target Before Calibrati...

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 the digital processing to have any effect on the camera gain calibration then turn off all digital settings by sending the commands sdo 0 0 epc 0 0 ssb 0 0 ssg 0 4096 and sab 0 0 Example ccg 2 0 3040 R...

Page 42: ...PN 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 LUT addition Voutput Vinput FPN pixel digital offset PRNU pixel Background Subtract x System Gain Background Addition where Voutput digital output pixel value Vinput digital input pixel value from th...

Page 43: ...nt 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 results ensure that 50 or 60 Hz ambient light flicker is sufficiently low so as not to affect camera performance and calibration results The analog gain should be adjusted for the expected operating cond...

Page 44: ...r 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 coefficients should be recalculated 3 Issue the command The camera will respond with OK if no error occurs 4 After the calculation is complete you can save these settings to non volatile memory so they ...

Page 45: ...he 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 creating a uniform response to light Using this command you must provide a calibration target Syntax cpa i1 i2 Syntax Elements i1 PRNU calibration algorithm to use 1 This algorithm first adjusts each tap...

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 incorrect FPN value will be used during PRNU calibration resulting in incorrect PRNU coefficients This algorithm is more robust and repeatable than algorithm 1 because it uses an average pixel value ...

Page 47: ...c 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 or 4096 depending on the resolution i2 Coefficient value in a range from 0 to 61438 where Notes Before sending this command use the scl command to select the color you want to adjust Example spc 1024 ...

Page 48: ...imited 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 in a range from 1 to sensor pixel count Notes Before sending this command use the scl command to select the color you want to adjust Example gfc 10 Returning PRNU Coefficients Purpose Returns a pixel ...

Page 49: ...ubtracting 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 8 bit data but want to take advantage of the camera s 12 bit digital processing chain You should try to make your darkest pixel in the scene equal to zero Syntax ssb t i Syntax Elements t Tap select...

Page 50: ...mand 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 is applied Syntax sab t i Syntax Elements t Tap selection 0 for all taps Color selection limits the taps that may be selected See the scl command for details i Background add values The range is fro...

Page 51: ...ine 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 select which colored taps to calibrate Use the roi command to limit the taps calibrated and to limit which pixels are used for calibration If a tap is not in the region of interest then it will not be cal...

Page 52: ...ich 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 memory using the following commands Pixel coefficients and LUTS are stored separately from other data To save all current user settings to Flash use the command wus The camera will automatically resto...

Page 53: ...PROM 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 using the lus command The last saved set excluding PC sets of settings will be restored automatically after the power is cycled or after the rc command this includes loading the LUT FPN and PRNU with the...

Page 54: ...bytes 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 words for red tap 2 1024 words for red tap 3 1024 words for red tap 4 1024 words for green tap 1 1024 words for green tap 2 1024 words for green tap 3 1024 words for green tap 4 1024 words for blue tap ...

Page 55: ...e 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 a PC file Syntax wfc Syntax Elements Example wfc Notes Before issuing this command select the set you wish to write with the SSN command 0 Factory set 1 to 4 User sets FPN pixel coefficients are load...

Page 56: ...9e 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 0xff9f 0xefbe 0xdfdd 0xcffc 0xbf1b 0xaf3a 0x9f59 0x8f78 0x9188 0x81a9 0xb1ca 0xa1eb 0xd10c 0xc12d 0xf14e 0xe16f 0x1080 0x00a1 0x30c2 0x20e3 0x5004 0x4025 0x7046 0x6067 0x83b9 0x9398 0xa3fb 0xb3da 0xc33...

Page 57: ...C 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 Syntax Elements Example wpc Notes Before issuing this command select the set you wish to write with the SSN command 0 Factory set 1 to 4 User sets PRNU coefficients will be loaded by LPC LFS and auto...

Page 58: ...memory 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 PC PRNU coefficients are only loaded from non volatile memory on power up LPC and LFS They are not loaded by LUS Related Commands wpc 3 19 Diagnostics End of line Sequence Purpose Produces an end of...

Page 59: ...ixels 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 maximize scene contrast This provides a basis for automatic gain control AGC 13 Differential line sum 7 0 14 Differential line sum 15 8 15 Differential line sum 23 16 16 Differential line sum 31 24 Use...

Page 60: ...e 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 Generates a test pattern to aid in system debugging The test patterns are useful for verifying camera timing and connections The following tables show each available test pattern Syntax svm i Syntax E...

Page 61: ...ave 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 Interest ROI Use the gl command or the following gla command to ensure the proper video input range into the processing chain before executing any pixel calibration commands Syntax gl x1 x2 Syntax Element...

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 Syntax Elements m Number of lines to sample Allowable values are 1024 2048 or 4096 Notes To return the current setting use the gcp command or get css Related Commands gla ccf ccp cpa Temperature Meas...

Page 63: ...d 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 camera is operating correctly 5 flashing green camera is performing a function 6 flashing red fatal error Notes Refer to section 2 3 Camera LED for more information on the camera LED Returning Camer...

Page 64: ...Set 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 4095 Blue 4095 Lower Threshold White 0 Red 0 Green 0 Blue 0 Readout Mode Off Exposure Mode 7 SYNC Frequency Hz 10498 7 Exposure Time uSec 95 25 CCD Direction Internal Forward Horizontal Averaging 1 C...

Page 65: ...96 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 front of the command that you want to query If the command has a tap or pixel number parameter you must also insert the tap number or pixel number that you want to query This command returns the values...

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 color is selected get gl x1 x2 Returns pixel values for the pixel range specified get gla x1 x2 Returns the average of the pixel range indicated get gpc x Returns the PRNU pixel coefficient for the pi...

Page 67: ...xposure 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 the range 1 to n where n 2048 or 4096 depending on the resolution get sfr x1 x2 Returns pixel range of FPN coefficients x1 x2 get sil t a Returns single LUT entry Only available when a single color...

Page 68: ...gonal 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 Returns the gain reference value t tap selection 1 to 4 depending on camera model or 0 for all taps get vt Returns the camera s internal chip temperature in degrees Celsius get vv Returns the camera s supp...

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 GREEN CHANNEL RED CHANNEL 64 00 2X 78 0 2X 3 5 2X 42 5 05 SEE DETAIL A 23 66 05 2K 17 52 05 4K 14 6 46 81 2X 19 1 2X 46 8 2X 85 0 10 0 6 56 25 OPTICAL 32 8 2X 76 0 16 0 37 6 22 8 22 9 39 1 38 0 7 5 61 0...

Page 70: ...ed 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 light source may produce progressively less light in some areas of the spectrum but not others Filters CCD cameras are extremely responsive to infrared IR wavelengths of light To prevent infrared fr...

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 their most useful form h h f OD This is the governing equation for many object and image plane parameters Example An acquisition system has a 512 x 512 element 10µm pixel pitch area scan camera a lens w...

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 over 24 hours 5 2 Protecting Against Dust Oil and Scratches The CCD window is part of the optical path and should be handled like other optical components with extreme care Dust can obscure pixels produ...

Page 74: ...ation 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 window If further cleaning is required use a lens wiper moistened with alcohol or acetone We recommend using lint free ESD safe cloth wipers that do not contain particles that can scratch the window The ...

Page 75: ...ger 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 presence of all voltages at the camera power connector Verify that all grounds are connected EXSYNC When the camera is received from the factory it defaults no external input required to exposure mode 7...

Page 76: ...amera 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 result in horizontal lines due to exposure time fluctuations ensure that your exposure time is regular If you have verified that your exposure time is consistent and patterns of low frequency intens...

Page 77: ...or 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 compressed air ...

Page 78: ...sed 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 Please attach text received from the camera when the gcp command is run gcl log Please attach text received from the camera in response to the gcl command This is a log of the last 50 commands and the cam...

Page 79: ...I 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 gain so that the peak tap ROI pixels are adjusted to the specified target t Tap value Use 0 for all taps or 1 or 4 for individual tap selection depending on the color selected using the scl command i ...

Page 80: ...d 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 pixels but warnings only apply to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras 4 This algorithm is the same as 2 with the exception that...

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 serial gcs Displays the camera serial number get camera version gcv Displays the camera s firmware versions get values get s Displays the current value of the parameter s set by the command s get fp...

Page 82: ...input 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 by the ssn command load user settings lus Load the camera user settings from non volatile memory Modified by the ssn command reset camera rc Resets the entire camera reboot Baud rate is not reset and...

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 are divided by 4096 to get the actual factor set ccd direction scd i Sets the CCD shift direction where 0 Forward CCD shift direction 1 Reverse CCD shift direction 2 Externally controlled direction co...

Page 84: ...the 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 per color Valid values are 30 40 60 or 80 mega pixels per second per color set prnu coeff spc x i Set a PRNU coefficient First must select a single color with SCL x pixel number within the range 1 to n...

Page 85: ...r 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 Horizontal ramp 2 Diagonal ramp 3 Vertical ramp 4 N A A5 pattern 5 N A Data transmission 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 FPN offse...

Page 86: ...ent 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 longer than line time automatically adjusts the line time to meet the exposure time requirement Warning 07 Coefficient may be inaccurate A D clipping has occurred In the region of interest ROI greater th...

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 not saved Indicates that user settings have been corrupted by turning off the power while executing the WUS command Must build up new settings from factory and re save with WUS Also present during m...

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

Page 89: ...lue 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 G1 G2 G3 G4 B2 G2 B1 G1 B4 G4 2 B3 G3 B1 G1 B4 G4 2 if B 0 B B1 B4 2 if B 4095 B 4095 This value is saved with the WUS command This value may be viewed on the GCP screen or with the GET EBC command ...

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

Page 91: ...uct 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 carries the CE mark accordingly Place of Issue Waterloo ON CANADA Date of Issue xxxxx 2006 Name and Signature of authorized person Hank Helmond Quality Manager DALSA Corp This Declaration corresponds t...

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 04k60 Blue correction enable command and algorithm added Revised and added information to the Generating a Test Pattern section page 60 Example test patterns added Set Binning Horizontal sbh command re...

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

Page 95: ...patches 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 blue correction 89 end of line sequence 58 error messages 86 exposure mode overview 31 setting 31 exposure time setting 33 EXSYNC 17 troubleshooting 75 external trigger 17 F fiber optic light sources ...

Page 96: ...put 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 factory settings 52 revision history 93 roi See Region of Interest S sensor 12 cleaning 73 settings factory 24 restoring 52 returning 63 65 saving 52 specifications electrical 9 11 mechanical 9 11 optica...

Reviews: