background image

 

 

Piranha4 Color 

P4-CC-04K07T-00-R Camera User’s Manual 

 

 

03-032-20180-00  

www.teledynedalsa.com

 

Summary of Contents for P4-CC-04K07T

Page 1: ...Piranha4 Color P4 CC 04K07T 00 R Camera User s Manual 03 032 20180 00 www teledynedalsa com...

Page 2: ...ies 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 worl...

Page 3: ...______________________________________________________________20 Recommended System Requirements 20 Setup Steps Overview 20 1 Install and Configure Frame Grabber and Software 20 2 Connect Camera Link...

Page 4: ...__________________________________________57 Camera Information Category 57 Camera Information Feature Descriptions 58 Camera Configuration Selection Dialog 61 Camera Power up Configuration 61 User Se...

Page 5: ...e Sensor Window 105 Appendix E Color Deca and Full Mode Acquisition _________________________________________________________106 Overview 106 Supported Sapera LT 106 Programming Deca Mode 106 A simple...

Page 6: ...era housing use a soft dry cloth To remove severe stains use a soft cloth dampened with a small quantity of neutral detergent and then wipe dry Do not use volatile solvents such as benzene and thinner...

Page 7: ...ol and integrate Programmable features include exposure control flat field correction and gain settings The Piranha4 4k camera is ideal for printing inspection printed circuit board solar cell film an...

Page 8: ...olor line scan Resolution 4096 x 3 pixel lines Pixel Size 10 56 m x 10 56 m Full Well Capacity 20 ke minimum gain of 1x Line Rate 0 kHz minimum to 70 kHz maximum Deca RGB8 Exposure Time 7 s minimum to...

Page 9: ...l non linearity 2 DN DN digital number Test Conditions Values measured using 12 bit 1x gain 10 kHz line rate Light source white LED No white balancing Front plate temperature 45 C Certifications Compl...

Page 10: ...also due to the color camera not incorporating TDI Mode Figure 1 Spectral Responsivity Filters CMOS cameras are responsive to infrared IR wavelengths of light Infrared light can be problematic with ha...

Page 11: ...032 20180 00 ADD GRAPH Figure 2 Calibration Source Relative Intensity vs Wavelength 0 0 02 0 04 0 06 0 08 0 1 0 12 0 14 0 16 0 18 400 450 500 550 600 650 700 750 Relative Intensity Wavelength nm P4 Wh...

Page 12: ...l In some applications it may not be possible to achieve a square object pixel as fine adjustment of the lens magnification and or the distance moved for each EXSYNC period is not possible This scenar...

Page 13: ...rrection 3 ssa 3 This is the default condition Example 2 Target running slower than example 1 same EXSYNC trigger frequency Line Spatial Correction 3 ssa 3 Line Spatial Correction 4 3 ssa 4 3 Example...

Page 14: ...032 20180 00 Teledyne DALSA Example 4 Target running slower than EXSYNC Line Spatial Correction 3 ssa 3 Line Spatial Correction 1 ssa 1 Example 5 Target running faster than EXSYNC Line Spatial Correc...

Page 15: ...era Direction Selectable camera direction accommodates an object direction change on a web and allows you to mount the camera upside down Note The example here assumes the use of a lens which inverts...

Page 16: ...ART WITHOUT PERMISSION FROM TELEDYNE DALSA INC 3 2 I PLEIC HARMONY JUL 23 2012 DATE REV DESCR NOTES 1 UNITS MILLIMETERS 2 IMAGE AREA IS ALIGNED TO DATUMS A B C 54 62 0 05 62 0 05 M4x0 7 6H 6 4X FIRST...

Page 17: ...20180 00 Figure 6 Nikon M58 to F Mount Adapter Figure 7 Piranha4 Heat Sink Accessories Kit Optional Lens Mount and Heat Sink Accessories Part No Description AC LN 00002 A0 R M58 to F mount adapter 12m...

Page 18: ...ly depending on the mounting configuration and its heat sinking potential Repositioning or removal of the heat sinks must be performed with care in order to avoid temperature issues The camera has the...

