background image

 

 

Piranha 3 User Manual 

03-032-10216-02  

DALSA 

70 

5.4 Product Support 

If there is a problem with your camera, collect the following data about your application 
and situation and call your DALSA representative.  

Note:

 You may also want to photocopy this page to fax to DALSA. 

Customer name 
 

 

Organization name 
 

 

Customer phone number 
    fax number 

 

Complete Product Model 
Number  
(e.g. P3-80

-08k40

...) 

 

Complete Serial Number 
 

 

Your DALSA Agent or Dealer  
 

 

Acquisition System hardware  
(frame grabber, host computer, 
light sources, etc.) 

 

Acquisition System software  
(version, OS, etc.) 

 

Power supplies and current 
draw 
 

 

Data rate used 
 

 

Control signals used in your 
application, and their frequency 
or state (if applicable) 

 

EXSYNC 

 

BIN 

 

MCLK 

 

Other _______ 

Results when you run the 

gcp

 

command 

please attach text received from the camera after initiating 
the command 

Detailed description of problem 
encountered. 
 

please attach description with as much detail as appropriate 

In addition to your local DALSA representative, you may need to call DALSA Technical 
Sales Support: 

 North 

America 

Europe  Asia 

Voice: 

519-886-6000 +49-8142-46770 

519-886-6000 

Fax: 

519-886-8023 +49-8142-467746 

519-886-8023 

Summary of Contents for Piranha3

Page 1: ...Piranha3 Camera User s Manual P3 80 xxk40 R P3 87 xxK40 R P3 87 xxK40 01 R 8k to 12k Line Scan CCD Cameras 29 Jan 07 03 032 10216 02 www dalsa com...

Page 2: ...terloo ON and over 1000 employees world wide 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...

Page 3: ...15 Input Signals Camera Link 19 Output Signals Camera Link 19 2 3 Camera Link Video Timing 19 Software Interface How to Control the Camera __________________________________ 23 Setting Baud Rate 24 Ca...

Page 4: ...and Resolution 66 Troubleshooting________________________________________________________ 67 5 1 Common Solutions 67 5 2 Troubleshooting Using the Serial Interface 68 Communications 68 Verify Paramet...

Page 5: ...g 75 B2 All Available Commands 76 EMC Declaration of Conformity______________________________________________ 85 Revision History ________________________________________________________ 87 Index ____...

Page 6: ...Piranha 3 User Manual 03 032 10216 02 DALSA 6...

Page 7: ...nk configuration interface Automatic tap balancing algorithms RoHS CE and FCC compliant Key Specifications 8k 12k Value Units Typ 0dB Gain Typ 0dB Gain Pixel Pitch m 7 x 7 5 x 5 Camera Size mm 150 x 4...

Page 8: ...s The Piranha3 family is ideal for applications requiring high speed superior image quality and high responsivity Applications include Flat panel display inspection Printed circuit board inspection Pa...

Page 9: ...ensor Alignment x y z 0z mm mm mm 0 05 0 05 0 25 0 4 0 05 0 05 0 25 0 4 Lens Mount M72x0 75 M72x0 75 Mechanical Interface Units Notes Camera Size mm l x h x w 150 x 42 x 80 Mass g 630 Connectors power...

Page 10: ...2 FPN Corrected 3 8 4 8 10 16 4 PRNU ECD DN 120 330 120 330 140 330 2 PRNU ECE DN 125 330 140 330 220 330 2 PRNU Pixel to Pixel DN 80 255 80 255 80 255 PRNU Corrected ECD ECE DN DN 16 16 48 48 18 18...

Page 11: ...d 15V Notes 1 Halogen 3200K color temperature with 750nm cutoff filter light source 59 W cm2 12k camera and 71 3 W cm2 8k camera light intensity line rate 2500 Hz 12k camera and 5000 Hz 8k camera ECD...

Page 12: ...posure Control Reset and Shift RegisterStructures Storage Well with Exposure Control Reset and Shift RegisterStructures Table 3 P3 80 12k40 Pixel Readout Tap First Pixel 1 1 3071 odd pixels 2 2 3072 e...

Page 13: ...Piranha 3 User Manual DALSA 03 032 10216 02 13 7 8191 6141 odd pixels 8 8192 6142 even pixels 1 4 Responsivity Figure 2 Responsivity Graphs...

Page 14: ...Piranha 3 User Manual 03 032 10216 02 DALSA 14...

Page 15: ...s or connectors or the camera may be damaged 6 Connect Camera Link and power cables 7 After connecting cables apply power to the camera 8 Check the diagnostic LED See 2 2 1 LED Status Indicator for an...

Page 16: ...amera The table below summarizes the operating states of the camera and the corresponding LED states When more than one condition is active the LED indicates the condition with the highest priority Er...

