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-02K07T

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

Page 2: ...gies website at www teledyne com Teledyne DALSA a Teledyne Technologies company is an international leader in high performance digital imaging and semiconductors with approximately 1 000 employees worldwide headquartered in Waterloo Ontario Canada Established in 1980 the company designs develops manufactures and markets digital imaging products and solutions in addition to providing MEMS products ...

Page 3: ..._______________________________________________________________20 Recommended System Requirements 20 Setup Steps Overview 20 1 Install and Configure Frame Grabber and Software 20 2 Connect Camera Link and Power Cables 20 3 Establish communicating with the camera 20 4 Operate the Camera 20 Step 1 Install and configure the frame grabber and software 21 Install Frame Grabber 21 Install Sapera LT and ...

Page 4: ...___________________________________________57 Camera Information Category 57 Camera Information Feature Descriptions 58 Camera Configuration Selection Dialog 61 Camera Power up Configuration 61 User Set Configuration Management 61 Camera Control Category 62 Camera Control Feature Descriptions 63 Digital I O Control Feature Descriptions 67 Independent Exposure Control 65 Flat Field Category 68 Flat...

Page 5: ...he Sensor Window 105 Appendix E Color Deca and Full Mode Acquisition _________________________________________________________106 Overview 106 Supported Sapera LT 106 Programming Deca Mode 106 A simple workaround accomplishes this 107 Sample Code 108 Programming Full Mode 108 A simple workaround accomplishes this 109 Sample Code 110 Appendix F Camera Frame Grabber Communication ___________________...

Page 6: ...mera 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 thinners as they can damage the surface finish Further cleaning instructions are below Though this camera supports hot plugging it is recommended that you p ower down and disconnect power to the camera befo...

Page 7: ...trol 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 and large format web inspection Key Features CMOS color trilinear line scan 4k pixel resolution Line rates up to 70 kHz Exposure control 100x antiblooming RGB outputs Camera Link interface GenICam or ...

Page 8: ...r 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 3 000 µs maximum Bit Depth 8 10 and 12 bits Connectors and Mechanicals Control Data Interface 2 SDR26 Camera Link connectors used to transmit Base Medium Full or Deca configurations Power Connector H...

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 Compliance EN 55011 FCC Part 15 CISPR 11 and ICES 003 Class A Radiated Emissions Requirements EN 55024 and EN 61326 1 Immunity to Disturbance RoHS per EU Directive 2002 95 EC and WEEE per EU Directive 200...

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 halogen light sources but is not a issue with white LED sources When infrared light is present with this camera color fidelity is reduced To prevent infrared from distorting the images you scan use an ...

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 White LED Calibration Source Relative Intensity vs Wavelength ...

Page 12: ...el 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 scenario may be especially apparent when trying to integrate the camera into an existing system When it is not possible to generate a square object pixel color artefacts will occur in the scan direction an...

Page 13: ...orrection 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 3 Target running faster than example 1 same EXSYNC trigger frequency Line Spatial Correction 3 ssa 3 Line Spatial Correction 1 73 ssa 1 73 ...

Page 14: ...3 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 Correction 3 ssa 3 Line Spatial Correction 5 ssa 5 ...

Page 15: ...mera 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 the image Figure 4 Object Movement and Camera Direction Example with a Lens ...

Page 16: ...PART 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 PIXEL REFERENCE HOLE 54 C B 42 47 87 7 M4x0 7 6H 6 2X THIS SIDE 2X FAR SIDE 42 7 M4x0 7 6H 6 2X THIS SIDE 2X FAR SIDE A 9 9 19 1 11 4 20 34 M58x0 75 6H 12 0 25 OPTICAL DISTANCE IMAGE AREA 0 1 A 0 05 ...

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 12mm BFD heavy duty AC MS 00108 00 R Heat sink for P4 4k 2k cameras ...

Page 18: ...ely 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 ability to measure its internal temperature Use this feature to record the internal temperature of the camera when it is mounted in your system and operating under the worst case conditions The came...

Page 19: ...rs 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 required to get this camera operational and acquiring images quickly can be found in Appendix C Quick Setup and Image Acquisition ...

Page 20: ...ber 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 allowing GenCP compliant applications to know the camera s capabilities immediately after connection Installing SaperaLT gives you access to the CamExpert GUI a tool that supports GenCP compliant devi...

Page 21: ...ate 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 CamExpert is the simplest and quickest way to send commands to and receive information from the camera Camera Link Environment These cameras implement the Camera link specification which defines the...

Page 22: ...performance 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 static electrical charge by touching a grounded surface such as the metal computer chassis before handling the camera hardware B B C A Power 12V to 24V DC Hirose 6 pin Control Data Camera Link 26 pin...

Page 23: ...or 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 Yclk 5 22 Xclk 18 9 Yclk 18 9 Xclk 6 21 Y3 6 21 X3 19 8 Y3 19 8 X3 7 20 100 ohm 7 20 SerTC 20 7 terminated 20 7 SerTC 8 19 Z0 8 19 SerTFG 21 6 Z0 21 6 SerTFG 9 18 Z1 9 18 CC1 22 5 Z1 22 5 CC1 10 17 ...

Page 24: ...for 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 Base RGB Line rates up to 70 kHz can be achieved by using the Area of Interest 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 D...

Page 25: ...ture 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 7 D0 D7 Red 4093 D0 D7 Blue 4093 D0 D7 Green 4093 D0 D7 Red 4095 D0 D7 Blue 4095 D0 D7 Green 4095 D0 D7 Blue 7 D0 D7 CL Port A CL Port B CL Port C CL Clock Line Valid Red 2 D0 D7 Blue 2 D0 D7 Green ...

Page 26: ...10 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 8 D0 D7 Green 4092 D0 D7 This timing can be used for applications that require line rates up to 55 kHz and therefore must use Camera Link Deca mode and two cables The RGB output format is not defined...

Page 27: ...nterest 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 Red 4 D0 D7 Blue 4 D0 D7 Green 4 D0 D7 Red 5 D0 D7 Blue 5 D0 D7 Green 5 D0 D7 Red 6 D0 D7 Blue 6 D0 D7 Green 6 D0 D7 Red 7 D0 D7 Blue 7 D0 D7 Green 7 D0 D7 Red 8 D0 D7 Blue 8 D0 D7 Green 8 D0 D7 Red 9 ...

Page 28: ...Red 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 Bit Assignments Port F Bit Assignments D0 Red 8 D0 Green 8 D1 Red 9 D1 Green 9 D2 N A D2 N A D3 N A D3 N A D4 Blue 8 D4 N A D5 Blue 9 D5 N A D6 N A D6 N A D7 N A D7 N A This timing can be used for ap...

Page 29: ...7 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 Assignments Port F Bit Assignments D0 Red 8 D0 Green 8 D1 Red 9 D1 Green 9 D2 Red 10 D2 Green 10 D3 Red 11 D3 Green 11 D4 Blue 8 D4 N A D5 Blue 9 D5 N A D6 Blue 10 D6 N A D7 Blue 11 D7 N A This timi...

Page 30: ...mode 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 the location 8i 7 where i 0 1 2 511 i e 7 15 4095 are allowed 8 is not allowed Camera Link cable quality and length The maximum allowable Camera Link cable length depends on the quality of the cable ...

Page 31: ...data is valid allowing you to clock the data from the camera to your acquisition system These signals are part of the Camera Link configuration and you should refer to the Camera Link Implementation Road Map available at our Knowledge Center for the standard location of these signals Clocking Signal Indicates LVAL high Outputting valid line DVAL Not used STROBE rising edge Valid data FVAL Set to 0...

Page 32: ...r 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 for operation The camera must boot fully before it will be recognized by the GUI the LED shines green once the camera is ready Connect to the frame grabber 1 Start Sapera CamExpert or equivalent Camera...

Page 33: ...If 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 Sensor Control menu in the camera window you can control the line rate and exposure times ...

Page 34: ...sed 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 run a separate acquisition program For context sensitive help click on the button then click on a camera configuration parameter A short description of the configuration parameter will be shown in a p...

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: ...Sapera 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 are suppor ted by the installed device This avoids confusion by eliminating parameter choices when they do not apply to the hardware in use Display pane Provides a live or single frame acquisition d...

Page 37: ...Profile 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 The camera is now ready to retrieve a test pattern Select Image Format Control Test Pattern and choose one of the following available test images 0 Off Sensor Video 1 Grey Ramp 2 Ramp Pixels 1 2 3 Re...

Page 38: ...s 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 and sensor information can be retrieved via a controlling application for example the CamExpert GUI shown in the following examples Parameters such as camera model firmware version sensor characterist...

Page 39: ...ld 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 voltage displayed is the camera s input voltage Note The voltage measurement feature of the camera provides results typically within 1 This measurement can be used to set the applied voltage to the camer...

Page 40: ...set 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 thereby becoming the user setting using the User Set Save parameter A previously saved user setting User Set 1 to 8 or the factory settings can be restored using the User Set Selector and User Set Load p...

Page 41: ...settings 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 saved the current settings become the selected User Set User Setting The user setting is the saved set of camera configurations that you can customize resave and restore By default the user settings a...

Page 42: ...synchronizing 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 free running mode has a programmable internal timer for line rate and a programmable exposure period External trigger trigger enabled Exposures are controlled by an external trigger signal The external...

Page 43: ...er 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 Set the operation mode for the camera s exposure Trigger Width or Timed Trigger Width is only available when Trigger Mode is enabled Trigger Width Uses the width of the current line trigger signal puls...

Page 44: ...h 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 I O Controls Trigger Mode On Sensor Control Exposure Mode Trigger Width Warning When running external line rate and external exposure time the line rate must not exceed 1 exposure time 1 500 ns Unde...

Page 45: ...iggers 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 Trigger On External Exposure Control CC1 Falling edge triggers start of exposure CC1 high duration sets the exposure time Line Time Exposure X1 Sensor Readout2 27 5us Sensor Readout2 1 5us Sensor Readout2 ...

Page 46: ...kHz 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 will appear compressed and the apparent distance travelled will be reduced Camera Control Parameter Description Line Rate in Hz Camera line rate in a range from 0 Hz to 70 KHz This feature is only av...

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 Max 70KHz Full RGB8 Max 70KHz Deca RGB8 Max 70KHz 85 MHz 3 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz ...

Page 48: ...GB8 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 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz Full RGB8 Max 70KHz Deca RGB8 Max 70KHz ...

Page 49: ...2 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 Base RGB8 Max 70KHz Medium RGB8 Max 70KHz Full RGB8 Max 70KHz ...

Page 50: ...s where 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 the Sensor Controls set Sensor Controls Black Level Apply a digital addition after an FPN correction 1 8 of the available range of 32 to 31 in 8 bit mode 128 to 127 in 10 bit mode and 512 to 511 in...

Page 51: ...00 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 character used in the serial port Data Size 8 Parity of the serial port Parity None Number of stop bits per character used in the serial port Number of Stop Bits 1 Pixel Format Use the Pixel Format f...

Page 52: ...ction 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 Control Parameter Description ReverseX Off All pixels are read out from left to right On All pixels are read out from right to left Resetting the Camera The feature Camera Reset part of the Transport Lay...

Page 53: ...mmable 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 uniformity PRNU calibration is used to correct for variations in the illumination intensity and or lens vignetting When performed this calibration will cause the Video Gain Output Video Digital Proces...

Page 54: ...balanced 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 configure the camera to use the EXSYNC and exposure timing they desire plus adjust the light level for normal operation The lens should be at the desired magnification aperture and be in focus As the white ...

Page 55: ...s 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 consist of an offset and gain for each pixel 2 These are the first user corrections applied to the image 3 The flat field coefficients are saved and loaded with the user set Flat Field Parameter Descri...

Page 56: ...lready 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 flatfieldCorrectionAlgorithm to calculate the per pixel gain to achieve the specified target output 2 Max 15 9998x 3 Default 1x 2 Contrast Enhancement The offset and gain features can be used to maxi...

Page 57: ...rameters 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 specific to the individual camera In this category the number of features shown is identical whether the view is Beginner Expert or Guru Features listed in the description table but tagged as Invisible are...

Page 58: ...oftware 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 DeviceModelName Displays the device model name RO 1 00 Beginner Device Version DeviceVersion Displays the device version This tag will also highlight if the firmware is a beta or custom design RO 1 00 B...

Page 59: ...e 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 settings to The Factory set contains default camera feature settings RW 1 00 Beginner Factory Setting Default Select the default camera feature settings saved by the factory UserSet 1 UserSet1 Select the Us...

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 the status of the device using the Built In Self Test Possible return values are device specific RO 1 00 DFNC Beginner LED Color deviceLEDColorControl Displays the status of the LED on the back of the ...

Page 61: ...guration 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 drop list allows the user to change the camera configuration anytime after a power up see feature UserSetSelector To reset the camera to the factory configuration select Factory Setting and click Load ...

Page 62: ...ls 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 another parameter being disabled Parameters in black are user set in CamExpert or programmable via an imaging application ...

Page 63: ...alid 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 refreshMeasureLineRate Press to show the current line rate provided to the camera by either internal or external sources 1 00 Beginner Exposure Time Source ExposureMode Sets the operation mode for the cam...

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 amplification factor applied to the image 1 00 Beginner Offset BlackLevel Controls the black level as an absolute physical value This represents a DC offset applied to the video signal in DN digital number un...

Page 65: ...Offset2 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 Line Spatial Correction sensorLineSpatialCorrection Set the number of rows between imaging lines 1 00 Beginner Independent Exposure Control The Trinity cameras feature independent exposure control This ...

Page 66: ...iteria 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 the three letter command interface checks are performed on the entered exposure times If a blue integration time is entered that is shorter than the green or red integration time then an error condit...

Page 67: ...re 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 00 DFNC Beginner Trigger Mode Trigger Mode Determines the source of trigger to the camera internal or external CC1 1 00 DFNC Beginner ...

Page 68: ...e 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 following table describes these parameters along with their view attribute and minimum camera firmware version required Additionally the firmware column will indicate which parameter is a member of the DALS...

Page 69: ...ne 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 algorithm is not able to correct pixel to pixel variations and so it is preferable to use the Basic algorithm Calibration Target flatfieldCalibrationTarget Set a value between 0 and 255 to which the flat fie...

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 field calibration Image Format Control Category The P4 Image Format controls as shown by CamExpert groups parameters used to configure camera pixel format image cropping and the test pattern Paramet...

Page 71: ...rey 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 Output image pixel coding format of the sensor 1 00 Beginner DFNC RGB8 RGB8 RGB 8bit Pixel Color Filter PixelColorFilter Indicates the type of color filter applied to the image RO 1 00 Beginner DFNC Pixe...

Page 72: ...t 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 example if the total number of pixels for the specified AOI s is less than 1 K when using base Camera Link mode at 85 MHz the maximum EXSYNC rate can be 70 KHz versus 20 KHz if all 4 K pixels were ou...

Page 73: ...era 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 off to set up the AOI ...

Page 74: ...180 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 the camera Once all AOI are set up change to active ...

Page 75: ...at 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 external or by having the Direction Source set to Internal and the Internal Direction set to reverse 2 Set up all the desired parameters including flat field corrections 3 Save the camera parameters ...

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 up all the desired parameters including doing a flat field Save to a user set choice Setup parameters for forward direction ...

Page 77: ...se 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 selected for reverse direction Forward direction user set and default user set must be the same Set the Flat Field mode to Scan direction Controlled ...

Page 78: ...lso 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 disabled Parameters in black are user set in CamExpert or programmable via an imaging app lication Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third...

Page 79: ...ecifies the GenICam feature description XML file version RO 1 00 Beginner DFNC XML Minor Version DeviceManifestXMLMinorVersion Together with DeviceManifestXMLMajorVersion specifies the GenICam feature description XML file version RO 1 00 Beginner DFNC Last GenCP Status genCPStatus If a feature read or write fails then Sapera only returns that it fails read this feature to get the actual reason for...

Page 80: ...user applications Acquisition and Transfer Control Feature Descriptions The following table describes these parameters along with their view attribute and minimum camera firmware version required Additionally the firmware column will indicate which parameter is a member of the DALSA Features Naming Convention DFNC verses the GenICam Standard Features Naming Convention SFNC not shown Display Name F...

Page 81: ...Genie 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 description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage not typically needed by end user applications Serial Port Control Feature Descriptions The Device...

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 stop bits to use 1 00 Beginner DFNC Stopbits1 Stopbits1 Use 1 stop bit File Access Control Category The File Access control in CamExpert allows the user to quickly upload various data files to the co...

Page 83: ...tor 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 by FileOperationExecute Close Close Select the Close operation executed by FileOperationExecute Read Read Select the Read operation executed by FileOperationExecute Write Write Select the Write opera...

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 Result FileOperationResult Displays the file operation result For Read or Write operations the number of successfully read written bytes is returned RO 1 00 Guru File Size FileSize Represents the size o...

Page 85: ...on 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 restarted following a reset Download a List of Camera Parameters For diagnostic purposes you may want to download a list of all the parameters and values associated with the camera 1 Go to File Access Contro...

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

Page 87: ...n 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 the camera OFF and then ON 2 Load the ASCII interface using 9600 baud 8 data bits no parity 1 stop bit no flow control local echo carriage return linefeed 3 Wait for a stable status LED color green or ...

Page 88: ...tor 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 bits 1 Flow Control None Echo typed characters locally Rules The interface is not case sensitive One command and argument s per line To enter a floating point number prefix it with a F for example ssg...

Page 89: ...8 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 Description Camera Link clock frequency Full Name Camera Link Mode Mnemonic CLM Argument s Mode 0 Base 1 Medium 2 Full 3 Deca Description Camera Link Mode Full Name Color Matrix Selector Mnemonic CMS Ar...

Page 90: ...thm 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 Transformation Value Mnemonic CTV Argument s Selector 0 crr gain 1 crg gain 2 crb gain 3 cgr gain 4 cgg gain 5 cgb gain 6 cbr gain 7 cbg gain 8 cbb gain 9 kr offset 10 kg offset 11 kb offset Floating Poi...

Page 91: ...inal 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 Mnemonic FFM Argument s Mode 0 Disable use of user FPN and PRNU flat field correction coefficients 1 Enable use of user FPN and PRNU flat field correction coefficients 2 Reset user FPN coefficients to...

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 Factory 2 Color Correction Matrix 1 000000 0 000000 0 000000 0 0 000000 1 000000 0 000000 0 0 000000 0 000000 1 000000 0 Mirror Off AOI Mode Off CL Speed 85MHz CL Config Medium Pixel Fmt RGB8 CPA ROI 1 408...

Page 93: ...mera 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 Width AOI 2 Offset AOI 2 Width sam Set AOI Mode 0 Disabled 1 Enabled sbr Set Baud Rate No value returned scd Scan Direction 0 Internal 1 External CC3 control 0 Forward 1 Reverse sem Exposure Mode 0 I...

Page 94: ...n 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 Coefficients sac Set AOI Count value 1 4 sad Set AOI Selector Offset and Width selector 1 AOI Count 1st pixel width 40 sam Set AOI Mode 1 enable 0 disable sbr Set Baud Rate 9600 57600 115200 scd Directi...

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 and CPA will calibrate o Pixel coefficients outside this region are not changed Last pixel must be greater than or equal to first pixel 4080 active pixels the last 16 pixels are inactive Full Name R...

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 speed of HyperTerminal Full Name Direction Mnemonic SCD Argument s Direction 0 Forward 1 Reverse 2 External controlled by CC3 signal Description Set sensor scan direction Notes Full Name Select Exposu...

Page 97: ...e 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 3000000 ns Description Set internal exposure time Notes Line time Exposure time 1 500 ns Full Name Mirroring Mnemonic SMM Argument s Mode 0 Off 1 Image is flipped on the vertical axis Description Set ...

Page 98: ...rizontal 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 32 to 31 128 to 127 512 to 511 Description Set offset Notes Range changes depending on pixel format SPF Full Name Internal Line Rate Mnemonic SSF Argument s Line rate 1 to 70 000 Hz Description Set ...

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 the user FPN coefficients user PRNU coefficients and color correction matrix Full Name Load User Set Mnemonic USL Argument s Set selector 0 Factory set 1 8 User sets Description Load user set Notes Lo...

Page 100: ...r 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 Description Display supply voltage Notes ...

Page 101: ...a 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 medium mode 2 Communicating with the Camera The color camera is designed to power up with a GenICam compliant interface CamExpert provides an easy to use GUI that can be used to set up and evaluate t...

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 time using the set command Ensure that the exposure time period is not greater than the period of the line rate minus 1 5 µsec The camera will indicate an error if you select an exposure time that is too...

Page 103: ...alanced 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 response of the P4 color camera is quite good even when using white LED s and even without color correction The camera has a factory set white LED color correction matrix that can be selected to impro...

Page 104: ...e 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 brighter pixels adjacent to darker pixels The location of these pixels will change with the angle of illumination An important note on window blemishes When flat field correction is performed window clea...

Page 105: ...ow 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 the sensor using one drop of E2 on a swab Wipe the swab from left to right or right to left but only in one direction Do this in an overlapping pattern turning the swab after the first wipe and with e...

Page 106: ...re 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 required Programming Deca Mode The RGB 9 1 Deca mode utilizes Camera Link 10 tap 8 bit mode to achieve RGB formatting Below is the Camera Link port assignment of Deca mode ...

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 need to support RGB 9 1 mode natively Until then here are some workaround s using Sapera LT Notice to support this pixel format in memory the buffer must be set to RGB 24 bit packed All Sapera demo a...

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 NUMBUFFERS pData width 3 height SapFormatRGB888 m_ViewBuffers Create If you declare above m_ViewBuffer as the source buffer of SapView object you can display RGB image without any additional processin...

Page 109: ...itional 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 Sapera LT Notice to support this pixel format in memory the buffer must be set to RGB 24 bit packed All Sapera demo and example programs extract the create acquisition buffer type from the associate...

Page 110: ...lare 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 width m_Buffers GetWidth height m_Buffers GetHeight m_ViewBuffers new SapBuffer NUMBUFFERS pData width 3 height SapFormatRGB888 m_ViewBuffers Create If you declare above m_ViewBuffer as the source buf...

Page 111: ...lation 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 status LED is solid green 5 Run the Sapera Configuration utility and select the frame grabber serial port connected to the camera Set Teledyne DALSA camera detection to Automatic Detection and Baudra...

Page 112: ...ab 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 separately Test the image acquisition by clicking the Grab button 9 Save the frame grabber configuration to a new ccf file ...

Page 113: ...ufactured 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 disturbances Changes or modifications not expressly approved by Teledyne DALSA could void the user s authority to operate the equipment Name and Signature of authorized person ...

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: ...irection 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 internally controlled 44 exposure modes descriptions of 42 exposure time set 50 EXSYNC 31 F factory settings 38 filters 10 18 G Gain control 50 grounding instructions 22 GUI CamExpert 35 overview 33 H heat s...

Page 116: ...ivity 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 image 50 software required 8 specifications mechanical 8 performance 8 T temperature verify 39 test patterns 37 trigger modes 42 V voltage verify 39 ...

Reviews: