background image

76 

 

 

Piranha 2 User’s Manual 

03-032-00493-14 

 

 

 Teledyne DALSA 

Code  Command 

Short 
Form 

Parameters  Description 

29 

set_exp osu re_m od e 

sem 

Set the exp osu re m od e: 

1: Internal SYN C and  PRIN , 

m ax line rate and  exp osu re 
tim e, factory setting 

2: Internal SYN C and  PRIN , 

p rogram m able line rate and  
exp osu re tim e u sing 
com m and s 

ssf

 and  

set

 

3: External SYN C, internal 

PRIN , m axim u m  exp osu re 
tim e 

4: Sm art EXSYN C 

5: External SYN C and  PRIN  

6: External SYN C, internal 

PRIN , p rogram m able 
exp osu re tim e 

30 

set_exp osu re_tim e 

set 

Set the exp osu re tim e in 
exp osu re m od e 2 or 6. Valu e 
w ill be a floating p oint nu m ber 
in µsecs 

31 

set_fp n_coeff 

sfc 

i i 

Set the FPN  coefficient. The 
first p aram eter is the p ixel 
nu m ber w ithin the range 1 to 
8192. The second  valu e is a 
sp ecified  valu e w ithin the 
range 0 to 127. 

32 

set_gain 

sg 

t f 

Set the analog gain. The first 
p aram eter is the tap  selection 1 
to 4, 0 for all tap s. The second  
p aram eter is a gain valu e 
sp ecified  from  –10 to 10. A 
gain valu e of 0 sets the cam era 
to its nom inal gain. 

33 

set_low er_threshold  

slt 

Set the low er threshold  to a 
valu e from  0 to 255 for 8-bit 
d ata m od es, and  0 to 1023 for 
10-bit. 

34 

set_netm essage_m od e 

snm 

Enable/ d isable cam era 
m essages u nrelated  to the 
execu ted  netw ork com m and : 

0

: Enable m essages, d efau lt 

1

: Disable m essages 

35 

set_p retrigger 

sp 

Set the p retrigger to a valu e 
from  0 or 15. 

36 

set_p rnu _coeff 

spc 

i i 

Set the PRN U coefficient. The 
first p aram eter is the p ixel 
nu m ber w ithin the range 1 to 
8192. The second  p aram eter is 
a sp ecified  valu e w ithin the 
range 0 to 511w here: 

Parameters: 

i

 = integer 

f

 = float 

t

 = tap selector 

s

 = string 

x1

 = pixel start 

             number 

x2

= pixel end number 

[]=

 optional 

           parameter 

All manuals and user guides at all-guides.com

all-guides.com

Summary of Contents for Piranha 2 P2-2-30 Series

Page 1: ... P2 4x xxx40 P2 2x xxx30 Camera User s Manual Revised 5 4 2011 10 27 00 AM Line Scan CCD Cameras 4 May 11 03 032 00493 14 www teledynedalsa com All manuals and user guides at all guides com a l l g u i d e s c o m ...

Page 2: ...roximately 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 For more information visit Teledyne DALSA s website at www teledynedalsa com Support For further information not included in this manual or for information o...

Page 3: ...___ 23 3 1 Overview 23 3 2 Command Format 23 3 3 Processing Chain 24 3 4 Startup 25 3 5 Saving and Restoring Settings 25 3 6 Setting Baud Rate 26 3 7 Setting the Data Mode 26 3 8 Setting the Video Mode 27 3 9 Setting Line Rate and Exposure Mode 27 3 10 Setting a Region of Interest 29 3 11 Returning Video Information 29 3 12 Optimizing Offset Performance 31 3 13 Setting Gains 34 3 14 How to Calibra...

Page 4: ... Link Reference _________________________________________________ 59 EMC Declaration of Conformity______________________________________________ 61 Communications Protocol _________________________________________________ 63 C1 Protocol Overview 63 C2 Protocol Features 63 C3 Command Format and Examples 63 C4 Networking Mode 64 C5 Error Handling 67 C6 Camera Parameter Screen 70 C7 Commands 73 DC Of...