Page 17: ...teed if your power supply does not meet the 12V to 15V requirements WARNING It is extremely important that you apply the appropriate voltages to your camera Incorrect voltages will damage the camera P...

Page 18: ...or Pinout Medium and Full Configuration Camera Connector 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 P...

Page 19: ...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...

Page 20: ...ifications 53 190 12k 106 382 8k tTransfer The time from the reception of the falling edge of EXSYNC to the rising edge of LVAL when pretrigger is set to zero Pretrigger reduces the number of clocks t...

Page 21: ..._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 greate...

Page 22: ...Piranha 3 User Manual 03 032 10216 02 DALSA 22...

Page 23: ...The serial interface uses a simple ASCII based protocol and the camera does not require any custom software Serial Protocol Defaults 8 data bits 1 stop bit No parity No flow control 9 6kbps Camera doe...

Page 24: ...ll 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 sc...

Page 25: ...ixel coefficients i 0 4 rc reset camera rfs restore factory settings roi region of interest xyxy 1 12288 1 1 1 12288 1 1 rpc reset pixel coeffs rus restore user settings sag set analog gain tf 0 8 10...

Page 26: ...tract Set Digital System Gain sag ccg ugr sao cao ccf sdo ccp ssb ssg Camera Link Mode Camera Throughput Set Upper Threshold Set Lower Threshold clm sot sut slt Generate a Test Pattern End of Line Seq...

Page 27: ...ure time and line rate generation Syntax sem i Syntax Elements i Exposure mode to use Factory setting is 7 Notes Refer to Table 11 Piranha3 Exposure Modes for a quick list of available modes or to the...

Page 28: ...ed exposure time is entered When setting the exposure time using the set command line time will be increased if necessary to accommodate the exposure time Under this condition the line time will equal...

Page 29: ...ut Mode 5 External Line Rate EXSYNC and External Pixel Reset PRIN In this mode the falling edge of EXSYNC sets the line period and the rising edge of PRIN sets the start of exposure time Figure 9 EXSY...

Page 30: ...Exposure Time Readout Setting the Line Rate Purpose Sets the camera s line rate in Hz Camera must be operating in exposure mode 2 or 7 Syntax ssf f Syntax Elements i Desired line rate in Hz Allowable...

Page 31: ...Example set 400 5 3 3 Camera Output Format 3 3 1 Setting the Camera Link Mode Purpose Sets the camera s Camera Link configuration number of Camera Link taps and data bit depth Refer to Table 12 for a...

Page 32: ...CCD tap 1 2 2 CCD tap 3 4 3 CCD tap 5 6 4 CCD tap 7 8 Note Concatenated taps are interleaved Refer to section 1 3 for a sensor readout description 80MHz 12 clm 21 Full 8 Camera Link taps where 1 CCD...

Page 33: ...ded that you set the region of interest a few pixels inside the actual useable image Syntax roi x1 y1 x2 y2 Syntax Elements x1 Pixel start number Must be less than the pixel end number in a range from...

Page 34: ...ments 1 Analog gain sag or ccg command is multiplied by the analog signal to increase the signal strength before the A D conversion It is used to take advantage of the full dynamic range of the A D co...

Page 35: ...alibrating the Camera to Remove Non Uniformity Flat Field Correction Flat Field Correction Overview This camera has the ability to calculate correction coefficients in order to remove non uniformity i...

Page 36: ...sufficiently low not to affect camera performance and calibration results For best results the analog gain should be adjusted for the expected operating conditions and the ratio of the brightest to d...

Page 37: ...e command You should see close to zero output gl gla sao cao 0 sag ccf wfc wus epc 1 0 i 1 Place a white reference in front of the camera 2 Verify that the output signal level is within range by issui...

Page 38: ...igital processing send the following commands sdo 0 0 epc 0 0 ssb 0 0 ssg 0 4096 Setting Analog Gain Purpose Sets the camera s analog gain value Analog gain is multiplied by the analog signal to incre...

Page 39: ...qual to the specified target 4 This algorithm adjusts the analog gain so that the maximum pixel per tap within the ROI of the multi line average css command is equal to the specified target t Tap valu...

Page 40: ...set value use the command gcp or get sao Example sao 3 35 Related Commands cao Calibrating Analog Offset Purpose Instead of manually setting the analog offset to a specific value the camera can determ...

Page 41: ...ied target value and all other taps remain unchanged Figure 14 Calibrating Analog Gain for a Tap outside of the Region of Interest Tap 1 odd Tap 2 even Video Region of Interest ccg 1 4 2800 Since tap...

Page 42: ...on does not occur Figure 15 Calibrating Analog Gain for a Tap inside the Region of Interest ccg 1 2 2800 Since tap 2 is completely outside the region of interest an error message is returned and analo...

Page 43: ...095 ccg 1 0 2800 When calibrating all taps taps completely outside the region of interest in this example interleaved taps 1and 2 are calibrated to the average analog gain of taps within the region of...

