Home
Piranha3
Contents
1. Upper threshold limit in range from 0 to 4095 Purpose sequence Syntax sut i Syntax Elements i Notes Related Commands e els slt Example sut 1024 Setting a Lower Threshold LVAL is not high during the end of line statistics Sets the lower threshold limit to report in the end of line Upper threshold limit in range from 0 to 4095 Purpose sequence Syntax slt i Syntax Elements i Notes Related Commands e els sut Example slt 1024 LVAL is not high during the end of line statistics 03 032 10216 01 52 Piranha 3 User Manual 3 5 Saving and Restoring Settings 03 032 10216 01 Figure 17 Saving and Restoring Overview User Settings Factory Settings rfs lpc O wus wpc wfc Current Factory Settings On first initialization the camera operates using the factory settings You can restore the original factory settings at any time using the command rfs User Settings You can save or restore your user settings to non volatile memory using the following commands Pixel coefficients are stored separately from other data e To save all current user settings to EEPROM use the command wus The camera will automatically restore the saved user settings when powered up Note While settings are being written to nonvolatile memory do not power down camera or camera memory may be corrupted To restore the last saved user settings use the command rus sa
2. set lower threshold set output throughput set prnu coeff set prnu range set pretrigger set subtract background set sync frequency Set system gain set upper threshold Set video mode update gain reference verify temperature verify voltage write FPN coefficients write PRNU coefficients write user settings iti ii xx 25 0 8 0 255 1 4 0 8 1024 4055 15 16 21 1 4 1024 4055 256 512 1024 1 12288 1 12288 0 1 0 1 0 1 1 12288 1 12288 1 12288 1 12288 1 12288 1 12288 1 4 1 12288 1 1 1 12288 1 1 0 8 10 0 10 0 0 8 0 255 9600 19200 57600 115200 0 8 0 2048 2 3 4 5 6 7 8 3 3330 uSec 1 12288 0 2048 1 8192 1 8192 0 2048 0 4095 320 1 12288 0 28671 1 8192 1 8192 0 28671 0 16 0 8 0 4095 300 23619 0 8 0 65535 0 4095 0 2 03 032 10216 01 3 1Command Categories Piranha 3 User Manual The following diagram categorizes and lists all of the camera s commands This chapter is organized by command category Figure 8 Command Categories Other Introduction Help b Set Baud Rate sbr Sensor Output Format Section 3 2 Set Exposure Mode sem Set Frame Line Rate ss Set Exposure Time set Camera Output Format Section 3 3 Camera Link Mode c 1m Camera Throughput sot Generate a Test Pattern svm Set Upper Threshold sut Set Lower Threshold s1t End of Line Sequence els Set Pretrigger spt Data Processing Secti
3. 2 1 2 Description Returns the analog offset for the tap indicated t tap selection either 1 to 8 or 0 for all taps Returns the FPN pixel coefficients for the pixel range indicated 1 Pixel start number x2 Pixel end number Returns the PRNU pixel coefficients for the pixel range indicated 1 Pixel start number x2 Pixel end number Returns the current Camera Link mode Returns the number of line samples averaged for pixel coefficient calculations or for output of gla command Returns whether the end of line statistics are turned off or on 0 Off 1 On Returns whether pixel coefficients are enabled or disabled The first parameter returns the FPN coefficients setting where 0 FPN coefficients disabled 1 FPN coefficients enabled The second parameter returns the PRNU coefficients setting where 0 PRNU coefficients disabled 1 PRNU coefficients enabled Returns the camera s model number Returns the camera s serial number Returns the camera s software version Returns the FPN pixel coefficient for the pixel indicated Returns pixel values for the pixel range specified Returns the average of the pixel range indicated Returns the frequency of the Camera Link control signal indicated either 1 2 3 or 4 DALSA Piranha 3 User Manual s Syntax Parameters Description get lpc Returns the current coefficient set number get rfs Returns whether factory settings have been saved Th
4. This algorithm is the same as 2 with the exception that it only calculates PRNU for the pixels within the current Region of Interest ROI The second parameter is the target value to use in a range from 1024 to 4055DN correction set sample ess m Set number of line samples averaged for pixel coefficient calculations or for output of gla command Values 256 512 1024 Refer to Returning Averaged Lines of Video on page 55 for details DALSA 03 032 10216 01 80 Command display pixel coeffs end of line sequence enable pixel coefficients get camera model get camera parameters get camera serial get camera version get commands get fpn coeff get help get line 03 032 10216 01 Syntax dpc els epc gem gcp gcs gcv get gfc gh gl Parameters xl x2 x1 x2 Piranha 3 User Manual Description Displays the pixel coefficients in the order FPN PRNU FPN PRNU x1 Pixel start number x2 Pixel end number inarange from 1 to sensor pixel count Refer to Returning Calibration Results and Errors on page 49 for details Sets the end of line sequence 0 Off 1 On Refer to section 3 4 3 End of line Sequence for details Sets whether pixel coefficients are enabled or disabled The first parameter sets the FPN coefficients where i is 0 coefficients disabled 1 FPN coefficients enabled The second parameter sets the PRNU coefficients where i is 0 PRNU coeff
5. artifacts at low light levels due to the offset value You may want to set the sdo value if you are not using FPN correction but want to perform PRNU correction 3 Photo Response Non Uniformity PRNU coefficients calculated using the ccp or cpa commands are used to correct the difference in responsivity of individual pixels i e given the same amount of light different pixels will charge up at different rates and the change in light intensity across the image either because of the light source or due to optical aberrations e g there may be more light in the center of the image PRNU coefficients are multipliers and are defined to be of a value greater than or equal to 1 This ensures that all pixels will saturate together 4 Background subtract ssb command and system digital gain ssg command are used to increase image contrast after FPN and PRNU calibration It is useful for systems that process 8 bit data but want to take advantage of the camera s 12 bit digital processing chain For example if you find that your 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 Calibrating the Camera to Remove Non Uniformity Flat Field Correction Hat Field Correction Overview This camera has the ability to calculate correction coefficients in order to remove non uniformity in the image This video correction operates on a pixel by
6. 1 to sensor pixel count Refer to Returning Averaged Lines of Video on page 45 for details Read the PRNU coefficient i pixel number to read in a range from 1 to sensor pixel count Refer to Returning Calibration Results and Errors on page 49 for details Read the current sync frequency 1 CC1 EXSYNC 2 CC2 PRIN 3 CC3 Spare 4 CC4 Spare Refer to section 3 6 5 Camera Frequency Measurement for details Read the sensor serial number Display the online help Refer to on page 24 for details Loads the previously saved pixel coefficients from non volatile memory where i is 0 Factory calibrated coefficients 1 Coefficient set one 2 Coefficient set two 3 Coefficient set three 4 Coefficient set four Refer to 3 5 1 Saving and Restoring PRNU and FPN Coefficients for details Reset the entire camera reboot Restore the camera s factory settings FPN and PRNU coefficients reset to 0 Refer to section 3 5 Saving and Restoring Settings for details Sets the pixel range affected by the cag cao gl gla ccf and ccp commands The parameters are the pixel start and end values x and the column start and end values y in a range from 1 to sensor pixel count Refer to section 3 4 1 Setting a Region of Interest ROI for details Reset the pixel coefficients to 0 Refer to Resetting the Current Pixel Coefficients on page 53 for details Restore the camera s last saved user settings and FPN and PRNU
7. 17 horizontal lines 70 hot mirror 65 illumination 65 incorrect line rate 69 input output 15 inputs user bus 19 installation 15 interface electrical 9 15 mechanical 9 optical 9 65 serial 23 software 23 L LED 16 lens modeling 66 lens mounts 65 light calibration See flat field correction light sources 65 line dropout 69 line rate 9 setting 30 line statistics 54 LVAL 73 LVDS 72 pairs 73 M magnification 66 MDR26 See Camera Link connector mechanical drawing 64 specifications 9 models 8 modes default 29 Piranha 3 User Manual N noisy output 70 offset analog 40 calibrating 40 digital 45 operating modes 27 optical interface 65 specifications 9 P performance specifications 8 11 pixel readout 12 pixel statistics 54 power connectors 17 guidelines 17 supply 17 pretrigger 33 PRNU 35 coefficient 47 correction 45 46 Product Support 71 readout 12 rebooting 54 resolution 9 responsivity 13 restoring coefficients 53 factory settings 52 user settings 52 roi See Region of Interest S saving coefficients 53 user settings 52 sensor 12 readout 12 specifications 9 serial interface 23 settings restoring 52 returning 57 60 saving 52 DALSA Piranha 3 User Manual DALSA signals input 19 output 19 specifications electrical 9 key 7 mechanical 9 optical 9 sensor 9 statistics 54 subtracting bac
8. 40 offset 40 processing 34 applications 8 background subtract 47 baud rate 24 bright lines 69 C calibrating the camera 35 44 45 46 calibration See flat field correction camera control configuration 73 control signals 18 73 messages 76 Camera Link configuration pinout 18 connector 17 description 72 mode 31 Camera Link mode configurations 32 setting 31 camera settings See settings CCD 12 clock signals 19 coefficients diabling 50 enabling 50 loading 50 resetting 50 command format 23 list 77 parameters 24 commands 26 connectors 15 19 Camera Link 17 Hirose 17 power 17 D dark calibration See flat field correction dark patches 70 data rate 10 digital gain 48 offset 45 processing 34 signal processing 44 DVAL 73 electrical interface 15 specifications 9 EMC Declaration of Conformity 87 end of line sequence 50 error messages 76 exposure mode overview 27 setting 27 timing 28 exposure time setting 31 EXSYNC 19 external trigger 19 F fiber optic light sources 65 filters 65 flat field correction errors 49 overview 35 performing 37 restrictions 36 results 49 FPN 35 coefficient 44 correction 44 FVAL 73 G gain 23 39 41 43 analog 38 03 032 10216 01 92 03 032 10216 01 calibrating 39 digital 48 ranges 10 reference 43 graph responsivity 13 H halogen light sources 65 help 24 Hirose connector
9. Blow off any adhering fibers or particles using dry filtered compressed air Horizontal Lines or Patterns in Image 03 032 10216 01 A faulty or irregular encoder signal that is applied as the EXSYNC 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 intensity variations still occur ensure that you are using a DC or high frequency light source and that no ambient light is affecting your system DALSA Piranha 3 User Manual 5 4 Product Support If there is a problem with your camera collect the following data about your application and situation and call your DALSA representative DALSA 71 Note You may also want to photocopy this page to fax to DALSA Customer name Organization name Customer phone number fax number Complete Product Model Number e g P3 80 08k40 Complete Serial Number Your DALSA Agent or Dealer Acquisition System hardware frame grabber host computer light sources etc Acquisition System software version OS etc Power supplies and current draw Data rate used Control signals used in your application and their frequency or state if applicable Results when you run the gcp command Detailed description of problem encountered EXSYNC BIN MCLK Other plea
10. Ground WARNING It is extremely important that you apply the appropriate voltages to your camera Incorrect voltages will damage the camera See section 2 4 for more details 2 2 1LED Status Indicator 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 Error and warning states are accompanied by corresponding messages further describing the current camera status Table 5 Diagnostic LED Color of Status LED Meaning Flashing Green Camera initialization or executing a long command e g flat field correction commands cep or ccf Solid Green Camera is operational and functioning correctly Flashing Red Fatal Error Camera temperature is too high and camera thermal shutdown has occurred Solid Red Warning Loss of functionality e g external SRAM failure 03 032 10216 01 DALSA Piranha 3 User Manual 2 2 2 Power Connector Figure 4 Hirose 6 pin Circular Male Power Connector Hirose 6 pin Circular Male Table 6 Hirose Pin Description 1 6 Pins Description 1 2 3 12 to 15 Mating Part HIRO SE END HR10A 7P 6S The camera requires a single voltage input with a 12V to 15V operating range 11V to 16V absolute maximum range The camera meets all performance specifications using st
11. In this mode EXSYNC sets both the line period and the exposure time The rising edge of EXSYNC marks the beginning of the exposure and the falling edge initiates readout Example 3 Trigger Period is Repetitive and Greater than Read Out Time CR EXPOSURE TIME CR EXPOSURE TIME READOUT READOUT LINE PERIOD LINE PERIOD EXSYNC Mode 5 External Line Rate EXSYNC and External Pixel Reset PRIN In this mode the falling edge of EXSYNC sets the line period and the rising edge of PRIN sets the start of exposure time Figure 9 EXSYNC controls Line Period and PRIN controls Exposure Time i LINE PERIOD LINE PERIOD i LINE PERIOD EXPOSURE TIME READOUT WAITING CR EXPOSURE TIME READOUT WAITING EE rf PRIN A CR CHARGE RESET Mode 6 External Line Rate and Internally Programmable Exposure Time Figure 10 EXSYNC controls Line Period with Internally controlled Exposure Time LINE PERIOD LINE PERIOD CR EXPOSURE TIME READOUT WAITING CR EXPOSURE TIME READOUT WAITING PROGRAMMABLE PERIOD PROGRAMMABLE PERIOD UsiNG set COMMAND UsiNG Set COMMAND A Y Y EXSYNC CR CHARGE RESET DALSA 03 032 10216 01 30 Piranha 3 User Manual Mode 7 Internally Programmable Line Rate Maximum Exposure Time In this mode the line rate is set internally with a maximum exposure
12. available from the lens data sheet or from the lens manufacturer Primed quantities denote characteristics of the image side of the lens That is h is the object height and his the image height The focal point is the point at which the image of an infinitely distant object is brought to focus The effective focal length f is the distance from the second principal point to the second focal point The back focal length BFL is the distance from the image side of the lens surface to the second focal point The object distance OD is the distance from the first principal point to the object Figure 19 Primary Points in a Lens System SECOND PRINCIPAL POINT LIGHT RAYS FROM LEFT gt gt SSS See SECOND FOCAL POINT gt OBJECT HEIGHT h FIRST PRINDEA OBJECT DISTANCE OD Magnification and Resolution The magnification of a lens is the ratio of the image size to the object size _ h where m is the magnification h is the image height h pixel size and h is the object height desired object resolution size By similar triangles the magnification is alternatively given by f m OD These equations can be combined to give their most useful form h f This is the governing equation for many object and h OD image plane parameters Example An acquisition system has a 512 x 512 element 10um pixel pitch area scan camera a lens with an effective focal length of 45mm and requires
13. e To return the current analog offset values use the command gcp or get cao cao 1 50 sao DALSA Piranha 3 User Manual DALSA 41 The following diagrams summarize and provide an example of how analog gain is calibrated when using a region of interest In the following example analog gain is being set for a single tap inside the region of interest The peak value of the tap is calibrated to the specified target value and all other taps remain unchanged Figure 14 Calibrating Analog Gain for a Tap outside of the Region of Interest ccg 1 4 2800 Since tap 4 is within the region of interest tap 4 gain is adjusted so that the peak value is set to 2800 Gain values for all other taps are left unchanged 4095 v Region of Interest 2800 o Video 5 1 5 7 0 Tap 2 even Tap 6 even Tap 8 even 0 4000 9700 12288 Pixel Number 4 4 After analog gain calibration Before analog gain calibration 03 032 10216 01 42 03 032 10216 01 Piranha 3 User Manual In the following example analog gain is being set for a tap outside the region of interest Since analog gain cannot be set for taps outside the region of interest an error message is returned and calibration does not occur Figure 15 Calibrating Analog Gain for a Tap inside the Region of Interest ccg 1 2 2800 Since tap 2 is
14. feature is turned off Is the integration time when the SMART EXSYNC feature is available and turned on Note that the minimum time is necessary to guarantee proper operation The minimum and maximum line times made up of tTransfer tREADOUT plus tOVERHEAD to meet specifications The time from the reception of the falling edge of EXSYNC to the rising edge of LVAL when pretrigger is set to zero Pretrigger reduces the number of clocks to the rising edge of LVAL but doesn t change the time to the first valid pixel If the fixed integration time mode of operation is available and selected then the integration time is added to the specified value Fixed Integration Time mode of operation for variable exsync frequency Is the number of pixels per tap times the readout clock period Pretrigger 0 Is the number of pixels that must elapse after the falling edge of LVAL before the EXSYNC signal can be asserted This time is used to clamp the internal analog electronics Applies when the PRIN exposure control feature is enabled The PRIN signal must be held a minimum time after the EXSYNC falling edge to avoid losing the Min ns 100 3 000 100 3 000 53 190 12k 106 382 8k 3 725 25 800 38 400 12k 25 600 8k 425 25 Don t care DALSA Piranha 3 User Manual DALSA Symbol twPR_LOW tPR_SET Definition integrated charge Minimum Low time to assure complete photosite reset The nominal time tha
15. in the Piranha3 camera Set the PRNU coefficient x pixel number within the range 1 to sensor pixel count i PRNU value within the range 0 to 28671 Refer to on page 46 for details Set a range of pixel PRNU coefficients i first pixel number of the range i last pixel number of the range x coefficient value in a range from 0 to 28671 Refer to Setting a Range of PRNU Coefficients on page 47 for details Set the pretrigger to a value from 0 to 16 Subtract the input value from the output signal t Tap value 0 for all taps or 1 to 8 for individual tap selection Subtracted value in a range from 0 to 4095 Refer to on page 44 for details 03 032 10216 01 84 Command set sync frequency set system gain set upper threshold set video mode update gain reference verify temperature verify voltage write FPN coefficients write pixel coeffs 03 032 10216 01 Syntax ssf ssg sut svm ugr wfc wpc Parameters i Piranha 3 User Manual Description Set the frame rate to a value from 12k 300 23619Hz 8k 300 33855Hz Value rounded up down as required Refer to section 3 2 1 Exposure Mode Line Rate and Exposure Time for details Set the digital gain t Tap value 0 for all taps or 1 to 8 for individual tap selection i Gain value is specified from 0 to 65535 The digital video values are multiplied by this number Refer to Setting Digital System Gain
16. in the analog domain allows you to achieve a better signal to noise ratio and dynamic range than you would achieve by trying to optimize the offset in the digital domain As a result perform all analog adjustments prior to any digital adjustments 1 Analog gain sag or ccg command is multiplied by the analog signal to increase the signal strength before the A D conversion It is used to take advantage of the full dynamic range of the A D converter For example in a low light situation the brightest part of the image may be consistently coming in at only 5076 of the DN An analog gain of 6 dB 2x will ensure full use of the dynamic range of the A D converter Of course the noise is also increased 2 The analog offset sao or cao command or black level is an artificial offset introduced into the video path to ensure that the A D is functioning properly The analog offset should be set so that it is at least 3 times the rms noise value at the current gain Digital Processing To optimize camera performance digital signal processing should be completed after any analog adjustments 1 Fixed pattern noise FPN calibration calculated using the cc command is used to subtract away individual pixel dark current 2 The digital offset sdo command enables the subtraction of the artificial A D offset the analog offset so that application of the PRNU coefficient doesn t result in 03 032 10216 01 DALSA Piranha 3 User Manual 35
17. on page 48 for details Set upper threshold that is check for and reported in the end of line sequence to a value from 0 4095 Refer to section 3 4 3 End of line Sequence for details Switch between normal video mode and test patterns 0 Normal video mode 1 12 bit ramp test pattern 2 8 bit step test pattern Refer to section 3 6 1 Generating a Test Pattern for details Changes the OdB gain to equal the current analog gain value set with the sag command Get the internal temperature of the camera Get the camera input voltage Write all current FPN coefficients to EEROM where i is 1 FPN coefficient set one 2 FPN coefficient set two FPN coefficient set three 4 FPN coefficient set four Refer to section 3 5 1 Saving and Restoring PRNU and FPN Coefficients for details Write all current PRNU coefficients to EEROM where i is 1 PRNU coefficient set one 2 PRNU coefficient set two 3 PRNU coefficient set three 4 PRNU coefficient set four Refer to section 3 5 1 Saving and Restoring PRNU and FPN Coefficients for details DALSA Piranha 3 User Manual write user settings wus Write all of the user settings to EEROM Refer to section 3 5 Saving and Restoring Settings for details DALSA 03 032 10216 01 86 Piranha 3 User Manual 03 032 10216 01 DALSA Piranha 3 User Manual DALSA 87 Appendix EMC Declaration of Conformity We DALSA 605 McMurray Rd Waterloo ON CANAD
18. pixel basis and implements a two point correction for each pixel This correction can reduce or eliminate image distortion caused by the following factors e Fixed Pattern Noise FPN e Photo Response Non Uniformity PRNU e Lens and light source non uniformity Correction is implemented such that for each pixel Vosa Vinpu FPN pixel digital offset PRNU pixel Background Subtract x System Gain DALSA where Voutput digital output pixel value Vinput digital input pixel value from the CCD PRNU pixel PRNU correction coefficient for this pixel FPN pixel FPN correction coefficient for this pixel Background Subtract background subtract value System Gain digital gain value 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 output when the CCD is not exposed The white light calibration is performed next to determine the multiplication factors required to bring each pixel to the required value target for flat white output Video output is set slightly above the brightest pixel depending on offset subtracted 03 032 10216 01 36 Note If your illumination or white reference does not extend the full field of view of the camera the camera will send a warning 03 032 10216 01 Piranha 3 User Manual Hat Field Correction R
19. sending and receiving a character string and sending a file of bytes The software API will provide functions to enumerate boards and 03 032 10216 01 74 Piranha 3 User Manual send or receive a character string See Appendix B in the Official Camera Link specification on the http v m dalsa com Web site Power Power will not be provided on the Camera Link connector The camera will receive power through a separate cable Camera manufacturers will define their own power connector current and voltage requirements 03 032 10216 01 DALSA Piranha 3 User Manual DALSA 75 03 032 10216 01 76 Piranha 3 User Manual Appendix B Error Handling and Command List BlError Handling The following table lists warning and error messages and provides a description and 03 032 10216 01 possible cause Table 16 Warning and Error Messages Message OK gt Warning 01 Outside of specification gt Warning 02 Clipped to min gt Warning 03 Clipped to max gt Warning 04 Related parameters adjusted gt Warning 05 Missing codes insufficient digital gain gt Warning 06 Missing codes too much digital gain gt Warning 07 Coefficient may be inaccurate A D clipping has occurred gt Warning 08 Greater than 1 of coefficients have been clipped Message Error 01 Internal error xx gt Description SUCCESS Parameter accepted was outside of specified operating range e g gain greater th
20. the camera is not receiving spurious inputs e g EXSYNC if camera is using an internal signal for synchronization Line Dropout Bright Lines or Incorrect Line rate Verify that the frequency of the internal sync is set correctly DALSA 03 032 10216 01 70 Piranha 3 User Manual Noisy Output Check your power supply voltage outputs for noise Noise present on these lines can result in poor video quality Low quality or non twisted pair cable can also add noise to the video output Dark Patches If dark patches appear in your output the optics path may have become contaminated Clean your lenses and sensor windows with extreme care 1 Take standard ESD precautions 2 Wear latex gloves or finger cots 3 Blow off dust using a filtered blow bottle or dry filtered compressed air 4 Fold a piece of optical lens cleaning tissue approx 3 x 5 to make a square pad that is approximately one finger width 5 Moisten the pad on one edge with 2 3 drops of clean solvent either alcohol or acetone Do not saturate the entire pad with solvent 6 Wipe across the length of the window in one direction with the moistened end first followed by the rest of the pad 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 7 Repeat steps 2 4 using a clean tissue until the entire window has been cleaned
21. the command gcp or get set Ifyou enter an invalid line rate frequency an error message is returned sem ssf set 400 5 3 3 Camera Output Format DALSA 3 3 1 Setting the Camera Link Mode Purpose Syntax Syntax Elements Notes Example Sets the camera s Camera Link configuration number of Camera Link taps and data bit depth Refer to Table 12 for a description of each Camera Link mode clm m m Output mode to use 15 Medium configuration 4 taps 8 bit output 16 Medium configuration 4 taps 12 bit output 21 Full configuration 8 taps 8 bit output e To obtain the current data mode use the command gcp or get clm e The bit patterns are defined by the DALSA Camera Link Roadmap and the Camera Link Standard clm 15 03 032 10216 01 32 Piranha 3 User Manual Table 12 Piranha3 Data Readout Configurations Camera Link Mode Configuration Controlled by clm command Command Camera Link Camera Link Taps Camera Link Bit Configuration Data Rate Depth clm 15 Medium 4 Camera Link taps 80MHz 8 where 1 CCD tap 1 2 2 CCD tap 3 4 3 CCD tap 5 6 4 CCD tap 7 8 Note Concatenated taps are interleaved Refer to section 1 3 for a sensor readout description clm 16 Medium 4 Camera Link taps 80MHz 12 where 1 CCD tap 142 2 CCD tap 3 4 3 CCD tap 5 6 4 CCD tap 7 8 Note Concatenated taps are interleaved Refer to section 1 3 for a sensor readout description c
22. to a known value by the camera For more information on image data bit allocations refer to the official Camera Link specification on the http v m dalsa com Web site Camera Control Signals Four LVDS pairs are reserved for general purpose camera control They are defined as camera inputs and frame grabber outputs Camera manufacturers can define these signals to meet their needs for a particular product The signals are e Camera Control 1 CC1 Camera Control 2 CC2 Camera Control 3 CC3 Camera Control 4 CC4 The Piranha3 uses the following camera control signals Table 15 DALSA Camera Control Configuration C1 EXSYNC negative edge active CC2 PRIN CC3 Not Used CC4 Not Used Communication Two LVDS pairs have been allocated for asynchronous serial communication to and from the camera and frame grabber Cameras and frame grabbers should support at least 9600 baud These signals are SerTFG Differential pair with serial communications to the frame grabber SerTC Differential pair with serial communications to the camera The serial interface will have the following characteristics one start bit one stop bit no parity and no handshaking It is recommended that frame grabber manufacturers supply both a user interface and a software application programmming interface APT for using the asynchronous serial communication port The user interface will consist of a terminal program with minimal capabilities of
23. 4 4 After analog gain calibration 7 Before analog gain calibration Updating the Gain Reference To update the analog gain reference Purpose Syntax DALSA Sets the current analog gain setting to be the OdB point This is useful after tap gain matching allowing you to change the gain on all taps by the same amount ugr 03 032 10216 01 44 Piranha 3 User Manual Digital Signal Processing To optimize camera performance digital signal processing should be completed after any analog adjustments FPN Correction Performing FPN Correction Syntax Performs FPN correction and eliminates FPN noise by subtracting away individual pixel dark current Syntax ccf Notes e Perform all analog and digital adjustments before performing FPN correction e Perform FPN correction before PRNU correction e Refer to Calibrating the Camera to Remove Non Uniformity Flat Field Correction on page 35 for a procedural overview on performing flat field correction Related Commands ccp Example ccf Setting a Pixel s FPN Coefficient Purpose Sets an individual pixel s FPN coefficient Syntax sfc x i Syntax Elements x The pixel number from 1 to sensor pixel count Coefficient value in a range from 0 to 2048 12 bit LSB Example sfc 10 50 03 032 10216 01 DALSA Piranha 3 User Manual Setting Digital Offset Purpose Sets the digital offset Digital offset is set to zero when you perform FPN c
24. 6 01 78 03 032 10216 01 Command calculate camera gain correction calibrate prnu camera link mode Syntax ecg ccp clm Parameters iti Piranha 3 User Manual Description Calculates the camera gain and optimizes tap matching according to the selected algorithm i Calibration algorithm to use 1 This algorithm adjusts analog gain so that 8 to 1376 of tap ROI pixels are above the specified target value 2 This algorithm adjusts analog gain so that the average pixel value in tap s ROI is equal to the specified target value 3 This algorithm adjusts digital 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 all tap ROI pixels are within 98 of the specified target value and then performs a PRNU correction t Tap value Use 0 for all taps or 1 to 8 for individual tap selection i Calibration target value in a range from 1024 to 4055DN 12 bit LSB Start PRNU coefficient calibration Refer to section 3 4 2 Analog and Digital Signal Processing Chain for details Sets the Camera Link configuration number of Camera Link taps and data bit depth 15 Medium configuration 4 taps 8 bit output 16 Medium configuration 4 taps 12 bit output 21 Full configuration 8 taps 8 bit output Refer to section 3 3 1 Setting the Camera Link Mode for details DALSA Piranha 3 User Manual n Command Syntax Parameters Des
25. 72 x 0 75 _ L x40DEEP i 730 86 0 EE 55 0 2X 45 00 0 05 1081 CCD e 2X IMAGING N gt CENTER Na PA all L IN 150 0 M3x0 5 85 DEPTH 6 0 2X 4X 46 0 Qx na M3x0 5 4X THREAD M3x0 5 73 0 4X DEPTH 6 0 THREAD 8X DEPTH 6 0 2 F HOH Tl 32 9000 2 03 032 10216 01 DALSA Piranha 3 User Manual 65 4 2 Lens Mounts Model Number Lens Mount Options P3 80 08k40 M72x0 75 P3 80 12k40 M72x0 75 Mount Back Focal Distance sensor die to adapter M72 6 56 0 25mm 4 3 Optical Interface DALSA Illumination The amount and wavelengths of light required to capture useful images depend on the particular application 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 v m dalsa com provides an introduction to this potentially complicated issue See Radiometry and Photo Responsivity and Sensitivities in Photometric Units in the CCD Technology Primer found under the Application Support link Itis often more important to consider exposure than illumination The total amount of energy which is related to the total number of photons reaching the sensor is more important than the rate at which it arrives For example 5uJ cm can be achieved by exposing 5mW cm for 1
26. A N2V 2E9 declare under sole responsibility that the product s P3 80 08k40 P3 80 12k80 fulfill s the requirements of the standard s EMC CISPR 11 2004 EN 55011 2003 CLASS A GROUPI IEC EN 61000 3 2 2001 IEC EN 61000 3 3 2001 EN 61326 2001 IEC 61326 2002 IEC EN 61000 4 2 2001 IEC EN 61000 4 3 2002 ENV 50204 IEC EN 61000 4 4 2004 IEC EN 61000 4 5 2001 IEC EN 61000 4 6 2004 IEC EN 61000 4 11 2004 FCC PART 15 SUBPART B CLASS A EUROPEAN CISPR 11 2004 EN 55011 2003 This product complies with the requirements of the Low Voltage Directive 73 23 and the EMC Directive 89 336 EEC and carries the CE mark accordingly Place of Issue Waterloo ON CANADA Date of Issue April 2005 Name and Signature Hank Helmond of authorized person Quality Manager DALSA Corp trem Y wv This Declaration corresponds to EN 45 014 03 032 10216 01 88 Piranha 3 User Manual 03 032 10216 01 DALSA Piranha 3 User Manual di Appendix D Revision History Revision Change Description Number 00 RoHS camera preliminary release 01 CE and no Pb stamps added to front cover New parameter 4 added to command Correction Calibrate PRNU cpa pages 25 46 and 79 Two new commands added Set FPN Range sfr and Set PRNU Range spr pages 47 49 and 83 DALSA 03 032 10216 01 90 Piranha 3 User Manual 03 032 10216 01 DALSA Piranha 3 User Manual DALSA 91 Index A analog gain 38 39
27. C 5 External SYNC and PRIN 6 External SYNC internal PRIN programmable exposure time 7 Internal programmable SYNC maximum exposure time Factory setting 8 Internal SYNC internal PRIN programmable exposure time Maximum line rate for exposure time Sets the exposure time Refer to the camera help screen h command for allowable range DALSA Piranha 3 User Manual Command set fpn coeff set fpn range set lower threshold set output throughput set prnu coeff set prnu range set pretrigger set subtract background DALSA Syntax sfc sfr slt sot spc spr spt ssb Parameters x i 83 Description Set the FPN coefficient x pixel number within the range 1 to sensor pixel count i FPN value within the range 0 to 2048 Refer to Setting a Pixel s FPN Coefficient on page 44 for details Set a range of pixel FPN coefficients x first pixel number of the range x last pixel number of the range i coefficient value in a range from O to 2048 Refer to Setting a Range of FPN Coefficients on page 49 for details Sets the lower threshold that is checked for and reported in the end of line sequence in a value from 0 4095 Refer to section 3 4 3 End of line Sequence for details This command works in conjunction with the c1m command and determines the pixel rate of the camera 320 4 taps at 80MHz or 8 taps at 40MHz This command is currently not configurable
28. IR11 Inner Shield Inner Shield DALSA Piranha 3 User Manual Input Signals Camera Link The camera accepts control inputs through the Camera Link MDR26F connector O 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 line readout Section 3 2 1 Exposure Mode Line Rate and Exposure Time details how to set frame times exposure times and camera modes Output Signals Camera Link These signals indicate when data is valid allowing you to clock the data from the camera un 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 v m dalsa com for the standard location of these signals IMPORTANT This camera s data Clocking Signal Indicates should be sampled on LVAL high Outputting valid line pt edge of DVAL high Valid data STROBE rising edge Valid data FVAL high Outputting valid frame The camera internally digitizes 12 bits and outputs 8 MSB or all 12 bits depending on the camera s Camera Link operating mode Refer to section 3 3 1 Setting the Camera Link Mode for details on setting the Camera Link configuration Fora Camera
29. Link reference refer to Appendix on page 72 2 3 Camera Link Video Timing Figure 6 Piranha3 Overview Timing Showing Input and Output Relationships STROBE AUNG AMANS tLINE PERIOD gt twSYNC e _ tWSYNC_INT_ gt Exswe _ Ar e ATRANSFER He gt i tREADOUT tOVERHEAD LINE VALID CC y V BATA DOCOCLLOOCOOOd booooooooooooood 9500000000 4 thPR 4 PR SET gt PIXEL RESET o cn DALSA 03 032 10216 01 20 03 032 10216 01 Figure 7 Piranha3 Fixed Programmed Integration Timing with External EXSYNC STROBE TMM f IAA USIA A EXSYNC Reset LINE VALID g gt CD Pixel CCD Trans Clock sfer j j Piranha 3 User Manual tLINE PERIOD twSYNC fe gt wSYNC INT sf po TT twFixed Int v L UEM lx an 30OOX DOOOOO0d 00000000000000d 00000000 Table 10 Piranha3 Input and Output Symbol twSYNC twSYNCsm ART twSYNC INT twSYNC INT SMART tLINE PERIOD t Lr tTransfer twFixed Int tREADOUT tOVERHEAD thPR Definition The minimum low width of the EXSYNC pulse when not in SMART EXSYNC mode The minimum low width of the EXSYNC pulse when in SMART EXSYNC modes to guarantee the photosites are reset The minimum width of the high pulse when the SMART EXSYNC
30. Piranha3 Camera User s Manual P3 80 xxk40 R E g E v Y 00 technology with vision 30 Aug 06 03 032 10216 01 www dalsa com 2 Piranha 3 User Manual 2006 DALSA AII 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 lin
31. SA 03 032 10216 01 46 03 032 10216 01 Piranha 3 User Manual Performing PRNU to a User Entered Valve Purpose Syntax Syntax Elements Notes Performs PRNU calibration to user entered value and eliminates the difference in responsivity between the most and least sensitive pixel creating a uniform response to light Using this command you must provide a calibration target cpa i i i PRNU calibration algorithm to use 1 This algorithm first adjusts each tap s analog gain so that 8 13 of pixels within a tap are above the value specified in the target value parameter PRNU calibration then occurs using the peak pixel in the region of interest ROI 2 Calculates the PRNU coefficients using the entered target value as shown below Target PRNU Coefficient AVG Pixel Value FPN sdo value The calculation is performed for all sensor pixels but warnings are only applied to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras Recommended peak video output before PRNU calibration is 5 20 lower than target The target value must be greater than the current peak output value This command performs the same function as the cpp command but requires that you enter a target value 3 This algorithm includes an analog gain adjustment prior to PRNU calibration Analog gain is first adjusted so that the peak pixel value in tap s ROI is within 97
32. Upper and lowercase characters are accepted e backspace key is supported DALSA 03 032 10216 01 24 03 032 10216 01 Piranha 3 User Manual e The camera will answer each command with either lt CR gt lt LF gt OK gt or lt CR gt lt LF gt Error xx Error Message gt or Warning xx Warning Message The gt is always the last character sent by the camera The following parameter conventions are used in the manual i integer value f realnumber member of a set s string t tap id x pixel column number y pixel row number Setting 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 e Power on rate is always 9600 baud e The rc reset camera command will not reset the camera to the power on baud rate and will reboot using the last used baud rate Example sbr 57600 Camera Help Screen For quick help the camera can return all available commands and parameters through the serial interface There are two different help screens available One lists all of the available commands to configure camera operation The other help screen lists all of the commands available for retrieving camera parameters these are called get commands To view the help screen listing all of the camera configuration commands use the command Syntax h T
33. aa 7 Features citet ient 7 Key Specifications Programmability Description Applications ER RENE aaa 8 Models sacar dias M 8 1 2 Camera Performance Specifications 1 3 Image Sensor Responsivify E dona 13 Camera Hardware Interface 15 2 1 Installation Overview 2 2 Input Output Connectors and LED Input Signals Camera Link csssssssssccccsssssssscccsssssssecccssssssssesssssssssssscsusssssssesccssssssesessasssesscussnssesesssssses 19 Output Signals Camera Link scssssssssccccsssssssccssssssssseccssssssssesessssssssecccsssssssssescssssssescessssssesscsssssseceeusa 19 2 3 Camera Link Video Timing cssssccssssssscccsssssssssccsssssssssssssesssssssceusssssseessssasssssscesuassssesusssssseceusasessesssusssssseseeuss 19 Software Interface How to Control the Camera 23 Setting Baud Rate as mas rs dd San a 24 Camera Help Sien RS RR IR RR RR ad 24 3 1 Command Categories ote a ei 26 3 2 Sensor Output Format Overview Setting the Exposure Mode sssssscssssssssssccssssessssssssssssssscesssssssesessssssssesesuassnssseesessssssescsusessessscaasasseseeusa 27 Setting the 30 Setting the Exposure TIME acata oce 31 3 3 Camera Output Format 3 4 Data Processing Pr
34. ack Focal Distance M72Mount mm 6 56 0 25 Sensor Alignment mm 0 05 y mm 0 05 z mm 3025 Oz 10 4 Lens Mount M72x0 75 Mechanical Interface Units Camera Size Mass Connectors power connector data connector Electrical Interface Input Voltage Power Dissipation Operating Temperature measured at front plate Data Output Format Output Data Configuration Units Minimum Line Rate kHz Specification mm Ix hx w 8 Units Volts de Bits 8k 2 5 12k line scan CCD 12288 100 5x5 8 100x 12k 6 56 0 25 0 05 0 05 0 25 0 4 M72x0 75 150 x 42 x 80 630 6 pin male Hirose MDR26 female 12 to 15 lt 15 to 50 8 or 12 bit user selectable Medium or Full Camera Link user selectable 12k 2 5 Notes Notes Notes Notes Maximum power supply of 5 12 bits available in 4 tap operation only Notes 03 032 10216 01 Specification Maximum Line Rate Data Throughput Gain Operating Specifications No Flat Field Correction Specification Broadband Responsivity Random Noise rms Dynamic Range 12 bit DC Offset FPN ECD FPN ECE FPN Corrected PRNU ECD PRNU ECE PRNU Pixel to Pixel PRNU Corrected ECD ECE NEE SEE Unit Min DN nJ cm2 DN ratio 820 DN DN pJ em nJ cm2 Operating Specifications No Flat Field Correction Specification Broadband Responsivity Random Noise rms Dynamic Range 12 bit DC O
35. aging to a new level with eight outputs running at 40MHz and either 8k or 12k resolutions The large number of pixels and fast line rates specifically meet the throughput demands of flat panel inspection Gen7 and Gen8 printed circuit board inspection and multi camera web inspection With this large resolution and high speed these cameras can inspect more panels in the same amount of time than ever before Applications The Piranha3 family is ideal for applications requiring high speed superior image quality and high responsivity Applications include Flat panel display inspection Printed circuit board inspection Parcel sorting Multi camera web inspection High performance document scanning A High throughput applications Models The Piranha3 cameras are available in the following models Table 1 Piranha3 Camera Models Overview Model Description Number P3 80 12k40 12k resolution 8 taps 40MHz data rate Medium or Full Camera Link configuration P3 80 08k40 8k resolution 8 taps 40MHz data rate Medium or Full Camera Link configuration 03 032 10216 01 DALSA Piranha 3 User Manual 1 2 Camera Performance Specifications Table 2 Piranha3 Camera Performance Specifications DALSA Feature Units 8k Specification Sensor Features Imager Format line scan CCD Resolution pixels 8192 Pixel Fill Factor 26 100 Pixel Size um 7x7 Output Format of taps 8 Antiblooming 100x Optical Interface Units 8k B
36. an 10 dB of factory setting Parameter was clipped to the current operating range Use GCP to see value used Parameter was clipped to the current operating range Use GCP to see value used Parameter was clipped to the current operating range Use GCP to see value used Output when the digital gain is such that missing codes are to be expected due to not enough digital gain Output when the digital gain is such that missing codes are to be expected due to too much digital gain In the region of interest ROI greater than 6 251 single or 1 of averaged pixel values were zero or saturated A FPN PRNU has been calculated to be greater than the maximum allowable 511 8 Description Output only in diagnostic mode or self check at power or reset camera Where xx is a code DALSA Piranha 3 User Manual Message Error 02 Unrecognized command gt Error 03 Incorrect number of parameters gt Error 04 Incorrect parameter value gt Error 05 Command unavailable in this mode gt Error 06 Timeout gt Error 07 Camera settings not saved gt Error 08 Unable to calibrate tap outside ROI gt Error 09 The camera s temperature exceeds the specified operating range gt 77 Description Command is not available in the current access level or it is not a valid command This response returned for Alpha received for numeric or vice versa Not an element of the set of possible values E g Ba
37. andard switching power supplies although well regulated linear supplies provide optimum performance WARNING When setting up the camera s power supplies follow these guidelines 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 isolated type power supply to prevent LVDS common mode range violation Note Performance specifications are not guaranteed if your power supply does not meet the 12V to 15V requirements WARNING It is extremely important that you apply the appropriate voltages to your camera Incorrect voltages will damage the camera Protect the camera with a fast blow fuse between power supply and camera DALSA offers a power supply with attached 6 power cable that meets the Piranha3 camera s requirements but it should not be considered the only choice Many high quality supplies are available from other vendors DALSA assumes no responsibility for the use of these supplies Visit the www dalsa com Web site for a list of companies that make power supplies that meet the camera s requirements The companies listed should not be considered the only choices 2 2 3 Camera Link Data Connector Figure 5 Camera Link MDR26 Connector MD R26 Female 3M part 14X26 SZLB XXX OLC is a complete cable assembly including co
38. ber if applicable Be sure to observe all static precautions Install any necessary imaging software 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 Power supplies must meet the requirements defined in section 2 2 2 Power Connector Inspect all cables and connectors prior to installation Do not use damaged cables or connectors or the camera may be damaged Connect Camera Link and power cables After connecting cables apply power to the camera Check the diagnostic LED See 2 2 1 LED Status Indicator for an LED description 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 a DALSA Diagnostic LED for monitoring the camera See LED Status Indicator in section 2 2 1 LED Status Indicator for details 6 pin Hirose connector for power Refer to section 2 2 2 Power Connector for details High density 26 pin MDR26 connector for Camera Link control signals data signals and serial communications Refer to section 2 2 3 Camera Link Data Connector for details 03 032 10216 01 16 Piranha 3 User Manual Figure 3 Piranha3 Input and Output Connectors A Diagnostic LED Camera Link Medium or Full Configuration NI Camera Link Medium or F ull Configuration 12V to 15V and
39. cal Description Low Voltage Differential Signaling LVDS is a high speed low power general purpose interface standard The standard known as ANSI TIA EIA 644 was approved in March 1996 LVDS uses differential signaling with a nominal signal swing of 350mV differential The low signal swing decreases rise and fall times to achieve a theoretical maximum transmission rate of 1 923 Gbps into a loss less medium The low signal swing also means that the standard is not dependent on a particular supply voltage LVDS uses current mode drivers which limit power consumption The differential signals are immune to 1 V common volt noise Camera Signal Requirements This section provides definitions for the signals used in the Camera Link interface The standard Camera Link cable provides camera control signals serial communication and video data DALSA Piranha 3 User Manual DALSA 73 Video Data The Channel Link technology is integral to the transmission of video data Image data and image enable signals are transmitted on the Channel Link bus Four enable signals are defined as FVAL Frame Valid FVAL is defined HIGH for valid lines e LVAL Line Valid LVAL is defined HIGH for valid pixels e DVAL Data Valid DVAL is defined HIGH when data is valid Spare A spare has been defined for future use All four enable signals must be provided by the camera on each Channel Link chip All unused data bits must be tied
40. coefficients Refer to section 3 5 Saving and Restoring Settings for details 03 032 10216 01 82 Command set analog gain set analog offset set baud rate set digital offset set exposure mode set exposure time 03 032 10216 01 Syntax sag sao sbr sdo sem set Parameters Be Piranha 3 User Manual Description Sets the analog offset t Tap value 0 for all taps or 1 8 for individual tap selection f gain value specified from 10 to 10 Refer to Analog Signal Processing Setting Analog Gain and Offset on page 38 for details Sets the analog offset t Tap value 0 for all taps or 1 8 for individual tap selection i Offset value in a range from 0 to 255 Offset increases with higher values Refer to Analog Signal Processing Setting Analog Gain and Offset on page 38 for details Set the speed of camera serial communication port Baud rates 9600 19200 57600 and 115200 Default 9600 Refer to section Setting Baud Rate on page 24 for details Subtracts the input value from the video signal prior to FPN correction t Tap value 0 for all taps or 1 to 8 for individual tap selection i Offset in a range from 0 to 2048DN Refer to Setting Digital Offset on page45 for details Set the exposure mode 2 Internal SYNC internal PRIN programmable line rate and exposure time using commands ssf and set 3 External SYNC internal PRIN maximum exposure time 4 Smart EXSYN
41. completely outside the region of interest an error message is returned and analog gain calibation does not occur 4095 Region of Interest 2800 Video Video Tap 1 odd Tap 3 odd Tap 5 odd Tap 7 odd Tap 2 even Tap 4 even Tap 6 even Tap 8 even 0 4000 9700 12288 Pixel Number After analog gain calibration _ __ Before analog gain calibration DALSA Piranha 3 User Manual 43 In the following example analog gain is being set for all taps The peak value of each tap within the region of interest is calibrated to the specified target value All taps completely outside the region of interest are calibrated to the average analog gain value of the taps inside the region of interest Figure 16 Calibrating Analog Gain for all Taps 4095 2800 Video Tap 1 odd Tap 2 even Region of Interest e ia Video Tap 3 odd Tap 5 odd Tap 7 odd Tap 4 even Tap 6 even Tap 8 even 4000 9700 12288 Pixel Number v When calibrating all taps taps completely outside the region of interest in this example interleaved taps land 2 are calibrated to the average analog gain of taps within the region of interest Taps within the region of interest calibrate to the target value Note Seams between taps will be visible until you perform white light calibration using the cep command ccg 1 0 2800
42. cription calculate PRNU cpa ii Performs PRNU calibration according to algorithm the selected algorithm The first parameter is the algorithm where i is 1 This algorithm first adjusts each tap s analog gain so that 8 13 of pixels within a tap are above the value specified in the target value parameter PRNU calibration then occurs using the peak pixel in the region of interest Identical toccp i 2 Calculates the PRNU coefficients using the entered target value as shown below PRNU Coefficient angel AVG Pixel Value FP N sdo value The calculation is performed for all sensor pixels but warnings are only applied to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras 3 This algorithm includes an analog gain adjustment prior to PRNU calibration Analog gain is first adjusted so that the peak pixel value in tap s ROI is within 97 to 99 of the specified target value It then calculates the PRNU coefficients using the target value as shown below Target PRNU Coefficient Pixel Value FPN sdo value The calculation is performed for all sensor pixels but warnings are only applied to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras The second parameter is the target value to use in a range from 1024 to 4055DN section 3 4 2 Analog and Digital Signal Processing Chain 4
43. d See Setting Baud Rate on page 24 for details Current exposure mode value set with the sem command See section 3 2 1 Exposure Mode Line Rate and Exposure Time for details Current line rate Value is set with the ss command See section 3 2 1 Exposure Mode Line Rate and Exposure Time for details Current exposure time setting Value is set with the set command See section 3 2 1 Exposure Mode Line Rate and Exposure Time for details Current video mode value set with the svm command See section 3 6 1 Generating a Test Pattern for details 03 032 10216 01 58 Region of Interest End Of Line Sequence FFC Coefficient Set FPN Coefficients PRNU Coefficients Number of Line Samples Upper Threshold Lower Threshold Camera Link Mode 03 032 10216 01 1 1 to 12288 1 on off off 256 4095 21 Full 8 taps 8 bits no time MUX Piranha 3 User Manual Region of interest size set with the roi command See section 3 4 1 Setting a Region of Interest ROI for details States whether an end of line sequence is turned on or off Set using the els command See section 3 4 3 End of line Sequence for details Current pixel coefficient set loaded Refer to section 3 5 1 Saving and Restoring PRNU and FPN Coefficients for details States whether FPN coefficients are on or off Set with the epc command Refer to section 3 4 2 Analog and Digital Signal Processing Chain for d
44. e camera always returns 1 factory settings have been saved get roi Returns the current region of interest get rus Returns whether user settings have been saved 0 No user settings saved 1 User settings have been saved get sag t Returns the analog gain in dB for the tap indicated t Tap value 0 for all taps or 1 to 8 for individual tap selection get sao t Returns the analog offset for the tap indicated t 0 for all taps or 1 to 8 for individual tap selection get sbr Returns the speed of camera serial communication port get sdo t Returns the digital offset value in DN for the tap indicated t Tap value 0 for all taps or 1 to 8 for individual tap selection get sem Returns the current exposure mode 3 External SYNC maximum exposure time 7 Internal programmable SYNC maximum exposure time Factory setting get sfc x Returns the FPN coefficient for the pixel number idicated x pixel number within the range 1 to sensor pixel count get sgr Returns the current analog gain reference value in dB get slt Returns the current lower threshold value get sot Returns the Camera Link strobe rate get spc x Returns the PRNU coefficient for the specified pixel number x pixel number within the range 1 to sensor pixel count get spt Returns the current pretrigger value get ssb t Returns the current background subtract value t Tap value 0 for all taps or 1 to 8 for individual tap selection get ssf Retu
45. e current pixel coefficients to zero This command does not reset saved coefficients Syntax rpc DALSA 03 032 10216 01 54 Piranha 3 User Manual Notes The digital offset is not reset 3 5 2 Rebooting the Camera The command rc reboots the camera The camera starts up with the last saved settings and the baud rate used before reboot Previously saved pixel coefficients are also restored 3 6 Diagnostics 3 6 1Generating a Test Pattern Purpose Generates a test pattern to aid in system debugging The test patterns are useful for verifying proper timing and connections between the camera and the frame grabber The following tables show each available test pattern Syntax svm i Syntax Elements i 0 Video 1 12bit ramp test pattern 2 Sbitstep test pattern LS Example svm 1 3 6 2 Returning Video Information The camera s microcontroller has the ability to read video data This functionality can be used to verify camera operation and to perform basic testing without having to connect the camera to a frame grabber This information is also used for collecting line statistics for calibrating the camera Returning a Single Line of Video Purpose Returns a complete line of video without pixel coefficients or test pattern displaying one pixel value after another After pixel values have been displayed it also displays the minimum maximum and mean value of the line sampled within the region of interest the reg
46. e of image sensing products please call DALSA Sales Offices Waterloo Europe Asia Pacific 605 McMurray Rd Breslauer Str 34 Space 61 Building 4F Waterloo ON N2V 2E9 D 82194 Gr benzell Munich 2 40 2 Ikebukuro Canada Germany Toshima ku Tokyo 171 0014 Tel 519 886 6000 Tel 49 8142 46770 Japan Fax 519 886 8023 Fax 49 8142 467746 81 3 5960 6353 phone www dalsa com www dalsa com 81 3 5960 6354 fax sales americas dalsa com sales europe dalsa com www dalsa com sales asia dalsa com DALSA Worldwide Operations Waterloo Colorado Springs Europe Asia Pacific 605 McMurray Rd 4820 Centennial Blvd Suite 115 Breslauer Str 34 Ikebukuro East 13F Waterloo ON N2V 2E9 Colorado Springs CO 80919 D 82194 Gr benzell Munich 3 4 3 Higashi Ikebukuro Canada USA Germany Toshima ku Tokyo 170 Tel 519 886 6000 Tel 719 599 7700 Tel 49 8142 46770 0013 Fax 519 886 8023 Fax 719 599 7775 Fax 49 8142 467746 Japan www dalsa com www dalsa com www dalsa com Tel 81 3 5960 6353 sales americas dalsa com sales americas Ddalsa com sales europe D dalsa com Fax 81 3 5960 6354 fax www dalsa com sales asia dalsa com Camera Link is a trademark registered by the Automated Imaging Association as chair of a committee of industry members including DALSA 03 032 10216 01 DALSA Piranha 3 User Manual DALSA Contents Introduction to the Piranha3 Camera 7 TA Camera Highlighis a a a
47. eesssssssssesessassssesscsssssseeeeusa 66 Troubleshooting 68 5 1 Common Solutions 68 5 2 Troubleshooting Using the Serial Interface ssssssssssscssssssssseccsssssssssesssssssssssccsssssssssesssasssseessasesssesscsssssseseeuss 69 A testet tete A E a a 69 Verify Parameters Verify Factory Calibrated Settings Verify Timing and Digital Video Path ed 69 SERT ITI T 69 No Output or Erratic Behavior Line Dropout Bright Lines or Incorrect Line Noisy Output Dark Patches Poste snper dada idis gado 70 5 4 Prod c dtr be ab atm 71 Camera Link Reference Timing and Configuration Table 72 LVDS Technical Description ssssssssssscssssssssscssssssssesssssssssssscsssssssssesesssssnsssessussnsssscescssssssssusssseesesusssses 72 Camera Signal Requirements sssssssssccccsssssssecssssssssssccssssssssccsscsssssssccsussssssecscsssssssesssssssesscsssssseeeeusa 72 Video ean 73 Camera Control Signals Communication Error Handling and Command List 76 BI Error Hearne iris 2 5 trt ere a Ue 76 03 032 10216 01 DALSA Pi
48. est command is explained in section 3 4 1 Setting a Region of Interest ROI Syntax gla 1 x2 Syntax Elements x1 Column start number Must be less than or equal to the column end number in a range from 1 to column resolution x2 Column end number Must be greater than or equal to the column start number in a range from 1 to column resolution Notes e Analog gain analog offset digital offset background subtract and digital system gain are applied to the data FPN and PRNU coefficients are not included in the data e Values returned are in 12 bit DN Related Commands css roi Example gla 10 20 DALSA 03 032 10216 01 56 Piranha 3 User Manual 3 6 3 Temperature Measurement The temperature of the camera can be determined by using the vt command This command will return the internal chip case temperature in degrees Celsius For proper operation this value should not exceed 75 Note If the camera reaches 75 the camera will shutdown and the LED will flash red If this occurs the camera must be rebooted using the command rc or can be powered down manually You will not be able to restart the camera until the temperature is less than 65 You will have to correct the temperature problem or the camera will shutdown again The camera allows you to send the vt verify temperature command while it is in this state 3 6 4 Voltage Measurement The command vv displays the camera s input voltage Note that the v
49. estrictions It is important to do the FPN correction first Results of the FPN correction are used in the PRNU procedure We recommend that you repeat the correction when a temperature change greater than 10 C occurs or if you change the analog gain integration time or line rate PRNU correction requires a clean white reference The quality of this reference is important 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 not to affect camera performance and calibration results For best results the analog gain should be adjusted for the expected operating conditions and the ratio of the brightest to darkest pixel in a tap should be less than 3 to 1 where 3 gt Brightest Pixel per tap Darkest Pixel per tap The camera is capable of operating under a range of 8 to 1 but will clip values larger than this ratio The brightest pixel should be slightly below the target output When 6 25 of pixels from a single row within the region of interest are clipped 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 Piranha 3 User Manual Set up t
50. etails States whether PRNU coefficients are on or off Set with the epc command Refer to section 3 4 2 Analog and Digital Signal Processing Chain for details Number of lines samples set with the css command See section 3 6 2 Returning Video Information for details Upper threshold value set with the sut command See section 3 4 3 End of line Sequence for details Lower threshold value set with the slt command See section 3 4 3 End of line Sequence for details Camera Link mode set with the c1m command See section 3 3 1 Setting the Camera Link Mode for details DALSA Piranha 3 User Manual Output Throughput Pretrigger Analog Gain dB Analog Reference Gain dB Total Analog Gain dB Analog Offset Digital Offset Background Subtract System Gain DALSA w o w w o w o o 100 100 100 50 150 150 150 125 125 125 w oo 100 100 100 50 50 150 150 150 125 125 125 Ww w 100 100 50 150 150 125 125 50 50 59 Camera throughput value set with the sot command Throughput is set to 320 and is not configurable in the Piranha3 camera See section 3 3 2 Setting the Camera Throughput for details Pretrigger set with the spt command See section 3 3 3 Setting a Pretrigger Analog gain settings set with the sag command See section 3 4 2 Analog and Digital Signal Processing Chain for details Analog reference
51. ffset FPN ECD FPN ECE FPN Corrected PRNU ECD PRNU ECE 03 032 10216 01 Unit Min DN nJ cm2 DN 1000 ratio DN DN DN DN DN Units kHz MHz dB 10 dB Typ zal 4 0 1036 160 4 12 3 120 125 80 16 16 56 58 10 dB 43 6 3 3 1242 160 9 12 3 120 125 8k 33 7 320 10 to 10 Max Min 189 5 0 274 13 25 8 330 330 255 48 48 Max Min 121 4 1 316 13 25 8 330 330 12k 235 320 10 to 10 P3 8k 0 dB Typ Max Min 224 236 12 5 15 0 328 82 160 10 40 58 80 4 8 120 330 140 330 80 255 18 64 18 64 56 18 P3 12k 0 dB Typ Max Min 138 145 10 5 13 391 100 160 16 40 40 80 4 8 120 330 130 330 Piranha 3 User Manual Notes 10 dB Typ Max Notes 708 1 40 0 50 0 103 160 3 32 128 2 180 260 2 10 16 4 140 330 2 220 330 2 80 255 48 80 2 5 6 80 232 56 6 10 dB Typ Max 436 1 33 42 125 160 3 58 128 2 120 255 2 10 16 4 140 330 2 180 330 2 DALSA Piranha 3 User Manual PRNU Pixel to Pixel PRNU Corrected ECD ECE NEE SEE DALSA DN 80 255 80 255 80 255 DN 16 64 18 64 48 80 2257016 16 64 18 64 80 239 pJ cm2 76 76 76 nJ cm2 95 30 95 Test conditions unless otherwise noted Data Rate 40MHz Line Rate 2 5kHz Light Source Broadband Quartz Halogen 3250k with 750nm cutoff filter installed Ambient test temperature 25 All numbers referenced to 12 bits unless otherwise specified Specifications are only valid
52. ffset sao or use the automated algorithm cao 0 i If the average of the pixels is too high for your application reduce the analog offset or gain level sag 3 Issue the command ccf The camera will respond with OK if no error occurs FPN calculation automatically calibrates FPN coefficients and digital offset 4 After the calibration is complete you should save these settings to non volatile memory so they will be reusable on reboot To do so issue the commands wfc and wus 5 To verify output enable the FPN coefficients using the command epc 1 0 You should see close to zero output Perform PRNU calculation next to determine the multiplication factors required to bring each pixel to the required value balance target for flat white output 1 Place a white reference in front of the camera 2 Verify that the output signal level is within range by issuing the command gl or gla If the signal level is too low increase your light level adjust the analog gain sag 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 ccp The camera will respond with OK gt if no error occurs 4 After the calculation is complete you can save these settings to non volatile memory so they will be remembered after power down and direction change To do so issue the commands wpc and wus 5 Enable
53. gain set with the ugr command See section Analog Signal Processing for details This is the sum of the analog gain and analog gain reference values and is the total analog gain being used by the camera Analog offset settings set with the sao command See section 3 4 2 Analog and Digital Signal Processing Chain for details Digital offset settings set with the sdo command See section 3 4 2 Analog and Digital Signal Processing Chain for details Background subtract settings set with the ssb command See section 3 4 2 Analog and Digital Signal Processing Chain for details Digital gain settings set with the ssg command See section 3 4 2 Analog and Digital Signal Processing Chain for details 03 032 10216 01 60 03 032 10216 01 Piranha 3 User Manual 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 Refer to Table 14 below for a list of available commands To view a help screen listing the following get commands use the command gh Table 14 Get Commands Syntax get get get get get get get get get get get get get get cao ccf ccp clm css els epc gem gcs gcv gfc gl gla gsf Parameters t x1 x2 1 2 1
54. he camera operating environment i e line rate exposure offset gain etc lt Set the calibration sample size using the command css It is recommended that you use the default setting 37 Signal output should be no higher than 80 of saturation i e When your output is 12 bit data then 8076 of 4096 is 3276 For 8 bit output 8076 of 256 is 204 Your analog offset setting should not be clipping more than 6 2576 of the pixels within the region of interest Digital offset and digital system gain and background subtract values should be set to zero ssb 0 0 sdo 0 0 ssg 0 0 v Set the region of interest to include all of the image s pixels of importance using the command roi x1 y1 x2 y2 You can use the default if you want to calibrate all pixels v Perform FPN calculation Perform PRNU calculation FPN calculation removes the fixed pattern noise dark current from the video path It is recommended you repeat the calculation when a temperature change greater than 10 C occurs or when there is a significant change in integration time or analog gain 1 Stop all light from entering the camera Tip Cover lens with a lens cap 2 Verify that the output signal level is within range by issuing the command glor gla If there are too many zeros in the output data more than 6 25 of output data within the roi increase the analog o
55. icients disabled 1 PRNU coefficients enabled Refer to section Enabling and Disabling Pixel Coefficients on page 49 for details Reads the camera model number Reads all of the camera parameters Read the camera serial number Read the firmware version and FPGA version Retrieves camera settings for the command name specified Refer to Returning Camera Settings with Get Commands on page 60 for details Read the FPN coefficient i pixel number to read in a range from 1 sensor pixel count Refer to Returning Calibration Results and Errors on page 49 for details Lists all of the available get commands Get a line of video not including FPN and PRNU coefficients displaying one pixel value after another and the minimum maximum and mean value of the sampled line 1 Pixel start number x2 Pixel end number in a range from 1 to sensor pixel count Refer to Returning a Single Line of Video on page 54 for details DALSA Piranha 3 User Manual DALSA Command get line average get prnu coeff get signal frequency get sensor serial help load pixel coefficients reset camera restore factory settings region of interest reset pixel coeffs restore user settings Syntax gla gs f gss lpc rc rfs roi rpc rus Parameters xl x2 1 yl x2 y2 81 Description Read the average of line samples x1 Pixel start number x2 Pixel end number in a range from
56. ion of interest command is explained in section 3 4 1 Setting a Region of Interest ROI Use the g1 command or the following g1a command to ensure the proper video input range into the processing chain before executing any pixel calibration commands Syntax gl 1 x2 Syntax Elements 1 03 032 10216 01 DALSA Piranha 3 User Manual Pixel start number Must be less than or equal to the pixel end number in a range from 1 to sensor resolution x2 Pixel end number Must be greater than or equal to the pixel start number in a range from 1 to sensor resolution Notes e Values returned are in 12 bit DN Related Commands roi Example gl 10 20 Returning Averaged Lines of Video Setting the Number of Lines to Sample Purpose Sets the number of lines to sample when using the g1a command or when performing FPN and PRNU calibration Syntax css i Syntax Elements i Number of lines to sample Allowable values are 256 512 or 1024 factory setting Notes e To return the current setting use the gcp command or get css Related Commands gla ccf ccp cpa Example css 1024 Returning the Average of Multiple Lines of Video Purpose Returns the average for multiple lines of video data without pixel coefficients or test pattern The number of lines to sample is set and adjusted by the ess command The camera displays the Min Max and Mean statistics for the pixels in the region of interest the region of inter
57. kground 47 sync frequency 56 T tap matching 39 Technical Sales Support 71 temperature measurement 56 test patterns 54 threshold lower 51 upper 51 93 throughput 32 timing 19 camera 19 Camera Link 19 mode 7 30 trigger external 19 troubleshooting 68 connections 68 horizontal lines 70 line rates 69 serial interface 69 V video data 55 73 voltage measurement 56 warning messages 76 03 032 10216 01
58. l PRNU Coefficients Purpose Sets a range of pixel PRNU coefficients Syntax spr i i x Syntax Elements i The first pixel number of the range i The last pixel number of the range x Coefficient value in a range from 0 to 28671 where fficient 1 ru coefficient P 4096 Notes e first pixel of the range must be less than the last Example spr 4001 4096 0 Subtracting Background Purpose Use the background subtract command after performing flat field correction if you want to improve your image in a low contrast scene It 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 selection Allowable range is 1 to 8 or O for all taps Subtracted value in a range in DN from 0 to 4095 DALSA 03 032 10216 01 48 Notes Related Commands Example Piranha 3 User Manual e When subtracting a digital value from the digital video signal the output can no longer reach its maximum Use the ssg command to correct for this where max output value ssg value output value ssb value See the following section for details on the ssg command ssg ssb 0 25 Setting Digital System Gain Purpose Syntax Syntax Elements Related Commands Example 03 032 10216 01 Improves signal output swing after a backg
59. lm 21 Full 8 Camera Link taps 40MHz 8 where 1 CCD tap 1 2 CCD tap 2 3 CCD tap 3 4 CCD tap 4 5 CCD tap 5 6 CCD tap 6 7 CCD tap 7 8 CCD tap 8 3 3 2 Setting the Camera Throughput Purpose In DALSA cameras the sot command works in conjunction with the c1m command see above and determines the throughput of the camera The Piranha3 currently only supports a throughput of 320 This may change in future cameras Syntax sot m Syntax Elements m Output throughput Allowable value is 320 4 taps at 8OMHz or 8 taps at 40MHz 03 032 10216 01 DALSA Piranha 3 User Manual 33 3 3 3 Setting a Pretrigger Purpose Some framegrabbers require a small amount of time several pixels to acquire data from a camera Pretrigger allows the framegrabber set up time by sending the LVAL signal high several pixels earlier than valid data Syntax spt i Syntax Elements i Pretrigger in a range from 0 to 16 3 4 Data Processing 3 4 1Setting a Region of Interest ROI Purpose Sets the pixel range used to collect the end of line statistics and sets the region of pixels used in the ccg cao g1 gla ccf ccp and cpa commands In most applications the field of view exceeds the required object size and these extraneous areas should be ignored It is recommended that you set the region of interest a few pixels inside the actual useable image Syntax roi x1 yl x2 y2 Syntax Elements x1 Pixel start number Mu
60. ls within the region of interest Syntax els i Syntax Elements i o Disable end of line sequence 1 Enable end of line sequence Notes e LVAL is not high during the end of line statistics Example els 1 Table 13 End of Line Sequence Description Location Value Description 1 A s By ensuring these values consistently toggle between aa and 55 you can 2 5 s verify cabling i e no stuck bits DALSA Piranha 3 User Manual DALSA Location Value 3 A s 4 4 bit counter LSB justified 5 Line sum 7 0 6 Line sum 15 8 7 Line sum 23 16 8 Line sum 31 24 9 Pixels above threshold 7 0 10 Pixels above threshold 15 8 11 Pixels below threshold 7 0 12 Pixels below threshold 15 8 13 Differential line sum 7 0 14 Differential line sum 15 8 15 Differential line sum 23 16 16 Differential line sum 31 24 Setting Thresholds Setting an Upper Threshold 51 Description Counter increments by 1 Use this value to verify that every line is output Use these values to help calculate line average and gain 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 Use these values to focus the camera Generally the greater the sum the greater the image contrast and better the focus Sets the upper threshold limit to report in the end of line
61. mera gain calibration then turn off all digital settings by sending the commands sdo 0 0 epc 0 0 ssb 0 0 and ssg 0 4096 ccg 2 0 3040 sag ssg 03 032 10216 01 40 Piranha 3 User Manual Setting Analog Offset Purpose Syntax Syntax Elements Notes Example Related Commands 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 sao t i t Tap selection Use 0 for all taps or 1 to 8 for individual tap selection Offset value in a range from 0 to 255DN 12 bit LSB e To return the current analog offset value use the command gcp or get sao sao 3 35 cao Calibrating Analog Offset Purpose Syntax Syntax Elements Notes Example Related Commands 03 032 10216 01 Instead of manually setting the analog offset to a specific value the camera can determine appropriate offset values This command calculates and averages each tap s pixels within the region of interest and sets the offset to achieve the specified average target value cao ti t Tap selection Use 0 for all taps or 1 to 8 for individual tap selection Average target value in a range from 0 to 255DN 12 bit LSB e Perform analog offset calibration before performing FPN and PRNU coefficients
62. mine appropriate gain values for optimal tap matching This command calculates and sets the analog gain according to the algorithm determined by the first parameter Purpose Syntax Syntax Elements Notes Example Related Commands DALSA ccg i t i 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 2 This algorithm adjusts analog gain so that the average pixel value in tap s ROI is equal to the specified target value 3 This algorithm adjusts digital gain ssg 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 maximum pixel per tap within the ROI of the multi line average css command is equal to the specified target Tap value Use 0 for all taps or 1 to 8 for individual tap selection Calculation target value in a range from 1024 to 4055DN 12 bit LSB This function requires constant light input while executing If very few tap pixels are within the ROI gain calculation may not be optimal When all taps are selected taps outside of the ROI are set to the 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 ca
63. ms just the same as exposing an intensity of 5W cm for 1ps Light Sources Keep these guidelines in mind when setting up your light source LED light sources are relatively inexpensive provide a uniform field and longer life span compared to other light sources However they also require a camera with excellent sensitivity such as the Piranha3 cameras Halogen light sources generally provide very little blue relative to 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 from distorting the images you scan use a hot mirror or IR cutoff filter that transmits visible wavelengths but does not transmit wavelengths over 750nm Examples are the Schneider Optics B W 489 which includes a mounting ring the CORION LS 750 which does not include a mounting ring and the CORION HR 750 series hot mirror 03 032 10216 01 66 03 032 10216 01 Piranha 3 User Manual Lens Modeling Any lens surrounded by air can be modeled for camera purposes using three primary points the first and second principal points and the second focal point The primary points for a lens should be
64. nd 2 Next if using mode 2 7 or 8 use the commands ssf and or set to set the line rate and exposure time Setting the Exposure Mode Purpose Sets the camera s exposure 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 7 Notes e Refer to Table 11 Piranha3 Exposure Modes for a quick list of available modes or to the following sections for a more detailed explanation e obtain the current value of the exposure mode use the command gcp or get sem Related Commands ssf set Example sem 3 Table 11 Piranha3 Exposure Modes Programmable Line Rate Programmable Exposure Time Mode SYNC PRIN 4 y Description 2 Internal Internal Yes Yes Internal frame rate and exposure time Exposure mode enabled ECE 3 External Internal No No Maximum exposure time Exposure control disabled ECD External Internal No No Smart EXSYNC ECE 5 External External No No External sync external pixel reset ECE 6 External Internal No Yes Fixed integration time ECE 7 Internal Internal Yes No Internal line rate maximum exposure time ECD DALSA 03 032 10216 01 28 Piranha 3 User Manual Mode SYNC PRIN Description 8 Internal Internal No Yes Maximum line rate for exposure time ECE Note When setting the camera to external signal modes EXSYNC and or PRIN must be supplied Exposure Modes in Detail Mode 2 In
65. nnectors 13 1 CEEE Unused pairs should be terminated in 100 14 ohms at both ends of the cable Mating Part 3M 334 31 series Cable 14X26 SZLB XXX 0LC DALSA 03 032 10216 01 03 032 10216 01 Piranha 3 User Manual The Camera Link interface is implemented as a Medium or Full Configuration in the Piranha3 cameras Refer to section 3 3 1 Setting the Camera Link Mode for details on setting the Camera Link configuration Table 7 Camera Link Hardware Configuration Summary Configuration 8 Bit Ports Serializer Number Supported Bit Width of Chips Medium 28 2 Full A B C D E F G H 28 3 Table 8 Camera Link Connector Pinout Medium and Full Configuration Camera Connector Right Angle Channel Link Frame Grabber Signal 1 1 inner shield 14 14 inner shield 2 25 Y0 15 12 YO 3 24 Y1 16 11 Y1 4 28 Y2 17 10 Y2 5 22 Yclk 18 9 Yclk 6 21 Y3 19 8 Y3 7 20 100 ohm 20 7 terminated 8 19 Z0 21 6 70 9 18 71 22 5 71 10 17 72 23 4 72 11 16 Zclk 24 3 Zclk 12 15 73 25 2 73 13 13 inner shield 26 26 inner shield Table 9 DALSA Camera Control Configuration Signal Configuration 1 2 PRIN CC3 Spare CC4 Spare Number of MDR26 Connectors 2 2 Cable Name Inner Shield Inner Shield PAIR1 PAIR1 PAIR2 PAIR2 PAIR3 PAIR3 PAIR4 PAIR4 PAIR5 PAIR5 PAIR6 PAIR6 PAIR7 PAIR7 PAIR8 PAIR8 PAIR9 PAIR9 PAIR10 PAIR10 PAIR11 PA
66. o view a help screen listing all of the get commands use the command Syntax gh Notes For more information on the camera s get commands refer to section 3 6 6 Returning Camera Settings The camera configuration command help screen lists all available commands Parameter ranges displayed are the absolute maximum ranges available Depending on the current 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 DALSA Piranha 3 User Manual ssg svm ugr vt vv wfc wpc wus DALSA P3 12k Example Help Screen calibrate analog offset correction calibrate fpn calibrate camera gain correction calibrate prnu camera link mode calibrate PRNU algorithm correction set sample display pixel coeffs end of line sequence enable pixel coefficients get camera model get camera parameters get camera serial get camera version get values get fpn coeff get help get line get line average get prnu coeff get signal frequency get sensor serial help load pixel coefficients reset camera restore factory settings region of interest reset pixel coeffs restore user settings set analog gain set analog offset set baud rate set digital offset set exposure mode Set exposure time set fpn coeff set fpn range
67. ocessing Chain Overview and Description sssssssscccssssssssscssssssssssssssssssssscesussssssssssssssssseceseassessesssssees 33 Calibrating the Camera to Remove Non Uniformity Flat Field 35 Analog Signal Processing Setting Analog Gain and 0 5 38 Digital Signal Processing Returning Calibration Results and Errors 03 032 10216 01 4 Piranha 3 User Manual Setting Thresholds 2 irma da 5 3 5 Saving and Restoring Settings csssssssscsssssssssseccssssssssssssssssssssessssssssesssssssssssssesussssseesussssseseessasssssesssssssssseeeuss 52 3 6 Diagnostics Returning a Single Line of Video Returning Averaged Lines of Video Returning All Camera Settings with the Camera Parameter 57 Returning Camera Settings with Get Commands ssssssssssccsssssssssccesssssssssesssessssssescesssssseeesssssssssessssees 60 Optical and Mechanical Considerations 64 4 TMMechanical lfetfuce c erret ster nen 64 4 2 Lens MOUNIS 65 4 3 Optical Irif rf te er Rete e ot ei e e Nei I EUR CR ERREUR 65 Illumination Light Sources 65 Filters Lens te 66 Magnification and Resolution sssssssssscccsssssssesssssssssescessssssssesssssssssecesussssss
68. oefficients Purpose Sets a range of pixel FPN coefficients Syntax sfrxxi Syntax Elements x The first pixel number of the range x The last pixel number of the range i Coefficient value in a range from 0 2048 Notes e first pixel of the range must be less than the last Example sfr 1 100 80 DALSA 03 032 10216 01 50 Piranha 3 User Manual Returning PRNU Coefficients Purpose Returns a pixel s PRNU coefficient value in DN 12 bit LSB Syntax gpc i Syntax Elements i The pixel number to read in a range from 1 to sensor pixel count Example gpc 10 Enabling and Disabling Pixel Coefficients Purpose Enables and disables FPN and PRNU coefficients Syntax epc ii Syntax Elements i FPN coefficients 0 FPN coefficients disabled 1 FPN coefficients enabled i PRNU coefficients 0 PRNU coefficients disabled 1 PRNU coefficients enabled Example epc 0 1 3 4 3 End of line Sequence 03 032 10216 01 Purpose Produces an end of line sequence that provides basic calculations including line counter line sum pixels above threshold pixels below threshold and derivative line sum within the region of interest These basic calculations are used to calibrate analog offset cao and calibrate analog gain ccg To further aid in debugging and cable data path integrity the first three pixels after Line Valid are aa 55 aa Refer to the following table These statistics refer only to pixe
69. oltage measurement feature of the camera provides only approximate results typically within 1076 The measurement should not be used to set the applied voltage to the camera but only used as a test to isolate gross problems with the supply voltage 3 6 5 Camera Frequency Measurement 03 032 10216 01 Purpose Returns the frequency for the requested Camera Link control signal Syntax gsf i Syntax Elements i Camera Link control signal to measure 1 CC1 EXSYNC 2 CC2 PRIN 3 CC3 Spare 4 CC4 Spare Example gsf 1 DALSA Piranha 3 User Manual al 3 6 6 Returning Camera Settings Returning All Camera Settings with the Camera Parameter Screen DALSA 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 gcp GCP Screen GENERAL CAMERA SETTINGS Camera Model Camera Serial Firmware Design Rev CGI Version FPGA Design Rev UART Baud Rate Exposure Mode SYNC Frequency Internal Exposure Time Video Mode P3 xx XXxxx XXXXXXXXX XX XX XXXXX XX 03 81 xxxxx xx XXX XX 9600 5000 Hz 50 uSec video Desctiption Camera model number Camera serial number Firmware design revision number CGI version Part of FPGA firmware DSP design revision number Serial communication connection speed set with the sbr comman
70. on 3 4 Region of Interest roi Set Analog Gain sag or ceg Update Gain Reference ugr SetAnalog Offset sao Calibrate Analog Offset cao Correction Set Sample css Calculate FPN Set Digital Offset sdo Calculate PRNU cep Enable Pixel Coefficients epc Set PRNU Coefficient spc Set FPN Coefficient s c Set PRNU Range spr Set FPN Range sfr Set Background Subtract ssb Set Digital System Gain s sg 03 032 10216 01 Saving and Restoring Settings Section 3 5 Save Current User Settings wus Restore Previously Saved User Settings rus Save Current PRNU Coefficients wpc Save Current FPN Coefficients w c Load Pixel Coefficients 1pc Reset Pixel Coefficients rpe Restore Factory Settings x s Reboot Camera rc Diagnostics Section 3 6 Get Line of Data g1 Getan Average of Multiple Lines g1a Display Pixel Coefficients Measure Internal Temperature vt Measure Input Voltage vv Get Commands DALSA Piranha 3 User Manual 2 3 2 Sensor Output Format 3 2 1 Exposure Mode Line Rate and Exposure Time Overview You have a choice of operating in one of seven modes The camera s line rate synchronization can be generated internally through the software command ssf or set externally with an EXSYNC signal depending on your mode of operation To select how you want the camera s line rate to be generated 1 Youmust first set the camera mode using the sem comma
71. orrection ccf command If you are unable to perform FPN correction you can partially remove FPN by adjusting the digital offset Syntax sdo t i Syntax Elements t Tap selection Allowable range is 1 to 8 or 0 for all taps Subtracted offset value in a range from 0 to 2048 where AN Coeffident 12 bit LSB Justified Notes e When subtracting a digital value from the digital video signal the output can no longer reach its maximum unless you apply digital gain using the ssg command See the previous section for details on the ssg command Related Commands ssg Example sdo 0 100 PRNU Correction Performing PRNU Correction 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 ccp Notes e Perform all analog adjustments before calculating PRNU e Perform FPN correction before PRNU correction e If FPN cannot be calibrated use the rpc command to reset all coefficients to zero and save them to memory with the wfc command You can then adjust the digital offset sdo command to remove some of the FPN e Ensure camera is operating at its expected analog gain integration time and temperature e Refer to Calibrating the Camera to Remove Non Uniformity Flat Field Correction on page 35 for a procedural overview on performing flat field correction Related Commands ccf DAL
72. ranha 3 User Manual DALSA B2 All Available Commands sssssssscssssssssssssssccccssssssssssssssssssssscescssssesesssssssssssssssscsesssssssssssssssseessessesusssssssssssessseeeeeee EMC Declaration of Conformity Index 03 032 10216 01 6 Piranha 3 User Manual 03 032 10216 01 DALSA Piranha 3 User Manual Introduction to the Piranha3 Camera 1 1Camera Highlights Features 8k or 12k resolution e Up to 33 7 kHz line rates Selectable 8 or 12 bit output e 320MHz throughput 8x40 MHz e 100xantiblooming Selectable Medium or Full Camera Link configuration interface Automatic tap balancing algorithms RoHS CE and FCC compliant Key Specifications Value Units 8k 12k Typ OdB Gain Typ OdB Gain Pixel Pitch um 7x7 5x5 Camera Size mm 150 x 42 x 80 150 x 42 x 80 Maximum Line Rate kHz 33 7 23 5 Broadband Responsivity DN nJ cm 224 138 Random Noise rms DN 12 5 10 5 Dynamic Range 8 bit ratio 328 1 391 1 FPN Corrected DN 4 4 PRNU Corrected DN 18 18 Note All numbers referenced to 12 bits unless otherwise specified DALSA 03 032 10216 01 8 Piranha 3 User Manual Programmability Simple ASCII protocol controls gain offset line rates trigger mode pixel correction test pattern output and camera diagnostics Description The next generation of Piranha line scan cameras has arrived with more power more speed and more resolution than ever before The Piranha3 camera family takes im
73. rns the current line frame rate in Hz get ssg t Returns the current digital gain setting t tap selection either 1 to 8 or 0 for all taps get sut Returns the current uppder threshold value DALSA 03 032 10216 01 62 03 032 10216 01 Syntax get get get get get get get svm ugr vt wfc wpc wus Parameters Piranha 3 User Manual Description Returns the current video mode 0 Normal video mode 1 Test pattern 2 Test pattern 3 Test pattern Returns the gain reference value Returns the camera s internal chip temperature in degrees Celsius Returns the camera s supply voltage Returns whether FPN coefficients have been saved 0 No FPN coefficients saved 1 Pixel coefficients have been saved Returns whether PRNU coefficients have been saved 0 No PRNU coefficients saved 1 Pixel coefficients have been saved Returns whether user settings have been saved 0 No user settings saved 1 User settings have been saved DALSA Piranha 3 User Manual DALSA 63 03 032 10216 01 64 Piranha 3 User Manual Optical and Mechanical Considerations 4 1Mechanical Interface Figure 18 Piranha3 Mechanical Drawing 420 6 56 0 25 CCD OPTICAL as 25 00 0 05 IMAGING CENTER CCD DISTANCE FROM IMAGING L 32 TOPOFCCD gt 80 0 CENTER 4x TODATUMA 120 4X i Y o 13 5 2X M
74. round subtract When subtracting a digital value from the digital video signal using the ssb command the output can no longer reach its maximum Use this command to correct for this where max output value ssg value max output value ssb value ssg t i Tap selection Allowable range is 1 to 8 or 0 for all taps Gain setting The gain ranges are 0 to 65535 The digital video values are multiplied by this value where Digital Gain Z gt 4096 Use this command in conjunction with the ssb command ssb ssg 1 15 DALSA Piranha 3 User Manual 4 Returning Calibration Results and Errors Returning All Pixel Coefficients Purpose Returns all the current pixel coefficients in the order FPN PRNU FPN PRNU for the range specified by x1 and x2 The camera also returns the pixel number with every fifth coefficient Syntax dpc x1 x2 Syntax Elements x1 Start pixel to display in a range from 1 to sensor pixel count x2 End pixel to display in a range from 1 to sensor pixel count Notes This function returns all the current pixel coefficients in the order FPN PRNU FPN PRNU The camera also returns the pixel number with each coefficient 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 Example gfc 10 Setting a Range of FPN C
75. se attach text received from the camera after initiating the command please attach description with as much detail as appropriate In addition to your local DALSA representative you may need to call DALSA Technical Sales Support North America Voice 519 886 6000 Fax 519 886 8023 Europe Asia 49 8142 46770 519 886 6000 49 8142 467746 519 886 8023 03 032 10216 01 72 03 032 10216 01 Piranha 3 User Manual Appendix A Camera Link Reference Timing and Configuration Table Camera Link is a communication interface for vision applications It provides a connectivity standard between cameras and frame grabbers A standard cable connection will reduce manufacturers support time and greatly reduce the level of complexity and time needed for customers to successfully integrate high speed cameras with frame grabbers This is particularly relevant as signal and data transmissions increase both in complexity and throughput A standard cable connector assembly will also enable customers to take advantage of volume pricing thus reducing costs The camera link standard is intended to be extremely flexible in order to meet the needs of different camera and frame grabber manufacturers The DALSA Camera Link Implementation Road Map available at http v m dalsa com support appnotes 00450 00 03 32 DALSA Camera Link Road Map pdf details how DALSA standardizes its use of the Camera Link interface LVDS Techni
76. st be less than the pixel end number in a range from 1 to sensor resolution y1 Column start number Since the Piranha3 is a line scan camera this value must be 1 x2 Pixel end number Must be greater than or equal to the pixel start number in a range from 2 to sensor resolution y2 Column end number Since the Piranha3 is a line scan camera this value must be 1 Notes e To return the current region of interest use the commands gcp or get roi Related Commands ccg cao gl gla ccf ccp els Example roi 101 501 3 42 Analog and Digital Signal Processing Chain Processing Chain Overview and Description The following diagram shows a simplified block diagram of the camera s analog and digital processing chain The analog processing chain begins with an analog gain DALSA 03 032 10216 01 34 Piranha 3 User Manual adjustment followed by an analog offset adjustment These adjustments are applied to the video analog signal prior to its digitization by an A D converter The digital processing chain contains the FPN correction the PRNU correction the background subtract and the digital gain and offset All of these elements are user programmable Figure 13 Signal Processing Chain AdagRoesirg NE Dgta Rroessng noe O O O analog analog i PRNU background system gain offset i gt coefficients subtract gain E digital offset FPN coefficients Analog Processing Optimizing offset performance and gain
77. t the photo sites are integrating Clock synchronization will lead to integration time jitter which is shown in the specification as values The user should command times greater than these to ensure proper charge transfer from the photosites Failure to meet this requirement may result in blooming in the Horizontal Shift Register 2 Min ns 3 000 3 000 03 032 10216 01 22 Piranha 3 User Manual 03 032 10216 01 DALSA Piranha 3 User Manual 23 Software Interface How to Control the Camera All Piranha3 camera features can be controlled through the serial interface The camera can also be used without the serial interface after it has been set up correctly Functions available include e Controlling basic camera functions such as gain and sync signal source e Flat field correction This chapter outlines the more commonly used Generating a test pattern for debugging commands See section B2 The serial interface uses a simple ASCII based protocol and the camera does not require All Available Commands any custom software for a list of all available commands Serial Protocol Defaults e 8 data bits e lstop bit e No parity e flow control e 9 6kbps e Camera does not echo characters Command Format When entering commands remember that e A carriage return CR ends each command e A space or multiple space characters separate parameters Tabs or commas are invalid parameter separators e
78. ternally Programmable Line Rate and Exposure Time Mode 2 operates at a user specified line rate and exposure time e When setting the line rate using the ssf command exposure time will be reduced if necessary to accommodate the new line rate The exposure time will always be set to the maximum time line period line transfer time pixel reset time for that line rate when a new line rate requiring reduced exposure time is entered e When setting the exposure time using the set command line time will be increased if necessary to accommodate the exposure time Under this condition the line time will equal the exposure time line transfer time Example 1 Exposure Time less than Line Period PROGRAMMABLE PERIOD Set COMMAND PROGRAMMABLE PERIOD lt lt i gn arte cn exrosunerne mue o ca cosine mue PROGRAMMABLE PERIOD SS f COMMAND PROGRAMMABLE PERIOD CR CHARGE RESET Mode 3 External Trigger with Maximum Exposure Line rate is set by the period of the external trigger pulses The falling edge of the external trigger marks the beginning of the exposure Example 2 Line Rate is set by External Trigger Pulses LINE PERIOD LINE PERIOD READOUT READOUT EXSYNC Y rv Y Y FALLING EDGE i FALLING EDGE IGNORED DURING IGNORED DURING READOUT READOUT 03 032 10216 01 DALSA Piranha 3 User Manual 29 Mode 4 Smart EXSYNC External Line Rate and Exposure Time
79. that 100um in the object space correspond to each pixel in the image sensor Using the preceding equation the object distance must be 450mm 0 450m 10um 45mm 100um OD OD 450mm 0 450m Deleted Magnification and Resolution The magnification of a lens is the ratio of the image size to the object size DALSA Piranha 3 User Manual DALSA 67 03 032 10216 01 68 Piranha 3 User Manual Troubleshooting The information in this chapter can help you solve problems that may occur during the setup of your camera Remember that the camera is part of the entire acquisition system You may have to troubleshoot any or all of the following e power supplies e cabling e frame grabber hardware amp software e host computer e light sources e optics e operating environment e encoder Your steps in dealing with a technical problem should be 1 Try the general and specific solutions listed in sections 5 1 5 2 and 5 3 2 If these solutions do not resolve your problem see section 5 4 on getting product support 5 1Common Solutions Connections 03 032 10216 01 The first step in troubleshooting is to verify that your camera has all the correct connections Power Supply Voltages Check for the presence of all voltages at the camera power connector Verify that all grounds are connected Data Clocking Output Signals To validate cable integrity have the camera send out a test pattern and
80. the coefficients using the command epc 1 1 Note All commands listed above are described in detail in the following sections in the order that they should be performed 03 032 10216 01 38 03 032 10216 01 Piranha 3 User Manual Analog Signal Processing Setting Analog Gain and Offset All analog signal processing chain commands should be performed prior to FPN and PRNU calibration and prior to digital signal processing commands All digital processing digital offset pixel coefficients background subtract and digital gain should be disabled prior to performing analog processing To disable digital processing send the following commands sdo 0 0 epc 0 0 ssb 0 0 ssg 0 4096 Setting Analog Gain Purpose Syntax Syntax Elements Notes Example Related Commands Sets the camera s analog gain value Analog gain is multiplied by the analog signal to increase the signal strength before the A D conversion It is used to take advantage of the full dynamic range of the A D converter sag t f t Tap selection Use 0 for all taps or 1 to 8 for individual tap selection Gain value in a range from 10 to 10dB in steps of 035 typical e To return the current analog gain setting use the command gcp or get sag sag 0 5 2 9 DALSA Piranha 3 User Manual 39 Calibrating Camera Gain Automatic Tap Matching Instead of manually setting the analog gain to a specific value the camera can deter
81. time Figure 11 Mode 7 Camera Timing LINE PERIOD LINE PERIOD EXPOSURE TIME EXPOSURE TIME Doo INTERNAL SYNC SET Y Y WITH SSf COMMAND EXSYNC FALLING EXSYNC FALLING EDGE IGNORED EDGE IGNORED DURING READOUT DURING READOUT ONLY POSSIBLE ON SOt CHANGE Mode 8 Maximum Line Rate Programmable Exposure Time In this mode the exposure time is set internally with a maximum line rate Figure 12 Mode 8 Timing PROGRAMMABLE PERIOD PROGRAMMABLE PERIOD D m lt gt FRAME PERIOD FRAME PERIOD CR CHARGE RESET Setting the Line Rate Purpose Sets the camera s line rate in Hz Camera must be operating in Applies to Modes 2 and exposure mode 2 or 7 7 Syntax ssf f Syntax Elements i Desired line rate in Hz Allowable values are 12k 300 23619Hz 8k 300 33855Hz Notes e the current line frequency use the command gcp or get ssf e Ifyou enter an invalid line rate frequency an error message is returned Related Commands sem set Example ssf 10000 03 032 10216 01 DALSA Piranha 3 User Manual Applies to Modes 2 and 8 31 Setting the Exposure Time Syntax Syntax Elements Notes Related Commands Example Sets the camera s exposure time is us Camera must be operating in mode 2 or 8 set f i Desired exposure time in us Allowable values are 3 to 3330ys e To read the current line frequency use
82. to 99 of the specified target value It then calculates the PRNU coefficients using the target value as shown below Target PRNU Coefficient AVG Pixel Value FPN sdo value The calculation is performed for all sensor pixels but warnings are only applied to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras 4 Calculates the PRNU coefficient in the same way as cpa 2 with the exception that this command only calculates PRNU for pixels within the current Region of Interest ROI Peak target value in a range from 1024 to 40554DN e Perform all analog adjustments before calibrating PRNU e Calibrate FPN before calibrating PRNU If FPN cannot be calibrated use the rpc command to reset all coefficients to zero and save them to memory with the w c command You can then adjust the digital offset sdo command to remove some of the FPN e Note Refer to Calibrating the Camera to Remove Non Uniformity Flat Field Correction on page 35 for a procedural DALSA Piranha 3 User Manual i overview on performing flat field correction Example cpa 1 600 Setting a Pixel s PRNU Coefficient Purpose Sets an individual pixel s PRNU coefficient Syntax spc i i Syntax Elements i The pixel number from 1 to sensor pixel count i Coefficient value in a range from 0 to 28671 where prnu coefficient 1 4096 Example spc 1024 10000 Setting a range of Pixe
83. uctures TTT 33 3 23 a OS3 OS5 OS7 23 Isolation pixels Table 3 P3 80 12k40 Pixel Readout Tap First Pixel 1 3071 odd pixels 2 3072 even pixels 3073 6143 odd pixels 3074 6144 even pixels 9215 6145 odd pixels 9216 6146 even pixels 12287 9217 odd pixels 12288 9217 even pixels o N O OF M Table 4 P3 80 08k40 Pixel Readout Tap First Pixel 1 1 2047 odd pixels 2 2048 even pixels 2049 4095 odd pixels 2050 4096 even pixels 6143 4097 odd pixels art OQ N DALSA Piranha 3 User Manual 6 6144 4098 even pixels 7 8191 6141 odd pixels 8 8192 6142 even pixels 1 4 Responsivity Figure 2 Responsivity Graphs Typical Piranha 3 Responsivity 0dB Gain 12 bit 300 250 E amp X x E lt 3 200 lt lt E N 2 N a gt 150 lt z 2 8 100 x 7um sensor 50 grises 5um sensor 0 400 500 600 700 800 900 1000 Wavelength nm DALSA 03 032 10216 01 14 Piranha 3 User Manual 03 032 10216 01 DALSA Piranha 3 User Manual Camera Hardware Interface 2 linstallation Overview When setting up your camera you should take these steps This installation 1 overview assumes you 2 have not installed any system components yet 6 7 8 Power down all equipment Following the manufacturer s instructions install the frame grab
84. ud Rate Outside the range limit Command is valid at this level of access but not effective Eg line rate when in smart Exsync mode Command not completed in time Eg FPN PRNU calculation when no external exsync is present Tried saving camera settings r s rus but they cannot be saved Cannot calibrate a tap that is not part of the end of line statistics Indicates that the camera has shut itself down to prevent damage from further overheating B2 All Available Commands As a quick reference the following table lists all of the commands available to the camera user For detailed information on using these commands refer to Chapter 3 Parameters i integer t topid integer value f s real number string x1 horizontal pixel start number x2 horizontal pixel end number 1 vertical pixel start number y2 vertical pixel end number DALSA Command calibrate analog offset correction calibrate fpn Syntax Parameters Description cao Calibrates the analog gain and averages each tap s pixels within the ROI to the specified average target value ti t tap selection either 1 to number of CCD taps or 0 for all taps i target value in a range from 0 to 255DN 12 bit LSB Refer to Analog Signal Processing Setting Analog Gain and Offset for details Start FPN coefficient calibration Refer to section 3 4 2 Analog and Digital Signal Processing Chain for details eer 03 032 1021
85. ve the current pixel coefficients use the command wpe i and wfc e restore saved pixel coefficients use the command 1 i Current Session Settings These are the current operating settings of your camera To save these settings to non volatile memory use the command wus DALSA Piranha 3 User Manual 5 3 5 1Saving and Restoring PRNU and FPN Coefficients Saving the Current PRNU Coefficients Purpose Saves the current PRNU coefficients You can save up to four sets of pixel coefficients Syntax wpc i Syntax Elements i PRNU coefficients set to save 1 Coefficient set one 2 Coefficient set two 3 7 Coefficient set three 4 7 Coefficient set four Example wpc 2 Saving the Current FPN Coefficients Purpose Saves the current FPN coefficients You can save up to four sets of pixel coefficients Syntax wfc i Syntax Elements i FPN coefficients set to save 1 Coefficient set one 2 Coefficient set two 3 7 Coefficient set three 4 Coefficient set four Example wfc 2 Loading a Saved Set of Coefficients Purpose Loads a saved set of pixel coefficients A factory calibrated set of coefficients is available Syntax lpc i Syntax Elements i FPN coefficients set to save 0 Factory calibrated pixel coefficients 1 Coefficient set one 2 Coefficient set two 3 7 Coefficient set three 4 Coefficient set four Example lpc 0 Resetting the Current Pixel Coefficients Purpose Resets th
86. verify it is being properly received Refer to section 3 6 1 Generating a Test Pattern for further information on running test patterns DALSA Piranha 3 User Manual d 5 2 Troubleshooting Using the Serial Interface Communications To quickly verify serial communications send the n help command By sending the h and receiving the help menu the serial communications are verified If further problems persist review Appendix B for more information on communications Verify Parameters To verify the camera setup send the gcp get camera parameters command Verify Factory Calibrated Settings To restore the camera s factory settings send the rfs command After executing this command send the gcp command to verify the factory settings Verify Timing and Digital Video Path Use the test pattern feature to verify the proper timing and connections between the camera and the frame grabber and verify the proper output along the digital processing chain Verify Voltage To check the camera s input voltages use the vv command Make sure the voltage is within the proper range 12V to 15V If a problem still persists contact Technical Support See section 5 4 Product Support for contact information 5 3 Specific Solutions No Output or Erratic Behavior If your camera provides no output or behaves erratically it may be picking up random noise from long cables acting as antennae Do not attach wires to unused pins Verify that
87. when line rates greater than 2 5kHz and input voltage is between 12V and 15V Notes 1 Halogen 3200K color temperature with 750nm cutoff filter light source 59 uW cm 12k camera and 71 3 uW cm 8k camera light intensity line rate 2500 Hz 12k camera and 5000 Hz 8k camera ECD 25 ambient temperature ECE Exposure control enabled exposure modes 2 4 5 and 6 ECD Exposure control disabled exposure modes 3 and 7 Offset is factory calibrated to 160DN FPN measurement is performed in dark at 2500 Hz line rate PRNU corrected is measured at 3576 saturation using FPN coefficients calculated at 0 saturation and PRNU coefficients calculated at 70 saturation The FPN PRNU calibration conditions gain ECE ECD line rated light are set before calibration The residual error is confirmed to be lass than the maximum specified 03 032 10216 01 Piranha 3 User Manual 1 3 Image Sensor 03 032 10216 01 Sensitivity is maximized through DALSA s newest IT P9 and IT PB sensors that were designed using our state of the art CCD design process Figure 1 P3 80 xxk40 Sensor Block Diagram 052 054 i OS6 058 7 13434 717347 77 Storage Well with Exposure Control Reset and Shift Register Structures Up t012288 Photoelements 12k 5um x 5u m or 6k 8k Zum x 7u m Storage Well with Exposure Control Reset and Shift RegisterStr
Download Pdf Manuals
Related Search
Piranha3 piranha 3d piranha 3dd piranha 3d cast piranha 3d 2010 piranha 3dd cast piranha 3d full movie piranha 3d riley piranha 3dd full movie piranha 3d streaming piranha 3dd 2012 piranha 3d streaming vf piranha 3d feeding frenzy
Related Contents
Owner`s Manual Page 5 Bruksanvisning Side 15 Pre-Sure™ ChIP Antibody Validation Kit Cine en casa Blu NEC LCD2690WUXi2 Copyright © All rights reserved.
Failed to retrieve file