Page 5: ...ime line rate gain offset bit depth test pattern and diagnostics Flat field correction minimizes sensor FPN and PRNU lens vignetting and non uniform lighting Camera Link interface Single 12V to 15V power supply Compact design Performance 4x40MHz quad output data rate 2x40MHz dual output data rate with 40MHz model 2x30MHz dual output data rate with 30MHz model 8 or 10 bit output from 10 bit digitiz...

Page 6: ...era Link high speed serial standard The camera is sensitive but still provides quiet uniform output thanks to CDS correlated double sampling and embedded flat field correction algorithms Gain and offset are fully programmable for each output channel and the camera can output test patterns for cable system troubleshooting All resolutions provide appropriate readily available standard lens options C...

Page 7: ...P1 4k Image Sensor 2k 4k 10 µm 4 tap models N Pinned Photodiodes 10µm x 10µm 4 I 32 S 4 I 32 S CCD Readout Shift Regis ter CCD Readout Shift Regis ter 5 I 5 I 4 I 4 I TCK PR VPR VS TOR CR1S CR2S CR1B CR2B CRLAS T CR1S CR2S CR1B CR2B CRLAS T VS ET VBB RS T VOD VS S VDD OS 1 32 S 4 I Light shielded pixels N 1024 or 2048 Isolationpixels OS 2 Stora geWell with ExposureControl andReset Structure Stora ...

Page 8: ... or greater the amount of dark current will be reduced by 10x or greater N Pinned Photodiodes 7µm x 7µm 4 I 32 S 4 I 32 S CCD Readout Shift Regis ter CCD Readout Shift Regis ter 5 I 5 I 4 I 4 I TCK PR VPR VS TOR CR1 CR2 CRLAS T CR1 CR2 CRLAS T VS ET VBB RS T VOD VS S VDD OS 1 32 S 4 I Light shielded pixels N 4096 6144 or 8192 Isolationpixels OS 2 Stora geWell with ExposureControl andReset Structur...

Page 9: ... 2 4 o p mA 620 840 Time to power up typ sec 15 Time to calibrate FPN PRNU 1024 sec 10 2048 sec 19 4096 sec 38 6144 sec 85 8192 sec 115 Specification Units Min Max Notes Data Rate per tap 40 MHz model MHz 40 40 30 MHz model MHz 30 30 1 Specification Units Min Max 30 MHz Max 40 MHz Line Rate 1024 2 o p kHz 1 49 6 65 3 1 2048 2 o p kHz 1 27 35 4 1 2048 4 o p kHz 1 68 1 4096 2 o p kHz 1 14 18 5 1 409...

Page 10: ...the environment conditions represent the state of the environment when the camera was being tested Typical results are the average values obtained with at a 1kHz line rate and 30 C Maximum results represent the worst case results from any camera operating at 50 C with a 1kHz line rate All manuals and user guides at all guides com ...

Page 11: ...ed 1K and 2K ECD ECE DN 5 18 5 23 8 10 39 4k ECD ECE DN 9 28 10 28 12 2 0 43 6K and 8K ECD ECE DN 15 38 16 38 14 2 7 55 PRNU corrected ECD ECE DN 1 5 2 3 3 1 2 1 5 3 8 2 3 5 5 27 2 DC Offset DN 4k and under 2 3 5 5 7 17 6 6k and over 2 3 5 5 14 17 6 Notes DN Digital Numbers 0 255 also known as gray levels ECE Exposure Control Enabled ECD Exposure Control Disabled All measurements taken in 8 bit ou...

Page 12: ...32 00493 14 Teledyne DALSA Figure 5 P2 Responsivity Responsiv ity DN nJ cm 2 Wavelength nm 10µm pixels 7µm pixels 0 4 1000 800 600 400 500 700 900 8 12 20 24 16 Responsivity Nominal Gain All manuals and user guides at all guides com ...

Page 13: ...her components of your system including light sources frame grabbers camera mounts heat sinks host computers optics encoders and so on 2 2 Input Output 12V to 15V and Ground Camera Link 2 and 4Tap models Camera Link 4Tap model only Diagnostic LED S ee section 3 18 WARNING It is extremely important that you apply the appropriate voltages to your camera Incorrect voltages will damage the camera See ...