Page 44: ...erform all analog and digital adjustments before performing FPN correction Perform FPN correction before PRNU correction Refer to Calibrating the Camera to Remove Non Uniformity Flat Field Correction...

Page 45: ...s on the ssg command Related Commands ssg Example sdo 0 100 PRNU Correction Performing PRNU Correction to a Camera Calculated Value Purpose Performs PRNU correction and eliminates the difference in re...

Page 46: ...peak output value This command performs the same function as the cpp command but requires that you enter a target value 3 This algorithm includes an analog gain adjustment prior to PRNU calibration An...

Page 47: ...last pixel number of the range x Coefficient value in a range from 0 to 28671 where Notes The first pixel of the range must be less than the last Example spr 4001 4096 0 Subtracting Background Purpose...

Page 48: ...mproves 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...

Page 49: ...function returns all the current pixel coefficients in the order FPN PRNU FPN PRNU The camera also returns the pixel number with each coefficient Example dpc 10 20 Returning FPN Coefficients Purpose R...

Page 50: ...that provides basic calculations including line counter line sum pixels above threshold pixels below threshold and derivative line sum within the region of interest These basic calculations are used t...

Page 51: ...3 Differential line sum 7 0 14 Differential line sum 15 8 15 Differential line sum 23 16 16 Differential line sum 31 24 Use these values to focus the camera Generally the greater the sum the greater t...

Page 52: ...g commands Pixel coefficients are stored separately from other data To save all current user settings to EEPROM use the command wus The camera will automatically restore the saved user settings when p...

Page 53: ...of pixel coefficients A factory calibrated set of coefficients is available Syntax lpc i Syntax Elements i FPN coefficients set to save 0 Factory calibrated pixel coefficients 1 Coefficient set one 2...

Page 54: ...formation 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...

Page 55: ...cpa Example css 1024 Returning the Average of Multiple Lines of Video Purpose Returns the average for multiple lines of video data without pixel coefficients or test pattern The number of lines to sam...

Page 56: ...u will have to correct the temperature problem or the camera will shutdown again The camera allows you to send the vt verify temperature command while it is in this state 3 6 4 Voltage Measurement The...

Page 57: ...on Part of FPGA firmware FPGA Design Rev xxx xx DSP design revision number UART Baud Rate 9600 Serial communication connection speed set with the sbr command See Setting Baud Rate on page 24 for detai...

Page 58: ...command Refer to section 3 4 2 Analog and Digital Signal Processing Chain for details PRNU Coefficients off States whether PRNU coefficients are on or off Set with the epc command Refer to section 3 4...

Page 59: ...tails Total Analog Gain dB 6 0 6 0 6 0 6 0 This is the sum of the analog gain and analog gain reference values and is the total analog gain being used by the camera Analog Offset 100 100 100 100 100 1...

Page 60: ...ated x1 Pixel start number x2 Pixel end number get clm Returns the current Camera Link mode get css Returns the number of line samples averaged for pixel coefficient calculations or for output of gla...

Page 61: ...ap value 0 for all taps or 1 to 8 for individual tap selection get sem Returns the current exposure mode 3 External SYNC maximum exposure time 7 Internal programmable SYNC maximum exposure time Factor...

Page 62: ...s internal chip temperature in degrees Celsius get vv Returns the camera s supply voltage get wfc Returns whether FPN coefficients have been saved 0 No FPN coefficients saved 1 Pixel coefficients hav...

Page 63: ...EEP 3 00 x 4 0 DEEP 50 0 29 0 35 3 75 0 11 5 4X 73 0 4X 15 0 55 0 12 5 3 2 2X 13 5 2X 55 0 2X 3 2 4X M72 x 0 75 x 4 0 DEEP 42 0 96 0 2X 142 0 2X DETAIL A 1 50 1 A M3x0 5 x 6 0 DEEP 8X M3x0 5 x 6 0 DEE...

Page 64: ...69 4 14 1 6 56 0 25 CCD IMAGING DISTANCE FROM TOP OF CCD TO DATUM A 54 2 29 8 2X 38 7 60 1 M3x0 5 x 6 0 DEEP 4X M3x0 5 x 6 0 DEEP 2X M3x0 5 x 6 0 DEEP 4X A PIXEL 1 73 0 2X 73 0 2X 80 0 85 0 42 50 0 05...

Page 65: ...r example 5 J cm2 can be achieved by exposing 5mW cm2 for 1ms just the same as exposing an intensity of 5W cm2 for 1 s Light Sources Keep these guidelines in mind when setting up your light source LED...

Page 66: ...to the second focal point The object distance OD is the distance from the first principal point to the object Figure 21 Primary Points in a Lens System Magnification and Resolution The magnification o...

