Table of Contents

Advertisement

Quick Links

AVT Stingray
Technical Manual
V2.2.0
15 August 2008
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 AVT Stingray and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Allied Vision Technologies AVT Stingray

  • Page 1 AVT Stingray Technical Manual V2.2.0 15 August 2008 Allied Vision Technologies GmbH Taschenweg 2a D-07646 Stadtroda / Germany...
  • Page 2: Legal Notice

    Technologies are brands protected by law. Warranty The information provided by Allied Vision Technologies is supplied without any guarantees or warranty whatsoever, be it specific or implicit. Also excluded are all implicit warranties con- cerning the negotiability, the suitability for specific applications or the non-breaking of laws and patents.
  • Page 3: Table Of Contents

    Contents Contacting Allied Vision Technologies ..........10 Introduction ......................11 Document history ......................11 Manual overview......................14 Conventions used in this manual..................15 Styles ........................15 Symbols ........................16 More information......................16 Before operation ......................17 STINGRAY cameras ...................18 Declarations of conformity ................19...
  • Page 4 STINGRAY F-033B/C (fiber)..................... 38 STINGRAY F-046B/C (fiber)..................... 40 STINGRAY F-080B/C (fiber)..................... 42 STINGRAY F-145B/C (fiber)..................... 44 STINGRAY F-146B/C (fiber)..................... 46 STINGRAY F-201B/C (fiber)..................... 48 Spectral sensitivity ....................... 50 Camera dimensions ..................56 STINGRAY standard housing (2 x 1394b copper) ..............56 STINGRAY (1394b: 1 x GOF, 1 x copper) ................
  • Page 5 Pixel data........................92 Description of the data path ................95 Block diagrams of the cameras ..................95 Black and white cameras ................... 95 Color cameras ......................96 White balance ......................97 One-push automatic white balance ................98 Automatic white balance ..................100 Auto shutter ......................
  • Page 6 HoldImg mode ....................... 141 FastCapture mode....................143 Color interpolation (BAYER demosaicing) ............... 144 Sharpness........................146 Hue and saturation ..................... 147 Color correction......................148 Why color correction? ..................148 Color correction in AVT cameras ................148 Color correction: formula..................148 GretagMacbeth ColorChecker ................148 Changing color correction coefficients ..............
  • Page 7 Points to pay attention to when changing the parameters..........181 Secure image signature (SIS): definition and scenarios ............ 182 SIS: Definition ....................... 182 SIS: Scenarios......................182 Video formats, modes and bandwidth ..........184 Stingray F-033B / Stingray F-033C and board level F-033B BL / F-033C BL ................
  • Page 8 Inquiry register for video mode ................228 Inquiry register for video frame rate and base address ..........229 Inquiry register for basic function................238 Inquiry register for feature presence ................. 239 Inquiry register for feature elements ................. 241 Inquiry register for absolute value CSR offset address ..........244 Status and control register for one-push ..............
  • Page 9 Secure image signature (SIS) ................... 287 Advanced register: SIS..................287 Advanced register: frame counter ................. 289 Advanced register: trigger counter................ 290 Where to find time stamp, frame counter and trigger counter in the image....291 Where to find all SIS values in the image .............. 291 User profiles ......................
  • Page 10: Contacting Allied Vision Technologies

    Contacting Allied Vision Technologies Contacting Allied Vision Technologies Info • Technical information: support@alliedvisiontec.com phone (for Germany): +49 (0)36428 677-270 phone (for USA): +1 978-225-2030 outside Germany/USA: Please check the link for your local dealer. http://www.alliedvisiontec.com/partner.html • Ordering and commercial information: customer-care@alliedvisiontec.com...
  • Page 11 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. For information on hardware installation, safety warnings, pin assignments on I/O connectors and 1394b connectors read the Hardware Installation Guide.
  • Page 12: Introduction

    Introduction Version 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 models and F-201C) [continued] [continued] page 119ff. Added 2 out of 8 sub-sampling in Chapter Sub-sampling (Stin- gray b/w and color) on page 125ff.
  • Page 13 Introduction Version Date Remarks continued from last page V2.1.0 23.05.08 [continued] [continued] [continued] Added board level in Video formats, modes and bandwidth page 184ff. Added board level (BL) in Table 116: Camera type ID list page 256 Added PWM in Table 117: Advanced register: Advanced feature inquiry on page 257f.
  • Page 14: Manual Overview

    Table 1: Document history Manual overview This manual overview describes each chapter of this manual shortly. • Chapter Contacting Allied Vision Technologies on page 10 lists AVT con- tact data for both: – technical information / ordering – commercial information •...
  • Page 15 Introduction • Chapter Filter and lenses on page 35 describes the IR cut filter and suit- able camera lenses. • Chapter Specifications on page 38 lists camera details and spectral sen- sitivity diagrams for each camera type. • Chapter Camera dimensions on page 56 provides CAD drawings of stan- dard housing (copper and GOF) models, tripod adapter, available angled head models, cross sections of CS-Mount and C-Mount.
  • Page 16: Conventions Used In This Manual

    Introduction Conventions used in this manual To give this manual an easily understood layout and to emphasize important information, the following typographical styles and symbols are used: Styles Style Function Example bold Bold Programs, inputs or highlighting important things Input Courier Code listings etc.
  • Page 17: More Information

    Introduction More information For more information on hardware and software read the following: • 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 18 Introduction Note 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 available for download at: www.alliedvisiontec.com Note...
  • Page 19: Stingray Cameras

    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 20: Declarations Of Conformity

    Declarations of conformity Declarations of conformity Allied Vision Technologies declares under its sole responsibility that the fol- lowing products Category name Model name Digital camera (IEEE 1394) STINGRAY F-033B STINGRAY F-033C STINGRAY F-046B STINGRAY F-046C STINGRAY F-080B STINGRAY F-080C STINGRAY F-145B...
  • Page 21: Firewire

    FireWire FireWire Overview FireWire provides one of the most comprehensive, high-performance, cost- effective solutions platforms. FireWire offers very impressive throughput at very affordable prices. Definition FireWire (also known as i.Link or IEEE 1394) is a personal computer and digital video serial bus interface standard, offering high-speed communica- tions and isochronous real-time data services.
  • Page 22: Why Use Firewire

    FireWire Why use FireWire? Digital cameras with on-board FireWire (IEEE 1394a or 1394b) communica- tions conforming to the IIDC standard (V1.3 or V1.31) have created cost- effective and powerful solutions options being used for thousands of differ- ent applications around the world. FireWire is currently the premier robust digital interface for industrial applications for many reasons, including: •...
  • Page 23 FireWire Figure 2: 1394a data transmission In case of 1394b no gaps are needed due to parallel arbitration, handled by bus owner supervisor selector (BOSS) (see the following diagram). Whereas 1394a works in half duplex transmission, 1394 does full duplex transmission. Cycle Sync: 1394b Parallel arbitration, handled by BOSS, can eliminate gaps Figure 3: 1394b data transmission...
  • Page 24: Firewire Connection Capabilities

    FireWire Note How to extend the size of an isochronous packet up to 11.000 byte at S800: • see register 0xF1000048, ADV_INQ_3, Max IsoSize [1] Table 117: Advanced register: Advanced feature inquiry on page 257 • see Chapter Maximum ISO packet size on page 280 FireWire connection capabilities FireWire can connect together up to 63 peripherals in an acyclic network...
  • Page 25: Capabilities Of 1394B (Firewire 800)

    FireWire In addition to common standards shared across manufacturers, a special Format_7 mode also provided a means by which a manufacturer could offer special features (smart features), such as: • higher resolutions • higher frame rates • diverse color modes as extensions (advanced registers) to the prescribed common set.
  • Page 26: Compatibility Between 1394A And 1394B

    FireWire Compatibility between 1394a and 1394b 1394b port 1394b camera 1394a port 1394a camera 1394a camera connected to 1394b bus 1394b camera connected to 1394a bus The cable explains dual compatibility: This cable The cable explains dual compatibility: In this case, serves to connect an IEEE 1394a camera with its the cable connects an IEEE 1394b camera with its six-pin connector to a bilingual port (a port which...
  • Page 27: Compatibility Example

    FireWire FireWire cable Description Ordering number Cable 0.5 m 9 pin - 6 pin, IEEE 1394b/a; 9 pin (screw lock)/6 pin (latch), 0.5 m K1200198 industrial Cable 4.5 m 9 pin - 6 pin, IEEE 1394b/a; 9 pin (screw lock)/6 pin (latch), 4.5 m K1200171 industrial Cable 0.5 m 9-pin - 9-pin, IEEE 1394b;...
  • Page 28: Image Transfer Via 1394A And 1394B

    FireWire Image transfer via 1394a and 1394b Technical detail 1394a 1394b Transmission mode Half duplex (both pairs needed) Full duplex (one pair needed) 400 Mbit/s data rate 1 Gbit/s signaling rate, 800 Mbit/s data rate aka: a-mode, data/strobe (D/S) 10b/8b coding (Ethernet), aka: mode, legacy mode b-mode (beta mode) Devices...
  • Page 29: 1394B Bandwidths

    FireWire 1394b bandwidths According to the 1394b specification on isochronous transfer, the largest recommended data payload size is 8192 bytes per 125 µs cycle at a band- width of 800 Mbit/s. Note Certain cameras may offer, depending on their settings in combination with the use of AVT FirePackage higher packet sizes.
  • Page 30 FireWire Figure 5: Block diagram of modern PC (X38 chipset by INTEL) Caution As mentioned earlier, it is very important not to exceed an inrush current of 18 mJoule in 3 ms. (This means that a device, when powered via 12 V bus power must never draw more than 1.5 A, even not in the first 3 ms.) Higher inrush current may damage the physical interface chip of the camera and/or the phy chip in your PC.
  • Page 31: Requirements For Laptop And 1394B

    FireWire Requirements for laptop and 1394b As mentioned above, 1394b requires low latency for data transmission (small receive-FIFO). In order to get the most out of your camera-to-laptop config- uration, we recommend the following chipset for your laptop: • For Intel-based laptops, chipset 915 (or higher) •...
  • Page 32: Example 1: 1394B Bandwidth Of Stingray Cameras

    FireWire Figure 7: ExpressCard Logo, ExpressCard/54 (SIIG) 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...
  • Page 33: Example 2: More Than One Stingray Camera At Full Speed

    FireWire STINGRAY model Resolution Frame rate Bandwidth Stingray F-146 B/C 1.44 megapixel 15 fps 21.61 MByte/s Stingray F-201 B/C megapixel 14 fps 17.20 MByte/s Table 6: Bandwidth of Stingray cameras Note All data are calculated using Raw8 / Mono8 color mode. Higher bit depths or color modes will double or triple band- width requirements.
  • Page 34: Firewire Plug & Play Capabilities

    FireWire FireWire Plug & play capabilities FireWire devices implement the ISO/IEC 13213 configuration ROM model for device configuration and identification, to provide plug & play capability. All FireWire devices are identified by an IEEE EUI-64 unique identifier (an exten- sion of the 48-bit Ethernet MAC address format) in addition to well-known codes indicating the type of device and protocols it supports.
  • Page 35: Operating System Support

    FireWire Operating system support Operating system 1394a 1394b Linux Full support Full support Apple Mac OS X Full support Full support Windows XP With service pack 2 the default speed for 1394b is S100 (100 Mbit/s). A download and registry modification is available from Microsoft to restore performance to either S400 or S800.
  • Page 36: Filter And Lenses

    Filter and lenses 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 cam- eras.
  • Page 37: Camera Lenses

    Filter and lenses Camera lenses AVT offers different lenses from a variety of manufacturers. The following table lists selected image formats in width x height depending on camera type, distance and the focal length of the lens. Focal length Distance = 500 mm Distance = 1000 mm for type 1/3 sensors Stingray F-080...
  • Page 38 Filter and lenses Focal length Distance = 500 mm Distance = 1000 mm for type 1/1.8 sensors Stingray F-201 4.8 mm 740 mm x 549 mm 1488 mm x 1103 mm 8 mm 441 mm x 327 mm 890 mm x 660 mm 12 mm 292 mm x 216 mm 591 mm x 438 mm...
  • Page 39: Specifications

    Specifications Specifications Note For information on bit/pixel and byte/pixel for each color mode see Table 92: ByteDepth on page 215. STINGRAY F-033B/C (fiber) Feature Specification Image device Type 1/2 (diag. 8 mm) progressive scan SONY IT CCD ICX414AL/AQ with HAD microlens Chip size 7.48 mm x 6.15 mm Cell size...
  • Page 40 Specifications Feature Specification Smart functions AGC (auto gain control), AEC (auto exposure control), real-time shad- ing correction, LUT, 32 MByte image memory, mirror, binning (only b/w), sub-sampling, High SNR, deferred image transport, SIS (secure image signature), sequence mode, 4 storable user sets only color: AWB (auto white balance), color correction, hue, satura- tion, sharpness Two configurable inputs, four configurable outputs...
  • Page 41: Stingray F-046B/C (Fiber)

    Specifications STINGRAY F-046B/C (fiber) Feature Specification Image device Type 1/2 (diag. 8 mm) progressive scan SONY IT CCD ICX415AL/AQ with HAD microlens Chip size 7.48 mm x 6.15 mm Cell size 8.3 µm x 8.3 µm Picture size (max.) 780 x 580 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
  • Page 42 Specifications Feature Specification Typical <3.5 watt (@ 12 V DC); fiber: typical <4 watt (@ 12 V DC) Power consumption (full resolution and maximal frame rates) Dimensions 72.8 mm x 44 mm x 29 mm (L x W x H); incl. connectors, w/o tripod and lens Mass 92 g (without lens)
  • Page 43: Stingray F-080B/C (Fiber)

    Specifications STINGRAY F-080B/C (fiber) Feature Specification Image device Type 1/3 (diag. 6 mm) progressive scan SONY IT CCD ICX204AL/AK with HAD microlens Chip size 5.80 mm x 4.92 mm Cell size 4.65 µm x 4.65 µm Picture size (max.) 1032 x 776 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
  • Page 44 Specifications Feature Specification Typical <3.5 watt (@ 12 V DC); fiber: typical <4 watt (@ 12 V DC) Power consumption (full resolution and maximal frame rates) Dimensions 72.8 mm x 44 mm x 29 mm (L x W x H); incl. connectors, w/o tripod and lens Mass 92 g (without lens)
  • Page 45: Stingray F-145B/C (Fiber)

    Specifications STINGRAY F-145B/C (fiber) Feature Specification Image device Type 2/3 (diag. 11 mm) progressive scan SONY IT CCD ICX285AL/AQ with EXview HAD microlens Chip size 10.2 mm x 8.3 mm Cell size 6.45 µm x 6.45 µm Picture size (max.) 1388 x 1038 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
  • Page 46 Specifications Feature Specification Typical <3.5 watt (@ 12 V DC); fiber: typical <4 watt (@ 12 V DC) Power consumption (full resolution and maximal frame rates) Dimensions 72.8 mm x 44 mm x 29 mm (L x W x H); incl. connectors, w/o tripod and lens Mass 92 g (without lens)
  • Page 47: Stingray F-146B/C (Fiber)

    Specifications STINGRAY F-146B/C (fiber) Feature Specification Image device Type 1/2 (diag. 8 mm) progressive scan SONY IT CCD ICX267AL/AK with HAD microlens Chip size 7.60 mm x 6.20 mm Cell size 4.65 µm x 4.65 µm Picture size (max.) 1388 x 1038 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
  • Page 48 Specifications Feature Specification Typical <3.5 watt (@ 12 V DC); fiber: typical <4 watt (@ 12 V DC) Power consumption (full resolution and maximal frame rates) Dimensions 72.8 mm x 44 mm x 29 mm (L x W x H); incl. connectors, w/o tripod and lens Mass 92 g (without lens)
  • Page 49: Stingray F-201B/C (Fiber)

    Specifications STINGRAY F-201B/C (fiber) Feature Specification Image device Type 1/1.8 (diag. 8.923 mm) progressive scan SONY IT CCD ICX274AL/ AQ with Super HAD microlens Chip size 8.50 mm x 6.80 mm Cell size 4.40 µm x 4.40 µm Picture size (max.) 1624 x 1234 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
  • Page 50 Specifications Feature Specification Typical <3.5 watt (@ 12 V DC); fiber: typical <4 watt (@ 12 V DC) Power consumption (full resolution and maximal frame rates) Dimensions 72.8 mm x 44 mm x 29 mm (L x W x H); incl. connectors, w/o tripod and lens Mass 92 g (without lens)
  • Page 51: Spectral Sensitivity

    Specifications Spectral sensitivity Figure 10: Spectral sensitivity of Stingray F-033B Figure 11: Spectral sensitivity of Stingray F-033C (without IR cut filter) STINGRAY Technical Manual V2.2.0...
  • Page 52 Specifications Figure 12: Spectral sensitivity of Stingray F-046B Figure 13: Spectral sensitivity of Stingray F-046C (without IR cut filter) STINGRAY Technical Manual V2.2.0...
  • Page 53 Specifications Figure 14: Spectral sensitivity of Stingray F-080B Figure 15: Spectral sensitivity of Stingray F-080C (without IR cut filter) STINGRAY Technical Manual V2.2.0...
  • Page 54 Specifications Figure 16: Spectral sensitivity of Stingray F-145B Figure 17: Spectral sensitivity of Stingray F-145C (without IR cut filter) STINGRAY Technical Manual V2.2.0...
  • Page 55 Specifications Figure 18: Spectral sensitivity of Stingray F-146B Figure 19: Spectral sensitivity of Stingray F-146C (without IR cut filter) STINGRAY Technical Manual V2.2.0...
  • Page 56 Specifications Figure 20: Spectral sensitivity of Stingray F-201B Figure 21: Spectral sensitivity of Stingray F-201C (without IR cut filter) STINGRAY Technical Manual V2.2.0...
  • Page 57: Camera Dimensions

    Camera dimensions Camera dimensions Note For information on sensor position accuracy: (sensor shift x/y, optical back focal length z and sensor rota- tion α) see Chapter Sensor position accuracy of AVT cameras on page 298. STINGRAY standard housing (2 x 1394b copper) M3 x4 (3x) 13.3 9 - 0.0...
  • Page 58: Stingray (1394B: 1 X Gof, 1 X Copper)

    Camera dimensions STINGRAY (1394b: 1 x GOF, 1 x copper) M3 x4 (3x) 13.3 9 - 0.0 57.5 C-Mount M3 x4 (2x) M3 x4 (3x) 66.5 73.5 Stingray (1394b: 1x GOF, 1x COP) 73.5 x 44 x 29 (L x W x H) Figure 23: Camera dimensions (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V2.2.0...
  • Page 59: Tripod Adapter

    Camera dimensions 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 60: Stingray W90 (2 X 1394B Copper)

    Camera dimensions Stingray W90 (2 x 1394b copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. M3 x4 (3x) 32.8 Ø 55.5 M3 x3 (2x) C-Mount 92.3 Stingray W90 (2x IEEE 1394b) 92.3 x 44 x 38.2 (L x W x H) Figure 25: Stingray W90 (2 x 1394b copper) STINGRAY Technical Manual V2.2.0...
  • Page 61: Stingray W90 (1394B: 1 X Gof, 1 X Copper)

    Camera dimensions Stingray W90 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. M3 x4 (3x) 32.8 Ø 55.5 M3 x3 (2x) M3 x4 (3x) C-Mount Stingray W90 (1394b: 1x GOF, 1x COP) 93 x 44 x 38.2 (L x W x H) Figure 26: Stingray W90 (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V2.2.0...
  • Page 62: Stingray W90 S90 (2 X 1394B Copper)

    Camera dimensions Stingray W90 S90 (2 x 1394b copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. The sensor is also rotated by 90 degrees clockwise. M3 x4 (3x) 32.8 Ø 55.5 M3 x3 (2x) C-Mount 92.3 Stingray W90 (2x IEEE 1394b)
  • Page 63: Stingray W90 S90 (1394B: 1 X Gof, 1 X Copper)

    Camera dimensions Stingray W90 S90 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. The sensor is also rotated by 90 degrees clockwise. M3 x4 (3x) 47.8 Ø...
  • Page 64: Stingray W270 (2 X 1394B Copper)

    Camera dimensions Stingray W270 (2 x 1394b copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. M3 x4 (3x) C-Mount 32.8 55.5 M3 x3 (2x) Ø M3 x4 (3x) 92.3 Stingray W270 (2x IEEE 1394b) 92.3 x 44 x 38.2 (L x W x H) Figure 29: Stingray W270 (2 x 1394b copper) STINGRAY Technical Manual V2.2.0...
  • Page 65: Stingray W270 (1394B: 1 X Gof, 1 X Copper)

    Camera dimensions Stingray W270 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. M3 x4 (3x) C-Mount 32.8 M3 x3 (2x) 55.5 Ø M3 x4 (3x) Stingray W270 (1394b: 1x GOF, 1x COP) 93 x 44 x 38.2 (L x W x H) Figure 30: Stingray W270 (1394b: 1 x GOF, 1 x copper) STINGRAY Technical Manual V2.2.0...
  • Page 66: Stingray W270 S90 (2 X 1394B Copper)

    Camera dimensions Stingray W270 S90 (2 x 1394b copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. The sensor is also rotated by 90 degrees clockwise. M3 x4 (3x) C-Mount 47.8 55.5 M3 x3 (4x) Ø...
  • Page 67: Stingray W270 S90 (1394B: 1 X Gof, 1 X Copper)

    Camera dimensions Stingray W270 S90 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. The sensor is also rotated by 90 degrees clockwise. C-Mount M3 x4 (3x) 47.8 55.5 M3 x3 (2x)
  • Page 68: Cross Section: Cs-Mount

    Camera dimensions Cross section: CS-Mount All Stingray cameras can be delivered with CS-Mount. Filter / protection glass 12.526 = CS-Mount Adjustment spacer Figure 33: Stingray CS-Mount dimensions Note Pay attention to the maximum sensor size of the applied CS- Mount lens. STINGRAY Technical Manual V2.2.0...
  • Page 69: Cross Section: C-Mount

    Camera dimensions Cross section: C-Mount • All monochrome Stingrays are equipped with the same model of protec- tion glass. • All color Stingrays are equipped with the same model of IR cut filter. 10.3 Filter / protection glass 17.526 = C-Mount Adjustment spacer Figure 34: Stingray C-Mount dimensions STINGRAY Technical Manual V2.2.0...
  • Page 70: Adjustment Of C-Mount And Cs-Mount

    Camera dimensions Adjustment of C-Mount and CS-Mount The dimensional adjustment is done by means of the adjustment spacer(s) as shown in Figure 33: Stingray CS-Mount dimensions on page 67 and in Figure 34: Stingray C-Mount dimensions on page 68. After dismantling and reassembling please make sure that all adjustment spacers are back on place.
  • Page 71: Stingray Board Level: Dimensions

    Camera dimensions Stingray board level: dimensions 13-pole connector FFC45 cable IO-AD-Board processor board interface board 2x IEEE 1394b spacer M2x10 (4x) sensor board C-Mount adapter Sensor - Pin1 2.3 mm 2x HOLE 2.3 mm 2.9mm PTH Pixel 1,1 Figure 36: Stingray board level dimensions STINGRAY Technical Manual V2.2.0...
  • Page 72: Stingray Board Level: Cs-Mount

    Camera dimensions Stingray board level: CS-Mount M2x14 ISO7045-A2 (2x) CS-Mount adapter with filter or protection glas Spacer, 3.2 mm (2x) front flange top contacts! bottom contacts! M2x8 ISO4762-A2 (4x) M2x10 ISO7045-A2 (2x) Camera = main board + processor board + IO board + flex cable + sensor board PCB spacer spacer M2x10 (4x)
  • Page 73: Stingray Board Level: C-Mount

    Camera dimensions Stingray board level: C-Mount M2x14 ISO7045-A2 (2x) C-Mount adapter with filter or protection glas spacer, 3.2 mm (2x) front flange top contacts! bottom contacts! M2x8 ISO4762-A2 (4x) M2x10 ISO7045-A2 (2x) Camera = main board + processor board + IO board + flex cable + sensor board PCB spacer (4x) spacer M2x10 (4x)
  • Page 74: Camera Interfaces

    Camera interfaces Camera interfaces This chapter gives you detailed information on status LEDs, inputs and out- puts, trigger features and transmission of data packets. Note For a detailed description of the camera interfaces (FireWire, I/O connector), ordering numbers and operat- ing instructions see the Hardware Installation Guide, Chapter Camera interfaces.
  • Page 75: 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 connector FFC45 cable FFC45 cable length: ----------------------------- FFC45 L = 34 mm K7500284 IO-AD-Board...
  • Page 76: Camera I/O Connector Pin Assignment

    Camera interfaces Camera I/O connector pin assignment (For board level see Chapter Board level camera: I/O pin assignment on page 76) Pin Signal Direction Level Description External GND GND for RS232 and External Ground for RS232 ext. power and external power External Power +8...+36 V DC Power supply...
  • Page 77: Board Level Camera: I/O Pin Assignment

    Camera interfaces Board level camera: I/O pin assignment The following diagram shows the 13-pole I/O pin connector of a board level camera: 13-pole connector: -------------------------- 1 = GND (for RS232, Ext PWR) 7 = GND (for Inputs) FFC45 cable length: 2 = Ext PWR input 8 = RxDc 9 = TxD -----------------------------...
  • Page 78: Status Leds

    Camera interfaces Status LEDs Status LEDs LED2 LED1 Figure 43: Position of status LEDs Each of the two LEDs is tricolor, showing green, red or orange. means: red LED permanent on RED blinking means: red LED blinks fast +RED pulsing means: red LED is switched on for a short time.
  • Page 79: Normal Conditions

    Camera interfaces Normal conditions Event LED1 LED2 Camera startup During startup all LEDs are switched on consecu- tively to show the startup progress: Phase1: LED1 RED Phase2: LED1 RED LED1 GREEN Phase3: LED1 RED LED1 GREEN LED2 RED Phase4: LED1 RED LED1 GREEN LED2 RED +LED2 GREEN...
  • Page 80: Control And Video Data Signals

    Camera interfaces Control and video data signals The inputs and outputs of the camera can be configured by software. The dif- ferent modes are described below. Inputs Note For a general description of the inputs and warnings see the Hardware Installation Guide, Chapter STINGRAY input description.
  • Page 81: Input/Output Pin Control

    Camera interfaces Input/output pin control All input and output signals running over the camera I/O connector are con- trolled by an advanced feature register. Register Name Field Description 0xF1000300 IO_INP_CTRL1 Presence_Inq Indicates presence of this feature (read only) [1..6] Reserved Polarity 0: Signal not inverted 1: Signal inverted...
  • Page 82: Io_Inp_Ctrl 1-2

    Camera interfaces IO_INP_CTRL 1-2 The Polarity flag determines whether the input is low active (0) or high active (1). The input mode can be seen in the following table. The PinState flag is used to query the current status of the input. The PinState bit reads the inverting optocoupler status after an internal negation.
  • Page 83: 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. The following table explains the inquiry register and the meaning of the var- ious bits.
  • Page 84 Camera interfaces Register Name Field Description 0xF0F00834 TRIGGER_DELAY Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR. If this bit=1 the value in the value field has to be ignored.
  • Page 85: Outputs

    Camera interfaces Note • Switching trigger delay to ON also switches external Trigger_Mode_0 to ON. • 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 output description.
  • Page 86 Camera interfaces Output mode selectable Polarity via software selectable via software Operation state IntEna read FVal Opto- Busy Output signal Operation state Coupler read Figure 45: Output block diagram STINGRAY Technical Manual V2.2.0...
  • Page 87: Io_Outp_Ctrl 1-4

    Camera interfaces IO_OUTP_CTRL 1-4 The outputs (Output mode, Polarity) are controlled via 4 advanced feature registers (see Table 27: Advanced register: Output control on page 86). The Polarity field determines whether the output is inverted or not. The out- put mode can be viewed in the table below. The current status of the output can be queried and set via the PinState.
  • Page 88: Output Modes

    Camera interfaces Register Name Field Description 0xF1000328 IO_OUTP_CTRL3 Same as IO_OUTP_CTRL1 0xF100032C IO_OUTP_CTRL4 Same as IO_OUTP_CTRL1 Table 27: Advanced register: Output control Output modes Mode Default / description 0x00 0x01 Output state follows PinState bit Using this mode, the Polarity bit has to be set to 0 (not inverted).
  • Page 89 Camera interfaces Figure 46: 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 V2.2.0...
  • Page 90: Pulse-Width Modulation (Stingray Housing And Stingray Board Level Models)

    Camera interfaces Note • Note that trigger delay in fact delays the image cap- ture whereas the IntEna_Delay only delays the leading edge of the IntEna output signal but does not delay the image capture. • As mentioned before, it is possible to set the outputs by software.
  • Page 91: Pwm: Minimal And Maximal Periods And Frequencies

    Camera interfaces Period PulseWidth Figure 47: PulseWidth and Period definition Note Note the following conditions: • PulseWidth < Period • Period ≥ MinPeriod 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).
  • Page 92: Pwm: Examples In Practice

    Camera interfaces PWM: Examples in practice In this chapter we give you two examples, how to write values in the PWM registers. All values have to be written in microseconds (µs) in the PWM reg- isters, therefore remember always the factor 10 Example 1: Set PWM with 1kHz at 30% pulse width.
  • Page 93: Pixel Data

    Camera interfaces Pixel data Pixel data are transmitted as isochronous data packets in accordance with the 1394 interface described in IIDC V1.31. The first packet of a frame is identified by the 1 in the sync bit (sy) of the packet header. sync bit 8-15 16-23...
  • Page 94 Camera interfaces The following tables provide a description of the video data format for the different modes. (Source: IIDC V1.31; packed 12-bit mode: AVT) Figure 48: YUV 4:2:2 and YUV 4:1:1 format: Source: IIDC V1.31 Figure 49: Y8 and Y16 format: Source: IIDC V1.31 specification <Y (Mono12) format>...
  • Page 95 Camera interfaces Figure 50: Data structure: Source: IIDC V1.31 <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 33: Data structure of Packed 12-Bit Mode (mono and raw) STINGRAY Technical Manual V2.2.0...
  • Page 96: Description Of The Data Path

    Description of the data path Description of the data path Block diagrams of the cameras The following diagrams illustrate the data flow and the bit resolution of image data after being read from the CCD sensor chip in the camera. The indi- vidual blocks are described in more detail in the following paragraphs.
  • Page 97: Color Cameras

    Description of the data path Color cameras 14 bit Test-Pattern HIROSE I/O RS232 16 bit Figure 52: Block diagram color camera 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.
  • Page 98: White Balance

    Description of the data path White balance Stingray color cameras have both manual and automatic white balance. White balance is applied so that non-colored image parts are displayed non- colored. From the user's point, the white balance settings are made in regis- ter 80Ch of IIDC V1.31.
  • Page 99: One-Push Automatic White Balance

    Description of the data path 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. Note While lowering both U/B and V/R registers from 284 towards 0, the lower one of the two effectively controls the green gain.
  • Page 100 Description of the data path This feature uses the assumption that the R-G-B component sums of the sam- ples shall be equal; i.e., it assumes that the average of the sampled grid pix- els is to be monochrome. Note The following ancillary conditions should be observed for suc- cessful white balance: •...
  • Page 101: Automatic White Balance

    Description of the data path Finally, the calculated correction values can be read from the WHITE_BALANCE register 80Ch. Automatic white balance The auto white balance feature continuously optimizes the color characteris- tics of the image. For the white balance algorithm the whole image or a subset of it is used. Note Configuration To set position and size of the control area...
  • Page 102: Auto Shutter

    Description of the data path The algorithm is based on the assumption that the R-G-B component sums of the samples are equal, i.e., it assumes that the mean of the sampled grid pix- els is to be monochrome. Auto shutter In combination with auto white balance, Stingray cameras are equipped with auto shutter feature.
  • Page 103 Description of the data path To configure this feature in control and status register (CSR): Register Name Field Description 0xF0F0081C SHUTTER Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the Value field 1: Control with value in the Absolute value If this bit=1, the value in the Value field will be ignored.
  • Page 104: 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 131: Advanced register: Auto gain control on page 274. 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 105 Description of the data path Register Name Field Description 0xF0F00820 GAIN Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR If this bit=1 the value in the value field has to be ignored.
  • Page 106 Description of the data path Register Name Field Description 0xF0F00804 AUTO_EXPOSURE Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR If this bit=1 the value in the value field has to be ignored.
  • Page 107: Manual Gain

    Description of the data path Note • Values can only be changed within the limits of gain CSR. • Changes in auto exposure register only have an effect when auto gain is active. • Auto exposure limits are 50..205. (SmartView Ctrl1 tab: Target grey level) Manual gain Stingray cameras are equipped with a gain setting, allowing the gain to be...
  • Page 108 Description of the data path The following table shows the BRIGHTNESS register: Register Name Field Description 0xF0F00800 BRIGHTNESS Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR If this bit= 1 the value in the value field has to be ignored...
  • Page 109: Horizontal Mirror Function

    Description of the data path Horizontal mirror function All Stingray cameras are equipped with an electronic mirror function, which mirrors pixels from the left side of the image to the right side and vice versa. The mirror is centered to the current FOV center and can be combined with all image manipulation functions, like binning, shading and DSNU.
  • Page 110: Shading Correction

    Description of the data path Shading correction Shading correction is used to compensate for non-homogeneities caused by lighting or optical characteristics within specified ranges. To correct a frame, a multiplier from 1...2 is calculated for each pixel in 1/256 steps: this allows for shading to be compensated by up to 50 %. Besides generating shading data off-line and downloading it to the camera, the camera allows correction data to be generated automatically in the cam- era itself.
  • Page 111: How To Store Shading Image

    Description of the data path How to store shading image There are two storing possibilities: • After generating the shading image in the camera, it can be uploaded to the host computer for nonvolatile storage purposes. • The shading image can be stored in the camera itself. The following pictures describe the process of automatic generation of cor- rection data.
  • Page 112: Automatic Generation Of Correction Data

    Description of the data path Automatic generation of correction data Requirements Shading correction compensates for non-homogeneities by giving all pixels the same gray value as the brightest pixel. This means that only the back- ground must be visible and the brightest pixel has a gray value of less than 255 when automatic generation of shading data is started.
  • Page 113 Description of the data path Note Configuration To configure this feature in an advanced register: See Table 125: Advanced register: Shading on page 267. Note • The SHDG_CTRL register should not be queried at very short intervals. This is because each query delays the generation of the shading image.
  • Page 114 Description of the data path 255.0 surface plot histogram Count: 307200 Min: 139 Mean: 157.039 Max: 162 StdDev: 2.629 Mode: 158 (84449) Figure 59: Example of shaded image • 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).
  • Page 115: Loading A Shading Image Out Of The Camera

    Description of the data path Loading a shading image out of the camera GPDATA_BUFFER is used to load a shading image out of the camera. Because the size of a shading image is larger than GPDATA_BUFFER, input must be handled in several steps: Query limits from register: SHDG_INFO and...
  • Page 116: Loading A Shading Image Into The Camera

    Description of the data path Loading a shading image into the camera GPDATA_BUFFER is used to load a shading image into the camera. Because the size of a shading image is larger than GPDATA_BUFFER, input must be handled in several steps (see also Chapter Reading or writing shading image from/into the camera on page 268): Query limits from register:...
  • Page 117: Look-Up Table (Lut) And Gamma Function

    Description of the data path 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 118 Description of the data path Note • The input value is the most significant 12-bit value from the digitizer. • Gamma 1 (gamma=0.45) switches on the LUT. After overriding the LUT with a user defined content, gamma functionality is no longer available until the next full initialization of the camera.
  • Page 119: Loading An Lut Into The Camera

    Description of the data path Loading an LUT into the camera Loading the LUT is carried out through the data exchange buffer called GPDATA_BUFFER. As this buffer can hold a maximum of 2 kB, and a complete LUT at 4096 x 10 bit is 5 kByte, programming can not take place in a one block write step because the size of an LUT is larger than GPDATA_BUFFER.
  • Page 120: Binning (Only Stingray B/W Models And F-201C)

    Description of the data path Binning (only Stingray b/w models and F-201C) 2 x / 4 x / 8 x binning (F-201C only 2 x vertical binning) Definition Binning is the process of combining neighboring pixels while being read out from the CCD chip.
  • Page 121: Vertical Binning

    Description of the data path • 8 x H-binning • 8 x V-binning and the full binning modes: • 2 x full binning (a combination of 2 x H-binning and 2 x V-binning) • 4 x full binning (a combination of 4 x H-binning and 4 x V-binning) •...
  • Page 122 Description of the data path 8 x vertical binning (not F-201C) Figure 66: 8 x vertical binning Note Vertical resolution is reduced, but signal-to noise ratio (SNR) is increased by about 3, 6 or 9 dB (2 x, 4 x or 8 x bin- ning).
  • Page 123: Horizontal Binning (F-201C Only 2 X Horizontal Binning)

    Description of the data path Horizontal binning (F-201C only 2 x horizontal binning) Definition In horizontal binning adjacent horizontal pixels in a line are combined dig- itally in the FPGA of the camera without accumulating the black level: 2 x horizontal binning: 2 pixel signals from 2 horizontal neighboring pixels are combined.
  • Page 124: X Full Binning/4 X Full Binning/8 X Full Binning (F-201C Only 2 X Full Binning)

    Description of the data path 8 x horizontal binning (not F-201C) Figure 69: 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.
  • Page 125 Description of the data path 4 x full binning (not F-201C) Figure 71: 4 x full binning 8 x full binning (not F-201C) Figure 72: 8 x full binning STINGRAY Technical Manual V2.2.0...
  • Page 126: Sub-Sampling (Stingray B/W And Color)

    Description of the data path Sub-sampling (Stingray b/w and color) What is sub-sampling? Definition 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 127 Description of the data path 2 out of 4 Figure 75: Horizontal sub-sampling 2 out of 4 (color) 2 out of 8 only F-145, F-146, F-201 Figure 76: Horizontal sub-sampling 2 out of 8 (color) Note The image appears horizontally compressed in this mode and no longer exhibits a true aspect ratio.
  • Page 128 Description of the data path Format_7 Mode_5 By default and without further remapping use Format_7 Mode_5 for • b/w cameras: 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 77: Vertical sub-sampling (b/w)
  • Page 129 Description of the data path 2 out of 4 2 out of 8 (only F-145, F-146, F-201) Figure 78: Vertical sub-sampling (color) Note The image appears vertically compressed in this mode and no longer exhibits a true aspect ratio. Format_7 Mode_6 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.
  • Page 130 Description of the data path 2 out of 8 H+V sub-sampling (only F-145, F-146, F-201) Figure 80: 2 out of 8 H+V sub-sampling (b/w) STINGRAY Technical Manual V2.2.0...
  • Page 131 Description of the data path 2 out of 4 H+V sub-sampling Figure 81: 2 out of 4 H+V sub-sampling (color) 2 out of 8 H+V sub-sampling (only F-145, F-146, F-201) Figure 82: 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.
  • Page 132: Binning And Sub-Sampling Access

    Description of the data path Binning and sub-sampling access The binning and sub-sampling modes described in the last two chapters are only available as pure binning or pure sub-sampling modes. A combination of both is not possible. As you can see there is a vast amount of possible combinations. But the num- ber of available Format_7 modes is limited and lower than the possible com- binations.
  • Page 133 Description of the data path Format_ID (see p285) AVT modes F7 modes according to IIDC 1394 0 x horizontal 2 x horizontal F7M0 (no change) 0 x vertical 4 x horizontal F7M1 8 x horizontal 0 x horizontal F7M2 2 x horizontal 2 x vertical 4 x horizontal F7M3...
  • Page 134: Quick Parameter Change Timing Modes

    Description of the data path Note Configuration To configure this feature in an advanced register: See Table 143: Advanced register: Format_7 mode mapping on page 285. Quick parameter change timing modes Why new timing modes? For readers familiar with PIKE and MARLIN cameras: Former timing of the PIKE cameras showed the same behavior as MARLIN cameras (All STINGRAY cameras have already the new timing modes implemented): •...
  • Page 135: Standard Parameter Update Timing

    Description of the data path To optimize the transfer of parameter changes there is a new timing mode called Quick Format Change Mode, which effectively resets the current shut- ter. Therefore you can choose between the following update timing modes: •...
  • Page 136: How To Transfer Parameters To The Camera

    Description of the data path Figure 85: Quick Format Change Mode How to transfer parameters to the camera The following 3 variants of transferring the parameters are available: ☺ Transfer mode Advantage Disadvantage ☺ easy to use (standard quad Encapsulated Update (begin/ one write access per register end) writes in camera register is...
  • Page 137: Parameter-List Update

    Description of the data path – (standard Update): uses the previous parameters until the update flag is reset – (Quick Format Change Mode): waits until the update flag is reset. In the Encapsulated Update (begin/end) the exact sequence is: 1. Parameter update begin (advanced feature register) 2.
  • Page 138: Standard Update (Iidc)

    Description of the data path Example of parameter list: Address Value 0xF0F0081C 0x80000100 0xF0F00820 0x800000ac 0xF0F00818 0x82000001 Table 44: Example of parameter list The exact sequence is: Block-write (this needs to be a functionality of the underlying software stack (e.g. AVT FirePackage). It may not be available for third party IIDC software stacks.) of list to advanced feature address Camera timing behavior is like this: Fast Parameter Update Timing...
  • Page 139: Packed 12-Bit Mode

    Description of the data path Camera timing behavior is like this: Fast Parameter Update Timing Quick Format Change Mode (QFCM) After sending a new parameter value, the changed After sending a new parameter value, the changed parameter value is valid for the available next parameter value is valid for the available next image.
  • Page 140: High Snr Mode (High Signal Noise Ratio)

    Description of the data path High SNR mode (High Signal Noise Ratio) Note Configuration To configure this feature in an advanced register: See Table 137: Advanced register: High Signal Noise Ratio (HSNR) page 279. In this mode the camera grabs and averages a set number of images and out- puts one image with the same bit depth and the same brightness.
  • Page 141: Frame Memory And Deferred Image Transport

    Description of the data path Frame memory and deferred image transport An image is normally captured and transported in consecutive steps. The image is taken, read out from the sensor, digitized and sent over the 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 142: Holdimg Mode

    Description of the data path Note Configuration To configure this feature in an advanced register: See Table 127: Advanced register: Deferred image transport on page 270. HoldImg mode By setting the HoldImg flag, transport of the image over the 1394 bus is stopped completely.
  • Page 143 Description of the data path The following screenshot shows the sequence of commands needed to work with deferred mode. Figure 86: Example: Controlling deferred mode (SmartView - Direct Access; Stingray F-145C) For a description of the commands see the following table: rw Address Value Description...
  • Page 144: Fastcapture Mode

    Description of the data path FastCapture mode Note This mode can be activated only in Format_7. By setting FastCapture to false, the maximum frame rate both for image acquisition and read out is associated with the packet size set in the BYTE_PER_PACKET register.
  • Page 145: Color Interpolation (Bayer Demosaicing)

    Description of the data path Color interpolation (BAYER demosaicing) The color sensors capture the color information via so-called primary color (R-G-B) filters placed over the individual pixels in a BAYER mosaic layout. An effective BAYER RGB color interpolation already takes place in all Stingray color version cameras.
  • Page 146 Description of the data path In color interpolation a red, green or blue value is determined for each pixel. Only two lines are needed for this interpolation: Figure 88: BAYER demosaicing (interpolation) ------------------ - ------------------ - ------------------ - green green green blue blue...
  • Page 147: 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: Sharpness value Description +0.25...
  • Page 148: Hue And Saturation

    Description of the data path Note Sharpness does not show any effect on Stingray color models in the Raw8 and Raw16 format, because color processing is switched off in all Raw formats. Note Configuration To configure this feature in feature control register: See Table 110: Feature control register on page 245.
  • Page 149: Color Correction

    Description of the data path Color correction Why 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 GretagMacbeth ColorChecker page 148.
  • Page 150: Changing Color Correction Coefficients

    Description of the data path Changing color correction coefficients You can change the color-correction coefficients according to your own needs. Changes are stored in the user settings. Note • A number of 1000 equals a color correction coefficient of 1. •...
  • Page 151: Color Conversion (Rgb Yuv)

    Description of the data path Color conversion (RGB YUV) The conversion from RGB to YUV is made using the following formulae: × × × 0.59 0.11 × × × – – 0.169 0.33 G 0.498 128 (@ 8 bit) × ×...
  • Page 152: Serial Interface

    Description of the data path 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 153 Description of the data path To configure this feature in access control register (CSR): Offset Name Field Description 000h SERIAL_MODE_REG Baud_Rate [0..7] Baud rate setting WR: Set baud rate RD: Read baud rate 0: 300 bps 1: 600 bps 2: 1200 bps 3: 2400 bps 4: 4800 bps 5: 9600 bps...
  • Page 154 Description of the data path Offset Name Field Description 0004h SERIAL_CONTROL_REG RE Receive enable RD: Current status 0: Disable 1: Enable Transmit enable RD: Current status 0: disable 1: Enable [2..7] Reserved SERIAL_STATUS_REG TDRD Transmit data buffer ready Read only 0: not ready 1: ready Reserved...
  • Page 155 Description of the data path Offset Name Field Description 008h RECEIVE_BUFFER_ RBUF_ST [0..7] SIO receive buffer status STATUS_CONTRL RD: Number of bytes pending in receive buffer WR: Ignored RBUF_CNT [8..15] SIO receive buffer control RD: Number of bytes to be read from the receive FIFO WR: Number of bytes left for readout from the receive FIFO...
  • Page 156 Description of the data path To read data: 1. Query RDRD flag (buffer ready?) and write the number of bytes the host wants to read to RBUF_CNT. 2. Read the number of bytes pending in the receive buffer RBUF_ST (more data in the buffer than the host wanted to read?) and the number of bytes left for reading from the receive FIFO in RBUF_CNT (host wanted to read more data than were in the buffer?).
  • Page 157: Controlling Image Capture

    Controlling image capture Controlling image capture Shutter modes The cameras support the SHUTTER_MODES specified in IIDC V1.31. For all models this shutter is a global pipelined shutter; meaning that all pixels are exposed to the light at the same moment and for the same time span. Pipelined Pipelined means that the shutter for a new image can already happen, while the preceding image is transmitted.
  • Page 158 Controlling image capture 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 90: Trigger_Mode_0 and 1 STINGRAY Technical Manual V2.2.0...
  • Page 159: Bulk Trigger (Trigger_Mode_15)

    Controlling image capture Bulk trigger (Trigger_Mode_15) Trigger_Mode_15 is an extension to the IIDC trigger modes. One external trigger event can be used to trigger a multitude of internal image intakes. This is especially useful for: • Grabbing exactly one image based on the first external trigger. •...
  • Page 160 Controlling image capture The functionality is controlled via bit [6] and bitgroup [12-15] of the follow- ing register: Register Name Field Description 0xF0F00830 TRIGGER_MODE Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the Value field 1: Control with value in the Absolute value If this bit = 1 the value in the Value field has to be ignored.
  • Page 161 Controlling image capture The screenshots below illustrate the use of Trigger_Mode_15 on a register level: • Line #1switches continuous mode off, leaving viewer in listen mode. • Line #2 prepares 830h register for external trigger and Mode_15. Left = continuous Middle = one-shot Right = multi-shot Line #3 switches camera back to...
  • Page 162 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. The following table explains the Inquiry register and the meaning of the var- ious bits.
  • Page 163: Trigger Delay

    Controlling image capture Register Name Field Description 0xF0F00834 TRIGGER_DELAY Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the Value field 1: Control with value in the Absolute value CSR If this bit = 1, the value in the Value field has to be ignored [2..5] Reserved...
  • Page 164: Trigger Delay Advanced Register

    Controlling image capture The advanced register allows start of the integration to be delayed by max. µs, which is max. 2.1 s after a trigger edge was detected. Note • Switching trigger delay to ON also switches external Trigger_Mode_0 to ON. •...
  • Page 165: Exposure Time (Shutter) And Offset

    Controlling image capture Minimum exposure time Camera model Minimum exposure time Effective min. exp. time = Min. exp. time + offset Stingray F-033 4 µs 4 µs + 27 µs = 31 µs Stingray F-046 4 µs 4 µs + 27 µs = 31 µs Stingray F-080 4 µs 4 µs + 45 µs = 49 µs...
  • Page 166: Minimum Exposure Time

    Controlling image capture The lowest possible value of ExpTime is camera-specific (see Table 60: Cam- era-specific minimum exposure time on page 165). Note • Exposure times entered via the 81Ch register are mir- rored in the extended register, but not vice versa. •...
  • Page 167 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 170), this flag is ignored.
  • Page 168: One-Shot

    Controlling image capture One-shot command on the bus to start of exposure The following sections describe the time response of the camera using a sin- gle frame (one-shot) command. As set out in the IIDC specification, this is a software command that causes the camera to record and transmit a single frame.
  • Page 169: One-Shot Command On The Bus To Start Of Exposure

    Controlling image capture End of exposure to first packet on the bus After the exposure, the CCD sensor is read out; some data is written into the FRAME_BUFFER before being transmitted to the bus. The time from the end of exposure to the start of transport on the bus is: 710 µs ±...
  • Page 170: Multi-Shot

    Controlling image capture Multi-shot Setting multi-shot and entering a quantity of images in Count_Number in the 61Ch register enables the camera to record a specified number of images. The number is indicated in bits 16 to 31. If the camera is put into ISO_Enable mode (see Chapter ISO_Enable / free-run on page 170), this flag...
  • Page 171 Controlling image capture The following screenshot shows an example of broadcast commands sent with the Firedemo example of FirePackage: Figure 95: Broadcast one-shot • Line 1 shows the broadcast command, which stops all cameras con- nected to the same IEEE 1394 bus. It is generated by holding the Shift key down while clicking on Write.
  • Page 172: Jitter At Start Of Exposure

    Controlling image capture In this case the camera can resynchronize the horizontal clock to the new trigger event, leaving only a very short uncertainty time of the master clock period. Model Exposure start jitter Exposure start jitter (while FVal) (while camera idle) ±...
  • Page 173: 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 174: How Is Sequence Mode Implemented

    Controlling image capture Note Sequence mode requires special care if changing image size, Color_Coding_ID and frame rate related parameters. This is because these changes not only affect settings in the camera but also require corresponding settings in the receiving soft- ware in the PC.
  • Page 175 Controlling image capture Register Name Field Description 0xF1000228 SEQUENCE_STEP Presence_Inq Indicates presence of this feature (read only) [1..4] Reserved PerformStep Sequence is stepped one item for- ward PerformReset Sequence reset [7..23] Reserved SeqPosition [24..31] Get the current sequence position 0xF100022C SEQUENCE_RESET Presence_Inq Indicates presence of this feature...
  • Page 176: Setup Mode

    Controlling image capture SeqMode description Sequence mode Description 0x80 This mode is the default sequence mode and stepping the sequence is compatible to e.g. the Marlin series. With each image integration start the sequence is stepped one item further and the new parameter set becomes active for the next image.
  • Page 177: Sequence Repeat Counter

    Controlling image capture The following flow diagram shows how to set up a sequence. SEQUENCE_CTRL ON_OFF flag to true (1) SetupMode to true (1) Set SeqLength to desired length (<=MaxLength) Set ImageNo = 0 in SEQUENCE_PARAM Assign image parameters in the corresp.
  • Page 178: Setup Mode

    Controlling image capture Which sequence mode features are available? • Repeat one step of a sequence n times where n can be set by the vari- able ImageRepeat in SEQUENCE_PARAM. • Define one or two hardware inputs in Input mode field of IO_INP_CTRL –...
  • Page 179: Which Sequence Mode Features Are Available

    Controlling image capture 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. I/O controlled sequence pointer reset can be combined with Quick Format Change Modes.
  • Page 180 Controlling image capture Figure 97: Example of sequence mode settings with AVT Firetool 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.
  • Page 181: Points To Pay Attention To When Changing The Parameters

    Controlling image capture Changing the parameters within a sequence To change the parameter set for one image, it is not necessary to modify the settings for the entire sequence. The image can simply be selected via the ImageNo field and it is then possible to change the corresponding IIDC V1.31 registers.
  • Page 182: Changing The Parameters Within A Sequence

    Controlling image capture 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. • In contrary to Marlin cameras, in the Stingray SIS fea- ture the endianness cannot be changed.
  • Page 183: Secure Image Signature (Sis): Definition And Scenarios

    Controlling image capture • AOI can be inserted in the image if it was set as a variable e.g. in a sequence. • Exposure/gain scenario parameters can be inserted in the image if set as a variable in e.g. sequence mode to identify the imaging conditions. •...
  • Page 184 Controlling image capture STINGRAY Technical Manual V2.2.0...
  • Page 185: 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 186: F-033C Bl

    Video formats, modes and bandwidth Stingray F-033B / Stingray F-033C and board level F-033B BL / F-033C BL Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16...
  • Page 187 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 656 x 492 Mono8 84 fps Mono12 84 fps Mono16 84 fps 656 x 492 YUV411 84 fps YUV422,Raw16 84 fps Mono8,Raw8 84 fps RGB8 67 fps Raw12...
  • Page 188: F-046C Bl

    Video formats, modes and bandwidth Stingray F-046B / Stingray F-046C and board level F-046B BL / F-046C BL Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16...
  • Page 189 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 780 x 580 Mono8 61 fps Mono12 61 fps Mono16 61 fps 780 x 580 YUV411 61 fps YUV422,Raw16 61 fps Mono8,Raw8 61 fps RGB8 48 fps Raw12...
  • Page 190: Stingray F-080B / Stingray F-080C And Board Level F-080B Bl / F-080C Bl

    Video formats, modes and bandwidth Stingray F-080B / Stingray F-080C and board level F-080B BL / F-080C BL Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8...
  • Page 191 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1032 x 776 Mono8 31 fps Mono12 31 fps Mono16 31 fps 1032 x 776 YUV411 31 fps YUV422,Raw16 31 fps Mono8,Raw8 31 fps RGB8 27 fps Raw12...
  • Page 192: Stingray F-145B / Stingray F-145C And Board Level F-145B Bl / F-145C Bl

    Video formats, modes and bandwidth Stingray F-145B / Stingray F-145C and board level F-145B BL / F-145C BL Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8...
  • Page 193 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1388 x 1038 Mono8 16 fps Mono12 16 fps Mono16 16 fps 1388 x 1038 YUV411 16 fps YUV422,Raw16 16 fps Mono8,Raw8 16 fps RGB8 15 fps Raw12...
  • Page 194 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) frame rate = f (2 x AOI height) STINGRAY Technical Manual V2.2.0...
  • Page 195: Stingray F-146B / Stingray F-146C And Board Level F-146B Bl / F-146C Bl

    Video formats, modes and bandwidth Stingray F-146B / Stingray F-146C and board level F-146B BL / F-146C BL Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8...
  • Page 196 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1388 x 1038 Mono8 15 fps Mono12 15 fps Mono16 15 fps 1388 x 1038 YUV411 15 fps YUV422,Raw16 15 fps Mono8,Raw8 15 fps RGB8 15 fps Raw12...
  • Page 197 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) frame rate = f (2 x AOI height) STINGRAY Technical Manual V2.2.0...
  • Page 198: Stingray F-201B / Stingray F-201C And Board Level F-201B Bl / F-201C Bl

    Video formats, modes and bandwidth Stingray F-201B / Stingray F-201C and board level F-201B BL / F-201C BL Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8...
  • Page 199 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1624 x 1234 Mono8 14 fps Mono12 14 fps Mono16 14 fps 1624 x 1234 YUV411 14 fps YUV422,Raw16 14 fps Mono8,Raw8 14 fps RGB8 10 fps Raw12...
  • Page 200 Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1624 x 616 Mono8 14 fps 2 out of 4 V-sub-sampling Mono12 14 fps 2 out of 4 V-sub-sampling Mono16 14 fps 2 out of 4 V-sub-sampling 1624 x 616 YUV411 14 fps...
  • Page 201: Area Of Interest (Aoi)

    Video formats, modes and bandwidth Area of interest (AOI) The camera’s image sensor has a defined resolution. This indicates the max- imum number of lines and pixels per line that the recorded image may have. However, often only a certain section of the entire image is of interest. The amount of data to be transferred can be decreased by limiting the image to a section when reading it out from the camera.
  • Page 202 Video formats, modes and bandwidth Figure 99: Area of interest (AOI) Note • The left position + width and the upper position + height may not exceed the maximum resolution of the sensor. • The coordinates for width and height must be divisible by 4.
  • Page 203: Autofunction Aoi

    Video formats, modes and bandwidth Autofunction AOI Use this feature to select the image area (work area) on which the following autofunctions work: • Auto shutter • Auto gain • Auto white balance In the following screenshot you can see an example of the autofunction AOI: Work area Figure 100: Example of autofunction AOI (Show work area is on) Note...
  • Page 204: Frame Rates

    Video formats, modes and bandwidth Note Configuration To configure this feature in an advanced register see Chapter Autofunction AOI on page 275. Frame rates An IEEE 1394 camera requires bandwidth to transport images. The IEEE 1394b bus has very large bandwidth of at least 62.5 MByte/s for transferring (isochronously) image data.
  • Page 205 Video formats, modes and bandwidth Format Mode Resolution 3.75 160 x 120 YUV (4:4:4) 1/2H 1/4H 1/8H 640p 320p 160p 24 bit/pixel 480q 240q 120q 320 x 240 YUV (4:2:2) 1/2H 1/4H 1/8H 2560p 1280p 640p 320p 160p 16 bit/pixel 1280q 640q 320q...
  • Page 206 Video formats, modes and bandwidth Format Mode Resolution 3.75 1.875 800 x 600 YUV (4:2:2) 5/2H 5/4H 5/8H 6/16H 4000p 2000p 1000p 500p 250p 16 bit/pixel 2000q 1000q 500q 250q 125q 800 x 600 RGB 5/2H 5/4H 5/8H 2000p 1000p 500p 24 bit/pixel 1500q...
  • Page 207 Video formats, modes and bandwidth Format Mode Resolution 3.75 1.875 1280 x 960 YUV (4:2:2) 1/2H 1/4H 2560p 1280p 640p 320p 16 bit/pixel 1280q 640q 320q 160q 1280 x 960 RGB 1/2H 1/4H 2560p 1280p 640p 320p 24 bit/pixel 1920q 960q 480q 240q...
  • Page 208: Frame Rates Format_7

    Video formats, modes and bandwidth Frame rates Format_7 In video Format_7 frame rates are no longer fixed. Note • Different values apply for the different sensors. • Frame rates may be further limited by longer shutter times and/or bandwidth limitation from the IEEE 1394 bus.
  • Page 209: Stingray F-033/F-033 Bl: Aoi Frame Rates

    Video formats, modes and bandwidth Stingray F-033/F-033 BL: AOI frame rates ---------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × ) 2.64µs × – 138µs AOI height 23.62µs 509 AOI height Formula 7: Stingray F-033: theoretical max. frame rate of CCD Figure 101: Frame rates Stingray F-033 as function of AOI height [width=656] CCD* Raw8 Raw12...
  • Page 210: Stingray F-046/F-046 Bl: Aoi Frame Rates

    Video formats, modes and bandwidth Stingray F-046/F-046 BL: AOI frame rates ----------------------------------------------------------------------------------------------------------------------------------------------------------- - max. frame rate of CCD × × – 136.22µs AOI height 27.59µs 597 AOI height 2.64µs Formula 8: Stingray F-046: theoretical max. frame rate of CCD Figure 102: Frame rates Stingray F-046 as function of AOI height [width=780] AOI height CCD* RAW8...
  • Page 211: Stingray F-080/F-080 Bl: Aoi Frame Rates

    Video formats, modes and bandwidth Stingray F-080/F-080 BL: AOI frame rates ---------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × ) 7.00µs × – 222µs AOI height 40.50µs 778 AOI height Formula 9: Stingray F-080: theoretical max. frame rate of CCD Figure 103: Frame rates Stingray F-080 as function of AOI height [width=1032] AOI height CCD* RAW8...
  • Page 212: Stingray F-145/F-145 Bl: Aoi Frame Rates

    Video formats, modes and bandwidth Stingray F-145/F-145 BL: AOI frame rates ----------------------------------------------------------------------------------------------------------------------------------------------------------------- - max. frame rate of CCD × ) 10.92µs × – 450.00µs AOI height 59.36µs 1051 AOI height Formula 10: Stingray F-145: theoretical max. frame rate of CCD Figure 104: Frame rates Stingray F-145 as function of AOI height [width=1388] AOI height CCD*...
  • Page 213: Stingray F-146/F-146 Bl: Aoi Frame Rates

    Video formats, modes and bandwidth Stingray F-146/F-146 BL: AOI frame rates ----------------------------------------------------------------------------------------------------------------------------------------------------------------- - max. frame rate of CCD × ) 11.77µs × – 337.88µs AOI height 60.25µs 1051 AOI height Formula 11: Stingray F-146: theoretical max. frame rate of CCD Figure 105: Frame rates Stingray F-146 as function of AOI height [width=1388] AOI height CCD*...
  • Page 214: Stingray F-201/F-201 Bl: Aoi Frame Rates

    Video formats, modes and bandwidth Stingray F-201/F-201 BL: AOI frame rates ------------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × ) 7.14µs × – 290µs AOI height 54.81µs 1238 AOI height Formula 12: Stingray F-201: theoretical max. frame rate of CCD Formula 13: Frame rates Stingray F-201 as function of AOI height [width=1624] AOI height CCD* RAW8...
  • Page 215: How Does Bandwidth Affect The Frame Rate

    How does bandwidth affect the frame rate? How does bandwidth affect the frame rate? In some modes the IEEE 1394b bus limits the attainable frame rate. Accord- ing to the 1394b specification on isochronous transfer, the largest data pay- load size of 8192 bytes per 125 µs cycle is possible with bandwidth of 800 Mbit/s.
  • Page 216: Example Formula For The B/W Camera

    How does bandwidth affect the frame rate? ByteDepth is based on the following values: Mode bit/pixel byte per pixel Mono8, Raw8 Mono12, Raw12 Mono16, Raw16 Mono16, Raw16 (High SNR mode) YUV4:2:2 YUV4:1:1 RGB8 Table 92: ByteDepth Example formula for the b/w camera Mono16, 1392 x 1040, 30 fps desired ×...
  • Page 217: Test Images

    How does bandwidth affect the frame rate? Test images Loading test images FirePackage Fire4Linux 1. Start SmartView. 1. Start cc1394 viewer. 2. Click the Edit settings button. 2. In Adjustments menu click on Picture Control. 3. Click Adv1 tab. 3. Click Main tab. 4.
  • Page 218: Test Images For Color Cameras

    How does bandwidth affect the frame rate? Test images for color cameras The color cameras have 1 test image: YUV4:2:2 mode Figure 107: Color test image Mono8 (raw data) Figure 108: Bayer-coded test image The color camera outputs Bayer-coded raw data in Mono8 instead of (as described in IIDC V1.31) a real Y signal.
  • Page 219: Configuration Of The Camera

    Configuration of the camera Configuration of the camera All camera settings are made by writing specific values into the correspond- ing registers. This applies to: • values for general operating states such as video formats and modes, exposure times, etc. •...
  • Page 220: Example

    Configuration of the camera Every register is 32 bit (big endian) and implemented as follows (MSB = Most Significant Bit; LSB = Least Significant Bit): Far left Table 94: 32-bit register Example This requires, for example, that to enable ISO_Enabled mode (see Chapter ISO_Enable / free-run on page 170), (bit 0 in register 614h), the value 80000000 h must be written in the corresponding register.
  • Page 221 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 109: Enabling ISO_Enable STINGRAY Technical Manual V2.2.0...
  • Page 222 Configuration of the camera Offset of Register: (0x1000040) ADV_FNC_INQ Content of register: FEA2E583 = 1111 1110 1010 0010 1110 0101 1000 0011 Table 95: Configuring the camera (Stingray F-145C) Table 96: Configuring the camera: registers STINGRAY Technical Manual V2.2.0...
  • Page 223: Sample Program

    Configuration of the camera Sample program The following sample code in C/C++ shows how the register is set for video mode/format, trigger mode etc. using the 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));...
  • Page 224: Example Firestack Api

    Configuration of the camera Example FireStack API … // Set framerate Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_FRAMERATE,(UINT32)m_Parms.F rameRate<<29); // 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 &&...
  • Page 225: Configuration Rom

    Configuration of the camera Configuration ROM The information in the configuration ROM is needed to identify the node, its capabilities and which drivers are required. The base address for the configuration ROM for all registers is FFFF F0000000h. Note If you want to use the DirectControl program to read or write to a register, enter the following value in the Address field: F0F00000h + Offset The configuration ROM is divided into...
  • Page 226 Configuration of the camera To compute the effective start address of the node unique ID leaf currAddr = node unique ID leaf address destAddr = address of directory entry addrOffset = value of directory entry destAddr = currAddr + (4 x addrOffset) = 420h + (4 x 000002h) = 428h Table 98: Computing effective start address...
  • Page 227 Configuration of the camera Offset 8-15 16-23 24-31 444h ..unit_dep_info_length, CRC 448h ..command_regs_base Unit dependent info 44Ch ..vender_name_leaf 450h ..model_name_leaf 454h ..unit_sub_sw_version 458h ..Reserved 45Ch ..Reserved 460h ..Reserved 464h ..vendor_unique_info_0 468h ..vendor_unique_info_1 46Ch ..vendor_unique_info_2 470h ..vendor_unique_info_3 Table 101: Configuration ROM And finally, the entry with key 40 (448h in this case) provides the offset for the camera control register: FFFF F0000000h + 3C0000h x 4 = FFFF F0F00000h...
  • Page 228: Implemented Registers (Iidc V1.31)

    Configuration of the camera Implemented registers (IIDC V1.31) The following tables show how standard registers from IIDC V1.31 are imple- mented in the camera: • Base address is F0F00000h • Differences and explanations can be found in the Description column. Camera initialize register Offset Name...
  • Page 229: Inquiry Register For Video Mode

    Configuration of the camera Inquiry register for video mode Offset Name Field Description Color mode 180h V_MODE_INQ Mode_0 160 x 120 YUV 4:4:4 Mode_1 320 x 240 YUV 4:2:2 (Format_0) Mode_2 640 x 480 YUV 4:1:1 Mode_3 640 x 480 YUV 4:2:2 Mode_4 640 x 480...
  • Page 230: Inquiry Register For Video Frame Rate And Base Address

    Configuration of the camera Offset Name Field Description Color mode 19Ch V_MODE_INQ Mode_0 Format_7 Mode_0 Mode_1 Format_7 Mode_1 (Format_7) Mode_2 Format_7 Mode_2 Mode_3 Format_7 Mode_3 Mode_4 Format_7 Mode_4 Mode_5 Format_7 Mode_5 Mode_6 Format_7 Mode_6 Mode_7 Format_7 Mode_7 [8..31] Reserved (zero) Table 104: Video mode inquiry register Inquiry register for video frame rate and base address...
  • Page 231 Configuration of the camera Offset Name Field Description 208h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_0, Mode_2) 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) 20Ch V_RATE_INQ FrameRate_0...
  • Page 232 Configuration of the camera Offset Name Field Description 214h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_0, Mode_5) 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) 218h V_RATE_INQ (Format_0,...
  • Page 233 Configuration of the camera Offset Name Field Description 224h V_RATE_INQ FrameRate_0 Reserved FrameRate_1 Reserved (Format_1, 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) 228h V_RATE_INQ FrameRate_0 Reserved...
  • Page 234 Configuration of the camera Offset Name Field Description 230h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_1, 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) 234h V_RATE_INQ FrameRate_0...
  • Page 235 Configuration of the camera Offset Name Field Description 23Ch V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_1, Mode_7) 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 Reserved [8..31] Reserved (zero) 240h V_RATE_INQ FrameRate_0 1.875 fps...
  • Page 236 Configuration of the camera Offset Name Field Description 248h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_2, Mode_2) 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 Reserved [8..31] Reserved (zero) 24Ch V_RATE_INQ FrameRate_0 1.875 fps...
  • Page 237 Configuration of the camera Offset Name Field Description 254h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_2, Mode_5) 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) 258h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps...
  • Page 238 Configuration of the camera Offset Name Field Description 2E0h [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_0 Mode_0 2E4h [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_1 Mode_1 2E8h [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_2 Mode_2 2ECh [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_3 Mode_3 2F0h [0..31] CSR_quadlet offset for Format_7...
  • Page 239: Inquiry Register For Basic Function

    Configuration of the camera Inquiry register for basic function Offset Name Field Description 400h BASIC_FUNC_INQ Advanced_Feature_Inq Inquiry for advanced features (Vendor unique Features) Vmode_Error_Status_Inq Inquiry for existence of Vmode_Error_Status register Feature_Control_Error_Status_Inq [2] Inquiry for existence of Feature_Control_Error_Status Opt_Func_CSR_Inq Inquiry for Opt_Func_CSR [4..7] Reserved 1394b_mode_Capability...
  • Page 240: Inquiry Register For Feature Presence

    Configuration of the camera Inquiry register for feature presence Offset Name Field Description 404h FEATURE_HI_INQ Brightness Brightness control Auto_Exposure Auto_Exposure control Sharpness Sharpness control White_Balance White balance control Hue control Saturation Saturation control Gamma Gamma control Shutter Shutter control Gain Gain control Iris Iris control...
  • Page 241 Configuration of the camera Offset Name Field Description 410h Reserved Address error on access 47Fh 480h Advanced_Feature_Inq [0..31] Quadlet offset of the Advanced_Feature_Quadlet_Offset advanced feature CSR's from the base address of initial register space (vendor unique) This register is the offset for the Access_Control_Register and thus the base address for Advanced Features.
  • Page 242: Inquiry Register For Feature Elements

    Configuration of the camera Inquiry register for feature elements Register Name Field Description 0xF0F00500 BRIGHTNESS_INQUIRY Presence_Inq Indicates presence of this feature (read only) Abs_Control_Inq Capability of control with absolute value Reserved One_Push_Inq One-push auto mode (con- trolled automatically by the camera once) Readout_Inq Capability of reading out the...
  • Page 243 Configuration of the camera Register Name Field Description 530h TRIGGER_INQ Presence_Inq Indicates presence of this feature (read only) Abs_Control_Inq Capability of control with absolute value [2..3 Reserved Readout_Inq Capability of reading out the value of this feature ON_OFF Capability of switching this feature ON and OFF Polarity_Inq Capability of changing the...
  • Page 244 Configuration of the camera Register Name Field Description 580h ZOOM_INQ Always 0 584h PAN_INQ Always 0 588h 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...
  • Page 245: Inquiry Register For Absolute Value Csr Offset Address

    Configuration of the camera Inquiry register for absolute value CSR offset address Offset Name Description 700h ABS_CSR_HI_INQ_0 Always 0 704h ABS_CSR_HI_INQ_1 Always 0 708h ABS_CSR_HI_INQ_2 Always 0 70Ch ABS_CSR_HI_INQ_3 Always 0 710h ABS_CSR_HI_INQ_4 Always 0 714h ABS_CSR_HI_INQ_5 Always 0 718h ABS_CSR_HI_INQ_6 Always 0 71Ch...
  • Page 246: Status And Control Register For One-Push

    Configuration of the camera Status and control register for one-push The OnePush feature, WHITE_BALANCE, is currently implemented. If this flag is set, the feature becomes immediately active, even if no images are being input (see Chapter One-push automatic white balance on page 98).
  • Page 247 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 110: Feature control register STINGRAY Technical Manual V2.2.0...
  • Page 248 Configuration of the camera Offset Name Field Description 80Ch WHITE-BALANCE Presence_Inq Presence of this feature 0: N/A 1: Available Always 0 for Mono Abs_Control Absolute value control 0: Control with value in the Value field 1: Control with value in the Absolute value CSR If this bit = 1, value in the Value field is ignored.
  • Page 249 Configuration of the camera Offset Name Field Description 810h See above Always 0 for Mono 814h SATURATION See above Always 0 for Mono 818h GAMMA See above 81Ch SHUTTER See Advanced Feature time base Table 36: CSR: Shutter on page 102 820h GAIN See above...
  • Page 250: Feature Control Error Status Register

    Configuration of the camera Feature control error status register Offset Name Description 640h Feature_Control_Error_Status_HI Always 0 644h Feature_Control_Error_Status_LO Always 0 Table 111: Feature control error register Video mode control and status registers for Format_7 Quadlet offset Format_7 Mode_0 The quadlet offset to the base address for Format_7 Mode_0, which can be read out at F0F002E0h (according to Table 105: Frame rate inquiry register on page 229) gives 003C2000h.
  • Page 251 Configuration of the camera Offset Name Description 024h COLOR_CODING_INQ Vendor Unique Color_Coding 0-127 (ID=128-255) ID=132 ECCID_MONO12 033h ID=136 ECCID_RAW12 ID=133 Reserved ID=134 Reserved ID=135 Reserved See Chapter Packed 12-Bit Mode on page 138. 034h PIXEL_NUMER_INQ According to IIDC V1.31 038h TOTAL_BYTES_HI_INQ According to IIDC V1.31 03Ch...
  • Page 252: Temperature Register

    Configuration of the camera Temperature register The temperature is implemented with Presence_Inq=1 (available) and ON_OFF [6] always ON according to IIDC V1.31: Register Name Field Description 0xF0F0082C TEMPERATURE Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR...
  • Page 253: Advanced Features (Avt-Specific)

    Configuration of the camera Advanced features (AVT-specific) The camera has a variety of extended features going beyond the possibilities described in IIDC V1.31. The following chapter summarizes all available (AVT- specific) advanced features in ascending register order. Note This chapter is a reference guide for advanced registers and does not explain the advanced features itself.
  • Page 254 Configuration of the camera Register Register name Description 0XF1000240 LUT_CTRL Table 124: Advanced register: LUT on page 0XF1000244 LUT_MEM_CTRL 0XF1000248 LUT_INFO 0XF1000250 SHDG_CTRL Table 125: Advanced register: Shading page 267 0XF1000254 SHDG_MEM_CTRL 0XF1000258 SHDG_INFO 0XF1000260 DEFERRED_TRANS Table 127: Advanced register: Deferred image transport on page 270 0XF1000270...
  • Page 255 Configuration of the camera Register Register name Description 0xF10003A4 COLOR_CORR_COEFFIC11 = Crr 0xF10003A8 COLOR_CORR_COEFFIC12 = Cgr 0xF10003AC COLOR_CORR_COEFFIC13 = Cbr 0xF10003B0 COLOR_CORR_COEFFIC21 = Crg Stingray color cameras only 0xF10003B4 COLOR_CORR_COEFFIC22 = Cgg Table 133: Advanced register: Color correction on page 276 0xF10003B8 COLOR_CORR_COEFFIC23 = Cbg 0xF10003BC...
  • Page 256: Extended Version Information Register

    Configuration of the camera Register Register name Description 0x1100000 PARRAMLIST_INFO Table 141: Advanced register: Parameter-List Update: parameter list on page 284 0x1101000 PARAMLIST_BUFFER Table 114: Advanced registers summary Note Advanced features should always be activated before access- ing them. Note •...
  • Page 257 Configuration of the camera The µC version and FPGA firmware version numbers are bcd-coded, which means that e.g. firmware version 0.85 is read as 0x0085 and version 1.10 is read as 0x0110. The newly added VERSION_INFOx_EX registers contain extended bcd-coded version information formatted as special.major.minor.patch.
  • Page 258: Advanced Feature Inquiry

    Configuration of the camera Advanced feature inquiry This register indicates with a named bit if a feature is present or not. If a feature is marked as not present the associated register space might not be available and read/write errors may occur. Note Ignore unnamed bits in the following table: these bits might be set or not.
  • Page 259 Configuration of the camera Register Name Field Description 0xF1000044 ADV_INQ_2 Input_1 Input_2 [2..7] Reserved Output_1 Output_2 Output_3 [10] Output_4 [11] [12..15] Reserved IntEnaDelay [16] [17..23] Reserved Output 1 PWM [24] STINGRAY housing and board level cameras Output 2 PWM [25] Output 3 PWM [26] Output 4 PWM...
  • Page 260: Camera Status

    Configuration of the camera Camera status This register allows to determine the current status of the camera. The most important flag is the Idle flag. If the Idle flag is set the camera does not capture and does not send any images (but images might be present in the image FIFO).
  • Page 261: Maximum Resolution

    Configuration of the camera Maximum resolution This register indicates the highest resolution for the sensor and is read-only. Note This register normally outputs the MAX_IMAGE_SIZE_INQ Format_7 Mode_0 value. This is the value given in the specifications tables under Picture size (max.) in Chapter Specifications on page 38ff.
  • Page 262 Configuration of the camera Note Time base can only be changed when the camera is in idle state and becomes active only after setting the shutter value. The ExpOffset field specifies the camera specific exposure time offset in microseconds (µs). This time (which should be equivalent to Table 59: Cam- era-specific exposure time offset on page 164) has to be added to the expo-...
  • Page 263: Extended Shutter

    Configuration of the camera Extended shutter The exposure time for long-term integration of up to 67 seconds can be entered with µs precision via the EXTENDED_SHUTTER register. Register Name Field Description 0xF100020C EXTD_SHUTTER Presence_Inq Indicates presence of this fea- ture (read only) [1..5] Reserved ExpTime...
  • Page 264: Test Images

    Configuration of the camera Test images Bit [8] to [14] indicate which test images are saved. Setting bit [28] to [31] activates or deactivates existing test images. By activating any test image the following auto features are automatically disabled: • auto gain •...
  • Page 265: Look-Up Tables (Lut)

    Configuration of the camera Look-up tables (LUT) Load the look-up tables to be used into the camera and choose the look-up table number via the LutNo field. Now you can activate the chosen LUT via the LUT_CTRL register. The LUT_INFO register indicates how many LUTs the camera can store and shows the maximum size of the individual LUTs.
  • Page 266: Loading A Look-Up Table Into The Camera

    Configuration of the camera Note The BitsPerValue field indicates how many bits are read from the LUT for any gray-value read from the sensor. To determine the number of bytes occupied for each gray-value round-up the BitsPerValue field to the next byte boundary. Examples: •...
  • Page 267: Shading Correction

    Configuration of the camera Shading correction Owing to technical circumstances, the interaction of recorded objects with one another, optical effects and lighting non-homogeneities may occur in the images. Because these effects are normally not desired, they should be eliminated as far as possible in subsequent image editing.
  • Page 268 Configuration of the camera Register Name Field Description 0xF1000250 SHDG_CTRL Presence_Inq Indicates presence of this feature (read only) BuildError Could not built shading image [2..3] Reserved ShowImage Show shading data as image BuildImage Build a new shading image ON_OFF Shading on/off Busy Build in progress MemChannelSave...
  • Page 269: Reading Or Writing Shading Image From/Into The Camera

    Configuration of the camera Reading or writing shading image from/into the camera Accessing the shading image inside the camera is done through the GPDATA_BUFFER. Because the size of the GPDATA_BUFFER is smaller than a whole shading image the data must be written in multiple steps. To read or write a shading image: 1.
  • Page 270: Memory Channel Error Codes

    Configuration of the camera To reload a shading image from non-volatile memory: 1. Set MemoryChannel to the desired memory channel and MemChannelLoad to true (1). 2. Read MemChannelError to check for errors. To clear already stored shading image data in non-volatile memory (shading image data won't be loaded on camera resets): 1.
  • Page 271: Deferred Image Transport

    Configuration of the camera Deferred image transport Using this register, the sequence of recording and the transfer of the images can be paused. Setting HoldImg prevents transfer of the image. The images are stored in ImageFIFO. The images indicated by NumOfImages are sent by setting the SendImage bit.
  • Page 272: Frame Information

    Configuration of the camera Frame information This register can be used to double-check the number of images received by the host computer against the number of images which were transmitted by the camera. The camera increments this counter with every FrameValid sig- nal.
  • Page 273: Delayed Integration Enable (Intena)

    Configuration of the camera Delayed Integration Enable (IntEna) A delay time between initiating exposure on the sensor and the activation edge of the IntEna signal can be set using this register. The on/off flag acti- vates/deactivates integration delay. The time can be set in µs in DelayTime. Note •...
  • Page 274: Auto Shutter Control

    Configuration of the camera Auto shutter control The table below illustrates the advanced register for auto shutter control. The purpose of this register is to limit the range within which auto shutter operates. Register Name Field Description 0xF1000360 AUTOSHUTTER_CTRL Presence_Inq Indicates presence of this feature (read only) [1..31]...
  • Page 275: Auto Gain Control

    Configuration of the camera If both auto gain and auto shutter are enabled and if the shutter is at its upper boundary and gain regulation is in progress, increasing the upper auto shutter boundary has no effect on auto gain/shutter regulation as long as auto gain regulation is active.
  • Page 276: Autofunction Aoi

    Configuration of the camera Autofunction AOI The table below illustrates the advanced register for autofunction AOI. Register Name Field Description 0xF1000390 AUTOFNC_AOI Presence_Inq Indicates presence of this feature (read only) [1..3] Reserved ShowWorkArea Show work area Reserved ON_OFF Enable/disable AOI (see note above) Reserved YUNITS...
  • Page 277: Color Correction

    Configuration of the camera Color correction To switch off color correction in YUV mode: see bit [6] Register Name Field Description 0xF10003A0 COLOR_CORR Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Color correction on/off default: on Write: 02000000h to switch color correction OFF Write: 00000000h to switch color correction ON...
  • Page 278: Trigger Delay

    Configuration of the camera Trigger delay Register Name Field Description 0xF1000400 TRIGGER_DELAY Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Trigger delay on/off [7..10] Reserved DelayTime [11..31] Delay time in µs Table 134: Advanced register: Trigger delay The advanced register allows start of the integration to be delayed via DelayTime by max.
  • Page 279: Soft Reset

    Configuration of the camera Soft reset Register Name Field Description 0xF1000510 SOFT_RESET Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved Reset Initiate reset [7..19] Reserved Delay [20..31] Delay reset in 10 ms steps Table 136: Advanced register: Soft reset The soft reset feature is similar to the INITIALIZE register, with the follow- ing differences: •...
  • Page 280: High Snr Mode (High Signal Noise Ratio)

    Configuration of the camera High SNR mode (High Signal Noise Ratio) With High SNR mode enabled the camera internally grabs GrabCount images and outputs a single averaged image. Register Name Field Description 0xF1000520 HIGH_SNR Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved...
  • Page 281: Maximum Iso Packet Size

    Configuration of the camera Maximum ISO packet size Use this feature to increase the MaxBytePerPacket value of Format_7 modes. This overrides the maximum allowed isochronous packet size specified by IIDC V1.31. Register Name Field Description 0xF1000560 ISOSIZE_S400 Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved...
  • Page 282 Configuration of the camera Restrictions Note the restrictions in the following table. When using software with an Isochronous Resource Manager (IRM): deactivate it. Software Restrictions FireGrab Deactivate Isochronous Resource Manager: SetParameter (FGP_USEIRMFORBW, 0) FireStack/FireClass No restrictions SDKs using Microsoft driver (Active FirePackage, Direct FirePackage, ...) Linux: libdc1394_1.x...
  • Page 283: Quick Parameter Change Timing Modes

    Configuration of the camera Quick parameter change timing modes You can choose between the following update timing modes: • Standard Parameter Update Timing (slightly modified from previous Stingray cameras) • Quick Format Change Mode Note For a detailed description see Chapter Quick parameter change timing modes on page 133.
  • Page 284: Automatic Reset Of The Updactive Flag

    Configuration of the camera To switch on Quick Format Change Mode do the following: 1. Set UpdTiming to 2. 2. Set UpdActive to 1. 3. Be aware that all parameter values have to be set within 10 seconds. Automatic reset of the UpdActive flag With Quick Format Change Mode you normally have to clear the UpdActive flag after all desired parameters have been set.
  • Page 285: Parameter-List Update

    Configuration of the camera Parameter-List Update The parameter list is an array of address/data pairs which can be sent to the camera in a single bus cycle. Register Name Field Description 0xF1100000 PARAMLIST_INFO Presence_Inq Indicates presence of this feature (read only) [1..15] Reserved BufferSize...
  • Page 286: Format_7 Mode Mapping

    Configuration of the camera Format_7 mode mapping With Format_7 mode mapping it is possible to map special binning and sub- sampling modes to F7M1..F7M7 (see Figure 83: Mapping of possible Format_7 modes to F7M1...F7M7 on page 132). Register Name Field Description 0xF1000580 F7MODE_MAPPING...
  • Page 287: Example

    Configuration of the camera Example To map the internal Format_7 Mode_19 to the visible Format_7 Mode_1, write the decimal number 19 to the above listed F7MODE_1 register. Note For available Format_7 modes see Figure 83: Mapping of pos- sible Format_7 modes to F7M1...F7M7 on page 132.
  • Page 288: Secure Image Signature (Sis)

    Configuration of the camera 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 • Time stamp (1394 bus cycle time at the beginning of integration) •...
  • Page 289 Configuration of the camera Enter a • positive value from 0...HeightOfImage to specify a position relative to the top of the image. LinePos=0 specifies the very first image line. • negative value from -1...-HeightOfImage to specify a position relative to the bottom of the image. LinePos=-1 specifies the very last image line.
  • Page 290: Advanced Register: Frame Counter

    Configuration of the camera Cycle offset 12 bit Cycle count ..Cycle count 13 bit Second count 7 bit Table 146: Cycle timer layout Advanced register: frame counter Note Different to Marlin SIS: Register 610 is only to be used to reset the frame counter. The frame counter feature is controlled by the following advanced feature register: Register...
  • Page 291: Advanced Register: Trigger Counter

    Configuration of the camera Advanced register: trigger counter The trigger counter feature is controlled by the following advanced feature register: Register Name Field Description 0xF1000620 TRIGGER_COUNTER Presence_Inq Indicates presence of this feature (read only) Reset Reset trigger counter [2..31] Reserved 0xF1000624 TRGCNT TriggerCounter [0..31]...
  • Page 292: Where To Find Time Stamp, Frame Counter And Trigger Counter In The Image

    Configuration of the camera Where to find time stamp, frame counter and trigger counter in the image Time stamp (Cycle counter) Trigger counter Output line 5 6 7 10 11 12 ..of image Frame counter Bytes Figure 111: SIS in the image: time stamp, frame counter, trigger counter Where to find all SIS values in the image In the following table you find the position of all SIS values (byte for byte) including the endianness of SIS values.
  • Page 293: User Profiles

    Configuration of the camera User profiles Definition Within the IIDC specification user profiles are called memory channels. Often they are called user sets. In fact these are different expressions for the following: storing camera settings into a non-volatile memory inside the camera.
  • Page 294: Error Codes

    Configuration of the camera Note • 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.
  • Page 295: Reset Of Error Codes

    Configuration of the camera Reset of error codes The ErrorCode field is set to zero on the next write access. You may also reset the ErrorCode • by writing to the USER_PROFILE register with the SaveProfile, RestoreProfile and SetDefaultID flag not set. •...
  • Page 296: Pulse-Width Modulation (Pwm): Stingray Housing And Board Level Cameras

    Configuration of the camera Note • A profile save operation automatically disables captur- ing of images. • A profile save or restore operation is an uninterruptable (atomic) operation. The write response (of the asyn- chronous write cycle) will be sent after completion of the operation.
  • Page 297: Gpdata_Buffer

    Configuration of the camera GPDATA_BUFFER GPDATA_BUFFER is a general purpose register that regulates the exchange of data between camera and host for: • writing look-up tables (LUTs) into the camera • uploading/downloading of the shading image GPDATA_INFO Buffer size query GPDATA_BUFFER indicates the actual storage range Register...
  • Page 298: Firmware Update

    Firmware update Firmware update Firmware updates can be carried out via FireWire cable without opening the camera. 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 299: Appendix

    Appendix Appendix Sensor position accuracy of AVT cameras camera body camera body camera body camera body pixel area pixel area pixel area pixel area sensor case sensor case sensor case sensor case AVT Guppy Series Method of Positioning: Automated mechanical alignment of sensor into camera front module. (lens mount front flange) Reference points: Sensor: Center of pixel area (photo sensitive cells).
  • Page 300: Index

    Index Index Numbers drawing ...........129 2 out of 8 H+V sub-sampling (color) 0xF1000010 (version info) .......255 drawing ...........130 0xF1000040 (advanced feature inquiry)..257 2 x full binning 0xF1000100 (camera status) .....259 drawing ...........123 0xF1000200 (max. resolution) ....260 2 x horizontal binning 0xF1000208 (time base) ......260 drawing ...........122 0xF100020C (extended shutter)..165...
  • Page 301 Index Autofunction AOI ......275 correction data .........111 Camera status ........259 automatic white balance ......100 Color correction ........276 AUTOSHUTTER_CTRL ........273 Deferred image transport ....270 AUTOSHUTTER_HI ........273 Delayed Integration Enable (IntEna) ..272 AUTOSHUTTER_LO ........273 Extended shutter ......165 AUTO_EXPOSURE ........105 Extended version.......255 Auto_Inq ..........82 Format_7 mode mapping ....285 AVT Firetool program .......179 frame counter ........289...
  • Page 302 Index descending........179 COLOR_CODING_INQ ........138 effects ..........173 common GND IIDC register ........106 inputs..........75 increase ........106 common vcc level.........110 outputs..........75 LUT ..........116 consequence nonlinear .........116 BAYER demosaicing ......145 reference........101 continuous setting..........106 using Trigger_Mode_15 ......161 sub-sampling ........125 controlling variation ..........272 image capture........156 Brightness Control ........239 correction Brightness (CSR register) ......107...
  • Page 303 Index DelayTime ..........272 external signal (SeqMode) ......176 Digital Camera Specification (DCAM) ..218 external trigger ........79 digital video information ......92 digitizer ..........117 direct fiber technology ......18 Fast Parameter Update Timing ..136 document history........11 FastCapture DSNU bandwidth........143 horizontal mirror function....108 deferred image transport ....270 false..........143...
  • Page 304 Index video mode 0........206 drawing ...........125 video mode 2........206 horizontal sub-sampling (color) Frame valid ..........84 drawing ...........126 FrameCounter .........271 HSNR ............139 free-run..........170 hue............147 full binning..........123 offset ..........147 Fval ............84 Fval signal ..........84 color coding ........138 gain IEEE 1394 ..........17 auto ..........103 declaration of conformity ....
  • Page 305 Index IntEna..........75 general ..........116 IntEna signal ........84 loading into camera......118 IntEna_Delay........... 89 volatile ..........117 IntEna_Out ..........272 LUT (advanced register) ......264 internal trigger........156 LutNo............264 interpolation LutNo (Field)..........264 BAYER demosaicing ....144 LUT_CTRL..........264 BAYER to RGB ........144 LUT_INFO ..........264 color ..........144 LUT_MEM_CTRL ........264 IO_INP_CTRL1 .........
  • Page 306 Index automatic white balance ..... 98 parameter list (example) ......284 offset............164 Parameter-List Update ....135 800h ..........106 Parameter-List Update (advanced register) .284 CCD ..........106 PI controller ..........103 configuration ROM......224 pin control..........271 factors ..........224 PinState flag ........... 86 hue ..........147 PinState (Field) ........80 initialize register.......227 pixel data ..........
  • Page 307 Index sensor position accuracy ......298 SHDG_INFO ..........267 SeqLength..........179 SHDG_MEM_CTRL........267 SeqMode SHUTTER..........102 description ........176 Shutter CSR..........102 sequence shutter time automatic white balance ..... 99 formula..........164 deferred mode........142 SHUTTER_MODES........156 important notes ........179 signal-to noise ratio (SNR) loading a LUT ........118 vertical binning ........121 modified registers ......173 signal-to-noise ratio (SNR).......119 of images .........173...
  • Page 308 Index STINGRAY F-145B/C fiber (Specification) ..44 time base (Register)........260 STINGRAY F-145B/C (Specification) .... 44 time response.........168 STINGRAY F-146B fiber (Specification) ..46 time stamp ........182 STINGRAY F-146B (Specification)....46 time stamp (advanced register)....287 STINGRAY F-201B/C fiber (Specification) ..48 time stamp (definition) ......287 STINGRAY F-201B/C (Specification) ....
  • Page 309 Index trigger function ........160 IEEE 1394b........73 trigger modi...........156 video data format trigger overrun ........182 IIDC V1.31 ........93 triggers ..........79 Video data payload ........92 input ..........79 video format TRIGGER_DELAY .........83 available bandwidth......203 TRIGGER_DELAY_INQUIRY....82 frame rate ........203 TRIGGER_MODE ........160 MF-080 .......

Table of Contents