Page 14: ...AIR2 16 11 Y1 PAIR2 4 23 Y2 PAIR3 17 10 Y2 PAIR3 5 22 Yclk PAIR4 18 9 Yclk PAIR4 6 21 Y3 PAIR5 19 8 Y3 PAIR5 7 20 100 ohm PAIR6 20 7 terminated PAIR6 8 19 Z0 PAIR7 21 6 Z0 PAIR7 9 18 Z1 PAIR8 22 5 Z1 PAIR8 10 17 Z2 PAIR9 23 4 Z2 PAIR9 11 16 Zclk PAIR10 24 3 Zclk PAIR10 12 15 Z3 PAIR11 25 2 Z3 PAIR11 13 13 inner shield Inner Shield 26 26 inner shield Inner Shield Exterior Overshield is connected to...

Page 15: ...FG 21 6 SerTFG 9 18 CC1 22 5 CC1 10 17 CC2 23 4 CC2 11 16 CC3 24 3 CC3 12 15 CC4 25 2 CC4 13 13 inner shield 26 26 inner shield Unused pairs should be terminated in 100 ohms at both ends of the cable Table 5 Camera Control Configuration Signal Configuration Pin CC1 EXSYNC 9 22 CC2 PRIN 10 23 CC3 Spare 11 24 CC4 Spare 12 25 See Appendix B for the complete Camera Link configuration table and refer t...

Page 16: ...low fuse between power supply and camera Visit http vfm dalsa com for a list of companies that make power supplies that meet the camera s requirements The companies listed should not be considered the only choices Many high quality supplies are available from other vendors We assume no responsibility for the use of these supplies 2 5 Control Inputs Camera Link The camera accepts control inputs thr...

Page 17: ...n and you should refer to the Camera Link Implementation Road Map available from the Knowledge Center page on the Teledyne DALSA website www teledynedalsa com mv knowledge appnotes aspx for the standard location of these signals Clocking Signal Indicates LVAL high Outputting valid line DVAL high Valid data STROBE rising edge Valid data IMPORTANT This camera s data should be sampled on the rising e...

Page 18: ... 55 aa Refer to the table below Location Value Description 1 A s By ensuring these values consistently toggle between aa and 55 you can verify cabling i e no stuck bits 2 5 s 3 A s 4 4 bit counter LSB justified Counter increments by 1 Use this value to verify that every line is output 5 Line sum LSB Use these values to help calculate line average 6 Line sum MID 7 Line sum MSB 8 0 9 Pixels above th...

Page 19: ...32 00493 14 Teledyne DALSA 2 7 Timing Figure 6 Piranha 2 Overview Timing Showing Input and Output Relationships Figure 7 Piranha 2 Fixed Programmed Integration Timing with External EXSYNC All manuals and user guides at all guides com ...

Page 20: ... the falling edge of EXSYNC to the rising edge of LVAL when pretrigger is set to zero Pretrigger reduces the number of clocks to the rising edge of LVAL but doesn t change the time to the first valid pixel If the fixed integration time mode of operation is available and selected then the integration time is added to the specified value 1 420 50 twFixed Int Fixed Integration Time mode of operation ...

Page 21: ...s are reset 2 640 twSYNC_INT The minimum width of the high pulse when the SMART EXSYNC feature is turned off 132 twSYNC_INT SMART Is the integration time when the SMART EXSYNC feature is available and turned on Note that the minimum time is necessary to guarantee proper operation 2 000 tLINE PERIOD t LP The minimum and maximum line times made up of tTransfer tREADOUT plus tOVERHEAD to meet specifi...

Page 22: ...hotosite reset 2 640 264 tPR_SET The nominal time that the photo sites are integrating Clock synchronization will lead to integration time jitter which is shown in the specification as values The user should command times greater than these to ensure proper charge transfer from the photosites Failure to meet this requirement may result in blooming in the Horizontal Shift Register 2 640 264 2 8 Cam...

Page 23: ...II based protocol The complete protocol is described in Appendix C Communications Protocol Online Help For quick help the camera can return all available commands and parameters through the serial interface To generate this list send the command h to the camera Retrieving Camera Settings To read current camera settings send the command gcp For an explanation of the camera parameter screen see sect...

Page 24: ...g processing chain contains two elements a gain stage and an offset stage The digital processing chain contains the FPN correction PRNU correction background subtract and a system gain stage The software commands allow you to set and change all the elements of the processing chain This enables maximum processing flexibility depending on your requirements Dig ital Proces s ing In addition the two e...

Page 25: ...r the prompt OK if no error occurred or an error code if a problem has been discovered 3 5 Saving and Restoring Settings The camera provides a number of commands for restoring storing and saving settings To restore the original factory settings use the command rfs The FPN and PRNU coefficients are reset to 0 To save all current settings to EEROM use the command wus The camera will automatically re...

Page 26: ...ax sdm i Syntax Elements i See Table 8 Mode Selection Values below for allowable parameter values Notes To obtain the current data mode use the command gcp Example sdm 0 In the table below ports A F refer to ports in the Camera Link specification Table 8 Mode Selection Values Mode Description 0 8 bit using A B C D ports for single processor configuration 1 10 bit using A B C and D E F for single p...

Page 27: ... Programmable Exposure Time Mode SYNC PRIN Description 1 Internal Internal No No Maximum line rate and exposure time factory setting 2 Internal Internal Yes Yes Exposure control OFF until a set command is sent 3 External Internal No No Maximum exposure time 4 External Internal No No Smart EXSYNC 5 External External No No 6 External Internal No Yes Fixed integration time To obtain the current value...

Page 28: ...f set Example sem 3 Setting Line Rate Camera must be operating in exposure mode 2 To set the line rate use the command Syntax ssf i Syntax Elements i Desired line rate in Hz Allowable range is 1000Hz to the camera s maximum line rate See Table 1 Piranha 2 Operating Requirements and Ranges for maximum line rates Notes To read the current line rate frequency use the command gcp If you enter an inval...

Page 29: ...s the region of pixels used in the cag cao gl gla ccf and ccp commands To define a region of interest use the command Syntax roi x1 x2 Syntax Elements x1 Pixel start number Must be an odd number and less than the pixel end number x2 Pixel end number Must be an even number and greater than the pixel start number Related Commands cag cao gl gla ccf ccp Example roi 10 50 3 11 Returning Video Informat...

Page 30: ...pixel to display on screen Allowable range is 1 to sensor pixel count This parameter does not affect the Min Max and Mean statistics generated at the end of the line output Notes If you do not specify a pixel range to display the line output will display all sensor pixels on screen If a region of interest has been set using the roi command the Min Max and Mean statistics at the end of the line out...

Page 31: ... affect the Min Max and Mean statistics generated at the end of the line output Notes If you do not specify a pixel range to display the line output will display all sensor pixels on screen If a region of interest has been set using the roi command the Min Max and Mean statistics at the end of the line output include statistics for the region of interest only If you are using the 4 tap model and y...

Page 32: ...ture line rate and gain The offset for calibrated and uncalibrated video is set and saved separately Example sao 0 200 Subtracting Offset or Background To subtract the video scene offset or any other background from the output video signal use the command Syntax ssb t i Syntax Elements t Tap selection Allowable range is 1 to 4 or 0 for all taps i Subtracted value in a range from 0 to 511 Notes Whe...

Page 33: ...r reach its maximum Use the ssg command to correct for this See section 3 13 Setting Gains for details on the ssg command Available in calibrated mode only svm 1 Example sdo 0 100 Calibrating Offset To calibrate the analog offset use the command Syntax cao t i Syntax Elements t Tap selection Allowable range is 1 to 4 or 0 for all taps i The line average in a range dependent on the current camera d...

Page 34: ...5 2 To set the digital gain following a background subtraction use the command Syntax ssg t i Syntax Elements t Tap selection Allowable range is 1 to 4 or 0 for all taps i Gain setting The gain ranges are 0 to 511 equal to a gain from 1 to 1 999 Use this command in conjunction with the ssb command Related Commands ssb Example ssg 1 15 Calibrating Gains Instead of setting the analog gain to a speci...

Page 35: ...mage distortion caused by the following factors Fixed Pattern Noise FPN Photo Response Non Uniformity PRNU Lens and light source non uniformity The two point correction is implemented such that for each pixel Voutput Vinput FPN pixel digital offset PRNU pixel where Voutput digital output pixel value Vinput digital input pixel value from the CCD PRNU pixel PRNU correction coefficient for this pixel...

Page 36: ...Calibration Steps Overview 1 Change camera video mode to calibrated using the command svm 1 2 Set up the camera operating environment i e line rate exposure gain etc 3 Make sure there are suitable calibration targets The target to calibrate should be a flat field e g plastic or ceramic for white calibration 4 Set the calibration sample size using the command css see Returning Multiple Lines of Vid...

Page 37: ...libration White light calibration is more complex than dark calibration because the camera attempts to create a flat white image This calibration corrects PRNU effects as well as non uniform lighting and lens vignetting affects White light calibration requires a clean white reference The quality of this reference is important for proper calibration White paper is often not sufficient because the g...

Page 38: ... to 1007DN for 10 bit data mode If value is left blank current gain values are used 4 After the calibration is complete you can save these settings to non volatile memory so they will be remembered after power down To do so issue the command wpc Returning Calibration Results and Errors After calibration you can retrieve the results using the command dpc This function returns all the pixel coeffici...

Page 39: ...st Patterns The camera can generate a test pattern to aid in system debugging Use the command svm 2 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 End of line Sequence To further aid debugging the camera can generate an end of line sequence The e...

Page 40: ...st parameter is the monitoring task and the second parameter is the enable or disable value to display the status of all the defined monitory tasks if no parameter is passed and or to enable disable specific monitoring tasks Note If you are performing defect detection down to a single pixel enabling monitoring tasks is not advisable because monitoring can occur during active video and could potent...

Page 41: ...ra returns an error message Note that the voltage measurement feature of the camera provides only approximate results typically within 10 They should not be used to set the applied voltage to the camera The purpose of this test is to isolate gross problems with the supply voltages 3 19 Rebooting the Camera The command rc reboots the camera The camera starts up with the last saved settings Previous...

Page 42: ...42 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com ...

Page 43: ...N PRNU dark offset random noise and other performance specifications especially when a camera is significantly gained i e 10db Generally dark current doubles for every 7 C increase in temperature at the sensor and increases linearly with integration time Further variations in dark current cannot be compensated for with our flat field correction algorithms For this reason at high gains 10dB high te...

Page 44: ...rovide a greater surface area for convection airflow Mount fans away from the camera to avoid vibration and direct the airflow on the heat fins to decrease the temperature delta between ambient and front plate temperatures Convection is the ideal method to minimize camera warm up times and reduce dark current generation Both methods either conduction through heat sinking or convection through air ...

Page 45: ...4x 5 0 Deep 6 0 4x 49 3 53 8 Units mm 54 9 2x 10 5 6k 8k 7µm 4k 10 µm 2 tap with large format adapter 6k 7 µm 4k 10 µm 2 tap with F mount 62 3 89 2 32 5 9 1 2x 3 5 2x 46 81 2x 58 0 2x 65 0 85 0 10 5 54 9 2x Optical distance 6 56 0 25 camera surface to die surface 6 0 4x 49 3 53 7 70 0 2X 7 5 2X 6 0 4X Camera assembly with C mount lens adapter Scale 1 2 Camera assembly with F mount lens adapter Sca...

Page 46: ... 21 00 0 18 Pixel 1 8k 13 83 0 18 19 1 2x 3 5 2x 46 81 2x 78 0 2x 85 0 46 81 2x 58 0 2x 65 0 85 0 32 5 9 1 2x 3 5 2x M3x0 5 6H 4x 7 0 deep M2x0 4 6H 4x 7 0 deep 54 9 2x 32 1 2x 10 5 25 0 Slimeline 8k 4 tap with large format adapter 66 8 49 3 13 0 6 0 4x 7 5 2x 61 0 2x M3x0 5 6H 5 0 deep 4x Pixel 1 8k 9 32 0 18 M72x0 75 105 0 42 50 0 18 Pixel 1 3 5 2x 76 0 69 0 78 0 3 5 M3x0 5 6H 6 0 deep 4x 39 6 2...

Page 47: ...m M72x0 75 19 55mm nominal outer flat surface Detailed mechanicals including front plate opening sizes and the distance from the sensor die to the opening can be found in section 4 1 Mechanical Interface Note Lens manufacturers have readily available lens mounts and lenses to adapt to the M72x0 75 adapter available on the 6K and 8K cameras Illumination The amount and wavelengths of light required ...

Page 48: ...and the CORION 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 Primed quantities denote characteristics of the image side of the lens That is h is the...

Page 49: ... the object distance must be 450mm 0 450m 10 100 45 450 0 450 m m mm OD OD mm m 4 3 Compliance The Piranha 2 cameras have been designed for EMC compliance The test setup has been verified to the following EMC standards CISPR 22 1997 EN 50082 1 1997 EN 61000 4 2 6kV CD 8kV AD 1995 EN 61000 4 3 3V m 1996 EN 61000 4 4 500V 1100V 1995 Follow these specific guidelines to ensure best performance Keep Ca...

Page 50: ...50 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com ...

Page 51: ... erroneous calibration ensure that you perform flat field correction only after a charge buildup has dissipated over 24 hours 5 2 Protecting Against Dust Oil and Scratches The CCD window is part of the optical path and should be handled like other optical components with extreme care Dust can obscure pixels producing dark patches on the sensor response Dust is most visible when the illumination is...

Page 52: ... Sensor Window 1 Use compressed air to blow off loose particles This step alone is usually sufficient to clean the sensor window 2 If further cleaning is required use a lens wiper moistened with alcohol or acetone 3 We recommend using lint free ESD safe cloth wipers that do not contain particles that can scratch the window The Anticon Gold 9 x 9 wiper made by Milliken is both ESD safe and suitable...

Page 53: ...oblem see section 6 4 on getting product support 6 1 Common Solutions 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 EXSYNC When the camera is powered on for the first time it defaults no external input require...

Page 54: ...rify 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 svm 2 to activate the test pattern The tes...

Page 55: ...he command els 0 Use the sut and slt commands to set threshold values between 0 and 255 for 8 bit data modes or 0 to 1023 for 10 bit data modes LED Status Located on the back of the camera is a red green LED used to display the operational status of the camera Red lights indicate errors or warnings and green lights indicate progress and OKs Error and warning states are accompanied by corresponding...

Page 56: ...vaporating from the window surface as this will end up leaving residue and streaking behind 7 Repeat steps 2 4 using a clean tissue until the entire window has been cleaned 8 Blow off any adhering fibers or particles using dry filtered compressed air Stuck Bits If data bits seem to be stuck or do not change check that the camera is not saturated by preventing light from entering To verify the data...

Page 57: ...s Horizontal Lines or Patterns in Image A faulty or irregular encoder signal may result in horizontal lines due to exposure time fluctuations ensure that your exposure time is regular If you have verified that your exposure time is consistent and patterns of low frequency intensity variations still occur ensure that you are using a DC or high frequency light source All manuals and user guides at a...

Page 58: ...58 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com ...

Page 59: ...as ANSI TIA EIA 644 was approved in March 1996 LVDS uses differential signaling with a nominal signal swing of 350mV differential The low signal swing decreases rise and fall times to achieve a theoretical maximum transmission rate of 1 923 Gbps into a loss less medium The low signal swing also means that the standard is not dependent on a particular supply voltage LVDS uses current mode drivers w...

Page 60: ...frame grabber SerTC Differential pair with serial communications to the camera The serial interface will have the following characteristics one start bit one stop bit no parity and no handshaking It is recommended that frame grabber manufacturers supply both a user interface and a software application programming interface API for using the asynchronous serial communication port The user interface...

Page 61: ...s of the standard s EMC EN55022 1998 EN55024 1998 EN61326 2002 This product complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC and carries the CE mark accordingly Place of Issue Waterloo ON CANADA Date of Issue October 2003 Name and Signature of authorized person Hank Helmond Quality Manager Teledyne DALSA Corp This Declaration corresponds to EN ...

Page 62: ...62 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com ...

Page 63: ...carriage return CR ends each command Values in square brackets are optional There are two methods for entering the commands In long form each command is written in its entirety In short form only a predefined abbreviation is required The manual used the short form The following parameters are used in the manual i integer f float s string t tap x1 x2 pixel start and stop values The camera will answ...

