Home

Piranha HS-Sx

image

Contents

1. Figure 8 How Pixel Coefficients are saved in the HS Sx Cameras after issuing the wpc Command START User issues wpc or wfc command Note Camera must be operating in TDI Mode EN Camera is operating Camera is operating in forward direction in reverse direction Coefficients saved Coefficients saved for forward direction for reverse direction only only Selecting the Set Number Purpose When saving and loading camera settings you have a choice of saving up to four different sets and loading from five different sets four user and one factory This command determines the set number from where these values are loaded and saved Syntax ssn Syntax Elements i O Factory set Settings can only be loaded from this set 1 4 User sets You can save or load settings with these sets Note The camera powers up with the last set saved using this command 03 032 20072 02 40 Piranha HS Sx User Manual Example ssn 3 Related rus Saving the Current PRNU Coefficients Purpose Saves the current PRNU coefficients for the current direction for the current set Syntax wpc Notes e Available in TDI mode only Saving the Current FPN Coefficients Purpose Saves the current FPN coefficients for the current direction for the current set Syntax wfc Notes e Available in TDI mode only Loading a Saved Set of Coefficients Purpose Loads a sav
2. 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual Teledyne DALSA A applications 8 Area Mode 23 bit depth setting 22 bright lines 51 calibrating the camera 31 calibration errors 36 overview 31 results 36 steps 31 camera messages 53 camera control signals 17 Camera Link outputs 17 camera settings current 38 factory 38 restoring 38 retrieving 44 saving 38 user 38 clocking signals 17 coefficients diabling 36 enabling 36 loading 36 resetting 36 command format 21 parameters 22 commands list 55 connectors 14 lemo 15 power 15 power mating 15 D dark patches 51 data bus 17 65 data rate 9 debugging 49 digital signal processing 33 direction externally controlled 24 web movement 25 EMC Declaration of Conformity 61 63 error messages 53 exposure modes overview 26 EXSYNC 17 troubleshooting 49 external trigger 17 F fiber optic light sources 46 filters 46 flat field correction 30 32 FPN 10 31 G gain 7 33 gain ranges 9 H halogen light sources 46 help 22 hot mirror 46 illumination 46 incorrect line rate 51 input output 14 inputs user bus 16 installation 13 interface optical 9 46 L LED 14 lemo connector 15 03 032 20072 02 66 03 032 20072 02 lens modeling 46 light sources 46 line dropout 51 line rate 9 line statistics 42 M mode Area 23 TDI 23 models 8 N
3. TDI Mode Mode User Settings User Settings All settings All settings except saved for Area a M pixel coefficients Mode only saved for TDI Mode only Teledyne DALSA Piranha HS Sx User Manual 39 You can save or restore your user settings to non volatile memory using the following commands e To save all current user settings to EEPROM for the current mode for both TDI shift directions use the command wus The camera will automatically restore the saved user settings when powered up WARNING While settings are being written to nonvolatile memory do not power down camera or camera memory may be corrupted e To restore the last saved user settings including the last used pixel coefficient set for the current mode use the command rus These are the current operating settings of your camera These settings are stored in the camera s volatile memory and will not be restored once you power down your camera To save these settings for reuse at power up use the command wus Settings are saved for the current operating mode TDI or Area only Note Available in TDI Mode only Teledyne DALSA Pixel coefficient sets are saved separately for Forward and Reverse direction depending on which direction the camera is operating in when the wpc or w c command is issued It is important that you save pixel coefficients before switching CCD shift direction or current coefficient values will be lost
4. NEE 10 noisy output 51 online help 22 operating modes 25 optical interface 46 optical specs 9 output signals 17 performance specifications 9 pixel statistics 42 power connectors 15 guidelines 16 mating connectors 15 PRNU 31 rebooting 40 Piranha HS Sx User Manual resolution 9 responsivity 10 roi See Region of Interest 5 SEE 10 sensitivity level 24 serial interface 21 defaults 21 troubleshooting 50 settings factory 23 Statistics 42 T TDI Mode 23 temperature measurement 43 test patterns 41 test patterns 50 timing mode 3 27 mode 7 27 trigger external 17 troubleshooting 49 V video data 43 voltage measurement 43 W warning messages 53 Teledyne DALSA
5. Description Loads the previously saved pixel coefficients from non volatile memory where iis 0 Factory calibrated coefficients 1 Coefficient set one 2 Coefficient set two 3 Coefficient set three 4 Coefficient set four Reset the entire camera reboot Baud rate is not reset and reboots with the value last used Restore the camera s factory settings FPN and PRNU coefficients reset to 0 Refer to section 3 4 Saving and Restoring Settings for details Sets the pixel range affected by the cag cao gl gla ccf cpa and 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 4096 Refer to section Setting a Region of Interest for details Reset the pixel coefficients to 0 Refer to section Enabling and Disabling Pixel Coefficients on page 36 for details Restore the camera s last saved user settings and FPN and PRNU coefficients Refer to section 3 4 Saving and Restoring Settings for details O 4096 Sets the CCD shift direction where O Forward TDI shift direction 1 Reverse TDI shift direction 2 Externally controlled direction Selects the bit depth where sdw 8 8 bit output sdw 10 10 bit output sdw 12 12 bit output Set the exposure mode 3 External SYNC maximum exposure time 7 Internal programmable SYNC maximum exposure time Factory setting 03 032 20072 02 58 Mnemonic set fpn coeff s
6. FPN correction memory so they will be remembered and be reusable To do so issue the should be performed before PRNU correction y commands wfc i where i is the coefficient set to save and wus Forward and reverse direction settings are stored separately and coefficients must be saved before switching direction 5 If you will be operating the camera in the opposite camera shift direction repeat steps 2 through 4 after changing direction 6 To verify output enable the FPN coefficients using the command epc 1 0 lt You should see close to zero output Perform PRNU correction next to determine the multiplication Perform PRNU correction 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 and remove lens cap p 2 Verify that the output signal level is within range by issuing the commandgl or gla If the signal level is too low adjust the analog gain sag or use the automated algorithm i 01 DALSA recommends a target value of about 8096 of maximum signal swing per tap If you change the gain FPN coefficients should be recalculated 3 Issue the command ccp or cpa2 i whereiis equal to or greater than the maximum pixel in the image The camera will respond with OK if no error occurs 4 After the correction is complete you must save these settings to non volatile memory so they
7. value must be greater than the current peak output value e Perform all analog adjustments before calibrating PRNU e This command performs the same function as the cpp command but forces you to enter a target value e Calibrate FPN before calibrating PRN U If you are not performing FPN calibration then issue the rpc reset pixel coefficients command cpa 2 13000 Sets an individual pixel s PRNU coefficient spc ii i The pixel number from 1 to sensor pixel count 03 032 20072 02 36 Piranha HS Sx User Manual Coefficient value in a range from 0 to 28671 where ffici 1 prnu coetticient 4096 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 1 x2 Syntax Elements 1 Start pixel to display in a range from 1 to sensor pixel count 1 x2 End pixel to display in a range from x1 1 to sensor pixel count Notes e Ifx2 lt x1 then x2 is forced to be x1 Example dpc 10 20 Purpose Enables and disables FPN and PRNU coefficients Syntax 1 1 Syntax Elements i FPN coefficients O FPN coefficients disabled 1 FPN coefficients enabled i PRNU coefficients 0 coefficients disabled 1 PRNU coefficients enabled Example epc 0 1 Purpse Use the background subtract command after performing flat field correction if you want to improve your i
8. 10 Volts DC lt 39 W 0 to 50 8 10 or 12 bit selectable HSLink 1Hz 90 KHz 1 08 Gpix s to 20 dB e TDI mode of operation These specifications are not guaranteed for area mode of operation e Line Rate 10 kHz Teledyne DALSA 03 032 20072 02 Is E Dynamic Range SEE nJ cm pJ 03 032 20072 02 Piranha HS Sx User Manual e Nominal Gain setting 0 dB e Light Source Broadband Quartz Halogen 3250 with 700 nm IR cutoff filter installed e All specifications are measured at 25 front plate measurement e All values are referenced at 8 bit 1 Measured at the front plate It 15 the user s responsibility to insure that the operating temperature does not exceed this range Random Noise DN rms Corrected Broadband Responsivity DN cm FPN DN p p with correction FPN DN p p correction PRNU DN with correction PRNU w o correction Saturation Output Amplitude DN DC Offset DN Min Gain OdB Min Gain 10dB Min Gain 20dB lt ON tn tn ON E n 5 ON lt m uA UA e A B a O2 Teledyne DALSA Piranha HS Sx User Manual 1 1 3 Responsivity 12 Responsivity 0 dB 350 300 250 200 150 100 Responsivity DN nJ cm 50 0 O 9 YO YD SD 9 9 9 9 9 DU qw dq P qo qo
9. 22 CISPR 11 FCC Part 15 and ICES 003 Class A EN 61326 1 and EN 55024 Immunity to Disturbances This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at the user s own expense Changes or modifications not expressly approved by Teledyne DALSA could void the user s authority to operate the equipment Name and Signature of authorized person Hank Helmond Quality Manager Teledyne DALSA Corp VA E 03 032 20072 02 62 Piranha HS Sx User Manual 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 63 Appendix Revision History Revision Change Description Date 00 Preliminary release July 07 2010 01 Preliminary marking removed October 27 2010 Mechanical drawing updated with depth of 92 1 mm 02 Select bit depth command sdw set data width added May 25 2011 Teledyne DALSA 03 032 20072 02 64 Piranha HS Sx User Manual
10. 75 C The recommendations assume the following conditions e The camera mounting plate has at least 5 047 mm sq contact surface equal to the full camera mounting surface as shown and approximately 3 000 mm sq of natural convection surface e Noimpediments to the natural convection space around the surface of the mounting plate and the surface of the camera e An environment temperature of approximately 25 C e Good contact between the mounting plate and the camera surface 03 032 20072 02 48 Piranha HS Sx User Manual Front plate Camera full front mounting surface 5047 mm sq Heat sink fins Heat sink fins Mounting plate Mounting bracket Mounting hole 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 49 Troubleshooting 6 1 Common Solutions Teledyne DALSA 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 power supplies cabling frame grabber hardware amp software hostcomputer light sources Optics operating environment encoder Your steps in dealing with a technical problem should be 1 Try the general and specific solutions listed in sections 6 1 6 2 and 6 3 If these solutions do not resolve your problem see section 6 4 on getting product support LED W
11. Column end number Must be greater than or equal to the column start number in a range from 2 to column resolution y2 Row end number Must be greater than or equal to the row start number in a range from 2 to number of stages except in TDI Mode where y2 must be 1 Notes e If you are using binning the start pixel is rounded down to the beginning of binned area and end pixel is rounded up to the end of the binned area e In Area Mode the roi must be within the stage If the requested roi is above the stage the roi rows will be clipped The start and end rows will be clipped to the stage selection if necessary A clipped to max warning message is returned Related Commands ccg cpa gl gla ccf els Example roi 10 1 50 1 TDI Mode The following diagram shows a simplified block diagram of the camera s digital processing chain The digital processing chain contains the digital gain FPN correction the PRNU correction the background subtract and the system gain and offset All of these elements are user programmable Notes e FPN and PRNU correction is not available when operating the camera in Area Mode e The following user settings are stored separately for forward and reverse direction digital gain system gain and background subtract They are saved using the wus command For details on changing camera shift direction refer to section Setting the Camera s CCD Shift Direction e FPN and PRNU coefficients are stor
12. Purpose Syntax Syntax Elements Teledyne DALSA 35 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 Executing these algorithms causes the ssb command to be set to 0 no background subtraction the ssg command to 0 unity digital gain and the sab command to 0 no background addition The pixel coefficients are disabled epc 0 0 during the algorithm execution but returned to the state they were prior to command execution cpa 1 1 1 PRNU calibration algorithm to use 2 Calculates the PRNU coefficients using the entered target value as shown below Target PRNU Coefficient AVG Pixel Value FPN 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 Is is important that the target value set with the next parameter is set to be at least equal to the highest pixel across all cameras so that all pixels can reach the highest pixel value during calibration 4 Calculates the PRNU coefficient in the same way as 2 with the exception that this command only calculates PRNU for pixels within the current Region of Interest ROI i Peak target value in a range from 4096 to 16220 DN The target
13. Teledyne DALSA Piranha HS Sx User Manual 59 Mnemonic Syntax Parameters Description set TDI mode tdi i Set the camera s operating mode 0 Area Mode 1 TDI Mode Refer to section Error Reference source not found for details update gain reference ugr Changes 0 dB gain to equal the current gain value verify temperature vt Check the internal temperature of the camera verify voltage vv Check the camera s input voltages and return OK or fail write FPN coefficients wfc i Write all current FPN coefficients to EEROM Refer to section Saving and Restoring PRNU and FPN Coefficients for details write PRNU coeffs Wpc i Write all current PRNU coefficients to EEROM Refer to section Saving and Restoring PRNU and FPN Coefficients for details write user settings wus Write all of the user settings to EEROM Refer to section Saving and Restoring Factory and User Settings for details Teledyne DALSA 03 032 20072 02 60 Piranha HS Sx User Manual 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 6 Teledyne DALSA Teledyne DALSA s HS 12K cameras meet the requirements outlined below which satisfy the EMC requirements for CE marking the FCC Part 15 requirements and the Industry Canada ICES 003 evaluation Model HS 12K Evalutation Date February 18 2010 The CE Mark Evaluation of the Teledyne DALSA HS 12K Camera which 1s manufactured by Dalsa Inc meets the following requirements EN 55022 EN 55011 CISPR
14. are already operating in the requested mode See section 3 4 Saving and Restoring Settings for an explanation on how user settings are stored and retrieved for each mode e Flat field correction is not available in Area Mode tdi 1 Purpose Syntax Syntax Elements Example In TDI Mode this command adjusts the sensitivity level in your camera by setting the number of CCD integration stages In Area Mode the vertical height of the image sensor is controlled by the number of stages stg m m Number of stages to use Available values are 64 128 192 256 Factory setting is 256 stg 64 Setting the Camera s CCD Shift Direction Purpose Syntax Syntax Elements Notes Example 03 032 20072 02 When in TDI Mode selects the forward or reverse CCD shift direction or external direction control This accommodates object direction change on a web and allows you to mount the camera upside down In Area Mode selects the vertical readout direction This allows you to mirror the image vertically or mount the camera upside down scd i i Readout direction Allowable values are Forward CCD shift direction 1 Reverse CCD shift direction 2 Externally controlled CCD shift direction via HSLink control 1 forward 0 revese Note HS SO Direction tied to bit 5 GPIO output of HSLink e The following user settings are stored separately for forward and reverse direc
15. environmental and acquisition system specifics and more The Knowledge Center on our Web site http www teledynedalsa com mv knowledge appnotes aspx 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 It is 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 5n W cm for Ims just the same as exposing an intensity of 5W cm for lus Light Sources Keep these guidelines in mind when setting up your light source e 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 HS Sx camera e Halogen light sources generally provide very little blue relative to infrared light IR e Fiber optic light distribution systems generally transmit very little blue relative to IR e 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 CCD cameras are extremely responsive to infrared IR w
16. output when the CCD 1 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 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 integration time binning or number of integration stages 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 1 60Hz ambient light flicker is sufficiently low not to affect camera performance and calibration results 2 The brightest pixel should be slightly below the target output 3 When 6 25 or more of pixels from a single row within the region of interest are clipped flat field correction results may be inaccurate 4 Correction results are valid only for the current stage selection If you change the number of stages it is recommended that you recalculate your coefficients 03 032 20072 02 39 Piranha HS Sx User Manual Set up the camera operating
17. qq qu X9 qq qq ES Wavelength nm Teledyne DALSA 03 032 20072 02 12 Piranha HS Sx User Manual 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 13 2 1 Installation Overview When installing your camera you should take these steps This installation 1 Power down all equipment overview assumes you 2 Follow the manufacturer s instructions to install the framegrabber if applicable Be have not installed any sure to observe all static precautions system components yet P Install any necessary imaging software 4 Before connecting power to the camera test all power supplies Ensure that all the correct voltages are present at the camera end of the power cable Power supplies must meet the requirements defined in the Power Connector section below 5 Inspect all cables and connectors prior to installation Do not use damaged cables or connectors or the camera may be damaged 6 Connect data and power cables 7 After connecting cables apply power to the camera 8 Check the diagnostic LED See 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 Please see 4 3 High Temperature and Mounting for more information on camera mounting and heat dispertion Teledyne DALSA 03 032 20072 02 Piranha HS Sx User Manual 2 2 Input Output Connectors and L
18. rising edge of STROBE Teledyne DALSA Table 6 Camera Control Configuration Signal Configuration CCl EXSYNC CC3 Forward The camera ships in internal sync internal programmed integration exposure mode 7 TDI Mode EXSYNC Triggers Frame Readout Frame rate can be set internally using the serial interface The external control signal EXSYNC is optional and enabled through the serial interface This camera uses the falling edge of EXSYNC to trigger pixel readout Section Exposure Mode and Line Frame Rate for details on how to set frame times exposure times and camera modes Direction Control You control the CCD shift direction through the serial interface With the software command sed you determine whether the direction control is set via software control or via the control signal on CC3 Refer to section Setting the Camera s CCD Shift Direction for details Note that LVAL and FVAL are embedded in data lanes For additional information refer to the HSLink supplementary information below Camera Rx 5 serial lanes 312 5 Mb sec Frame Grabber We can supply HSLink and DC power cables Contact us and use the following part numbers to order Part No Description AC CA 00405 xx R HSLink data cable 5M with screw lock connectors AC CA 00410 xx R HSLink data cable 10 with screw lock connectors AC CA 00415 xx R HSLink data cable 15M with screw lock connectors 03 032 20072 02 18 Piranha HS Sx User Manual A
19. C CA 00115 xx R DC power cable Lemo 2 pin to open ended cable HSLink cables are also available from a number of supplies including www componentsexpress com Www gore com The HS SO model cameras HSLink are compatible with the Xcelera HS PX8 framegrabber 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual HSLINK 12K and Frame Grabber Supplementary Teledyne DALSA designed and pioneered the HSLink as a comprehensive camera frame grabber communication standard targeted at machine vision industry use The HSLink 12k and frame grabber product are based on the fundamental capabilities of this new interface We are working with industry partners to improve and to broaden the interface s appeal for the machine vision industry and as a result expect that the original specification will change and be improved Our products delivered during this draft specification phase will be field upgradeable so that customers can gain the benefit from an industry approved interface The table below summarizes the major functions supported with the alpha product HSLINK Function Alpha Comment Q4 09 Teledyne DALSA Cable Disconnect Recovery Data Forwarding Communication Between FG Video Data Resend LED functions GeniCam Trigger Direction Control Area Line Scan Mode 12 bit mode Missed Trigger Flag DATA CRC Error Flag Header Error Flag 8b 10B Error counter Test Patterns Data Lost Flag Camera Data buffer overf
20. Daite EVI T8 Sm 16 Software Interface How to Control the Camera 21 3 1 First Power Up Camera 60 23 3 2 Sensor Output Format bte 23 Selecting TDI or Area Mode Operation 23 Selecting the Number of CCD Integration Stages 2 24 Setting the Camera s CCD Shift 24 Exposure Mode and Line Frame Rate c sccsssssssssssssssssssssssssssssssssssssssesssssssscssssssssscssssessssessssessssesseessssesees 25 Frame ROL CSUN OMEN UE TIE 28 E 28 Setting Region of Interest 28 Digital Signal Processing 2 29 3 0 Savini dnd Restoring Seb S 38 Saving and Restoring Factory and User Settings cccsccscsssssssssssssssssssssessssessssesssssssssssssssssessstessseessseessees 38 Saving and Restoring PRNU and FPN 1 39 40 DO 4 Eh MERO 4 Returning Video 42 43 Voltag
21. ED The camera uses e A diagnostic LED for monitoring the camera See LED Status Indicator in section LED Status Indicator for details e HS S0 model SFF_8470 with thumbscrews for control data and serial communication e One 2 pin Lemo connector for power Refer to the Power Connector section below for details Figure 1 Piranha HS SO Input and Output Connectors HS S0 12Kxx Power 24 V 5 Lemo EEG 0B 302 CYM 2 Pin Q Control amp Data 5 50 SFF 8470 or Cx4 with thumbscrews WARNING It is extremely important that you supply the appropriate voltages to your camera Incorrect voltages will damage the camera LED Status Indicator 03 032 20072 02 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 15 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 3 HS SO HSLink Diagnostic LED Color of Status LED Meaning Green solid Camera is operational and functioning correctly Green blinking fast FG only LVAL present but not grabbing 20 second time out Teledyne DALSA Piranha HS Sx User Manual 15 Color of Status LED Meaning Green blinking slow Waiting for LVAL Trigger Line Scan 5 second t
22. Operation Teledyne DALSA The Piranha HS Sx cameras have the ability to operate both TDI and Area Mode In Area Mode the camera operates as an area array camera using a two dimensional array of pixels Area Mode 1 useful for aligning the camera to your web direction or when you need a rectangular 2D image and the lighting supports a full frame imager In TDI Mode the camera operates as a TDI high sensitivity line scan camera and combines multiple exposures of an object into one high resolution result The camera stores user settings for Area Mode and TDI Mode separately allowing you to switch between Area and TDI mode without losing settings specific to each mode See section 3 4 Saving and Restoring Settings for an explanation on how user settings are stored and retrieved In Area Mode use either a strobe or a low frame rate to avoid image smear TDI operation requires good speed matching between your object and image NOTES Sensor cosmetic specifications for Area Mode of operation are neither tested nor guaranteed Purpose Selects the camera s operating mode Area Mode is useful for aligning and focusing your camera Syntax tdi i Syntax Elements i Area mode 1 IDImode Notes e Remember to save your user settings before changing mode Sending the tdi command always restores your last saved user 03 032 20072 02 24 Example Piranha HS Sx User Manual settings for the mode of operation requested even if you
23. Piranha HS Sx Camera User s Manual HS S0 12K40 HSLink Pa Em SU lt m High Sensitivity Line Scan Area Scan CCD Camera Jun 1 03 032 20072 02 www teledynedalsa com wa TELEDYNE DALSA A Teledyne Technologies Company Y 03 032 20072 02 Piranha HS Sx User Manual 2011 Teledyne DALSA All information provided in this manual is believed to be accurate and reliable No responsibility is assumed by Teledyne DALSA for its use Teledyne 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 Teledyne DALSA About Teledyne Technologies and Teledyne DALSA Inc Teledyne Technologies is a leading provider of sophisticated electronic subsystems instrumentation and communication products engineered systems aerospace engines and energy and power generation systems Teledyne Technologies operations are primarily located in the United States the United Kingdom and Mexico For more information visit Teledyne Technologies website at www teledyne com Teledyne DALSA a Teledyne Technologies company is an international leader in high performance digital imaging and semiconductors with approximately 1 000 employees worldwide headquartered in Waterloo Ontario Canada Established in 1980 the company designs develops manufactures and markets digital imagi
24. This algorithm is the same as 2 with the exception that it only calculates PRNU for the pixels within the current Region of Interest The second parameter is the target value to use in arange from 4096 to 16220 DN Set number of line samples averaged for pixel coefficient calculations or for output of gla command Values 1 1024 2048 4096 Refer to Returning Averaged Lines of Video on page 42 for details Displays the pixel coefficients in the order FPN FPN x1 Pixel start number x 2 Pixel end number In a range from 1 to 12000 03 032 20072 02 56 03 032 20072 02 Mnemonic enable pixel coefficients get command log get camera model get camera parameters get camera Serial get camera version get fpn coeff get help get line get line average get prnu coeff get signal frequency help Syntax Parameters 11 gcl gem gcp gcs gcv gfc x gh gl 91 gpc x gsf Piranha HS Sx User Manual Description Sets whether pixel coefficients are enabled or disabled The first parameter sets the FPN coefficients where 1 15 O FPN coefficients disabled 1 FPN coefficients enabled The second parameter sets the PRNU coefficients where i is 0 PRNU coefficients disabled 1 PRNU coefficients enabled Refer to section Enabling and Disabling Pixel Coefficients on page 36 for details Reads the camera model number Rea
25. XIS POINT lt BACK FOCAL LENGTH gt OBJECT DISTANCE OD Warning Depending on the mounting design and the operating conditions the camera body could become hot You must take precautions to ensure your safety and avoid touching the camera directly during operation Proper camera mounting ensures that the heat generated by the camera dissipates properly and that the camera maintains a safe temperature 1 The camera should be bolted tightly to a mounting plate made of thermally conductive material e g Aluminum 2 Keep contact area between the camera s front surface and the mounting plate surface as large as possible Do not use stand off style mounting 3 Design the camera mounting plate so that there is enough surface area to dissipate heat An example of a properly mounted camera is illustrated on the following page 4 Forced air flow to the fins is the most effective way to cool the camera If forced air flow is not available then leave enough space around the fins so that heat can easily dissipate into the air by natural convection 5 The mount setup plus the airflow must dissipate 40 Watts or more of heat 6 Proper thermal mounting of the camera should result in an internal camera temperature lt 65 C verify using command vt and a front plate temperature lt 50 C Note To avoid internal damage the camera automatically shuts down when the internal temperature reaches
26. a section is valid to a specific model only where the camera s model number is used The camera uses a bidirectional TDI sensor The camera can be configured to read out in either Forward or Reverse CCD shift direction This is controlled by the software command scd 0S1 R 052 0529 R OS30 R A A A es ke 12000H x 2564 Image Pixels 5 2 5 2um 10 ico cols E EIA IA e Cm NL V OS1 F OS2 F 0529 F 0530 Teledyne DALSA Piranha HS Sx User Manual 1 2 Camera Performance Specifications Table 2 Camera Performance Specifications Feature Specification Imager Format Resolution Pixel Fill Factor Pixel Size Stage Selection Antiblooming CCD Shift Direction Change Optical Interface Back Focal Distance M72 Mount Sensor Alignment aligned to sides of camera Flatness parallelism Lens Mount Hole M72x0 75 Mechanical Interface Camera Size w xh x d Mass Connectors power connector control data connector Electrical Interface Input Voltage Power Dissipation Operating Temperature Bit Depth Output Data Configuration Operating Ranges Minimum Line Rate Maximum Line Rate Throughput Gain Test conditions unless otherwise noted Bidirectional TDI 12000 x 256 pixels 90 5 2 um x 5 2 um 64 128 192 256 TBD 0 02 seconds 6 56 0 25 mm 25 um 100 um 0 175 mm 0 175 mm 0 25 mm 0 6 90 x 180 x 92 1 mm lt 1500 2 pin Lemo HSLink 24
27. ant 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 the Command section later in this manual for a list of available commands To view a help screen listing the following get commands use the command gh Teledyne DALSA Piranha HS Sx User Manual 45 B 45 0 l M72X0 75 depth 4 1 A IMAGINGCENTER 6 56 1 10 5 2 OPTICAL DISTANCE 1 LW RA v 47 0 dE IMAGING de CENTER P Es 83 5 772725 3 2X Ze 109 0 e RECOMMENDED PIXEL1 AIRFLOW M4x0 7 depth 6 0 Y L 4X 9 d P d Zo RA a Pd AIRFLOW 8 5 2X Notes Imaging area aligned in X Y with respect to datums B and C Roataion of the CCD imaging area is 0 6 degrees Lens mount position with respect to imaging area X Y 0 175 MM Imaging area position tolerances are to be determined Units MM Teledyne DALSA 03 032 20072 02 46 Piranha HS Sx User Manual 4 1 Lens Mounts Model Number Lens Mount Options HS SO M72x0 75 thread 4 2 Optical interface 03 032 20072 02 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
28. avelengths 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 CORIONTM HR 750 series hot mirror 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 available from the lens data sheet or from the lens manufacturer quantities denote characteristics of the image side of the lens That is his the object height and h is the image height Teledyne DALSA Piranha HS Sx User Manual 47 4 3 High Temperature and Mounting Teledyne DALSA The focal point is the point at which the image of an infinitely distant object is brought to focus The effective focal length f 1s 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 9 Primary Points in a Lens System SECOND PRINCIPAL POINT LIGHT RAYS FROM LEFT o SECOND FOCAL POINT 1 OBJECT HEIGHT h FIRST PRINCIPAL 4 OPTICALA
29. ds all of the camera parameters Read the camera serial number Read the firmware version and FPGA version Read the FPN coefficient x pixel number to read in a range from 1 sensor pixel count Refer to Returning FPN Coefficients on page 33 for details Returns a help screen listing all of the get commands Gets a line of raw video no digital processing or test pattern displaying one pixel value after another and the minimum maximum and mean value of the sampled line x Pixel start number x Pixel end number In a range from 1 to 12000 Refer to Returning a Single Line of Video on page 42 for details Read the average of line samples x Pixel start number x Pixel end number in a range from 1 to 12000 Refer to Returning Averaged Lines of Video on page 42 for details Read the PRNU coefficient x pixel number to read in a range from 1 sensor pixel count Display the online help Refer to section for details Teledyne DALSA Piranha HS Sx User Manual Mnemonic help single command load pixel coefficients read bit error counter reset camera restore factory settings region of interest reset pixel coeffs reset stats counter restore user settings set add background set ccd direction set data width set exposure mode Syntax 1 rc rfs roi rpc rsc rus sab scd sdw sem Parameters S x y xy 57
30. e Measurement e sccssscssssssssssssssssssssssssssssssessssssssssssscsssussssscsssscssssessssesssssssssssssessssesssessseessssesseeessees 43 Camera Frequency Measurement cccccscssssssssesssessesssessesssessesssessessscssesssessessscssessscssessscssessssssessesssesssesees 44 Returning Camera Settings conna 44 Optical and Mechanical 45 AN LENS 46 46 A 3 High Temperature AMG MOUNTING secti eee eA IERI I etd 47 Mounting Instructions and 5 47 03 032 20072 02 03 032 20072 02 Troubleshooting 6 1 Common Solutions 6 2 Troubleshooting Using the Serial Interface 6 3 Specific Solutions Error Handling and Command Al Error Handling A2 Commands Quick Reference EMC Declaration Revision History Index Piranha HS Sx User Manual List Teledyne DALSA 49 49 50 5 53 53 55 61 63 65 Piranha HS Sx User Manual 7 1 1 Camera Highlights Features e 12000 x 256 pixels TDI 5 2 um x 5 2 um pixel pitch 90 fill factor e 90 kHz line rate e 4independently stage selectable Time Delay and Integration TDI imaging regions for remarkable user controlled sensitivity bidirectional e Area Mode operation with stage selection e HSLink control interface 115200 fixed signal baud rate Future models upgraded to GenICam e Program
31. e subtracted prior to the multiplication by the PRNU coefficient The subtraction of these 2 components ensure that the video supplied to the PRNU multiplier is nominally zero and zero multiplied by anything is still zero resulting in no PRNU coefficient induced FPN If the offset is not subtracted from the video then there will be artifacts in the video at low light caused by the multiplication of the offset value by the PRNU coefficients Background subtract ssb command system gain ssg command and background addition sab 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 255 DN 8 bit you can subtract off 128 ssb 2048 and then multiply by 2 ssg 8192 to get an output range from Oto 255 The following sections are organized as follows 1 Setting the Gain 2 Calibrating the Camera to Remove Non Uniformity Flat Field Correction provides an overview of how to perform flat field calibration 3 Digital Signal Processing provides a detailed description of all digital processing chain commands The algorithm calculates the gain of the 16 tap to set the tap mean to the user target For adjacent tap 15 the mean of the last 16 pixels are gained to match the mean of the first 16 pixels of tap 16 This seam matching cont
32. eb speed To select how you want the camera s line frame rate to be generated 1 vou must first set the camera s exposure mode using the sem command Refer to section setting the Exposure Mode below for details 2 Next if using mode 7 use the command ssf to set line frame rate Refer to section Setting Frame Rate for details 03 032 20072 02 76 Piranha HS Sx User Manual Purpose Sets the camera s exposure mode allowing you to control your sync and line frame rate generation Syntax sem m Syntax Elements m Exposure mode to use Factory setting is 7 Notes e Refer to Table 7 Piranha HS Exposure Modes for a quick list of available modes or to the following sections for a more detailed explanation including timing diagrams e To obtain the current value of the exposure mode use the command gcp or get sem e When setting the camera to external signal modes EXSYNC must be supplied e Refer to section Error Reference source not found for more information on how to operate your camera in TDI or Area Mode e Exposure Modes are saved separately for TDI Mode and Area Mode Refer to section 3 4 Saving and Restoring Settings for more information on how to save camera settings Related Commands ssf Example sem 3 Table 7 Piranha HS Exposure Modes Programmable Frame Rate Programmable Exposure Time SYNC Description External Maximum exposure time with no charge reset Internal Internal sync maximum exp
33. ed separately for forward and reverse direction To save the current PRNU coefficients use the command wpc To save the current FPN coefficients use the command w c Settings are saved for the current direction only Teledyne DALSA 03 032 20072 02 30 03 032 20072 02 Piranha HS Sx User Manual Figure 5 Signal Processing Chain Digital Processing o a a DD 0 gt _ gt o 2 44 PN MN AN f AN digital video 9 Ld digital PRNU background system background coefficients gain coefficients subtract gain addition To optimize camera performance digital signal processing should be completed after any analog adjustments 1 Fixed pattern noise FPN calibration calculated using the command is used to subtract away individual pixel dark current Photo Response Non Uniformity PRN U coefficients 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 many 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 When using PRNU correction it is important that the A D offset and Fixed Pattern Noise FPN or per pixel offsets ar
34. ed set of pixel coefficients for the current direction A factory calibrated set of coefficients is available Syntax 1 Notes e Available in TDI mode only Resetting the Current Pixel Coefficients Purpose Resets the current pixel coefficients to zero This command does not reset saved coefficients Syntax rpc Notes The digital offset is not reset 03 032 20072 02 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 Teledyne DALSA Piranha HS Sx User Manual 4 3 0 Diagnostics Generating 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 Syntax svm i Syntax Elements i Video 1 DCi Integer 1 1 400 8 8 Where 1 1 to 12000 2 HORi Modulus DCi Modulus Modulus Gi 1 1600 256 256 Where i 1 to 12000 3 VERi Row 1 Where 1 to 12000 4 DIAGi Modulus HORi VERI 256 Where i 1 to 12000 Notes e 1 2000 4000 BOO 8000 10000 Distance Fisel Teledyne DALSA 03 032 20072 02 42 Piranha HS Sx User Manual The camera s microcontroller has the ability to read video data when operating the camera in TDI Mode This functionality can be used to verify camera operat
35. een master and slave frame grabbers is not functional at this time and therefore must be configured manually as shown below gt Master Slave 1 Slave 2 Slave 3 0 ID 1 ID 0 ID 1 The power on sequence for the Alphas to guarantee function is 1 Camera Master 2 Slave 1 3 Slave 2 4 Slave 3 5 Slave 4 6 Slave 5 The slave should only be turned on once an image is acquired by the preceding slave 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 21 This chapter outlines the more commonly used commands See section A2 Commands for a list of all available commands Teledyne DALSA All Piranha HS Sx 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 Mirroring and readout control e Generating a test pattern for debugging The serial interface uses a simple ASCII based protocol and the PC does not require any custom software Note This command set has changes from previous Teledyne DALSA cameras Do not assume that the Piranha HS commands perform similarly to older cameras serial Protocol Defaults e 8data bits e stop bit e Noparity e No flow control e 115 200 kbps baud rate e Camera does not echo characters When entering commands remember tha
36. environment i e line rate CCD shift direcion exposure offset gain etc Digital offset and gain and background subtract values should be set to zero ssb 0 sab 0 ssg0 epc0 0 Note ssg is a linear function and 4096 is equal to a p gain of 1 Set the calibration sample size using EPN correction removes the fixed analog offset from the video path the command css Repeat the correction when a temperature change greater than 10 occurs or when there is a significant change in integration time 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 Set the region of interest to include all glor gla If there are too many zeros in the output data more than 6 25 of the image s pixels of importance using of output data within the roi increase the analog offset sao or use the the command roi x1 yl x2 y2 automated algorithm cao fi If the average of the pixels is more than 25 of the maximum signal swing ensure that no light is entering the camera and Y reduce the analog offset or gain level sg 3 Issue the command ccf The camera will respond with OK if no error occurs FPN correction automatically calibrates FPN coefficients 4 After the correction is complete you must save these settings to non volatile Perform FPN correction
37. es FPN noise by subtracting away individual pixel dark current For a complete description on how to use this command see the Flat Field Correction Overview on page 3l Syntax ccf Notes e Before performing this command stop all light from entering the camera Tip cover lens with a lens cap e Perform all analog and digital adjustments before performing FPN correction e Perform FPN correction before PRNU correction e Available in TDI Mode only e Save coefficients before changing directions changing operating mode or powering off Related Commands ccp cpa Example ccf Teledyne DALSA 03 032 20072 02 34 03 032 20072 02 Piranha HS Sx User Manual Setting a Pixel s FPN Coefficient Purpose Syntax Syntax Elements Notes Example Sets an individual pixel s FPN coefficient sfc x i x The pixel number from 1 to sensor pixel count Coefficient value in a range from 0 511 12 bit LSB e Available in TDI Mode only sfc 10 50 Returning FPN Coefficients Purpose Syntax Syntax Elements Notes Example Returns a pixel s FPN coefficient value in DN 12 bit LSB gfc i i The pixel number to read in a range from 1 to sensor pixel count e Available in TDI Mode only 10 Teledyne DALSA Piranha HS Sx User Manual Performing PRNU to a user entered value Purpose Syntax Syntax Elements Notes Example Setting a Pixel s PRNU Coefficient
38. estore the camera s factory settings and disable the FPN and PRNU coefficients 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 See below Generating Test Patterns The camera can generate a test pattern to aid in system debugging Use the command 1 to activate the test pattern The test pattern is a ramp from Oto 255DN then starts at again Use the test pattern to verify the proper timing and connections between the camera and the frame grabber e No test pattern or bad test pattern May indicate a problem with the camera e g missing bit or a system setup problem e g frame grabber or timing Verify the presence of the LVAL and STROBE signals e Test pattern successful Run the 0 command to activate video Then run the 91 command under both dark and light conditions to retrieve a line of raw video no digital processing Under dark conditions with factory settings the analog offset value should be within the specified range refer to the user specifications Adjust the analog offset using the cao or sao commands Under light conditions you should receive a value Teledyne DALSA Piranha HS Sx User Manual 5 Verify Voltage To check
39. et gain set prnu coeff set subtract background set sync frequency set system gain set set number stage select set video mode 03 032 20072 02 Syntax sfc 59 ssb ssf ssg ssn stg svm Parameters 1 Piranha HS Sx User Manual Description Set the FPN coefficient x pixel number within the range 1 to 12000 i FPN value within the range 0 to 8191 12 bit LSB Refer to Performing FPN Correctionon page 33 for details 0 30 20 to 20 Set the PRNU coefficient x pixel number within the range 1 to 12000 i PRNU value within the range O to 65535 Subtract the input value from the output signal 1 Subtracted value in a range from 0 to 4096 set the frame rate to a value from TDI HS 80 4 300 to 90 822 Area HS S0 1 to 320 Value rounded up down as required Refer to Setting Frame Rate on page 28 for details Set the digital gain i Digital gain in a range from 0 to 61438 The digital video values are multiplied by this number Refer to setting System Gain on page 37 for details 0 4 Sets the number of TDI stages Allow able values are 64 128 192 256 default Refer to Selecting the Number of CCD Integration Stages for details Switch between normal video mode and test patterns 0 Normal video mode 1 Test pattern 2 Test pattern 3 Test pattern 4 Test pattern Refer to section Generating a Test Pattern for details
40. figure 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 To 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 Returning Camera Settings The camera configuration command help screen lists all commands available Parameter ranges displayed are the extreme 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 Teledyne DALSA Piranha HS Sx User Manual 23 3 1 First Power Up Camera Settings When the camera is powered up for the first time it operates using the following factory settings e TDI mode e right pixel readout e Forward CCD shift direction e 256 integration stages e No binning e 5 50 640 throughput e Exposure mode 7 e 10kHz line rate e Factory gain OdB e Factory calibrated FPN and PRNU coefficients Note regarding start up times This camera requires approximately 20 seconds to power up 3 2 Sensor Output Format Selecting TDI or Area Mode
41. gt Warning 07 Coefficient may be inaccurate A D clipping has occurred gt Warning 08 Greater than 1 of coefficients have been clipped Warning 09 Internal line rate inconsistent with read out time gt Teledyne DALSA Comment Camera executed command Parameter accepted was outside of specified operating range e g gain greater than 10 dB of factory setting or SSF below specification Parameter was clipped to the current operating range Use GCP or GET to see value used Parameter was clipped to the current operating range Use GCP or GET to see value used Internal operating condition is adjusted to accommodate the entered command E g requesting exposure time longer than line time automatically adjusts the line time to meet the exposure time requirement In the region of interest ROI greater than 6 251 single or 1 of averaged pixel values were zero or saturated Greater than 1 of FPN or PRNU coefficients have been calculated to be greater than the maximum allowable and so were clipped Changing this parameter e g vertical binning has changed read out time and that is greater than the internal SYNC 03 032 20072 02 54 03 032 20072 02 Error Messages Camera Response Error O1 Internal error xx gt 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 Timeou
42. hen the camera is first powered up the LED will glow on the back of the camera Refer to section LED Status Indicator for information on the LED Connections 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 Issue the command vv to confirm correct voltages EXSYNC When the camera is received from the factory it defaults no external input required to exposure mode 7 TBDkHz frame rate internal Sync to trigger readout and TDI Mode After a user has saved settings the camera powers up with the saved settings 03 032 20072 02 50 Piranha HS Sx User Manual Data Clocking Output Signals To validate cable integrity have the camera send out a test pattern and verify it is being properly received Refer to section Generating a Test Pattern for further information 6 2 Troubleshooting Using the Serial Interface 03 032 20072 02 The following commands can aid in debugging The complete command protocol is described in Appendix B and C To quickly verify serial communications send the help command The h command returns the online help menu If further problems persist review Appendix C for more information on communications Verify Parameters To verify the camera parameters send the command Verify Factory Calibrated Settings To r
43. imeout Area Scan 20 second timeout Orange red and green Running on FPGA micro backup on together solid Orange blinking slow Loss of functionality Orange one pulse of Random Error with HSLINK 0 2 sec Red blinking fast Fatal Error Loss of FPGA code and or micro code Red blinking medium Fatal Error Loss of other hardware which prevents operation Red blinking slow Over temperature HSLIN K CMD channel still functional Red Green Link Up but idle not locked held in Farend reset alternating fast Red Green Incompatilbe HSLIN K configuration alternating medium Red Green Looking for Link alternating slow Power Connectors Power Connector Pin 1 indicator Rear View Plug Table 4 Lemo 2 pin Circular Male Power Connector EEG 0B 302 CYM 2 Pin Pin Description 1 Supply voltage 24 10 Volts 2 Ground The camera requires a single voltage input 24 V The camera meets all performance specifications using standard switching power supplies although well regulated linear supplies provide optimum performance Table 5 Power Mating Connectors FHG 0B 302 CYCD52 right angle FGG 0B 302 CYCD52 straight Teledyne DALSA 03 032 20072 02 16 Piranha HS Sx User Manual WARNING When setting up the camera s power supplies follow these guidelines e Apply the appropriate reliable voltages e Protect the camera with a slow blow fuse between power supply and camera 2x nominal current e Do not use the shield on a multi conducto
44. inues to tap 1 For adjacent tap 17 the mean of the first 16 pixels are gained to match the mean of the last 16 pixels of tap 16 This seam matching continues to tap 30 Teledyne DALSA Piranha HS Sx User Manual 3 Calibrating the Camera to Remove Non Uniformity Flat Field Correction This camera has the ability to calculate correction coefficients in order to remove uniformity in the image when operating in TDI Mode This video correction operates on a pixel by 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 Lens and light source non uniformity Correction is implemented such that for each pixel L Vinpur dark offset FPN pixel digital gain PRNU pixel Note If your illumination or white reference does not extend the full field of view of the camera the camera will send a warning Teledyne DALSA where Notat digital output pixel value Mon digital input pixel value from the CCD PRN U pixel PRNU correction coefficient for this pixel FPN pixel FPN correction coefficient for this pixel The algorithm is performed in two steps The fixed offset FPN is determined first by performing a calculation without any light This calibration determines exactly how much offset to subtract per pixel in order to obtain flat
45. ion 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 03 032 20072 02 Purpose Syntax Syntax Elements Notes Related Commands Example Returns a complete line of video without pixel coefficients or test pattern displaying one pixel value after another It also displays the minimum maximum and mean value of the line sampled within the region of interest the region of interest command 1 explained in section Setting a Region of Interest Use the gl command or the following gla command to ensure the proper video input range into the processing chain before executing any pixel calibration commands gl 1 x2 x1 Column start number Must be less than the column end number in a range from 1 to column resolution 1 x2 Column end number Must be greater than the column start number in a range from 2 to sensor resolution e Ifx2 lt x1 then x2 is forced to be x1 e 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 e Available in TDI Mode only roi gl 10 20 Returning Averaged Lines of Video Setting the Number of Lines to Sample Purpose Syntax Syntax Elements Notes Related Commands Example Sets the
46. ius For proper operation this value should not exceed 75 Note If the camera s internal temperature 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 have to correct the temperature problem or the camera will shutdown again IMPORTANT Refer to the camera mounting instructions below for more information on managing the camera temperature The command vv displays the camera s input voltage Note that the voltage measurement feature of the camera provides only approximate results typically within 10 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 Teledyne DALSA 03 032 20072 02 44 Piranha HS Sx User Manual Camera Frequency Measurement Purpose Returns the frequency for the requested control signal Syntax gsf i Syntax Elements i Control signal to measure 1 EXSYNC 3 CC3 Forward Example gsf 1 03 032 20072 02 Returning All Camera Settings with the Camera Parameter Screen The camera parameter screen returns all of the camera s current settings To read all current camera settings use the command Syntax gcp Returning Camera Settings with Get Commands You can also return individual camera settings by inserting a get in front of the command that you w
47. low Idle Lock Lost Far end Reset Cmd Packet Failure Master Slave HSLINK reset Alpha cameras will only properly lock to frame grabber when the camera 1 turned on before or after starting the data acquisition program Turn off the camera when exiting a program that uses the Frame grabber Customer must identify the Master Slave Frame grabber during the system configuration step There 1 no Master Slave communication channel support This is the command channel and will enable auto enumeration of slaves and data resend requests from the slaves Master Slave command channel used for error communication from slave is not available at this time Can be field upgraded Use the ASCII serial command set for the Data will be packed on the Link This will exceed the PCIx 8 Gen 1 bandwidth INo fe Yes CRC error counters available Yes Header error counter available Yes Enables BER calculation Yes Good for system debug No Indicates missing rows of information No No No cu No Yes No No No No Yes No Yes Yes Yes Yes No No No No No 03 032 20072 02 20 Piranha HS Sx User Manual Camera to Master Frame grabber Power On Discovery Notes The camera and frame grabber will correctly discover each other if either the camera or the frame grabber are turned on or off regardless of order Master to Slave Power On Discovery Notes Please Note The communication channel betw
48. mable gain offset frame and frame rates trigger mode test pattern output and camera diagnostics e Mirroring and forward reverse control e Selectable Area or TDI Mode of operation Area Mode facilitates camera alignment and focusing Area mode can also be used for regular operation e Selectable pixel size binning e Flat field correction minimizes lens vignetting non uniform lighting and sensor FPN and PRNU The Piranha HS camera family represent Teledyne DALSA s latest generation of high sensitivity TDI based cameras The Piranha HS family maximizes system throughput and provides the largest number of pixels available in a TDI camera All cameras are capable of bi directionality with up to 256 stages of integration Teledyne DALSA 03 032 20072 02 03 032 20072 02 Piranha HS Sx User Manual The Piranha HS family is ideal for applications requiring high speed superior image quality and high responsivity Applications include e Flat panel display inspection e Printed circuit board inspection e High performance document scanning e Large web inspection e Low light applications e Postal sorting flats The Piranha HS Sx cameras are available in these models Table 1 Piranha HS Sx Camera Models Overview Model Number Description HS S0 12K40 12k resolution 90 kHz line rate 1 08 Gpix s throughput HSLink interface Throughout the manual the cameras are refered to as the Piranha HS Sx camera family unless
49. mage in a low contrast scene You should try to make your darkest pixel in the scene equal to zero Sytax ssb i Syntax Elements i Subtracted value in a range in DN from 0 to 4096 14 bit LSB Notes e See the following section for details on the ssg command Related Commands ssg 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual Teledyne DALSA Example 37 ssb 500 Purpose Syntax Syntax Elements Notes Related Commands Example Improves signal output swing after a background 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 sg value CR max output value sso value ssg i i Gain setting The gain ranges are 0 to 61439 The digital video values are multiplied by this value where 4096 e Use this command in conjunction with the ssb command described above System Gain 1 e Digital offset is set to zero after sending the ccf command ssb sab ssg 4500 Purpse Sytax Syntax Elements Notes Related Commands Example Use the background add command after performing flat field correction if you want to improve your image in a high contrast scene Use this command to increase the true black above 0 DN sab 1 i Add value in a range in DN from Oto 4096 14 bit LSB e See the following section for details
50. ng products and solutions in addition to providing MEMS products and services For more information visit Teledyne DALSA s website at www teledynedalsa com Support For further information not included in this manual or for information on Teledyne DALSA s extensive line of image sensing products please contact North America Europe Asia Pacific 605 McMurray Rd Breslauer Str 34 Ikebukuro East 13F oa AE D 82194 Gr benzell Munich 3 4 3 Higashi Ikebukuro Tel 519 886 6000 Germany Toshima ku Tokyo 170 0013 Fax 519 886 8023 Tel 49 8142 46770 Japan ww w teledynedalsa com Fax 49 8142 467746 Tel 81 3 5960 6353 sales americas Gteled ynedalsa com w Ww w teledynedalsa com Fax 81 3 5960 6354 fax support teled ynedalsa com sales europe Gteled ynedalsa com ww w teledynedalsa com support teled ynedalsa com sales asia teled ynedalsa com support teled ynedalsa com Teledyne DALSA Piranha HS Sx User Manual 3 IMPORTANT Handling Warning page 47 Teledyne DALSA 03 032 20072 02 4 Piranha HS Sx User Manual 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 5 Teledyne DALSA Contents Introduction to the Piranha HS Sx Camera 7 T B T 1 2 Gamera Pertorm atite 50601 9 1 3 Responsivity on 11 Camera Hardware Interface 13 2 1 Installation Overview 13 2 2 input OUTDUT CONMECIONS dh LED 14 LED SO eA 14 POWON CONMOU Ol 15
51. ning factors throughput setting and number of CCD integration stages e If you enter an invalid frame rate frequency the value the camera clips the frame rate to be within the current operating range and a warning message is returned e If you enter a frame rate frequency out of the range displayed on the help screen an error message is returned and the frame rate remains unchanged e The camera does not automatically change the frame rate after you change binning or stage selection values You may have to adjust your frame rate to avoid ignored syncs e To return the camera s frame rate use the gcp or get ssf sem ssf 10000 Purpose Syntax Syntax Elements 03 032 20072 02 Sets the pixel range used to collect the end of line statistics and sets the region of pixels used in the cao cpa gl gla ccf and ccp 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 roi 1 yl x2 y2 x1 Column start number Must be less than or equal to the column end number in a range from 1 to column resolution 1 yl Row start number Must be less than or equal to the row end number in range from 1 to row end number 1 except in Teledyne DALSA Piranha HS Sx User Manual 279 TDI Mode where 1 must be 1 x2
52. number of lines to sample when using the gla command or for pixel coefficient calculations css i i Number of lines to sample Allowable values are 1024 2048 or 4096 e To return the current setting use the command gla css 1024 Teledyne DALSA Piranha HS Sx User Manual 43 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 1 set and adjusted by the css command The camera displays the Min Max and Mean statistics for the pixels in the region of interest the region of interest command is explained in section Setting a Region of Interest Syntax gla 1 x2 Syntax Elements x1 Column start number Must be less than the column end number in a range from 1 column resolution 1 x2 Column end number Must be greater than the column start number in a range from 2 to column resolution Notes e 2 lt 1 then x2 is forced to be x1 e 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 e Available in TDI Mode only Related Commands css roi Example gla 10 20 Temperature Measurement The internal temperature of the camera can be determined by using the vt command This command will return the internal chip temperature in degrees Cels
53. on the ssg command ssg ssb sab 500 03 032 20072 02 38 Piranha HS Sx User Manual 3 4 Saving and Restoring Settings Saving and Restoring Factory and User Settings 03 032 20072 02 Figure 6 Saving and Restoring Overview Factory Settings rfs Current oe wus WPC wfc Factory Settings You can restore the original factory settings including the factory calibrated pixel coefficient set at any time using the command rfs There are two main sets of user settings Area Mode user settings and TDI Mode user settings After issuing the user settings save command wus settings are saved depending on which mode the camera is operating in when the command is issued Also when operating in TDI Mode digital gain and offset and background subtract values are saved as distinct values for Forward and Reverse directions In other words you can program the camera to operate with a digital gain value of 5db in Forward direction and an digital gain value of 3db in Reverse direction Forward and Reverse direction settings are saved simultaneously with the wus command Note that when you switch directions the settings saved for that direction are automatically loaded Figure 7 How User Settings are Stored in the HS Sx Cameras after issuing the wus Command START User issues wus command EN Camera is operating Camera is operating in Area Mode in TDI Mode e L
54. osure time with no charge reset 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 97 Frame rate is set by the period of the external trigger pulses EXSYNC pulses than the read out time are ignored The falling edge of EXSYNC marks the start of readout Note In TDI mode the frame period equals the line period Figure 3 Mode 3 Timing Mode 3 GHT ARFA MODE ONIY LIGHT ASFA GNTY Frame Period Frame Period Readout Readout EXSYNC Y j Y T Y y Falling Edge Falling Edge Ignored During Ignored During Readout Readout Mode 7 Internal Frame Rate Maximum Exposure Time In this mode the frame rate is set internally using the ssf command with a maximum exposure time Note In TDI mode the frame period equals the line period Figure 4 Mode 7 Camera Timing Internal Sync set A AY A with ss Command EXSYNC Falling ea Falling Edge ignored Edge ignored during readout during readout Teledyne DALSA 03 032 20072 02 28 Piranha HS Sx User Manual Setting Frame Rate and Exposure Time Purpose Syntax Syntax Elements Notes Related Commands Example Sets the camera s frame rate in Hz Camera must be operating in exposure mode 7 ssf f Set the frame rate to a value from TDI HS SO 4 300 to 90 822 Area HS SO 1 to 350 Value rounded up down as required The maximum line frame rate 15 affected by horizontal and vertical bin
55. r cable for ground e Keep leads as short as possible to reduce voltage drop e Use high quality linear supplies to minimize noise e Use an isolated type power supply to prevent LVDS common mode range violation e stable supply of power must be maintained during code upgrades Camera will fail if power is lost or unstable while updating code The user can not recover from this failure and the camera will have to be returned to Teledyne DALSA for repair Note Camera performance specifications are not guaranteed if your power supply does not meet these requirements HSLink Pinout Input S16 S15 514 513 512 511 510 59 58 S7 S6 S5 S4 S3 52 51 DataTx2 s6 fs DatsRx2e S DataTx2 ss s2 pDatatxi sia 53 DaaTkl S4 ata DataTxor si 1585 ata Oe Datatxo su fs ata Cmam si0 S7 ma Cmd T s9 S8 Jomar 1588 s9 ma Re sS7 so ma DataTx5 sof Sth ata o pDatatxs ss SI2 ata Sh psa sis ata 33 Js Data S DataTx3 S2 ss Data o si Signal G1 G9 G1 G9 Signal Ground Ground Signal H1 H2 H1 H2 Signal Ground Ground The camera accepts control inputs through the HSLink connector 51 52 53 54 S5 56 S7 S8 S9 S10 511 512 513 514 S15 S16 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 17 e it This camera s data should be sampled on the
56. string x pixel column number y pixel row number Teledyne DALSA 55 As a quick reference the following table lists all of the camera configuration commands available to the camera user For detailed information on using these commands refer to Chapter 3 Note This table does not list get commands Refer to section Returning Camera Settings for a list of these commands Table 9 Command Quick Reference Mnemonic correction calibrate fpn calculate camera gain calculate PRNU algorithm correction set sample display pixel coeffs Syntax ccf ccg cpa css dpc Parameters x1 x2 Description Performs FPN calibration and eliminates FPN noise by subtracting away individual pixel dark current Refer to Digital Signal Processing and Processing Chaim Overview and Description for details Calculates the camera gain according to the selected algorithm i Calibration target value in a range from 4096 to 16064 DN 14 bit LSB Performs PRNU calibration according to the selected algorithm The first parameter is the algorithm where 1 15 2 Calculates the PRNU coefficients using the entered target value as shown below Target PRNU Coefficient AVG Pixel Value FPN 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
57. t e Acarriage return CR ends each command e Aspace multiple space characters separate parameters Tabs commas are invalid parameter separators e Upper and lowercase characters are accepted e The backspace key is supported 03 032 20072 02 22 03 032 20072 02 Piranha HS Sx 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 gt The gt is used exclusively as the last character sent by the camera The following parameter conventions are used in the manual i integer value f realnumber m member ofa set s string tap id pixel column number y pixel row number Example to return the current camera settings gcp lt CR gt Note on HS S0 models and baud rate The HS SO cameras employ 115 200 fixed signal baud rate Set the camera s bit depth using the set data width command The command is in the form where the f parameter is 8 10 12 corresponding to 8 10 12 bit outputs respectively For example to set an 8 bit output use the command sdw 8 Save the selected bit depth using the write user settings command wus 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 con
58. t 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 Error 10 FPGA Flash Program Failed Piranha HS Sx User Manual Comment Where xx is a code list below Only output during power up Customer should contact Teledyne DALSA customer Support Command is not valid Too many or too few parameters This response returned for Alpha received for numeric or visa versa Float where integer expected Notan element of the set of possible values E g Baud Rate Outside the range limit E g SSF when in SEM 3 Command not completed in time E g CCF or CCP in SEM 3 when no external EXSYNC is present Indicates that user settings have been corrupted by turning off the power while executing the WUS command Must build up new settings from factory and re save with WUS 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 flashing red Shuts down at internal temperature of 75 and will not restart until below 65 C equivalent to 50 C at front plate FCS failed either because of communication error or a bad file was sent Teledyne DALSA Piranha HS Sx User Manual A2 Commands Quick Reference Parameters t tapid i integer value float m member of a set s
59. that the EXSYNC signal supplied to the camera does not exceed the camera s useable frame rate under the current operating conditions Noisy Output Check your power supply voltage outputs for noise Noise present on these lines can result in poor video quality 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 03 032 20072 02 59 Piranha HS Sx User Manual 4 Fold a piece of optical lens cleaning tissue approx 3 x 5 to make a square pad that 15 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 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 53 Ai Error Handling The following table lists warning and error messages and provides a description and possible cause Warning messages are returned when the camera cannot meet the full value of the request error messages are returned when the camera is unable to complete the request Table 8 Warning and Error Messages Warning Messages Camera Response 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
60. the camera s input voltage use the vv command If it is within the proper range the camera returns OK gt and the voltage value Otherwise the camera returns an error message Verify Temperature To check the internal temperature of the camera use the vt command For proper operation this value should not exceed 75 C Note If the camera reaches 75 C 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 have to correct the temperature problem or the camera will shutdown again If you enter any command other than vt or the camera responds with Error 09 The camera s temperature exceeds the specified operating range gt Verify Pixel Coefficients Use the dpe command to display the pixel coefficients in the order FPN PRNU FPN PRNU The camera also returns the pixel number for each fifth pixel Teledyne DALSA 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 the camera is not receiving spurious inputs e g EXSYNC if camera is in exposure mode that requires external signals Unused signals in the cable should be termintated in 100Q Line Dropout Bright Lines or Incorrect Frame Rate Verify that the frequency of the internal sync is set correctly or when the camera 1s set to external sync
61. tion background add background subtract system gain and pixel coefficients These settings are automatically loaded when you switch direction All other settings are common to both directions e See the following figures for an illustration of CCD shift direction in relation to object movement e Note that some commands that require longer processing time like ccg delay implementation of an external direction change scd 1 Teledyne DALSA Piranha HS Sx User Manual 25 Direction of Object Movement Camera should operate in Reverse CCD Shift Direction scd 1 Figure 2 Object Movement and Camera Direction Example using an Inverting Lens Camera should operate in Forward CCD Shift Direction scd 0 Direction of Object Movement Exposure Mode and Line Frame Rate Teledyne DALSA How to Set Exposure Mode and Line Frame Rate You have a choice of operating the camera in one of two exposure modes Depending on your mode of operation the camera s line frame rate synchronization can be generated internally through the software command ssf or set externally with an EXSYNC signal When operating in TDI Mode it is important that the line rate used matches the web speed Failure to match the web speed will result in smearing Refer to the application note Line Scan TDI Line Scan Calculation Worksheet located on the Knowledge Center page of our website here for a further explanation on how to synchronize your w
62. will be remembered and be reusable To do so issue the commands wpc 1 where 1 is the coefficient set to save and wus Forward and reverse direction settings are stored separately and coefficients must be saved before switching direction 5 If you will be operating the camera in the opposite camera shift direction repeat steps 2 through 4 after changing direction 6 Enable the coefficients using the command epc 1 1 You should see a flat line with a couple of DN peak to peak residual patterns It is necessary to average many lines to see the residual FPN PRNU 03 032 20072 02 Teledyne DALSA Piranha HS Sx User Manual 33 Purpose The camera can determine appropriate gain values This command calculates the gain required to reach the output target with a seam matching algorithm Syntax ccg i Syntax Elements i i Calculation target value in a range from 4096 to 16064 DN 14 bit LSB Notes This function requires constant light input while executing To use this command the CCD shift direction scd should be set to forward 0 or reverse 1 Perform gain algorithms before performing FPN and PRNU calibration Example ccg 13056 To update the gain reference Purpose Sets the current gain setting to be the Od B point This is useful after tap gain matching to allow you to change the gain on all taps by the same amount Syntax ugr Performing FPN Correction Syntax Performs FPN correction and eliminat

Download Pdf Manuals

image

Related Search

Related Contents

愛媛県建設 CALS/EC 運用マニュアル −請負工事− 愛 媛 県 土 木 部  Fatek OPC Server User`s Manual  DRO - NVP- M - por  montage du raptor 50 titanium - MRC  2006 Hochdruckreiniger KingCraft  leggi la rassegna  K7357_L6356 User Manual G1  Soleus Air MW-55 User's Manual  ワンタッチフロント丿ヾネル 取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file