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.
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...
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...
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.
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...
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...
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.
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...
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.
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...
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.
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.
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.
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...
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...
• 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...
“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.
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...
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.
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...
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.
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...
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.
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...
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...
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:...
• 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...
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...
= 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...
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...
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...
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...
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...
Need help?
Do you have a question about the Piranha HS 4x-02K30 and is the answer not in the manual?
Questions and answers