Page 64: ...mera ID The camera ID is a single case insensitive ASCII alphanumeric character A to Z or 0 to 9 To change the network ID for a camera use the command sci i i Where the first parameter is an ID of A to Z or 0 to 9 and the second optional parameter is the camera s serial number To read current camera ID use the gcp command Changing Network ID of a Camera To change the ID of a networked camera even ...

Page 65: ...ent to all cameras on the network at the same time After a broadcast command is sent and before issuing the next command each camera on the link must be polled until a READY status is returned A BUSY status indicates that the camera is not ready to receive the next command To poll the status of a networked camera send an empty network command to each camera until they each return the READY reply B...

Page 66: ...a by using network version of the gps command Example reading status from camera ID a a gps Enabling Disabling Non Command Messages in the Network Environment To enable disable camera messages unrelated to the executed command such as initialization and monitoring task messages use the command snm i Value Function 0 Enable messages default 1 Disable messages All manuals and user guides at all guid...

Page 67: ...es for errors informal messages and monitoring task messages Refer to section E7 for a list of all available commands Error Codes Code Description Suggested Cause 0 Command executed successfully Command executed without major error detected 1 Internal camera error PIXEL INDEX Internal software error trap 2 Internal camera error RESULT CODE Internal software error trap 3 Invalid command Command not...

Page 68: ...rgeted video level 22 Analog gain calibration failure Analog gain calibration failure could not tune the analog gain to obtain targeted video level 23 CRC check failure while attempting to restore the camera settings Camera setting will initialize to default settings since restore of USER FACTORY settings failed internal micro EE memory failure Contact your DALSA representative or Product Support ...

Page 69: ...rocess 64 INFO Calibration may be out of specification FPN coefficient clipped ccf several coefficients were clipped during the ccf command process 128 INFO Calibration may be out of specification DO FPN 511 ccf at least one pixel digital offset FPN coefficient 511 256 INFO Changing analog settings of calibration mode voids pixel calibration sao sg in calibration mode after calibration has been do...

Page 70: ...a Network ID x Camera network id set with the sci command Network Message Mode disabled Displays whether network messages are enabled or disabled Set with the snm command See C4 Networking Mode for details Firmware Design Rev xx xx xxxxx xx Firmware design revision number DSP Design Rev xx xx DSP design revision number SETTINGS FOR UNCALIBRATED MODE Analog Gain dB 0 0 0 0 0 0 0 0 Analog gain value...

Page 71: ...ing Offset Performance and Dark Calibration page 36 for details Digital Offset 0 0 0 0 Digital offset value set with the sdo command Available only in calibrated mode svm 0 See section 3 12 Optimizing Offset Performance for details Calibration Status FPN uncalibrated PRNU uncalibrated Calibration status will change to calibrated after a ccf or ccp command has been issued after a power up Calibrati...

Page 72: ...r details Data Mode 0 Current data mode value set with the sdm command See section 3 7 Setting the Data Mode for details Exposure Mode 2 Current exposure mode value set with the sem command See section 3 9 Setting Line Rate and Exposure Mode for details SYNC Frequency 5000 4998 51 Hz Current line rate Value is set with the ssf command See section 3 9 Setting Line Rate and Exposure Mode for details...

Page 73: ...007DN for 10 bit This command requires a constant light input and only works in uncalibrated mode 1 calibrate_analog_offset cao t i Calibrates the analog offset The first parameter is the tap selection 1 to 4 0 for all taps The second parameter is a line average in a range from 1 to 100DN for 8 bit mode and 4 to 400 for 10 bit This command only works in uncalibrated mode 2 correction_calibrate_fpn...

Page 74: ...test pattern displaying one pixel value after another and the minimum maximum and mean value of the sampled line Optional pixel start and end values in a range from 1 to sensor pixel count 15 get_line_average gla i i Read the average of line samples Use css to set sample size Optional pixel start and end values in a range from 1 to sensor pixel count 13 get_prnu_coeff gpc i Read the PRNU coefficie...

Page 75: ...ate sbr i Set speed of serial communication port Baud rates 9600 19200 57600 and 115200 Default baud 9600 26 set_camera_id sci s s Set camera ID The first parameter is a character A to Z or 0 to 9 The second optional parameter is the serial number of the addressed camera 27 set_data_mode sdm i Set the data mode of camera output to 0 8 bit A B C D ports single processor 1 10 bit A B C and D E F por...

Page 76: ...n the range 0 to 127 32 set_gain sg t f Set the analog gain The first parameter is the tap selection 1 to 4 0 for all taps The second parameter is a gain value specified from 10 to 10 A gain value of 0 sets the camera to its nominal gain 33 set_lower_threshold slt i Set the lower threshold to a value from 0 to 255 for 8 bit data modes and 0 to 1023 for 10 bit 34 set_netmessage_mode snm i Enable di...

Page 77: ...o 255 in 8 bit data modes and 0 to 1023 in 10 bit 41 set_video_mode svm i Switch between calibrated and uncalibrated modes 0 Uncalibrated video deactivate video correction 1 Calibrated video activated correction 2 Test pattern 42 verify_temperature vt Check the internal temperature of the camera 43 verify_voltage vv Check the camera voltages and return OK or fail 44 warning_enable_disable wed i i ...

Page 78: ...78 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com ...

Page 79: ...es indicated are the values obtained after issuing the cao 0 5 calibrate analog offset command The plot shows the DC offset over temperature at maximum gain with the optimal offset calibration limit being represented by the Limit line The area under the Limit line shows the operating conditions where the camera s offset can be calibrated to camera specifications the area above the Limit line shows...

Page 80: ...ture is approximately 15 C less than the internal camera temperature Camera gain is 10dB Worst case calibrated DC offset VS temperature and exposure time 0 10 20 30 40 50 60 70 80 15 5 27 5 36 5 45 56 65 5 Camera internal Temperature C DC Offset DN 999 usec 900 usec 800 usec 700 usec 600 usec 500 usec 400 usec Limit All manuals and user guides at all guides com ...

Page 81: ...g 128 and changed it to 64 On page 31 Calibrating Gains changed allowable ranges from 64 was 128 to 251 and 256 was 512 to 1007 Added error message 28 and 29 on page 64 Removed error message 20 Added informal message codes 32 and 64 on page 65 Added section C6 Camera Parameter Screen on page 65 In section C7 command table cag range is now 64 was 128 to 251 or 256 was 512 to 1007 ccp range is now 6...

Page 82: ...s power and power supply current specs 11 Added 2k 4 tap model to Section 1 2 Image Sensors Figure 2 IT P1 4k Image Sensor 2k 4k 10 µm 4 tap models Section 1 3 Camera Performance Specifications power and power supply current line rate specs Added Figure 1 IL P1 Image Sensor 1k 2k 4k 10 µm 2 tap models to Chapter 4 Mechanical Interface Updated z tolerance from 18mm to 25mm in table 1 and Lens Mount...

Page 83: ...moved from page 37 as this feature is not available for this camera model 3 The variance in light intensity across the target must not be more than 4 to 1 Because the maximum per pixel digital gain is 2x the camera will not be able to compensate for extremely non uniform light All manuals and user guides at all guides com ...

Page 84: ...84 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com ...

Page 85: ...t 44 dark patches 56 Data Bus 17 data mode 26 debugging 18 39 53 digital data 17 E EIA 644 Reference 59 EMC compliance 49 EMC Declaration of Conformity 61 end of line sequence 18 generating 39 environmental considerations 43 error handling 67 error messages 40 exposure mode setting 27 exposure time 27 29 EXRCLK 16 EXSYNC 17 setting 21 27 72 troubleshooting 53 F fiber optic light sources 48 filters...

Page 86: ...us of camera 40 optical interface 47 output mode 26 P performance 9 pixel statistics 29 power supplies 16 pretrigger 41 PRIN 16 PRNU 37 39 R rebooting 41 region of interest 29 responsivity graph 12 roi See Region of Interest S sensor 7 alignment 47 cleaning 51 serial interface 23 settings gain 34 offset 31 pretrigger 41 restoring 25 saving 25 specifications electro optic 11 performance 9 startup 2...

Reviews: