Home

Piranha3 P3-S0-16K40-00-R P3-S0-16K20-00-R P3-80-16K40-00-R

image

Contents

1. M4x0 7 O 7 0 2 BOTH SIDES RECOMMENDE MAX TORQUE 25 IN LB SSS AIRFLOW 4X HSLink Interface 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 39 4 1 Lens Mounts Model Number Lens Mount Options All models M72x0 75 thread 4 2 High Temperature and Mounting 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 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 Proper thermal mounting of the camera should result in an internal ca
2. Responsivity DN cm uw 1 0 0 0 350 400 450 500 550 600 650 700 750 800 850 900 Wavelength nm 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 9 2 1 installation Overview This installation overview assumes you have not installed any system components yet When installing your camera you should take these steps 1 Power down all equipment 2 Follow the manufacturer s instructions to install the framegrabber if applicable Be sure to observe all static precautions 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 Connect data and power cables After connecting cables apply power to the camera Use the verify voltage vv command to verify that the camera is receiving a voltage of 12 to 15 DC If the camera is receiving less than the recommended voltage then you may have to upgrade and or shorten the power cable you are using 8 Check the diagnostic LED See LED Status Indicator for an LED description You must also set up the other com
3. 26 Digital Signal Processing for Processing ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssessssssssssssessessnsseesset 29 3 4 Saving and Restoring Settings 3 5 Diagnostics Returning a Single Line of Video Returning Averaged Lines of Video Returning All Camera Settings with the Camera Parameter Screen 36 Returning Camera Settings with Get Commands Optical and Mechanical 37 4 1 Lens Mounts 4 2 High Temperature and Mounting ssssssssssssssscccsssssssssssssssesssscsssssssssssssssssscsssessesssssssssssssssecseceesesssssssssssnsseceseeseeeess 39 Troubleshooting 40 Teledyne DALSA 03 032 20099 00 Piranha3 16K HSLink and Camera Link User Manual Deta Clocking Output Signals i4 cccscccccccsdsscessccccccccceccecsecetesscccccescceccccesccctsscccecceccccecceesecessssscecccccocesssssstess 40 5 2 Troubleshooting Using the Serial Interface ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssees 4 COTTON OBS 4 Venty P r mblelsc e S LL S 5 4 Verify Calibrated Senin Gs EE 4 Verify Timing and Digital Video 4 Generating Test Patterns 4 4 aa 4 Verify Pixel Coefficients 5 3 Specific Solutions Error Handling and Command L
4. 8 DataTx5 s sg Dama ss munie m s ata ae muni s ss ata E ss 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 S16 S15 S14 513 512 510 59 58 57 S6 S5 54 53 52 51 Table 5 Camera Control Configuration Signal Configuration CCl EXSYNC The camera ships in internal sync internal programmed integration 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 See section Exposure Mode and Line Rate for details on how to set frame times exposure times and camera modes An Important Note Do not stop imaging with the ESYNC signal high If the EXSYNC signal is high when imaging stops an imaging artifact will remain on the next line 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 13 Note that LVAL FVAL are embedded in data lanes For additional information refer to the HSLink supplementary information below Camera Rx Tx 5 serial lanes 8 or 10 bit 6 serial lanes 12 bit 312 5 Mb sec Frame Grabber The cameras HSLink are compatible with the Xcelera HS PX8 f
5. STROBE 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 2 3 Camera Link Video Timing Figure 4 Piranha 3 Overview Timing Showing Input and Output Relationships STROBE A IU tLINE PERIOD twSYNC wSYNO INT 4 1 ITRANSFER tREADOUT tOVERHEAD LINE VALID if i OOOO P000000000000004 POOODOOOQ thPR tPR_SET gt twPR LOW PIXEL RESET Teledyne DALSA 03 032 20099 00 20 Piranha3 16K HSLink and Camera Link User Manual Figure 5 Piranha 3 Fixed Programmed Integration Timing with External EXSYNC smose ULULE UUs Lf nar AR f LINE VALID M tLINE PERIOD twSYNC AwSYNC INT twFixed Int tREADOUT fe oA 00000000 600O00000000000d 00000000 Table 11 Piranha 3 Input and Output Symbol Definition Min ns twSYNC The minimum low width of the EXSYNC pulse when not in SMART 100 EXSYNC mode twSYNC Ihe minimum low width of the EXSYNC pulse when in SMART EXSYNC modes to guarantee the photosites are reset 3 000 twSYNC INT The minimum w
6. 2 Every 4th Even Pixel 3 Every 4th Odd Pixel 4 Every 4th Even Pixel 2 Every 4th Odd Pixel 2 Every 4th Even Pixel 3 Every 4th Odd Pixel 4 Every 4th Even Pixel smm 0 CL tap 1 1 9 to 16377 CL tap 2 2 10 to 16378 CL tap 3 3 11 to 16379 CL tap 4 4 12 to 16380 CL tap 5 5 13 to 16381 CL tap 6 6 14 to 16382 CL tap 7 7 15 to 16383 CL tap 8 8 16 to 16384 smm 1 CL tap 1 16384 16376 to 8 CL tap 2 16383 16375 to 7 CL tap 3 16382 16374 to 6 CL tap 4 16381 16373 to 5 CL tap 5 16380 16372 to 4 CL tap 6 16379 16371 to 3 CL tap 7 16378 16370 to 2 CL tap 8 16377 16369 to 1 Command Camera Link Taps Readout Direction Controlled by Pixel Rate smm command Configuration Controlled by sot command sdw 8 8 Camera Link taps where sot 320 Table 10 Camera Link Pixel Readout Configurations Full Camera Link Configuration and Bit Depth 10 Camera Link Mode Configuration Controlled by clm command Full and Bit Depth 10 1 Every 4th Odd Pixel 2 Every 4th Even Pixel 3 Every 4th Odd Pixel 4 Every 4th Even Pixel 1 Every 4th Odd Pixel 2 Every 4th Even Pixel 3 Every 4th Odd Pixel 4 Every 4th Even Pixel smm 0 CL tap 1 1 9 to 16377 CL tap 2 2 10 to 16378 CL tap 3 3 11 to 16379 CL tap 4 4 12 to 16380 CL tap 5 5 13 to 16381 CL tap 6 6 14 to 16382 CL tap 7 7 15 to 16383 CL tap 8 8 16 to 16384 smm 1 CL tap 1 16384 16376 to 8 CL t
7. 6 Port C5 TxIN22 RxOUT22 D2 Bit 5 D2 Bit 7 Port C6 TxIN16 RxOUT16 D2 Bit 6 D2 Bit 8 Port C7 TxIN17 RxOUT17 D2 Bit 7 MSB D2 Bit 9 MSB LVAL TxIN24 RxOUT24 Line Valid Line Valid FVAL TxIN25 RxOUT25 Frame Valid Frame Valid DVAL or TxIN26 RxOUT26 Not Used Port 10 DO Bit 0 Port 11 TxIN23 RxOUT23 Not Used DO Bit 1 Strobe TxINCLK RxOUTCLK Pixel Clock Pixel Clock 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 49 n 8 tap 8 bit mode this port is DVAL and is not used In 8 tap 10 bit mode this port is Port IO and DO Bit 0 is assigned to it Transmitter Y Signal rame E 8 Tap 8 Bit 8 Tap 10 Bit Port DO TxINO RxOUTO D3 Bit 0 D3 Bit 2 Port D1 TxIN1 RxOUT1 D3 Bit 1 D3 Bit 3 Port D2 TxIN2 RxOUT2 D3 Bit 2 D3 Bit 4 Port D3 TxIN3 RxOUT3 D3 Bit 3 D3 Bit 5 Port D4 TxIN4 RxOUT4 D3 Bit 4 D3 Bit 6 Port D5 TxIN6 RxOUT6 D3 Bit 5 D3 Bit 7 Port D6 TxIN27 RxOUT27 D3 Bit 6 D3 Bit 8 Port D7 TxIN5 RxOUT5 D3 Bit 7 MSB D3 Bit 9 MSB Port EO TxIN7 RxOUT7 D4 Bit 0 D4 Bit 2 Port E1 TxIN8 RxOUT8 D4 Bit 1 D4 Bit 3 Port E2 TxIN9 RxOUT9 D4 Bit 2 D4 Bit 4 Port E3 TxIN12 RxOUT12 D4 Bit 3 D4 Bit 5 Port E4 TxIN13 RxOUT13 D4 Bit 4 D4 Bit 6 Port E5 TxIN14 RxOUT14 D4 Bit 5 D4 Bit 7 Port E6 TxIN10 RxOUT10 D4 Bit 6 D4 Bit 8 Port E7 TxIN11 RxOUT11 D4 Bit 7 MSB D4 Bit 9 MSB Port FO TxIN15 RxOUT15
8. D6 Bit 9 MSB Port HO TxIN7 RxOUT7 D7 Bit 0 D7 Bit 2 Port H1 TxIN8 RxOUT8 D7 Bit 1 D7 Bit 3 Port H2 TxIN9 RxOUT9 D7 Bit 2 D7 Bit 4 Port H3 TxIN12 RxOUT12 D7 Bit 3 D7 Bit 5 Port H4 TxIN13 RxOUT13 D7 Bit 4 D7 Bit 6 Port H5 TxIN14 RxOUT14 D7 Bit 5 D7 Bit 7 Port H6 TxIN10 RxOUT10 D7 Bit 6 D7 Bit 8 Port H7 TxIN11 RxOUT11 D7 Bit 7 MSB D7 Bit 9 MSB Port 15 TxIN15 RxOUT15 Not Used D2 Bit 1 Port 16 TxIN18 RxOUT18 Not Used D3 Bit 0 Port 17 TxIN19 RxOUT19 Not Used D3 Bit 1 Port KO TxIN20 RxOUT20 Not Used D4 Bit 0 Port K1 TxIN21 RxOUT21 Not Used D4 Bit 1 Port K2 TxIN22 RxOUT22 Not Used D5 Bit 0 Port K3 TxIN16 RxOUT16 Not Used D5 Bit 1 Port K4 TxIN17 RxOUT17 Not Used D6 Bit 0 LVAL TxIN24 RxOUT24 Line Valid Line Valid FVAL or TxIN25 RxOUT25 Frame Valid Port K5 D6 Bit 1 DVAL or TxIN26 RxOUT26 Not Used Port K6 D7 Bit 0 Port K7 TxIN23 RxOUT23 Not Used D7 Bit 1 Strobe TxINCLK RxOUTCLK Pixel Clock Pixel Clock n 8 tap 8 bit mode this port is FVAL and the frame valid signal is assigned to it In 8 tap 10 bit mode this port is Port K5 and D6 Bit 1 is assigned to it n 8 tap 8 bit mode this port is DVAL and is not used In 8 tap 10 bit mode this port is Port K6 and D7 Bit 0 is assigned to it 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 5 Teledyne DALSA s P3 S0 16Kx0 cameras meet the requirements outlined below which satisfy the EMC requirements for CE marking the FCC Part 1
9. Must be less than the column end number arange from 1 to 16384 x2 Column end number Must be greater than the column start number in arange from 2 to 16384 e Ifx2 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 Values returned are in 12 bit DN gl 10 20 Setting the Number of Lines to Sample Purpose Syntax Syntax Elements Notes Related Commands Example 03 032 20099 00 Sets the number of lines to sample when using the gla command or for pixel coefficient calculations css m m Number of lines to sample Allowable values are 1024 2048 or 4096 e Toreturn the current setting use the command gla css 1024 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 35 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 css command The camera displays the Min Max and Mean statistics for the pixels in the region of interest Syntax gla 1 x2 Syntax Elements 1 Column start number Must be less than the column end number in a range from 1 to 16383 x2 Column end number Must be greater than the column start number in a range from 2 to 16384 Notes e Ifx2 lt 1 then x2 is for
10. 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 svm 1 to activate the test pattern The test pattern is a ramp from 0 to 255DN then starts at 0 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 svm 0 command to activate video Then run the gl command under both dark and light conditions to retrieve a line of raw video no digital processing Verify Voltage To check the camera s input voltage use the vv command If it is within the proper range the camera returns OK 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
11. frame rate in Hz Camera must be operating in exposure mode 2 Syntax ssf f Syntax Elements Set the frame rate to a value from 1 to 72070 P3 S0 16k40 HSLink or 1 to 40000 P3 50 16 20 HSLink and P3 80 16K40 Camera Link Value rounded up down as required Notes e Ifyou 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 Ifyou 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 return the camera s frame rate use the or get ssf Related Commands sem Example ssf 10000 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 25 Setting the Exposure Time Purpose Sets the exposure time in The camera must be operating in mode 2 3 or 8 to use this feature Syntax set Syntax Elements f The exposure time value in a range from 1 to 8888 us Notes e Toread the current exposure time use the gcp command e Ifyou enter an invalid exposure time an error message is returned Related Commands sem ssf Example set 400 5 Digital Signal Processing Chain Processing Chain Overview and Description The following diagram shows a simplified block diagram ofthe camera s digital processing chain The digital processing chain contains the digital gain FPN cor
12. rc the camera responds with Error 09 The camera s temperature exceeds the specified operating range Teledyne DALSA 03 032 20099 00 42 Piranha3 16K HSLink and Camera Link User Manual Verify Pixel Coefficients Use the dpc command to display the PRNU pixel coefficients 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 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 Verify that the frequency of the internal sync is set correctly or when the camera is set to external sync 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 4 Fold a piece of optical lens cleaning tissue approx 3 x 5 to make a square pad that is approximate
13. to 15 4 GND Mating Part HIROSE 2 Min 12 to Max 15V 5 GND HR10A 7P 6S 3 Min 12 to Max 15V 6 GND The camera requires a single voltage input 12 V to 15 V DC The camera meets all performance specifications using standard switching power supplies although well regulated linear supplies provide optimum performance 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 conductor 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 A 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 Teledyne DALSA 03 032 20099 00 12 Piranha3 16K HSLink and Camera Link User Manual Signs Camere _ Frame Grabber Frame Grabber Signal Daama se Daam sis DataTxi ss Damo Ferr 9
14. will lead to better balancing For best results ensure that Note If your illumination or white 1 60Hz ambient light flicker is sufficiently low not to affect camera performance and reference does not calibration results extend the full field of vicio the amer The brightest pixel should be slightly below the target output the camera willsenda 3 When 6 25 or more of pixels from a single row within the region of interest are warning clipped flat field correction results may be inaccurate Calibration Overview When a camera images a uniformly lit field ideally all of the pixels will have the same gray value However in practice this is rarely the case see example below as a number of factors can contribute to gray scale non uniformity in an image Lighting non uniformities and lens distortion PRNU pixel response non uniformity in the imager FPN fixed pattern noise in the imager etc Figure 8 Image with non uniformities By calibrating the camera you can eliminate the small gain difference between pixels and compensate for light distortion This calibration employs a two point correction that is applied to the raw value of each pixel so that non uniformities are flattened out The response of each pixel will appear to be virtually identical to that of all the other pixels of the sensor for an equal amount of exposure Teledyne DALSA 03 032 20099 00 8 Piranha3 16K HSLink and Camera Link User Manual Ca
15. 0099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 7 Operating P3 SO 16k40 P3 SO 16k20 and Ranges P3 80 16k40 Minimum Line Rate 1Hz 1Hz Maximum Line Rate 72 KHz 40 KHz Throughput 1 179 Mpix s 655 Mpix s Gain 0 dB to 20 dB 0 dB to 20 dB Test conditions unless otherwise noted e Line Rate 10 kHz e Nominal Gain setting 0 dB e Light Source Broadband Quartz Halogen 3250 k with 700 nm IR cutoff filter installed e All specifications are measured at 25 C front plate measurement 1 Measured at the front plate It is the user s responsibility to insure that the operating temperature does not exceed this range Performance Gain 0 dB Gain 10 dB Gain 20 dB Min Typ Max Min Typ Max Min Typ Max Dynamic Range 500 160 50 Random Noise DN rms 0 5 1 5 4 8 SEE nJ 0 8 0 26 0 08 NEE cm 1 6 1 6 1 6 Corrected Broadband Responsivity 2 8 8 8 28 DN nJ cm FPN DN p p with correction p FPN DN p p w o correction 4 13 41 PRNU with correction 2 PRNU w correction 25 25 25 Saturation Output Amplitude DN 255 Measused in 8 bit configuration Teledyne DALSA 03 032 20099 00 8 Piranha3 16K HSLink and Camera Link User Manual 1 3 Responsivity Responsivity vs Wavelength Measured from the camera Responsivity 1 Responsivity 8 Bit 10 dB
16. 1 Example dpc 10 20 Subtracting Background Purpse Use the background subtract command after performing flat field correction if you want to improve your image 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 1024 12 bit LSB Notes e Seethe following section for details on the ssg command Related Commands ssg Example ssb 500 Setting System Gain Purpose 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 max output value ssb value Syntax ssg i Syntax Elements i Gain setting The gain ranges are 0 to 61438 The digital video values are multiplied by this value where i 4096 Notes e Use this command in conjunction with the ssb command described above System Gain 1 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 3l Related Commands Example e We recommend that i is never set below 4096 Setting i to 0 will result in only 0 output data e Digital offset is set to zero after sending the command ssb sab ssg 4500 Purpse Sytax Syntax Elements Notes Related Commands Example Use the
17. 5 requirements and the Industry Canada ICES 003 evaluation Model P3 x0 16Kx0 00 R Evalutation Date The CE Mark Evaluation of the Teledyne DALSA P3 x0 16Kx0 00 R Camera which is manufactured by Teledyne DALSA Inc meets the following requirements EN 55022 EN 55011 ICES 003 CISPR 22 Radiated emissions requirements CISPR 11 and FCC Part 15 EN 61326 1 and EN 55024 Immunity to disturbances 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 A 4 A Teledyne DALSA 03 032 20099 00 52 Piranha3 16K HSLink and Camera Link User Manual Revision History Revision Change Description Date 00 Preliminary release February 27 2012 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 53 A applications 5 EMC Declaration of Conformity 51 B error messages 43 exposure modes bright lines 42 overview 23 EXSYNC 12 19 troubleshooting 40 external trigger 12 19 calibrating the camera 26 calibration errors 30 overview 26 FPN 7 26 results 30 steps 27 camera control signals 17 18 gain 5 29 messages 43 gain ranges 7 camera control signals 12 Camera Link configuration pinout 16 connector 16 help 22 outputs 13 Hirose connector 11 ca
18. D5 Bit 0 D5 Bit 2 Port F1 TxIN18 RxOUT18 D5 Bit 1 D5 Bit 3 Port F2 TxIN19 RxOUT19 D5 Bit 2 D5 Bit 4 Port F3 TxIN20 RxOUT20 D5 Bit 3 D5 Bit 5 Port F4 TxIN21 RxOUT21 D5 Bit 4 D5 Bit 6 Port F5 TxIN22 RxOUT22 D5 Bit 5 D5 Bit 7 Port F6 TxIN16 RxOUT16 D5 Bit 6 D5 Bit 8 Port F7 TxIN17 RxOUT17 D5 Bit 7 MSB D5 Bit 9 MSB LVAL TxIN24 RxOUT24 Line Valid Line Valid FVAL or TxIN25 RxOUT25 Frame Valid Port I2 D1 Bit 0 DVAL or TxIN26 RxOUT26 Not Used Port I3 D1 Bit 1 Port 14 TxIN23 RxOUT23 Not Used D2 Bit 0 Strobe TxINCLK RxOUTCLK Pixel Clock Pixel Clock n 8 tap 8 bit mode this port is FVAL and the frame valid signal is assigned to it In 8 tap 10 bit mode this port is Port I2 and D1 Bit O is assigned to it n 8 tap 8 bit mode this port is DVAL and is not used In 8 tap 10 bit mode this port is Port I3 and D1 Bit 1 is assigned to it Teledyne DALSA 03 032 20099 00 50 Piranha3 16K HSLink and Camera Link User Manual Transmitter Z Signal rame ES 8 Tap 8 Bit 8 Tap 10 Bit Port GO TxINO RxOUTO D6 Bit 0 D6 Bit 2 Port G1 TXxIN1 RxOUT1 D6 Bit 1 D6 Bit 3 Port G2 TxIN2 RxOUT2 D6 Bit 2 D6 Bit 4 Port G3 TxIN3 RxOUT3 D6 Bit 3 D6 Bit 5 Port G4 TxIN4 RxOUT4 D6 Bit 4 D6 Bit 6 Port G5 TxIN6 RxOUT6 D6 Bit 5 D6 Bit 7 Port G6 TxIN27 RxOUT27 D6 Bit 6 D6 Bit 8 Port G7 TxIN5 RxOUT5 D6 Bit 7 MSB
19. DN For example cpa 2 3300 4 Save the PRNU coefficients using the command wpc For example wpc Note Both the FPN and PRNU coefficients are always turned on 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 29 Undating the Gain Reference To update the gain reference Purpose Sets the current gain setting to be the 0 dB point This is useful after tap gain matching to allow you to change the gain on all taps by the same amount Syntax ugr FPN Correction Note FPN correction is done in the factory PRNU Correction Performing PRNU to a user entered value Purpose 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 during the algorithm execution but returned to the state they were prior to command execution Syntax cpami Syntax Elements m 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
20. 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 ep 2 2 9 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 www teledynedalsa com Fax 49 8142 467746 Tel 81 3 5960 6353 sales americas Gteled ynedalsa com www teledynedalsa com Fax 81 3 5960 6354 fax support teled ynedalsa com sales europe teled ynedalsa com www teledynedalsa com support teled ynedalsa com sales asia teledynedalsa com support eled ynedalsa com 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual Contents Piranha3 16k CMOS Line Scan Camera 5 1 1 Camera Highlights cssssssssssssssssssecsssssssssssssssssssssssessesssssssssssssssseseseesssssssssssnssscssseecessssssssssssusecssceeeessessssssssnssecees 5 Ce amera DE 6 WES RESPONSIVE DENN 8 Camera Hardware Interface 9 2 1 Installation EM 9 22 Input Output Commectors LED ette HR 10 HSLinlPing t 2e decet 12 MM 12 Output Signals csssssssssssssscccccssssssssssssss
21. Piranha3 P3 S0 16K40 00 R P3 S0 16120 00 R P3 80 16K40 00 R Camera User s Manual A Teledyne Technologies Company TELEDYNE DALSA mW 03 032 20099 00 ledynedalsa com 2 Piranha3 16K HSLink and Camera Link User Manual 2012 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 imaging products and solutions in addition to providing MEMS products and services
22. Slave 3 5 Slave 4 6 Slave 5 The slave should only be turned on once an image is acquired by the preceding slave Teledyne DALSA 03 032 20099 00 16 Piranha3 16K HSLink and Camera Link User Manual 2 2 3 Camera Link Data Connector Camera Link information available from our Web site The Camera Link Implementation Road Map available from the Teledyne DALSA Web site http www teledynedalsa com mv knowledge appnotes aspx contains detailed information on implementing Camera Link including configuration and signal information Figure 3 Camera Link MDR26 Connector i 3M part 14X26 SZLB XXX OLC is a complete CE cable assembly including connectors 26 14 Unused pairs should be terminated in 100 ohms at both ends of the cable Mating Part 3M 334 31 series Cable 14X26 SZLB XXX OLC note concerning the length of the Camera Link cables The length of the cables over which data can be transmitted without loss depends on the data rate and on the quality of the cables The camera is tested using a recognized brand of cable with a length of 5 meters Data transmission is not guaranteed if you are using a cable greater than 5 meters in length The Camera Link interface is implemented as a Medium or Full Configuration in the Piranha 3 cameras Table 6 Camera Link Hardware Configuration Summary Configuration 8 Bit Port
23. amera 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 in this case 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 Exposure mode 2 e jOkHz line rate e Factory gain 10 dB e Factory calibrated FPN and PRNU coefficients Note regarding start up times This camera requires approximately 20 seconds to power up 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 23 3 2 Exposure Mode and Line Rate How to Set Exposure Mode and Line Rate You have a choice of operating the camera in one of four exposure modes Depending on your mode of operation the camera s line rate synchronization can be generated internally through the software command ssf or set externally with an EXSYNC signal To select how you want the camera s line rate to be generated 1 You must first set the camera s exposure mode using the semcommand 2 Next if using mode 2 use the command ssf to set the line rate Refer to section Setting Frame Rate for details Purpose S
24. ap 2 16383 16375 to 7 CL tap 3 16382 16374 to 6 CL tap 4 16381 16373 to 5 CL tap 5 16380 16372 to 4 CL tap 6 16379 16371 to 3 CL tap 7 16378 16370 to 2 CL tap 8 16377 16369 to 1 Command Camera Link Taps Readout Direction Controlled by Pixel Rate smm command Configuration Controlled by sot command sdw 10 8 Camera Link taps where sot 320 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 19 The camera accepts control inputs through the Camera Link MDR26F connectors 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 Exposure Mode and Line Rate details how to set frame times exposure times and camera modes These signals indicate when data is valid allowing you to clock the data from the camera to your acquisition system These signals are part of the Camera Link configuration and you should refer to the Camera Link Implementation Road Map available here for the standard location of these signals IMPORTANT z This camera s data Clocking Signal Indicates should be sampled on LVAL high Outputting valid line the rising edge of DVAL high Valid data
25. 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 i i Add value in a range in DN from 0 to 4096 12 bit LSB e See the following section for details on the ssg command ssg ssb sab 500 3 4 Saving and Restoring Settings Saving and Restoring Factory and User Settings Figure 9 Saving and Restoring Overview Factory Settings You can restore the original factory settings including the factory calibrated pixel coefficient set 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 e To save all current user settings to EEPROM for the current mode 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 Teledyne DALSA 03 032 20099 00 32 Piranha3 16K HSLink and Camera Link User Manual e restore the last saved user settings including the last used pixel coefficient set for the current mode use the command rus Current Session Settings 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 set
26. ced 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 Values returned are in 12 bit DN Related Commands css 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 Celsius For proper operation this value should not exceed 75 C Note If the camera s internal temperature 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 IMPORTANT Refer to the camera mounting instructions below for more information on managing the camera temperature Voltage Measurement The command vv displays the camera s input voltage Note that the voltage measurement feature of the camera provides only approximate results typically within 1 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 Camera Frequency Measurement Purpose Returns the EXSYNC frequency 1 Syntax gsf Example gsf Teledyne DALSA 03 032 20099 00 36 Piranha3 16K HSLink and Camera Link User Manual The camera parameter GCP screen ret
27. coefficients reset to 0 Refer to section 3 4 Saving and Restoring Settings for details resetstatscounter restore user settings rus Restore the camera s last saved user settings and FPN and PRNU coefficients Refer to section 3 4 Saving and Restoring Settings for details set add background 0 4096 set binning sbh m 1 no binning every single pixel is the independent horizontal output unit 2 every adjacent odd and even two pixels are bound together become a single output unit therefore the sensor size becomes of its maximum size 8 10 or 12 bit operation set exposure mode sem m Set the exposure mode 2 Internal SYNC programmable line rate and exposure time 3 Internal SYNC maximum exposure time 4 External SYNC 6 External SYNC programmable exposure time Set exposure time Sets the exposure time in a range of 1 to 8888 us set gain sg tf t 0 32 24dB 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 47 Msemenis Symex 7 set hslink mode sim i 0 6 HSLink model only 0 All pixels are read out from left to right 1 All pixels are read out from right to left set prnu coeff spc 1 Set the PRNU coefficient x pixel number within the range 1 to 16384 i PRNU value within the range 0 to 65535 set prnu range spr xl x2i Sets the PRNU range 1 1 to 16384 x2 1 to 16384 i 0
28. 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 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 ina range from 1024 to 4055 DN The values for background subtract ssb system gain ssg and background add sab are set to 0 1 and 0 respectively after using the cpa command correction set Set number of line samples averaged for pixel sample coefficient calculations or for output of gla command Values 1024 2048 4096 Refer to Returning Averaged Lines of Video on page 34 for details display pixel coeffs dpc Displays the PRNU pixel coefficients 1 Pixel start number x 2 Pixel end number In arange from 1 to 16384 E command log getcamera model camera model Pem o Reads the camera model number Reads all of the camera parameters pre getcameraserial camera serial les Read the camera serial number get camera version PC INC y Read the firmware version and FPGA version fee Returns a help screen listing all of the get commands get line Gets a lin
29. d data resend requests from the slaves Video Data Resend No Master Slave command channel used for error communication from slave is not available at this time Can be field upgraded LED functions Yes GeniCam No Use the ASCII serial command set Trigger Control Yes 12 bit mode Yes Data will be packed on the Link This will exceed the PCIx 8 Gen 1 bandwidth Missed Trigger Flag Yes DATA CRC Error Yes CRC error counters available Flag Header Error Flag Yes Header error counter available 8b 10B Error counter Yes Enables BER calculation Test Patterns Yes Good for system debug Data Lost Flag No Indicates missing rows of information Camera Data buffer No overflow Idle Lock Lost No Far end Reset No Cmd Packet Failure No Master Slave No HSLIN K reset 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 15 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 between 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 Id 0 ID1 IDO ID 1 The power on sequence for the cameras to guarantee functionality is 1 Camera Master 2 Slave 1 3 Slave 2 4
30. e 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 Pixel start number Pixel end number In arange from 1 to 16384 Refer to Returning a Single Line of Video on page 34 for details Teledyne DALSA 03 032 20099 00 4 Piranha3 16K HSLink and Camera Link User Manual Mnemonic Syntax Parameters Desriphon get line average gla XX Read the average of line samples x Pixel start number x Pixel end number in a range from 1 to 16384 Refer to Returning Averaged Lines of Video on page 34 for details get prnu coeff gpc X Read the PRNU coefficient x pixel number to read in a range from 1 to 16384 count E signal frequency Returns the EXSYNC frequency hep Display the online help Refer to section for details help single command load fpn coefficients Loads the factory set fpn coefficients from non volatile memory load pixel m Loads the previously saved pixel coefficients from coefficients non volatile memory Fl loo counter ud reset and reboots with the value last used restore factory 0 load PRNU coefficients from factory set coefficients 1 load PRNU coefficients from one of user sets The user set selected is dependent on the current selection made using the ssn command restore factory Restore the camera s factory settings FPN and settings PRNU
31. ebugging The test patterns are useful for verifying proper timing and connections between the camera and the frame grabber Syntax svm i Syntax Elements i 0 Video 1 4 As shown below SVM 1 DCi Integer 1 1 2048 24 24 Where i 1 to 16384 SVM 2 HORi Modulus DCi Modulus Modulus i 1 2048 256 256 Where i 1 to 16384 SVM 3 VERi Modulus DCi i 1 256 Where i 1 to 256 SVM 4 DIAGi Modulus VERI 256 Where i 1 to 16384 Figure 10 Test Image Patterns Teledyne DALSA 03 032 20099 00 34 Piranha3 16K HSLink and Camera Link User Manual 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 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 Use the g1 command or the following gla command to ensure the proper video input range into the processing chain before executing any pixel calibration commands gl x1 x2 1 Column start number
32. er Manual Table 1 Piranha P3 S0 P3 80 Camera Models Overview Model Number Description P3 S0 16K40 00 R 16k resolution 72 kHz line rate 1179 Mpix s throughput HSLink interface P3 S0 16K20 00 R 16k resolution 40 kHz line rate 655 Mpix s throughput HSLink interface P3 80 16K40 00 R 16k resolution 40 kHz line rate 655 Mpix s throughput Camera Link interface 12 Camera Performance Specifications Table 2 Camera Performance Specifications Feature Specification Imager Format CMOS line scan Control Data Resolution 16 384 pixels Pixel Fill Factor 100 96 Pixel Size 3 5 um x 3 5 um Antiblooming 100 x Optical Interface Back Focal Distance 12mm Sensor Alignment aligned to sides of camera Flatness 25 um y parallelism 0 08 or 81 um x 50 um y 50 um 7 250 um Oz 0 1 Lens Mount M72 x 0 75 Mechanical Interface Camera Size 80 mm W x 150 mm L x 77 mm D 54mm without optional heatsink Mass 800g Connectors Power Hirose 12 V to 15 V DC HSLink CameraLink Mounting Holes M4x0 7 7 0 depth Electrical Interface Input Voltage 12 V to 15 V DC at camera Power Dissipation 20W Operating Temperature 0 C to 50 C Bit Depth 8 bit 10 bit 12 bit HSLink models 8 bit and 10 bit Camera Link model Output Data Configuration HSLink CameraLink 03 032 2
33. esssecssssssssssssssssssssssessessssssssssssssssesseccessssssssssssseesseseeeesssssssssssssecees 13 lnnnUngj MEE 13 HSLINK and Frame Grabber Supplementary Information ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssset 14 Camera Link Configuration ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssses Input Signals Camera Link Output Signals Camera Link 2 3 Camera Link Video Timing Software Interface How to Control the Camera 21 Setting Baud Rate RM 22 Camera Help Screen sssssssssssssssssssssssssssssssssssescssssssssssssssssesssseesessssssssssssssecsssecsessssssssssssssessseeeeesssssssssnsssecees 22 3 1 First Power Up Camera Settings sssssscccsssssssssccsssssssesscssssssssesssssssssssscessssssssseccsssssssssscsssssssseceessssssssesessessssseseesesses 22 3 2 ExposureMode Line Rete RU REUS 23 How to Set Exposure Mode and Line 23 Setting the Exposure Mode e TRRRS 23 3 9 Data PFOCOSSIDQ EE Reed 25 Processing Chain Overview and Description ccccssssssssssssssssssssessssssssssssssssessssseessesssssssssssssesssseesesssssssssss 25 Calibrating the Camera to Remove Non Uniformity Flat Field
34. ets the camera s exposure mode allowing you to control your sync and line rate generation Syntax sem m Syntax Elements m Exposure mode to use Factory setting is 2 Notes e Refer to Table 12 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 Related Commands ssf Example sem 3 Table 12 Exposure Modes Programmable Line Rate Programmable Exposure Time Mode SYNC n Description 2 Internal Yes Yes 3 Internal No Yes Maximum exposure time 4 External No No Exposure time equals EXSYNC high time 6 External No Yes Teledyne DALSA 03 032 20099 00 24 Piranha3 16K HSLink and Camera Link User Manual Exposure Modes in Detail Figure 6 Timing Diagrams Mode 2 Internal SYNC Programmable Line Rate and Exposure Time INTERNAL SYNC P _ F aene ______ EXPOSURE Mode 3 Internal SYNC Maximum Exposure Time see 1 ud Mode 4 External SYNC EXTERNALSYNG 4 O EXPOSURE Mode 6 External SYNC Programmable Exposure Time EXTERNALSYNG gt see EXPOSURE Setting Frame Rate and Exposure Time Setting the Frame Rate Purpose Sets the camera s
35. han 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 3 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 Green blinking slow Waiting for LVAL Trigger Line Scan 5 second timeout Orange red and green on together solid Running on FPGA micro backup 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 11 Color of Status LED Meaning Orange blinking slow Loss of functionality Orange one pulse of 0 2 sec Random Error with HSLINK 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 HSLINK CMD channel still functional Red Green alternating fast Link Up but idle not locked held in Farend reset Red Green alternating medium Incompatilbe HSLINK configuration Red Green alternating slow Looking for Link Power Connectors 2 2 2 Power Connector Figure 2 Hirose 6 pin Circular Male Power Connector Hirose 6 pin Circular Male Table 4 Hirose Pin Description 1 eS 6 Pin Description Pin Description E 1 Min 12
36. haracters separate parameters Tabs or commas are invalid parameter separators e Upper and lowercase characters are accepted e The backspace key is supported 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 or Warning xx Warning Message The is used exclusively as the last character sent by the camera Teledyne DALSA 03 032 20099 00 29 Piranha3 16K HSLink and Camera Link User Manual The following parameter conventions are used in the manual i integer value f real number m member ofa set 5 string e t tap id x pixel column number y pixel row number Example to return the current camera settings gcp CR Note on the camera and baud rate The cameras employ a 115 200 fixed signal baud rate 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 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 C
37. idth of the high pulse when the SMART EXSYNC feature 100 is turned off twSYNC INT Is the integration time when the SMART EXSYN C feature is available and SMART turned on Note that the minimum time is necessary to guarantee proper 3 000 operation tLINE PERIOD The minimum and maximum line times made up of tTransfer tREADOUT 53 190 12k plus tOVERHEAD to meet specifications 106 382 8k tTransfer The time from the reception of the falling edge of EXSYNC to the rising edge 3 725 25 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 tw Fixed Int Fixed Integration Time mode of operation for variable exsync frequency 800 tREADOUT Is the number of pixels per tap times the readout clock period Pretrigger 0 38 400 12k 25 600 8k tOVERHEAD Is the number of pixels that must elapse after the falling edge of LVAL 425 25 before the EXSYNC signal can be asserted This time is used to clamp the internal analog electronics thPR Applies when the PRIN exposure control feature is enabled The PRIN Don t care signal must be held a minimum time after the EXSYNC falling edge to avoid losing the integrated charge twPR_LOW Minimum Low time to assure complete photosite reset 3 000 tPR_SET The nominal
38. ist No Output or Erratic Behavior Line Dropout Bright Lines or Incorrect Frame Rate Noisy BERE A2 Commands Quick Reference Camera Link Map EMC Declaration Revision History Index 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 5 Piranhas 16k CMOS Line Scan Camera 1 1 Camera Highlights Features e 16 384 pixels 3 5 um x 3 5 um pixel pitch 100 fill factor e 1 179 MPix s HSLink and 655 MPix s Camera Link data rates e 72kHz P3 S0 16k40 HSLink and 40 kHz P3 S0 16k20 HSLink and P3 80 16K40 Camera Link line rates Programmability e HSLink and CameraLink control interface 115200 fixed signal baud rate Future models upgraded to GenICam e Programmable gain line rate trigger mode test pattern output and camera diagnostics e Hat field correction minimizes lens vignetting non uniform lighting and sensor FPN and PRNU Description The Piranha3 16k CMOS line scan camera raises resolution and speed to a new level The 16k pixel resolution and up to a speedy 72 kHz line rate is ideally suited for the inspection of large area flat panel displays and printed circuit boards Applications e Flat panel display inspection e Printed circuit board inspection e Parcel sorting e High performance document scanning e High throughput applications Teledyne DALSA 03 032 20099 00 Piranha3 16K HSLink and Camera Link Us
39. libration Steps Step 1 Preparing for Calibration If you do not want to change the current camera settings but want to calibrate the camera skip this step and move to Step 2 PRNU Calibration To check the current camera settings use the get camera parameters gcp or the get commands You can change some or all of the following settings before calibrating e Set exposure mode using the command sem m where 2 3 4 6 For example sem 2 e Set line sync frequency line rate using the command ssf f where f 72 kHz For example ssf 5000 e Set exposure time using the command set f where f 1 8888 us in an available mode For example set 100 e Set gain using command sg t i where t are the taps 21 and i 24 db For example sg t 0 e Save user settings using command wus A Note on FPN or Dark Calibration FPN calibration also called dark calibration is done in the factory Step 2 PRNU or White Calibration 1 Remove the lens cap and prepare a white uniform target 2 Adjust the line rate so that the average output is about 80 of the full output or below the PRNU target value by Adjusting the lighting if you are using an internal exposure mode Or Adjusting the line rate if you are using the Smart Exsync mode 3 Calibrate the PRNU using the command cpa 21 where 2 is the PRNU calculated using the entered target value as shown in the formula on page 29 and i is the target value and the value of i 1 1024 to 4055
40. ly 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 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 43 Error Handling and Command List A1 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 13 Warning and Error Messages Warning Messages Camera Response Comment OK gt Camera executed command Warning 01 Outside of specification gt Parameter accepted was outside of specified operating range e g gain greater than 10 dB of factory setting or SSF below specification Warning 02 Clipped to min gt Parameter was clipped to the current operating range Use GCP or GET to see value used Warning 03 Clipped to max gt Parameter was clipped to the current operating range Use GCP or GET to see value used Warning 04 Related parameters Internal operating condition is adjusted to accommodate the entered adjusted gt command E g requesting exposure time longer than line time automatically adjusts the line time to meet the exposure time requirement Warning 07 Coefficient may be In the region of interest ROI greater than 6 251 single
41. mera power connector Verify that all grounds are connected Issue the command vv to confirm correct voltages When the camera is received from the factory it defaults no external input required to exposure mode 2 10 kHz line rate internal Sync to trigger readout After a user has saved settings the camera powers up with the saved settings 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 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 4 9 2 Troubleshooting Using the Serial Interface 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 restore the camera s factory settings and disable the FPN and PRNU coefficients send the rfs command After executing this command send the 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
42. mera settings current 31 factory 31 restoring 31 retrieving 36 incorrect line rate 42 saving 31 input output 10 user 31 inputs user bus 12 19 clock signals 19 installation 9 command interface format 21 optical 6 parameters 22 commands list 44 connectors 10 LED 10 Camera Link 16 line dropout 42 Hirose 11 line rate 7 power 11 line statistics 34 D dark patches 42 MDR26 See Camera Link data bus 13 connector data rate 7 models 6 debugging 40 digital signal processing 29 NEE 7 Teledyne DALSA 03 032 20099 00 54 03 032 20099 00 noisy output 42 online help 22 operating modes 23 optical specs 6 output signals 13 performance specifications 6 pixel statistics 34 power connectors 11 guidelines 11 PRNU 26 rebooting 32 resolution 6 responsivity 7 SEE 7 serial interface 21 defaults 21 troubleshooting 41 Piranha3 16K HSLink and Camera Link User Manual settings factory 22 signals input 19 output 19 statistics 34 temperature measurement 35 test patterns 33 test patterns 41 timing 19 camera 19 Camera Link 19 trigger external 12 19 troubleshooting 40 video data 35 voltage measurement 35 warning messages 43 Teledyne DALSA
43. mera 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 75 The recommendations assume the following conditions e The camera mounting plate is equal to the full camera mounting surface as shown and maximum natural convection surface e Noimpediments to the natural convection space around the surface of the mounting plate and the surface of the camera e Anenvironment temperature of approximately 25 e Good contact between the mounting plate and the camera surface Teledyne DALSA 03 032 20099 00 40 Piranha3 16K HSLink and Camera Link User Manual Troubleshooting 9 1 Common Solutions 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 host computer m light sources m optics operating environment encoder When 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 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 ca
44. 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 cpa 2 with the exception that this command only calculates for pixels within the current Region of Interest ROI i Peak target value in a range from 1024 to 4055 DN The target value must be greater than the current peak output value Notes The values for background subtract ssb system gain ssg and background add sab are set to 0 1 and O respectively after using the cpa command Example cpa 2 4000 Setting a Pixel s PRNU Coefficient Purpose Sets an individual pixel s PRNU coefficient Syntax spe x i Syntax Elements x Teledyne DALSA 03 032 20099 00 30 Piranha3 16K HSLink and Camera Link User Manual The pixel number from 1 to 16384 Coefficient value in a range from 0 to 65535 where i prnu coefficient 1 4096 Returning PRNU Coefficients Purpose Returns the current PRNU pixel coefficients for the range specified by x1 and x2 Syntax dpc 1 x2 Syntax Elements x1 Start pixel to display in a range from 1 to 16384 x2 End pixel to display in a range from 1 to 16384 Notes e Ifx2 x1l then x2 is forced to be x
45. or 1 of inaccurate A D clipping has occurred averaged pixel values were zero or saturated Warning 08 Greater than 196 of Greater than 1 of FPN or PRNU coefficients have been calculated to be coefficients have been clipped greater than the maximum allowable and so were clipped Warning 09 Internal line rate inconsistent Changing this parameter has changed read out time and that is greater with read out time than the internal SYNC Error Messages Camera Response Comment Error 01 Internal error xx Where xx is a code list below Only output during power up Customer should contact customer support Error 02 Unrecognized command Command is not valid Error 03 Incorrect number of Too many or too few parameters parameters Error 04 Incorrect parameter value This response returned for Teledyne DALSA 03 032 20099 00 44 Piranha3 16K HSLink and Camera Link User Manual Error Messages m Alpha received for numeric or vise versa Float where integer expected Notan element of the set of possible values E g Baud Rate Outside the range limit Error 05 Command unavailable in this mode gt E g SSF when in SEM 3 Error 06 Timeout gt Command not completed in time E g CCP in SEM 3 when no external EXSYNC is present Error 07 Camera settings not saved gt Indicates that user settings have been corrupted by turning off the power while e
46. ponents of your system including light sources camera mounts host computers optics encoders and so on Please see 4 2 High Temperature and Mounting for more information on camera mounting and heat dispertion Teledyne DALSA 03 032 20099 00 10 Piranha3 16K HSLink and Camera Link User Manual 2 2 Input Output Connectors and LED The camera uses e diagnostic LED for monitoring the camera See LED Status Indicator in section LED Status Indicator for details e A 6 pin Hirose connector for power Refer to the Power Connector section below for details e The HSLink modles use a SFF_8470 CX4 with thumbscrews for control data and serial communication e The Camera Link model uses 2 high density 26 pin MDR26 connectors for control data and serial communication Figure 1 Input and Output Connectors Power 12Vto 15 V DC Hirose 6 pin HR10A 7P 6S Control amp Data HsLink SFF_8470 or Cx4 with thumbscrews Camera Link Full Configuration High density 26 pin MDR26 connector N A Z Status Diagnostic LED WARNING It is extremely important that you supply the appropriate voltages to your camera Incorrect voltages will damage the camera LED Status Indicator The camera is equipped with an 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 t
47. ramegrabber Teledyne DALSA 03 032 20099 00 Piranha3 16K HSLink and Camera Link User Manual HSLINK and Frame Grabber Supplementary Information 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 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 HSLINK Function Production Comment Cable Disconnect Yes Cameras will only properly lock to frame grabber Recovery when the camera is turned on before or after starting the data acquisition program Turn off the camera when exiting a program that uses the Frame grabber Data Forwarding Yes Customer must identify the Master Slave Frame grabber during the system configuration step There is no Master Slave communication channel support Communication No This is the GMII command channel and will enable Between FG auto enumeration of slaves an
48. rection factory set the PRNU correction the background subtract and the system gain and offset All of these elements are user programmable Notes e FPN and PRNU coefficients are stored separately To save the current PRNU coefficients use the command wpc Figure 7 Signal Processing Chain Digital Processing digital video o FPN digital PRNU background system background coefficients gain coefficients subtract gain addition ecoyst NEIN Digital Processing 1 Fixed pattern noise FPN calibration calculated at the factory is used to subtract away individual pixel dark current 2 Photo Response Non Uniformity PRNU 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 Teledyne DALSA 03 032 20099 00 Piranha3 16K HSLink and Camera Link User Manual together When using PRNU correction it is important that the A D offset and Fixed Pattern Noise FPN or per pixel offsets are subtracted prior to the multiplication by the PRNU coefficient The subtraction of
49. rmity Correction is implemented such that for each pixel dark offset FPN pixel digital gain PRNU pixel where digital output pixel value digital input pixel value from the CCD PRNU 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 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 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 27 Flat Field Correction Restrictions The FPN correction is done in the factory 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 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
50. s Serializer Number Number of MDR26 Connectors Supported Bit Width of Chips Full A B C D E F G H 28 3 2 Table 7 Camera Link Connector Pinout Full Configuration Camera Connector Right Angle Channel Link Cable Name Frame Grabber Signal 1 1 inner shield Inner Shield 14 14 inner shield Inner Shield 2 25 YO PAIRI 15 12 YO 3 24 YI PAIR2 16 11 1 PAIR2 4 25 Y2 PAIR3 17 10 Y2 PAIR3 5 22 Yelk PAIR4 18 9 Yelk PAIR4 6 21 Y3 PAIRS 19 8 Y3 PAIRS5 7 20 100 ohm PAIR6 20 7 terminated PAIR6 8 19 Z0 PAIR7 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 17 Full Configuration Camera Connector Right Angle Channel Link Cable Name Frame Grabber Signal 21 6 70 PAIR7 9 18 Zl 8 22 5 71 PAIR8 10 17 Z2 PAIR9 23 4 Z2 PAIR9 11 16 Zclk PAIR10 24 3 Zclk PAIR10 12 15 Z3 PAIRI 1 25 2 Z3 PAIRII 13 13 inner shield Inner Shield 26 26 inner shield Inner Shield Table 8 Camera Control Configuration Signal Configuration CCI EXSYNC CC2 PRIN CC3 Spare CC4 Spare Teledyne DALSA 03 032 20099 00 Table 9 Camera Link Pixel Readout Configurations Full Camera Link Configuration and Bit Depth 8 Piranha3 16K HSLink and Camera Link User Manual Camera Link Mode Configuration Controlled by clm command Full and Bit Depth 8 1 Every 4th Odd Pixel
51. 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 3 Background subtract ssb command system gain 554 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 0 to 255 Setting Gain Use the set gain sg command to set the gain on taps 32 and in a range of 24 dB Command and parameter sg t where t is tap 32 and f is 24 dB Flat 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 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 unifo
52. time that the photo sites are integrating Clock synchronization 3 000 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 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 2 Software Interface How to Control the Camera All 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 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 The command set may have changed from previous camera models Do not assume that commands perform similarly to older cameras Serial Protocol Defaults e e 8data bits z This chapter outlines the more commonly used e No parity commands See section A2 Commands for a list of all available commands e l stop bit e No flow control e 115 200 kbps baud rate e Camera does not echo characters Command Format When entering commands remember that e A carriage return CR ends each command e Aspace or multiple space c
53. tings for reuse at power up use the command wus Saving and Restoring PRNU and Coefficients Selecting the Set Number Purpose When saving and loading camera settings e g PRNU coefficients you have a choice of saving up to five different sets and loading from six different sets five user and one factory This command determines the set number from where these values are loaded and saved Syntax ssn Syntax Elements i Factory set Settings can only be loaded from this set 5 User sets You can save or load settings with these sets Note The camera powers up with the last set saved using this command Example ssn 3 Related rus wpc Saving the Current PRNU Coefficients Purpose Saves the current PRNU coefficients for the current set Syntax wpc Notes Use the ssn command first to select the set number to save to 1 5 Loading a Saved Set of Coefficients Purpose Loads a saved set of pixel coefficients A factory calibrated set of coefficients is available Syntax lpc Notes Use the ssn command first to select the set number to save to 1 5 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 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 33 3 5 Diagnostics Generating a Test Pattern Purpose Generates a test pattern to aid in system d
54. to 65535 set subtract Subtract the input value from the output signal background i Subtracted value in a range from 0 to 1024 set sync frequency Set the frame rate to a value from 1 to 72070 P3 S0 16k40 HSLink to 40000 P3 S0 16K20 HSLink and P3 80 16K40 Camera Link Value rounded up down as required Refer to Setting Frame Rate on page 24 for details set system gain i Set the digital gain 1 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 30 for details 0 5 0 factory settings 1 5 user sets set video mode svm i Switch between normal video mode and test patterns svm 0 to 4 Refer to section Generating a Test Pattern for details update gain Changes 0 dB gain to equal the current gain value reference verify temperature Ives Check the internal Check the internal temperature of the camera of the camera verify voltage Check the camera s input voltages and return OK fail write PRNU coeffs 1 Write all current PRNU coefficients EEROM Refer to section Saving and Restoring PRNU and 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 20099 00 48 Piranha3 16K HSLink and Camera Link User Manual Camera Link Map Note The sd
55. urns all of the camera s current settings To read all current camera settings use the command Syntax gcp 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 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 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 37 80 0 72 0 0 1 2X 40 0 0 05 IMAGING CENTER FROM DATUM C amp 40 0 0 05 Fi IMAGING CENTER gt FROM DATUM B RC 72 0 75 DEPTH 5 0 M4x0 7 DEPTH 7 0 MAX TORQUE 25 IN LB 4X Teledyne DALSA 12 0 0 1 CCD OPTICAL IMAGE DISTANCE FROM CCD TOP TO DATUM A 0 08 A IMAGING AREA ALIGNED IN X Y WITH RESPECT TO DATUM amp ROTATION OF THE CCD IMAGING AREA IS 0 6 LENS MOUNT POSITION WITH RESPECT TO IMAGING AREA X Y 0 175 MM NOTES 1 2 3 03 032 20099 00 38 Piranha3 16K HSLink and Camera Link User Manual om 5 gt lt lt M4x0 7 DEPTH 7 0 BOTH SIDES MAX TORQUE 25 IN LB 4X AIRFLOW Camera Link Interface 4 0 0 1 2X
56. w command sets the data width to either 8 10 or 12 bit depths The following tables show show the assignment of pixel data bits to the input pins on the X Yand Z Camera Link transmitters the camera They also show the assignments for the corresponding output pins on the X Y and Z Camera Link receivers in a frame grabber The assignments for the frame valid bit and the line valid bit are also listed Transmitter X Signal rame 8 8 Tap 10 Bit Port AO TxINO RxOUTO DO Bit 0 DO Bit 2 Port A1 TXxIN1 RxOUT1 DO Bit 1 DO Bit 3 Port A2 TxIN2 RxOUT2 DO Bit 2 DO Bit 4 Port A3 TxIN3 RxOUT3 DO Bit 3 DO Bit 5 Port A4 TxIN4 RxOUT4 DO Bit 4 DO Bit 6 Port A5 TxIN6 RxOUT6 DO Bit 5 DO Bit 7 Port A6 TxIN27 RxOUT27 DO Bit 6 DO Bit 8 Port A7 TxIN5 RxOUT5 DO Bit 7 MSB DO Bit 9 MSB Port BO TxIN7 RxOUT7 D1 Bit O D1 Bit 2 Port B1 TxIN8 RxOUT8 D1 Bit 1 D1 Bit 3 Port B2 TxIN9 RxOUT9 D1 Bit 2 D1 Bit 4 Port B3 TxIN12 RxOUT12 01 Bit 3 D1 Bit 5 Port B4 TxIN13 RxOUT13 D1 Bit 4 D1 Bit 6 Port 5 TxIN14 RxOUT14 D1 Bit 5 D1 Bit 7 Port B6 TxIN10 RxOUT10 D1 Bit 6 D1 Bit 8 Port B7 TxIN11 RxOUT11 D1 Bit 7 MSB D1 Bit 9 MSB Port CO TxIN15 RxOUT15 D2 Bit 0 D2 Bit 2 Port C1 TxIN18 RxOUT18 D2 Bit 1 D2 Bit 3 Port C2 TxIN19 RxOUT19 D2 Bit 2 D2 Bit 4 Port C3 TxIN20 RxOUT20 D2 Bit 3 D2 Bit 5 Port C4 TxIN21 RxOUT21 D2 Bit 4 D2 Bit
57. xecuting the WUS command Must build up new settings from factory and re save with WUS Error 08 Unable to calibrate tap outside ROI gt Cannot calibrate a tap that is not part of the end of line statistics Error 09 The camera s temperature exceeds the specified operating range gt Indicates that the camera has shut itself down to prevent damage from further overheating flashing red Shuts down at internal temperature of 75 C and will not restart until below 65 C equivalent to 50 C at front plate Error 10 FPGA Flash Program Failed FCS failed either because of communication error or a bad file was sent A2 Commands Quick Reference 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 Parameters t tapid i integer value float member of a set s string x pixel column number y pixel row number 03 032 20099 00 Teledyne DALSA Piranha3 16K HSLink and Camera Link User Manual 45 Table 14 Command Quick Reference Mnemonic Parameters calculate PRNU Performs PRNU calibration according to the algorithm selected algorithm The first parameter is the algorithm where m is 2 Calculates the PRNU

Download Pdf Manuals

image

Related Search

Related Contents

Hans Grohe Massaud Tumbler 42234000 User's Manual  Yamaha PSR-38 Owner's Manual    Sennheiser MD 42  Manual de usuario  Homelite UT74121A User's Manual  

Copyright © All rights reserved.
Failed to retrieve file