AVT Guppy Technical Manual V7.1.
Legal notice For customers in the U.S.A. This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a residential environment.
Contents Contacting Allied Vision Technologies ................................................... 9 Introduction ...........................................................................................................10 Document history ......................................................................................................... 10 Manual overview........................................................................................................... 18 Conventions used in this manual.....
Cross section: CS-Mount................................................................................................. 72 Camera interfaces .............................................................................................73 IEEE 1394a port pin assignment...................................................................................... 73 Board level camera: IEEE 1394a port pin assignment ..................................................... 74 Camera I/O connector pin assignment .........
How demosaicing works ...................................................................................... Format_7 Mode_0: sensor readout and color .......................................................... Format_7 Mode_1: sensor readout and color .......................................................... Color correction (only interlaced GUPPYs)....................................................................... Horizontal and vertical mirror function (only Guppy F-036/F-503)........................
Controlling image capture ..........................................................................167 Global shutter (CCD cameras only)................................................................................. Pipelined global shutter (only Guppy F-036) ................................................................... Electronic rolling shutter (ERS) and global reset release shutter (GRR) (only Guppy F-503) .... Trigger modes .......................................................................
GUPPY F-033 and board level versions: AOI frame rates...................................................................................................... GUPPY F-036: AOI frame rates .................................................................................. GUPPY F-038 / GUPPY F-038 NIR (only F7M0 and F7M1): AOI frame rates ..................................................................... GUPPY F-044 / GUPPY F-044 NIR (only F7M0 and F7M1): AOI frame rates ......................................
Test images ........................................................................................................... Look-up tables (LUT) .............................................................................................. Defect pixel correction (only Guppy F-503) ................................................................ Input/output pin control......................................................................................... Delayed Integration Enable (IntEna) ..................
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.
Introduction Introduction This GUPPY Technical Manual describes in depth the technical specifications, dimensions, all camera features (IIDC standard and AVT smart features) and their registers, trigger features, all video and color formats, bandwidth 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. Note Please read through this manual carefully.
Introduction Version Date Remarks continued from last page PRE_V3.0.0 30.10.2006 [continued] [continued] New CS-Mount and C-Mount adapter in Chapter Guppy cameras on page 23. Added Guppy F-33B/C BL (board level version) Changed camera status register (Table 113: Advanced register: Camera status on page 261) Added Guppy F-146 PRE_V4.0.0 26.01.2007 Minor corrections Added Guppy F-080B/C BL (board level version) Added new features Guppy-F036B/C V4.0.1 02.02.
Introduction Version Date Remarks continued from last page V6.0.2 31.03.08 Minimum shutter time of Guppy F-036B/C is now 180 µs: see Chapter Guppy F-036B/C on page 33 and Chapter Minimum shutter time of GUPPY F-036 on page 182. Added note: Guppy F-036 supports only Trigger_Mode_0. See Chapter Trigger modes on page 170.
Introduction Version Date Remarks continued from last page V6.1.0 09.07.
Introduction Version Date Remarks continued from last page V6.1.0 09.07.
Introduction Version Date Remarks continued from last page V6.2.0 15.08.08 Added cross-reference from upload LUT to GPDATA_BUFFER in Chapter Loading an LUT into the camera on page 132 Added Guppy F-146 with Mono8 (8-bit format) and Mono12/16 (12-bit format) in Chapter Pixel data on page 93f. In 12-bit mode the data output is MSB aligned (12 significant bits). In 16-bit mode the data output is MSB aligned (also 12 significant bits).
Introduction Version Date Remarks continued from last page V7.0.0 31.10.08 Operating temperature changed from 50 °C to 45 °C for all Guppy types in Chapter Specifications on page 29ff. New Guppy camera photos with new camera naming font: • Title page New Guppy F-503B/C: Read information in the following sections: • • • • • • • • • • • • • • • • • Chapter Declarations of conformity on page 24f. Table 5: Focal width vs.
Introduction Version Date Remarks continued from last page V7.1.0 07.05.09 All advanced registers in 8-digit format beginning with 0xF1... in Chapter Advanced features (AVT-specific) on page 254ff. Firing a new trigger while IntEna is still active can result in missing image (not image corruption): see Caution on page 88. Revised Chapter White balance on page 114ff.
Introduction Version Date Remarks continued from last page V7.1.0 07.05.09 [continued] [continued] [continued] Offset of low noise binning mode changed from 0xF1000580 to 0xF10005B0 in Table 132: Advanced register: Low noise binning mode on page 281. Changed Camera In 1 signal Uin(high) from 2 V to 2.
Introduction • • • • • • • • • • • • • Chapter Declarations of conformity on page 24 gives you information about conformity of AVT cameras. Chapter Filter and lenses on page 26 describes the IR cut filter and suitable camera lenses. Chapter Specifications on page 29 lists camera details and spectral sensitivity diagrams for each camera type.
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 Programs, inputs or highlighting bold important things Courier Code listings etc. Input Upper case Register REGISTER Italics Modes, fields Mode Parentheses and/or blue Links (Link) Table 2: Styles Symbols Note This symbol highlights important information.
Introduction More information For more information on hardware and software read the following: • Hardware Installation Guide describes the hardware installation procedures 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).
Introduction Note www 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 The camera also works with all IIDC (formerly DCAM) compatible IEEE 1394 programs and image processing libraries. GUPPY Technical Manual V7.1.
Guppy cameras Guppy cameras Guppy IEEE 1394a With Guppy cameras, entry into the world of digital image processing is simpler and more cost-effective than ever before. With the new GUPPY, Allied Vision Technologies presents a whole series of attractive digital camera entry-level models of the FireWire™ type. These products offer an unequalled price-performance relationship and make the decision to switch from using analogue to digital technology easier than ever before.
Declarations of conformity Declarations of conformity Allied Vision Technologies declares under its sole responsibility that the following products Category name Model name Digital camera (IEEE 1394) Guppy F-033B Guppy F-033C Guppy F-033B BL (board level) Guppy F-033C BL (board level) Guppy F-036B Guppy F-036C Guppy F-038B Guppy F-038C Guppy F-038B NIR Guppy F-038C NIR Guppy F-044B Guppy F-044C Guppy F-044B NIR Guppy F-044C NIR Guppy F-046B Guppy F-046C Guppy F-080B Guppy F-080C Guppy F-080B BL (board l
Declarations of conformity • RoHS (2002/95/EC) Note Customer samples may not comply with above regulations. GUPPY Technical Manual V7.1.
Filter and lenses Filter and lenses IR cut filter The following illustration shows the spectral transmission of the IR cut filter: Figure 1: Spectral transmission of Jenofilt 217 GUPPY Technical Manual V7.1.
Filter and lenses Camera lenses AVT offers different lenses from a variety of manufacturers. The following table lists selected image formats depending on camera type, distance and the focal width of the lens. Focal Width for type 1/2 sensors Guppy F-038/044/046/146 Distance = 0.5 m Distance = 1 m 4.8 mm 0.5 m x 0.67 m 1.0 m x 1.33 m 8 mm 0.3 m x 0.4 m 0.6 m x 0.8 m 12 mm 0.195 m x 0.26 m 0.39 m x 0.58 m 16 mm 0.145 m x 0.19 m 0.29 m x 0.38 m 25 mm 9.1 cm x 12.1 cm 18.2 cm x 24.
Filter and lenses Focal Width for type 1/3 sensors Guppy F-033/036/080 Distance = 0.5 m Distance = 1 m 4.8 mm 0.375 m x 0.5 m 0.75 m x 1 m 8 mm 0.22 m x 0.29 m 0.44 m x 0.58 m 12 mm 0.145 m x 0.19 m 0.29 m x 0.38 m 16 mm 11 cm x 14.7 cm 22 cm x 29.4 cm 25 mm 6.9 cm x 9.2 cm 13.8 cm x 18.4 cm 35 mm 4.8 cm x 6.4 cm 9.6 cm x 12.8 cm 50 mm 3.3 cm x 4.4 cm 6.6 cm x 8.8 cm Table 6: Focal width vs. field of view (Guppy F-033/036/080) GUPPY Technical Manual V7.1.
Specifications Specifications Note For information on bit/pixel and byte/pixel for each color mode see Table 90: ByteDepth on page 219. Guppy F-033B/C Feature Specification Image device Type 1/3 (diag. 6 mm) progressive scan SONY IT CCD ICX424AL/AQ with HAD microlens Effective chip size 4.9 mm x 3.7 mm Cell size 7.4 µm x 7.4 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.
Specifications Feature Specification Digital interface IEEE 1394a IIDC V1.3, single port Power requirements DC 8 V - 36 V via IEEE 1394 cable or 8-pin HIROSE Power consumption Less than 2 watt (@ 12 V DC) Dimensions 48.2 mm x 30 mm x 30 mm (L x W x H); w/o tripod and lens Mass 50 g (without lens) Operating temperature + 5 °C ... + 45 °C housing temperature (without condensation) Storage temperature - 10 °C ...
Specifications Guppy F-033B/C BL (board level) Feature Specification Image device Type 1/3 (diag. 6 mm) progressive scan SONY IT CCD ICX424AL/AQ with HAD microlens Effective chip size 4.9 mm x 3.7 mm Cell size 7.4 µm x 7.4 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Regulations Board level cameras are not tested for compliance with the regulations due to the fact that test results are strongly dependent on the housing.
Specifications Guppy F-036B/C Feature Specification Image device Type 1/3 (diag. 5.35 mm) progressive scan Micron/Aptina CMOS MT9V022 with microlens Effective chip size 4.5 mm x 2.9 mm Cell size 6.0 µm x 6.0 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Standard accessories • • b/w: C/CS-Mount with built-in protection glass color: C/CS-Mount with built-in IR cut filter Optional accessories • b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-038B/C Feature Specification Image device Type 1/2 (diag. 8 mm) interlaced SONY EIA/NTSC CCD ICX418ALL/ AKL with HAD microlens Effective chip size 6.5 mm x 4.8 mm Cell size 8.4 µm x 9.8 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Optional accessories • • Software packages • • • b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-038B/C NIR Feature Specification Image device Type 1/2 (diag. 8 mm) interlaced SONY EIA/NTSC ICX428ALL/AKL with EXview HAD microlens for enhanced near infrared light sensitivity Effective chip size 6.5 mm x 4.8 mm Cell size 8.4 µm x 9.8 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Optional accessories • • Software packages • • • b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-044B/C Feature Specification Image device Type 1/2 (diag. 8 mm) interlaced SONY CCIR/PAL CCD ICX419ALL/ AKL with HAD microlens Effective chip size 6.5 mm x 4.8 mm Cell size 8.6 µm x 8.3 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Optional accessories • • Software packages • • • b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-044B/C NIR Feature Specification Image device Type 1/2 (diag. 8 mm) interlaced SONY CCIR/PAL CCD ICX429ALL/ AKL with EXview HAD microlens for enhanced near infrared light sensitivity Effective chip size 6.5 mm x 4.8 mm Cell size 8.6 µm x 8.3 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Optional accessories • • Software packages • • • b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-046B/C Feature Specification Image device Type 1/2 (diag. 8 mm) progressive scan SONY IT CCD ICX415AL/AQ with HAD microlens Effective chip size 6.5 mm x 4.8 mm Cell size 8.3 µm x 8.3 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Standard accessories • • b/w: C/CS-Mount with built-in protection glass color: C/CS-Mount with built-in IR cut filter Optional accessories • • Board level OEM version b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-080B/C Feature Specification Image device Type 1/3 (diag. 6 mm) progressive scan SONY IT CCD ICX204AL/AK with HAD microlens Effective chip size 4.8 mm x 3.6 mm Cell size 4.65 µm x 4.65 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Standard accessories • • b/w: C/CS-Mount with built-in protection glass color: C/CS-Mount with built-in IR cut filter Optional accessories • • Board level OEM version b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-080B/C BL (board level) Feature Specification Image device Type 1/3 (diag. 6 mm) progressive scan SONY IT CCD ICX204AL/AK with HAD microlens Effective chip size 4.8 mm x 3.6 mm Cell size 4.65 µm x 4.65 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 26: Guppy board level version: C-Mount on page 68) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Regulations Board level cameras are not tested for compliance with the regulations due to the fact that test results are strongly dependent on the housing.
Specifications Guppy F-146B/C Feature Specification Image device Type 1/2 (diag. 8 mm) progressive scan SONY IT CCD ICX267AL/AK with HAD microlens Effective chip size 6.5 mm x 4.8 mm Cell size 4.65 µm x 4.65 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Standard accessories • • b/w: C/CS-Mount with built-in protection glass color: C/CS-Mount with built-in IR cut filter Optional accessories • • Board level OEM version b/w: C/CS-Mount: IR cut filter / IR pass filter available as CSMount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter.
Specifications Guppy F-503B/C Feature Specification Image device Type 1/2.5 (diag. 7.13 mm) Micron/Aptina CMOS MT9P031 with microlens • • Electronic rolling shutter (ERS) Global reset release shutter (GRR) Effective chip size 5.7 mm x 4.3 mm Cell size 2.2 µm x 2.2 µm Lens mount C-Mount: 17.526 mm (in air), Ø 25.4 mm (32 tpi), mechanical flange back to filter distance: 9.5 mm (see Figure 29: Guppy C-Mount dimensions on page 71) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Storage temperature - 10 °C ...
Specifications Spectral sensitivity Note The following quantum efficiency diagrams show typical values of the sensors. Figure 2: Spectral sensitivity of Guppy F-033B without cut filter and optics Figure 3: Spectral sensitivity of Guppy F-033C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Sensor Response Monochrome 60% Quantum Efficiency 50% 40% 30% 20% 10% 0% 400 500 600 700 800 900 1000 1100 Wavelength [nm] Figure 4: Spectral sensitivity of Guppy F-036B without cut filter and optic Sensor Response Red Green Blue 40% Quantum Efficiency 35% 30% 25% 20% 15% 10% 5% 0% 400 450 500 550 600 650 700 750 Wavelength [nm] Figure 5: Spectral sensitivity of Guppy F-036C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 6: Spectral sensitivity of Guppy F-038B without cut filter and optics Figure 7: Spectral sensitivity of Guppy F-038C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 8: Spectral sensitivity of Guppy F-038B NIR without cut filter and optics Figure 9: Spectral sensitivity of Guppy F-038C NIR without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 10: Spectral sensitivity of Guppy F-044B without cut filter and optics Figure 11: Spectral sensitivity of Guppy F-044C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 12: Spectral sensitivity of Guppy F-044B NIR without cut filter and optics Figure 13: Spectral sensitivity of Guppy F-044C NIR without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 14: Spectral sensitivity of Guppy F-046B without cut filter and optics Figure 15: Spectral sensitivity of Guppy F-046C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 16: Spectral sensitivity of Guppy F-080B without cut filter and optics Figure 17: Spectral sensitivity of Guppy F-080C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications Figure 18: Spectral sensitivity of Guppy F-146B without cut filter and optics Figure 19: Spectral sensitivity of Guppy F-146C without cut filter and optics GUPPY Technical Manual V7.1.
Specifications 1.0 Relative response 0.8 0.6 0.4 0.2 390 590 790 990 Wavelength [nm] Figure 20: Spectral sensitivity of Guppy F-503B without cut filter and optics Sensor Response Red Green Blue 50% 45% Quantum Efficiency 40% 35% 30% 25% 20% 15% 10% 5% 0% 400 450 500 550 600 650 700 750 Wavelength [nm] Figure 21: Spectral sensitivity of Guppy F-503C without cut filter and optics GUPPY Technical Manual V7.1.
Camera dimensions Camera dimensions Note For information on sensor position accuracy: (sensor shift x/y, optical back focal length z and sensor rotation ) see Chapter Sensor position accuracy of AVT cameras on page 285. GUPPY Technical Manual V7.1.
Camera dimensions Guppy standard housing (old CS-/C-Mounting) Body size: 48.2 mm x 30 mm x 30 mm (L x W x H) Mass: 50 g (without lens) Figure 22: Camera dimensions (old CS-/C-Mounting) GUPPY Technical Manual V7.1.
Camera dimensions Guppy standard housing (new CS-/C-Mounting) Body size: 48.2 mm x 30 mm x 30 mm (L x W x H) Mass: 50 g (without lens) Figure 23: Camera dimensions (new CS-/C-Mounting) GUPPY Technical Manual V7.1.
Camera dimensions Guppy board level: dimensions Pin 1 Figure 24: Guppy board level dimensions Note • • • Pixel 1,1 on the sensor marks the pixel in the upper left corner in the image (incl. lens). Sensor - Pin1 marks the first sensor pin. Pin 1 marks the first pin of FireWire connector 1. GUPPY Technical Manual V7.1.
Camera dimensions Guppy board level: CS-Mount Figure 25: Guppy board level: CS-Mount GUPPY Technical Manual V7.1.
Camera dimensions Guppy board level: C-Mount Figure 26: Guppy board level version: C-Mount GUPPY Technical Manual V7.1.
Camera dimensions Guppy board level: M12-Mount Figure 27: Guppy board level version: M12-Mount GUPPY Technical Manual V7.1.
Camera dimensions Tripod adapter Figure 28: Tripod dimensions GUPPY Technical Manual V7.1.
Camera dimensions Cross section: C-Mount Figure 29: Guppy C-Mount dimensions GUPPY Technical Manual V7.1.
Camera dimensions Cross section: CS-Mount Figure 30: Guppy CS-Mount dimensions GUPPY Technical Manual V7.1.
Camera interfaces Camera interfaces This chapter gives you detailed information on status LEDs, inputs and outputs, trigger features and transmission of data packets. Note For a detailed description of the camera interfaces (FireWire, I/O connector), ordering numbers and operating instructions see the Hardware Installation Guide. Read all Notes and Cautions in the Hardware Installation Guide, before using any interfaces.
Camera interfaces Board level camera: IEEE 1394a port pin assignment Board level GUPPY cameras have two 1394a ports to allow daisy chaining of cameras. The IEEE 1394 pin header (2.54 mm connector: FireWire connector 1) is designed for adding a 1394 adapter cable of: e.g.
Camera interfaces Signal Pin Pin Signal TPA+ 6 1 TPA- - 7 2 GND TPB+ 8 3 TPB- - 9 4 Cable power - 10 5 Cable shield Table 19: Board level camera: IEEE 1394a pin assignment (FireWire connector 1) Camera I/O connector pin assignment The camera I/O connector is designed for industrial use. It provides: • access to the inputs and outputs on the camera • a serial interface The following diagrams show the pinning as viewed in pin direction.
Camera interfaces GUPPY (housing) 8 7 4 6 3 5 2 1 Pin Signal Direction Level Description 1 Camera Out 1 Out Uout(high) = 2.4 V...5 V Camera Output 1 Uout(low) = 0 V...0.4 V (GPOut1) default: IntEna 2 Camera Out 2 Out Uout(high) = 2.4 V...5 V Camera Output 2 Uout(low) = 0 V...0.4 V (GPOut2) default: - 3 Camera Out 3 Out Uout(high) = 2.4 V...5 V Camera Output 3 Uout(low) = 0 V...0.4 V (GPOut3) default: Busy 4 Camera In 1 In Uin(high) = 2.4 V...5 V Camera Input 1 Uin(low) = 0 V...0.
Camera interfaces GUPPY (board level) The following diagram shows the I/O pin header (2.54 mm connector) of a board level camera as viewed in pin direction: Pin Signal 1 2 3 4 5 6 7 8 9 10 Direction Level Description 1 External GND GND for RS232, GPIOs External Ground for RS232, and ext. power GPIOs and external power 2 External Power +8...
Camera interfaces Status LEDs Status LEDs Yellow Green (S2) (S1) Figure 35: Status LEDs On LED (green) The green power LED indicates that the camera is being supplied with sufficient voltage and is ready for operation.
Camera interfaces Blink codes are used to signal warnings or error states: Class S1 Error codes S2 Warning 1 blink DCAM 2 blinks MISC 3 blinks FPGA Boot error FPGA 4 blinks Stack 5 blinks 1-5 blinks Stack setup 1 blink Stack start 2 blinks No FLASH object 1 blink No DCAM object 1 blink Register mapping 3 blinks VMode_ERROR_STATUS 1 blink FORMAT_7_ERROR_1 2 blinks FORMAT_7_ERROR_2 3 blinks Table 21: Error codes The following sketch illustrates the series of blinks for a Format_7_error
Camera interfaces Control and video data signals The inputs and outputs of the camera can be configured by software. The different modes are described below. Inputs Note For a general description of the inputs and warnings see the Hardware Installation Guide. Triggers The signal can be inverted. The camera must be set to external triggering to trigger image capture by the trigger signal.
Camera interfaces Register Name Field Bit Description 0xF1000308 IO_INP_CTRL3 Same as IO_INP_CTRL1 Only Guppy board level cameras 0xF100030C IO_INP_CTRL4 Same as IO_INP_CTRL1 Only Guppy board level cameras Table 22: Input configuration register The TiedToOutput field indicates that an output and the corresponding input share the same physical connector pin. Pins with TiedToOutput set to 1 can be used as an output or input.
Camera interfaces With IIDC V1.31 there is a standard CSR at register F0F00534/834h to control a delay up to FFFh x timebase value. The following table explains the Inquiry register and the meaning of the various bits.
Camera interfaces Register Name Field Bit Description 0xF0F00834 TRIGGER_DELAY Presence_Inq [0] Presence of this feature: 0: Not available 1: Available Abs_Control [1] 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 ON_OFF [6] Write ON or OFF this feature ON=1 Read: Status of the feature OFF=0 ---- [7..19] Reserved Value [20..
Camera interfaces Note • 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. Output features are configured by software. Any signal can be placed on any output. The main features of output signals are described below: Signal Description IntEna (Integration Enable) signal This signal displays the time in which exposure was made. By using a register this output can be delayed up to 1.
Camera interfaces Output mode selectable via software Polarity selectable via software IntEna FVal Busy Output signal Follow Input Direct Output sate Figure 37: Output block diagram Note The following signals are high active: IntEna, FVal, Busy, Follow Input, Direct. GUPPY Technical Manual V7.1.
Camera interfaces IO_OUTP_CTRL 1-3 The outputs are controlled via 3 advanced feature registers (see Table 28: Advanced register: Output control on page 86). Only board level cameras: The outputs are controlled via 4 advanced feature registers. The Polarity field determines whether the output is inverted (1) or not (0). The Output mode can be viewed in the table below. The current status of the output can be queried and set via the PinState.
Camera interfaces Output modes ID Mode Default 0x00 Off 0x01 Output state follows PinState bit 0x02 Integration enable 0x03 Reserved 0x04 Reserved 0x05 Reserved 0x06 FrameValid 0x07 Busy 0x08 Follow corresponding input (Inp1 Out1) 0x09 PWM (=pulse-width modulation) Only Guppy board level cameras 0x0A..0x1F Reserved Output 1 Output 2 Table 29: Output routing Note The output mode 0x08 is not available for output pins directly tied to an input pin.
Camera interfaces External Trigger Input, falling edge Trigger_Mode_0 Delay set by register Trigger_Delay + offset Integration_Enable (IntEna) Delay set by register IntEna_Delay IntEna delayed Frame_Valid (Fval) Busy Figure 38: Output impulse diagram See also Chapter Jitter at start of exposure on page 188. Offsets are camera specific. For more information read Chapter Exposure time offset on page 182. Note The signals can be inverted.
Camera interfaces Note • • Trigger delay in fact delays the image capture 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. Doing so, the achievable maximum frequency is strongly dependent on individual software capabilities. As a rule of thumb, the camera itself will limit the toggle frequency to not more than 700 Hz.
Camera interfaces Board level cameras: pulse-width modulation The 4 inputs and 4 outputs are independent. Each output has pulse-width modulation (PWM) capabilities, which can be used (with additional external electronics) for motorized speed control or autofocus control.
Camera interfaces 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 frequencies for the pulse-width modulation (PWM). period min = 3µs 1 - = 333.33kHz 1 - = ------ frequency max = ---------------------period min 3µs 1 frequency min = ------------------------ = 15.
Camera interfaces Example 2: Set PWM with 250 Hz at 12% pulse width. 1 1 RegPeriod = ----------------------------------------- = -------------------------------- = 4000 –6 –6 250Hz 10 s frequency 10 s RegPulseWidth = RegPeriod 12% = 4000 12% = 480 Formula 3: PWM example 2 GUPPY Technical Manual V7.1.
Camera interfaces Pixel data Pixel data are transmitted as isochronous data packets in accordance with the 1394 interface described in IIDC V1.3. The first packet of a frame is identified by the 1 in the sync bit (sy) of the packet header. sync bit 0-7 8-15 data_length 16-23 tg channel 24-31 tCode sy header_CRC Video data payload data_CRC Table 32: Isochronous data block packet format. Source: IIDC V1.
Camera interfaces • • • • • The video data for each pixel are output in 8-bit format (Packed 12-Bit Mode: 12-bit format). Exception: Guppy F-146 (Mono8: 8-bit format, Mono12/16: 12-bit format) Each pixel has a range of 256 (Packed 12-Bit Mode: 4096) shades of gray. The digital value 0 is black and 255 (Packed 12-Bit Mode: 4095) is white. In 12-bit mode the data output is MSB aligned (12 significant bits). In 16-bit mode the data output is MSB aligned (also 12 significant bits).
Camera interfaces (AVT) Y-(K+0) [11..4] Y-(K+1) [3..0] Y-(K+1) [11..4] Y-(K+2) [11..4] Y-(K+4) [11..4] Y-(K+5) [3..0] Y-(K+0) [3..0] Y-(K+3) [3..0] Y-(K+3) [11..4] Y-(K+2)[3..0] Y-(K+5) [11..4] Y-(K+4)[3..0] Y-(K+6) [11..4] Y-(K+7) [3..0] Y-(K+7) [11..4] Y-(K+6) [3..0] Table 34: Packed 12-Bit Mode (mono and raw) Y12 format from AVT Data structure (IIDC V1.3 and AVT) The following tables provide a description of the data structure for the different modes Source: IIDC V1.
Camera interfaces Each component has 8-bit data. The data type is Straight Binary. Highest (+) Lowest Highest (-) Signal level (decimal) Data (hexadecimal) 127 0xFF 126 0xFE . . . . 1 0x81 0 0x80 -1 0x7F . . . . -127 0x01 -128 0x00 Figure 44: Data structure of U, V [Source: IIDC V1.3] Y component has 16-bit data. The data type is Unsigned Short (big endian). Y Signal level (decimal) Data (hexadecimal) Highest 65535 0xFFFF 65534 0xFFFE . . . .
Camera interfaces (AVT) Y component has 12-bit data. The data type is Unsigned. Y Signal level (decimal) Data (hexadecimal) Highest 4095 0x0FFF 4094 0x0FFE . . . . 1 0x0001 0 0x0000 Lowest Table 35: Data structure of Packed 12-Bit Mode (mono and raw) from AVT GUPPY Technical Manual V7.1.
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 sensor chip (CCD or CMOS) in the camera. The individual blocks are described in more detail in the following paragraphs. For sensor data see Chapter Specifications on page 29. Note The following drawings are examples of Guppy cameras with 10-bit ADCs.
Description of the data path Black and white cameras (CCD and CMOS) CCD: Analog Front End (AFE) Gain Sensor Offset Analog Analog LUT 10* Bit Test-Pattern 8** bit Camera control Camera I/O connector RS232 IEEE 1394 interface 1394a Figure 46: Block diagram b/w camera (CCD) CMOS: Integrated in sensor Gain Offset Sensor Analog Analog LUT 10* Bit Test-Pattern 8** bit Camera control 1394a Camera I/O connector RS232 IEEE 1394 interface Figure 47: Block diagram b/w camera (CMOS) GUPPY Techn
Description of the data path Color cameras (CCD and CMOS) CCD: Analog Front End (AFE) Gain Sensor White Balance Offset Analog Analog LUT 10* bit 10* bit Test-Pattern 8** Bit Camera Control Camera I/O Connector RS232 IEEE-1394 Interface 1394a Figure 48: Block diagram color camera (CCD) CMOS: Integrated in sensor Gain Offset Sensor Analog Analog White balance LUT 10* bit 10* bit Test-Pattern 8** bit Camera control 1394a Camera I/O connector RS232 IEEE 1394 interface Figure 49: Bl
Description of the data path Readout schemes: GUPPY interlaced models (F-038, F-038 NIR, F-044, F-044 NIR, F-025, F-029) The GUPPY F-038/038 NIR/044/044 NIR/025/029 cameras use so-called interline scan interlaced CCDs. Interlaced means: one complete image is scanned or reconstructed by a temporal succession of odd lines and interleaved even lines. NIR means: near infrared.
Description of the data path Interlaced and field integration (Format_7 Mode_0) Binning line 1+2, 3+4, ... Second field: Binning line 2+3, 4+5, ...
Description of the data path Figure 52: Format_7 Mode_0: output (interlaced, field) Parameter Description Output during first field Line 1+2, 3+4, ... are output as line 1, 3, ... Output during second field Line 2+3, 4+5, ... are output as line 2, 4, ... Sensitivity Doubled by field integration Vertical resolution About 70% (due to interlaced) compared to progressive scan Temporal resolution High (reason: one field contains the full sensor information).
Description of the data path Interlaced and frame integration (Format_7 Mode_1) Note Always run the sensor at full speed due to specification of sensor. Reading out line 1, 3, 5, ... Second field: Reading out line 2, 4, 6, ...
Description of the data path field 2nd ield 4th f ield 3rd f eld 1st fi 1st field 2nd field 1st field 2nd field Figure 55: Format_7 Mode_1: output (interlaced, frame) Parameter Description Output during first field Line 1, 3, ... are output as line 1, 3, ... Output during second field Line 2, 4, ... are output as line 2, 4, ...
Description of the data path Non-interlaced and field integration (Format_7 Mode_2) only b/w cameras This mode emulates a progressive scan mode. Binning line 1+2, 3+4, ... Second field: Binning line 1+2, 3+4, ...
Description of the data path Figure 58: Format_7 Mode_2: output (non-interlaced, field integration, emulating progressive scan) Parameter Description Output during first field Line 1+2, 3+4, ... are output as line 1, 3, ... Output during second field Line 1+2, 3+4, ... are output as line 1, 3, ...
Description of the data path Complementary colors and demosaicing Note Color correction: see Chapter Color correction (only interlaced GUPPYs) on page 113.
Description of the data path This is for the first line pair: 1 1 Y = --- 2 B + 3 G + 2 R = --- G + Cy + Mg + Ye 2 2 with the assumption: R + G = Ye R + B = Mg G + B = Cy Formula 4: Y signal expressed via RGB and CyMgYeG The first chroma signal R-Y is created by subtracting the averaged pixels: R – Y = 2 R – G = Mg + Ye – G + Cy Formula 5: First chroma signal V Formula 2 is used for the first chroma (color difference) signal V.
Description of the data path Format_7 Mode_0: sensor readout and color In Format_7 Mode_0 controlling gain of the binned signals is done via SmartView or via the advanced registers. That means there are four separate gains, one for each binned component Cy+G, Mg+Ye, Mg+Cy and G+Ye.
Description of the data path As mentioned before two adjacent pixels in a line are used to calculate a luma (Y) value and one component (R-Y or B-Y) of the chroma values. This means: a half sized color image per field is reconstructed. After deinterlacing the image has the properties of a 4:2:2 image. GUPPY Technical Manual V7.1.
Description of the data path Format_7 Mode_1: sensor readout and color In Format_7 Mode_1 controlling gain is done digitally for each of the four channels Cyan, Yellow, Magenta and Green.
Description of the data path Color correction (only interlaced GUPPYs) In order to further improve the color response of complementary color filter sensors, a color correction is built in SmartView as well as in UniTransform.dll library. Color correction is done for daylight spectrum (about 5,000 K). CyMgYeG is converted to YUV values according the given formulas from SONY (Chapter How demosaicing works on page 108).
Description of the data path Horizontal and vertical mirror function (only Guppy F-036/F-503) The Guppy F-036/F-503 CMOS cameras are equipped with a horizontal and vertical mirror function, which is built directly into the sensor. The mirror is centered to the actual FOV center and can be combined with all image manipulation functions, like binning. This function is especially useful when the camera is looking at objects with the help of a mirror or in certain microscopy applications.
Description of the data path White balance does not use the so-called PxGA® (Pixel Gain Amplifier) of the analog front end (AFE) but a digital representation in the FPGA in order to modify the gain of the two channels with lower output by +9.5 dB (in 512 steps) relative to the channel with highest output.
Description of the data path Gain Selection (Reg0x35 or result of AGC) x Pixel output (reset minus signal) Offset correction Voltage (Reg0x48 or result of BLC) VREF (Reg0x2C) 10 (12) bit ADC ADC Data (9:0) C1 C2 Figure 64: Signal path of MT9V022 (Guppy F-036 with CMOS sensor) Analog gain Pixel output Analog offset 12-bit ADC ADC Data (11:0) Figure 65: Signal path of MT9P031 (Guppy F-503 with CMOS sensor) In CMOS cameras offset and gain are in reversed order compared to the CCD cameras.
Description of the data path Register Name Field Bit 0xF0F0080C WHITE_BALANCE Presence_Inq [0] Description Presence of this feature: 0: N/A; 1: Available Abs_Control [1] 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..
Description of the data path White balance and interlaced GUPPYs For the interlaced GUPPYs (GUPPY F-038/038 NIR/044/044 NIR) there is a non-standard (non-IIDC) register for white balance (0xF10080C4 and 0xF10080C8). This register is similar to the standard white balance CSR: here each of the four colors can be controlled independently. One-push white balance is not available. Format_7 Mode_0: the binned 4 pixels have separate gains.
Description of the data path One-push white balance Note Interlaced GUPPYs (GUPPY F-038/038 NIR/044/044 NIR) do not have one-push white balance. Note Configuration To configure this feature in control and status register (CSR): See Table 106: Feature control register on page 248. The camera automatically generates frames, based on the current settings of all registers (GAIN, OFFSET, SHUTTER, etc.).
Description of the data path The following flow diagram illustrates the one-push white balance sequence. Pause image capture Capture image via one-shot Repeat steps nine times Calculate and set correction values Restart image capture if necessary Figure 67: One-push white balance sequence Finally, the calculated correction values can be read from the WHITE_BALANCE register 80Ch. Auto white balance (AWB) The auto white balance feature continuously optimizes the color characteristics of the image.
Description of the data path Note The following ancillary conditions should be observed for successful white balance: • • There are no stringent or special requirements on the image content, it requires only the presence of equally weighted RGB pixels in the image. Auto white balance can be started both during active image capture and when the camera is in idle state.
Description of the data path The following drawing illustrates the AUTOFNC_AOI settings in greater detail. AOI: X-size 0,0 AF_AREA_POSITION: Left,Top AOI: Y-size Sampling grid for Auto-Function AF_AREA_SIZE: Height: n x 4 AF_AREA_SIZE: Width: n x 4 Figure 68: AUTOFNC_AOI positioning The algorithm is based on the assumption that the R-G-B component sums of the samples shall be equal, i.e., it assumes that the mean of the sampled grid pixels is to be monochrome.
Description of the data path The following ranges can be used when manually setting the gain for the analog video signal: Type Range Range in dB Increment length CCD cameras 0 ... 680 0 … 24 dB ~0.035 dB/step Guppy F-036 (CMOS camera) 16 … 64 0 … 12 dB 0..15: ~0.2 dB/step (1 step = 1 LSB) Guppy F-503 (CMOS camera) 8 ... 32 0 ... 12 dB ~0.5 dB/step 33 ... 48 12.56 ... 18.06 dB ~0.56 dB/step 49 ... 60 19.08 ... 26 dB ~1 dB/step 16..64: ~0.
Description of the data path Auto gain In combination with auto white balance, all GUPPY CCD and CMOS models are equipped with auto gain feature. 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. Increasing the auto exposure value (aka target grey value) increases the average brightness in the image and vice versa.
Description of the data path Register Name Field Bit Description 0xF0F00804 AUTO_EXPOSURE Presence_Inq [0] Presence of this feature: 0: N/A 1: Available Abs_Control [1] 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..
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. (SmartViewCtrl1 tab: Target grey level) Auto gain of Guppy F-036 (CMOS model) is directly controlled by the CMOS sensor (the target grey level is fixed to 125). Changes to this register have no effect in conjunction with auto gain.
Description of the data path The IIDC register brightness at offset 800h is used for this purpose. The following table shows the BRIGHTNESS register. Register Name Field Bit Description 0xF0F00800 BRIGHTNESS Presence_Inq [0] Presence of this feature: 0: N/A 1: Available Abs_Control [1] 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..
Description of the data path Auto shutter Note Guppy interlaced cameras: Due to the fact that electronic shutter is not possible in Format_7 Mode_1 consequently auto shutter is not useful in that mode. Do not use auto shutter with Guppy interlaced cameras in Format_7 Mode_1. In combination with auto white balance, all Guppy progressive CCD and CMOS models are equipped with auto shutter feature.
Description of the data path To configure this feature in control and status register (CSR): Register Name Field Bit Description 0xF0F0081C SHUTTER Presence_Inq [0] Presence of this feature: 0: N/A 1: Available Abs_Control [1] 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 will be ignored. - [2..
Description of the data path Note Configuration To configure this feature in an advanced register: See Table 122: Advanced register: Auto shutter control on page 271. GUPPY Technical Manual V7.1.
Description of the data path Look-up table (LUT) and gamma function The AVT GUPPY 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 applied to the individual pixels of an image at run-time. The address lines of the RAM are connected to the incoming digital data, these in turn point to the values of functions which are calculated offline, e.g. with a spreadsheet program.
Description of the data path Note • • • • • • The input value is the 10-bit value from the digitizer. The gamma LUT of the CCD models outputs the most significant 8 bit as shown above. As gamma correction for the CCD models is also implemented via the look-up table, it is not possible to use a different LUT when gamma correction is enabled. With all CCD models, the user LUT will be overridden when gamma is enabled.
Description of the data path Defect pixel correction (only Guppy F-503B/C) The mechanisms of defect pixel correction are explained in the following drawings. All examples are done in Format_7 Mode_0 (full resolution). The first two examples are explained for b/w cameras, the third example is explained for color cameras. The X marks a defect pixel. 50% brightness of pixel value 1. example 50% brightness of pixel value X b/w 50% brightness of pixel value 50% brightness of pixel value 2.
Description of the data path The following flow diagram illustrates the defect pixel correction: Set resolution to Format_7 Mode_x Or Set resolution to Format_7 Mode_0 when using fixed modes. Set AOI to max. Set values for shutter, gain, brightness to max.
Description of the data path Building defect pixel data Note • • • • Defect pixel correction is only possible in Mono8 modes. In all other modes you get an error message in advanced register 0xF1000298 bit [1] see Table 120: Advanced register: Defect pixel correction on page 268. Using Format_7 Mode_x: Defect pixel correction is done in Format_7 Mode_x. Using a fixed format (Format_0, Format_1 or Format_2): Defect pixel correction is done in Format_7 Mode_0.
Description of the data path The number of defect pixels is written in advanced register DPDataSize (0xF100029C bit [4..17]). Due to 16-bit format: to get the number of defect pixels read out this value and divide through 4. For more information see Table 120: Advanced register: Defect pixel correction on page 268. Reset values (resolution, shutter, gain, brightness) 7. Take the camera, remove lens cap and thread the lens onto the camera. 8.
Description of the data path Send defect pixel data to the host 1. Set EnaMemRD flag to 1. Defect pixel data is transferred from dual port RAM to host. 2. Read DPDataSize. This is the current defect pixel count from the camera. Receive defect pixel data from the host 1. Set EnaMemWR flag to 1. Defect pixel data is transferred from host to dual port RAM.
Description of the data path Binning (only Guppy F-036B and Guppy F-503B/C) 2 x and 4 x binning Definition Binning is the process of combining neighboring pixels while being read out from the sensor. Note Only Guppy F-036B and Guppy F-503B/C cameras have this feature.
Description of the data path 2 x vertical binning and 4 x vertical binning Binning mode Guppy F-036B Guppy F-503B/C 2 x vertical binning 2 pixel signals from 2 vertical neigh- 2 pixel signals from 2 vertical boring pixels are combined and adjacent same-color pixels are their signals are averaged. combined and their signals are averaged.
Description of the data path 2 x vertical binning (b/w and color) Figure 75: 2 x vertical binning (Guppy F-503) Note Vertical resolution is reduced, but signal-to noise ratio (SNR) is increased by about 3 to 6 dB (2 x or 4 x binning). Use Format_7 Mode_2 to activate 2 x vertical binning. Use Format_7 Mode_5 to activate 4 x vertical binning. (Guppy F-036B) Note Note The image appears vertically compressed in this mode and no longer exhibits a true aspect ratio.
Description of the data path 2 x horizontal binning and 4 x horizontal binning Binning mode Guppy F-036B Guppy F-503B/C 2 x horizontal binning 2 pixel signals from 2 vertical neigh- 2 pixel signals from 2 vertical boring pixels are combined and adjacent same-color pixels are their signals are averaged. combined and their signals are added or averaged.
Description of the data path 2 x horizontal binning (b/w and color) Figure 77: 2 x horizontal binning (Guppy F-503) Note Horizontal resolution is reduced, but signal-to noise ratio (SNR) is increased by about 3 or 6 dB (2 x or 4 x binning), (Guppy F-503: if low noise binning mode is activated). Guppy F-036B and Guppy F-503B/C: Use Format_7 Mode_1 to activate 2 x horizontal binning. Guppy F-036B: Use Format_7 Mode_4 to activate 4 x horizontal binning.
Description of the data path 2 x full binning and 4 x full binning 2 x full binning: 4 pixel signals from 2 adjacent rows and columns are combined and their signals are averaged. 4 x full binning: 16 pixel signals from 4 adjacent rows and columns are combined and their signals are averaged. Binning mode Guppy F-036B Guppy F-503B/C 2 x full binning 4 pixel signals from 2 adjacent rows 4 pixel signals from 2 vertical and columns are combined and their adjacent rows and columns (samesignals are averaged.
Description of the data path 2 x full binning Figure 79: Full binning (Guppy F-503) Note Signal-to noise ratio (SNR) is increased by about: Guppy F-036: 6 or 12 dB (2 x full or 4 x full binning) Guppy F-503: 3 or 6 dB (2 x full or 4 x full binning) Guppy F-036B and Guppy F-503B/C: Use Format_7 Mode_3 to activate 2 x full binning. Guppy F-036B: Use Format_7 Mode_6 to activate 4 x full binning. GUPPY Technical Manual V7.1.
Description of the data path Sub-sampling (only Guppy F-503B/C) What is sub-sampling? Definition Sub-sampling is the process of skipping neighboring pixels (with the same color) while being read out from the CMOS chip. Which Guppy models have sub-sampling? All Guppy F-503 models, both color and b/w, have this feature.
Description of the data path 2 out of 4 Figure 82: Horizontal sub-sampling 2 out of 4 (color) 2 out of 8 Figure 83: 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. GUPPY Technical Manual V7.1.
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 Figure 84: Vertical sub-sampling (b/w) GUPPY Technical Manual V7.1.
Description of the data path 2 out of 4 2 out of 8 Figure 85: Vertical sub-sampling (color) Note Format_7 Mode_6 The image appears vertically compressed in this mode and no longer exhibits a true aspect ratio. By default and without further remapping use Format_7 Mode_6 for 2 out of 4 H+V sub-sampling The different sub-sampling patterns are shown below. 2 out of 4 H+V sub-sampling Figure 86: 2 out of 4 H+V sub-sampling (b/w) GUPPY Technical Manual V7.1.
Description of the data path 2 out of 8 H+V sub-sampling Figure 87: 2 out of 8 H+V sub-sampling (b/w) GUPPY Technical Manual V7.1.
Description of the data path 2 out of 4 H+V sub-sampling Figure 88: 2 out of 4 H+V sub-sampling (color) 2 out of 8 H+V sub-sampling Figure 89: 2 out of 8 H+V sub-sampling (color) Note Changing sub-sampling modes involves the generation of new shading reference images due to a change in the image size. GUPPY Technical Manual V7.1.
Description of the data path Binning and sub-sampling access (only Guppy F-503) 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 number of available Format_7 modes is limited and lower than the possible combinations.
Description of the data path F7M3 F7M4 F7M5 F7M6 F7M7 mapping of each of 17 modes to F7M1..
Description of the data path Note Configuration To configure this feature in an advanced register: See Table 131: Advanced register: Format_7 mode mapping on page 280. Packed 12-Bit Mode Definition All Guppy cameras have the so-called Packed 12-Bit Mode. This means: two 12-bit pixel values are packed into 3 bytes instead of 4 bytes.
Description of the data path HDR (high dynamic range) (GUPPY F-036 only) The HDR mode is available for the GUPPY F-036 cameras with the Micron/ Aptina MT9V022 sensor. (HDR = high dynamic range) HDR enhances the range of illumination levels that can be distinguished. The MT9V022 sensor gives you an intrascene optical dynamic range exceeding 110 dB. Thus the GUPPY F-036 cameras are ideal for interior and exterior automotive, security and machine-vision imaging.
Description of the data path Note • • Linear response causes loss of high-intensity detail in the saturation region. Piece-wise linear response causes compression of highintensity detail (region after first and second knee point). But there is an increased scene dynamic. Pixel operations in detail The following diagrams show the principle of the pixel operations: Storage Saturation control control 0V 0.
Description of the data path Single knee point vs. two knee points Single knee point operation means: Only one knee point can be controlled. The following diagram (left) shows the situation for a single knee saturation control in auto knee-adjust mode. Two knee point operation means: Two knee points can be controlled. The following diagram (on the right) shows the situation for a two knee point control in auto knee-adjust mode.
Description of the data path Setting one knee point Setting two knee points In single knee automatic exposure mode, the In two knee automatic exposure mode, the placement of a single knee point is set automati- placement of the two knee points is set automatcally. ically.
Description of the data path Advanced registers for high dynamic range mode (HDR) (GUPPY F-036 only) The GUPPY F-036 cameras offer the so-called high dynamic range mode (HDR mode) with one or two knee points. Register Name Field Bit Description 0xF1000280 HDR_CONTROL Presence_Inq [0] Indicates presence of this feature (read only) --- [1..5] Reserved ON_OFF [6] Enable/disable HDR mode --- [7..19] Reserved MaxKneePoints [20..
Description of the data path BAYER pattern (raw data output) Definition No color interpolation The color sensors capture the color information via so-called primary color (R, G, B) or complementary color (G, Mg, Cy, Ye) filters placed over the individual pixels in a BAYER mosaic layout. Guppy color cameras have no color interpolation, so the BAYER demosaicing has to be done outside the camera in the PC (raw mode).
Description of the data path Column readout direction Pixel (2,9) Row readout direction Figure 94: Bayer pattern of Guppy F-036C Column readout direction Pixel (2,9) Row readout direction Figure 95: Bayer pattern of Guppy F-503C GUPPY Technical Manual V7.1.
Description of the data path Readout direction G and Mg change every two lines 2nd line 1st line 1st pixel Figure 96: BAYER pattern of SONY complementary sensors: 1st line: G - Mg, 2nd line: Cy - Ye GUPPY Technical Manual V7.1.
Description of the data path Serial interface All Guppy cameras are equipped with the SIO (serial input/output) feature as described in IIDC V1.31. This means that the GUPPYs serial interface which is used for firmware upgrades can also 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. Incoming data of the serial interface is put in a camera buffer and can be polled via simple read commands from this buffer.
Description of the data path To configure this feature in access control register (CSR): Offset Name Field Bit 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 6: 19200 bps 7: 38400 bps 8: 57600 bps 9: 115200 bps 10: 230400 bps Other values reserved Char_Length [8..
Description of the data path Offset Name 0004h Field Bit Description SERIAL_CONTROL_REG RE [0] Receive enable RD: Current status WR: 0: disable 1: Enable TE [1] Transmit enable RD: Current status WR: 0: disable 1: Enable - [2..
Description of the data path Offset Name 008h RECEIVE_BUFFER_STAT RBUF_ST US_CONTRL 00Ch Field Description [0..7] SIO receive buffer status RD: Number of bytes pending in receive buffer WR: Ignored RBUF_CNT [8..15] SIO receive buffer control WR: Number of bytes to be read from the receive FIFO RD: Number of bytes left for readout from the receive FIFO - [16..31] Reserved TRANSMIT_BUFFER_ST TBUF_ST ATUS_CONTRL 010h .. 0FFh 100h Bit [0..
Description of the data path To write data: 1. Query TDRD flag (buffer ready?) and write the number of bytes to send (copied from SIO register to transmit FIFO) to TBUF_CNT. 2. Read the available data space left in TBUF_ST (if the buffer can hold more bytes than are to be transmitted) and number of bytes written to transmit buffer in TBUF_CNT (if more data are to be transmitted than fit in the buffer). 3. Write character to SIO_DATA_REGISTER, beginning at char 0. 4.
Controlling image capture Controlling image capture Global shutter (CCD cameras only) Shutter modes The cameras support the SHUTTER_MODES specified in IIDC V1.3. For all Guppy models (except Guppy F-036/503) this shutter is a global shutter; meaning that all pixels are exposed to the light at the same moment and for the same time span. Continuous mode In continuous modes the shutter is opened shortly before the vertical reset happens, thus acting in a frame-synchronous way.
Controlling image capture Pipelined global shutter (only Guppy F-036) The CMOS Guppy F-036 (Micron/Aptina CMOS sensor MT9V022) has a pipelined global shutter with simultaneous integration and readout.
Controlling image capture Electronic rolling shutter (ERS) and global reset release shutter (GRR) (only Guppy F-503) The CMOS Guppy F-503 (Micron/Aptina CMOS sensor MT9P031) has an electronic rolling shutter (ERS) and a global reset release shutter (GRR) but no global shutter.
Controlling image capture Trigger modes The cameras support IIDC conforming Trigger_Mode_0 and Trigger_Mode_1 and special Trigger_Mode_15 (bulk trigger). Note • • CMOS cameras Guppy F-036 / Guppy F-503 support only Trigger_Mode_0. Interlaced cameras (GUPPY F-038 / F-038 NIR / F-044 / F-044 NIR) support only Trigger_Mode_0 and Trigger_Mode_15. These models can only be triggered in Format_7 Mode_0 and Mode_2. Trigger_Mode_x ... ...
Controlling image capture Trigger_Mode_0 (edge mode) and Trigger_Mode_1 (level mode) External Trigger input, as applied at input pin, trigger falling edge Shutter register value External Trigger input, as applied at input pin Integration Time Figure 97: Trigger_Mode_0 and 1: global shutter (CCD only) GUPPY Technical Manual V7.1.
Controlling image capture The Guppy F-503 has two shutter modes: • electronic rolling shutter (ERS) and • global reset release shutter (GRR) Note With this two shutter modes only Trigger_Mode_0 is possible. Details are explained in the following diagrams. Guppy F-503, Trigger_Mode_0, electronic rolling shutter • IntEna is high, when all pixels are integrated simultaneously. • IntEna starts with start of exposure of last row. • IntEna ends with end of exposure of first row.
Controlling image capture Short exposure time: If the following condition is true: Texp eff. = Texp - Tframe < 0 then you don’t get an IntEna signal and triggering is not possible. IntEna Texp Tframe No overlapping, no IntEna, no flash Texp – Tframe < 0 FVal Figure 99: Trigger_Mode_0: Guppy F-503 electronic rolling shutter (short exposure time) GUPPY Technical Manual V7.1.
Controlling image capture Guppy F-503, Trigger_Mode_0, global reset release shutter Note • • • For activating global reset release shutter in an advanced register see Table 133: Advanced register: Global reset release shutter on page 282. IntEna is high, when all pixels are integrated simultaneously. Readout starts with end of exposure of first row. Readout ends with (end of exposure of last row) + (1x Trow).
Controlling image capture Trigger_Mode_15 (bulk trigger) Note Trigger_Mode_15 is only available for Guppy CCD cameras. Trigger_Mode_15 is a bulk trigger, combining one external trigger event with continuous or one-shot or multi-shot internal trigger. It 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.
Controlling image capture The functionality is controlled via bit [6] and bitgroup [12-15] of the IIDC register: Register Name Field Bit Description [0] Presence of this feature: 0: N/A 1: Available Abs_Control [1] 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..
Controlling image capture The screenshots below illustrate the use of Trigger_Mode_15 on a register level: • The first line switches continuous mode off, leaving viewer in listen mode. • The second line prepares 830h register for external trigger and Mode_15. Left = continuous Middle = one-shot Right = multi-shot The last line switches camera back to continuous mode. Only one image is grabbed precisely with the first external trigger.
Controlling image capture Trigger delay As already mentioned earlier, the 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 timebase value. The following table explains the inquiry register and the meaning of the various bits.
Controlling image capture Register Name Field Bit Description 0xF0F00834 TRIGGER_DELAY Presence_Inq [0] Presence of this feature: 0: N/A 1: Available Abs_Control [1] 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 ON_OFF [6] Write ON or OFF this feature, ON=1 Read: Status of the feature OFF=0 --- [7..19] Reserved Value [20..
Controlling image capture The advanced register allows the start of the integration to be delayed by max. 221 µ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. This feature works with external Trigger_Mode_0 only. GUPPY Technical Manual V7.1.
Controlling image capture Exposure time (shutter) and offset The exposure (shutter) time for continuous mode and Trigger_Mode_0 is based on the following formula: Shutter register value x timebase + offset The register value is the value set in the corresponding IIDC register (SHUTTER [81Ch]). This number is in the range between 1 and 4095. The shutter register value is multiplied by the time base register value (see Table 116: Time base ID on page 263). The default value here is set to 20 µs.
Controlling image capture Minimum shutter time of GUPPY F-036 Note The minimum shutter time (without offset) is 179 µs. Example GUPPY F-036 Set Shutter register: 100 100 x 20 µs = 2000 µs 2000 µs/29.89 µs = 66.91 Effective shutter: 66 x 29.89 µs = 1972.74 µs (without offset) Example GUPPY F-503 Set Shutter register: 100 100 x 20 µs = 2000 µs 2000 µs/41.8 µs = 47.85 Effective shutter: 47 x 41.8 µs = 1964.6 µs (without offset) Exposure time offset A camera-specific offset is also added to this value.
Controlling image capture Example GUPPY F-033 Camera Register value Timebase GUPPY F-033 100 20 µs Table 66: Register value and Timebase for GUPPY F-033 100 x 20 µs + 109 µs = 2109 µs exposure time The minimum adjustable exposure time set by register is 20 µs. The real minimum exposure time of GUPPY F-033 is then 20 µs + 109 µs = 129 µs. Extended shutter The exposure time for long-term integration of: • up to 67 seconds for the CCD models • up to 979 ms for the Guppy F-036 (CMOS model) • up to 2.
Controlling image capture Note • • • • Exposure times entered via the 81Ch register are mirrored in the extended register, but not vice versa. Longer integration times not only increase sensitivity, but may also increase some unwanted effects such as noise and pixel-to-pixel non-uniformity. Depending on the application, these effects may limit the longest usable integration time. Changes in this register have immediate effect, even when the camera is transmitting.
Controlling image capture # Read/ Write Address Value Description 7 wr F0F0061C 80000000 Do one-shot. 6 rd F0F0061C 00000000 Read out one-shot register. 5 wr F0F00830 82000000 Switch on external trigger mode 0. 4 rd F0F00830 80000000 Check trigger status. 3 wr F0F00614 00000000 Stop free-run. 2 rd F0F00614 80000000 Check Iso_Enable mode (free-run). 1 rd F0F00614 00000000 This line is produced by SmartView.
Controlling image capture C ExSync Exposure Integration start Timebase reg. X shutter reg. Offset Processing delay First packet on bus < 250s = 8s Timebase x Shutter + Offset = Exposure Time One-shot command Guppy F-025: 42 µs Guppy F-029: 42 µs Guppy F-033 109µs Guppy F-036: -21 µs Guppy F-038: 42 µs Guppy F-044: 42 µs Guppy F-046: 22 µs Guppy F-080: 34µs Guppy F-146: 20 µs Guppy F-503: -42 µs = 500s +/-62.
Controlling image capture ISO_Enable / free-run Setting the MSB (bit 0) in the 614h register (ISO_ENA) puts the camera into ISO_Enable mode or Continuous_Shot. The camera captures an infinite series of images. This operation can be quit by deleting the 0 bit. Asynchronous broadcast The camera accepts asynchronous broadcasts. This involves asynchronous write requests that use node number 63 as the target node with no acknowledge.
Controlling image capture • • Line 1 shows the broadcast command, which stops all cameras connected to the same IEEE 1394 bus. It is generated by holding the Shift key down while clicking on Write. Line 2 generates a broadcast one-shot in the same way, which forces all connected cameras to simultaneously grab one image.
Controlling image capture Model Camera idle Camera busy Guppy F-044 8.77 µs 66.94 µs Guppy F-044 NIR 8.77 µs 66.94 µs Guppy F-046 33.34 ns 31.73 µs Guppy F-080 30.30 ns 40.45 µs Guppy F-146 30.30 ns 42.18 µs Guppy F-503 11.97 ns trow Table 70: Jitter at exposure start Note Jitter at the beginning of an exposure has no effect on the length of exposure, i.e. it is always constant. User profiles User profiles are also known as memory channels from the IIDC specifications.
Video formats, modes and bandwidth Video formats, modes and bandwidth The different Guppy models support different video formats, modes and frame rates. These formats and modes are standardized in the IIDC (formerly DCAM) specification. Resolutions smaller than the generic sensor resolution are generated from the center of the sensor and without binning. Note • • • The maximum frame rates can only be achieved with shutter settings lower than 1/framerate.
Video formats, modes and bandwidth Guppy F-033B / Guppy F-033C and board level versions F-033B BL / F-033C BL Format Mode Resolution Color mode 0 7 60 fps 30 fps 15 fps 7.5 fps 0 160 x 120 YUV444 1 320 x 240 YUV422 2 640 x 480 YUV411 3 640 x 480 YUV422 4 640 x 480 RGB8 5 640 x 480 MONO8 6 640 x 480 MONO16 0 656 x 494 MONO8 @58 fps 656 x 494 Raw8 @58 fps x x* x x* x x* x x* 3.75 fps 1.
Video formats, modes and bandwidth Guppy F-036B / Guppy F-036C Format Mode Resolution Color mode 0 7 60 fps 30 fps 15 fps 7.5 fps 0 160 x 120 YUV444 1 320 x 240 YUV422 2 640 x 480 YUV411 3 640 x 480 YUV422 4 640 x 480 RGB8 5 640 x 480 MONO8 6 640 x 480 MONO16 0 752 x 480 MONO8 @64 fps 752 x 480 Raw8 @64 fps x x* x x* 3.75 fps 1.
Video formats, modes and bandwidth Guppy F-038B / Guppy F-038C Format Mode Resolution Color mode 0 Max.
Video formats, modes and bandwidth Guppy F-044B / Guppy F-044C Format Mode Resolution Color mode 0 1 7 Max.
Video formats, modes and bandwidth Guppy F-046B / Guppy F-046C Format Mode Resolution Color mode 0 7 60 fps 30 fps 15 fps 7.5 fps 0 160 x 120 YUV444 1 320 x 240 YUV422 2 640 x 480 YUV411 3 640 x 480 YUV422 4 640 x 480 RGB8 5 640 x 480 MONO8 6 640 x 480 MONO16 0 780 x 582 MONO8 @49.4 fps 780 x 582 Raw8 @49.4 fps x x* x x* x x* x x* 3.75 fps 1.
Video formats, modes and bandwidth Guppy F-080B / Guppy F-080C and board level versions F-080B BL / F-080C BL Format Mode Resolution Color mode 0 1 7 60 fps 30 fps 15 fps 7.
Video formats, modes and bandwidth Guppy F-146B / Guppy F-146C Format Mode Resolution 0 1 2 Color mode 60 fps 30 fps 15 fps 7.5 fps 3.
Video formats, modes and bandwidth Guppy F-503B / Guppy F-503C Format Mode Resolution Color mode 0 0 160 x 120 YUV444 1 320 x 240 YUV422 2 640 x 480 YUV411 3 640 x 480 YUV422 4 640 x 480 RGB8 5 640 x 480 MONO8 6 640 x 480 MONO16 60 fps x x* 30 fps 15 fps 7.5 fps 3.75 fps 1.875 fps x x* x x* x x* x x* x x* x x* x x* x x* x x* x x* Table 80: Video formats Guppy F-503B / Guppy F-503C GUPPY Technical Manual V7.1.
Video formats, modes and bandwidth Format Mode Resolution Color mode 1 2 0 800 x 600 YUV422 1 800 x 600 RGB8 2 800 x 600 MONO8 3 1024 x 768 YUV422 4 1024 x 768 RGB8 5 30 fps 15 fps 7.5 fps 3.75 fps 1.
Video formats, modes and bandwidth Area of interest (AOI) The camera’s image sensor has a defined resolution. This indicates the maximum 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. At a lower vertical resolution the sensor can be read out faster and thus the frame rate is increased.
Video formats, modes and bandwidth Note For more information see Table 108: Format_7 control and status register on page 252. Figure 106: 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. The minimum AOI of the Guppy F036 is limited to 92 x 60 pixels.
Video formats, modes and bandwidth Autofunction AOI (not interlaced GUPPYs) Note Interlaced GUPPY cameras do not have autofunction AOI feature. Use this feature to select the image area (work area) on which the following autofunctions work: • Auto shutter • Auto gain • Auto white balance Note Auto gain of CMOS models is directly controlled by the CMOS sensor (the target grey level is fixed to 125). Autofunction AOI does not work with auto gain.
Video formats, modes and bandwidth Note Autofunction AOI is independent from Format_7 AOI settings. If you switch off autofunction AOI, work area position and work area size follow the current active image size. To switch off autofunctions, carry out following actions in the order shown: 1. Uncheck Show AOI check box (SmartView Ctrl2 tab). 2. Uncheck Enable check box (SmartView Ctrl2 tab). Switch off Auto modi (e.g. Shutter and/or Gain) (SmartView Ctrl2 tab).
Video formats, modes and bandwidth The tables are divided into three formats: Format Resolution Max. video format Format_0 up to VGA 640 x 480 Format_1 up to XGA 1024 x 768 Format_2 up to UXGA 1600 x 1200 Table 81: Overview fixed formats They enable you to calculate the required bandwidth and to ascertain the number of cameras that can be operated independently on a bus and in which mode.
Video formats, modes and bandwidth GUPPY F-033 and board level versions: AOI frame rates Frame rate = f(AOI height) Guppy F-033 Guppy F-033 BL 300 Frame rate / fps 250 200 150 100 50 0 0 100 200 300 400 500 600 AOI height / pixel Figure 108: Frame rates GUPPY F-033 and board level versions AOI height / pixel Frame rate / fps Frame rate / fps Guppy F-033 Guppy F-033 BL 494 58 58 480 60 60 460 62 62 440 64 64 420 66 66 400 69 68 380 72 72 360 75 74 340 78 78
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps Frame rate / fps Guppy F-033 Guppy F-033 BL 300 85 86 280 89 89 260 94 95 240 99 99 220 104 104 200 111 112 180 118 118 160 126 128 140 135 137 120 146 149 100 159 161 64 188 193 60 not available 197 30 not available 239 Table 82: Frame rates GUPPY F-033 and board level versions GUPPY Technical Manual V7.1.
Video formats, modes and bandwidth GUPPY F-036: AOI frame rates Frame rate = f(AOI height) Guppy F-036 350 Frame rate / fps 300 250 200 150 100 50 0 0 50 100 150 200 250 300 350 400 450 500 550 AOI height / pixel Figure 109: Frame rates GUPPY F-036 as function of AOI height The frame rates in the following table are measured directly at the output of the camera. Compare with Chapter How does bandwidth affect the frame rate? on page 219.
Video formats, modes and bandwidth GUPPY F-038 / GUPPY F-038 NIR (only F7M0 and F7M1): AOI frame rates Frame rate = f(AOI height) 120 110 100 Frame rate / fps 90 80 70 60 50 40 30 20 10 0 0 50 100 150 200 250 300 350 400 450 500 550 AOI height / pixel Figure 110: Frame rates GUPPY F-038 / GUPPY F-038 NIR as function of AOI height The frame rates in the following table are measured directly at the output of the camera.
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps 360 38.7 340 40.5 320 42.2 300 44.4 280 46.9 260 49.8 240 52.7 220 56.0 200 59.9 180 64.2 160 69.2 140 75.8 120 82.9 100 91.4 80 101.9 64 111.7 Table 84: Frame rates GUPPY F-038 / F-038 NIR as function of AOI height GUPPY Technical Manual V7.1.
Video formats, modes and bandwidth GUPPY F-044 / GUPPY F-044 NIR (only F7M0 and F7M1): AOI frame rates Frame rate = f(AOI height) 110 100 90 Frame rate / fps 80 70 60 50 40 30 20 10 0 0 50 100 150 200 250 300 350 400 450 500 550 600 650 AOI height / pixel Figure 111: Frame rates GUPPY F-044 / GUPPY F-044 NIR as function of AOI height The frame rates in the following table are measured directly at the output of the camera. Compare with Chapter How does bandwidth affect the frame rate? on page 219.
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps 440 32.7 420 33.9 400 35.3 380 37.1 360 38.5 340 40.1 320 41.9 300 44.0 280 46.3 260 48.8 240 51.8 220 55.0 200 58.6 180 62.8 160 67.5 140 72.4 120 78.8 100 86.5 80 95.7 64 104.4 Table 85: Frame rates GUPPY F-044 / F-044 NIR as function of AOI height GUPPY Technical Manual V7.1.
Video formats, modes and bandwidth GUPPY F-046: AOI frame rates Frame rate = f(AOI height) Guppy F-046 180 Frame rate / fps 160 140 120 100 80 60 40 20 0 0 50 100 150 200 250 300 350 400 450 500 550 600 650 AOI height / pixel Figure 112: Frame rates GUPPY F-046 as function of AOI height AOI height / pixel Frame rate / fps 582 49.4 580 49.5 560 50.9 540 52.3 520 54.0 500 55.5 480 57.1 460 59.0 440 60.9 420 63.1 400 65.2 380 67.5 360 70.2 340 72.9 320 76.
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps 300 79.1 280 82.8 260 86.6 240 91.0 220 95.5 200 100.9 180 106.4 160 113.1 140 120.0 120 128.5 100 138.5 80 149.5 64 159.8 Table 86: Frame rates GUPPY F-046 GUPPY Technical Manual V7.1.
Video formats, modes and bandwidth GUPPY F-080 and board level versions: AOI frame rates Frame rate = f(AOI height) Guppy F-080 Guppy F-080 BL 160.0 140.0 Frame rate / fps 120.0 100.0 80.0 60.0 40.0 20.0 0.0 0 100 200 300 400 500 600 700 800 900 AOI height / pixel Figure 113: Frame rates GUPPY F-080 and board level versions AOI height / pixel Frame rate / fps Frame rate / fps Guppy F-080 Guppy F-080 BL 778 30.9 30.3 768 30.6 30.5 760 30.8 30.8 740 31.0 31.4 720 31.9 32.
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps Frame rate / fps Guppy F-080 Guppy F-080 BL 640 33.4 35.5 620 34.7 36.3 600 35.6 37.3 580 36.4 38.2 560 37.2 39.3 540 38.0 40.3 520 38.8 41.6 500 39.7 43.0 480 40.5 44.1 460 41.4 45.6 440 42.5 47.2 420 43.5 48.6 400 44.5 50.5 380 45.7 52.1 360 46.8 54.2 340 48.1 56.1 320 49.4 58.6 300 50.8 61.3 280 52.3 63.8 260 53.9 67.0 240 55.5 70.5 220 57.3 73.7 200 59.1 78.
Video formats, modes and bandwidth GUPPY F-146: AOI frame rates Frame rate = f(AOI height) *GUPPY F-146* Mono8, RAW8 Mono12, RAW12 Mono16, RAW16 80.0 70.0 Frame rate / fps 60.0 50.0 40.0 30.0 20.0 10.0 0.0 0 200 400 600 800 1000 1200 AOI height / pixel Figure 114: Frame rates GUPPY F-146 AOI height / pixel Mono8/Raw8 Mono12/Raw12 Mono16/Raw16 1040 17.7 15.0 11.3 800 21.8 19.5 14.6 600 27.1 26.1 19.5 480 31.6 31.6 24.4 240 47.5 47.5 47.5 120 63.6 63.6 63.6 64 75.
Video formats, modes and bandwidth GUPPY F-503: AOI frame rates t row = 11.97ns width + 10.77µs t frame = height + 8 t row t frame = height + 8 11.97ns width + 10.77µs 1 max. frame rate of CMOS = ----------t frame 1 max. frame rate of CMOS = -------------------------------------------------------------------------------------------------------- height + 8 11.97ns width + 10.77µs Formula 11: Guppy F-503: theoretical max.
Video formats, modes and bandwidth The frame rates in the following table are measured directly at the output of the camera. Compare with Chapter How does bandwidth affect the frame rate? on page 219. AOI height / pixel Frame rate / fps Frame rate / fps Frame rate / fps full width half width quarter width 1944 1600 1280 1024 800 640 480 320 240 120 6.5 7.8 9.8 12.3 15.8 19.7 26.2 39.3 52.4 104.5 12.9 15.7 19.7 24.6 31.4 39.3 52.4 78.0 104.5 207.7 25.9 31.4 39.3 49.2 62.7 78.0 104.5 152.3 197.
How does bandwidth affect the frame rate? How does bandwidth affect the frame rate? In some modes the IEEE 1394a bus limits the attainable frame rate. According to the 1394a specification on isochronous transfer, the largest data payload size of 4096 bytes per 125 µs cycle is possible with bandwidth of 400 Mbit/s. In addition, there is a limitation, only a maximum number of 65535 (216 -1) packets per frame are allowed (GUPPY F-036: max. number of 800 packets due to the sensor limitation).
How does bandwidth affect the frame rate? Example formula for the b/w camera Mono8, 1024 x 768, 15 fps desired BYTE_PER_PACKET = 15 x 1024 x 768 x 125µs = 1474 4096 4096 frame rate reachable ------------------------------------------------- = 41.6 Hz 1024 x 768 x 125µs Formula 14: Example max. fps calculation A Frame rate of 15 fps can be achieved. Frame ratereachable is not possible due to the sensor limit. GUPPY Technical Manual V7.1.
How does bandwidth affect the frame rate? Test images Loading test images FirePackage Direct FirePackage Fire4Linux 1. Start SmartView. 1. Start SmartView for WDM. 1. Start cc1394 viewer. 2. Click the Edit settings button. 2. In Camera menu click Settings. 2. In Adjustments menu click on Picture Control. 3. Click Adv1 tab. 3. Click Adv1 tab. 3. Click Main tab. 4. In combo box Test images choose Image 1 or another test image. 4. In combo box Test images choose Image 1 or another test image. 4.
How does bandwidth affect the frame rate? Test images for color cameras The color cameras have 2 test images. Test image Description Test image 1 Mono8 (raw data) static see screenshot below Test image 2 Available with FPGA 1.05 and higher Mono8 (raw data) moving see screenshot below Table 92: Test images color cameras Note The color camera outputs Bayer-coded raw data in Mono8 instead of a real Y signal (as described in IIDC V1.3).
How does bandwidth affect the frame rate? Test image 2 (Mono8 mode) progressive without Debayering with Debayering Figure 118: Test image 2 progressive Test image 1 and 2 (Mono8 mode) interlaced without Debayering with Debayering Figure 119: Test image 1 (static) interlaced (Format_7 Mode_1) Note • • Test image 2 interlaced is the same as test image 2 but moving. Test images show correct colors only in Format_7 Mode_1. GUPPY Technical Manual V7.1.
Configuration of the camera Configuration of the camera All camera settings are made by writing specific values into the corresponding registers. This applies to: • values for general operating states such as video formats and modes, exposure times, etc. • extended features of the camera that are turned on and off and controlled via corresponding registers (so-called advanced registers).
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 Bit Bit Bit 0 1 2 ... MSB Bit Bit 30 31 LSB Table 93: 32-bit register Example This requires, for example, that to enable ISO_Enabled mode (see Chapter ISO_Enable / free-run on page 187), (bit 0 in register 614h), the value 80000000 h must be written in the corresponding register. GUPPY Technical Manual V7.1.
Configuration of the camera Figure 120: Configuration of the camera Sample program The following sample code in C shows how the register is set for frame rate, video mode/format and trigger mode using the FireCtrl DLL from the FirePackage API.
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.
Configuration of the camera The entry with key 8D in the root directory (420h in this case) provides the offset for the Node unique ID leaf node as follows: 420h + 000002 * 4 = 428h Offset Node unique ID leaf 0-7 8-15 428h 00 02 42Ch 00 0A 430h 16-23 24-31 CRC 47 01 Serial number Table 95: Config ROM The entry with key D1 in the root directory (424h in this case) provides the offset for the unit directory as follows: 424h + 000004 * 4 = 434h GUPPY Technical Manual V7.1.
Configuration of the camera Offset Unit directory 0-7 8-15 16-23 24-31 434h 00 03 CRC 438h 12 00 A0 2D 43Ch 13 00 01 02 440h D4 00 00 01 Table 96: Config ROM The entry with key D4 in the unit directory (440h in this case) provides the offset for unit dependent info: 440h + 000001 * 4 = 444h Offset 0-7 8-15 16-23 24-31 444h 00 0B Unit dependent info 448h 40 3C 00 00 44Ch 81 00 00 0A 450h 82 00 00 0E 454h 38 00 00 00 458h 39 00 00 00 45Ch 3A 00 00
Configuration of the camera Note If you want to use the Direct access program to read or write to a register, enter the following value in the Address field: F0F00000h + Offset Implemented registers (IIDC V1.3) The following tables show how standard registers from IIDC V1.3 are implemented in the camera. Base address is F0F00000h. Differences and explanations can be found in the third column. Camera initialize register Offset Name Notes 000h INITIALIZE Assert MSB = 1 for Init.
Configuration of the camera Inquiry register for video mode Offset Name Field Bit Description 180h V_MODE_INQ Mode_0 [0] 160 x 120 YUV 4:4:4 (Format_0) Mode _1 [1] 320 x 240 YUV 4:2:2 Mode _2 [2] 640 x 480 YUV 4:1:1 Mode _3 [3] 640 x 480 YUV 4:2:2 Mode _4 [4] 640 x 480 RGB Mode _5 [5] 640 x 480 MONO8 Mode _6 [6] 640 x 480 MONO16 Mode _X [7] Reserved - [8..
Configuration of the camera Offset Name Field Bit Description Supported 19Ch V_MODE_INQ Mode_0 [0] Format_7 Mode_0 Mono8 (Format_7) RAW8 Mode _1 [1] Format_7 Mode_1 Mode _2 [2] Format_7 Mode_2 Mode _3 [3] Format_7 Mode_3 Mode _4 [4] Format_7 Mode_4 Mode _5 [5] Format_7 Mode_5 Mode _6 [6] Format_7 Mode_6 Mode _7 [7] Format_7 Mode_7 - [8..31] Reserved (zero) Table 100: Video mode inquiry register Note GUPPY cameras do not deliver color formats.
Configuration of the camera Offset Name Field Bit Description 204h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_1) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] 120 fps (v1.31) FrameRate _7 [7] 240 fps (v1.31) - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_2) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 210h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_4) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] 120 fps (v1.31) FrameRate _7 [7] 240 fps (v1.31) - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_5) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 220h V_RATE_INQ FrameRate_0 [0] Reserved (Format_1, Mode_0) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] 120 fps (v1.31) FrameRate _7 [7] 240 fps (v1.31) - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] Reserved (Format_1, Mode_1) FrameRate _1 [1] Reserved FrameRate _2 [2] 7.
Configuration of the camera Offset Name 22Ch V_RATE_INQ (Format_1, FrameRate_0 Mode_3) FrameRate _1 230h 234h Field Bit Description [0] 1.875 fps [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] 120 fps (v1.31) FrameRate _7 [7] 240 fps (v1.31) - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_1, Mode_4) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 238h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_1, Mode_6) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] 120 fps (v1.31) FrameRate _7 [7] 240 fps (v1.31) - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_1, Mode_7) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 244h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_1) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] Reserved FrameRate _7 [7] Reserved - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_2) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 250h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_4) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] Reserved FrameRate _6 [6] Reserved FrameRate _7 [7] Reserved - [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_5) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 25Ch V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_7) FrameRate _1 [1] 3.75 fps FrameRate _2 [2] 7.5 fps FrameRate _3 [3] 15 fps FrameRate _4 [4] 30 fps FrameRate _5 [5] 60 fps FrameRate _6 [6] Reserved FrameRate _7 [7] Reserved - [8..31] Reserved 260h … Reserved V_RATE_INQ_y_x (for other Format_y, Mode_x) 2BFh 2C0h V_REV_INQ_6_0 (Format_6, Mode0) Always 0 2C4h ..
Configuration of the camera Inquiry register for basic function Offset Name Field Bit Description 400h BASIC_FUNC_INQ Advanced_Feature_Inq [0] Inquiry for advanced features (Vendor unique Features) [1] 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 [3] Inquiry for Opt_Func_CSR - [4..7] 1394b_mode_Capability [8] Inquiry for 1394b_mode_Capability - [9..
Configuration of the camera Inquiry register for feature presence Offset Name Field Bit Description 404h FEATURE_HI_INQ Brightness [0] Brightness Control Auto_Exposure [1] Auto_Exposure Control Sharpness [2] Sharpness Control White_Balance [3] White balance Control Hue [4] Hue Control Saturation [5] Saturation Control Gamma [6] Gamma Control Shutter [7] Shutter Control Gain [8] Gain Control Iris [9] Iris Control Focus [10] Focus Control Temperature [11] Temperature
Configuration of the camera Offset Name Field Bit Description 410h .. Reserved Address error on access 47Fh 480h Advanced_Feature_Inq Advanced_Feature_Quadlet_Offset [0..31] Quadlet offset of the 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. Access_Control_Register does not prevent access to advanced features.
Configuration of the camera Inquiry register for feature elements Register Name 0xF0F00500 BRIGHTNESS_INQUIRY Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) Abs_Control_Inq [1] Capability of control with absolute value - [2] Reserved One_Push_Inq [3] One-push auto mode (Controlled automatically by the camera once) Readout_Inq [4] Capability of reading out the value of this feature ON_OFF [5] Capability of switching this feature ON and OFF Auto_
Configuration of the camera Register Name Field Bit Description 530h TRIGGER_INQ Presence_Inq [0] Indicates presence of this feature (read only) Abs_Control_Inq [1] Capability of control with absolute value - [2..3 Reserved Readout_Inq [4] Capability of reading out the value of this feature ON_OFF [5] Capability of switching this feature ON and OFF Polarity_Inq [6] Capability of changing the polarity of the rigger input - [7..
Configuration of the camera Register Name Field Bit Description 584h PAN_INQ Always 0 588h TILT_INQ Always 0 58Ch OPTICAL_FILTER_INQ Always 0 Reserved for other FEATURE_LO_INQ Always 0 590 .. 5BCh 5C0h CAPTURE_SIZE_INQ Always 0 5C4h CAPTURE_QUALITY_INQ Always 0 Reserved for other FEATURE_LO_INQ Always 0 5C8h .. 5FCh 600h CUR-V-Frm_RATE/Revision Bits [0..2] for the frame rate 604h CUR-V-MODE Bits [0..2] for the current video mode 608h CUR-V-FORMAT Bits [0..
Configuration of the camera Inquiry register for absolute value CSR offset address Offset Name Notes 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 ABS_CSR_HI_INQ_7 Always 0 720h ABS_CSR_HI_INQ_8 Always 0 724h ABS_CSR_HI_INQ_9 Always 0 728h ABS_CSR_HI_INQ_10 Always 0 72Ch ABS_CSR_HI_INQ_11 Always
Configuration of the camera Status and control register for feature 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.
Configuration of the camera Offset Name 804h AUTO-EXPOSURE Field Bit Description See above Note: Target grey level parameter in SmartView corresponds to Auto_exposure register 0xF0F00804 (IIDC). 808h SHARPNESS See above Table 106: Feature control register GUPPY Technical Manual V7.1.
Configuration of the camera Offset Name Field Bit Description 80Ch WHITE-BALANCE Presence_Inq [0] Presence of this feature 0: N/A 1: Available Always 0 for Mono Abs_Control [1] 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.
Configuration of the camera Offset Name Field Bit Description 810h HUE Always 0 814h SATURATION Always 0 818h GAMMA See above 81Ch SHUTTER see Advanced Feature Timebase Chapter CSR: Shutter on page 129 820h GAIN See above 824h IRIS Always 0 828h FOCUS Always 0 82Ch TEMPERATURE Always 0 830h TRIGGER-MODE Can be effected via advanced feature IO_INP_CTRLx.
Configuration of the camera 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 101: Frame rate inquiry register on page 232) gives 003C2000h. 4 x 3C2000h = F08000h so that the base address for the latter (Table 108: Format_7 control and status register on page 252) equals to F0000000h + F08000h = F0F08000h.
Configuration of the camera Offset Name Notes 040h PACKET_PARA_INQ See note 044h BYTE_PER_PACKET Acc. to IIDC V1.3 Table 108: Format_7 control and status register Note • • • • • For all modes in Format_7, ErrorFlag_1 and ErrorFlag_2 are refreshed on each access to the Format_7 Register. Contrary to IIDC V1.3, registers relevant to Format_7 are refreshed on each access. The Setting_1 bit is automatically cleared after each access.
Configuration of the camera Advanced features (AVT-specific) The camera has a variety of extended features going beyond the possibilities described in IIDC V1.3. The following chapter summarizes all available (AVTspecific) advanced features in ascending register order. Note This chapter is a reference guide for advanced registers and does not explain the advanced features itself.
Configuration of the camera Register Register name Remarks 0xF1000270 FRAMEINFO Not supported 0xF1000274 FRAMECOUNTER Not supported 0xF1000280 HDR_CONTROL High dynamic range mode (only Guppy F-036) 0xF1000284 KNEEPOINT_1 0xF1000288 KNEEPOINT_2 see Chapter HDR (high dynamic range) (GUPPY F-036 only) on page 154 0xF100028C KNEEPOINT_3 0xF1000298 DEFECT_PIXEL_CORRECTION Defect pixel correction (only Guppy F-503) 0xF100029C see Table 120: Advanced register: Defect pixel correction on page
Configuration of the camera Register Register name Remarks 0xF1000580 LOW_NOISE_BINNING see Chapter Low noise binning mode (2 x and 4 x binning) (only Guppy F-503) on page 281 0xF1000800 IO_OUTP_PWM1 Guppy board level cameras only 0xF1000804 IO_OUTP_PWM2 see Table 31: PWM configuration registers on page 90 0xF1000808 IO_OUTP_PWM3 0xF100080C IO_OUTP_PWM4 0xF1000FFC GPDATA_INFO 0xF1001000 GPDATA_BUFFER see Table 134: Advanced register: GPData buffer register on page 283 … 0xF10017FC Tabl
Configuration of the camera Extended version information register The presence of each of the following features can be queried by the 0 bit of the corresponding register. Register Name Field Bit Description 0xF1000010 VERSION_INFO1 µC type ID [0..15] Always 0 µC version [16..31] Bcd-coded version number 0xF1000014 VERSION_INFO1_EX µC version [0..31] Bcd-coded version number 0xF1000018 VERSION_INFO3 Camera type ID [0..
Configuration of the camera The FPGA type ID (= camera type ID) identifies the camera type with the help of the following list: ID (decimal) Camera type 201 Guppy F-033B 202 Guppy F-033C 203 Guppy F-036B 204 Guppy F-036C 205 Guppy F-046B 206 Guppy F-046C 207 Guppy F-080B 208 Guppy F-080C 209 Guppy F-146B 210 Guppy F-146C 213 Guppy F-033B BL (board level) 214 Guppy F-033C BL (board level) 215 216 217 218 219 Guppy F-038B 220 Guppy F-038C 221 Guppy F-038B NIR 222 Guppy F-038C N
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.
Configuration of the camera Register Name Field Bit 0xF1000044 ADV_INQ_2 Input_1 [0] --- [1] Reserved --- [2] Reserved --- [3..7] Reserved Output_1 [8] Output_2 [9] Output_3 [10] --- [11..15] IntEnaDelay [16] --- [17..23] Reserved Output 1 PWM [24] Board level only Output 2 PWM [25] Board level only Output 3 PWM [26] Board level only Output 4 PWM [27] Board level only --- [28..
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 any images and the camera does not send any images (but images might be present in the image FIFO). The ExSyncArmed flag indicates that the camera is set up for external triggering. Even if the camera is waiting for an external trigger event the Idle flag might get set.
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 29. Register Name Field Bit Description 0xF1000200 MAX_RESOLUTION MaxHeight [0..15] Sensor height (read only) MaxWidth [16..
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 65: Camera-specific exposure time offset on page 182) has to be added to the exposure time (set by any shutter register) to compute the real exposure time.
Configuration of the camera Extended shutter • For CCD models and Guppy F-503 with electronic rolling shutter: The exposure time for long-term integration can be entered with µs precision via the EXTENDED_SHUTTER register. – CCD models: max. exposure time up to 67 seconds (3FFFFFFh) – CMOS Guppy F-503 with electronic rolling shutter: max. exposure time up to ~2.3 s • For CMOS models: The maximum exposure time is (Guppy F-036) 32767 x 29.89 µs = 979.
Configuration of the camera Test images Bits 8-14 indicate which test images are saved. Setting bits 28-31 activates or deactivates existing test images. By activating any test image the following auto features are automatically disabled: • auto gain • auto shutter • auto white balance Register Name Field Bit Description 0xF1000210 TEST_IMAGE Presence_Inq [0] Indicates presence of this feature (read only) --- [1..
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. The possible values for LutNo are 0..n-1, whereas n can be determined by reading the field NumOfLuts of the LUT_INFO register.
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: • BitsPerValue = 8 1 byte per gray-value • BitsPerValue = 14 2 byte per gray-value Divide MaxLutSize by the number of bytes per gray-value in order to get the number of bits read from the sensor.
Configuration of the camera Defect pixel correction (only Guppy F-503) Definition The defect pixel correction mode allows to correct an image with defect pixels. Via threshold you can define the defect pixels in an image. Defect pixel correction is done in the FPGA and defect pixel data can be stored inside the camera’s EEPROM. DPC = defect pixel correction WR = write RD = read MEM, Mem = memory Note • • Defect pixel correction is always done in Format_7 Mode_0.
Configuration of the camera Register Name Field Bit Description 0xF100029C DPC_MEM Presence_Inq [0] Indicates presence of this feature (read only) --- [1] Reserved EnaMemWR [2] Enable write access from host to RAM EnaMemRD [3] Enable read access from RAM to host DPDataSize [4..17] Size of defect pixel data to read from RAM to host. A maximum of 2000 defect pixels can be stored. In case of more than 2000 defect pixels, DPDataSize is set to 2001 and BuildError flag is set to 1.
Configuration of the camera Input/output pin control All input and output signals running over the HIROSE plug are controlled by this register. Note • • • • See Chapter Inputs on page 80. See Table 22: Input configuration register on page 80. See Table 23: Input routing on page 81. See Chapter Chapter IO_OUTP_CTRL 1-3 on page 86. 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.
Configuration of the camera Register Name 0xF1000340 IO_INTENA_DELAY Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [1..5] Reserved ON_OFF [6] Enable/disable integration enable delay --- [7..11] Reserved DELAY_TIME [12..31] Delay time in µs Table 121: Advanced register: Delayed Integration Enable (IntEna) Auto shutter control The table below illustrates the advanced register for auto shutter control.
Configuration of the camera MinValue and MaxValue limits the range the auto shutter feature is allowed to use for the regulation process. Both values are initialized with the minimum and maximum value defined in the standard SHUTTER_INQ register (multiplied by the current active timebase). If you change the MinValue and/or MaxValue and the new range exceeds the range defined by the SHUTTER_INQ register, the standard SHUTTER register will not show correct shutter values.
Configuration of the camera MinValue and MaxValue limits the range the auto gain feature is allowed to use for the regulation process. Both values are initialized with the minimum and maximum value defined in the standard GAIN_INQ register. Changing the auto gain range might not affect the regulation, if the regulation is in a stable condition and no other condition affecting the image brightness is changed.
Configuration of the camera Note If the adjustment fails and the work area size and/or work area position becomes invalid, then this feature is automatically switched off. Read back the ON_OFF flag, if this feature does not work as expected. Trigger delay Register Name 0xF1000400 TRIGGER_DELAY Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [1..5] Reserved ON_OFF [6] Trigger delay on/off --- [7..10] Reserved DelayTime [11..
Configuration of the camera Mirror image (only Guppy F-036) Guppy F-036 cameras are equipped with horizontal and vertical mirror function. The mirror is centered to the actual FOV center and can be combined with all image manipulation functions, like binning. Register Name 0xF1000410 MIRROR_IMAGE Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [1..
Configuration of the camera Soft reset Register Name 0xF1000510 SOFT_RESET Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [1..5] Reserved Reset [6] Initiate reset --- [7..19] Reserved Delay [20..
Configuration of the camera User profiles 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. Register Name 0xF1000550 USER_PROFILE Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) Error [1] An error occurred --- [2..
Configuration of the camera Store Restore Set default To store the current camera settings into a profile: 1. Write the desired ProfileID with the SaveProfile flag set 2. Read back the register and check the ErrorCode field To restore the settings from a previous stored profile: 1. Write the desired ProfileID with the RestoreProfile flag set 2. Read back the register and check the ErrorCode field To set the default profile to be loaded on startup, reset or initialization: 1.
Configuration of the camera Stored settings The following table shows the settings stored inside a profile: Standard registers Standard registers (Format_7) Advanced registers Cur_V_Frm_Rate Cur_V_Mode Cur_V_Format ISO_Channel ISO_Speed BRIGHTNESS AUTO_EXPOSURE (Target grey level) SHARPNESS WHITE_BALANCE (+ auto on/off) GAMMA (+ gamma on) SHUTTER (+ auto on/off) GAIN TRIGGER_MODE TRIGGER_POLARITY TRIGGER_DELAY ABS_GAIN IMAGE_POSITION (AOI) IMAGE_SIZE (AOI) COLOR_CODING_ID BYTES_PER_PACKET TIMEBASE EXT
Configuration of the camera Format_7 mode mapping (only Guppy F-503) Register Name Field Bit Description 0xF1000580 F7MODE_MAPPING Presence_Inq [0] Indicates presence of this feature (read only) [1..31] Reserved F7MODE_MAP_INQ F7MODE_00_INQ [0] Format_7 Mode_0 presence F7MODE_01_INQ [1] Format_7 Mode_1 presence ... ... ...
Configuration of the camera The remaining visible Format_7 Mode_1 ... Mode_7 can be mapped to any internal Format_7 mode. Example To map the internal Format_7 Mode_18 to the visible Format_7 Mode_1, write the decimal number 18 to the above listed F7MODE_1 register. Note For available Format_7 modes see Figure 90: Mapping of possible Format_7 modes to F7M1...F7M7 on page 152. Setting the F7MODE_x register to: • • -1 (hex. FFFFFFFF) forces the camera to use the factory defined mode (Default) -2 (hex.
Configuration of the camera Global reset release shutter (only Guppy F-503) Offset Name Field Bit 0xF10005C0 GLOBAL_RES_REL_SHUTTER Presence_Inq [0] Description Indicates presence of this feature (read only) --- [1..5] Reserved ON_OFF [6] Global reset release shutter on/ off. If off, then electronic rolling shutter will be used. --- [7..31] Reserved Table 133: Advanced register: Global reset release shutter GUPPY Technical Manual V7.1.
Configuration of the camera GPDATA_BUFFER GPDATA_BUFFER is a register that regulates the exchange of data between camera and host for programming the LUT. GPDATA_INFO GPDATA_BUFFER Register Buffer size query Indicates the actual storage range. Name 0xF1000FFC GPDATA_INFO Field Bit Description --- [0..15] Reserved BufferSize [16..
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; each part consists of two digits): Special.Major.Minor.Bugfix or xx.xx.xx.
Appendix Appendix Sensor position accuracy of AVT cameras camera body pixel area pixel area sensor case A sensor case R y camera body Y D N x M I AVT Guppy Series Automated mechanical alignment of sensor into camera front module. (lens mount front flange) Reference points: Sensor: Center of pixel area (photo sensitive cells). Camera: Center of camera front flange (outer case edges). Accuracy: E L I Method of Positioning: x/y: z: R D: +/- 0.
Index Index Numbers 0xF1000010 (version info) .......................257 0xF1000040 (advanced feature inquiry)......259 0xF1000100 (camera status) .....................261 0xF1000200 (max. resolution) ..................262 0xF1000208 (time base) ..........................262 0xF100020C (extended shutter).................264 0xF1000210 (test images) ........................265 0xF1000240 (LUT)...................................266 0xF1000298 (DPC_CTRL)...........................
Index Auto_Inq ................................................ 82 AVT sensor position accuracy ....................285 AWB......................................................120 A_M_MODE (Field)....... 117, 124, 125, 127, 129 B bandwidth .............................................190 affect frame rate ...............................219 frame rates.......................................203 limitation of IEEE 1394 bus.................204 BAYER mosaic.........................................
Index data exchange buffer LUT .................................................132 data packets ........................................... 93 data path................................................ 98 data payload size ....................................219 data_length ............................................ 93 DCAM ........................................22, 190, 224 declaration of conformity .......................... 24 defect pixel correction (DPC) ....................
Index FORMAT_7_ERROR_2 ................................. 79 FOV.......................................................114 FPGA .....................................................115 FPGA Boot error ....................................... 79 frame rates bandwidth........................................203 bandwidth limitation .........................204 bus speed.........................................190 Format_7 .........................................204 GUPPY models.................................
Index image capture controlling .......................................167 input configuration register ......................... 80 current status .................................... 81 high active ........................................ 81 in detail............................................ 80 low active ......................................... 81 polarity setting .................................. 87 Trigger (Mode) ................................... 81 input mode ..................................
Index mechanical shutter..................................174 memory channels (user profiles)................277 Micron/Aptina CMOS sensor ......................169 Min_Value............................................... 82 mirror horizontal (Guppy F-036)....................114 vertical (Guppy F-036) .......................114 Mirror (advanced register) ........................275 missing image while IntEna active............................. 88 MSB aligned .......................................
Index rolling shutter ........................................188 row time GUPPY F-503.....................................181 RS232 ............................................... 76, 77 RxD_RS232......................................... 76, 77 S sensor position accuracy ..........................285 sequence BAYER color pattern...........................115 loading a LUT ...................................132 one-push white balance......................120 one-shot ......................................
Index trigger counter (advanced register) ...........277 trigger delay ..........................................178 advanced CSR...............................83, 179 advanced register .........................83, 179 off ................................................... 83 on.................................................... 83 Trigger Delay CSR ...............................83, 179 Trigger delay (advanced register) ..............274 trigger function ......................................