Page 19: ...s who are familiar with Camera Link cameras have a basic understanding of their imaging requirements and who are primarily interested in evaluating the Piranha4 camera an overview of the steps require...

Page 20: ...er then you will need to install one Follow the manufacturer s installation instructions A GenCP Generic Control Protocol compliant XML device description file is embedded within the camera firmware a...

Page 21: ...te with the camera using a Camera Link compliant interface We recommend you use CamExpert CamExpert is the camera interfacing tool supported by the Sapera library and comes bundled with SaperaLT Using...

Page 22: ...erformance of the camera Figure 8 Input and Output trigger and Power Connectors WARNING Grounding Instructions Static electricity can damage electronic components It s critical that you discharge any...

Page 23: ...r Channel Link Signal 1 1 inner shield 1 1 inner shield 14 14 inner shield 14 14 inner shield 2 25 Y0 2 25 X0 15 12 Y0 15 12 X0 3 24 Y1 3 24 X1 16 11 Y1 16 11 X1 4 23 Y2 4 23 X2 17 10 Y2 17 10 X2 5 22...

Page 24: ...or applications that require line rates only up to 20 kHz and therefore can use Camera Link Base mode with only one cable The RGB output format is compatible with the Camera Link specification for Bas...

Page 25: ...ure where the smaller the AOI the greater the potential line rate Red 1 D0 D7 Blue 1 D0 D7 Green 1 D0 D7 Red 3 D0 D7 Blue 3 D0 D7 Green 3 D0 D7 Red 5 D0 D7 Blue 5 D0 D7 Green 5 D0 D7 Red 7 D0 D7 Green...

Page 26: ...0 D0 D7 Blue 10 D0 D7 Red 11 D0 D7 Green 11 D0 D7 Red 4093 D0 D7 Blue 4092 D0 D7 CL Port A CL Port B CL Port C CL Port D CL Port E CL Port F CL Port G CL Port H CL Clock Line Valid Blue 8 D0 D7 Green...

Page 27: ...terest AOI feature where the smaller the AOI the greater the potential line rate Red 1 D0 D7 Blue 1 D0 D7 Green 1 D0 D7 Red 2 D0 D7 Blue 2 D0 D7 Green 2 D0 D7 Red 3 D0 D7 Blue 3 D0 D7 Green 3 D0 D7 Re...

Page 28: ...ed 4095 D0 D7 Blue 2 D0 D7 Blue 3 D0 D7 Blue 4095 D0 D7 Red 2 D8 D9 Blue 2 D8 D9 Red 3 D8 D9 Blue 3 D8 D9 Red 4 D8 D9 Blue 4 D8 D9 Red 4095 D8 D9 Blue 4095 D8 D9 Red 4096 D8 D9 Blue 4096 D8 D9 Port B...

Page 29: ...Blue 2 D0 D7 Blue 3 D0 D7 Blue 4095 D0 D7 Red 2 D8 D11 Blue 2 D8 D11 Red 3 D8 D11 Blue 3 D8 D11 Red 4 D8 D11 Blue 4 D8 D11 Red 4095 D8 D11 Blue 4095 D8 D11 Red 4096 D8 D11 Blue 4096 D8 D11 Port B Bit...

Page 30: ...ode the first pixel of each AOI AOI left edge must have the location 8i where i 0 1 2 511 i e 8 960 are allowed 12 is not allowed 3 In mirror mode the first pixel of each AOI AOI right edge must have...

Page 31: ...ata 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 Ro...

Page 32: ...Check BiST register for the specific error Step 3 Establish Communication with the Camera Power on the camera Turn on the camera s power supply You may have to wait while the camera readies itself fo...

Page 33: ...f the camera is operating correctly at this point the diagnostic LED will shine green Software Interface All the camera features can be controlled through the CamExpert interface For example under the...

Page 34: ...ed to upgrade the camera s software An important component of CamExpert is its live acquisition display window which allows immediate verification of timing or control parameters without the need to r...

Page 35: ...Piranha4 4K Color Camera User s Manual 35 Teledyne DALSA 03 032 20180 00 CamExpert Panes Figure 11 CamExpert s Camera Control Window...

Page 36: ...apera installation or saved by the user Parameters pane Allows viewing or changing all acquisition parameters supported by the acquisition device CamExpert displays parameters only if those parameters...

Page 37: ...rofile tool Select to view a histogram or line column profile during live acquisition or in a still image Output Message pane Displays messages from CamExpert or the device driver Review a Test Image...

Page 38: ...set to 1x Offset 0 System Gain 1x White balanced gains all set to 1x Color correction not applied Corrected using an 80 mm lens and a magnification of 0 8 Check Camera and Sensor Information Camera an...

Page 39: ...d not exceed 80 C If the camera exceeds the designated temperature it will stop imaging and the LED will turn red Once you have diagnosed and remedied the issue u se the reset camera function The volt...

Page 40: ...et Description of the Camera Settings The camera operates in one of three settings 1 Current session 2 User setting 3 Factory setting read only 4 Default setting The current settings can be saved ther...

Page 41: ...ettings for reuse the next time you power up or reset the camera or to protect against losing them in the case of power loss you must save the current settings using the User Set Save parameter Once s...

Page 42: ...ynchronizing exposures to external triggers or a programmed function call message by the controlling computer These triggering modes are described below Internal trigger trigger disabled The camera fr...

Page 43: ...r as the Camera Controls Camera Controls Parameter Description Line Rate in Hz Camera line rate in Hz Only available when the start line trigger parameter is disabled Trigger Mode off Exposure Mode Se...

Page 44: ...In this mode EXSYNC sets both the line period and the exposure time The rising edge of EXSYNC marks the beginning of the exposure and the falling edge initiates readout Note GenICam parameters to set...

Page 45: ...ggers start of internal exposure3 Line Time Programmable Exposure1 Sensor Readout2 27 5us Sensor Readout2 1 5us Programmable Exposure1 Programmable Exposure1 Sensor Readout2 LVAL CC1 3 External Trigge...

Page 46: ...Hz the camera will continue to output data at its maximum line rate of 70 kHz Though no image artefacts associated with over speed will occur you may notice that under over speed conditions the image...

Page 47: ...CL Clock Rate Number of AOI CL Configuration Line Rate Formula Hz 85 MHz 1 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz Full RGB8 Max 70KHz Deca RGB8 Max 70KHz 85 MHz 2 Base RGB8 Max 70KHz Medium RGB8 Ma...

Page 48: ...B8 Max 70KHz Deca RGB8 Max 70KHz 85 MHz 4 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz Full RGB8 Max 70KHz Deca RGB8 Max 70KHz CL Clock Rate Number of AOI CL Configuration Line Rate Formula Hz 66 MHz 1 B...

Page 49: ...20180 00 66 MHz 2 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz Full RGB8 Max 70KHz Deca RGB8 Max 70KHz 66 MHz 3 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz Full RGB8 Max 70KHz Deca RGB8 Max 70KHz 66 MHz 4...

Page 50: ...here lighting varies and the lens iris cannot be easily adjusted The user can evaluate gain and black level by using CamExpert The parameters that control gain and black level are grouped together in...

Page 51: ...0 230400 460800 921600 Note During connection CamExpert automatically sets the camera to maximum allowable baud Your system requires a Px8 frame grabber to achieve these baud rates Number of bits per...

Page 52: ...tion Pixel Readout Direction Mirroring Mode Set the tap readout from left to right or from right to left This feature is especially useful if you want to mount the camera upside down Image Format Cont...

Page 53: ...mable Figure 18 Camera Calibration Process Digital Processing 1 Fixed pattern noise FPN calibration is used to subtract any residual dark level that may occur in the application 2 Photo response non u...

Page 54: ...alanced and if required color corrected image at the desired level out of the camera when it is imaging a uniform white object using the optical setup of the user s application The user should configu...

Page 55: ...timeout value 1 Flat Field This Flat Field set contains a number of features that are used to correct image distortion due to lens vignetting and uneven illumination Note 1 Flat field coefficients co...

Page 56: ...ready subtracts true dark current but it may be useful for some to provide a per pixel offset correction 3 Range 0 to 31 DN 8 bit 4 Default value is 0 DN for each pixel flatfieldCalibrationPRNU 1 Use...

Page 57: ...ameters such as camera model firmware version etc are read to uniquely identify the connected P4 device These features are typically read only The Camera Information Category groups information specif...

Page 58: ...ftware functional group not a firmware revision number Display Name Feature Description Device Version View Vendor Name DeviceVendorName Displays the device vendor name RO 1 00 Beginner Model Name Dev...

Page 59: ...user defined configuration UserSet 8 as the Power up Configuration User Set Selector UserSetSelector Selects the camera configuration set to load feature settings from or save current feature setting...

Page 60: ...to the user set specified by the User Set Selector feature The user sets are located on the camera in non volatile memory W 1 00 Beginner Device Built In Self Test Status deviceBISTStatus Determine th...

Page 61: ...uration state to load on power up see feature UserSetDefaultSelector The user chooses from one factory data set or one of two possible user saved states User Set Configuration Management The second dr...

Page 62: ...s as shown by CamExpert groups sensor specific parameters This group includes controls for line rate exposure time scan direction and gain Parameters in gray are read only either always or due to anot...

Page 63: ...lid camera value 1 00 Beginner Measured Line Rate measureLineRate Specifies the line rate provided to the camera by either internal or external source RO 1 00 Beginner Refresh measured line rate refre...

Page 64: ...gain adjustment to the red channel only Apply a digital gain adjustment to the red channel only Apply a digital gain adjustment to the red channel only Gain Gain Sets the selected gain as an amplifica...

Page 65: ...ffset2 Blue Gain30 Gain31 Gain32 Offset3 1 00 Beginner Color Transformation Value ColorTransformationValue Value entered as pointed to by ColorTransformationValueSelector 32 value 32 1 00 Beginner Lin...

Page 66: ...teria is automatically met Further note that the order in which the exposure time color selector values are entered is important When entering the exposure times using either the GenIcam interface or...

Page 67: ...e Description Device Version View Trigger Source Trigger Source Defines the source of external trigger RO 1 00 DFNC Beginner Trigger Selector Trigger Selector Defines what the trigger initiates RO 1 0...

Page 68: ...description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage not typically needed by end user applications Flat Field Control Feature Description The followi...

Page 69: ...e values before calculating the coefficients Use this algorithm if the calibration target is not uniformly white or it is not possible to defocus the image Because of the low pass filter this algorith...

Page 70: ...The ROI feature allows from one to four specific regions of the pixel line to be specified where flat field calibration will take place Pixel data outside the ROI will not be used when performing flat...

Page 71: ...ey scale Color_Ramp Color_Ramp Selects a color ramp Line Mirroring ReverseX 1 00 Beginner DFNC Off On Off On Video output in normal order Video output in a reverse order Pixel Format Pixel Format Outp...

Page 72: ...Since the AOI feature reduces the amount of data output this has the additional benefit of allowing the cameras to operate at higher EXSYNC rates when using base medium or full camera link modes For...

Page 73: ...ra User s Manual 73 Teledyne DALSA 03 032 20180 00 4 Select beginning of selected area 5 Set up width of selected area 3 Select area to set up 2 Set up the number of AOI desired to max of 4 1 Must be...

Page 74: ...80 00 Teledyne DALSA In order to initiate operation of the AOI once setup 1 The AOI mode must be changed to Active 2 Be sure to set the frame grabber image width to the sum of all AOI widths set up in...

Page 75: ...t field coefficients white balance and exposure time 1 The first step is to put the camera in the reverse direction This can be done using a reverse signal through CC3 and the Direction Source set to...

Page 76: ...direction This can be done using a forward signal through CC3 and the Direction Source set to external or by having the Direction Source set to Internal and the Internal Direction set to forward 5 Set...

Page 77: ...e direction The forward direction user set and the default user set must be the same 7 In the Flat Field area change the mode to Scan Direction Controlled Save to a different user set than the one sel...

Page 78: ...so ensure that the polarity on CC3 is set appropriately for the desired direction Transport Layer Control Category Parameters in gray are read only either always or due to another parameter being disa...

Page 79: ...cifies the GenICam feature description XML file version RO 1 00 Beginner DFNC XML Minor Version DeviceManifestXMLMinorVersion Together with DeviceManifestXMLMajorVersion specifies the GenICam feature...

Page 80: ...ser applications Acquisition and Transfer Control Feature Descriptions The following table describes these parameters along with their view attribute and minimum camera firmware version required Addit...

Page 81: ...enie TS Framework Virtual Serial Port Driver and the use of the Genie TS serial port as an interface from an Ethernet network to a serial port control system for other devices Features listed in the d...

Page 82: ...Data Size deviceSerialPortDataSize Sets the bits per character bpc to use RO 1 00 Beginner DFNC Eight Bits bpc8 Use 8 bits per character Stop Bits deviceSerialPortNumberOf StopBits Sets the number of...

Page 83: ...or Selects the target operation for the selected file in the device This operation is executed when the File Operation Execute feature is called 1 00 Guru Open Open Select the Open operation executed...

Page 84: ...because the file is currently unavailable File Invalid FileInvalid The last file operation has completed unsuccessfully because the selected file in not present in this camera model File Operation Res...

Page 85: ...n to execute the file transfer to the camera 7 Note that firmware changes require a device reset command from the Camera Information Controls and additionally CamExpert should be shutdown and restarte...

Page 86: ...86 Piranha4 4K Camera Color User s Manual 03 032 20180 00 Teledyne DALSA...

Page 87: ...the Camera Link Specification Figure 20 Serial DLL hierarchy as mentioned in the Camera Link Specification 1 Cycle power to the camera by either a issuing the reset camera command rc or b powering th...

Page 88: ...or settings gcp CR A complete list of the available detector commands their format and parameters can be displayed by sending the help h command Port Configuration Baud 9 600 Bits 8 Parity None Stop b...

Page 89: ...4096 Description Calibrate user FPN dark flat field coefficients 4080 active pixels the last 16 pixels are inactive Full Name Camera Link Speed Mnemonic CLS Argument s Frequency 0 85 MHz 1 66 MHz Des...

Page 90: ...hm flattens each color and then uses color gains to achieve target Whereas low pass filter algorithm does not adjust color gains 4080 active pixels the last 16 pixels are inactive Full Name Color Tran...

Page 91: ...nal 2 Click on Transfer 3 Browse and find file 4 Select Xmodem protocol 5 Click Send 6 When it indicates that it is done click Close 7 Upload all files and then reset camera Full Name Flatfield Mode M...

Page 92: ...T 98500 ns Test Pat 0 Off Direction Internal Forward Line Delay 3 00 Flat Field On Color Plane Selector All Offset 0 Gain 1 00 Red Gain 1 00 Green Gain 1 00 Blue Gain 1 00 Color Matrix Selector Factor...

Page 93: ...era No value returned roi Region of Interest Start pixel and end pixel numbers rpc Reset Pixel Coefficients No value returned sac Set AOI Count Number of AOI s 1 4 sad Last AOI Set AOI 1 Offset AOI 1...

Page 94: ...Reverse Set set 1 8 gcp Display Camera Configuration get Get value string h Help lpc Load Pixel Coefficients set 0 8 rc Reset Camera roi Set Flatfield ROI 1st pixel last pixel rpc Reset Flatfield Coe...

Page 95: ...using the usd command Notes Full Name Set Flatfield ROI Mnemonic ROI Argument s First pixel 1 to 4096 Last pixel 1 to 4096 Description Flat field region of interest Notes Specifies the pixels that CCF...

Page 96: ...Argument s Mode 0 Off 1 Active Description Set AOI mode Notes Full Name Set Baud Rate Mnemonic SBR Argument s Baud rate 9600 57600 115200 Description Set baud rate Notes Send command and then change s...

Page 97: ...is only available when the trigger mode is also external STM 1 SEM 1 overrides internally generated independent exposure times Full Name Exposure Time Mnemonic SET Argument s Exposure time 8 000 to 3...

Page 98: ...izontal line in order to set the line delay Values entered must be between 0 and 5 Decimal places are valid for sub pixel correction Full Name Offset Mnemonic SSB Argument s Offset 8 bit 10 bit 12 bit...

Page 99: ...User Set Mnemonic USD Argument s Set selector 0 Factory set 1 8 User sets Description Select user set to load when camera is reset Notes The settings include all those listed by the GCP command plus t...

Page 100: ...s Manual 03 032 20180 00 Teledyne DALSA Full Name Temperature Mnemonic VT Argument s Description Display internal temperature in degrees Celsius Notes Full Name Voltage Mnemonic VV Argument s Descrip...

Page 101: ...will run at up to a 69 KHz line rate using Camera Link Deca mode but it may be easier to start your evaluation using the medium mode Set your Camera Link frame grabber up to receive the standard RGB...

Page 102: ...he ssf command If this line rate is too slow for your application you will get a compressed image in the scan direction This should not be a problem for a basic evaluation You can set the exposure tim...

Page 103: ...lanced with all three colors at the target level you set You are now ready to evaluate the image quality of the P4 color camera under your operating conditions 6 Improving Your Color Image The color r...

Page 104: ...and to avoid introducing oily residues avoid touching the sensor Scratches diffract incident illumination When exposed to uniform illumination a sensor with a scratched window will normally have brig...

Page 105: ...w off mobile contamination using an ionized air gun Place the sensor under the microscope at a magnification of 5x to determine the location of any remaining contamination Clean the contamination on t...

Page 106: ...e images with the Piranha4 color camera under RGB 9 1 Deca mode to achieve a 69 KHz line rate and under RGB 6 2 Full mode to achieve a 55 KHz line rate Supported Sapera LT Sapera 7 10 or later is requ...

Page 107: ...allows all frame grabbers with 10 tap 8 bit to grab images without requiring additional modifications However in order to correctly format the image for processing and display purposes frame grabbers...

Page 108: ...SapBuffer m_ViewBuffers int width height i void pData NUMBUFFERS for i 0 i NUMBUFFERS i m_Buffers GetAddress i pData i width m_Buffers GetWidth height m_Buffers GetHeight m_ViewBuffers new SapBuffer N...

Page 109: ...tional modifications However in order to correctly format the image for processing and display purposes frame grabbers need to support RGB 6 2 mode natively Until then here are some workaround s using...

Page 110: ...are SapBuffer object which shares buffer components with the acquisition buffer SapBuffer m_ViewBuffers int width height i void pData NUMBUFFERS for i 0 i NUMBUFFERS i m_Buffers GetAddress i pData i w...

Page 111: ...ation manual 2 Install Sapera LT and the Teledyne DALSA frame grabber driver 3 Connect the camera to the frame grabber refer to the camera installation manual 4 Power up the camera and wait until the...

Page 112: ...b select CameraLink Medium Color RGB 1 8 Modify the camera and frame grabber parameter settings as required At present when using GenCP cameras the camera and frame grabber parameters must be adjusted...

Page 113: ...factured by Teledyne DALSA Inc meets the following requirements Standard Test Description EN 55011 FCC Part 15 CISPR 11 and ICES 003 Radiated emissions requirements EN 61326 1 and EN55024 Immunity to...

Page 114: ...114 Piranha4 4K Camera Color User s Manual 03 032 20180 00 Teledyne DALSA Revision History Revision Change Description Date 00 Release of the initial manual revision 17 April 2013...

Page 115: ...rection sensor shift 15 web movement 15 direction control 52 E EMC Declaration of Conformity 113 exposure control 42 external frame rate programmable exposure time 44 externally controlled 44 internal...

Page 116: ...vity graph 10 revision history 114 S safety 6 Sapera 34 sensor controls 62 70 80 settings current 41 default 42 factory 38 42 loading 39 saving 39 user 41 setup overview 20 shift direction 15 size ima...

Reviews: