Table of Contents

Advertisement

Quick Links

AVT Stingray
Technical Manual
V4.4.2
15 April 2011
Allied Vision Technologies GmbH
Taschenweg 2a
D-07646 Stadtroda / Germany

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Stingray and is the answer not in the manual?

Questions and answers

Summary of Contents for Allied Stingray

  • Page 1 AVT Stingray Technical Manual V4.4.2 15 April 2011 Allied Vision Technologies GmbH Taschenweg 2a D-07646 Stadtroda / Germany...
  • Page 2: Legal Notice

    Allied 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. Trademarks Unless stated otherwise, all trademarks appearing in this document of Allied Vision Technologies are brands protected by law.
  • Page 3: Table Of Contents

    Requirements for laptop and 1394b ................ 41 Example 1: 1394b bandwidth of Stingray cameras ............. 43 Example 2: More than one Stingray camera at full speed ..........44 FireWire Plug & play capabilities................. 45 FireWire hot-plug and screw-lock precautions ............... 45 Operating system support ..................
  • Page 4 Stingray W270 (2 x 1394b copper) .................. 83 Stingray W270 (1394b: 1 x GOF, 1 x copper) ..............84 Stingray W270 S90 (2 x 1394b copper) ................85 Stingray W270 S90 (1394b: 1 x GOF, 1 x copper) ............... 86 Stingray Compact......................87 Cross section: CS-Mount....................88 Cross section: C-Mount ....................
  • Page 5 Output modes....................108 Pulse-width modulation (Stingray housing and Stingray board level models) ....110 PWM: minimal and maximal periods and frequencies ..........111 PWM: Examples in practice .................. 112 Pixel data........................113 Description of the data path ..............119 Block diagrams of the cameras ..................119 Black and white cameras ..................
  • Page 6 Horizontal binning (F-201C only 2 x horizontal binning) ..........154 2 x full binning/4 x full binning/8 x full binning (F-201C only 2 x full binning)....156 Sub-sampling (Stingray b/w and color) ................157 What is sub-sampling? .................... 157 Which Stingray models have sub-sampling? ..............157 Description of sub-sampling..................
  • Page 7 SIS: Definition ....................... 217 SIS: Scenarios......................217 Video formats, modes and bandwidth ..........219 Stingray F-033B / Stingray F-033C and board level F-033B BL / F-033C BL ................220 Stingray F-046B / Stingray F-046C and board level F-046B BL / F-046C BL ................222 Stingray F-080B / Stingray F-080C...
  • Page 8 Stingray F-033/F-033 BL: AOI frame rates ..............250 Stingray F-046/F-046 BL: AOI frame rates ..............251 Stingray F-080/F-080 BL: AOI frame rates ..............252 Stingray F-125/F-125 BL: AOI frame rates ..............253 Stingray F-145/F-145 BL: AOI frame rates ..............254 Stingray F-146/F-146 BL: AOI frame rates ..............
  • Page 9 User profiles ......................341 Error codes ....................... 342 Reset of error codes ................... 343 Stored settings ....................343 Pulse-width modulation (PWM): Stingray housing and board level cameras...... 344 GPDATA_BUFFER..................... 345 Little endian vs. big endian byte order..............345 Appendix ........................346...
  • Page 10 Sensor position accuracy of AVT GigE cameras..............346 Firmware update ....................347 Extended version number (FPGA/µC)................347 Index .........................348 STINGRAY Technical Manual V4.4.2...
  • Page 11: Contacting Allied Vision Technologies

    38 Washington Street Newburyport, MA 01950, USA Toll Free number +1-877-USA-1394 Tel.: +1 978-225-2030 Fax: +1 978-225-2029 e-mail: info@alliedvisiontec.com Allied Vision Technologies Asia Pte. Ltd. 82 Playfair Road #07-02 D’Lithium Singapore 368001 Tel: +65 6634-9027 Fax: +65 6634-902 e-mail: info@alliedvisiontec.com...
  • Page 12: Introduction

    Introduction Introduction This STINGRAY Technical Manual describes in depth the technical specifica- tions, dimensions, all camera features (IIDC standard and AVT smart fea- tures) and their registers, trigger features, all video and color formats, band- width and frame rate calculation.
  • Page 13 Date Remarks continued from last page V2.1.0 23.05.08 Added 4 x and 8 x binning in Chapter Binning (only Stingray b/w and F-201C/504C) on page [continued] [continued] 150ff. Added 2 out of 8 sub-sampling in Chapter Sub-sampling (Stin- gray b/w and color) on page 156ff.
  • Page 14 Added detailed level values of I/Os in Chapter Camera I/O con- nector pin assignment on page 96. Rounded shutter speeds in Chapter Specifications on page 50. to be continued on next page Table 1: Document history STINGRAY Technical Manual V4.4.2...
  • Page 15 Figure 102: Data flow and timing after end of exposure on page 204. 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...
  • Page 16 Introduction Version Date Remarks continued from last page V3.0.0 08.10.08 New Stingray board level CAD drawing with name of screws M2x14 ISO7045-A2 (2x): – Figure 41: Stingray board level: CS-Mount on page 91 – Figure 42: Stingray board level: C-Mount...
  • Page 17 Introduction Version Date Remarks continued from last page V4.0.0 21.10.08 New Stingray F-504B/C: Read information in the following sec- tions: • Table 19: Specification STINGRAY F-504B/C (fiber) on page 64f. • Table 55: FIFO memory size on page 173 •...
  • Page 18 1394b copper) on page 81 Revised Chapter White balance on page 121ff Memory size (Internal FIFO memory) of Stingray F-125 is 12 frames in Table 15: Specification STINGRAY F-125B/C (fiber) page 56 and in Table 55: FIFO memory size on page 173...
  • Page 19 SIS feature: standardized terminology, added examples in Chapter Secure image signature (SIS): definition and scenarios on page 217 Stingray cameras do not support storing shading image data into non-volatile memory, see Table 139: Advanced register: Shading on page 312 (0XF1000250 bit 8 to 10)
  • Page 20 Table 21: LEDs showing normal condi- tions on page 99 • Stingray F-504 cameras are also available with 64 MByte internal FIFO memory (instead of 32 MByte): – Table 19: Specification STINGRAY F-504B/C (fiber) page 64 and –...
  • Page 21 95 – Figure 46: Board level camera: I/O pin assignment page 97 2x/4x/8x binning: Stingray F-504C has now also the usual 2x/4x/8x binning (no color binning): see Chapter Binning (only Stingray b/w and F- 201C/504C) on page 150ff. and Chapter...
  • Page 22 • Chapter Spectral sensitivity on page 66ff. Added RGB8 in fixed formats: • Table 77: Video fixed formats Stingray F-033B / F-033C page 220 • Table 79: Video fixed formats Stingray F-046B / F-046C page 222 • Table 85: Video fixed formats Stingray F-145B / F-145C...
  • Page 23 46 V4.4.2 15.04.11 • Added sensitivity curves for Stingray F-125B/F-125C: Figure 16: Spectral sensitivity of Stingray F-125B page 70 and Figure 17: Spectral sensitivity of Stingray F-125C (without IR cut filter) on page 70 C-/CS-Mount no more adjustable, for modifications contact Customer Care and send camera to AVT: •...
  • Page 24: Manual Overview

    (incl. documentation) and where to get it. • Chapter STINGRAY cameras on page 29 gives you a short introduction to the STINGRAY cameras with their FireWire technology. Links are provided to data sheets and brochures on AVT website. • Chapter Conformity on page 30 gives you information about conformity of AVT cameras.
  • Page 25 IIDC conform as well as AVT-specific camera features. • Chapter Controlling image capture on page 190 describes trigger modi, exposure time, one-shot/multi-shot/ISO_Enable features. Additionally special AVT features are described: sequence mode and secure image signature (SIS). STINGRAY Technical Manual V4.4.2...
  • Page 26: Conventions Used In This Manual

    Bold Programs, inputs or highlighting important things Input Courier Code listings etc. Upper case Register REGISTER Italics Modes, fields Mode Parentheses and/or blue Links (Link) Table 2: Styles Symbols Note This symbol highlights important information.  STINGRAY Technical Manual V4.4.2...
  • Page 27: More Information

    • Hardware Installation Guide describes the hardware installation proce- dures for all 1394 AVT cameras (Dolphin, Oscar, Marlin, Guppy, Pike, Stingray). Additionally you get safety instructions and information about camera interfaces (IEEE1394a/b copper and GOF, I/O connectors, input and output).
  • Page 28: Before Operation

    To demonstrate the properties of the camera, all examples in this manual are based on the FirePackage OHCI API  software and the SmartView application. These utilities can be obtained from Allied Vision Technologies (AVT). A free version of SmartView is avail-  able for download at: www.alliedvisiontec.com...
  • Page 29: Stingray Cameras

    STINGRAY cameras STINGRAY cameras Stingray With Stingray cameras, entry into the world of digital image processing is simpler and more cost-effective than ever before. IEEE 1394b With the new Stingray, Allied Vision Technologies presents a wide range of cameras with IEEE 1394b interfaces. Moreover, with daisy chain as well as direct fiber technology they gain the highest level of acceptance for demand- ing areas of use in manufacturing industry.
  • Page 30: Conformity

    Conformity Conformity Allied Vision Technologies declares under its sole responsibility that all stan- dard cameras of the AVT Stingray family to which this declaration relates are in conformity with the following standard(s) or other normative docu- ment(s): • CE, following the provisions of 2004/108/EG directive...
  • Page 31: Firewire

    IEEE Std. 1394-1995 • the IEEE Std. 1394a-2000 amendment • the IEEE Std. 1394b-2002 amendment FireWire is used to connect digital cameras, especially in industrial systems for machine vision. Advantages Advantages over USB are: STINGRAY Technical Manual V4.4.2...
  • Page 32: Why Use Firewire

    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. STINGRAY Technical Manual V4.4.2...
  • Page 33 This deterministic feature is a huge advantage for many industrial applications where robust performance is required. Such is the case when it is not acceptable to drop images within a specific time interval. STINGRAY Technical Manual V4.4.2...
  • Page 34: Firewire Connection Capabilities

    Multiple devices (up to 45 W) powered via FireWire bus IIDC V1.3 camera control standards IIDC V1.3 released a set of camera control standards via 1394a which estab- lished a common communications protocol on which most current FireWire cameras are based. STINGRAY Technical Manual V4.4.2...
  • Page 35: Capabilities Of 1394B (Firewire 800)

    I/O and RS232 handling, and adding further formats. At such high band- widths it has become possible to transmit high-resolution images to the PC’s memory at very high frame rates. STINGRAY Technical Manual V4.4.2...
  • Page 36: Compatibility Between 1394A And 1394B

    FireWire cable -1x Interlock IEEE 1394a; (1x Interlock) 4.5 m, K1200091 for Marlin / Oscar / Guppy FireWire cable -1x Interlock IEEE 1394a; (1x Interlock) 6.0 m, K1200160 for Marlin / Oscar / Guppy Table 3: 1394 locking cables STINGRAY Technical Manual V4.4.2...
  • Page 37: Compatibility Example

    Compatibility example It’s possible to run a 1394a and a 1394b camera on the 1394b bus. You can e.g. 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) •...
  • Page 38: Image Transfer Via 1394A And 1394B

    (round trip delay), reducing efficiency Table 4: Technical detail comparison: 1394a and 1394b Note The bandwidth values refer to the fact: 1 MByte = 1024 kByte  STINGRAY Technical Manual V4.4.2...
  • Page 39: 1394B Bandwidths

    How does bandwidth affect the frame rate? page 258. Requirements for PC and 1394b One Stingray camera connected to a PC’s 1394b bus can saturate the standard PCI bus. 1394b also requires low latency for data transmission (due to small receive- FIFO).
  • Page 40 FireWire • PCI ExpressCard with potential 250 MByte/s per lane (up to 6 supported by chipset) or • 64-bit PCI-X card (160 MByte/s) Figure 5: Block diagram of modern PC (X38 chipset by INTEL) STINGRAY Technical Manual V4.4.2...
  • Page 41: Requirements For Laptop And 1394B

    For non-Intel based laptops (e.g. AMD), PCI Express compatible chipset Because most laptops have (only) one PC-card interface, it is possible to con- nect one Stingray camera to your laptop at full speed. Alternatively laptops with an additional 1394 ExpressCard interface can be used.
  • Page 42 FireWire Figure 6: Cardbus adapter with two screw locks (AVT order number E3000104) Figure 7: ExpressCard Logo, ExpressCard/54 (SIIG) STINGRAY Technical Manual V4.4.2...
  • Page 43: Example 1: 1394B Bandwidth Of Stingray Cameras

    FireWire Figure 8: ExpressCard technology ExpressCard is a new standard set by PCMCIA. For more information visit:  http://www.expresscard.org/web/site/ Example 1: 1394b bandwidth of Stingray cameras STINGRAY model Resolution Frame rate Bandwidth Stingray F-033 B/C megapixel 84 fps 27.11 MByte/s Stingray F-046 B/C 0.45 megapixel...
  • Page 44: Example 2: More Than One Stingray Camera At Full Speed

    Due to the fact that one Stingray camera can, depending on its settings, sat- urate a 32-bit PCI bus, you are advised to use either a PCI Express card and/ or multiple 64-bit PCI bus cards, if you want to use 2 or more Stingray cam- eras simultaneously (see the following table).
  • Page 45: Firewire Plug & Play Capabilities

    PC. Whereas inrush current is not a problem for one Stingray camera, daisy chaining multi- ple cameras or supplying bus power via (optional) HIROSE power out to circuitry with unknown inrush cur- rents needs careful design considerations to be on the safe side.
  • Page 46: Operating System Support

    Microsoft. This means, applications using the MS1394 driver will continue to work. Windows 7 Full support Full support Table 7: FireWire and operating systems For more information see AVT Software Selector Guide: http://www.alliedvisiontec.com/emea/support/  downloads/software.html STINGRAY Technical Manual V4.4.2...
  • Page 47: Filter And Lenses

    IR cut filter: spectral transmission The following illustration shows the spectral transmission of the IR cut filter: Figure 9: Spectral transmission of Hoya C5000 Note Stingray uses a different IR cut filter than the other AVT cameras.  STINGRAY Technical Manual V4.4.2...
  • Page 48: Camera Lenses

    132 mm x 99 mm 50 mm 43 mm x 32 mm 91 mm x 68 mm Table 8: Focal length vs. field of view (Stingray F-080) Focal length Distance = 500 mm Distance = 1000 mm for type 1/2 sensors...
  • Page 49 198 mm x 147 mm 50 mm 65 mm x 48 mm 136 mm x 101 mm Table 10: Focal length vs. field of view (Stingray F-201) Focal length Distance = 500 mm Distance = 1000 mm for type 2/3 sensors...
  • Page 50: Specifications

    Programmable, trigger level control, single trigger, bulk trigger, programmable trigger delay Internal FIFO memory 32 MByte, up to 50 frames User programmable (12 bit  10 bit); default gamma (0.45) Look-up tables Table 12: Specification STINGRAY F-033B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 51 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 12: Specification STINGRAY F-033B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 52: Stingray F-046B/C (Fiber)

    Only color: AWB (auto white balance), color correction, hue, satura- tion Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 13: Specification STINGRAY F-046B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 53 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 13: Specification STINGRAY F-046B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 54: Stingray F-080B/C (Fiber)

    AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 14: Specification STINGRAY F-080B/C fiber STINGRAY Technical Manual V4.4.2...
  • Page 55 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 14: Specification STINGRAY F-080B/C fiber Note The design and specifications for the products described above may change without notice. ...
  • Page 56: Stingray F-125B/C (Fiber)

    AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 15: Specification STINGRAY F-125B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 57 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 15: Specification STINGRAY F-125B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 58: Stingray F-145B/C (Fiber)

    AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 16: Specification STINGRAY F-145B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 59 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 16: Specification STINGRAY F-145B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 60: Stingray F-146B/C (Fiber)

    AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 17: Specification STINGRAY F-146B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 61 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 17: Specification STINGRAY F-146B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 62: Stingray F-201B/C (Fiber)

    AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 18: Specification STINGRAY F-201B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 63 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 18: Specification STINGRAY F-201B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 64: Stingray F-504B/C (Fiber)

    AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs RS232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s Table 19: Specification STINGRAY F-504B/C (fiber) STINGRAY Technical Manual V4.4.2...
  • Page 65 On request Host adapter card, angled head, power out: 6 W (HIROSE) Software packages API (FirePackage, Active FirePackage, Fire4Linux) Table 19: Specification STINGRAY F-504B/C (fiber) Note The design and specifications for the products described above may change without notice. ...
  • Page 66: Spectral Sensitivity

    All measurements were done without protection glass / without filter.  The uncertainty in measurement of the QE values is 10%. This is due to: • Manufacturing tolerance of the sensor • Uncertainties in the measuring apparatus itself (Ulbricht-Kugel/Ulbricht sphere, optometer, etc.) STINGRAY Technical Manual V4.4.2...
  • Page 67 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 10: Spectral sensitivity of Stingray F-033B Sensor Response Green Blue Wavelength [nm] Figure 11: Spectral sensitivity of Stingray F-033C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 68 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 12: Spectral sensitivity of Stingray F-046B Sensor Response Green Blue Wavelength [nm] Figure 13: Spectral sensitivity of Stingray F-046C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 69 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 14: Spectral sensitivity of Stingray F-080B Sensor Response Green Blue Wavelength [nm] Figure 15: Spectral sensitivity of Stingray F-080C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 70 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 16: Spectral sensitivity of Stingray F-125B Sensor Response Green Blue Wavelength [nm] Figure 17: Spectral sensitivity of Stingray F-125C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 71 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 18: Spectral sensitivity of Stingray F-145B Sensor Response Green Blue Wavelength [nm] Figure 19: Spectral sensitivity of Stingray F-145C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 72 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 20: Spectral sensitivity of Stingray F-146B Sensor Response Green Blue Wavelength [nm] Figure 21: Spectral sensitivity of Stingray F-146C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 73 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 22: Spectral sensitivity of Stingray F-201B Sensor Response Green Blue Wavelength [nm] Figure 23: Spectral sensitivity of Stingray F-201C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 74 Specifications Sensor Response Monochrome 1000 1100 Wavelength [nm] Figure 24: Spectral sensitivity of Stingray F-504B Sensor Response Green Blue Wavelength [nm] Figure 25: Spectral sensitivity of Stingray F-504C (without IR cut filter) STINGRAY Technical Manual V4.4.2...
  • Page 75: Camera Dimensions

     rotation ) see Chapter Sensor position accuracy of AVT GigE cameras on page 346. For information on the Stingray Compact (modular con- cept) see xxxx and Modular Concept. Serial numbers for starting new front flange Camera model E-number Starting ...
  • Page 76: Stingray Standard Housing (2 X 1394B Copper)

    Camera dimensions STINGRAY standard housing (2 x 1394b copper) M3x3 (3x) 13.4 9.1 - 0.0 M3x4 (4x) 57.5 -Mount M3x3 (3x) 66.6 72.9 Stingray (2x IEEE 1394b) 72.9 x 44 x 29 (L x W x H) Figure 26: Camera dimensions (2 x 1394b copper)
  • Page 77: Stingray (1394B: 1 X Gof, 1 X Copper)

    Camera dimensions STINGRAY (1394b: 1 x GOF, 1 x copper) M3x3 (3x) 13.4 9.1 - 0.0 57.5 C-Mount M3x4 (2x) M3x3 (3x) 66.6 73.6 Stingray (1394b: 1x GOF, 1x COP) 73.6 x 44 x 29 (L x W x H) Figure 27: Camera dimensions (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V4.4.2...
  • Page 78: Tripod Adapter

    Tripod adapter This five hole tripod adapter (AVT order number E 5000007) ... • ... can be used for Stingray as well as for Marlin. The original four hole adapter of the Marlin should not be used with Stingray. •...
  • Page 79: Stingray W90 (2 X 1394B Copper)

    M3 x3 (3x) 32.8 55.5 M3 x4 (2x) M3 x3 (3x) C-Mount 92.3 Stingray W90 (2x IEEE 1394b) 92.3 x 44 x 38.1 (L x W x H) Figure 29: Stingray W90 (2 x 1394b copper) STINGRAY Technical Manual V4.4.2...
  • Page 80: Stingray W90 (1394B: 1 X Gof, 1 X Copper)

    55.5 M3 x4 (2x) M3 x3 (3x) -Mount Stingray W90 (1394b: 1x GOF, 1x COP) 93 x 44 x 38.1 (L x W x H) Figure 30: Stingray W90 (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V4.4.2...
  • Page 81: Stingray W90 S90 (2 X 1394B Copper)

    M3 x3 (3x) 47.8 M3 x4 (2x) 55.5 C-Mount M3 x3 (3x) 107.3 Stingray W90S90 (2x IEEE 1394b) 107.3 x 44 x 41.6 (L x W x H) Figure 31: Stingray W90 S90 (2 x 1394b copper) STINGRAY Technical Manual V4.4.2...
  • Page 82: Stingray W90 S90 (1394B: 1 X Gof, 1 X Copper)

    M3 x4 (2x) 55.5 -Mount M3 x3 (3x) Stingray W90S90 (1394b: 1x GOF, 1x COP) 108 x 44 x 41.6 (L x W x H) Figure 32: Stingray W90 S90 (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V4.4.2...
  • Page 83: Stingray W270 (2 X 1394B Copper)

    M3 x3 (3x) C-Mount 32.8 55.5 M3 x4 (2x) M3 x3 (3x) 92.3 Stingray W270 (2x IEEE 1394b) 92.3 x 44 x 38.1 (L x W x H) Figure 33: Stingray W270 (2 x 1394b copper) STINGRAY Technical Manual V4.4.2...
  • Page 84: Stingray W270 (1394B: 1 X Gof, 1 X Copper)

    32.8 M3 x4 (2x) 55.5 M3 x3 (3x) Stingray W270 (1394b: 1x GOF, 1x COP) 93 x 44 x 38.1 (L x W x H) Figure 34: Stingray W270 (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V4.4.2...
  • Page 85: Stingray W270 S90 (2 X 1394B Copper)

    M3 x3 (3x) 47.8 55.5 M3 x4 (4x) M3 x3 (3x) 107.3 Stingray W270S90 (2x IEEE 1394b) 107.3 x 44 x 41.6 (L x W x H) Figure 35: Stingray W270 S90 (2 x 1394b copper) STINGRAY Technical Manual V4.4.2...
  • Page 86: Stingray W270 S90 (1394B: 1 X Gof, 1 X Copper)

    M3 x3 (3x) 47.8 55.5 M3 x4 (2x) M3 x3 (3x) Stingray W270S90 (1394b: 1xGOF, 1xCOP) 108 x 44 x 41.6 (L x W x H) Figure 36: Stingray W270 S90 (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V4.4.2...
  • Page 87: Stingray Compact

    C-Mount 3.4 (3x) 44.8 53.3 Stingray Compact (2x IEEE 1394b) 53.3 x 45 x 51.3 (L x W x H) Figure 37: Stingray Compact (2 x 1394b copper. No angled heads. No fiber option. 145 g) STINGRAY Technical Manual V4.4.2...
  • Page 88: Cross Section: Cs-Mount

    Camera dimensions Cross section: CS-Mount All Stingray cameras can be delivered with CS-Mount. maximum protrusion: filter / protection glass Adjustment spacer CS-Mount Figure 38: Stingray CS-Mount dimension Note Pay attention to the maximum sensor size of the applied CS-Mount lens.
  • Page 89: Cross Section: C-Mount

    10.1 filter / protection glass Adjustment spacer C-Mount Figure 39: Stingray C-Mount dimensions Adjustment of C-Mount and CS-Mount The dimensional adjustment cannot be done any more by the customer. All modifications have to be done by the AVT factory. If you need any modifications, please contact Customer Care: For phone...
  • Page 90: Stingray Board Level: Dimensions

    M2x10 (4x) sensor board 2x IEEE 1394b front flange with C-Mount adapter Sensor - Pin1 2.3 mm 2x HOLE 2.3 mm 2.9mm PTH Pixel 1,1 Figure 40: Stingray board level dimensions STINGRAY Technical Manual V4.4.2...
  • Page 91: Stingray Board Level: Cs-Mount

    + processor board + IO board + flex cable + sensor board PCB spacer (4x) spacer M2x10 (4x) Ø2.2 ISO7089-A2 (4x) Stingray board level version: C-Mount M2 ISO4032-A2 (4x) Figure 41: Stingray board level: CS-Mount STINGRAY Technical Manual V4.4.2...
  • Page 92: Stingray Board Level: C-Mount

    + processor board + IO board + flex cable + sensor board PCB spacer (4x) spacer M2x10 (4x) Ø2.2 ISO7089-A2 (4x) Stingray board level version: C-Mount M2 ISO4032-A2 (4x) Figure 42: Stingray board level: C-Mount STINGRAY Technical Manual V4.4.2...
  • Page 93: Camera Interfaces

    The other connector can be used to daisy chain a second camera. • 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 dealer for more details. STINGRAY Technical Manual V4.4.2...
  • Page 94 Camera interfaces For more information on cables and on ordering cables online (by clicking the article and sending an inquiry) go  http://www.alliedvisiontec.com/emea/products/accessories/ firewire-accessories.html STINGRAY Technical Manual V4.4.2...
  • Page 95: Board Level Camera: Ieee 1394B Port Pin Assignment

    Camera interfaces Board level camera: IEEE 1394b port pin assignment Board level STINGRAY cameras have two 1394b ports to allow daisy chaining of cameras. They have the same pin assignment as the STINGRAY housing cameras. 13-pole I/O connector: [Molex 1.25mm Pitch PicoBlade Wire-to-Board Header (53047-1310)]...
  • Page 96: Camera I/O Connector Pin Assignment

    For a detailed description of the I/O connector and its  operating instructions see the Hardware Installation Guide, Chapter STINGRAY input description. Read all Notes and Cautions in the Hardware Installation Guide, before using the I/O connector. STINGRAY Technical Manual V4.4.2...
  • Page 97: Board Level Camera: I/O Pin Assignment

    FFC45 cable IO-AD-Board processor board interface board spacer M2x10 (4x) sensor board 2x IEEE 1394b front flange with C-Mount adapter 2.3 mm 2x HOLE 2.3 mm 2.9mm PTH Figure 46: Board level camera: I/O pin assignment STINGRAY Technical Manual V4.4.2...
  • Page 98: Status Leds

    • Setting bit [17] to 1, see Table 166: Advanced register:  Software feature control (disable LEDs) on page 340 • Activating Disable LED functionality check box in SmartView (Adv3 tab). Error conditions will be shown although LEDs are switched off. STINGRAY Technical Manual V4.4.2...
  • Page 99: Normal Conditions

    1-5 pulse Stack setup 1 pulse Stack start 2 pulse No FLASH object 1 pulse No DCAM object 1 pulse Register mapping 3 pulse VMode_ERROR_STATUS 1 pulse FORMAT_7_ERROR_1 2 pulse FORMAT_7_ERROR_2 3 pulse Table 22: Error codes STINGRAY Technical Manual V4.4.2...
  • Page 100: Control And Video Data Signals

    Inputs Note For a general description of the inputs and warnings see the Hardware Installation Guide, Chapter STINGRAY input  description. The optocoupler inverts all input signals. Inversion of the signal is controlled via the IO_INP_CTRL1..2 register (see...
  • Page 101: Input/Output Pin Control

    0: Signal not inverted 1: Signal inverted [8..10] Reserved InputMode [11..15] Mode Table 24: Input routing page 102 [16..30] Reserved PinState [31] RD: Current state of pin 0xF1000304 IO_INP_CTRL2 Same as IO_INP_CTRL1 Table 23: Advanced register: Input control STINGRAY Technical Manual V4.4.2...
  • Page 102: Io_Inp_Ctrl 1-2

    Input 1 0x03 Reserved 0x06 Sequence Step 0x07 Sequence Reset 0x08..0x1F Reserved Table 24: Input routing Note If you set more than 1 input to function as a trigger input, all trigger inputs are ANDed.  STINGRAY Technical Manual V4.4.2...
  • Page 103: Trigger Delay

    Camera interfaces Trigger delay Stingray cameras feature various ways to delay image capture based on exter- nal 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 104 Delay time in µs Table 27: Trigger delay advanced CSR The advanced register allows the start of the integration to be delayed by max. 2 µs, which is max. 2.1 s after a trigger edge was detected. STINGRAY Technical Manual V4.4.2...
  • Page 105: Outputs

    • This feature works with external Trigger_Mode_0 only. Outputs Note For a general description of the outputs and warnings see the Hardware Installation Guide, Chapter STINGRAY out-  put description. Output features are configured by software. Any signal can be placed on any output.
  • Page 106: Output Modes

    Camera interfaces Output mode selectable Polarity via software selectable via software Operation state IntEna read FVal Busy Opto- Output signal PulseWidthMod WaitingForTrigger Coupler Operation state read Figure 49: Output block diagram STINGRAY Technical Manual V4.4.2...
  • Page 107 Field Description 0xF1000320 IO_OUTP_CTRL1 Presence_Inq Indicates presence of this feature (read only) PWMCapable All Stingray cameras (housing and board level): Indicates if an output pin supports the PWM feature. Table 31: PWM configura- tion registers on page 110. [2..6] Reserved...
  • Page 108 0x07 Busy Output 2 0x08 Follow corresponding input (Inp1 Out1, Inp2  Out2) 0x09 PWM (=pulse-width modulation) Stingray housing 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 109 IntEna delayed FrameValid (FVal) Busy WaitingForTrigger (only edge mode) Figure 50: 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.4.2...
  • Page 110: Pulse-Width Modulation (Stingray Housing And Stingray Board Level Models)

    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 (with additional external electronics) for motorized speed control or autofocus control.
  • Page 111: Pwm: Minimal And Maximal Periods And Frequencies

    In the following formulas you find the minimal/maximal periods and frequen- cies for the pulse-width modulation (PWM). period 3µs  frequency ---------------------- -------- 333.33kHz period 3µs frequency ------------------------ - 15.26Hz 6 – 10 s  period ------------------------------ - µs frequency Formula 1: Minimal/maximal period and frequency STINGRAY Technical Manual V4.4.2...
  • Page 112: Pwm: Examples In Practice

    Set PWM with 250 Hz at 12% pulse width. RegPeriod ---------------------------------------- - -------------------------------- - 4000 6 – 6 – 10 s 10 s frequency 250Hz   RegPulseWidth RegPeriod 12% 4000 12% Formula 3: PWM example 2 STINGRAY Technical Manual V4.4.2...
  • Page 113: Pixel Data

    Each pixel has a range of 256 or 16384 (Packed 12-Bit Mode: 4096) shades of gray. • The digital value 0 is black and 255 or 16383 (Packed 12-Bit Mode: 4095) is white. In 16-bit mode the data output is MSB aligned. STINGRAY Technical Manual V4.4.2...
  • Page 114 Each component has 8-bit data. <YUV8 (4:1:1) format> (K+0) (K+0) (K+1) (K+0) (K+2) (K+3) (K+4) (K+4) (K+5) (K+4) (K+6) (K+7) (K+Pn-8) (K+Pn-8) (K+Pn-7) (K+Pn-8) (K+Pn-6) (K+Pn-5) (K+Pn-4) (K+Pn-4) (K+Pn-3) (K+Pn-4) (K+Pn-2) (K+Pn-1) Table 35: YUV8 (4:1:1) format: Source: IIDC V1.31 STINGRAY Technical Manual V4.4.2...
  • Page 115 Table 36: Y (Mono8) format: Source: IIDC V1.31 / Y (Raw8) format: AVT <Y (Mono16/Raw16) format> Y component has 16-bit data. <Y (Mono16) format> High byte Low byte (K+0) (K+1) (K+2) (K+3) (K+Pn-4) (K+Pn-3) (K+Pn-2) (K+Pn-1) Table 37: Y (Mono16) format: Source: IIDC V1.31 STINGRAY Technical Manual V4.4.2...
  • Page 116 Each component (Y, R, G, B) has 8-bit data. The data type is Unsigned Char. Y, R, G, B Signal level (decimal) Data (hexadecimal) Highest 0xFF 0xFE 0x01 Lowest 0x00 Figure 52: Data structure of Mono8, RGB8; Source: IIDC V1.31 / Y(Mono8/Raw8) format: AVT STINGRAY Technical Manual V4.4.2...
  • Page 117 Figure 53: Data structure of YUV8; Source: IIDC V1.31 <Y(Mono16)> Y component has 16-bit data. The data type is Unsigned Short (big-endian). Signal level (decimal) Data (hexadecimal) Highest 65535 0xFFFF 65534 0xFFFE 0x0001 Lowest 0x0000 Figure 54: Data structure of Y(Mono16); Source: IIDC V1.31 STINGRAY Technical Manual V4.4.2...
  • Page 118 <Y(Mono12)> 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) (AVT) STINGRAY Technical Manual V4.4.2...
  • Page 119: Description Of The Data Path

    Setting LUT = OFF effectively makes full use of the 14 bit by bypassing the LUT circuitry; setting LUT = ON means that the most significant 12 bit of the 14 bit are used and further down converted to 10 bit. STINGRAY Technical Manual V4.4.2...
  • Page 120: Color Cameras

    Setting LUT = OFF effectively makes full use of the 14 bit by bypassing the LUT circuitry; setting LUT = ON means that the most significant 12 bit of the 14 bit are used and further down converted to 10 bit. STINGRAY Technical Manual V4.4.2...
  • Page 121: White Balance

    • auto white balance (AWB): continuously optimizes the color character- istics of the image 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.
  • Page 122 If readout capability is not available, read- ing this field has no meaning. Table 40: White balance register The values in the U/B_Value field produce changes from green to blue; the V/R_Value field from green to red as illustrated below. STINGRAY Technical Manual V4.4.2...
  • Page 123: One-Push White Balance

    Range Range in dB  10 dB Stingray color cameras 0 ... 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 ...
  • Page 124: Auto White Balance (Awb)

    WHITE_BALANCE register 80Ch. Auto white balance (AWB) The auto white balance feature continuously optimizes the color character- istics of the image. For the white balance algorithm the whole image or a subset of it is used. STINGRAY Technical Manual V4.4.2...
  • Page 125 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. STINGRAY Technical Manual V4.4.2...
  • Page 126: Auto Shutter

    Auto shutter In combination with auto white balance, 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.
  • Page 127 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 145: Advanced register: Auto shutter control on page 320. STINGRAY Technical Manual V4.4.2...
  • Page 128: Auto Gain

    Description of the data path Auto gain All Stingray cameras are equipped with auto gain feature. Note Configuration To configure this feature in an advanced register: See  Table 146: Advanced register: Auto gain control on page 321. When enabled auto gain adjusts the gain within the default gain limits or within the limits set in advanced register F1000370h in order to reach the brightness set in auto exposure register as reference.
  • Page 129 1: AUTO [8..19] Reserved Value [20..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.4.2...
  • Page 130 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 146: Advanced register: Auto gain control on page 321. STINGRAY Technical Manual V4.4.2...
  • Page 131: Manual Gain

    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 ana-...
  • Page 132 [8..19] Reserved Value [20..31] Read/Write Value; this field is ignored when writing the value in Auto or OFF mode; if readout capability is not avail- able reading this field has no meaning. Table 46: CSR: Brightness STINGRAY Technical Manual V4.4.2...
  • Page 133: Horizontal Mirror Function

    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 60: Mirror and Bayer order Note During switchover one image may be temporarily corrupted.
  • Page 134: Shading Correction

     build shading image with 0 x horizontal binning and 2 x vertical binning Second example 2 out of 8 horizontal sub-sampling, 2 out of 8 vertical sub-sampling  build shading image with 0 x horizontal sub-sampling and 2 out of 8 vertical sub-sampling STINGRAY Technical Manual V4.4.2...
  • Page 135: How To Store Shading Image

    (0: brightest  255: darkest pixels). • The histogram shows a wide band of gray values. By defocusing the lens, high-frequency image data is removed from the source image, therefore its not included in the shading image. STINGRAY Technical Manual V4.4.2...
  • Page 136: Automatic Generation Of Correction Data

    How to proceed: Set GrabCount to # of desired frames Set BuildImage Flag to true Poll SHGD_Control Register until Busy and BuildImage Flag are resetted Figure 62: Automatic generation of a shading image STINGRAY Technical Manual V4.4.2...
  • Page 137 • 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.4.2...
  • Page 138 • On the left you see the image after shading correction. • The surface plot on the right clearly shows nearly no more gradient of the brightness (0: brightest  255: darkest pixels). The remaining gra- STINGRAY Technical Manual V4.4.2...
  • Page 139: Loading A Shading Image Out Of The Camera

    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 64: Uploading shading image to host STINGRAY Technical Manual V4.4.2...
  • Page 140: Loading A Shading Image Into The Camera

    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 65: Loading the shading reference image STINGRAY Technical Manual V4.4.2...
  • Page 141: Look-Up Table (Lut) And Gamma Function

    345. Look-up table (LUT) and gamma function The AVT Stingray camera provides one user-defined look-up table (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.
  • Page 142 LUT with a user defined content, gamma functionality is no longer available until the next full initialization of the camera. • LUT content is volatile if you do not use the user pro- files to save the LUT. STINGRAY Technical Manual V4.4.2...
  • Page 143: Loading An Lut Into The Camera

    Figure 67: Loading an LUT Note Configuration • To configure this feature in an advanced register: See  Table 138: Advanced register: LUT on page 310. • For information on GPDATA_BUFFER: See Chapter GPDATA_BUFFER on page 345. STINGRAY Technical Manual V4.4.2...
  • Page 144: Defect Pixel Correction

    2. example 50% brightness 50% brightness of corrected value of pixel value 50% brightness 50% brightness of pixel value of pixel value 3. example color Figure 68: Mechanisms of defect pixel correction STINGRAY Technical Manual V4.4.2...
  • Page 145: Building Defect Pixel Correction Image In Format_7 Modes

     detect defect pixels with 0 x horizontal binning and 2 x vertical binning Second example 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 ver- tical sub-sampling STINGRAY Technical Manual V4.4.2...
  • Page 146: Flow Diagram Of Defect Pixel Correction

    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  143: Advanced register: Defect pixel correction on page 317. STINGRAY Technical Manual V4.4.2...
  • Page 147: Building Defect Pixel Data

    • 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.4.2...
  • Page 148: Reset Values (Resolution, Shutter, Gain, Brightness)

    – 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.4.2...
  • Page 149: Send Defect Pixel Data To The Host

    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 70: DPC data: storing mechanism STINGRAY Technical Manual V4.4.2...
  • Page 150: Binning (Only Stingray B/W And F-201C/504C)

    Definition Binning is the process of combining neighboring pixels while being read out from the CCD chip. Note • Only Stingray b/w cameras and Stingray F-201C/ F-504C have this feature.  • Stingray F-201C: color binning • Stingray F-504C: usual binning (no color binning) •...
  • Page 151: Vertical Binning

    Format_7 Mode_2 By default and without further remapping use Format_7 Mode_2 for 2 x vertical binning. This reduces vertical resolution, depending on the model. 2 x vertical binning Figure 71: 2 x vertical binning STINGRAY Technical Manual V4.4.2...
  • Page 152 (SNR) is increased by about 3, 6 or 9 dB (2 x, 4 x or 8 x  binning). Note If vertical binning is activated the image may appear to be over-exposed and may require correction.  STINGRAY Technical Manual V4.4.2...
  • Page 153: Horizontal Binning (F-201C Only 2 X Horizontal Binning)

    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. 2 x horizontal binning Figure 74: 2 x horizontal binning STINGRAY Technical Manual V4.4.2...
  • Page 154 Figure 76: 8 x horizontal binning Note The image appears horizontally compressed in this mode and does no longer show true aspect ratio.  If horizontal binning is activated the image may appear to be over-exposed and must eventually be corrected. STINGRAY Technical Manual V4.4.2...
  • Page 155: X Full Binning/4 X Full Binning/8 X Full Binning (F-201C Only 2 X Full Binning)

    By default and without further remapping use Format_7 Mode_3 for 2 x full binning. 2 x full binning Figure 77: 2 x full binning 4 x full binning (not F-201C, but F-504C) Figure 78: 4 x full binning STINGRAY Technical Manual V4.4.2...
  • Page 156: Sub-Sampling (Stingray B/W And Color)

    Sub-sampling is the process of skipping neighboring pixels (with the same color) while being read out from the CCD chip. Which Stingray models have sub-sampling? All Stingray models, both color and b/w, have this feature. Description of sub-sampling Sub-sampling is used primarily for the following reason: •...
  • Page 157 Figure 81: Horizontal sub-sampling 2 out of 8 (b/w) 2 out of 4 Figure 82: Horizontal sub-sampling 2 out of 4 (color) 2 out of 8 only F-145, F-146, F-201 Figure 83: Horizontal sub-sampling 2 out of 8 (color) STINGRAY Technical Manual V4.4.2...
  • Page 158 Description of the data path Note The image appears horizontally compressed in this mode and no longer exhibits a true aspect ratio.  STINGRAY Technical Manual V4.4.2...
  • Page 159 2 out of 4 vertical sub-sampling • color cameras: 2 out of 4 vertical sub-sampling The different sub-sampling patterns are shown below. 2 out of 4 2 out of 8 (only F-145, F-146, F-201) Figure 84: Vertical sub-sampling (b/w) STINGRAY Technical Manual V4.4.2...
  • Page 160 By default and without further remapping use Format_7 Mode_6 for 2 out of 4 H+V sub-sampling The different sub-sampling patterns are shown below. 2 out of 4 H+V sub-sampling Figure 86: 2 out of 4 H+V sub-sampling (b/w) STINGRAY Technical Manual V4.4.2...
  • Page 161 Description of the data path 2 out of 8 H+V sub-sampling (only F-145, F-146, F-201) Figure 87: 2 out of 8 H+V sub-sampling (b/w) STINGRAY Technical Manual V4.4.2...
  • Page 162 2 out of 8 H+V sub-sampling (only F-145, F-146, F-201) Figure 89: 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.4.2...
  • Page 163: Binning And Sub-Sampling Access

    332) 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 Stingray color cameras Format_7 Format_7 Mode_0 full resolution, no binning, full resolution, no sub-sampling no sub-sampling Mode_1...
  • Page 164 2 out of 2 horizontal 2 out of 8 vertical 2 out of 4 horizontal (only F-145, F-146, 2 out of 8 horizontal F-201) 2 out of 16 horizontal Figure 90: Mapping of possible Format_7 modes to F7M1...F7M7 STINGRAY Technical Manual V4.4.2...
  • Page 165: Quick Parameter Change Timing Modes

    200 Figure 91: 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 166: Standard Parameter Update Timing

    New: Quick Format Change Mode (QFCM) The Quick Format Change Mode creates gaps between two images. Current exposure is interrupted and the new exposure is started immediately with new parameters if during exposure (integration/shutter) an new shutter com- mand is received. STINGRAY Technical Manual V4.4.2...
  • Page 167: How To Transfer Parameters To The Camera

     handling of parameter list easy  compliant with IIDC V1.31  non deterministic change of Standard Update (IIDC) parameters Table 48: Comparison of 3 transfer modes In the following you find a short description of each variant: STINGRAY Technical Manual V4.4.2...
  • Page 168: Encapsulated Update (Begin/End)

    A new write event of parameter update begin starts time-out again. Parameter-List Update In the Parameter-List Update mode a complete list with IIDC addresses and values of up to 64 parameters is sent to the camera. STINGRAY Technical Manual V4.4.2...
  • Page 169 FPGA. Exposure of the next image with new parameters is started. There may be a gap between two images. Table 51: Parameter-List Update: comparison of standard timing and QFCM STINGRAY Technical Manual V4.4.2...
  • Page 170: Standard Update (Iidc)

    Frame rate is constant. image. A running exposure will be interrupted and the image is dropped. There may be a gap between two consecutive image transfers. Table 52: Standard Update (IIDC): comparison of Standard Format Change Mode and QFCM STINGRAY Technical Manual V4.4.2...
  • Page 171: Packed 12-Bit Mode

    Description of the data path Packed 12-Bit Mode All Stingray cameras have the so-called Packed 12-Bit Mode. This means: two 12-bit pixel values are packed into 3 bytes instead of 4 bytes. B/w cameras Color cameras Packed 12-Bit MONO camera mode...
  • Page 172: High Snr Mode (High Signal Noise Ratio)

    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.4.2...
  • Page 173: Frame Memory And Deferred Image Transport

    1394 bus. Deferred image transport As all Stingray cameras are equipped with built-in image memory, this order of events can be paused or delayed by using the deferred image transport feature.
  • Page 174: Holdimg Mode

    • NumOfImages is incremented after an image was read out of the sensor and therefore stored into the onboard image FIFO. • NumOfImages is decremented after the last isochro- nous packet of an image was handed over to the IEEE1394 chipset of the camera. STINGRAY Technical Manual V4.4.2...
  • Page 175 Description of the data path The following screenshot shows the sequence of commands needed to work with deferred mode. Figure 93: Example: Controlling deferred mode (SmartView - Direct Access; Stingray F-145C) For a description of the commands see the following table: rw Address...
  • Page 176: Fastcapture Mode

    Similar to the HoldImg mode, captured images will be stored in the internal image FIFO, if the transport over the 1394 bus is slower than images are cap- tured. STINGRAY Technical Manual V4.4.2...
  • Page 177: Color Interpolation (Bayer Demosaicing)

    IEEE 1394 bus • achieve higher frame rates • use different BAYER demosaicing algorithms on the PC (for all Stingray models the first pixel of the sensor is RED). Note If the PC does not perform BAYER to RGB post-processing, the b/w image will be superimposed with a checkerboard ...
  • Page 178  image borders. This is also a consequence of BAYER demo- saicing as the image width displayed on the color camera is not scaled down. STINGRAY Technical Manual V4.4.2...
  • Page 179: Sharpness

    Description of the data path 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. Sharpness 0, 1, 2, 3, 4 is calculated with the following scheme:...
  • Page 180: Hue And Saturation

    290. Hue and saturation Stingray CCD color models are equipped with hue and saturation registers. The hue register at offset 810h allows the color of objects to be changed without altering the white balance, by +/- 40 steps (+/- 10°) from the nom- inal perception.
  • Page 181: Color Correction

    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...
  • Page 182: Changing Color Correction Coefficients

    Color correction can also be switched off in YUV mode: Note Configuration  To configure this feature in an advanced register: See Table 148: Advanced register: Color correction on page 323. Note Color correction is deactivated in RAW mode.  STINGRAY Technical Manual V4.4.2...
  • Page 183: Color Conversion (Rgb  Yuv)

    200% relative to b/w or RAW consumption) for the transmission, so that the maximal frame frequency will drop. Bulk Trigger See Chapter Trigger modi on page 190 and the following pages. Level Trigger See Trigger Mode 1 in Chapter Trigger modi on page 190. STINGRAY Technical Manual V4.4.2...
  • Page 184: Serial Interface

    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 185 Buffer_Size_Inq [24..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.4.2...
  • Page 186 0: no error (to clear status) 1: Ignored [14] Receive data parity error Read: current status WR: 0: no error (to clear status) 1: Ignored [15..31] Reserved Table 58: Serial input/output control and status register (SIO CSR) STINGRAY Technical Manual V4.4.2...
  • Page 187 [24..31] Character_3 RD: Read character from receive buffer+3 WR: Write character to transmit buffer+3 104h SIO_DATA_REGISTER_ [0..31] Alias SIO_Data_Register area for block .. ALIAS transfer 1FFH Table 58: Serial input/output control and status register (SIO CSR) STINGRAY Technical Manual V4.4.2...
  • Page 188 • Contact your local dealer if you require further informa- tion or additional test programs or software.  • AVT recommends the use of Hyperterminal™ or other communication programs to test the functionality of this feature. Alternatively use SmartView to try out this feature. STINGRAY Technical Manual V4.4.2...
  • Page 189: Controlling Image Capture

    Software trigger Stingray cameras know also a trigger initiated by software (status and control register 62Ch on page 288 or in SmartView by Trig/IO tab, Stop trigger button).
  • Page 190 External Trigger input, as applied at input pin External Trigger input, after inverting opto coupler Shutter register value External Trigger input, as applied at pin External Trigger input, after inv. Opto. Integration Time Figure 97: Trigger_Mode_0 and 1 STINGRAY Technical Manual V4.4.2...
  • Page 191: Bulk Trigger (Trigger_Mode_15)

    Grabbing an unlimited amount of images after one external trigger (sur- veillance) The figure below illustrates this mode. External Trigger input, after inverting optocoupler N x image; N: continuous, one_shot, multi_shot Figure 98: Trigger_Mode_15 (bulk trigger) STINGRAY Technical Manual V4.4.2...
  • Page 192 Set trigger source ID from trigger source ID_Inq. Trigger_Value [11] Trigger input raw signal value read only 0: Low 1: High Trigger_Mode [12..15] Trigger_Mode (Trigger_Mode_0..15) [16..19] Reserved Parameter [20..31] Parameter for trigger function, if required (optional) Table 60: Trigger_Mode_15 (Bulk trigger) STINGRAY Technical Manual V4.4.2...
  • Page 193 To repeat rewrite line three. To repeat rewrite line three. Table 61: Description: using Trigger_Mode_15: continuous, one-shot, multi-shot Figure 99: Using Trigger_Mode_15: continuous, one-shot, multi-shot Note Shutter for the images is controlled by shutter register.  STINGRAY Technical Manual V4.4.2...
  • Page 194: Trigger Delay

    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 195: Trigger Delay Advanced Register

    Register Name Field Description 0xF1000400 TRIGGER_DELAY Presence_Inq Indicates presence of this fea- ture (read only) [1..5] Reserved ON_OFF Trigger delay on/off [7..10] Reserved DelayTime [11..31] Delay time in µs Table 64: Advanced CSR: trigger delay STINGRAY Technical Manual V4.4.2...
  • Page 196: Software Trigger

    The debounce time is a waiting period where no new trigger is allowed. This helps you to set exact one trigger. Debounce time Trigger signal Figure 100: Example of debounce time for trigger To set this feature in an advanced register: see Chapter Debounce time page 198. STINGRAY Technical Manual V4.4.2...
  • Page 197: Debounce Time

    0xF1000880 Reserved 0xF1000890 Reserved 0xF10008A0 Reserved 0xF10008B0 Reserved Table 65: Advanced register: Debounce time for input ports Note • The camera corrects invalid values automatically. • This feature is not stored in the user settings.  STINGRAY Technical Manual V4.4.2...
  • Page 198: Exposure Time (Shutter) And Offset

    4 µs + 21 µs = 25 µs Stingray F-145 4 µs 4 µs + 70 µs = 74 µs Stingray F-146 4 µs 4 µs + 35 µs = 39 µs Table 67: Camera-specific minimum exposure time STINGRAY Technical Manual V4.4.2...
  • Page 199: Extended Shutter

    Time base (default) Stingray F-033 20 µs Table 68: Register value and time base for Stingray F-033 register value x time base = exposure time 100 x 20 µs + 27 µs = 2027 µs exposure time The minimum adjustable exposure time set by register is 4 µs.  The real minimum exposure time of Stingray F-033 is then:...
  • Page 200 • Changes in this register have immediate effect, even when the camera is transmitting. • Extended shutter becomes inactive after writing to a format/mode/frame rate register. STINGRAY Technical Manual V4.4.2...
  • Page 201: One-Shot

    Controlling image capture 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- on page 205), this flag is ignored.
  • Page 202: One-Shot Command On The Bus To Start Of Exposure

    Table 71: Values for one-shot Microcontroller sync is an internal signal. It is generated by the microcon- troller to initiate a trigger. This can either be a direct trigger or a release for ExSync if the camera is externally triggered. STINGRAY Technical Manual V4.4.2...
  • Page 203: End Of Exposure To First Packet On The Bus

    Stingray F-145: 70 µs Stingray F-146: 35 µs Stingray F-201: 44 µs Processing Delay Stingray F-504: 38 µs < 710s First Packet on Bus +/-62.5 s Figure 102: Data flow and timing after end of exposure STINGRAY Technical Manual V4.4.2...
  • Page 204: Multi-Shot

    - e.g. by broadcasting a one-shot. All cameras receive the one-shot command in the same IEEE 1394 bus cycle. This creates uncertainty for all cameras in the range of 125 µs. Inter-camera latency is described in Chapter Jitter at start of exposure page 206. STINGRAY Technical Manual V4.4.2...
  • Page 205: Jitter At Start Of Exposure

    Jitter at start of exposure The following chapter discusses the latency time which exists for all Stingray CCD models when either a hardware or software trigger is generated, until the actual image exposure starts.
  • Page 206 5.81 µs Stingray F-504 Table 72: Jitter at exposure start (no binning, no sub-sampling) Note • Jitter at the beginning of an exposure has no effect on the length of exposure, i.e. it is always constant.  STINGRAY Technical Manual V4.4.2...
  • Page 207: Sequence Mode

    Controlling image capture Sequence mode Generally all AVT Stingray cameras enable certain image settings to be mod- ified on the fly, e.g. gain and shutter can be changed by the host computer by writing into the gain and shutter register even while the camera is run- ning.
  • Page 208: How Is Sequence Mode Implemented

    ApplyParameters Apply settings to selected image of sequence; auto reset [6..7] Reserved SeqStepMode [8..15] Sequence stepping mode ImageRepeat [16..23] Image repeat counter ImageNo [24..31] Number of image within a sequence Table 74: Advanced register: Sequence mode STINGRAY Technical Manual V4.4.2...
  • Page 209: Setup Mode

    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 210: Seqmode Description

    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.4.2...
  • Page 211 ImageNo Disable SetupMode Start sequence in MultiShot or ISOEnable mode Figure 104: 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.4.2...
  • Page 212: Which Sequence Mode Features Are Available

    Thus a sequence can be controlled in a very flexible manner. I/O controlled sequence pointer reset I/O controlled sequence pointer reset is always edge controlled. A rising edge on the input pin resets the pointer to the first entry. STINGRAY Technical Manual V4.4.2...
  • Page 213: I/O Controlled Sequence Stepping Mode And I/O Controlled Sequence Pointer Reset Via Software Command

    It uses the AVT Firetool program as graphical representa- tion. Please note the changes in the shutter time; that creates descending image brightness, and the change in the image position; which creates a panning effect. STINGRAY Technical Manual V4.4.2...
  • Page 214 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 Figure 106: SmartView: Extras  Sequence dialog STINGRAY Technical Manual V4.4.2...
  • Page 215: Changing The Parameters Within A Sequence

    PC (e.g. FirePackage). Caution • Incorrect handling may lead to image corruption or loss of subsequent images.  • Please ask for detailed support if you want to use this feature. STINGRAY Technical Manual V4.4.2...
  • Page 216: Secure Image Signature (Sis): Definition And Scenarios

    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.
  • Page 217  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 334. STINGRAY Technical Manual V4.4.2...
  • Page 218: Video Formats, Modes And Bandwidth

    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) spec- ification. Resolutions smaller than the generic sensor resolution are generated from the center of the sensor and without binning.
  • Page 219: Stingray F-033B / Stingray F-033C And Board Level F-033B Bl / F-033C Bl

    640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16 Table 77: Video fixed formats Stingray F-033B / F-033C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800).
  • Page 220 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 78: Video Format_7 default modes Stingray F-033B / Stingray F-033C STINGRAY Technical Manual V4.4.2...
  • Page 221: Stingray F-046B / Stingray F-046C And Board Level F-046B Bl / F-046C Bl

    640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16 Table 79: Video fixed formats Stingray F-046B / F-046C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800).
  • Page 222 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 80: Video Format_7 default modes Stingray F-046B / Stingray F-046C STINGRAY Technical Manual V4.4.2...
  • Page 223: Stingray F-080B / Stingray F-080C And Board Level F-080B Bl / F-080C Bl

    Mono8 800 x 600 Mono16 1024 x 768 Mono16 Table 81: Video fixed formats Stingray F-080B / F-080C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800). Note The following table shows default Format_7 modes with- out Format_7 mode mapping.
  • Page 224 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 82: Video Format_7 default modes Stingray F-080B / F-080C STINGRAY Technical Manual V4.4.2...
  • Page 225: Stingray F-125B / Stingray F-125C And Board Level F-125B Bl / F-125C Bl

    1600 x 1200 RGB8 1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 83: Video fixed formats Stingray F-125B / F-125C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800). Note The following table shows default Format_7 modes with- out Format_7 mode mapping.
  • Page 226 2 out of 4 H+V-sub-sampling Mono8,Raw8 30 fps 2 out of 4 H+V-sub-sampling RGB8 30 fps 2 out of 4 H+V-sub-sampling Raw12 30 fps 2 out of 4 H+V sub-sampling Table 84: Video Format_7 default modes Stingray F-125B / F-125C STINGRAY Technical Manual V4.4.2...
  • Page 227 Video formats, modes and bandwidth #: Vertical sub-sampling is done via digitally con- cealing certain lines, so the frame rate is not frame rate = f (AOI height) but frame rate = f (2 x AOI height) STINGRAY Technical Manual V4.4.2...
  • Page 228: Stingray F-145B / Stingray F-145C And Board Level F-145B Bl / F-145C Bl

    1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 85: Video fixed formats Stingray F-145B / F-145C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800). STINGRAY Technical Manual V4.4.2...
  • Page 229 Note The following table shows default Format_7 modes with- out Format_7 mode mapping.  • see Chapter Mapping of possible Format_7 modes to F7M1...F7M7 on page 164 • see Chapter Format_7 mode mapping on page 332 STINGRAY Technical Manual V4.4.2...
  • Page 230 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 86: Video Format_7 default modes Stingray F-145B / F-145C STINGRAY Technical Manual V4.4.2...
  • Page 231 Video formats, modes and bandwidth #: Vertical sub-sampling is done via digitally con- cealing certain lines, so the frame rate is not frame rate = f (AOI height) but frame rate = f (2 x AOI height) STINGRAY Technical Manual V4.4.2...
  • Page 232: Stingray F-146B / Stingray F-146C And Board Level F-146B Bl / F-146C Bl

    1600 x 1200 RGB8 1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 87: Video fixed formats Stingray F-146B / F-146C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800). Note The following table shows default Format_7 modes with- out Format_7 mode mapping.
  • Page 233 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 88: Video Format_7 default modes Stingray F-146B / F-146C STINGRAY Technical Manual V4.4.2...
  • Page 234 Video formats, modes and bandwidth #: Vertical sub-sampling is done via digitally con- cealing certain lines, so the frame rate is not frame rate = f (AOI height) but frame rate = f (2 x AOI height) STINGRAY Technical Manual V4.4.2...
  • Page 235: Stingray F-201B / Stingray F-201C And Board Level F-201B Bl / F-201C Bl

    1600 x 1200 RGB8 1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 89: Video fixed formats Stingray F-201B / F-201C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800). Note The following table shows default Format_7 modes with- out Format_7 mode mapping.
  • Page 236 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 90: Video Format_7 default modes Stingray F-201B / F-201C STINGRAY Technical Manual V4.4.2...
  • Page 237 Raw12 14 fps 2 out of 4 H+V sub-sampling Table 90: Video Format_7 default modes Stingray F-201B / F-201C #: Vertical sub-sampling is done via digitally concealing certain lines, so the frame rate is not frame rate = f (AOI height)...
  • Page 238: Stingray F-504B / Stingray F-504C And Board Level F-504B Bl / F-504C Bl

    1600 x 1200 RGB8 1600 x 1200 Mono8 1280 x 960 Mono16 1600 x 1200 Mono16 Table 91: Video fixed formats Stingray F-504B / F-504C *: Color camera outputs Mono8 interpolated image. Frame rates with shading are only achievable with 1394b (S800). Note The following table shows default Format_7 modes with- out Format_7 mode mapping.
  • Page 239 9 fps 2 out of 4 H+V sub-sampling RGB8 9 fps 2 out of 4 H+V sub-sampling Raw12 9 fps 2 out of 4 H+V sub-sampling Table 92: Video Format_7 default modes Stingray F-504B / F-504C STINGRAY Technical Manual V4.4.2...
  • Page 240: Area Of Interest (Aoi)

    AF_AREA_POSITION and AF_AREA_SIZE contain in the respective bits values for the column and line of the upper left corner and values for the width and height. Note For more information see Table 126: Format_7 control and status register on page 294.  STINGRAY Technical Manual V4.4.2...
  • Page 241 + height may not exceed the maximum resolution of the  sensor. • The coordinates for width and height must be divisible by 4. In addition to the area of interest (AOI), some other parameters have an effect on the maximum frame rate: STINGRAY Technical Manual V4.4.2...
  • Page 242: Autofunction Aoi

    • Auto shutter • Auto gain • Auto white balance In the following screenshot you can see an example of the autofunction AOI: Work area Figure 108: Example of autofunction AOI (Show work area is on) STINGRAY Technical Manual V4.4.2...
  • Page 243 As a reference it uses a grid of up to 65534 sample points equally spread over the AOI. Note Configuration To configure this feature in an advanced register see  Chapter Autofunction AOI on page 322. STINGRAY Technical Manual V4.4.2...
  • Page 244: Frame Rates

    UXGA 1600 x 1200 Table 93: Overview fixed formats They enable you to calculate the required bandwidth and to ascertain the number of cameras that can be operated independently on a bus and in which mode. STINGRAY Technical Manual V4.4.2...
  • Page 245 S400. The same camera, run at S800 would require only 32% of the available band- width, due to the doubled speed. Thus up to three cameras can be connected to the bus at S800. STINGRAY Technical Manual V4.4.2...
  • Page 246 4000p 2000p 1000p 500p 250p 16 bit/pixel 2000q 1000q 500q 250q 125q 1024 x 768 Y (Mono16) 3H 3/2H 3/4H 3/8H 3/16H 3072p 1536p 768p 384p 192p 16 bit/pixel 1536q 768q 384q 192q Table 95: Format_1 STINGRAY Technical Manual V4.4.2...
  • Page 247 • 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.4.2...
  • Page 248: Frame Rates Format_7

    Diagram of frame rates as function of AOI by constant width: the curves describe RAW8, RAW12/YUV411, RAW16/YUV422, RGB8 and max. frame rate of CCD • Table with max. frame rates as function of AOI by constant width STINGRAY Technical Manual V4.4.2...
  • Page 249: Stingray F-033/F-033 Bl: Aoi Frame Rates

    476.00 596.00 662.00 Table 97: Frame rates (fps) of Stingray F-033 as function of AOI height (pixel) [width=658] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula **only with max BPP=1100; see Chapter Maximum ISO packet size on page 327 STINGRAY Technical Manual V4.4.2...
  • Page 250: Stingray F-046/F-046 Bl: Aoi Frame Rates

    129.00 212.00 311.00 406.00 509.00 567.00 Table 98: Frame rates (fps) of Stingray F-046 as function of AOI height (pixel) [width=782] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 251: Stingray F-080/F-080 Bl: Aoi Frame Rates

    61.00 72.00 103.00 149.00 166.00 174.00 Table 99: Frame rates (fps) of Stingray F-080 as function of AOI height (pixel) [width=1034] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 252: Stingray F-125/F-125 Bl: Aoi Frame Rates

    53.54 70.57 83.91 117.13 166.59 183.84 191.79 Table 100: Frame rates (fps) Stingray F-125 as function of AOI height (pixel) [width=1292] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 253: Stingray F-145/F-145 Bl: Aoi Frame Rates

    28.00 36.00 42.00 56.00 74.00 80.00 83.00 Table 101: Frame rates (fps) Stingray F-145 as function of AOI height (pixel) [width=1392] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 254: Stingray F-146/F-146 Bl: Aoi Frame Rates

    27.00 41.00 53.00 70.00 75.00 78.00 Table 102: Frame rates (fps) of Stingray F-146 as function of AOI height (pixel) [width=1392] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 255: Stingray F-201/F-201 Bl: Aoi Frame Rates

    31.00 35.00 42.00 48.00 67.00 94.00 104.00 108.00 Table 103: Frame rates of Stingray F-201 as function of AOI height [width=1628] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 256: Stingray F-504/F-504 Bl: Aoi Frame Rates

    21.30 23.88 28.48 31.51 37.51 43.76 45.44 46.15 Table 104: Frame rates of Stingray F-504 as function of AOI height [width=2452] * CCD = theoretical max. frame rate (in fps) of CCD according to given formula STINGRAY Technical Manual V4.4.2...
  • Page 257: How Does Bandwidth Affect The Frame Rate

    The attainable frame rate can be calculated using this formula: (Provision: BYTE_PER_PACKET is divisible by 4): BYTE_PER_PACKET  -------------------------------------------------------------------------------------------------------------------------------- - frame rate    AOI_WIDTH AOI_HEIGHT ByteDepth 125µs Formula 18: Maximum frame rate calculation STINGRAY Technical Manual V4.4.2...
  • Page 258: Example Formula For The B/W Camera

    Mono16, 1392 x 1040, 30 fps desired      BYTE_PER_PACKET 30 1392 1040 125µs 10856 8192 8192   ----------------------------------------------------------- - frame rate 22.64 reachable    1392 1040 125µs Formula 19: Example maximum frame rate calculation STINGRAY Technical Manual V4.4.2...
  • Page 259: Test Images

    Table 106: Loading test images in different viewers Test images for b/w cameras Stingray b/w cameras have two test images that look the same. Both images show a gray bar running diagonally (mirrored at the middle axis). • Image 1 is static.
  • Page 260: Test Images For Color Cameras

    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 off.)  STINGRAY Technical Manual V4.4.2...
  • Page 261: Configuration Of The Camera

    If a CSR F0F00600h is mentioned below this means in full: Bus_Id, Node_Id, FFFF F0F00600h Writing and reading to and from the register can be done with programs such as FireView or by other programs developed using an API library (e.g. FirePackage). STINGRAY Technical Manual V4.4.2...
  • Page 262: Example

    Table 107: 32-bit register Example This requires, for example, that to enable ISO_Enabled mode (see Chapter ISO_Enable / free-run on page 205), (bit 0 in register 614h), the value 80000000 h must be written in the corresponding register. STINGRAY Technical Manual V4.4.2...
  • Page 263 Configuration of the camera Offset of Register: (0x0F00614) ISO_Enable Write 80000000 and click Write Content of register: 80000000 = 1000 0000 0000 0000 0000 0000 0000 0000 Figure 118: Enabling ISO_Enable STINGRAY Technical Manual V4.4.2...
  • Page 264 Configuration of the camera Offset of Register: (0xF1000040) ADV_FNC_INQ Content of register: FEA2E583 = 1111 1110 1010 0010 1110 0101 1000 0011 Table 108: Configuring the camera (Stingray F-145C) Table 109: Configuring the camera: registers STINGRAY Technical Manual V4.4.2...
  • Page 265: Sample Program

    FireGrab and FireStack API. Example FireGrab … // Set Videoformat if(Result==FCE_NOERROR) Result= Camera.SetParameter(FGP_IMAGEFORMAT,MAKEIMAGEFORMAT(RES_640_480, CM_Y8, FR_15)); // Set external Trigger if(Result==FCE_NOERROR) Result= Camera.SetParameter(FGP_TRIGGER,MAKETRIGGER(1,0,0,0,0)); // Start DMA logic if(Result==FCE_NOERROR) Result=Camera.OpenCapture(); // Start image device if(Result==FCE_NOERROR) Result=Camera.StartDevice(); … STINGRAY Technical Manual V4.4.2...
  • Page 266: Example Firestack Api

    // Set mode if(Result) Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_VMODE,(UINT32)m_Parms.Video Mode<<29); // Set format if(Result) Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_VFORMAT,(UINT32)m_Parms.Vid eoFormat<<29); // Set trigger if(Result) Mode=0; if(m_Parms.TriggerMode==TM_EXTERN) Mode=0x82000000; if(m_Parms.TriggerMode==TM_MODE15) Mode=0x820F0000; WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_TRGMODE,Mode); // Start continous ISO if not oneshot triggermode if(Result && m_Parms.TriggerMode!=TM_ONESHOT) Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_ISOENABLE,0x80000000); … STINGRAY Technical Manual V4.4.2...
  • Page 267: Configuration Rom

    Table 110: Configuration ROM The entry with key 8D in the root directory (420h in this case) provides the offset for the Node unique ID leaf. To compute the effective start address of the node unique ID leaf: STINGRAY Technical Manual V4.4.2...
  • Page 268 438h Unit directory 43Ch 440h Table 113: 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.4.2...
  • Page 269 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.4.2...
  • Page 270: Implemented Registers (Iidc V1.31)

    Field Description 100h V_FORMAT_INQ Format_0 Up to VGA (non compressed) Format_1 SVGA to XGA Format_2 SXGA to UXGA Format_3 [3..5] Reserved Format_6 Still Image Format Format_7 Partial Image Format [8..31] Reserved Table 116: Format inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 271: Inquiry Register For Video Mode

    MONO8 Mode_6 1280 x 960 MONO16 Mode_7 1600 x 1200 MONO16 [8..31] Reserved (zero) 18Ch Reserved for other V_MODE_INQ_x for Format_x. Always 0 … 197h 198h V_MODE_INQ_6 (Format_6) Always 0 Table 117: Video mode inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 272: Inquiry Register For Video Frame Rate And Base Address

    1.875 fps FrameRate_1 3.75 fps (Format_0, Mode_1) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 273 1.875 fps FrameRate_1 3.75 fps (Format_0, Mode_4) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 274 FrameRate_0 Reserved FrameRate_1 3.75 fps (Format_1, Mode_0) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 275 FrameRate_0 1.875 fps Mode_3) FrameRate_1 3.75 fps FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 276 1.875 fps FrameRate_1 3.75 fps (Format_1, Mode_6) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 277 Reserved (zero) 244h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_2, Mode_1) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 Reserved FrameRate_7 Reserved [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 278 Reserved (zero) 250h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_2, Mode_4) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 Reserved FrameRate_6 Reserved FrameRate_7 Reserved [8..31] Reserved (zero) Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 279 FrameRate_7 Reserved [8..31] Reserved 260h Reserved V_RATE_INQ_y_x (for other Format_y, Mode_x) … 2BFh 2C0h V_REV_INQ_6_0 (Format_6, Mode0) Always 0 2C4h Reserved V_REV_INQ_6_x (for other Mode_x of Always 0 Format_6) 2DFh Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 280 [0..31] CSR_quadlet offset for Format_7 Mode_4 2F4h V-CSR_INQ_7_5 [0..31] CSR_quadlet offset for Format_7 Mode_5 2F8h V-CSR_INQ_7_6 [0..31] CSR_quadlet offset for Format_7 Mode_6 2FCh V-CSR_INQ_7_7 [0..31] CSR_quadlet offset for Format_7 Mode_7 Table 118: Frame rate inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 281: Inquiry Register For Basic Function

    [17..18] Reserved One_Shot_Inq [19] One-shot transmission capa- bility Multi_Shot_Inq [20] Multi-shot transmission capa- bility [21..27] Reserved Memory_Channel [28..31] Maximum memory channel number (N) If 0000, no user memory available Table 119: Basic function inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 282: Inquiry Register For Feature Presence

    Optical_Filter control [4..15] Reserved Capture_Size [16] Capture_Size for Format_6 Capture_Quality [17] Capture_Quality for Format_6 [16..31] Reserved 40Ch OPT_FUNCTION_INQ Reserved Parallel Input/Output control Serial Input/Output control Strobe_out [4..31] Strobe signal output Table 120: Feature presence inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 283 (vendor unique) 48Ch Strobe_Output_CSR_Inq [0..31] Quadlet offset of the Strobe_Output_Quadlet_Offset Strobe_Output signal CSR's from the base address of ini- tial register space (vendor unique) Table 120: Feature presence inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 284: Inquiry Register For Feature Elements

    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 121: Feature elements inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 285 Presence of Software Trigger 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..31 Reserved Table 121: Feature elements inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 286 TILT_INQ 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 121: Feature elements inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 287: Status And Control Registers For Camera

    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 122: Status and control registers for camera STINGRAY Technical Manual V4.4.2...
  • Page 288: Inquiry Register For Absolute Value Csr Offset Address

    784h ABS_CSR_LO_INQ_1 Always 0 788h ABS_CSR_LO_INQ_2 Always 0 78Ch ABS_CSR_LO_INQ_3 Always 0 790h Reserved Always 0 7BFh 7C0h ABS_CSR_LO_INQ_16 Always 0 7C4h ABS_CSR_LO_INQ_17 Always 0 7C8h Reserved Always 0 7FFh Table 123: Absolute value inquiry register STINGRAY Technical Manual V4.4.2...
  • Page 289: Status And Control Register For One-Push

    Read: read a current mode 0: Manual 1: Auto [8-19] Reserved Value [20-31] Value. Write the value in Auto mode, this field is ignored. If ReadOut capability is not available, read value has no meaning. Table 124: Feature control register STINGRAY Technical Manual V4.4.2...
  • Page 290 Configuration of the camera Offset Name Field Description 804h AUTO-EXPOSURE See above Note: Target grey level parameter in SmartView corresponds to Auto_exposure register 0xF0F00804 (IIDC). 808h SHARPNESS See above Table 124: Feature control register STINGRAY Technical Manual V4.4.2...
  • Page 291 V_Value / [20-31] V value / R value R_Value Write the value in AUTO mode, this field is ignored. If ReadOut capability is not available, read value has no meaning. Table 124: Feature control register STINGRAY Technical Manual V4.4.2...
  • Page 292 TILT Always 0 88Ch OPTICAL_FILTER Always 0 890h Reserved for other Always 0 FEATURE_LO 8BCh 8C0h CAPTURE-SIZE Always 0 8C4h CAPTURE-QUALITY Always 0 8C8h Reserved for other Always 0 FEATURE_LO 8FCh Table 124: Feature control register STINGRAY Technical Manual V4.4.2...
  • Page 293: Feature Control Error Status Register

    According to IIDC V1.31 004h UNIT_SIZE_INQ According to IIDC V1.31 008h IMAGE_POSITION According to IIDC V1.31 00Ch IMAGE_SIZE According to IIDC V1.31 010h COLOR_CODING_ID See note 014h COLOR_CODING_INQ According to IIDC V1.31 Table 126: Format_7 control and status register STINGRAY Technical Manual V4.4.2...
  • Page 294 • 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.4.2...
  • Page 295: Temperature Register

    50 °C at sensor. • min. displayed temperature: -55 °C • max. displayed temperature: 150 °C • Increment: 0.25 °C/step Table 127: CSR: Temperature From -10 °C to +65 °C the temperature accuracy is: +1.5 °C / -2.0 °C STINGRAY Technical Manual V4.4.2...
  • Page 296: Advanced Features (Avt-Specific)

    Table 136: Advanced register: Extended shutter on page 308 0xF1000210 TEST_IMAGE Table 137: Advanced register: Test images on page 309 0xF1000220 SEQUENCE_CTRL Table 74: Advanced register: Sequence mode on page 209 0xF1000224 SEQUENCE_PARAM 0xF1000228 SEQUENCE_STEP Table 128: Advanced registers summary STINGRAY Technical Manual V4.4.2...
  • Page 297 Table 143: Advanced register: Defect pixel correction on page 317 0xF100029C DPC_MEM 0xF10002A0 DPC_INFO 0xF1000300 IO_INP_CTRL1 STINGRAY housing and board level cameras Table 23: Advanced register: Input control 0xF1000304 IO_INP_CTRL2 on page 101 0xF1000320 IO_OUTP_CTRL1 STINGRAY housing and board level cameras 0xF1000324...
  • Page 298 Configuration of the camera Register Register name Description 0xF10003A4 COLOR_CORR_COEFFIC11 = Crr Stingray color cameras only 0xF10003A8 COLOR_CORR_COEFFIC12 = Cgr Table 148: Advanced register: Color cor- rection on page 323 0xF10003AC COLOR_CORR_COEFFIC13 = Cbr 0xF10003B0 COLOR_CORR_COEFFIC21 = Crg 0xF10003B4 COLOR_CORR_COEFFIC22 = Cgg...
  • Page 299 Configuration of the camera Register Register name Description 0xF1000800 IO_OUTP_PWM1 Stingray housing and board level cameras: 0xF1000804 Table 31: PWM configuration registers 0xF1000808 IO_OUTP_PWM2 page 110 0xF100080C 0xF1000810 IO_OUTP_PWM3 0xF1000814 0xF1000818 IO_OUTP_PWM4 0xF100081C 0xF1000840 IO_INP_DEBOUNCE_1 Table 65: Advanced register: Debounce time...
  • Page 300: Extended Version Information Register

    This is decoded to the human readable version 22.33.44 (leading zeros are omitted). Note If a camera returns the register set to all zero, that par- ticular camera does not support the extended version  information. STINGRAY Technical Manual V4.4.2...
  • Page 301 STINGRAY F-125B (BL) STINGRAY F-125C (BL) STINGRAY F-145B (BL) STINGRAY F-145C (BL) STINGRAY F-146B (BL) STINGRAY F-146C (BL) STINGRAY F-201B (BL) STINGRAY F-201C (BL) STINGRAY F-504B (BL) STINGRAY F-504C (BL) Table 130: Camera type ID list STINGRAY Technical Manual V4.4.2...
  • Page 302: Advanced Feature Inquiry

    [12] Reserved [13] Reserved TriggerDelay [14] Mirror image [15] Soft Reset [16] High SNR [17] Color correction [18] [19..20] Reserved User Sets [21] [22..29] Reserved Paramlist_Info [30] GP_Buffer [31] Table 131: Advanced register: Advanced feature inquiry STINGRAY Technical Manual V4.4.2...
  • Page 303 Output 4 PWM [27] [28..31] Reserved 0xF1000048 ADV_INQ_3 Camera Status Max IsoSize Paramupd_Timing F7 mode mapping Auto Shutter Auto Gain Auto FNC AOI [7..31] Reserved 0xF100004C ADV_INQ_4 [18..31] Reserved Table 131: Advanced register: Advanced feature inquiry STINGRAY Technical Manual V4.4.2...
  • Page 304: Camera Status

    Indicates presence of this feature (read only) [1..23] Reserved [24..31] Implementation ID = 0x01 0xF1000104 [0..14] Reserved ExSyncArmed [15] External trigger enabled [16..27] Reserved [28] Isochronous transmission [29..30] Reserved Idle [31] Camera idle Table 132: Advanced register: Camera status STINGRAY Technical Manual V4.4.2...
  • Page 305: Maximum Resolution

    This means that you can enter a value in the range of 1 to 4095. Stingray cameras use a time base which is multiplied by the shutter register value. This multiplier is configured as the time base via the TIMEBASE regis- ter.
  • Page 306 (according to former software versions). Time base in µs Default value 1000 Table 135: Time base ID Note The ABSOLUTE VALUE CSR register, introduced in IIDC V1.3, is not implemented.  STINGRAY Technical Manual V4.4.2...
  • Page 307: Extended Shutter

    • 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.4.2...
  • Page 308 1: Available Image_Inq_7 [14] Presence of test image 7 0: N/A 1: Available [15..27] Reserved TestImage_ID [28..31] 0: No test image active 1: Image 1 active 2: Image 2 active … Table 137: Advanced register: Test images STINGRAY Technical Manual V4.4.2...
  • Page 309: Look-Up Tables (Lut)

    Presence_Inq Indicates presence of this feature (read only) [1..2] Reserved BitsPerValue [3..7] Bits used per table item NumOfLuts [8..15] Maximum number of look-up tables MaxLutSize [16..31] Maximum look-up table size (bytes) Table 138: Advanced register: LUT STINGRAY Technical Manual V4.4.2...
  • Page 310: Loading A Look-Up Table Into The Camera

    2 with n=number of bits read from sensor. Note Stingray cameras have the gamma feature implemented via a built-in look-up table. Therefore you can not use  gamma and your own look-up table at the same time. Nev- ertheless you may combine a gamma look-up table into your own look-up table.
  • Page 311: Shading Correction

    MemChannelError [16..19] Indicates memory channel error. See Table 140: Memory channel error description page 314. MemoryChannel [20..23] Set memory channel number for save and load operations GrabCount [24..31] Number of images Table 139: Advanced register: Shading STINGRAY Technical Manual V4.4.2...
  • Page 312: Reading Or Writing Shading Image From/Into The Camera

    To generate a shading image: 1. Set GrabCount to the number of the images to be averaged before the correction factors are calculated. 2. Set BuildImage to true. STINGRAY Technical Manual V4.4.2...
  • Page 313: Memory Channel Error Codes

    0x00 No error 0x01 Memory detection error 0x02 Memory size error 0x03 Memory erase error 0x04 Memory write error 0x05 Memory header write error 0x0F Memory channel out of range Table 140: Memory channel error description STINGRAY Technical Manual V4.4.2...
  • Page 314: Deferred Image Transport

    Enable/disable fast capture mode [8..15] Reserved FiFoSize [16..23] Size of FIFO in number of images (read only) NumOfImages [24..31] Write: Number of images to send Read: Number of images in buffer Table 141: Advanced register: Deferred image transport STINGRAY Technical Manual V4.4.2...
  • Page 315: Frame Information

    Table 142: Advanced register: Frame information The FrameCounter is incremented when an image is read out of the sensor. The FrameCounter does not indicate whether an image was sent over the IEEE 1394 bus or not. STINGRAY Technical Manual V4.4.2...
  • Page 316: Defect Pixel Correction

    MemLoad Load defect pixel data from storage ZeroDPData [10] Zero defect pixel data [11..17] Reserved Mean [18..24] Calculated mean value (7 bit) Threshold [25..31] Threshold for defect pixel correction Table 143: Advanced register: Defect pixel correction STINGRAY Technical Manual V4.4.2...
  • Page 317: Input/Output Pin Control

    Input/output pin control Note • See Chapter Input/output pin control on page 101 • See Chapter IO_INP_CTRL 1-2 on page 102  • See Chapter IO_OUTP_CTRL 1-4 on page 107 • See Chapter Output modes on page 108 STINGRAY Technical Manual V4.4.2...
  • Page 318: Delayed Integration Enable (Intena)

    Name Field Description 0xF1000340 IO_INTENA_DELAY Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Enable/disable integration enable delay [7..11] Reserved DELAY_TIME [12..31] Delay time in µs Table 144: Advanced register: Delayed Integration Enable (IntEna) STINGRAY Technical Manual V4.4.2...
  • Page 319: Auto Shutter Control

    EXTENDED_SHUTTER register for the current active shutter time. Changing the auto shutter range might not affect the regulation, if the reg- ulation is in a stable condition and no other condition affecting the image brightness is changed. STINGRAY Technical Manual V4.4.2...
  • Page 320: Auto Gain Control

    Both values can only be changed within the range defined by the standard GAIN_INQ register. STINGRAY Technical Manual V4.4.2...
  • Page 321: Autofunction Aoi

    If the adjustment fails and the work area size and/or work area position becomes invalid, then this feature is auto-  matically switched off. Read back the ON_OFF flag, if this feature does not work as expected. STINGRAY Technical Manual V4.4.2...
  • Page 322: Color Correction

    2000. 0xF10003A4 Reserved for testing purposes Don’t touch! 0xF10003FC Table 148: Advanced register: Color correction For an explanation of the color correction matrix and for further information read Chapter Color correction on page 181. STINGRAY Technical Manual V4.4.2...
  • Page 323: Trigger Delay

    The table below illustrates the advanced register for Mirror image. Register Name Field Description 0xF1000410 MIRROR_IMAGE Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Mirror image on/off 1: on 0: off Default: off [7..31] Reserved Table 150: Advanced register: Mirror STINGRAY Technical Manual V4.4.2...
  • Page 324: Soft Reset

    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 pro-  cess them. STINGRAY Technical Manual V4.4.2...
  • Page 325: High Snr Mode (High Signal Noise Ratio)

    Even subsequently stopping and starting acqui- sition will not change this. • Writing the HIGH_SNR register is only effective if done while the camera is not actively acquiring. STINGRAY Technical Manual V4.4.2...
  • Page 326: Maximum Iso Packet Size

    ... may lead to slower responses on commands • ... is not covered by the IEEE1394 specification • ... may not work with all available 1394 host adapters. Note We strongly recommend to use PCI-X (64 bit) or PCI Express adapter.  STINGRAY Technical Manual V4.4.2...
  • Page 327 Enabling this feature will not change the MaxBytePer- Packet value automatically. The camera may not use the  new isochronous packet size for the MaxBytePerPacket value until a write access to the desired Format_7 mode has been issued. STINGRAY Technical Manual V4.4.2...
  • Page 328: Quick Parameter Change Timing Modes

    Quick Format Change Mode This mode behaves like Standard Parameter Update Timing mode with the following exception: An already started image transport to the host will not be interrupted, but an already started integration will be interrupted. STINGRAY Technical Manual V4.4.2...
  • Page 329: Automatic Reset Of The Updactive Flag

    10 second time-out is started / restarted. If the time-out passes before you clear the UpdActive flag, the UpdActive flag is cleared automatically and all parameter changes since setting the UpdActive flag to 1 become active auto- matically. STINGRAY Technical Manual V4.4.2...
  • Page 330: Parameter-List Update

    • The PARAMLIST_BUFFER shares the memory with the GPDATA_BUFFER. Therefore it is not possible to use  both features at the same time. • Not all CSRs or features of a particular camera model can be used with the parameter list feature. STINGRAY Technical Manual V4.4.2...
  • Page 331: Format_7 Mode Mapping

    Format_7 Mode_0 represents the mode with the maximum resolution of the camera: this visible mode cannot be mapped to any other internal mode. The remaining visible Format_7 Mode_1 ... Mode_7 can be mapped to any internal Format_7 mode. STINGRAY Technical Manual V4.4.2...
  • Page 332: Example

    (approximately a factor of Offset Name Field Description 0xF10005B0 LOW_NOISE_BINNING Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Low noise binning mode on/off [7..31] Reserved Table 159: Advanced register: Low noise binning mode STINGRAY Technical Manual V4.4.2...
  • Page 333: Secure Image Signature (Sis)

    Definition Secure image signature (SIS) is the synonym for data, which is inserted into an image to improve or check image integrity. All Stingray models can insert • Cycle time (1394 bus cycle time at the beginning of integration) •...
  • Page 334 Range 0 .. 3071 cycle offsets 0 .. 7999 cycles 0 .. 127 seconds 24.576 MHz  40.69 ns 8000 Hz  125 µs 1 Hz  1 s Frequency Table 161: Structure of cycle time STINGRAY Technical Manual V4.4.2...
  • Page 335: Examples: Cycle Time

    = ((nCycleTime & 0xFE000000) >> 25; nCtCycles = ((nCycleTime & 0x01FFF000) >> 12; nCtOffset nCycleTime & 0x00000FFF; These values can be combined dTime = nCtSeconds + nCtCycles / 8000 + nCtOffset / 24576000; Table 162: Examples: cycle time STINGRAY Technical Manual V4.4.2...
  • Page 336: Advanced Register: Frame Counter

    Note The 4 bytes of the frame counter value will be inserted as the 5th to 8th byte of a line.  Additionally there is a register for direct read out of the frame counter value. STINGRAY Technical Manual V4.4.2...
  • Page 337: Advanced Register: Trigger Counter

    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.4.2...
  • Page 338: Where To Find Cycle Time, Frame Counter And Trigger Counter In The Image

    Byte 42 Byte 43 Byte 44 SIS user value [7..0] SIS user value [15..8] SIS user value [23..16] SIS user value [31..24] Byte45 Byte46 Byte47 Byte48 Table 165: All SIS values (increasing order of transmitted pixels) STINGRAY Technical Manual V4.4.2...
  • Page 339: Software Feature Control (Disable Leds)

    Isochronous traffic is not shown • Asynchronous traffic is not shown Note During the startup of the camera and if an error condition is present, the LEDs behave as described in Chapter Status  LEDs on page 98ff. STINGRAY Technical Manual V4.4.2...
  • Page 340: User Profiles

    • The default profile is the profile that is loaded on power-up or an INITIALIZE command.  • A save or load operation delays the response of the camera until the operation is completed. At a time only one operation can be performed. STINGRAY Technical Manual V4.4.2...
  • Page 341: Error Codes

    Feature not available (feature not present) 0x04 Profile does not exist 0x05 ProfileID out of range 0x06 Restoring the default profile failed 0x07 Loading LUT data failed 0x08 Storing LUT data failed Table 168: User profiles: Error codes STINGRAY Technical Manual V4.4.2...
  • Page 342: Reset Of Error Codes

    This can be especially helpful if third party software is used which may not give easy access to certain advanced features or may not provide efficient commands for quick writing of data blocks into the camera. STINGRAY Technical Manual V4.4.2...
  • Page 343: Pulse-Width Modulation (Pwm): Stingray Housing And Board Level Cameras

    (profile #0). • Data written to this register will not be reflected in the standard memory channel registers. Pulse-width modulation (PWM): Stingray housing and board level cameras Note Table 31: PWM configuration registers on page 110.
  • Page 344: Gpdata_Buffer

    L0 L1 L2 L3  L3 L2 L1 L0 8 bit L: low byte L0 H0 L1 H1  H1 L1 H0 L0 16 bit H: high byte Table 171: Swapped first quadlet at address offset 0 STINGRAY Technical Manual V4.4.2...
  • Page 345: Appendix

    +0 / -100μm (for SN > 252138124, optical back focal length) +/- 1° (Sensor rotation) AVT Marlin, Oscar, Dolphin, Pike, Stingray Method of Positioning: Optical alignment of photo sensitive sensor area into camera front module. (lens mount front flange) Reference points: Sensor: Center of pixel area (photo sensitive cells).
  • Page 346: Firmware Update

    Note For further information: • Read the application note:  How to update Guppy/Pike/Stingray firmware at AVT website or • Contact your local dealer. Extended version number (FPGA/µC) The new extended version number for microcontroller and FPGA firmware has the following format (4 parts separated by periods;...
  • Page 347: Index

    0xF1100000 (Parameter-List Update) ..331 AddrOffset (Field) ......310 1394a data transmission ......33 Advanced feature inquiry ......303 1394b Advanced feature inquiry (advanced register) bandwidths ........39 requirements laptop......41 Advanced features........297 1394b data transmission ......33 activate ...........300 STINGRAY Technical Manual V4.4.2...
  • Page 348 (AOI) .......138 black/white camera asynchronous broadcast ......205 block diagram ........120 auto exposure block diagram limits ..........320 b/w camera ........120 target grey level......132 color camera........121 Auto Exposure (CSR register) ....131 block diagrams auto gain........129 STINGRAY Technical Manual V4.4.2...
  • Page 349 (SIS)......217 Camera status (advanced register) .....305 cameras block diagram ........119 CAMERA_STATUS ........305 daisy chain ..........29 Camera_Status_Register ......262 data block packet format ......113 CE............30 description........113 channel ..........113 data exchange buffer color camera LUT ..........144 STINGRAY Technical Manual V4.4.2...
  • Page 350 DPC (defect pixel correction) ....317 external trigger ........100 DPC_CTRL..........317 DPC_INFO ..........318 DPC_MEM..........318 Fast Parameter Update Timing ..169 DPDataSize FastCapture defect pixel data size (max. 2000) ..318 bandwidth........177 deferred image transport ....315 false..........177 edge mode (Trigger_Mode_0).....105 only Format_7 ........177 STINGRAY Technical Manual V4.4.2...
  • Page 351 FastCapture (Field) ........315 FCC Class B..........30 gain fiber technology ........29 auto ..........129 FIFO auto exposure CSR ......129 Stingray F-504 with 64 MByte ..64 AUTOFNC_AOI ........126 FireDemo manual ..........132 extended shutter .......308 manual gain range...... 124 FirePackage ranges ..........132 additional checks image integrity ..218...
  • Page 352 Integration Enable signal ......105 user-defined ........142 IntEna..........96 ..Low noise binning mode (advanced register) IntEna signal ........105 IntEna_Delay..........110 ..low noise binning mode (advanced register) IntEna_Out ..........319 internal trigger........190 LUT............310 interpolation data exchange buffer ......144 BAYER demosaicing ....178 STINGRAY Technical Manual V4.4.2...
  • Page 353 ........108 outputs ..........105 common vcc ........96 No DCAM object ........99 general ..........100 No FLASH object ........99 registers ..........107 Node_Id ..........262 set by software .........110 non-uniform illumination ......136 OutVCC ........... 96 STINGRAY Technical Manual V4.4.2...
  • Page 354 SEQUENCE_CTRL ....... 209 trigger input........286 SEQUENCE_PARAM ......209 Readout_Inq ..........103 SEQUENCE_STEP ....... 210 Register mapping (error code)....99 Seq_Length..........214 repeat counter........208 shading Requirements correction data .........135 correction data .........137 shading correction ......135 RGB to YUV STINGRAY Technical Manual V4.4.2...
  • Page 355 Standard Update (IIDC) ....168 SHUTTER..........128 status LED ..........98 Shutter CSR..........128 Stingray Compact........87 shutter time STINGRAY F-033B/C fiber (Specification) ..50 formula..........199 STINGRAY F-033B/C (Specification) .... 50 SHUTTER_MODES ........190 STINGRAY F-046B (Specification) ....52 signal-to noise ratio (SNR) STINGRAY F-046B (Specification) fiber ..
  • Page 356 Trigger_Mode_15 (bulk trigger)..190 TPB+ ............93 Trigger_Mode_15 (programmable mode) ..190 IEEE 1394b........93 Trigger_Polarity ........193 transaction code (tCode)......113 Trigger_Source ........193 trigger Trigger_Source0_Inq .......286 bulk .........190 Trigger_Value .........193 control image capture ......190 tripod adapter ......... 78 STINGRAY Technical Manual V4.4.2...
  • Page 357 Index tripod dimensions ........78 video mode 2 .........248 types VMode_ERROR_STATUS......99 Stingray cameras ........ 29 IEEE 1394b........93 VP (Power, VCC) IEEE 1394b........93 UNIT_POSITION_INQ........241 V/R_Value (Field)........123 UNIT_SIZE_INQ........241 Update timing modes (advanced register)...329 user profile stored settings........343 WaitingForTrigger user profiles ...........341 ID 0x0A ...........108...

Table of Contents