These products are not designed for use in life support appliances, devices, or systems where mal- function of these products can reasonably be expected to result in personal injury. Allied Vision Technologies customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Allied for any damages resulting from such improper use or sale.
Page 4
Stingray W270 (IEEE 1394b: 1 x GOF, 1 x copper)..............74 Stingray W270 S90 (2 x IEEE 1394b copper) ............... 75 Stingray W270 S90 (IEEE 1394b: 1 x GOF, 1 x copper) ............76 Cross section: CS-Mount....................77 Cross section: C-Mount ....................78 Adjustment of C-Mount and CS-Mount................
Page 5
Control data signals ...................... 93 Inputs........................93 Input/output pin control ................... 93 Outputs ........................97 Pulse-width modulation (Stingray housing and Stingray board level models) ...... 102 Pixel data........................104 Description of the data path ..............111 Block diagrams of the cameras ..................111 Monochrome cameras ....................
Page 6
2 x full binning/4 x full binning/8 x full binning (F-201C only 2 x full binning)....143 Sub-sampling (Stingray monochrome and color models) ............. 144 What is sub-sampling?....................144 Which Stingray models have sub-sampling? ..............144 Description of sub-sampling ..................144 Binning and sub-sampling access ...................
Introduction Introduction This Stingray Technical Manual describes in depth the technical specifications, dimensions, all camera features (IIDC standard and Allied Vision smart features) and their registers, trigger features, all video and color formats, bandwidth, and frame rate calculation. For information on hardware installation, safety warnings, and pin assignments on I/O connectors and IEEE 1394b connectors read the 1394 Installation Manual.
Page 11
V2.1.0 23.05.2008 Added 4 x and 8 x binning in Chapter Binning (only Stingray monochrome models and F- 201C/504C) on page 140 Added 2 out of 8 sub-sampling in Chapter Sub-sampling (Stingray monochrome and color models)
Page 12
Added new image of Stingray camera with two screws on either side of the cameras for fixing the front flange: – See title page New Stingray photo on title page (with new screws on either side of camera) New photo of LED positions in...
Page 13
Introduction Version Date Remarks V3.0.0 08.10.2008 New Stingray board level CAD drawing with name of screws M2x14 ISO7045-A2 (2x): – Table 35 on page 80 – Table 36 on page 81 New Stingray F-125B/C: Read information in the following sections: •...
Page 14
Corrected black level increments in Chapter Brightness (black level or offset) on page 121 New AOI frame rates of Stingray F-504 in Chapter Stingray F-504 frame rate as a function of AOI height [width=2452] on page 242 New Stingray F-125C RGB8 modes in...
Page 15
SIS feature: standardized terminology, added examples in Chapter Secure image signature (SIS): definition and scenarios on page 200 Stingray cameras do not support storing shading image data into non-volatile memory, see Table 137 on page 297 (0XF1000250 bit 8 to 10)
Page 16
92 g up to 108 g: see Chapter Specifications on page 39 2x/4x/8x binning: • Stingray F-504C has now also the usual 2x/4x/8x binning (no color binning): see Chapter Binning (only Stingray monochrome models and F-201C/504C) on page 140 and...
Page 17
HSNR description, see Chapter High SNR mode (High Signal Noise Ratio) on page 310 New Stingray front flange: • Serial numbers for Stingray camera models starting new front flange: Chapter Serial numbers for starting new front flange on page 65 Corrections: •...
Page 18
Added sensitivity curves for Stingray F-125B/F-125C: Table 11 on page 60 and Table 12 on page 60 C-/CS-Mount no more adjustable, for modifications contact Allied Vision support and send camera to Allied Vision: • See Chapter Specifications on page 39 •...
Page 19
Corrected: maximum gain for Stingray F-504B/C is 670 and not 680, see Chapter Manual gain on page 121 • Corrected: Stingray F-504B/C: range in dB is 0 to 24.053 (not 24.4), see Chapter Manual gain on page 121 and Chapter...
Page 20
Specifications on page 39 • Added explanations to H, p and q abbreviations in Chapter Frame rates on page 228 • Added hyperlinks to Stingray compact in Chapter Camera dimensions on page 65 • Added Table 38 on page 108 •...
Page 21
Stingray cameras on page 329 Layout changes due to a changed Corporate identity: • Replaced the previous Allied Vision logo by the current one • Reworded all appropriate contents from AVT and Allied Vision Technologies to Allied Vision Table 1: Document history (continued)
(including documentation) and where to get it. • Chapter Stingray cameras on page 27 gives you a short introduction to the Stingray cameras with their FireWire technology. Links are provided to data sheets and brochures on Allied Vision website. • Chapter Conformity on page 28 gives you information about conformity of Allied Vision cameras.
• Chapter Controlling image capture on page 173 describes trigger modes, exposure time, one-shot/multi-shot/ISO_Enable features. Additionally, special Allied Vision features are described: sequence mode and secure image signature (SIS). • Chapter Video formats, modes and bandwidth on page 202 lists all available fixed and Format_7 modes (including color modes, frame rates, binning/sub-sampling, AOI=area of interest).
This symbol highlights important information. Caution This symbol highlights important instructions. You have to follow these instructions to avoid malfunctions. This symbol highlights URLs for further information. The URL itself is shown in blue. Example: https://www.alliedvision.com Stingray Technical Manual V4.6.0...
For more information on hardware and software read the following: • 1394 Installation Manual describes the hardware installation procedures for all IEEE 1394 cameras (Marlin, Guppy, Pike, Stingray). Additionally, you get safety instructions and information about camera interfaces (IEEE 1394a/b copper and GOF, I/O connectors, input and output).
Page 26
All naming in this document relates to FirePackage, not to GenICam. For downloads see: Software (Vimba and all other software): https://www.alliedvision.com/en/support/software- downloads Firmware: https://www.alliedvision.com/en/support/ firmware Technical documentation (overview page): https://www.alliedvision.com/en/support/technical- documentation Technical papers (application notes, white papers) and knowledge base: https://www.alliedvision.com/en/support/technical-papers- knowledge-base Stingray Technical Manual V4.6.0...
Image applications Allied Vision can provide users with a range of products that meet almost all the requirements of a very wide range of image applications.
Conformity Conformity Allied Vision Technologies declares under its sole responsibility that all standard cameras of the Stingray family to which this declaration relates are in conformity with the following standard(s) or other normative document(s): • CE, following the provisions of 2004/108/EG directive (Stingray board level cameras do not have CE) •...
IEEE Std. 1394a-2000 amendment • IEEE Std. 1394b-2002 amendment FireWire is used to connect digital cameras, especially in industrial systems for machine vision. Note All naming in this document relates to FirePackage, not to GenICam. Stingray Technical Manual V4.6.0...
As illustrated in the diagram below, these two modes can co- exist by using priority time slots for video data transfer and the remaining time slots for control data transfer. Figure 2: IEEE 1394a data transmission Stingray Technical Manual V4.6.0...
current of 18 mJoule in 3 ms. Higher inrush current may damage the PHY chip of the camera and/or the PHY chip in your PC. Stingray Technical Manual V4.6.0...
IIDC V1.3 released a set of camera control standards via IEEE 1394a, which established a common communications protocol on which most current FireWire cameras are based. In addition to common standards shared across manufacturers, Allied Vision offers Format_7 mode that provides special features (smart features), such as: •...
Compatibility example It is possible to run a IEEE 1394a and a IEEE 1394b camera on the IEEE 1394b bus. For example, you can run a Stingray F-033B and a Marlin F-033B on the same bus: • Stingray F-033B @ S800 and 60 fps (2560 bytes per cycle, 32% of the cycle slot) •...
1 MB = 1024 KB IEEE 1394b bandwidths According to the IEEE 1394b specification on isochronous transfer, the largest recommended data payload size is 8192 bytes per 125 μs cycle at a bandwidth of 800 Mb/s. Stingray Technical Manual V4.6.0...
Page 35
Higher inrush current may damage the physical interface chip of the camera and/or the PHY chip in your PC. For a single Stingray camera inrush current may not be a problem. But daisy chaining multiple cameras or supplying bus power via (optional) Hirose power out to circuitry with unknown inrush currents needs careful design considerations.
Example 2: More than one Stingray camera at full speed Depending on its settings, a single Stingray camera can saturate a 32-bit PCI bus. Either use a PCI Express card and/or multiple 64-bit PCI bus cards, if you want to use 2 or more Stingray cameras simultaneously (see the following...
• Higher inrush current may damage the physical interface chip of the camera and/or the PHY chip in your PC. For a single Stingray camera inrush current may not be a problem. But daisy chaining multiple cameras or supplying bus power via (optional) Hirose power out to circuitry with unknown inrush currents needs careful design considerations.
Microsoft. This way, applications using the MS1394 driver will continue to work.) Microsoft Windows 7 Full support Full support Microsoft Windows 8 Full support Full support Table 6: FireWire and operating systems For more information see Allied Vision Software: https://www.alliedvision.com Stingray Technical Manual V4.6.0...
• Maximum protrusion means the distance from lens flange to the glass filter in the camera. Note Permanent data storage (PDS) Stingray cameras with S/N 319438848 to 335544319 have a non-volatile memory (Flash) to permanently store images on the camera.
To create the spectral response plots shown in this chapter, the relative response was adjusted as per three measured QE values (@ 448 nm, 529 nm, 632 nm) for color sensors and one measured QE value (@ 529 nm) for monochrome sensors. Stingray Technical Manual V4.6.0...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 5: Stingray F-033B/F-033C (Sony ICX414) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.2000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 7: Stingray F-046B/F-046C (Sony ICX415) absolute QE plot Spectral response Red Response Greeen Response Blue Response Monochrome Response 0.2000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 9: Stingray F-080B/F-080C (Sony ICX204) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.2000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 11: Stingray F-125B/F-125C (Sony ICX445) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.3000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 13: Stingray F-145B/F-145C (Sony ICX285) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.3000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 15: Stingray F-146B/F-146C (Sony ICX267) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.2000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 17: Stingray F-201B/F-201C (Sony ICX274) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.3000...
The uncertainty in measurement of the QE is +/ 10%. The values are typical and are subject to minor variations. 1000 Wavelength [nm] Figure 19: Stingray F-504B/F-504C (Sony ICX655) absolute QE plot Spectral response Red Response Green Response Blue Response Monochrome Response 0.3000...
Note For information on sensor position accuracy: (sensor shift x/y, optical back focal length z and sensor rotation ) see chapter Sensor position accuracy of Stingray cameras on page 329. Serial numbers for starting new front flange Camera model...
Camera dimensions Stingray standard housing (2 x IEEE 1394b copper) M3x3 (3x) 13.4 9.1 - 16 6 M3x4 (4x) 57.5 C-Mount M3x3 (3x) 66.6 72.9 Stingray (2x IEEE 1394b) 72.9 x 44 x 29 (L x W x H) Figure 21: Camera dimensions (2 x IEEE 1394b copper)
Tripod adapter This five hole tripod adapter (Order number E5000007): • can be used for Stingray as well as for Marlin. The original four hole adapter of the Marlin should not be used with Stingray. • is only designed for standard housings, but not for the angled head versions.
Page 68
M6, 6 mm thread depth (2x) 15.5 12.5 12.5 UNC 1/4-20, 8 mm thread depth T i d Ad Body size: 56 mm x 32 mm x 10 mm (L x W x H) Figure 23: Tripod dimensions Stingray Technical Manual V4.6.0...
Camera dimensions Cross section: CS-Mount All Stingray cameras can be delivered with CS-Mount. maximum protrusion: filter / protection glass CS-Mount Figure 32: Stingray CS-Mount dimension Note Pay attention to the maximum sensor size of the applied CS- Mount lens. ...
The dimensional adjustment cannot be done any more by the customer. All modifications have to be done by the Allied Vision factory. If you need any modifications, please contact Allied Vision support: For phone numbers and email: See chapter Contacting Allied Vision on page 9.
Filter and lenses Filter and lenses IR cut filter: spectral transmission Only Stingray color cameras have a built-in IR cut filter. The following illustration shows the spectral transmission of the IR cut filter: 1000 Wavelength [nm] Figure 37: Approximate spectral transmission of IR cut filter (may vary slightly by filter lot) (type Hoya C5000) Stingray Technical Manual V4.6.0...
250 x 187 mm 35 mm 85 x 64 mm 176 x 132 mm 50 mm 58 x 43 mm 122 x 91 mm Table 17: Focal length vs. field of view (Stingray F-033, F-046, F-146) Stingray Technical Manual V4.6.0...
50 mm 79 x 59 mm 167 x 125 mm Table 19: Focal length vs. field of view (Stingray F-145, F-504) Note Lenses with focal lengths < 8 mm may show shading in the edges of the image and due to micro lenses on the sensor's ...
• Cables with latching connectors on one or both sides can be used and are available with lengths of 5 m or 7.5 m. Ask your local Allied Vision distributor for more details. For more information on cables and on ordering cables online (by clicking the article and sending an inquiry) go to: ...
Camera interfaces Board level camera: IEEE 1394b port pin assignment Board level Stingray cameras have two IEEE 1394b ports to allow daisy chaining of cameras. They have the same pin assignment as the Stingray housing cameras. Stingray Technical Manual V4.6.0...
Figure 40: Camera I/O connector pin assignment Note 12-pin Hirose I/O cables The General Purpose I/O port has a Hirose HR10-10R-12PA(73) connector on the camera side. The mating cable connector is: • Hirose HR10A-10P-12S(73) for soldering • Hirose HR10A-10P-12SC(73) for crimping Stingray Technical Manual V4.6.0...
For a detailed description of the I/O connector and its operating instructions see the 1394 Installation Manual, Chapter Stingray input description. Read all Notes and Cautions in the 1394 Installation Manual, before using the I/O connector. Board level camera: I/O pin assignment...
Both LEDs can be switched off by: • Setting bit [17] to 1, see Table 164 on page 322 • Activating Disable LED functionality check box in SmartView (Adv3 tab). Error conditions will be shown although LEDs are switched of Stingray Technical Manual V4.6.0...
Inputs Note For a general description of the inputs and warnings see the 1394 Installation Manual, Chapter Stingray input description. The optocoupler inverts all input signals. Inversion of the signal is controlled via the IO_INP_CTRL1 to 2 register (see Table 22 on page 94).
Page 94
Marlin, where an open input sets PinState bit to 1.) Mode Default 0x00 0x01 Reserved 0x02 Trigger input Input 1 0x03 Reserved 0x06 Sequence Step 0x07 Sequence Reset 0x08 to 0x1F Reserved Table 23: Input routing Stingray Technical Manual V4.6.0...
Page 95
ANDed. Trigger delay Stingray cameras feature various ways to delay image capture based on external trigger. With IIDC V1.31 there is a standard CSR at Register F0F00534/834h to control a delay up to FFFh x time base value.
Page 96
[11 to 31] Delay time in μs Table 26: Trigger delay advanced CSR The advanced register allows the start of the integration to be delayed by maximum 2 μs, which is maximum 2.1 s after a trigger edge was detected. Stingray Technical Manual V4.6.0...
• This feature works with external Trigger_Mode_0 only. Outputs Note For a general description of the outputs and warnings see the 1394 Installation Manual, Chapter Stingray output description. Output features are configured by software. Any signal can be placed on any output.
Page 98
For example, this allows the host computer to determine if the camera is busy by simply polling the BUSY output. Note Outputs in Direct Mode: For correct functionality the polarity should always be set to 0 (SmartView: Trig/IO tab, Invert=No). Stingray Technical Manual V4.6.0...
Page 99
[16 to 30] Reserved PinState [31] RD: Current state of pin WR: New state of pin 0xF1000324 IO_OUTP_CTRL2 Same as IO_OUTP_CTRL1 0xF1000328 IO_OUTP_CTRL3 Same as IO_OUTP_CTRL1 0xF100032C IO_OUTP_CTRL4 Same as IO_OUTP_CTRL1 Table 28: Advanced register: Output control Stingray Technical Manual V4.6.0...
Page 100
0x07 Busy Output 2 0x08 Follow corresponding input (Inp1 Out1, Inp2 Out2) 0x09 PWM (=pulse-width modulation) Stingray housed and board level models 0x0A WaitingForTrigger Only in Trigger Edge Mode. All other Mode = 0 WaitingForTrigger is useful to know, if a new trigger will be accepted.
Page 101
Delay set by IntEna FrameValid WaitingForTrigger (only edge Figure 45: Output impulse diagram Note The signals can be inverted. Caution Firing a new trigger while IntEna is still active can result in missing image. Stingray Technical Manual V4.6.0...
As a rule of thumb, the camera itself will limit the toggle frequency to not more than 700 Hz. Pulse-width modulation (Stingray housing and Stingray board level models) The 2 inputs and 4 outputs are independent. Each output has pulse-width modulation (PWM) capabilities, which can be used for motorized speed control or autofocus control with additional external electronics.
Page 103
Formula 1: Minimal/maximal period and frequency PWM: Examples in practice This chapter presents two examples, on how to write values in the PWM registers. All values have to be written in microseconds in the PWM registers. Stingray Technical Manual V4.6.0...
Pixel data are transmitted as isochronous data packets in accordance with the IEEE 1394 interface described in IIDC V1.31. The first packet of a frame is identified by the 1 in the sync bit (sy) of the packet header. Stingray Technical Manual V4.6.0...
Page 105
In 16-bit mode the data output is MSB aligned. The following tables provide a description of the video data format for the different modes. (Source: IIDC V1.31; packed 12-bit mode: Allied Vision) Stingray Technical Manual V4.6.0...
Page 107
(K+Pn-8) (K+Pn-7) (K+Pn-6) (K+Pn-5) (K+Pn-4) (K+Pn-3) (K+Pn-2) (K+Pn-1) Table 35: Y (Mono8) format: Source: IIDC V1.31 / Y (Raw8) format: Allied Vision <Y (Mono16/Raw16) format> Y component has 16-bit data. <Y (Mono16) format> High byte Low byte (K+0) (K+1) (K+2)
Page 108
[3 to 0] [11 to 4] (K+5) (K+6) (K+7) (K+7) [3 to 0] (K+6) Table 37: Packed 12-Bit Mode (mono and RAW) Y12 format (Allied Vision) <RGB8 format> Each component has 8-bit data. <RGB8 format> (K+0) (K+0) (K+0) (K+1) (K+1)
Page 109
Each component (Y, U, V) has 8-bit data. The Y component is the same as in the above table. U, V Signal level (decimal) Data (hexadecimal) Highest (+) 0xFF 0xFE 0x81 Lowest 0x80 0x7F -127 0x01 Highest (-) -128 0x00 Figure 48: Data structure of YUV8; Source: IIDC V1.31 Stingray Technical Manual V4.6.0...
Page 110
Y component has 12-bit data. The data type is unsigned. Signal level (decimal) Data (hexadecimal) Highest 4095 0x0FFF 4094 0x0FFE 0x0001 Lowest 0x0000 Table 39: Data structure of Packed 12-Bit Mode (mono and RAW) (Allied Vision) Stingray Technical Manual V4.6.0...
Setting LUT = OFF: Effectively makes full use of the 14-bit by bypassing the LUT circuitry Setting LUT = ON: The most significant 12 bit of the 14-bit are used and further down converted to 10 bit Figure 50: Block diagram monochrome camera Stingray Technical Manual V4.6.0...
Figure 51: Block diagram color camera White balance There are two types of white balance: • one-push white balance: white balance is done only once (not continuously) • auto white balance (AWB): continuously optimizes the color characteristics of the image Stingray Technical Manual V4.6.0...
Page 113
Description of the data path Stingray color cameras have both one-push white balance and auto white balance. White balance is applied so that non-colored image parts are displayed non- colored. From the user's point, the white balance settings are made in register 80Ch of IIDC V1.31.
Range Range in dB 10 dB Stingray color cameras 0 to 568 Table 41: Manual gain range of the various Stingray types The increment length is ~0.0353 dB/step. One-push white balance Note Configuration To configure this feature in control and status register (CSR): ...
For the white balance algorithm the whole image or a subset of it is used. Auto white balance can also be enabled by using an external trigger. However, if there is a pause of >10 seconds between capturing individual frames this Stingray Technical Manual V4.6.0...
Page 116
Within this area, the R-G-B component values of the samples are added and used as actual values for the feedback. The following drawing illustrates the AUTOFNC_AOI settings in greater detail. AOI: X-size AF_AREA_POSITION: Left,Top Sampling grid for Auto-Function AF_AREA_SIZE: Width: n x 4 Figure 54: AUTOFNC_AOI positioning Stingray Technical Manual V4.6.0...
Auto shutter Stingray cameras are equipped with auto shutter feature. When enabled, the auto shutter adjusts the shutter within the default shutter limits or within those set in advanced register F1000360h in order to reach the reference brightness set in auto exposure register.
If readout capability is not available, reading this field has no meaning. Table 42: CSR: Shutter Note Configuration To configure this feature in an advanced register: See Table 143 on page 304. Auto gain All Stingray cameras are equipped with auto gain feature. Stingray Technical Manual V4.6.0...
Page 119
Reserved Value [20 to 31] Read/Write Value This field is ignored when writing the value in Auto or OFF mode. If readout capability is not available, reading this field has no meaning. Table 43: CSR: Gain Stingray Technical Manual V4.6.0...
Page 120
Auto or OFF mode. If readout capability is not available, reading this field has no meaning. Table 44: CSR: Auto Exposure Note Configuration To configure this feature in an advanced register: See Table 144 on page 305. Stingray Technical Manual V4.6.0...
Target grey level) Manual gain Stingray cameras are equipped with a gain setting, allowing the gain to be manually adjusted on the fly by means of a simple command register write. The following ranges can be used when manually setting the gain for the analog...
Table 46: CSR: Brightness Horizontal mirror function All Stingray cameras are equipped with an electronic mirror function, which mirrors pixels from the left side of the image to the right side and vice versa. The mirror is centered to the current FOV center and can be combined with all image manipulation functions, like binning and shading.
RAW format has implications on the BAYER-ordering of the colors. Mirror OFF: R-G-G-B (all Stingray color cameras)Mirror ON: G-R-B-G (all Stingray color cameras) Figure 55: Mirror and Bayer order Note During switchover one image may be corrupted.
There are two storing possibilities: • After generating the shading image in the camera, it can be uploaded to the host computer for nonvolatile storage purposes. • The shading image can be stored in the camera itself. Stingray Technical Manual V4.6.0...
Page 125
The source image with non-uniform illumination (on the left). • The surface plot on the right clearly shows a gradient of the brightness (0: brightest 255: darkest pixels). • The histogram shows a wide band of gray values. Stingray Technical Manual V4.6.0...
Correction alone can compensate for shading by up to 50% and relies on full resolution data to minimize the generation of missing codes. The following flowchart shows the process in detail: Stingray Technical Manual V4.6.0...
Page 127
297. Note • The SHDG_CTRL register should not be queried at very short intervals. This is because each query delays the generation of the shading image. An optimal interval time is 500 ms. Stingray Technical Manual V4.6.0...
Page 128
• Changing binning modes involves the generation of new shading reference images due to a change in the image size. After the lens has been focused again the image below will be seen, but now with a considerably more uniform gradient. Stingray Technical Manual V4.6.0...
Loading a shading image out of the camera GPDATA_BUFFER is used to load a shading image out of the camera. Because the size of a shading image is larger than GPDATA_BUFFER, input must be handled in several steps: Stingray Technical Manual V4.6.0...
Page 130
Set AddrOffset to 0 Read n databytes GPDATA_BUFFER Repeat steps until Increase all data is read AddrOffset by n bytes Check EnableMemRD for no change Set EnableMemRD to false (0) Figure 59: Uploading shading image to host Stingray Technical Manual V4.6.0...
Set AddrOffset to 0 Write n databytes GPDATA_BUFFER Repeat steps until Increase all data is written AddrOffset by n bytes Check EnableMemWR for no change Set EnableMemWR to false (0) Figure 60: Loading the shading reference image Stingray Technical Manual V4.6.0...
328. Look-up table (LUT) and gamma function The Stingray camera provides one user-defined LUT. The use of this LUT allows any function (in the form Output = F(Input)) to be stored in the camera's RAM and to be applied on the individual pixels of an image at run-time.
Write n databytes GPDATA_BUFFER Repeat steps until Offset is increased all data is written in camera after n bytes are written Check EnableMemWR for no change Set EnableMemWR to false (0) Figure 62: Loading an LUT Stingray Technical Manual V4.6.0...
2. example mono- 50% brightness 50% brightness chrome of corrected value of pixel value 50% brightness 50% brightness of pixel value of pixel value 3. example Figure 63: Mechanisms of defect pixel correction Stingray Technical Manual V4.6.0...
2 out of 8 horizontal sub-sampling, 2 out of 8 vertical sub-sampling detect defect pixels with 0 x horizontal sub-sampling and 2 out of 8 vertical sub-sampling Flow diagram of defect pixel correction The following flow diagram illustrates the defect pixel detection: Stingray Technical Manual V4.6.0...
Page 136
in FPGA. Optional you can store the data in a non-volatile memory (Set MemSave to 1). Note Configuration To configure this feature in an advanced register: See Table 141 on page 301. Stingray Technical Manual V4.6.0...
• less than (mean value - threshold) 6. Set the BuildDPData flag to 1. In microcontroller the defect pixel calculation is started. The detected defect pixel coordinates are stored in the dual port RAM of the FPGA. Stingray Technical Manual V4.6.0...
– Stored volatile: in dual port RAM – Stored non-volatile: in EEPROM Load non-volatile stored defect pixel data 1. Set the MemLoad flag to 1. All non-volatile stored defect pixel coordinates within the EEPROM are loaded into the dual port RAM. Stingray Technical Manual V4.6.0...
1. Set EnaMemWR flag to 1. Defect pixel data is transferred from host to dual port RAM. DPC data: storing mechanism MemWrite MemRead Dual port FPGA Build Load Save µC Non- Host volatile memory Figure 65: DPC data: storing mechanism Stingray Technical Manual V4.6.0...
Definition. Binning is the process of combining neighboring pixels while being read out from the CCD chip. Note • Only Stingray monochrome cameras and Stingray F- 201C/F-504C have this feature • Stingray F-201C: color binning • Stingray F-504C: usual binning (no color binning) •...
This reduces vertical resolution, depending on the model. Figure 66: Vertical binning 4x vertical binning combines 4 pixels to 1 pixel in a row. Note For Stingray F-201C only 2x vertical binning is available. Note If vertical binning is activated the image may appear to be over-exposed and may require correction.
Horizontal resolution Horizontal resolution is lowered, depending on the model. Format_7 Mode_1 By default and without further remapping use Format_7 Mode_1 for 2 x horizontal binning. Figure 67: 2 x horizontal binning 4x horizontal binning combines 4 pixels to 1 pixel in a row.i Stingray Technical Manual V4.6.0...
Description of the data path Figure 68: 8 x horizontal binning Note For Stingray F-201C only 2x horizontal binning is available. Note The image appears horizontally compressed in this mode and does no longer show true aspect ratio. ...
CCD chip. Which Stingray models have sub-sampling? All Stingray models, both color and monochrome, have this feature. Description of sub-sampling Sub-sampling is used primarily for reducing the number of pixels and thus the...
Page 145
2 out of 8 only F-145, F-146, F-201, F504C Figure 74: Horizontal sub-sampling 2 out of 8 (color) Note The image appears horizontally compressed in this mode and no longer exhibits a true aspect ratio. Stingray Technical Manual V4.6.0...
Page 146
The different sub-sampling patterns are shown below. 2 out of 4 2 out of 8 (only F-145, F-146, F-201) Figure 75: Vertical sub-sampling (monochrome) 2 out of 4 2 out of 8 (only F-145, F-146, F-201) Figure 76: Vertical sub-sampling (color) Stingray Technical Manual V4.6.0...
Page 147
The different sub-sampling patterns are shown below. 2 out of 4 H+V sub-sampling Figure 77: 2 out of 4 H+V sub-sampling (monochrome) 2 out of 8 H+V sub-sampling (only F-145, F-146, F-201) Figure 78: 2 out of 8 H+V sub-sampling (monochrome) Stingray Technical Manual V4.6.0...
Page 148
2 out of 8 H+V sub-sampling (only F-145, F-146, F-201) Figure 80: 2 out of 8 H+V sub-sampling (color) Note Changing sub-sampling modes involves the generation of new shading reference images due to a change in the image size. Stingray Technical Manual V4.6.0...
315) and are uploaded automatically into the camera on camera reset. • The default settings (per factory) in the Format_7 modes are listed in the following table. Format_7 Stingray monochrome cameras Format_7 Stingray color cameras Format_7 Mode_0 full resolution, no binning, full resolution, no sub-sampling no sub-sampling...
Page 150
Description of the data path Format_ID (see p315) Allied Vision modes F7 modes according to IIDC 1394 0 x horizontal 2 x horizontal F7M0 (no change) 0 x vertical 4 x horizontal F7M1 8 x horizontal 0 x horizontal F7M2...
FVal Figure 82: Former standard timing Principally, a Stingray camera is not able to recognize how many parameter the user will change. Due to the fact that communication between host and camera is asynchronous, it may happen that one part of parameter changes is done in image n+1 and the other part is done in image n+2.
Page 152
• Shutter will be interrupted, if the update command is received while camera integrates. • Delay from shutter update until change takes place is always 1 frame. Figure 83: Quick Format Change Mode Stingray Technical Manual V4.6.0...
In the Encapsulated Update (begin/end) the exact sequence is as follows: 1. Parameter update begin (advanced feature register) 2. Standard IIDC register update (1 to N register) (standard feature register) 3. Parameter update end (advanced feature register) Stingray Technical Manual V4.6.0...
Page 154
FPGA – Quick Format Change Mode (QFCM): waits until all parameters have been copied to the FPGA and may interrupt an already started integra- tion for a new integration with the new settings Stingray Technical Manual V4.6.0...
Page 155
• If the host updates more than one parameter (without block write), the parameters may become active in different images. • Standard Update (IIDC) can be combined with the new parameter update timing modes. Stingray Technical Manual V4.6.0...
Table 53: Standard Update (IIDC): comparison of Standard Format Change Mode and QFCM Packed 12-Bit Mode All Stingray cameras have Packed 12-Bit Mode. This means: two 12-bit pixel values are packed into 3 bytes instead of 4 bytes. B/w cameras...
8-bit original bit depth. • Select 16-bit image format in order to take advantage of the full potential SNR and DNR (DyNamic Range) enhancements. • For 8-bit video modes, the internal HSNR calculations are done with 14-bit. Stingray Technical Manual V4.6.0...
Stingray cameras are equipped with 32 MB of RAM (Stingray F-504: 64 MB). The table below shows how many frames can be stored by each model. The memory operates according to the FIFO (first in, first out) principle.
Page 159
IEEE 1394 chipset of the camera. The following screenshot shows the sequence of commands needed to work with deferred mode: Figure 84: Example: Controlling deferred mode (SmartView - Direct Access; Stingray F-145C) Stingray Technical Manual V4.6.0...
F1000260 wr F0F00614 00000000h Stop continuous mode of camera rd F0F00614 00000000h Starting SmartView Table 56: Example: Controlling deferred mode (SmartView - Direct Access; Stingray F-145C) FastCapture mode Note This mode can be activated only in Format_7. By setting FastCapture to false, the maximum frame rate both for image acquisition and read out is associated with the packet size set in the BYTE_PER_PACKET register.
The color sensors capture the color information via so-called primary color (R-G- B) filters placed over the individual pixels in a BAYER mosaic layout. An effective BAYER RGB color interpolation already takes place in all Stingray color version cameras.
Sharpness The Stingray color models are equipped with a four-step sharpness control, applying a discreet horizontal high pass in the Y channel as shown in the next five line profiles.
Page 163
Table 57: Sharpness scheme Figure 87: Sharpness: left: 2, middle: 3, right: 4 Note Sharpness does not show any effect on Stingray color models in the Raw8, Raw12 and Raw16 format, because color processing is switched off in all Raw formats.
The spectral response of a CCD is different of those of an output device or the human eye. This is the reason for the fact that perfect color reproduction is not possible. In each Stingray camera there is a factory setting for the color correction coefficients, see chapter GretagMacbeth ColorChecker on page 171.
Page 165
The color correction matrix subtracts out this overlap. Color correction in Allied Vision cameras In Allied Vision cameras the color correction is realized as an additional step in the process from the sensor data to color output. Color correction is used to harmonize colors for the human eye.
Page 166
Switch color correction on/off Color correction can also be switched off in YUV mode: Note Configuration To configure this feature in an advanced register: See Table on page 307. Note Color correction is deactivated in RAW mode. Stingray Technical Manual V4.6.0...
Serial interface All Stingray cameras are equipped with the SIO (serial input/output) feature as described in IIDC V1.31. This means that the Stingray’s serial interface can be used as a general RS232 interface. Data written to a specific address in the IEEE 1394 address range will be sent through the serial interface.
Page 168
Note • Hardware handshaking is not supported. • Typical PC hardware does not usually support 230400 bps or more. Base address for the function is: F0F02100h. To configure this feature in access control register (CSR): Stingray Technical Manual V4.6.0...
Page 169
Buffer_Size_Inq [24 to 31] Buffer Size (RD only) This field indicates the maximum size of receive/transmit data buffer. If this value=1, Buffer_Status_Control and SIO_Data_Register Char 1-3 should be ignored. Table 58: Serial input/output control and status register (SIO CSR) Stingray Technical Manual V4.6.0...
Page 170
0: no error (to clear status) 1: Ignored [14] Receive data parity error Read: current status 0: no error (to clear status) 1: Ignored [15 to 31] Reserved Table 58: Serial input/output control and status register (SIO CSR) (continued) Stingray Technical Manual V4.6.0...
Page 171
RD: Read character from receive buf- fer+3 WR: Write character to transmit buf- fer+3 104h SIO_DATA_REGIS- [0 to 31] Alias SIO_Data_Register area for block TER_ALIAS transfer 1FFH Table 58: Serial input/output control and status register (SIO CSR) (continued) Stingray Technical Manual V4.6.0...
Page 172
• Should you need detailed support to use this feature, please contact support@alliedvision.com. • Allied Vision recommends the use of Hyperterminal™ or other communication programs to test the functionality of this feature. Alternatively, use SmartView to try out this feature.
Software trigger Stingray cameras know also a trigger initiated by software (status and control register 62Ch on page 272 or in SmartView by Trig/IO tab, Stop trigger button).
Grabbing exactly one image based on the first external trigger. • Filling the camera's internal image buffer with one external trigger without overriding images. • Grabbing an unlimited amount of images after one external trigger (surveillance). Stingray Technical Manual V4.6.0...
Page 175
The figure below illustrates this mode. External Trigger input, after inverting optocoupler N x image; N: continuous, one_shot, multi_shot Figure 89: Trigger_Mode_15 (bulk trigger) The functionality is controlled via bit [6] and bitgroup [12 to 15] of the following register: Stingray Technical Manual V4.6.0...
Page 176
[12 to 15] Trigger_Mode (Trigger_Mode_0 to 15) [16 to 19] Reserved Parameter [20 to 31] Parameter for trigger function, if required (optional) Table 60: Trigger_Mode_15 (Bulk trigger) The screenshots below illustrate the use of Trigger_Mode_15 on a register level: Stingray Technical Manual V4.6.0...
Page 177
To repeat rewrite line three. To repeat rewrite line three. Table 61: Description: using Trigger_Mode_15: continuous, one-shot, multi-shot Figure 90: Using Trigger_Mode_15: continuous, one-shot, multi-shot Note Shutter for the images is controlled by shutter register. Stingray Technical Manual V4.6.0...
Controlling image capture Trigger delay As already mentioned earlier Stingray cameras feature various ways to delay image capture based on external trigger. With IIDC V1.31 there is a standard CSR at register F0F00534/834h to control a delay up to FFFh x time base value.
Page 179
Reserved ON_OFF Trigger delay on/off [7 to 10] Reserved DelayTime [11 to 31] Delay time in μs Table 64: Advanced CSR: trigger delay The advanced register allows start of the integration to be delayed by maximum Stingray Technical Manual V4.6.0...
Edge mode, programmable mode: trigger is automatically reset (self cleared) • Level mode: trigger is active until software trigger register is reset manually in advanced register 62Ch on page 272: set bit [0] to 0 in SmartView: Trig/IO tab, Stop trigger button Stingray Technical Manual V4.6.0...
Increment is 500 ns • Debounce time is set in Time x 500 ns • Minimum debounce time is 1.5 μs 3 x 500 ns • Maximum debounce time is ~16 ms (2 -1) x 500 ns Stingray Technical Manual V4.6.0...
The shutter register value is multiplied by the time base register value (see Table on page 289). The default value here is set to 20 μs. A camera-specific offset is also added to this value. It is different for the camera models: Stingray Technical Manual V4.6.0...
Register value Time base (default) Stingray F-033 20 μs Table 67: Register value and time base for Stingray F-033 The following example shows the relation between register value and exposure time in practice: register value x time base = exposure time 100 x 20 μs + 27 μs = 2027 μs exposure time...
Stop/Start of FireView or FireDemo. One-shot Stingray cameras can record an image by setting the one-shot bit in the 61Ch register. This bit is automatically cleared after the image is captured. If the camera is placed in ISO_Enable mode (see chapter ISO_Enable / free-run page 188), this flag is ignored.
Page 185
F0F00830 82000000 Switch on external trigger mode 0. F0F00830 80000000 Check trigger status. F0F00614 00000000 Stop free-run. F0F00614 80000000 Check Iso_Enable mode (free-run). F0F00614 00000000 This line is produced by SmartView. Table 69: One-shot control: descriptions Stingray Technical Manual V4.6.0...
FRAME_BUFFER before being transmitted to the bus. The time from the end of exposure to the start of transport on the bus is: 710 μs ± 62.5 μs This time jitters with the cycle time of the bus (125 μs). Stingray Technical Manual V4.6.0...
Multi-shot can also be combined with the external trigger in order to grab a certain number of images based on an external trigger. This is especially helpful in combination with the so-called deferred mode to limit the number of grabbed images to the FIFO size. Stingray Technical Manual V4.6.0...
IEEE 1394 bus. It is generated by holding the Shift key down while clicking on Write. • Line 2 generates a broadcast one_shot in the same way, which forces all connected cameras to simultaneously grab one image. Stingray Technical Manual V4.6.0...
Controlling image capture Jitter at start of exposure This section discusses the latency time that exists for all Stingray CCD models when either a hardware or software trigger is generated, until the actual image exposure starts. Owing to the well-known fact that an Interline Transfer CCD sensor has both a light sensitive area and a separate storage area, it is common to interleave image exposure of a new frame and output that of the previous one.
Controlling image capture Sequence mode Generally, all Stingray cameras enable certain image settings to be modified on the fly. For example, gain and shutter can be changed by the host computer by writing into the gain and shutter register even while the camera is running. An uncertainty of up to 3 images remains because normally the host does not know (especially with external trigger) when the next image will arrive.
There is a FIFO (first in first out) memory for each of the IIDC V1.31 registers listed above. The depth of each FIFO is fixed to 32(dec) complete sets. Functionality is controlled by the following advanced registers. Stingray Technical Manual V4.6.0...
Page 192
MaxLength consecutive images. Note The sequence mode of the Stingray series behaves slightly different than the sequence mode of e.g., the Marlin series and implements some new controlling features. You may use a sequence with internal or external trigger and with the Deferred Transport feature.
Page 193
Setting the ImageRepeat field to 0 has the same effect like setting this field to Stingray Technical Manual V4.6.0...
Page 194
Manual stepping observes the repeat counter also. For some application it could be useful to reset the sequence during runtime. Simply set the PerformReset flag to one: the sequence starts over with the very first parameter set. Stingray Technical Manual V4.6.0...
Page 195
ImageNo Disable SetupMode Start sequence in MultiShot or ISOEnable mode Figure 95: Sequence mode flow diagram During sequencing, the camera obtains the required parameters image by image from the corresponding FIFOs (e.g. information for exposure time). Stingray Technical Manual V4.6.0...
Level change is asynchronous to image change. Table 75: Description of sequence stepping control The I/O controlled sequence stepping mode can be set for every single sequence entry. Thus, a sequence can be controlled in a very flexible manner. Stingray Technical Manual V4.6.0...
AutoRewind flag. For this reason it is important to set the flag before the multi-shot or IsoEnable commands. • If the sequence is used with the deferred transport feature, the number of images entered in Seq_Length may not be exceeded. Stingray Technical Manual V4.6.0...
Page 198
Instead of Firetool you also can use SmartView (Version 1.8.0 or greater), but image and transfer formats have to be unchanged (height, width, ColorID). To open the Sequence editor in SmartView: 1. Click Extras Sequence dialog Stingray Technical Manual V4.6.0...
• Sequence mode requires special care if changing image size and frame rate related parameters. This is because these changes not only affect settings in the camera but also require corresponding settings in the receiving software in the PC (e.g. FirePackage). Stingray Technical Manual V4.6.0...
Secure image signature (SIS): definition and scenarios Note For all customers who know SIS from Marlin cameras: • Stingray cameras have additional SIS features: AOI, exposure/gain, input/output state, index of sequence mode and serial number. • Read carefully the following chapter.
Details can be found in the respective documentation. Note More information: The handling of the SIS feature is fully described in the chapter Secure image signature (SIS) on page 316. Stingray Technical Manual V4.6.0...
Video formats, modes and bandwidth Video formats, modes and bandwidth The different Stingray models support different video formats, modes, and frame rates. These formats and modes are standardized in the IIDC (formerly DCAM) specification. Resolutions smaller than the maximum sensor resolution are generated from the center of the sensor and without binning.
640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16 Table 76: Video fixed formats Stingray F-033B/F-033C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Note Table 77 on page 204 shows default Format_7 modes without Format_7 mode mapping.
Page 204
108 fps 2 out of 4 H+V sub-sampling Mono8,Raw8 108 fps 2 out of 4 H+V sub-sampling RGB8 108 fps 2 out of 4 H+V sub-sampling Raw12 108 fps 2 out of 4 H+V sub-sampling Table 77: Video Format_7 default modes Stingray F-033B/F-033C Stingray Technical Manual V4.6.0...
RGB8 640 x 480 Mono8 640 x 480 Mono16 Table 78: Video fixed formats Stingray F-046B/F-046C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Note The following table shows default Format_7 modes without Format_7 mode mapping.
Page 206
2 out of 4 H+V sub-sampling Mono8,Raw8 79 fps 2 out of 4 H+V sub-sampling RGB8 79 fps 2 out of 4 H+V sub-sampling Raw12 79 fps 2 out of 4 H+V sub-sampling Table 79: Video Format_7 default modes Stingray F-046B/F-046C Stingray Technical Manual V4.6.0...
Mono8 800 x 600 Mono16 1024 x 768 Mono16 Table 80: Video fixed formats Stingray F-080B/F-080C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Note The following table shows default Format_7 modes without Format_7 mode mapping.
Page 208
2 out of 4 H+V-sub-sampling Mono8,Raw8 39 fps 2 out of 4 H+V-sub-sampling RGB8 39 fps 2 out of 4 H+V-sub-sampling Raw12 39 fps 2 out of 4 H+V sub-sampling Table 81: Video Format_7 default modes Stingray F-080B/F-080C Stingray Technical Manual V4.6.0...
1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 82: Video fixed formats Stingray F-125B/F-125C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Stingray Technical Manual V4.6.0...
Page 210
Note The following table shows default Format_7 modes without Format_7 mode mapping. • see chapter Mapping of possible Format_7 modes to F7M1 toF7M7 on page 150 • see chapter Format_7 mode mapping on page 315 Stingray Technical Manual V4.6.0...
Page 211
2 out of 4 H+V-sub-sampling Raw12 30 fps 2 out of 4 H+V sub-sampling Table 83: Video Format_7 default modes Stingray F-125B/F-125C #: Vertical sub-sampling is done via digitally concealing certain lines, so the frame rate is not frame rate = f (AOI height) frame rate = f (2 x AOI height) Stingray Technical Manual V4.6.0...
1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 84: Video fixed formats Stingray F-145B/F-145C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Stingray Technical Manual V4.6.0...
Page 213
Note The following table shows default Format_7 modes without Format_7 mode mapping. • see chapter Mapping of possible Format_7 modes to F7M1 toF7M7 on page 150 • see chapter Format_7 mode mapping on page 315 Stingray Technical Manual V4.6.0...
Page 214
2 out of 4 H+V-sub-sampling Mono8,Raw8 16 fps 2 out of 4 H+V-sub-sampling RGB8 16 fps 2 out of 4 H+V-sub-sampling Raw12 16 fps 2 out of 4 H+V sub-sampling Table 85: Video Format_7 default modes Stingray F-145B/F-145C Stingray Technical Manual V4.6.0...
Page 215
Video formats, modes and bandwidth #: Vertical sub-sampling is done via digitally concealing certain lines, so the frame rate is not frame rate = f (AOI height) frame rate = f (2 x AOI height) Stingray Technical Manual V4.6.0...
1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 86: Video fixed formats Stingray F-146B/F-146C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Stingray Technical Manual V4.6.0...
Page 217
Note The following table shows default Format_7 modes without Format_7 mode mapping. • see chapter Mapping of possible Format_7 modes to F7M1 toF7M7 on page 150 • see chapter Format_7 mode mapping on page 315 Stingray Technical Manual V4.6.0...
Page 218
2 out of 4 H+V-sub-sampling Mono8,Raw8 15 fps 2 out of 4 H+V-sub-sampling RGB8 15 fps 2 out of 4 H+V-sub-sampling Raw12 15 fps 2 out of 4 H+V sub-sampling Table 87: Video Format_7 default modes Stingray F-146B/F-146C Stingray Technical Manual V4.6.0...
Page 219
Video formats, modes and bandwidth #: Vertical sub-sampling is done via digitally concealing certain lines, so the frame rate is not frame rate = f (AOI height) frame rate = f (2 x AOI height) Stingray Technical Manual V4.6.0...
1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 88: Video fixed formats Stingray F-201B/F-201C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Stingray Technical Manual V4.6.0...
Page 221
Note The following table shows default Format_7 modes without Format_7 mode mapping. • see chapter Mapping of possible Format_7 modes to F7M1 toF7M7 on page 150 • see chapter Format_7 mode mapping on page 315 Stingray Technical Manual V4.6.0...
Page 222
2 out of 4 H-sub-sampling Mono8,Raw8 14 fps 2 out of 4 H-sub-sampling RGB8 14 fps 2 out of 4 H-sub-sampling Raw12 14 fps 2 out of 4 H-sub-sampling Table 89: Video Format_7 default modes Stingray F-201B/F-201C Stingray Technical Manual V4.6.0...
Page 223
2 out of 4 H+V sub-sampling Raw12 14 fps 2 out of 4 H+V sub-sampling Table 89: Video Format_7 default modes Stingray F-201B/F-201C (continued) #: Vertical sub-sampling is done via digitally concealing certain lines, so the frame rate is not...
1600 x 1200 RGB8 1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 90: Video fixed formats Stingray F-504B/F-504C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with IEEE 1394b (S800). Note The following table shows default Format_7 modes without Format_7 mode mapping.
Page 225
2 out of 4 H+V sub-sampling Raw12 9 fps 2 out of 4 H+V sub-sampling Table 91: Video Format_7 default modes Stingray F-504B/F-504C #: Vertical sub-sampling is done via digitally concealing certain lines, so the frame rate is not Stingray Technical Manual V4.6.0...
AF_AREA_POSITION and AF_AREA_SIZE contain in the respective bits values for column and line of the upper left corner and values for the width and height. Note For more information see Table 123 on page 278. Stingray Technical Manual V4.6.0...
•The time for transferring the image over the FireWire Ñ¢ bus •The length of the exposure time Autofunction AOI Feature to select the image area (work area) for the following auto functions: • Auto shutter • Auto gain • Auto white balance Stingray Technical Manual V4.6.0...
Frame rates The IEEE 1394b bus has bandwidth of at least 62.5 MB/s for transferring (isochronously) image data. Therefore, up to 8192 bytes per cycle (or around 2000 quadlets = 4 bytes@ 800 Mb/s) can be transmitted. Stingray Technical Manual V4.6.0...
Page 229
The bandwidth is determined by the required image resolution and by the number of cameras that have be operated independently on a bus in a certain mode. Abbreviations (used according IIDC IEEE 1394-based Digital Camera Specification): • H: line/packet • p: pixel/packet • q: quadlet/packet Stingray Technical Manual V4.6.0...
Page 230
S400. The same camera, run at S800 would require only 32% of the available bandwidth. Thus, up to three cameras can be connected to the bus at S800. Stingray Technical Manual V4.6.0...
Page 232
• IEEE 1394 adapter cards with PCILynx chipsets (predecessor of OHCI) have a limit of 4000 bytes per cycle. The frame rates in video modes 0 to 2 are specified and set fixed by IIDC V1.31. Stingray Technical Manual V4.6.0...
364.89 473.67 591.17 656.29 Table 96: Stingray F-033 frame rate as a function of AOI height [width=656] * CCD = theoretical maximum frame rate (in fps) of CCD according to given formula **only with max BPP=1100; see chapter Maximum ISO packet size...
Page 235
Video formats, modes and bandwidth RAW8 RAW12, YUV411 RAW16, YUV422 RGB8 AOI height / pixel Figure 101: Stingray F-046 frame rate as a function of AOI height [width=780] AOI height CCD* RAW8 RAW12 RAW16 YUV411 YUV422 RGB8 61.79 73.06 103.13 129.87...
RGB8 168.37 185.69 193.80 Table 99: Stingray F-125 frame rate as a function of AOI height [width=1292] (continued) * CCD = theoretical maximum frame rate (in fps) of CCD according to given formula Stingray F-145B/F-145C (including board level variants): AOI frame rates -------------------------------------------------------------------------------------------------------------------------------------------------------------- - Max.
Page 239
24.40 28.43 36.46 42.46 56.37 74.74 80.57 83.17 Table 100: Stingray F-145 frame rate as a function of AOI height [width=1388] * CCD = theoretical maximum frame rate (in fps) of CCD according to given formula Stingray Technical Manual V4.6.0...
67.09 94.21 103.51 107.76 Table 102: Stingray F-201 frame rate as a function of AOI height [width=1624] (continued) * CCD = theoretical maximum frame rate (in fps) of CCD according to given formula Stingray F-504B/F-504C (including board level variants): AOI frame rates -------------------------------------------------------------------------------------------------------------------------------------------------------------- - Max.
Page 243
23.88 28.48 31.51 37.51 43.76 45.44 46.15 Table 103: Stingray F-504 frame rate as a function of AOI height [width=2452] (continued) * CCD = theoretical maximum frame rate (in fps) of CCD according to given formula Stingray Technical Manual V4.6.0...
AOI_WIDTH AOI_HEIGHT ByteDepth 125μs Formula 18: Maximum frame rate calculation ByteDepth is based on the following values: Mode bit/pixel byte per pixel Mono8, Raw8 Mono12, Raw12 Mono16, Raw16 Table 104: ByteDepth Stingray Technical Manual V4.6.0...
Image 1 or another test image. Table 105: Loading test images in different viewers Test images for monochrome cameras Stingray monochrome cameras have two test images that look the same. Both images show a gray bar running diagonally. • Image 1 is static.
The color camera outputs Bayer-coded raw data in Mono8 instead of (as described in IIDC V1.31) a real Y signal. Note The first pixel of the image is always the red pixel from the sensor. (Mirror must be switched of) Stingray Technical Manual V4.6.0...
FireView or by other programs developed using an API library (e.g. FirePackage). Every register is 32 bit (big endian) and implemented as follows (MSB = Most Significant Bit; LSB = Least Significant Bit): Far left Figure 109: 32-bit register Stingray Technical Manual V4.6.0...
8D) point to the offset factors rather than 41Ch the offset (e.g. 420h) itself. 420h 424h Table 107: Configuration ROM The entry with key 8D in the root directory (420h in this case) provides the offset for the Node unique ID leaf. Stingray Technical Manual V4.6.0...
Page 253
438h Unit directory 43Ch 440h Table 110: Configuration ROM The entry with key D4 in the unit directory (440h in this case) provides the offset for unit dependent info: 440h + 0000xx * 4 = 444h Stingray Technical Manual V4.6.0...
Page 254
FFFF F0000000h + 3C0000h x 4 = FFFF F0F00000h The base address of the camera control register is thus: FFFF F0F00000h The offset entered in the table always refers to the base address of F0F00000h. Stingray Technical Manual V4.6.0...
Format_0 Up to VGA (non compressed) Format_1 SVGA to XGA Format_2 SXGA to UXGA Format_3 [3 to 5] Reserved Format_6 Still Image Format Format_7 Partial Image Format [8 to 31] Reserved Table 113: Format inquiry register Stingray Technical Manual V4.6.0...
[17 to Reserved One_Shot_Inq [19] One-shot transmission capability Multi_Shot_Inq [20] Multi-shot transmission capability [21 to Reserved Memory_Channel [28 to Maximum memory channel number (N) If 0000, no user memory available Table 116: Basic function inquiry register Stingray Technical Manual V4.6.0...
Capture_Size [16] Capture_Size for Format_6 Capture_Quality [17] Capture_Quality for Format_6 [16 to 31] Reserved 40Ch OPT_FUNCTION_INQ Reserved Parallel Input/Output control Serial Input/Output control Strobe_out [4 to 31] Strobe signal output Table 117: Feature presence inquiry register Stingray Technical Manual V4.6.0...
Page 268
(vendor unique) 48Ch Strobe_Output_CSR_Inq Strobe_Output_Quadlet_Off [0 to 31] Quadlet offset of the Strobe_Output signal CSR's from the base address of initial register space (vendor unique) Table 117: Feature presence inquiry register (continued) Stingray Technical Manual V4.6.0...
Same definition as Brightness_inq. 51Ch SHUTTER_INQ Same definition as Brightness_inq. 520h GAIN_INQ Same definition as Brightness_inq. 524h IRIS_INQ Always 0 528h FOCUS_INQ Always 0 52Ch TEMPERATURE_INQ Same definition as Brightness_inq. Table 118: Feature elements inquiry register Stingray Technical Manual V4.6.0...
Page 270
ID=7 Trigger_Mode0_Inq [16] Presence of Trigger_Mode 0 Trigger_Mode1_Inq [17] Presence of Trigger_Mode 1 Trigger_Mode2_Inq [18] Presence of Trigger_Mode 2 Trigger_Mode3_Inq [19] Presence of Trigger_Mode 3 [20 to 31 Reserved Table 118: Feature elements inquiry register (continued) Stingray Technical Manual V4.6.0...
Page 271
Always 0 58Ch OPTICAL_FILTER_INQ Always 0 Reserved for other Always 0 FEATURE_LO_INQ 5BCh 5C0h CAPTURE_SIZE_INQ Always 0 5C4h CAPTURE_QUALITY_INQ Always 0 5C8h Reserved for other Always 0 FEATURE_LO_INQ 5FCh Table 118: Feature elements inquiry register (continued) Stingray Technical Manual V4.6.0...
1: Set software trigger (self cleared, when using edge mode; must be set back to 0 manually, when using level mode) Read: 0: Ready (meaning: it’s possible to set a software trigger) 1: Busy (meaning: no trigger possible) Table 119: Status and control registers for camera Stingray Technical Manual V4.6.0...
1: Auto [8 to 19] Reserved Value [20 to 31] Value. Write the value in Auto mode, this field is ignored If ReadOut capability is not available, read value has no meaning Table 121: Feature control register Stingray Technical Manual V4.6.0...
Page 275
[8 to 19] U value / B value B_Value Write the value in AUTO mode, this field is ignored If ReadOut capability is not available, read value has no meaning Table 121: Feature control register (continued) Stingray Technical Manual V4.6.0...
Page 276
279 830h TRIGGER_MODE Can be effected via advanced feature IO_INP_CTRLx 834h Reserved for other Always 0 FEATURE_HI 87Ch 880h Zoom Always 0 884h Always 0 888h TILT Always 0 Table 121: Feature control register (continued) Stingray Technical Manual V4.6.0...
The quadlet offset to the base address for Format_7 Mode_1, which can be read out at F0F002E4h (according to Table 115 on page 257) gives 003C2400h. 4 x 003C2400h = F09000h so that the base address for the latter (Table 123 page 278) equals F0000000h + F09000h = F0F09000h. Stingray Technical Manual V4.6.0...
Page 278
• Contrary to IIDC V1.31, COLOR_CODING_ID is set to a default value after an INITIALIZE or reset. • Contrary to IIDC V1.31, the UnitBytePerPacket field is already filled in with a fixed value in the PACKET_PARA_INQ register. Stingray Technical Manual V4.6.0...
From -10 °C to +65 °C the temperature accuracy is: +1.5 °C / -2.0 °C Advanced features (Allied Vision-specific) The camera has a variety of extended features going beyond the possibilities described in IIDC V1.31. The following chapter summarizes all available (Allied Vision-specific) advanced features in ascending register order. Stingray Technical Manual V4.6.0...
If a camera returns the register set to all zero, that particular camera does not support the extended version information. The FPGA type ID (= camera type ID) identifies the camera type with the help of the following list (BL = board level): Stingray Technical Manual V4.6.0...
This means that you can enter a value in the range of 1 to 4095. Stingray cameras use a time base that is multiplied by the shutter register value. This multiplier is configured as the time base via the TIMEBASE register.
Page 289
(according to former software versions). Time base in μs Default value 1000 Table 132: Time base ID Note The ABSOLUTE VALUE CSR register, introduced in IIDC V1.3, is not implemented. Stingray Technical Manual V4.6.0...
• Extended shutter becomes inactive after writing to a format / mode / frame rate register. • Extended shutter setting will thus be overwritten by the normal time base/shutter setting after Stop/Start of FireView or FireDemo. Stingray Technical Manual V4.6.0...
Configuration of the camera Permanent Data Storage Stingray cameras with S/N 319438848 to 335544319 offer the Permanent Data Storage (PDS), using the non-volatile memory (Flash) to permanently store data on the camera, such as machine settings, text files, color correction data, or compressed images.
Page 292
4. Write n data bytes to GPDATA_BUFFER (n might be lower than the size of the GPDATA_BUFFER; AddrOffset is automatically adjusted inside the camera). This may take up to 400 ms 5. Repeat step 4 until all data is read from the camera. 6. Set EnableMemWR to false. Stingray Technical Manual V4.6.0...
Page 293
Erasing data on the camera Note Erasing the data storage may take up to 30 s. To erase the data storage: 1. Set EraseMem to true (1). EraseMem is automatically reset to false (0). This cannot be polled. Stingray Technical Manual V4.6.0...
Presence of test image 7 0: N/A 1: Available [15 to 27] Reserved TestImage_ID [28 to 31] 0: No test image active 1: Image 1 active 2: Image 2 active … Table 135: Advanced register: Test images Stingray Technical Manual V4.6.0...
(read only) [1 to 2] Reserved BitsPerValue [3 to 7] Bits used per table item NumOfLuts [8 to 15] Maximum number of look-up tables MaxLutSize [16 to 31] Maximum LUTsize (bytes) Table 136: Advanced register: LUT Stingray Technical Manual V4.6.0...
Page 296
LUT entries (gray levels): that is 2 with n=number of bits read from sensor. Note Stingray cameras have the gamma feature implemented via a built-in LUT. Therefore, gamma and LUT cannot be used at the ...
[16 to 19] Indicates memory channel error. See Table 137 on page MemoryChannel [20 to 23] Set memory channel number for save and load operations GrabCount [24 to 31] Number of images Table 137: Advanced register: Shading Stingray Technical Manual V4.6.0...
Page 298
Shading image data may also be generated by the camera. To use this feature make sure all settings affecting an image are set properly. The camera uses the current active resolution to generate the shading image. To generate a shading image: Stingray Technical Manual V4.6.0...
[2 to 31] Reserved 0xF1000274 FRAMECOUNTER FrameCounter [0 to 31] Number of captured frames since last reset Table 140: Advanced register: Frame information The FrameCounter is incremented when an image is read out of the sensor. Stingray Technical Manual V4.6.0...
Save defect pixel data to storage MemLoad Load defect pixel data from storage ZeroDPData [10] Zero defect pixel data [11 to 17] Reserved Mean [18 to 24] Calculated mean value (7 bit) Table 141: Advanced register: Defect pixel correction Stingray Technical Manual V4.6.0...
Input/output pin control Note • See chapter Input/output pin control on page 93 • See chapter IO_INP_CTRL 1-2 on page 94 • See chapter IO_OUTP_CTRL 1-4 on page 98 • See chapter Output modes on page 100 Stingray Technical Manual V4.6.0...
In this case, read the EXTENDED_SHUTTER register for the current active shutter time. Changing the auto shutter range might not affect the regulation, if the regulation is in a stable condition and no other condition affecting the image brightness is changed. Stingray Technical Manual V4.6.0...
If the adjustment fails and the work area size and/or work area position becomes invalid, then this feature is automatically switched of Read back the ON_OFF flag, if this feature does not work as expected. Stingray Technical Manual V4.6.0...
2000. Reserved for 0xF10003A4 testing purposes Do not touch! 0xF10003FC Table 146: Advanced register: Color correction For an explanation of the color correction matrix and for further information read chapter Color correction on page 164. Stingray Technical Manual V4.6.0...
Field Description 0xF1000410 MIRROR_IMAGE Presence_Inq Indicates presence of this feature (read only) [1 to 5] Reserved ON_OFF Mirror image on/off 1: on 0: off Default: off [7 to 31] Reserved Table 148: Advanced register: Mirror image Stingray Technical Manual V4.6.0...
The reset can be delayed by setting the Delay to a value unequal to 0. The delay is defined in 10 ms steps. Note When SOFT_RESET has been defined, the camera will respond to further read or write requests but will not process them. Stingray Technical Manual V4.6.0...
Subsequently stopping and starting acquisition will not change this, either. • Writing the HIGH_SNR register is only effective if done while the camera is not actively acquiring. Stingray Technical Manual V4.6.0...
• to is not covered by the IEEE 1394 specification • to may not work with all available IEEE 1394 host adapters Note We strongly recommend to use PCI-X (64 bit) or PCI Express adapter. Stingray Technical Manual V4.6.0...
Format_7 mode has been issued. Quick parameter change timing modes You can choose between the following update timing modes: • Standard Parameter Update Timing (slightly modified from previous Stingray cameras) • Quick Format Change Mode Stingray Technical Manual V4.6.0...
Page 313
To switch on Quick Format Change Mode do the following: 1. Set UpdTiming to 2. 2. Set UpdActive to 1. 3. Be aware that all parameter values have to be set within 10 seconds. Stingray Technical Manual V4.6.0...
Set video mode 0 0xF0F08008 0x00000000 Set image position 0xF0F0800C 0x028001E0 Set image size 0xF0F08044 0x04840484 Set BytePerPacket value 0xF0F0080C 0x80000100 Set shutter to 0x100 0xF0F00820 0x80000080 Set gain to 0x80 Table 155: Example: parameter list Stingray Technical Manual V4.6.0...
Format_7 modes. There are visible Format_7 modes and internal Format_7 modes: • At any time only 8 Format_7 modes can be accessed by a host computer. • Visible Format_7 modes are numbered from 0 to 7. Stingray Technical Manual V4.6.0...
Definition Secure image signature (SIS) is the synonym for data, that is inserted into an image to improve or check image integrity. All Stingray models can, for example, insert into a selectable line position within the image: Stingray Technical Manual V4.6.0...
Page 317
-1to-HeightOfImage to specify a position relative to the bottom of the image. LinePos=-1 specifies the very last image line. SIS UserValue can be written into the camera’s image. In sequence mode for every sequence entry an own SIS UserValue can be written. Stingray Technical Manual V4.6.0...
Page 318
The following three examples allow you: • A: to access cycle time either via UniAPI or via byte array • B: to extract cycle offset, cycles and seconds • C: to combine cycle offset/cycles/seconds to a valid time Stingray Technical Manual V4.6.0...
Page 319
Register Name Field Description 0xF1000610 FRMCNT_STAMP Presence_Inq Indicates presence of this feature (read only) Reset Reset frame counter [2 to 31] Reserved 0xF1000614 FRMCNT [0 to 31] Frame counter Table 161: Advanced register: Frame counter Stingray Technical Manual V4.6.0...
Page 320
Note The 4 bytes of the trigger counter value will be inserted as the 9th to 12th byte of a line. Additionally, there is a register for direct read out of the trigger counter value. Stingray Technical Manual V4.6.0...
Page 321
Byte 38 Byte 39 Byte 40 Serial number [7 to 0] Serial number [15 to 8] Serial number [23 to 16] Serial number [31 to 24] Table 163: All SIS values (increasing order of transmitted pixels) Stingray Technical Manual V4.6.0...
Adv3 tab, activate Disable LED functionality check box. The camera does not show any more the status indicators during normal operation: Examples: • Power on is not shown • Isochronous traffic is not shown • Asynchronous traffic is not shown Stingray Technical Manual V4.6.0...
In any case profile #0 is the hard-coded factory profile and cannot be overwritten. After an initialization command, startup or reset of the camera, the ProfileID also indicates which profile was loaded on startup, reset, or initialization. Stingray Technical Manual V4.6.0...
Page 324
The ErrorCode field is set to zero on the next write access. Other ways to reset the ErrorCode: • Writing to the USER_PROFILE register with the SaveProfile, RestoreProfile and SetDefaultID flag not set. • Writing 00000000h to the USER_PROFILE register. Stingray Technical Manual V4.6.0...
Page 325
• If a restore operation fails or the specified profile does not exist, all registers will be overwritten with the hard- coded factory defaults (profile #0). • Data written to this register will not be reflected in the standard memory channel registers. Stingray Technical Manual V4.6.0...
Configuration of the camera Pulse-width modulation (PWM): Stingray housing and board level cameras Note Table 30 on page 102. GPDATA_BUFFER GPDATA_BUFFER is a general purpose register that regulates the exchange of data between camera and host for: • writing look-up tables (LUTs) into the camera •...
Page 327
Bit depth Description 8 bit L0 L1 L2 L3L3 L2 L1 L0 L: low byte 16 bit L0 H0 L1 H1H1 L1 H0 L0 H: high byte Table 169: Swapped first quadlet at address offset 0 Stingray Technical Manual V4.6.0...
Third part: Minor Indicates small changes Old: represented the number after the dot Forth part: Bug fix Indicates bug-fixing only (no changes of a feature) or build number Table 170: New version number (microcontroller and FPGA) Stingray Technical Manual V4.6.0...
+0/-50 μm (optical back focal length) α ± 0.5° (center rotation as the deviation from the parallel to the camera bottom) Table 171: Criteria of Allied Vision sensor position accuracy Note x/y tolerances between C-Mount hole and pixel area may be higher.
Need help?
Do you have a question about the STINGRAY and is the answer not in the manual?
Questions and answers