Page 67: ...d be 1 Try the general and specific solutions listed in sections 5 1 5 2 and 5 3 2 If these solutions do not resolve your problem see section 5 4 on getting product support 5 1 Common Solutions Connec...

Page 68: ...pattern feature to verify the proper timing and connections between the camera and the frame grabber and verify the proper output along the digital processing chain Verify Voltage To check the camera...

Page 69: ...not saturate the entire pad with solvent 6 Wipe across the length of the window in one direction with the moistened end first followed by the rest of the pad The dry part of the pad should follow the...

Page 70: ...r 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 app...

Page 71: ...nk Implementation Road Map available at http vfm dalsa com support appnotes 00450 00_03 32_DALSA_Camera_Link_Road_Map pdf details how DALSA standardizes its use of the Camera Link interface LVDS Techn...

Page 72: ...a particular product The signals are Camera Control 1 CC1 Camera Control 2 CC2 Camera Control 3 CC3 Camera Control 4 CC4 The Piranha3 uses the following camera control signals Table 15 DALSA Camera Co...

Page 73: ...dix B in the Official Camera Link specification on the http vfm dalsa com Web site Power Power will not be provided on the Camera Link connector The camera will receive power through a separate cable...

Page 74: ...Piranha 3 User Manual 03 032 10216 02 DALSA 74...

Page 75: ...eters adjusted Parameter was clipped to the current operating range Use GCP to see value used Warning 05 Missing codes insufficient digital gain Output when the digital gain is such that missing codes...

Page 76: ...Error 09 The camera s temperature exceeds the specified operating range Indicates that the camera has shut itself down to prevent damage from further overheating B2 All Available Commands As a quick...

Page 77: ...al to the specified target 4 This algorithm adjusts the analog gain so that all tap ROI pixels are within 98 of the specified target value and then performs a PRNU correction t Tap value Use 0 for all...

Page 78: ...nt prior to PRNU calibration Analog gain is first adjusted so that the peak pixel value in tap s ROI is within 97 to 99 of the specified target value It then calculates the PRNU coefficients using the...

Page 79: ...bling and Disabling Pixel Coefficients on page 49 for details get camera model gcm Reads the camera model number get camera parameters gcp Reads all of the camera parameters get camera serial gcs Read...

Page 80: ...on volatile memory where i is 0 Factory calibrated coefficients 1 Coefficient set one 2 Coefficient set two 3 Coefficient set three 4 Coefficient set four Refer to 3 5 1 Saving and Restoring PRNU and...

Page 81: ...115200 Default 9600 Refer to section Setting Baud Rate on page 24 for details set digital offset sdo t i Subtracts the input value from the video signal prior to FPN correction t Tap value 0 for all...

Page 82: ...ut throughput sot m This command works in conjunction with the clm command and determines the pixel rate of the camera 320 4 taps at 80MHz or 8 taps at 40MHz This command is currently not configurable...

Page 83: ...i Switch between normal video mode and test patterns 0 Normal video mode 1 12 bit ramp test pattern 2 8 bit step test pattern Refer to section 3 6 1 Generating a Test Pattern for details update gain...

Page 84: ...Piranha 3 User Manual 03 032 10216 02 DALSA 84 write user settings wus Write all of the user settings to EEROM Refer to section 3 5 Saving and Restoring Settings for details...

Page 85: ...3 2 2001 IEC EN 61000 3 3 2001 EN 61326 2001 IEC 61326 2002 IEC EN 61000 4 2 2001 IEC EN 61000 4 3 2002 ENV 50204 IEC EN 61000 4 4 2004 IEC EN 61000 4 5 2001 IEC EN 61000 4 6 2004 IEC EN 61000 4 11 20...

Page 86: ...Piranha 3 User Manual 03 032 10216 02 DALSA 86 This Declaration corresponds to EN 45 014...

Page 87: ...r New parameter 4 added to command Correction Calibrate PRNU cpa pages 25 46 and 79 Two new commands added Set FPN Range sfr and Set PRNU Range spr pages 47 49 and 83 02 Tooling hole dimensions added...

Page 88: ...Piranha 3 User Manual 03 032 10216 02 DALSA 88...

Page 89: ...0 enabling 50 loading 50 resetting 50 command format 23 list 76 parameters 24 commands 26 connectors 15 19 Camera Link 17 Hirose 17 power 17 D dark calibration See flat field correction dark patches 6...

Page 90: ...VDS 71 pairs 72 M magnification 66 MDR26 See Camera Link connector mechanical drawing 63 specifications 9 models 8 modes default 29 N noisy output 69 O offset analog 40 calibrating 40 digital 45 opera...

Page 91: ...ckground 47 sync frequency 56 T tap matching 39 Technical Sales Support 70 temperature measurement 56 test patterns 54 threshold lower 51 upper 51 throughput 32 timing 19 camera 19 Camera Link 19 mode...

Reviews: