Dalsa Piranha HS 4x-02K30 User Manual

Dalsa Piranha HS 4x-02K30 User Manual

High sensitivity line scan ccd camera

Advertisement

Piranha HS 4x-02K30
HS-40-02K30, HS-41-02K30
Camera User's Manual
Printed 10/14/2004 3:33:00 PM
14-Oct-04
03-32-10040-03
www.dalsa.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Piranha HS 4x-02K30 and is the answer not in the manual?

Questions and answers

Summary of Contents for Dalsa Piranha HS 4x-02K30

  • Page 1 Piranha HS 4x-02K30 HS-40-02K30, HS-41-02K30 Camera User’s Manual Printed 10/14/2004 3:33:00 PM 14-Oct-04 03-32-10040-03 www.dalsa.com...
  • Page 2 Piranha HS 4x User’s Manual © 2004 DALSA. All information provided in this manual is believed to be accurate and reliable. No responsibility is assumed by DALSA for its use. 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 DALSA.
  • Page 3: Table Of Contents

    3.12 System Debugging ..............................36 3.13 Monitoring Tasks................................37 3.14 Rebooting the Camera ...............................38 Optical and Mechanical Considerations________________________________________ 39 4.1 Mechanical Interface ..............................39 4.2 Optical Interface................................40 Troubleshooting ________________________________________________________ 43 5.1 Common Solutions...............................43 5.2 Troubleshooting Using the Serial Interface .........................43 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 4 Camera Link™ Reference and Configuration Table ________________________________ 47 Camera Link™ Configuration Table ..........................49 Command Reference _____________________________________________________ 53 B1 All Available Commands...............................54 B2 Error Handling................................58 EMC Declaration of Conformity______________________________________________ 61 Revision History ________________________________________________________ 63 Index _______________________________________________________________ 65 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 5: Introduction To The Piranha Hs 4X High Sensitivity Line Scan Cameras

    Compact body with F mount or M42x1 mount interface • Serial interface (ASCII, 9600 baud, adjustable to 19200, 57600, 115200), through Camera Link • Selectable 8 or 10 bit output • Flat-field correction—minimizing sensor FPN and PRNU, lens vignetting and non- uniform lighting DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 6 TDI technology, the Piranha HS 4x cameras are highly sensitive—50 times greater responsivity than standard line scan cameras. With line rates reaching 52kHz and a resolution of 2048 pixels, DALSA’s latest high sensitivity camera specifically meets the performance requirements needed in demanding applications such as postal sorting, document scanning, and low light industrial inspection.
  • Page 7: Image Sensor

    Piranha HS 4x User’s Manual 1.2 Image Sensor The Piranha HS 4x cameras use DALSA’ s 2048 pixel, 4-output, stage selectable, uni- directional TDI IT-E4-2048B sensor. Figure 1. IT-E4-2048B Image Sensor TDI Imaging Region 13µm x 13µm Pixels 64 TDI...
  • Page 8 48.6 Random Noise DN p-p Random Noise DN rms pJ/cm 481 (typ) pJ/cm 3.2 (typ) Responsivity DN/nJ/cm 1610 without correction DN p-p with correction PRNU (global) without correction % of Output @ 64 stages with correction 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 9 Nominal Gain setting. Light Source: Broadband Quartz Halogen, 3250K, with 750nm cutoff filter installed Ambient test temperature 0 to 50°C Figure 2: Piranha HS 4x Responsivity Piranha HS 4x Responsivity @ 10dB 1950 1625 1300 1000 Wavelength (nm) DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 10 Piranha HS 4x User’s Manual 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 11: Camera Hardware Interface

    Connect Camera Link and power cables. After connecting cables, apply power to the camera. Check the diagnostic LED. You must also set up the other components of your system, including light sources, camera mounts, host computers, optics, encoders, and so on. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 12: Input/Output Connectors

    Control + Serial Communication Camera Right Channel Cable Camera Right Angle Channel Connector AngleFrame Link Signal Name Connector Frame Link Signal Grabber Grabber inner shield Inner Shield inner shield inner shield Inner Shield inner shield PAIR1- PAIR1+ PAIR2- PAIR2+ 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 13 *Exterior Overshield is connected to the shells of the connectors on both ends. **3M part 14X26-SZLB-XXX-0LC is a complete cable assembly, including connectors. Unused pairs should be terminated in 100 ohms at both ends of the cable. Table 4: DALSA Camera Control Configuration Camera Link Signal DALSA Configuration...
  • Page 14: Power Supplies

    Web site for a list of companies that make power supplies that meet the camera’s requirements. The companies listed should not be considered the only choices. Many high quality supplies are available from other vendors. DALSA assumes no responsibility for the use of these supplies.
  • Page 15: Led Status Indicators

    When more than one condition is active, the LED indicates the condition with highest priority. Error and warning states are accompanied by corresponding messages further describing current camera status. See section B2 Error Handling on page 58 for error message descriptions. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 16 Piranha HS 4x User’s Manual 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 17: Software Interface: How To Control The Camera

    Microsoft HyperTerminal, can be used if the COM port is allocated by the framegrabber. Terminal should be set at 9600 baud during the camera power up. When the terminal window is set up, power on the camera. The boot-up message should appear: DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 18: Communications Protocol Overview

    The following parameter conventions are used in the manual: t = tap id i = integer value f = real number x1 = pixel start number x2 = pixel end number [ ] = optional parameter 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 19: Saving And Restoring Settings

    Baud rate. Available baud rates are 9600 (default), 19200, 57600, and 115200. • Notes:: Power-on rate is always 9600 baud. • The rc (reset camera) command will not reset the camera to the power-on baud rate. Example: sbr 19200 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 20: Setting The Data Mode

    Figure 7: sdm 0 and sdm 1 readout (Medium Configuration) 30MHz 30MHz 30MHz 30MHz Tap 1 Tap 2 Tap 3 Tap 4 Pixels Pixels Pixels Pixels 512 to 1 1024 to 513 1536 to 1025 2048 to 1537 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 21: Selecting The Number Of Tdi Stages

    Description Mode 7 is the factory External External SYNC, maximum exposure time setting. (no shuttering) Internal Internal line rate, no exposure control (factory setting) To obtain the current value of the exposure mode, use the command DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 22: Exposure Modes In Detail

    The falling edge of EXSYNC marks the beginning of the exposure for the next line. Example 1: Mode 3 Timing Exposure Time Exposure Time Readout Readout Line Period Line Period EXSYNC Ignored Ignored EXSYNC EXSYNC 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 23: Increasing Sensitivity With Binning

    2. • Notes: If you are using binning (sbv 2 or sbh 2), the min, max, and mean statistics generated by the gl or gla command are for every second pixel only. Example: sbh 2 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 24 Figure 10: 2x2 Binning More charge brighter pixel Charge in Charge binned: Normal image Binned image 4 adjacent pixels 1 pixel output Table 7: Binning vs. Speed Binning (H x V) Line Rate (kHz) 48.5 48.5 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 25: Setting A Region Of Interest

    Returning a Single Line of Video command returns a complete line of video (without digital processing or test pattern), displaying one pixel value after another. It also displays the minimum, maximum, and mean value of the line sampled for each tap. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 26 To set the number of lines to sample, use the command: Syntax: css i Syntax Elements: Number of lines to sample. Allowable values are 16, 32, or 64 (factory setting). • Notes: To return the current setting, use the gcp command. Example: css 32 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 27: Calibrating The Camera

    The white light calibration is performed next to determine the multiplication factors required to bring each pixel to the required value (balance target) for flat, white output. Video output is set slightly above the brightest pixel (depending on offset subtracted). DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 28 FPN coefficients range from 1 to 100DN for 8-bit data mode, and 4 to 400DN for 10-bit data mode for the specified region of interest. If value is left blank, current offset values are used. 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 29 64 to 251DN for 8-bit data mode, and 256 to 1007DN for 10-bit data mode. If value is left blank, current gain values are used. After the calibration is complete, you can save these settings to non-volatile memory so they will be remembered after power-down. To do so, issue the command DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 30: Returning Calibration Results And Errors

    Optimizing offset performance and gain in the analog domain allows you to achieve a better signal-to-noise ratio (dynamic range) than you would achieve by trying to optimize the gain and offset in the digital domain. As a result, perform all analog adjustments prior to any digital adjustments. 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 31 When subtracting a digital value from the digital video signal the output can no longer reach its maximum. Use the ssg command to correct for this. See page 32 for details on the ssg command. Example: ssb 0 20 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 32: Digital Signal Processing

    • Digital offset is recalculated after sending the ccf command. See the Dark Calibration description on page 28 for more information on the ccf command. Example: sdo 0 100 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 33 Tap selection. Allowable range is 1 to 4, or 0 for all taps. The line average in a range from 0 to 1023DN. • Notes: See section 3.10 Returning Video Information for more information on line averages Related Commands: gla, gl Example: cag 1 156 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 34 To enable or disable PRNU and/or FPN coefficients, use the command: Syntax: epc i i Syntax Elements: FPN coefficients. 0 = FPN coefficients disabled 1 = FPN coefficients enabled PRNU coefficients. 0 = PRNU coefficients disabled 1 = PRNU coefficients enabled Example: epc 1 0 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 35 Coefficient value in a range from 0 to 63. Example: sfc 10 50 To read the FPN coefficient, use the command: Syntax: gfc i Syntax Elements: The pixel number to read in a range from 1 to 2048. Example: gfc 10 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 36: System Debugging

    “aa”, “55”, “line counter”, “line average”, “pixels above threshold”, and “pixels below threshold”. To activate or deactivate the end-of-line sequence, use the command: Syntax: els i Syntax Elements: Deactivate the end-of-line sequence. Activate the end-of-line sequence. Example: els 1 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 37: Monitoring Tasks

    Temperature Disables monitoring of camera temperature. Monitors the external sync signal. External Sync Disables monitoring of the external sync signal. Monitors current setting of analog gain. Gain out of spec Disables monitoring of analog gain setting. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 38: Rebooting The Camera

    10 to 50°C. 3.14 Rebooting the Camera The command rc reboots the camera. The camera starts up with the last saved settings. 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 39: Optical And Mechanical Considerations

    2. TOLERANCES 0.3 ON ALL 1. F-MOUNT ADAPTER ±0.18 MM DIMENSIONS UNLESS OTHERWISE 2. FOUR M3 x 0.5 HOLES ±0.18 MM SPECIFIED. 3 DATUM SURFACES B & C ±0.18 MM IMAGE ROTATION WITH RESPECT TO SURFACE B IS 0.6° DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 40: Optical Interface

    Factors include the nature, speed, and spectral characteristics of objects being imaged, exposure times, light source characteristics, environmental, and acquisition system specifics, and more. DALSA’s Vision for Machines Web site, http://vfm.dalsa.com/, provides an introduction to this potentially complicated issue.
  • Page 41: Light Sources

    The back focal length (BFL) is the distance from the image side of the lens surface to the second focal point. The object distance (OD) is the distance from the first principal point to the object. Figure 14: Primary Points in a Lens System DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 42: Magnification And Resolution

    45mm, and requires that 100µm in the object space correspond to each pixel in the image sensor. Using the preceding equation, the object distance must be 450mm (0.450m). µ 0 450 µ 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 43: Troubleshooting

    To validate cable integrity, have the camera send out a test pattern and verify it is being properly received. Refer to section 3.12 for further information. 5.2 Troubleshooting Using the Serial Interface The following commands can aid in debugging. (The complete command protocol is described in Appendix B.) DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 44: Specific Solutions

    Verify that the frequency of the internal sync is set correctly. Noisy Output Check your power supply voltage outputs for noise. Noise present on these lines can result in poor video quality. Low quality or non-twisted pair cable can also add noise to the video output. 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 45 If you have verified that your exposure time is consistent and patterns of low frequency intensity variations still occur, ensure that you are using a DC or high frequency light source. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 46: Product Support

    Detailed description of problem please attach description with as much detail as appropriate encountered. In addition to your local DALSA representative, you may need to call DALSA Technical Sales Support: North America Europe Asia Voice:...
  • Page 47: Camera Link™ Reference And Configuration Table

    • Spare— A spare has been defined for future use. All four enable signals must be provided by the camera on each Channel Link chip. All unused data bits must be tied to a known value by the camera. For more information on DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 48 Four LVDS pairs are reserved for general-purpose camera control. They are defined as camera inputs and framegrabber outputs. Camera manufacturers can define these signals to meet their needs for a particular product. DALSA has defines these signals Table 11: Standard DALSA Naming Conventions...
  • Page 49: Camera Link™ Configuration Table

    EXSYNC signal can be asserted. Camera Link™ Configuration Table The following table provides tap reconstruction information. DALSA is working with the machine vision industry to use this table as the basis for auto configuration. Visit the http://vfm.dalsa.com Web site and view the DALSA Camera Link Implementation Road Map document, 03-32-00450, for further details.
  • Page 50 Internal Pixel Reset Time Resolution <xx ns> 0 if not applicable Pixel Reset to Exsync Hold time <xx ns> BAUD Rate <9600….> 9600, 19200, 57600, 115200 CC1 <Exsync> Exsync CC2 <Spare> Spare CC3 <Forward, Spare> Spare 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 51 Item (when programmable configuration the Piranha HS 4x options are separated with a | ) CC4 <Spare> Spare DVAL out <Strobe Valid, Alternate> Strobe Valid LVAL out <Frame Valid, Alternate> Line Valid Spare out <Spare> Spare FVAL out Tied High DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 52 Piranha HS 4x User’s Manual 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 53: Command Reference

    = pixel end number [ ] = optional parameter Serial Protocol Defaults: • 8 data bits • 1 stop bit • No parity • No flow control • 9.6Kbps • Camera does not echo characters DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 54: B1 All Available Commands

    The first parameter sets the FPN coefficients where i is: 0 = FPN coefficients disabled 1 = FPN coefficients enabled The second parameter sets the PRNU coefficients where i is: 0 = PRNU coefficients disabled 1 = PRNU coefficients enabled 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 55 ( x1 ) and end ( x2 ) values in a range from 1 to sensor pixel count. reset pixel Resets all pixel coefficients to zero. coefficients restore user Restore the camera's last saved user settings settings. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 56 Sets the analog gain. t = Tap value. 0 for all taps or 1 - 4 for individual tap selection. f = Analog gain setting in a range from – 10 to 10 dB. 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 57 Reads or enables/disables the status of all [i i] disabled defined monitoring tasks. [i] = Selects a specific monitoring task. [i] = Enables or disables the selected task. For more information, see section 3.13 Monitoring Tasks. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 58: B2 Error Handling

    The camera's temperature is vt command result outside the specified operating range Analog offset calibration failure Analog offset calibration failure (could not tune the analog offset to obtain targeted 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 59 Current camera temperature exceeds exceeds specified limit specification limit WARNING: External SYNC not Exposure Mode 3: external SYNC not detected detected WARNING: Analog gain is Current analog gain setting is out of over/under the specification specification DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 60 Piranha HS 4x User’s Manual 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 61: Emc Declaration Of Conformity

    73/23/EEC and the EMC Directive 89/336/EEC and carries the CE mark accordingly. Place of Issue Waterloo, ON, CANADA Date of Issue September 25, 2003 Name and Signature of Hank Helmond authorized person Quality Manager, DALSA Corp. This Declaration corresponds to EN 45 014. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 62 Piranha HS 4x User’s Manual 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 63: Revision History

    Updated mechanical drawing to include a side view of the camera (including mounting holes M3x0.5) Added the Piranha HS name Added Figure 13: Direction of Web Movement using an Inverting Lens Added Camera Link Video Timing, page 49 Added Revision History. DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 64 Piranha HS 4x User’s Manual 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 65: Index

    19 gain range, 8 connectors, 12 graph Camera Link, 12 responsivity, 9 diagram, 12 input/output, 12 MDR26, 12 power, 13 halogen light sources, 40 control configuration, 13 help, 18 control signals, 13 horizontal lines, 45 DALSA Corp. PRELIMINARY 03-32-10040-03...
  • Page 66 37 specifications, 7 serial interface, 17 settings restoring, 19 retrieving, 18 NEE, 8 saving, 19 noise specifications, 7, 9 RMS, 8 startup sequence, 17 noisy output, 44 statistics, 25 subtracting background, 31 offset 03-32-10040-03 PRELIMINARY DALSA Corp.
  • Page 67 26, 47 thresholds, 37 voltage timing measurement, 38 exposure modes, 22 mode 3, 22 mode 7, 22 troubleshooting, 43 warnings, 37 horizontal lines, 45 white light calibration, 29 line rates, 44 serial interface, 43 DALSA Corp. PRELIMINARY 03-32-10040-03...

This manual is also suitable for:

Piranha hs-40-02k30Piranha hs-41-02k30

Table of Contents