background image

30 

 

 

Piranha2 User’s Manual 

Returning a Single Line of Video 

The 

gl

 command returns a complete line of video (without digital processing or test 

pattern) displaying one pixel value after another. It also displays the minimum, 
maximum, and mean value of the line sampled. If a region of interest has been set, the 
statistics are generated for the region of interest only. 

Use this command, or the following 

gla

 command, to ensure the proper video input 

range into the processing chain before executing any pixel calibration commands. 

To return a single line of video, use the command: 

Syntax:

 

gl [x1] [x2

Syntax Elements: 

[x1] 

 

 

Optional parameter. This sets the start 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. 

 

[x2] 

 

 

 

Optional parameter. This sets the end 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 
output include statistics for the region of interest only.  

 

If you are using the 4 tap model, and your region of interest 
is in one half of the sensor only (taps 1 and 2, or taps 3 and 4), 
the values displayed on screen for the taps outside the ROI 
are a mean of the ROI line statistics. 

 

Values returned are in DN. 

Example: 

gl 10 20 

Returning Multiple Lines of Video 

You can also return the average for multiple lines of video data. The number of lines to 
sample is set and adjusted by the 

css

 command. The camera displays the Min., Max., and 

Mean statistics. If you are using a region of interest, the camera displays the statistics for 
the region of interest only. 

03-32-00493-11  

 

DALSA 

Summary of Contents for P-2 Series

Page 1: ...P 2x xxx40 P2 4x xxx40 P2 2x xxx30 Line Scan CCD Cameras Camera User s Manual Printed 3 29 2006 9 03 00 AM 29 Mar 06 03 32 00493 11 www dalsa com ...

Page 2: ...rt equipment to ensure product reliability All electronic modules and cameras are subjected to a 24 hour burn in test For further information not included in this manual or for information on DALSA s extensive line of image sensing products please call DALSA Sales Offices Waterloo Europe Asia Pacific 605 McMurray Rd Waterloo ON N2V 2E9 Canada Tel 519 886 6000 Fax 519 886 8023 www dalsa com sales a...

Page 3: ... 22 Software Interface How to Control the Camera __________________________________ 23 3 1 Overview 23 3 2 Command Format 24 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...

Page 4: ...oting Using the Serial Interface 54 6 3 Specific Solutions 56 6 4 Product Support 58 Camera 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...

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

Page 6: ...mplified with the Camera 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 st...

Page 7: ...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 S tora geWell with E xposureControl andReset S tructure S tora geWell with E xposureControl andReset S tructure Relative pos...

Page 8: ... CR1 CR2 CRLAS T L CR1 CR2 CRLAS T L CR1 CR2 CRLAS T R CR1 CR2 CRLAS T R 32 S 4 I Light shielded pixels N 4096 6144 or 8192 Isolationpixels VS ET R VBB RS T R VOD R VS S R VDD OS 3 VS ET L VBB RS T L VOD L VS S L VDD OS 1 OS 2 Relative pos ition of package P in 1 1 1 3 Camera Performance Specifications The following two tables list the camera s performance specifications The first table lists the ...

Page 9: ...6144 2 4 o p mA 650 850 8192 2 4 o p mA 680 900 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 40 MHz 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 ...

Page 10: ...x y um 175 z mm 0 25 θz 0 6 Note that 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 03 32 00493 11 DALSA ...

Page 11: ...ver DN 1 6 4 4 8 14 27 5 FPN corrected max DN 0 3 2 1 2 2 8 2 PRNU uncorrected 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 Cont...

Page 12: ...m integration time to 200 microseconds 6 Refer to Appendix D for DC Offset de rating curves 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 03 32 00493 11 DALSA ...

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

Page 14: ...onnector Right Angle Frame Grabber Channel Link Signal Cable Name 1 1 inner shield Inner Shield 14 14 inner shield Inner Shield 2 25 Y0 PAIR1 15 12 Y0 PAIR1 3 24 Y1 PAIR2 16 11 Y1 PAIR2 4 23 Y2 PAIR3 17 10 Y2 PAIR3 5 22 Yclk PAIR4 18 9 Yclk PAIR4 6 21 Y3 PAIR5 19 8 Y3 PAIR5 7 20 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...

Page 15: ... SerTC 20 7 SerTC 8 19 SerTFG 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 DALSA 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 DALSA Came...

Page 16: ...ct voltages will damage the camera Protect the camera with a fast blow 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 DALSA assumes no responsibility for the use of these suppli...

Page 17: ...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 DALSA Camera Link Implementation Road Map available at vfm dalsa com 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 shoul...

Page 18: ... integrity the first six bits of the output of the end of line sequence are aa 55 aa Refer to the table below Location Value Description 1 A s 2 5 s 3 A s By ensuring these values consistently toggle between aa and 55 you can verify cabling i e no stuck bits 4 4 bit counter LSB justified Counter increments by 1 Use this value to verify that every line is output 5 Line sum LSB 6 Line sum MID 7 Line...

Page 19: ... Piranha2 User s Manual 2 7 Timing Figure 6 Piranha2 Overview Timing Showing Input and Output Relationships Figure 7 Piranha2 Fixed Programmed Integration Timing with External EXSYNC 03 32 00493 11 DALSA ...

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

Page 21: ...twSYNC SMART The minimum low width of the EXSYNC pulse when in SMART EXSYNC modes to guarantee the photosites 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...

Page 22: ...he integrated charge 0 twPR_LOW Minimum Low time to assure complete photosite 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 ...

Page 23: ...s such as gain and sync signal source Camera calibration Measuring internal temperature and voltages Capturing video Generating a test pattern for debugging The serial interface uses a simple ASCII 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 interfac...

Page 24: ...am of the camera s processing chain The analog 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 requirement...

Page 25: ...e 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 restor...

Page 26: ...mand Syntax 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...

Page 27: ... camera s frame rate and exposure time Table 9 Piranha2 Exposure Modes Programmable Line Rate 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...

Page 28: ... Notes To obtain the current value of the exposure mode use the command gcp Related Commands ssf 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 Piranha2 Operating Requirements and Ranges for maximum line...

Page 29: ...he 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 Information...

Page 30: ...l 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 output ...

Page 31: ... 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 output include statistics for the region of interest only If you are using the 4 tap mo...

Page 32: ... 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 When su...

Page 33: ...ach 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 data ...

Page 34: ...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 specific ...

Page 35: ...erates 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 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...

Page 36: ...92 115 sec LED blinks green while calibrating IMPORTANT While camera is blinking green do not power down camera or memory may be corrupted 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 fie...

Page 37: ...a calibration will not be successful The camera will send a warning 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 cal...

Page 38: ... 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 coefficient...

Page 39: ...i The pixel number to read Example gpc 10 3 17 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 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 deb...

Page 40: ...tate when any of camera s continuously running monitoring tasks detects a failure Use the wed i i command where the first 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 si...

Page 41: ...are within the proper range the camera returns OK Otherwise the camera 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 t...

Page 42: ...42 Piranha2 User s Manual 03 32 00493 11 DALSA ...

Page 43: ...anagement For any CCD camera optimal performance is achieved by transferring heat away from the sensor Keeping a sensor cool reduces the amount of dark current generated Dark current is the leading contributor to FPN 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 t...

Page 44: ...at from the sensor to the front plate Therefore to reduce dark current the front plate is the ideal place to mount heat sinks The heat fins on Piranha2 improve conduction and provide 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 C...

Page 45: ...4 0 2X M42X1 4 5 DEEP M3x0 5 6H 4X 6 0 DEEP 32 5 PIXEL 1 1K 19 88 0 18 3 2 5 PIXEL 1 8K 13 83 0 18 PIXEL 1 6K 21 00 0 18 PIXEL 1 4K 22 02 0 18 85 0 78 0 2X 58 0 2X 85 0 46 81 2X 46 81 2X 3 5 2X 9 1 2X 65 0 M3x0 5 6H 4X 7 0 DEEP M2x0 4 6H 4X 7 0 DEEP 3 5 2X 19 1 2X Figure 9 Piranha2 4 tap 10 µm models 70 0 2X 7 5 2X 6 0 4X M3x0 5 x 5 0 4X CAMERA ASSEMBLY WITH C MOUNT LENS ADAPTER SCALE 1 2 CAMERA A...

Page 46: ...URFACE 16 0 37 6 22 8 22 9 39 6 2X DATA 1 CONTROL POWER STATUS DATA 2 7 5 2X 61 0 2X 6 0 4X 13 0 49 3 66 8 M3x0 5 6H 5 0 DEEP 4X 49 3 70 0 2X 7 5 2X 6 0 4X 53 7 M3x0 5 6H 4X 5 0 DEEP OPTICAL DISTANCE 6 56 0 25 CAMERA SURFACE TO DIE SURFACE PIXEL 1 8K 13 83 0 18 PIXEL 1 6K 21 00 0 18 PIXEL 1 4K 28 16 0 18 M3x0 5 6H 7 0 DEEP M2x0 4 6H 7 0 DEEP 32 5 85 0 78 0 2X 58 0 2X 85 0 46 81 2X 46 81 2X 3 5 2X ...

Page 47: ...at surface are provided Mount Back Focal Distance sensor die to adapter C Mount 17 52 0 25mm F Mount 46 5 0 25mm 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...

Page 48: ... that transmits visible wavelengths but does not transmit wavelengths over 750nm Examples are the Schneider Optics B W 489 which includes a mounting ring the CORION LS 750 which does not include a mounting ring and the CORION HR 750 series hot mirror 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 ...

Page 49: ...of 45mm and requires that 100µm in the object space correspond to each pixel in the image sensor Using the preceding equation 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 Piranha2 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...

Page 50: ...50 Piranha2 User s Manual 03 32 00493 11 DALSA ...

Page 51: ...rmally dissipates within 24 hours and the sensor returns to normal operation WARNING Charge buildup will affect the camera s flat field correction calibration To avoid an erroneous calibration ensure that you perform flat field correction only after a charge buildup has dissipated over 24 hours 5 2 Protecting Against Dust Oil and Scratches The CCD window is part of the optical path and should be h...

Page 52: ...atched window will normally have brighter pixels adjacent to darker pixels The location of these pixels changes with the angle of illumination 5 3 Cleaning the 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 f...

Page 53: ...e solutions do not resolve your problem 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 ...

Page 54: ...s To verify the camera parameters send the gcp command See section C6 Camera Parameter Screen for a complete explanation of the camera parameters screen Verify Factory Calibrated Settings To restore the camera s factory settings and reset the FPN and PRNU coefficients to 0 send the rfs command After executing this command send the gcp command to verify the factory settings Verify Timing and Digita...

Page 55: ...ection send the command svm 1 Then use the dpc command to display the pixel coefficients in the order FPN PRNU FPN PRNU The camera also returns the pixel number with each coefficient End of line Sequence To further aid debugging the camera can generate an end of line sequence The end of line sequence outputs aa 55 line counter line average pixels above threshold pixels below threshold To activate ...

Page 56: ...inated Clean your lenses and sensor windows with extreme care 1 Take standard ESD precautions 2 Wear latex gloves or finger cots 3 Blow off dust using a filtered blow bottle or dry filtered compressed air 4 Fold a piece of optical lens cleaning tissue approx 3 x 5 to make a square pad that is approximately one finger width 5 Moisten the pad on one edge with 2 3 drops of clean solvent either alcoho...

Page 57: ...ys one pixel value after another and the minimum maximum and mean value of the sampled line Use this command to ensure the proper video input range Probe the output lines with an oscilloscope Disconnect the digital cable from the camera and check the digital signals at the output of the camera Ensure that the correct values are present Check all cable connections especially right at the connector ...

Page 58: ...frame grabber host computer light sources etc Acquisition System software version OS etc Power supplies and current draw Data rate used Control signals used in your application and their frequency or state if applicable EXSYNC BIN MCLK Other _______ PRIN Results when you run the get_camera_parameter command Detailed description of problem encountered please attach description with as much detail a...

Page 59: ...lume pricing LVDS Technical Description Low Voltage Differential Signaling LVDS is a high speed low power general purpose interface standard The standard known as ANSI TIA EIA 644 was approved in March 1996 LVDS uses differential signaling with a nominal signal swing of 350mV differential The low signal swing decreases rise and fall times to achieve a theoretical maximum transmission rate of 1 923...

Page 60: ...ra and frame grabber Cameras and frame grabbers should support at least 9600 baud These signals are SerTFG Differential pair with serial communications to the frame grabber SerTC Differential pair with serial communications to the camera The serial interface will have the following characteristics one start bit one stop bit no parity and no handshaking It is recommended that frame grabber manufact...

Page 61: ... 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 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 DALSA Cor...

Page 62: ...62 Piranha2 User s Manual 03 32 00493 11 DALSA ...

Page 63: ...mmand Format and Examples A 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...

Page 64: ...ommand Short Form Description set_camera_ID sci Sets camera network ID get_camera_ID gci Reads camera ID set_netmessage_mode snm 0 disable default messages enabled 1 enable messages disabled Camera 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 ...

Page 65: ...ed was not a Broadcast command the empty network command will cause the addressed camera to output an OK message followed by the prompt and prefixed by the network ID If the last command issued was a broadcast command the empty network command is used to query each camera for its READY BUSY status Example empty network command issued a CR a OK Broadcast Commands and READY BUSY Status Broadcast com...

Page 66: ...y from the camera before sending the next command Camera will not reply to the Broadcast command To read the status of the last command executed major error code coded value of informal messages and coded value for all pending monitoring task warnings poll each camera by using network version of the gps command Example reading status from camera ID a a gps Enabling Disabling Non Command Messages i...

Page 67: ...64 code 128 33 Monitoring task message code 1 code 32 The following tables list the codes for errors informal messages and monitoring task messages Refer to section E7 for a list of all available commands Error Codes Cod e Description Suggested Cause 0 Command executed successfully Command executed without major error detected 1 Internal camera error PIXEL INDEX Internal software error trap 2 Inte...

Page 68: ...era s temperature is outside the specified operating range vt command result 20 Not Used Not Used 21 Analog offset calibration failure Analog offset calibration failure could not tune the analog offset to obtain targeted 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 ...

Page 69: ...onfiguration fails possible cause 16 INFO Serial communication failure while accessing external ADC chip Reported from boot process if communication verification fails with external ADC chip camera voltage measurement SPI 32 INFO Calibration may be out of specification PRNU coefficient clipped ccp several coefficients were clipped during the ccp command process 64 INFO Calibration may be out of sp...

Page 70: ...er Screen You can read current camera settings with the gcp command The table below lists the settings displayed on the gcp screen with sample values along with a description of some of these settings GCP Screen Desctiption GENERAL CAMERA SETTINGS Camera Model No P2 xx xxxxx Camera model number Camera Serial No xxxxxxxxx Camera serial number Sensor Serial No xxxxxxxxx Sensor serial number Camera N...

Page 71: ...e sg or ccp command The ccp command is available only in calibrated mode svm 1 See sections 3 13 Setting Gains and White Light Calibration page 37 for details Analog Offset 0 0 0 0 Analog offset value set with the sao or ccf command The ccf command is available only in calibrated mode svm 1 See section 3 12 Optimizing Offset Performance and Dark Calibration page 36 for details Digital Offset 0 0 0...

Page 72: ...etrigger value set with the sp command See section 3 20 Setting the Pre trigger for details Number of Line Samples 64 Number of lines samples set with the css command See section 3 11 Returning Video Information for details Video Mode 1 Current video mode value set with the svm command See section 3 8 Setting the Video Mode for details Data Mode 0 Current data mode value set with the sdm command S...

Page 73: ... details C7 Commands The following table lists all of the commands available to the camera user The first column of the table lists command codes returned as first code from gps Code Command Short Form Parameters Description 0 calibrate_analog_gain cag t i Calibrates the analog gain The first parameter is the tap selection 1 to 4 0 for all taps The second parameter is a line average in a range fro...

Page 74: ...5 display_pixel_coeffs dpc i i Display the pixel coefficients in the order FPN PRNU FPN PRNU Optional pixel start and end values in a range from 1 to sensor pixel count 6 endof_line_sequence els i Set the end of line sequence 0 Off 1 On default value 7 get_camera_id gci Read the camera ID 8 get_camera_model gcm Read the camera model number 9 get_camera_parameters gcp Read camera parameters 10 get_...

Page 75: ...om 1 to sensor pixel count 20 reset_camera rc Reset the entire camera reboot 21 reset_pixel_coeffs rpc Reset the pixel coefficients to 0 22 restore_factory_settings rfs Restore the camera s factory settings FPN and PRNU coefficients reset to 0 23 restore_user_settings rus Restore the camera s last saved user settings and FPN and PRNU coefficients 24 set_analog_offset sao t i Set the analog offset ...

Page 76: ...rated mode only 29 set_exposure_mode sem i Set the exposure mode 1 Internal SYNC and PRIN max line rate and exposure time factory setting 2 Internal SYNC and PRIN programmable line rate and exposure time using commands ssf and set 3 External SYNC internal PRIN maximum exposure time 4 Smart EXSYNC 5 External SYNC and PRIN 6 External SYNC internal PRIN programmable exposure time 30 set_exposure_time...

Page 77: ...he range 0 to 511where 512 1 i PixelPRNU 37 set_subtract_background ssb t i Subtracts the input value from the output signal The first parameter is the tap selection 1 to 4 or 0 for all taps The second parameter is the subtracted value range from 0 to 511 38 set_sync_frequency ssf i Sets the line rate in exposure mode 2 to a value from 1000Hz to camera s maximum line rate Value rounded up down as ...

Page 78: ...es and return OK or fail 44 warning_enable_disable wed i i Read enable disable status of all defined monitoring tasks Optionally the first parameter selects a monitoring task and the second parameter enables disable the selected task 45 write_pixel_coeffs wpc Write all current pixel coefficients to EEROM 46 write_user_settings wus Write all of the user settings to EEROM except pixel coefficients w...

Page 79: ...ndicated 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 the...

Page 80: ...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 Notes Camera ambient temperature is approximately 15 C less than the internal camera temperature Camera gain is 10dB 03 32 00493 11 DALSA ...

Page 81: ...ult being 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 ...

Page 82: ...ble in Chapter 1 and added note 6 to refer to Appendix D for DC Offset de rating curves 09 Added 8k 30MHz model to Table 1 Operating Requirements and Ranges max line rate Table 7 Piranha2 30MHz Timing 10 Added 4k 10µm 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 specs 11 Added...

Page 83: ...ng 43 D dark calibration 36 dark current 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...

Page 84: ...ng 33 optimizing 31 70 71 subtracting 32 online help 23 operating requirements 8 operational status of camera 40 optical interface 47 output mode 26 P performance 8 pixel statistics 29 power supplies 16 pretrigger 41 PRIN 16 PRNU 37 39 R rebooting 41 region of interest 29 responsivity graph 11 roi See Region of Interest S sensor 7 alignment 47 cleaning 51 serial interface 23 settings gain 34 offse...

Page 85: ...85 Piranha2 User s Manual V video data 30 59 voltage measurement 41 W warning messages 40 white light calibration 37 03 32 00493 11 DALSA ...

Reviews: