Piranha4 Camera User’s Manual Monochrome 2k and 4k sensors | cameras | frame grabbers | processors | software | vision solutions 03-032-20176-02 www.teledynedalsa.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual © 2013 Teledyne DALSA, Inc. All information provided in this manual is believed to be accurate and reliable. No responsibility is assumed by Teledyne DALSA for its use. Teledyne DALSA reserves the right to make changes to this information without notice. Reproduction of this manual in whole or in part, by any means, is prohibited without prior permission having been obtained from Teledyne DALSA.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 3 Contents 1. System Precautions and Cleaning ___________________________________________________________________ 6 Precautions ..................................................................................................................................................... 6 Electrostatic Discharge and the CMOS Sensor ................................................................................................. 6 2.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Verify Temperature and Voltage ....................................................................................................................................... 31 Saving and Restoring Camera Settings ............................................................................................................................. 32 Camera Link Configuration ................................................................................
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 5 Download a List of Camera Parameters ......................................................................................................... 82 Appendix B: ASCII Commands _______________________________________________________________________ 84 Port Configuration ..........................................................................................................................................
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 1. System Precautions and Cleaning Precautions Read these precautions and this manual carefully before using the camera. Confirm that the camera‘s packaging is undamaged before opening it. If the packaging is damaged please contact the related logistics personnel. Do not open the housing of the camera. The warranty is voided if the housing is opened. Keep the camera‘s front plate temperature in a range of 0 °C to 65 °C during operation.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 7 2. The Piranha4 Camera Camera Highlights Teledyne DALSA expands its Piranha4 dual line CMOS camera family with 4K and 2K resolution models. The new Piranha4 models offer higher speeds and more responsive pixels in a choice of sizes and resolutions. Programmable features include multiple region-of-interest, high dynamic range operation, and rapid bi-directional switching, and are designed to meet today‘s demanding imaging applications.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Models The camera is available in the following configurations: Table 1: Camera Models Comparison Piranha4 Dual Line Model Comparison Part Number Resolution Maximum Line Rates TDI Mode (Area Mode) Pixel Size P4-CM-04K10D-00-R 4096 x 2 pixels 100 kHz (200 kHz) 10.56 µm x 10.56 µm P4-CM-04K05D-00-R 4096 x 2 pixels 50 kHz (200 kHz) 10.56 µm x 10.56 µm P4-CM-02K10D-00-R 2048 x 2 pixels 100 kHz (200 kHz) 10.56 µm x 10.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual y (parallelism) x y z z 9 0.08° or 100 µm ± 100 µm ± 100 µm ± 250 µm ± 0.2° Compliance Regulatory Compliance Operating Ranges CE, FCC, and RoHS; GenICam Performance Single Line Dual Line Dynamic Range 61.5 dB 60 dB Random Noise 3.42 DN* rms 4.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual This description takes the form of an XML device description file respecting the syntax defined by the GenApi module of the GenICam™ specification. The camera uses the GenICam™ Generic Control Protocol (GenCP V1.0) to communicate over the Camera Link serial port. For more information see www.genicam.org.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 11 Figure 2: QE % vs.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Mechanicals 62 B0.05 H 0.1 A E 0.05 M4x0.7 - 6H Z 6 (4X) 12 B0.25 OPTICAL DISTANCE 31 B0.10 (19.1) ±0.2° (9) (42) (54) 62 B0.05 (9) (54) IMAGE AREA 31 B0.10 B (7) C FIRST PIXEL REFERENCE HOLES (11.4) M4x0.7 - 6H Z 6 (2X) THIS SIDE (2X) FAR SIDE [INSERT PDF HERE] CENTER OF IMAGE AREA A (20.34) M42x1 - 6H (7) M4x0.7 - 6H Z 6 (2X) THIS SIDE (2X) FAR SIDE (47.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 13 Figure 5: Nikon M58 to F-Mount Adapter Figure 6: 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—4k model. AC-LC-00001-00-R M42 x 1 F-mount adapter—2k model. AC-MS-00108-00-R Heat sink for P4-4k/2k cameras.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Camera Mounting and Heat Sink Considerations Up to two optional heat sinks can be installed on the Piranha4 camera. As illustrated, they are ideally positioned to allow close spacing of the cameras. These heat sinks are designed to provide adequate convection cooling when not obstructed by enclosures or mounting assemblies. Teledyne DALSA recognises that each customer‘s application can be unique.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 15 3. Quick, Simple Steps to Acquire an Image For users 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 D: Quick Setup and Image Acquisition.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 4. Software and Hardware Setup Recommended System Requirements To achieve best system performance, the following minimum requirements are recommended: High bandwidth frame grabber, e.g. Xcelera-CL PX8 Full Camera Link frame grabber (Part # ORX8CO-XPF00): www.teledynedalsa.com/imaging/products/fg/OR-X8C0-XPF00/. Operating systems: Windows XP / Vista / 7, 32 / 64-bit.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 17 Step 1. Install and Configure the Frame Grabber and Software Install Frame Grabber Install a Full configuration Camera Link frame grabber according to the manufacturer‘s description. We recommend the Xcelera-CL PX8 frame grabber or equivalent, described in detail on the teledynedalsa.com site here. Install Sapera LT and CamExpert GUI Communicate with the camera using a Camera Link-compliant interface. We recommend you use CamExpert.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Step 2. Connect Data, Trigger, and Power Cables Note: the use of cables types and lengths other than those specified may result in increased emission or decreased immunity and performance of the camera.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 19 Data Connector: Camera Link The camera uses two Camera Link SDR26 cables transmitting the Camera Link Base, Medium, or Full configuration. The figure below shows the SDR26 Camera Link Connector and the tables that follow list the Camera Link Base, Medium, and Full configurations.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Configuration Connector 1: Channel link X Camera/Frame Grabber Pin Tx0/Rx0 Tx1/Rx1 Tx2/Rx2 Tx3/Rx3 Tx4/Rx4 Tx5/Rx5 Tx6/Rx6 Tx7/Rx7 Tx8/Rx8 Tx9/Rx9 Tx10/Rx10 Tx11/Rx11 Tx12/Rx12 Tx13/Rx13 Tx14/Rx14 Tx15/Rx15 Tx16/Rx16 Tx17/Rx17 Tx18/Rx18 Tx19/Rx19 Tx20/Rx20 Tx21/Rx21 Tx22/Rx22 Tx23/Rx23 Tx24/Rx24 Tx25/Rx25 Tx26/Rx26 Tx27/Rx27 Bit Name D0(0) D0(1) D0(2) D0(3) D0(4) D0(7) D0(5) D1(0) D1(1) D1(2) D1(6) D1(7) D1(3) D1(4) D1(5) D2(0) D2(
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 21 Camera Link Bit Definitions BASE Configuration Pixel Format T0 Port A Bits 0 thru 7 Port B Bits 0 thru 7 Port C Bits 0 thru 7 Mono 8 Tap 1 LSB..Bit 7 Pixels (1, 3, 5, ... 4093, 4095) Tap 2 LSB..Bit7 Pixels (2, 4, 6, ... 4094, 4096) xxxxxxx Mono 12 Tap 1 LSB.. Bit 7 Pixels (1, 3, 5, ... 84093, 4095) Tap 1 Bits 8,9,10,11 Pixels (1, 3, 5, ... 4093,4095) Tap 2 Bits 8,9,10,11 Pixels (2,4,6, ... 4094, 4096) Tap 2 LSB..
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Deca Configurat ion Pixel Format Mono 8 T0 Port A LSB… Bit 7 Port B LSB… Bit 8 Port C LSB… Bit 8 Port D LSB… Bit 8 Port E LSB… Bit 8 Port F LSB… Bit 8 Port G LSB… Bit 8 Port Port I Port K H LSB…Bit LSB…Bit LSB… 8 8 Bit 8 Tap 1 LSB… Bit 7 Pixels (1, 11, 21, ... 4081, 4091) Tap 2 LSB… Bit 7 Pixels (2, 12, 22, ... 4082, 4092) Tap 3 LSB… Bit 7 Pixels (3, 13, 23, ... 4083, 4093) Tap 4 LSB… Bit 7 Pixels (4, 14, 24, ...
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 23 EXSYNC (Line Readout Trigger) Line rate can be set internally using the GenICam features. The external control signal EXSYNC is optional and enabled through the user interface. This camera uses the falling edge of EXSYNC to trigger pixel readout. The EXSYNC signal tells the camera when to integrate and readout the image.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual WARNING: When setting up the camera’s power supplies follow these guidelines: ! Apply the appropriate voltages. Protect the camera with a 2 amp slow-blow fuse between the power supply and the camera. Do not use the shield on a multi-conductor cable for ground. Keep leads as short as possible in order to reduce voltage drop. Use high-quality supplies in order to minimize noise.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 25 Connect to the camera 1. 2. Start a new Sapera CamExpert application (or equivalent Camera Link compliant interface) by double clicking the desktop icon created during the software installation. In the Devices list area on the left side, select the COM port below the Camera Link label. Figure 10.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual At this point your host and camera system should be setup and you can verify the camera‘s operation by retrieving a test pattern and setting the camera‘s trigger and exposure time. Using Sapera CamExpert with Piranha4 Cameras CamExpert is the camera interfacing tool supported by the Sapera library. When used with a Piranha4 camera, CamExpert allows a user to test all camera operating modes.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 27 CamExpert Panes Figure 11. CamExpert’s Camera Control Window The CamExpert application uses panes to simplify choosing and configuring camera files or acquisition parameters for the installed device. Device Selector pane: View and select from any installed Sapera acquisition device. Once a device is selected CamExpert will only present acquisition parameters applicable to that device.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Acquisition control button: Click once to start live grab, click again to stop. Single frame grab: Click to acquire one frame from device. Trigger button: With the I/O control parameters set to Trigger Enabled, click to send a single trigger command. CamExpert display controls: (these do not modify the frame buffer data) Stretch image to fit, set image display to original size, or zoom the image to virtually any size and ratio.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 29 4.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Figure 13. Image with incorrect scan direction Figure 14.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 31 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 characteristics, etc. are read to uniquely identify the connected device. The camera information parameters are grouped together as members of the Camera Information set. Figure 15.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Note: The voltage displayed is the camera‘s input voltage. The voltage measurement feature of the camera provides results within 1% of the actual voltage. The measurement can be used to set the applied voltage to the camera. Saving and Restoring Camera Settings The parameters used to select, load and save user sets are grouped together under the Camera Information set of features. There are 8 user sets available and one factory set.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 33 Figure 16. Relationship between the Camera Settings Active Settings for Current Operation The active setting for the current operation is the set of configurations that are active while the camera is currently running, including all unsaved changes you have made to the settings before saving them.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Note: By default, the user settings are set to the factory settings. Default Setting Either the Factory or one of the User settings can be used as the Default Setting by selecting the set in the User Set Default Selector. The chosen set automatically becomes the default setting and is the set loaded when the camera is reset of powered up.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 35 Sensitivity Modes and Pixel Readout The camera has the option to operate in either TDI mode or single line mode. When in TDI mode, the camera uses both line scan sensors and as a result the responsivity increases (57%). When in single line mode, the camera uses the bottom sensor only. The internal gain is 1.27x greater for single line mode vs. TDI mode. Figure 17: TDI Mode Examples In TDI mode, the camera uses a 10.56 µm x 10.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Trigger Modes The camera‘s image exposures are initiated by a trigger event. The trigger event is either a programmable internal signal used in free running mode, an external input used for synchronizing exposures to external triggers, or a programmed function call message by the controlling computer. These triggering modes are described below.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 37 exposure duration. Exposure Time Timed The exposure duration time is set using the Exposure Time feature and the exposure starts with the Line Start event. Sets the exposure time (in microseconds). Exposure Mode feature must be set to Timed Exposure Modes in Detail 1. Internally Programmable Line rate and Internally Programmable Exposure Time (Default) Line rate is the dominant factor when adjusting the line rate or exposure time.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 1. External Trigger Off, Internal Exposure Control Free running, not synchronized to an external signal Programmable Line Time 1 Programmable Exposure >1us Programmable Exposure1 Sensor Readout2 Programmable Exposure1 Sensor Readout2 Sensor Readout2 LVAL 10.2us 2.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 39 Set Line Rate To set the camera‘s line rate use the line rate parameter, part of the Camera Controls set. This feature can only be used when the camera is in Internal mode—that is, when the start line trigger is disabled (Trigger Mode Off). Note: A line rate < 1 / (Exposure time + 1 µs) will return an error (―Invalid Parameter‖) if this condition is not met.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Line Rates Vs. AOI Table 8: 85 MHz Camera Link Clock Rate. Maximum Line Rates of 100 kHz TDI and 200 kHz Area.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Number of AOI CL Configuration 41 Line Rate Formula (Hz) Base Medium 4 Full Deca Table 9: 66 MHz Camera Link Clock Rate. Maximum Line Rates of 100 kHz TDI and 200 kHz Area.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Base Medium 3 Full Deca Base Medium 4 Full Deca Set Exposure Time To set the camera‘s exposure time, use the Exposure Time parameter—a member of the Camera Controls set. This feature is only available when the Exposure Mode parameter is set to Timed. The allowable exposure range is from 4 µs to 3,000 µs, dependent on the value of the internal line rate.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 43 Camera Controls Black Level Apply a digital addition after an FPN correction: ± 1/8 of available range. For example in 12-bit mode the available range is -512 to +511. Set the gain as an amplification factor applied to the video signal across all pixels: 1x to 10x. Gain Set Image Size To set the height of the image, and therefore the number of lines to scan, use the parameters grouped under the Image Format Control set.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual rates. Number of bits per character used in the serial port Parity of the serial port Data Size 8 Parity None Number of stop bits per character used in the serial port Number of Stop Bits 1 Pixel Format Use the Pixel Format feature, found in the Image Format Control set, to select the format of the pixel to use during image acquisition as either Mono 8, Mono 10, or Mono 12 bit depth.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 45 Camera Direction When in TDI mode or Area mode you can select either forward or reverse camera direction. Selectable direction accommodates object direction change on a web and allows you to mount the camera ―upside down‖. Note that the example here assumes the use of a lens (which inverts the image).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Resetting the Camera The feature Camera Reset, part of the Transport Layer set, resets the camera. The camera resets with the default settings, including a baud rate of 9600. Transport Layer Parameter Camera Reset Description Resets the camera and puts in the default settings, including a 9600 baud rate. Calibrating the Camera Important Note: to ensure best results, the conditions under which you calibrate the camera (e.g.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Digital Processing - Video Calibrate FPN flatfieldCalibrationFPN (ccf) 47 ( monochrome ) x + Calibrate PRNU flatfieldCorrectionMode flatfieldCalibrationPRNU flatfieldCorrectionAlgorithm (cpa,ffm) Filter Threshold ImageEnhancementStrength (sft) Offset BlackLevel (ssb) x Gain Gain (ssg) Output Video “Output_LUT” Figure 23: Camera Calibration Process.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Figure 24: Setting the camera’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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 49 flatfieldCalibrationROIWidth flatfieldCalibrationFPN 1. 2. flatfieldCalibrationPRNU 3. 4. 1. 2. 3. Save average line (of ―flatfieldCalibrationSampleSize‖ rows). This is the first user correction applied – it is subtracted from each line. This feature may not be of use to many users as the camera already subtracts true ―dark current‖, but it may be useful for some to provide a per pixel offset correction.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Appendix A: GenICam Commands This appendix lists the available GenICam camera features. Access these features using the CamExpert interface. Features listed in the description table but tagged as Invisible are typically reserved for Teledyne DALSA Support or third party software usage, and not typically required by end user applications.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 51 Camera Information Feature Descriptions The following table describes these parameters along with their view attributes and in which version of the device the feature was introduced. Additionally the Device Version column will indicate which parameter is a member of the DALSA Features Naming Convention (using the tag DFNC), verses the GenICam Standard Features Naming Convention (SFNC not shown).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name Feature Description Firmware Version DeviceFirmwareVersion Serial Number DeviceID Device User ID DeviceUserID Power-up Configuration Selector UserSetDefaultSelector Factory Setting UserSet1 Default UserSet1 UserSet2 UserSet2 UserSet3 UserSet3 UserSet4 UserSet4 UserSet5 UserSet5 UserSet6 UserSet6 UserSet7 UserSet7 UserSet8 UserSet8 Displays the currently loaded firmware version number.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name Feature 53 Description Device Version & View UserSet4 UserSet4 UserSet5 UserSet5 UserSet6 UserSet6 UserSet7 UserSet7 UserSet8 UserSet8 Power-on User Set UserSetDefaultSelector Current User Set UserSetSelector Load Configuration UserSetLoad Save Configuration UserSetSave Device Built-In Self Test Status deviceBISTStatus LED Color deviceLEDColorControl Temperature DeviceTemperature Displays the interna
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name License Key 03-032-20176-02 Feature securityUpgrade Description Device Version & View 1.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 55 Camera Configuration Selection Dialog CamExpert provides a dialog box which combines the features to select the camera power up state and for the user to save or load a camera state from Genie memory. Camera Power-up Configuration The first drop list selects the camera configuration 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Camera Control Category The P4 camera controls, 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 57 Camera 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).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name Direction Source Internal Direction Feature sensorScanDirectionSource Internal External sensorScanDirection Gain Selector Forward Reverse GainSelector System Gain SystemGain Top Line Bottom Line Gain TopLine BottomLine Gain Offset BlackLevel Device Scan Type DeviceScanType Line Scan Area Scan LineScan AreaScan 03-032-20176-02 Description Device Version & View 1.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 59 Multi-Exposure Mode The multi-exposure mode allows for the simultaneous exposure of each line of the sensor with two different exposure times or gains. The result is an increase in the dynamic range of the image. Turn on the Multi Line Exposure Mode Select which line to control integration time Note: to initiate multi-exposure mode, set TDI stage = 1 (stg 1) and ensure that the camera is in line scan mode (dst 0).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Flat-Field Calibration of Image in Multi-Exposure Mode Performing a flat-field calibration while in multi-exposure mode results in the camera automatically setting both lines of the sensor to the same integration time. Both lines will be flat-fielded to the target value provided. After the flat-field calibration has completed the integration and gain values are reset to the lines that they were set to prior to the flat-field request.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 61 Multi-Exposure Output Format While in multi-exposure mode the width of the output will double. A 2k camera will output a 4k image with the left half of the image being the bottom line and the right half being the top line. Output AOI when in Multi-Exposure Mode The same output AOI will be applied to both the top and bottom lines while in multi-exposure mode.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Digital I/O Control Feature Descriptions The P4 Digital I/O control category, as organized by CamExpert, groups together the sensor specific parameters. This group includes the controls for line rate, exposure time, scan direction, and gain. Parameters in gray are read-only, either always or due to another parameter being enabled or disabled. Parameters in black are user set in CamExpert or programmable via an imaging application.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 63 The following table describes the digital I / O control parameters along with their view attributes and the minimum camera firmware version required. Additionally, the firmware column indicates which parameter is a member of the DALSA Features Naming Convention (DFNC), verses the GenICam Standard Features Naming Convention (SFNC not shown).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 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 DALSA Features Naming Convention (DFNC), verses the GenICam Standard Features Naming Convention (SFNC not shown).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name 65 Feature Description Select flatfield Correction Scan Direction Reverse Set flatfieldScanDirectionReverseSet Calibration Algorithm flatfieldCorrectionAlgorithm Basic Basic LowPass LowPass When flatfieldCorrectionMode is set to ScanDirectionControlled this feature selects the UserSEt (1 to8) which will be used for the reverse scan direction. Selection between two different flat field algorithms.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual The ROI feature is related to flat field calibration. It is important to specify an ROI when the object being imaged has areas that have black, non illuminated areas such as beyond the edge of a film that is front illuminated, or is saturated, again beyond the edge of a film but in this case bright field back illuminated.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 67 Image Format 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 DALSA Features Naming Convention (DFNC), verses the GenICam Standard Features Naming Convention (SFNC not shown).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Multiple AOI Selector multipleAOISelector Selects the area of interest to be setup AOI Offset X multipleAOIOffsetX Set the start of area of interest (pixels) AOI Width multipleAOIWidth Set the width of area of interest (pixels) 1.00 Beginner DFNC 1.00 Beginner 1.00 Beginner DFNC Binning Binning is the combining of two or more image sensor pixels to form a new combined pixel.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 69 Figure 25: 2x2 Binning in Area Mode Area of Interest (AOI) Setup The Area of Interest (AOI) feature can be used to reduce the amount of image-data output from the camera. Use this feature when there are areas in the image that contain unneeded information. An example where you would use this feature is in an application that is inspecting several separated lanes of objects with one camera and the image between the lanes can be ignored.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 1. Must be off to set up the AOI. 2. Set up the number of AOI desired to max of 4. 3. Select area to set up. 4. Select beginning of selected area 5.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 71 In order to initiate operation of the AOI once setup: 1. 2. The AOI mode must be changed to Active. 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Instructions on Using the Camera Scan Direction to Control Camera Parameters The camera is capable of adjusting camera parameters on-the-fly based on the scan direction of the camera. These parameters include gain, flat field coefficients, white balance and exposure time. 1. 2. The first step is to put the camera in the reverse direction.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 73 Save to a user set choice. 4. 5. The next step is to put the camera in the forward 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. Set up all the desired parameters including doing a flat field. Setup parameters for forward direction. 6.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Forward direction user set and default user set must be the same. Save to a different user set than the one selected for reverse direction. Set the Flat Field mode to Scan direction Controlled. In the Flat Field area change the mode to Scan Direction Controlled.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 75 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 application. 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Transport Layer 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).
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 77 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. Acquisition and Transfer Control Feature Descriptions The following table describes these parameters along with their view attribute and minimum camera firmware version required.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Serial Port Control Category The Serial Port control in CamExpert allows the user to select an available camera serial port and review its settings. This section also describes the 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name Serial Port Parity Feature deviceSerialPortParity None Data Size Eight Bits None deviceSerialPortDataSize bpc8 Stop Bits deviceSerialPortNumberOf StopBits Stopbits1 Stopbits1 79 Description Sets the parity checking type on the selected serial port.(RO) Parity checking is disabled Sets the bits per character (bpc) to use (RO). Use 8 bits per character Sets the number of stop bits to use. Use 1 stop bit View 1.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual File Access Control Feature Descriptions Display Name File Selector Feature FileSelector FPGA Code Firmware1 Micro Code CCI XML User Set Factory FlatField coefficients User FPN CameraData File Operation Selector FileOperationSelector Open Open Close Close Read Read Write Write Delete Delete File Operation Execute FileOperationExecute File Open Mode FileOpenMode Read Write File Access Buffer Read Write FileAccessBuffe
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Display Name Success Feature Success Failure Failure File Unavailable FileUnavailable File Invalid FileInvalid File Operation Result FileOperationResult File Size FileSize 81 Description The last file operation has completed successfully. The last file operation has completed unsuccessfully for an unknown reason. The last file operation has completed unsuccessfully because the file is currently unavailable.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 4. 5. 6. 7. Click the Browse button to open a typical Windows Explorer window. Select the specific file from the system drive or from a network location. Click the Upload button to execute the file transfer to the camera. 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Teledyne DALSA 83 03-032-20176-02
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Appendix B: ASCII Commands The following commands can be used to control the Teledyne DALSA Piranha4 cameras. Accessing the Three Letter Commands (TLC) To access the TLC an ASCII-based communications interface application, such as HyperTerminal. Additionally it is possible to use the functions of clserxxx.dll or clallserial.dll as defined in the Camera Link Specification.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 85 Notes on Using Alternatives to HyperTerminal If you are using interfaces other than HyperTerminal, the ASCII character, ESC, is decimal 27 and needs to be issued. From the command line insert ESC by using ALT+2+7 of the activated NumPad. In some cases this needs to be followed by a carriage return or a linefeed to send this to the camera. In ASCII the ESC character may look like this: “←”.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Disabling the Esc Key for Direct Access to ASCII Commands By default the Esc key is enabled and an Esc key sequence has to be issued in order to access the ASCII commands. Using the DEK 1 command the need to issue an Esc key is disabled and access to the ASCII commands are available immediately upon camera boot up.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 87 Commands Full Name Calibrate User FPN Mnemonic CCF Argument(s) # of lines to average Description 2048 4096 Calibrate user FPN dark flat field coefficients Full Name Camera Link Speed Mnemonic CLS Argument(s) Frequency Description Camera Link clock frequency Full Name Camera Link Mode Mnemonic CLM Argument(s) Mode Description Camera Link Mode Full Name Calibrate Flatfield Mnemonic CPA Argument(s) Algorithm
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Disable Esc Key Mnemonic DEK Argument(s) Mode Description Notes 0. Esc key is enabled 1. Esc key is disabled Allow the use of the Esc key to be disabled so that upon boot-up the camera will directly enter the ASCII command mode. With the Esc key disabled the GENCP cannot be accessed. To access the GenCP, you have to first issue the DEK 0 command in order to enable the ESC key. Then reboot the camera.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Display Camera Configuration Mnemonic GCP Argument(s) Description Notes 89 Display current value of camera configuration parameters USER>gcp Model P4_CM_02K10D_00_R Microcode 03-081-20296-96 CCI 03-110-20294-96 FPGA 03-056-20470-97 Serial # S1050616 BiST: Good DefaultSet 0 Ext Trig Off Line Rate 10000 [Hz] Meas L.R. 10000 [Hz] Max L.R. 19607 [Hz] Exp. Mode Timed Multi Exp. Mode Off Exp. Time[0] 50000 [ns] Meas E.T.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Help Mnemonic H Argument(s) Description Notes Display list of three letter commands (2K help screen shown) USER>h P4 (03-081-20296-96): Command Line Interpreter Jul 16 2013, 07:49:58 ccf - Calibrate User FPN <2048|4096> cls - Camera Link Speed <0 - 85MHz, 1 - 66MHz> clm - Camera Link Mode <0:Base 1:Med 2:Full> cpa - Calibrate Flatfield <0:basic 1:filter><2048|4096> dek - disESC esc key <0/1> dst - Device Scan Ty
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 91 Full Name Load Pixel Coefficients Mnemonic LPC Argument(s) Set selector Description Notes Load user set Loads FPN coefficients and PRNU coefficients from a user set ( only coefficeints, no other camera parameters) Full Name Reset Camera Mnemonic RC Argument(s) Description Notes 0. Factory set 1-8. User sets Resets the camera to the saved user default settings. These settings are saved using the usd command.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Set AOI Count Mnemonic SAC Argument(s) Description Notes Number of AOI‘s Set AOI Counter Full Name Set AOI Selector Mnemonic SAD Argument(s) Description Notes Selector 1 to 4 Offset 1 to AOI Count – any pixel can be starting pixel Width No less than 40 pixels Define an AOI Must not overlap with an already existing AOI Full Name Set AOI Mode Mnemonic SAM Argument(s) Mode Description Notes Set AOI mode Full
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Set Binning Vertical Mnemonic SBV Argument(s) 93 1. 2. Single pixel Binning of 2 pixels Description Notes Set vertical binning Must be in Single line mode (stg 1) Must be in Line scan mode (dst 0) Full Name Direction Mnemonic SCD Argument(s) Direction Description Notes Set sensor scan direction Full Name Set Exposure Selector Mnemonic SES Argument(s) Mode 0. 1. 2.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Exposure Time Mnemonic SET Argument(s) Description Notes Exposure time 1, 000 to 3, 000, 000 [ns] Set internal exposure time in nanoseconds – 25 ns resolution Line time > ( Exposure time + 1,500 ns ) Full Name Set Multi-Exposure (2K only) Mnemonic SME Argument(s) Mode Description 0. Off 1. Multi-Exposure On Set multi-exposure mode allowing each line to have independent exposure times and gains.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 95 Full Name Internal Line Rate Mnemonic SSF Argument(s) Line rate Description Notes Set internal line rate in Hz Line time > ( Exposure time + 1, 000 ns ) Full Name Gain Mnemonic SSG Argument(s) Selector Description Notes 0. System Gain 1. Bottom Line 2. Top Line Gain 1.0 to 10.0 Set gain as a single value multiplied by all pixels. When not in multiexposure mode System gain in only available Floating point number: 1.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Test Pattern Mnemonic SVM Argument(s) Mode Description Notes Select test pattern When a test pattern is selected all digital processing (e.g. flat field, gain) is disabled – it is re-enabled when sensor video is selected Full Name Default User Set Mnemonic USD Argument(s) Set selector Description Notes 0. 1. 2. 3. 4. 5. Sensor Video Ramp A5 Each_tap_fixed All_1365 All_1 0. Factory set 1-8.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Full Name Voltage Mnemonic VV Argument(s) Description Notes Display supply voltage Measured with an accuracy ± 0.1 V.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Appendix C: Error and Warning Messages BiST: Built in Self Test The BiST error flags are binary flags with each bit being independent from each other. The message from the BiST should be ―Good‖ meaning everything is functioning correctly but if a hardware failure does occur in the camera one or more these flags could be set. Any of these errors will result in the status light turning red.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 99 Operational Error Codes Code Description 0X8002 Invalid Parameter 0xC01C CPA_TOO_MANY_OUTLIERS 0x401E USER_FPN_CLIPPING 0x401F FLAT_FIELD_CLIPPING Teledyne DALSA 03-032-20176-02
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Appendix D: Quick Setup and Image Acquisition If you are familiar with the operation of Camera Link cameras and have an understanding of imaging fundamentals, the following steps will show you how to quickly set up this camera and begin acquiring images. 1. On Power-Up The camera has been calibrated and configured at the factory to be ready for your evaluation when first powered up.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 101 3. Setting Up Your Optical Configuration Typically, the first thing you want to do is to evaluate the camera‘s image quality under operating conditions similar to those that you are likely to use in your application. In order to do this, take the following steps: The illumination, lens magnification, and focus should be set up as per you application.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Calibration is easily performed using the ‗cpa‘ command. The cpa command has 3 parameters. o The first parameter is a selection between: ‗0‘ – Per pixel FFC calibration ‗1‘ – A low pass FFC calibration o We recommend that the second option is used to correct for any image non uniformity due to the lens and setup. o The second parameter is the number of lines you want to average over.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 103 Appendix E: The Sensor Window Cleaning and Protecting Against Dust, Oil, and Scratches The sensor window is part of the optical path and should be handled like other optical components, with extreme care. Dust can obscure pixels, producing dark patches on the sensor response. Dust is most visible when the illumination is collimated. The dark patches shift position as the angle of illumination changes.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Cleaning the Sensor Window Recommended Equipment Glass cleaning station with microscope within clean room. 3M ionized air gun 980 (http://solutions.3mcanada.ca/wps/portal/3M/en_CA/WW2/Country/) Ionized air flood system, foot operated. Swab (HUBY-340CA-003) (http://www.cleancross.net/modules/xfsection/article.php?articleid=24) Single drop bottle (FD-2-ESD) E2 (Eclipse optic cleaning system (www.photosol.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 105 Appendix F: Camera, Frame Grabber Communication Setting Up Communication between the Camera and the Frame Grabber Teledyne DALSA Camera Link cameras support the GenCP Camera Link standards. To configure Teledyne DALSA GenCP Camera Link Cameras: 1. Install the Teledyne DALSA frame grabber in the host computer; refer to the hardware installation manual. 2. Install Sapera LT and the Teledyne DALSA frame grabber driver. 3.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 7. Start the CamExpert application. In the Device tab, select CameraLink Medium Color RGB #1.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 107 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.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual EMC Declaration of Conformity We, TELEDYNE DALSA 605 McMurray Road Waterloo, Ontario CANADA N2V 2E9 Declare under sole responsibility that the cameras: Brand Name: Piranha4 Models: P4-CM-04K10D-00-R and P4-CM-02K10D-00-R Which are components to be integrated into larger systems, were evaluated according to the CE Mark, FCC Part 15, VCCI, Israel, Korea, and Industry Canada ICES-003 Evaluation and satisfy the requirements of the followi
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 109 Revision History Revision Number Change Description Revision Date 00 Initial release. April 17, 2013 01 - Updated CamExpert screenshots. - Removed 7 µm pixel option. - Revised AOI calculation table. -Device Scan Type feature added to Camera Controls description. -Revised Full and Deca timing diagrams. May 13, 2013 02 - 2k power dissipation value added: < 8.25 W. - Revised responsivity and QE graphs.
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual Index direction sensor shift, 45 web movement, 45 direction control, 44 A antiblooming, 9 area mode, 29 ASCII commands using, 84 E EMC declaration, 107 error and warning messages, 98 ESC key disabling, 86 exposure control, 36 external frame rate, programmable exposure time, 37 externally controlled, 37 internally controlled, 37 exposure modes descriptions of, 36 exposure time set, 42 EXSYNC, 23 B baud rate, 43 binning, 68 BiST, 98 bl
Piranha4 4K and 2K Dual Line Monochrome CMOS Camera User's Manual 111 I rebooting, 46 requirements PC, 16 responsivity, 9 graph, 10 revision history, 108 image acquisition, 36 quick, 100 input/output, 18 L LED definitions, 24 lens mounts, 13 line rates setting, 39 S safety, 6 Sapera, 26 sensitivity modes, 35 sensor controls, 56, 62, 66, 76 settings active, 33 default, 34 factory, 29, 33 loading, 32 saving, 32 user, 33 setup overview, 16 quick, 100 shift direction, 45 size image, 43 software required,