Guppy Technical Manual V7.4.
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.
Contacting Allied Vision ...................................................................................9 Introduction ........................................................................................................... 10 Document history ......................................................................................................... Manual overview........................................................................................................... Conventions used in this manual.
Status LED .............................................................................................................. Control and video data signals ........................................................................................ Inputs.................................................................................................................... Triggers ............................................................................................................. Input/output pin control ...
Auto shutter ............................................................................................................... 104 Look-up table (LUT) and gamma function ......................................................................... 106 Loading an LUT into the camera ................................................................................. 107 Defect pixel correction (only Guppy F-503B/C) .................................................................. 108 Building defect pixel data .....
Exposure time of Guppy F-036 (CMOS) ......................................................................... 155 Exposure time of Guppy F-503 (CMOS) ......................................................................... 155 Guppy F-503 row time for global reset release shutter (GRR)........................................ 155 Guppy F-503 row time for electronic rolling shutter (ERS) ........................................... 155 Minimum shutter time of Guppy F-036 ......................................
Test images ................................................................................................................ 195 Loading test images................................................................................................. 195 Test images b/w cameras (progressive and interlaced).................................................... 195 Test images for color cameras ....................................................................................
User profiles........................................................................................................... 252 Error codes ........................................................................................................ 253 Reset of error codes............................................................................................. 253 Stored settings...................................................................................................
Contacting Allied Vision Contacting Allied Vision Connect with Allied Vision colleagues by function: www.alliedvision.com/en/contact Find an Allied Vision office or distributor: www.alliedvision.com/en/about-us/where-we-are.html E-mail: info@alliedvision.com (for commercial and general inquiries) support@alliedvision.
Introduction Introduction This Guppy Technical Manual describes in depth the technical specifications, dimensions, all camera features (IIDC standard and Allied Vision smart features) and their registers, trigger features, all video and color formats, bandwidth and frame rate calculation. For information on hardware installation, safety warnings, pin assignments on I/O connectors and 1394b connectors read the 1394 Installation Manual. Note Please read through this manual carefully.
Introduction Version Date Remarks continued from previous page PRE_V3.0.0 30.10.2006 [continued] [continued] New CS-Mount and C-Mount adapter in Chapter Guppy cameras on page 25. Added Guppy F-33B/C BL (board level version) Changed camera status register (Table 107: Advanced register: Camera status on page 235) 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 previous page V6.0.2 31.03.2008 Minimum shutter time of Guppy F-036B/C is now 180 μs: see Chapter Guppy F-036B/C on page 28 and Chapter Minimum shutter time of Guppy F-036 on page 156. Added note: Guppy F-036 supports only Trigger_Mode_0. See Chapter Trigger modes on page 144.
Introduction Version Date Remarks continued from previous page V6.1.0 09.07.
Introduction Version Date Remarks continued from previous page V6.1.0 09.07.
Introduction Version Date Remarks continued from previous page V6.2.0 15.08.2008 Added cross-reference from upload LUT to GPDATA_BUFFER in Chapter Loading an LUT into the camera on page 107 Added Guppy F-146 with Mono8 (8-bit format) and Mono12/16 (12-bit format) in Chapter Pixel data on page 70. 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 previous page V7.0.0 31.10.2008 Operating temperature changed from 50 °C to 45 °C for all Guppy types in Chapter Specifications on page 27 New Guppy camera photos with new camera naming font: • Title page New Guppy F-503B/C: Read information in the following sections: • • • • • • • • • • • • • • • • • Chapter Conformity on page 26 Table 14: Focal width vs.
Introduction Version Date Remarks continued from previous page V7.1.0 07.05.2009 All advanced registers in 8-digit format beginning with 0xF1... in Chapter Advanced features (Allied Vision-specific) on page 228 Firing a new trigger while IntEna is still active can result in missing image (not image corruption): see Caution on page 70.
Introduction Version Date Remarks continued from previous page V7.1.0 07.05.2009 [continued] [continued] [continued] Offset of low noise binning mode changed from 0xF1000580 to 0xF10005B0 in Table 127: Advanced register: Low noise binning mode on page 256. Changed Camera In 1 signal Uin(high) from 2 V to 2.
Introduction Version Date Remarks continued from previous page V7.1.1 23.02.
Introduction Version Date Remarks continued from previous page V7.3.0 21.09.2010 Updated data: • • • • • V7.4.0 09.03.
Introduction Manual overview This manual overview describes each chapter of this manual shortly. • Chapter Contacting Allied Vision on page 9 lists Allied Vision contact data for both: – technical information / ordering – commercial information • Chapter Introduction on page 10 (this chapter) gives you the document history, a manual overview and conventions used in this manual (styles and symbols). Furthermore you learn how to get more information on how to install hardware (1394 Installation Manual).
Introduction Conventions used in this manual To give this manual an easily understood layout and to emphasize important information, the following typographical styles and symbols are used: Styles Style Function Example Bold 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: • The 1394 Installation Manual describes the hardware installation procedures for all 1394 cameras (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). www You find the 1394 Installation Manual here: http://www.alliedvision.
Introduction Note 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. The camera also works with all IIDC (formerly DCAM) compatible IEEE 1394 programs and image processing libraries. All naming in this document relates to FirePackage, not to GenICam. www For downloads see: Software (Vimba and all other software): http://www.alliedvision.
Guppy cameras Guppy cameras Guppy With Guppy cameras, entry into the world of digital image processing is simpler and more cost-effective than ever before. IEEE 1394a With the Guppy, Allied Vision presents a whole series of attractive digital camera entry-level models of the FireWire™ type. Note www All naming in this document relates to FirePackage, not to GenICam.
Conformity Conformity Allied Vision Technologies declares under its sole responsibility that all standard cameras of the Guppy family to which this declaration relates are in conformity with the following standard(s) or other normative document(s): • CE, following the provisions of 2004/108/EG directive • FCC Part 15 Class B • RoHS (2011/65/EU) • CE • WEEE CE We declare, under our sole responsibility, that the previously described Guppy cameras conform to the directives of the CE.
Specifications Specifications Note • • For information on bit/pixel and byte/pixel for each color mode see Table 84: ByteDepth on page 193. Maximum protrusion means the distance from lens flange to the glass filter in the camera. Guppy F-033B/C Feature Specification Image device Type 1/3 (diag. 6 mm) progressive scan SONY IT CCD ICX424AL/AQ w 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.
Specifications Feature Specification 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 Feature Specification Smart functions • • • AGC (auto gain control), LUT (look-up table), mirror, only b/w: binning (average) only color: AWB (auto white balance) one configurable input, three configurable outputs RS-232 port (serial port, IIDC V1.31) Transfer rate 100 Mbit/s, 200 Mbit/s, 400 Mbit/s Digital interface IEEE 1394a IIDC V1.
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 24: Guppy C-Mount dimensions on page 53) CS-Mount: 12.526 mm (in air), Ø 25.
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 24: Guppy C-Mount dimensions on page 53) CS-Mount: 12.526 mm (in air), Ø 25.
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 24: Guppy C-Mount dimensions on page 53) CS-Mount: 12.526 mm (in air), Ø 25.
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 24: Guppy C-Mount dimensions on page 53) CS-Mount: 12.526 mm (in air), Ø 25.
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 24: Guppy C-Mount dimensions on page 53) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Optional accessories • • Software packages http://www.alliedvision.com/en/support/software-downloads (free of charge) b/w: C/CS-Mount: IR cut filter / IR pass filter available as CS-Mount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter. Table 9: Specification Guppy F-046B/C 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.
Specifications Feature Specification Mass 50 g (without lens) Operating temperature + 5 °C ... + 45 °C housing temperature (without condensation) Storage temperature - 10 °C ...
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 24: Guppy C-Mount dimensions on page 53) CS-Mount: 12.526 mm (in air), Ø 25.
Specifications Feature Specification Optional accessories • • Software packages http://www.alliedvision.com/en/support/software-downloads (free of charge) b/w: C/CS-Mount: IR cut filter / IR pass filter available as CS-Mount adapter. color: C/CS-Mount: protection glass available as CS-Mount adapter. Table 11: Guppy F-146B/C Guppy F-503B/C Feature Specification Image device Type 1/2.5 (diag. 7.
Specifications Feature Specification 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 50% 45% Quantum Efficiency 40% 35% 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 800 Wavelength [nm] 900 1000 Figure 1: Spectral sensitivity of Guppy F-033B without cut filter and optics Red Green Blue 35% 30% Quantum Efficiency 25% 20% 15% 10% 5% 0% 400 450 500 550 Wavelength [nm] 600 650 700 Figure 2: Spectral sensitivity of Guppy F-033C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 50% 45% Quantum Efficiency 40% 35% 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 800 900 1000 Wavelength [nm] Figure 3: Spectral sensitivity of Guppy F-036B without cut filter and optic 40% 35% Quantum Efficiency 30% 25% 20% 15% 10% 5% 0% 400 450 500 550 600 650 700 Wavelength [nm] Figure 4: Spectral sensitivity of Guppy F-036C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 50% 45% 40% Quantum Efficiency 35% 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 800 Wavelength [nm] 900 1000 Figure 5: Spectral sensitivity of Guppy F-038B without cut filter and optics Cyan Green Yellow Magenta 60% Quantum Efficiency 50% 40% 30% 20% 10% 0% 400 450 500 550 Wavelength [nm] 600 650 700 Figure 6: Spectral sensitivity of Guppy F-038C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 60% Quantum Efficiency 50% 40% 30% 20% 10% 0% 400 500 600 700 800 900 1000 Wavelength [nm] Figure 7: Spectral sensitivity of Guppy F-038B NIR without cut filter and optics Cyan Green Yellow Magenta 70% Quantum Efficiency 60% 50% 40% 30% 20% 10% 0% 400 450 500 550 600 650 700 Wavelength [nm] Figure 8: Spectral sensitivity of Guppy F-038C NIR without cut filter and optics Guppy Technical Manual V7.4.
Specifications 45% 40% Quantum Efficiency 35% 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 800 900 1000 Wavelength [nm] Figure 9: Spectral sensitivity of Guppy F-044B without cut filter and optics Cyan Green Yellow Magenta Quantum Efficiency 60% 50% 40% 30% 20% 10% 0% 400 450 500 550 Wavelength [nm] 600 650 700 Figure 10: Spectral sensitivity of Guppy F-044C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 60% Quantum Efficiency 50% 40% 30% 20% 10% 0% 400 500 600 700 800 900 1000 Wavelength [nm] Figure 11: Spectral sensitivity of Guppy F-044B NIR without cut filter and optics Cyan Green Yellow Magenta 70% Quantum Efficiency 60% 50% 40% 30% 20% 10% 0% 400 450 500 550 600 650 700 Wavelength [nm] Figure 12: Spectral sensitivity of Guppy F-044C NIR without cut filter and optics Guppy Technical Manual V7.4.
Specifications 40% 35% Quantum Efficiency 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 Wavelength [nm] 800 900 1000 Figure 13: Spectral sensitivity of Guppy F-046B without cut filter and optics Red Green 500 550 Wavelength [nm] Blue 35% 30% Quantum Efficiency 25% 20% 15% 10% 5% 0% 400 450 600 650 700 Figure 14: Spectral sensitivity of Guppy F-046C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 40% 35% Quantum Efficiency 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 Wavelength [nm] 800 900 1000 Figure 15: Spectral sensitivity of Guppy F-080B without cut filter and optics Red Green 500 550 Wavelength [nm] Blue 40% 35% Quantum Efficiency 30% 25% 20% 15% 10% 5% 0% 400 450 600 650 700 Figure 16: Spectral sensitivity of Guppy F-080C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 40% Quantum Efficiency 35% 30% 25% 20% 15% 10% 5% 0% 400 500 600 700 Wavelength [nm] 800 900 1000 Figure 17: Spectral sensitivity of Guppy F-146B without cut filter and optics Red Green Blue 35% Quantum Efficiency 30% 25% 20% 15% 10% 5% 0% 400 450 500 550 Wavelength [nm] 600 650 700 Figure 18: Spectral sensitivity of Guppy F-146C without cut filter and optics Guppy Technical Manual V7.4.
Specifications 60% 50% Quantum efficiency 40% 30% 20% 10% 0% 590 390 790 990 Wavelength [nm] Figure 19: Spectral sensitivity of Guppy F-503B without cut filter and optics Red 45% Green Blue 40% Quantum Efficiency 35% 30% 25% 20% 15% 10% 5% 0% 400 450 500 550 Wavelength [nm] 600 650 700 Figure 20: Spectral sensitivity of Guppy F-503C without cut filter and optics Guppy Technical Manual V7.4.
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 Guppy cameras on page 260. 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 21: Camera dimensions (old CS-/C-Mounting) Guppy Technical Manual V7.4.
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 22: Camera dimensions (new CS-/C-Mounting) Guppy Technical Manual V7.4.
Camera dimensions Tripod adapter Figure 23: Tripod dimensions Guppy Technical Manual V7.4.
Camera dimensions Cross section: C-Mount Figure 24: Guppy C-Mount dimensions Guppy Technical Manual V7.4.
Camera dimensions Cross section: CS-Mount Figure 25: Guppy CS-Mount dimensions Guppy Technical Manual V7.4.
Filter and lenses Filter and lenses IR cut filter The following illustration shows the spectral transmission of the IR cut filter: 100% 90% 80% 70% Transmission 60% 50% 40% 30% 20% 10% 0% 400 500 600 700 800 900 Wavelength [nm] 1000 1100 Figure 26: Spectral transmission of IR cut filter (e.g. Jenofilt 217) Guppy Technical Manual V7.4.
Filter and lenses Camera lenses Allied Vision 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.
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 15: Focal width vs. field of view (Guppy F-033/036/080) Guppy Technical Manual V7.4.
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 1394 Installation Manual. Read all Notes and Cautions in the 1394 Installation Manual, before using any interfaces.
Camera interfaces Camera I/O connector pin assignment 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.
Camera interfaces Status LEDs Status LEDs Yellow Green (S2) (S1) Figure 29: 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 17: Error codes The following sketch illustrates the series of blinks for a Format_7
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 1394 Installation Manual. Triggers The signal can be inverted. The camera must be set to external triggering to trigger image capture by the trigger signal.
Camera interfaces Note Make sure that output and input are not enabled at the same time. In order to use a pin as an input (e.g. for external trigger), its output driver (e.g. IntEna) needs to be switched off. IO_INP_CTRL 1 The Polarity field determines whether the input is inverted (0) or not (1). See Table 18: Input configuration register on page 62. The InputMode field can be seen in the following table. The PinState field is used to query the current status of the input.
Camera interfaces Register Name Field Bit Description 0xF0F00534 TRIGGER_DELAY_INQUIRY 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_Inq [6] Auto Mode (Controlled automatical
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 1394 Installation Manual. 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 31: Output block diagram Note The following signals are high active: IntEna, FVal, Busy, Follow Input, Direct. Guppy Technical Manual V7.4.
Camera interfaces IO_OUTP_CTRL 1-3 The outputs are controlled via 3 advanced feature registers (see Table 24: Advanced register: Output control on page 68). 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. It is possible to read back the status of an output pin regardless of the output mode.
Camera interfaces ID Mode Default 0x06 FrameValid 0x07 Busy 0x08 Follow corresponding input (Inp1 Out1) 0x0A..0x1F Reserved Output 2 Table 25: Output routing Note The output mode 0x08 is not available for output pins directly tied to an input pin. The Polarity setting refers to the input side of the inverting driver.
Camera interfaces Note The signals can be inverted. Caution Note Firing a new trigger while IntEna is still active can result in missing image. • • 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.
Camera interfaces Field Description data_length Number of bytes in the data field tg Tag field shall be set to zero channel Isochronous channel number, as programmed in the iso_channel field of the cam_sta_ctrl register tCode Transaction code shall be set to the isochronous data block packet tCode sy Synchronization value (sync bit) This is one single bit. It indicates the start of a new frame.
Camera interfaces Y-(K+Pn-8) Y-(K+Pn-7) Y-(K+Pn-6) Y-(K+Pn-5) Y-(K+Pn-4) Y-(K+Pn-3) Y-(K+Pn-2) Y-(K+Pn-1) Figure 33: Y8 format [Source: IIDC V1.3] High byte Low byte Y-(K+0) Y-(K+1) Y-(K+2) Y-(K+3) Y-(K+Pn-4) Y-(K+Pn-3) Y-(K+Pn-2) Y-(K+Pn-1) Figure 34: Y16 format [Source: IIDC V1.3] (Allied Vision) 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..
Camera interfaces Data structure (IIDC V1.3 and Allied Vision) The following tables provide a description of the data structure for the different modes Source: IIDC V1.3 specification Each component has 8-bit data. The data type is Unsigned Char. Highest Lowest Signal level (decimal) Data (hexadecimal) 255 0xFF 254 0xFE . . . . 1 0x01 0 0x00 Figure 35: Data structure of Y, R, G, B [Source: IIDC V1.3] Each component has 8-bit data. The data type is Straight Binary.
Camera interfaces 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 . . . . 1 0x0001 0 0x0000 Lowest Figure 37: Data structure of Y (Mono16) [Source: IIDC V1.3] (Allied Vision) Y component has 12-bit data. The data type is Unsigned. Y Signal level (decimal) Data (hexadecimal) Highest 4095 0x0FFF 4094 0x0FFE . . . .
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 27. 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 38: 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 39: 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 40: 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 41: 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 First field: Binning line 1+2, 3+4, ... Second field: Binning line 2+3, 4+5, ...
Description of the data path Figure 44: 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 47: 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 First field: Binning line 1+2, 3+4, ... Second field: Binning line 1+2, 3+4, ... Light sensitive area Line 1 Line 1 Line 2 Line 2 Vertical shifting direction Light sensitive area Line 3 Line 4 Vertical shifting direction This mode emulates a progressive scan mode.
Description of the data path Figure 50: 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 89.
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 1: 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 2: 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. 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 85).
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 56: Signal path of MT9V022 (Guppy F-036 with CMOS sensor) Analog gain Pixel output Analog offset 12-bit ADC ADC Data (11:0) Figure 57: 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 nonstandard (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 100: Feature control register on page 222. 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 59: 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 Configuration To set position and size of the control area (Auto_Function_AOI) in an advanced register: see Table 119: Advanced register: Autofunction AOI on page 248. AUTOFNC_AOI affects the auto shutter, auto gain and auto white balance features and is independent of the Format7 AOI settings. If this feature is switched off, the work area position and size represent the current active image size.
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 60: 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 Look-up table (LUT) and gamma function The 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 Note Configuration • • To configure this feature in an advanced register: See Table 113: Advanced register: LUT on page 240. Information on GPDATA_BUFFER: See Chapter GPDATA_BUFFER on page 257. 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).
Description of the data path The following flow diagram illustrates the defect pixel correction: Figure 64: Defect pixel correction: build and store Note While building defect pixel correction data or uploading them from host, the defect pixel correction data are stored volatile in FPGA. Optional you can store the data in EEPROM non-volatile (Set MemSave to 1).
Description of the data path Building defect pixel data Note • • • • • Defect pixel correction is only possible in Mono8 modes for monochrome cameras and Raw8 modes for color cameras. In all other modes you get an error message in advanced register 0xF1000298 bit [1] see Table 115: Advanced register: Defect pixel correction on page 243. Using Format_7 Mode_x: Defect pixel correction is done in Format_7 Mode_x.
Description of the data path DPC data are organized like this: 31 16 15 y-coordinate x-coordinate 0 The calculated mean value is written in advanced register Mean field (0xF1000298 bit [18..24]). 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 115: Advanced register: Defect pixel correction on page 243.
Description of the data path Note • Switch off camera and switch on again: defect pixel data in dual port RAM will get lost, but are loaded automatically from EEPROM to dual port RAM during initialization (only if stored in EEPROM before switch off) • Initialize camera (start-up or soft reset): non-volatile stored defect pixel data are loaded automatically from EEPROM to dual port RAM. Send defect pixel data to the host 1. Set EnaMemRD flag to 1.
Description of the data path Note All DPC data transfers between PC and camera run through GPData buffer. Block writes are thus limited by the GPData buffer size. See Chapter GPDATA_BUFFER on page 257. 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 • 4 x full binning (a combination of 4 x H-binning and 4 x V-binning) 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 their adjacent same-color pixels are signals are averaged. combined and their signals are averaged.
Description of the data path 2 x vertical binning (b/w and color) Figure 67: 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 their adjacent same-color pixels are 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 69: 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 71: 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.4.
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 74: Horizontal sub-sampling 2 out of 4 (color) 2 out of 8 Figure 75: 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.4.
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 76: Vertical sub-sampling (b/w) Guppy Technical Manual V7.4.
Description of the data path 2 out of 4 2 out of 8 Figure 77: Vertical sub-sampling (color) Note The image appears vertically compressed in this mode and no longer exhibits a true aspect ratio. Format_7 Mode_6 By default and without further remapping use Format_7 Mode_6 for 2 out of 4 H+V sub-sampling The different sub-sampling patterns are shown below. 2 out of 4 H+V sub-sampling Figure 78: 2 out of 4 H+V sub-sampling (b/w) Guppy Technical Manual V7.4.
Description of the data path 2 out of 8 H+V sub-sampling Figure 79: 2 out of 8 H+V sub-sampling (b/w) 2 out of 4 H+V sub-sampling Figure 80: 2 out of 4 H+V sub-sampling (color) 2 out of 8 H+V sub-sampling Figure 81: 2 out of 8 H+V sub-sampling (color) Guppy Technical Manual V7.4.
Description of the data path Note Changing sub-sampling modes involves the generation of new shading reference images due to a change in the image size. 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.
Description of the data path Note • • A combination of binning and sub-sampling modes is not possible. Use either pure binning or pure sub-sampling modes. The Format_ID numbers 0...26 in the binning / sub-sampling list on page 127 do not correspond to any of the Format_7 modes. Guppy Technical Manual V7.4.
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 126: Advanced register: Format_7 mode mapping on page 255. Packed 12-Bit Mode Definition Guppy F-146B and F-503B 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 placement of a single knee point is set automatically. In two knee automatic exposure mode, the placement of the two knee points is set automatically.
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 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. No color interpolation 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 86: Bayer pattern of Guppy F-036C Column readout direction Pixel (2,9) Row readout direction Figure 87: Bayer pattern of Guppy F-503C Guppy Technical Manual V7.4.
Description of the data path Readout direction G and Mg change every two lines 2nd line 1st 1st line pixel Figure 88: BAYER pattern of SONY complementary sensors: 1st line: G - Mg, 2nd line: Cy - Ye 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.
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_STA- RBUF_ST TUS_CONTRL 00Ch Field TRANSMIT_BUFFER_STATUS_CONTRL 010h .. 0FFh 100h Bit 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 TBUF_ST [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 89: Trigger_Mode_0 and 1: global shutter (CCD only) Guppy Technical Manual V7.4.
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. Figure 91: Trigger_Mode_0: Guppy F-503 electronic rolling shutter (short exposure time) Guppy Technical Manual V7.4.
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 128: Advanced register: Global reset release shutter on page 257. 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 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.4.
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 110: Time base ID on page 237). 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 60: 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 Guppy F-044 NIR Camera busy 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 64: 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 Format Mode Resolution Color mode 0 7 60 fps 30 fps 15 fps 7.5 fps 3.75 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* 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 3.
Video formats, modes and bandwidth Guppy F-038B / Guppy F-038C Format Mode Resolution Color mode 0 7 1 2 Max.
Video formats, modes and bandwidth Guppy F-044B / Guppy F-044C Format Mode Resolution Color mode 0 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 3.75 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* 1.
Video formats, modes and bandwidth Guppy F-080B / Guppy F-080C Format Mode Resolution Color mode 0 1 7 60 fps 30 fps 15 fps 7.5 fps 3.
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 74: Video formats Guppy F-503B / Guppy F-503C Guppy Technical Manual V7.4.
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 1024 x 768 6 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 102: Format_7 control and status register on page 226. Figure 98: 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 Note • • If the cameras are operated with an external trigger the maximum trigger frequency may not exceed the highest continuous frame rate, thus preventing frames from being dropped or corrupted. IEEE 1394 adapter cards with PCILynx™ chipsets have a limit of 4000 bytes per cycle. The frame rates in video modes 0 to 2 are specified, and settings are fixed by IIDC V1.3. Frame rates Format_7 In video Format_7 frame rates are no longer fixed.
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 260 240 220 200 Frame rate / fps 180 160 140 120 100 80 60 40 20 0 0 50 100 150 200 250 300 350 400 450 500 550 AOI height / pixel Figure 100: 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 6
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps Frame rate / fps Guppy F-033 Guppy F-033 BL 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 76: Frame rates Guppy F-033 and board level versions Guppy Technical Manual V7.4.
Video formats, modes and bandwidth Guppy F-036: AOI frame rates Frame rate = f(AOI height) Guppy F-036 350 300 Frame rate / fps 250 200 150 100 50 0 0 50 100 150 200 250 300 350 400 450 500 550 AOI height / pixel Figure 101: 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 193.
Video formats, modes and bandwidth Guppy F-038 / Guppy F-038 NIR (only F7M0 and F7M1): AOI frame rates Frame rate = f(AOI height) Guppy F-038 120 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 AOI height / pixel Figure 102: 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 78: Frame rates Guppy F-038 / F-038 NIR as function of AOI height Guppy Technical Manual V7.4.
Video formats, modes and bandwidth Guppy F-044 / Guppy F-044 NIR (only F7M0 and F7M1): AOI frame rates Guppy F-044 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 103: 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 193.
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps 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 79: Frame rates Guppy F-044 / F-044 NIR as function of AOI height Guppy Technical Manual V7.4.
Video formats, modes and bandwidth Guppy F-046: AOI frame rates Frame rate = f(AOI height) Guppy F-044 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 104: 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 80: Frame rates Guppy F-046 Guppy Technical Manual V7.4.
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 150 140 130 120 Frame rate / fps 110 100 90 80 70 60 50 40 30 20 10 0 0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 AOI height / pixel Figure 105: 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.
Video formats, modes and bandwidth AOI height / pixel Frame rate / fps Frame rate / fps Guppy F-080 Guppy F-080 BL 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.0 180 61.2 82.0 160 63.2 87.4 140 65.5 93.6 120 68.0 99.
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 70 Frame rate / fps 60 50 40 30 20 10 0 0 100 200 300 400 500 600 700 800 900 1000 1100 AOI height / pixel Figure 106: 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.
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 8: 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 193. 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 11: 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.4.
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 86: 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 110: Test image 2 progressive Test image 1 and 2 (Mono8 mode) interlaced without Debayering with Debayering Figure 111: 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.4.
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 87: 32-bit register Example This requires, for example, that to enable ISO_Enabled mode (see Chapter ISO_Enable / free-run on page 161), (bit 0 in register 614h), the value 80000000 h must be written in the corresponding register. Guppy Technical Manual V7.4.
Configuration of the camera Figure 112: 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 89: 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.4.
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 90: 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 Unit dependent info Offset 0-7 8-15 16-23 24-31 444h 00 0B 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 94: 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 Vmode_Error_Status_Inq 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..
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 480h Advanced_Feature_Inq Advanced_Feature_Quadlet_Offset [0..31] Description 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. In some programs it should still always be activated first.
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..15] Reserved 534h 538 ..
Configuration of the camera Register Name Field Bit Description 580h ZOOM_INQ Always 0 584h PAN_INQ Always 0 588h TILT_INQ Always 0 58Ch OPTICAL_FILTER_INQ Always 0 Reserved for other FEATURE_LO_INQ Always 0 5C0h CAPTURE_SIZE_INQ Always 0 5C4h CAPTURE_QUALITY_INQ Always 0 Reserved for other FEATURE_LO_INQ Always 0 590 .. 5BCh 5C8h .. 5FCh 600h CUR-V-Frm_RATE/Revision Bits [0..2] for the frame rate 604h CUR-V-MODE 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 100: Feature control register Guppy Technical Manual V7.4.
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 105 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 95: Frame rate inquiry register on page 206) gives 003C2000h. 4 x 3C2000h = F08000h so that the base address for the latter (Table 102: Format_7 control and status register on page 226) 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 102: 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 (Allied Vision-specific) The camera has a variety of extended features going beyond the possibilities described in IIDC V1.3. The following chapter summarizes all available (Allied Vision-specific) advanced features in ascending register order. Note This chapter is a reference guide for advanced registers and does not explain the advanced features itself.
Configuration of the camera Register Register name Remarks 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 129 0xF100028C KNEEPOINT_3 0xF1000298 DEFECT_PIXEL_CORRECTION Defect pixel correction (only Guppy F-503) 0xF100029C see Table 115: Advanced register: Defect pixel correction on page 243 0xF10002A0 0xF1000300 IO_INP_CTRL1 see Table 18: Input configuration re
Configuration of the camera Note Advanced features should always be activated before accessing them. Note • • Currently all registers can be written without being activated. This makes it easier to operate the camera using Directcontrol. Allied Vision reserves the right to require activation in future versions of the software. Guppy Technical Manual V7.4.
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 215 216 217 218 219 Guppy F-038B 220 Guppy F-038C 221 Guppy F-038B NIR 222 Guppy F-038C NIR 223 Guppy F-044B NIR 224 Guppy F-044C NIR 227 Guppy F-044B 2
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] --- [4..7] Output_1 [8] Output_2 [9] Output_3 [10] --- [12..15] IntEnaDelay [16] --- [17..23] Reserved --- [28..31] Reserved Camera Status [0] Max Isosize [1] --- [2] Format_7 Mode Mapping [3] Auto Shutter [4] Auto Gain [5] Auto FNC AOI [6] --- [7..8] Low Noise Binning [9] AFE References [10] Global Reset Release Shutter [11] Defect Pixel Correction [12] --- [13..
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 27. 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 59: Camera-specific exposure time offset on page 156) 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 Frame information This register can be used to double-check the number of images received by the host computer against the number of images which were transmitted by the camera. The camera increments this counter with every FrameValid signal. This is a mirror of the frame counter information found at 0xF1000610.
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. To get the number of defect pixels read out this value and divide by 4.
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 62. See Table 18: Input configuration register on page 62. See Table 19: Input routing on page 63. See Chapter IO_OUTP_CTRL 1-3 on page 68. 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 116: 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/F-503) Guppy F-036/F-503 CMOS 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 The reset can be delayed by setting the Delay to a value unequal to 0 - the delay is defined in 10 ms steps. Note When SOFT_RESET has been defined, the camera will respond to further read or write requests but will not process them. Guppy Technical Manual V7.4.
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 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 Restore To restore the settings from a previous stored profile: Set default 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_P
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 82: Mapping of possible Format_7 modes to F7M1...F7M7 on page 127. 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..
Configuration of the camera • The big endian byte order of the 1394 bus is unlike the little endian byte order of common operating systems (Intel PC). Each quadlet of the local buffer, containing the LUT data or shading image for instance, has to be swapped bytewise from little endian byte order to big endian byte order before writing on the bus.
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 Allied Vision 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.
Appendix Appendix Sensor position accuracy of Guppy cameras camera body pixel area pixel area y camera body D sensor case sensor case x Figure 114: Sensor position accuracy Criteria Subject Method of Positioning Reference Points Accuracy Properties Optical alignment of the photo sensitive sensor area into the camera front module (lens mount front flange) Sensor Center of the pixel area (photo sensitive cells) Camera Center of the lens mount x/y +/- 0.
Index Index Index Index Numbers 0xF1000010 (version info) ........................231 0xF1000040 (advanced feature inquiry) .......233 0xF1000100 (camera status)......................235 0xF1000200 (max. resolution) ...................236 0xF1000208 (time base) ...........................236 0xF100020C (extended shutter) .................238 0xF1000210 (test images).........................239 0xF1000240 (LUT) ...................................240 0xF1000270 (frame info) ..........................
Index Index Index AUTO_EXPOSURE .....................................101 Auto_Exposure CSR ..................................101 Auto_Inq ................................................ 64 AWB....................................................... 96 A_M_MODE (Field) ..........93, 100, 101, 103, 105 B bandwidth..............................................164 affect frame rate ................................193 frame rates .......................................177 limitation of IEEE 1394 bus ..........
Index Index Index description ........................................ 71 data exchange buffer LUT .................................................107 data packets ............................................ 70 data path ................................................ 75 data payload size.....................................193 data_length ............................................ 71 DCAM ........................................ 24, 164, 198 declaration of conformity ...........................
Index Index Index FOV........................................................ 90 FPGA ...................................................... 91 FPGA Boot error........................................ 61 Frame information (advanced register) ........242 frame rates bandwidth ........................................177 bandwidth limitation ..........................178 bus speed .........................................164 Format_7 .........................................178 Guppy models....................
Index Index Index input configuration register .......................... 62 current status..................................... 63 high active ........................................ 63 in detail ............................................ 62 low active.......................................... 63 polarity setting................................... 69 Trigger (Mode) ................................... 63 input mode ............................................. 63 input pin control ......................
Index Index Index Mirror (advanced register).........................250 missing image while IntEna active.............................. 70 MSB aligned ....................................... 15, 71 Multi-Shot .............................................160 multi-shot..............................................160 external trigger .................................160 N No DCAM object ........................................ 61 No FLASH object ....................................... 61 Node_Id .........
Index Index Index S Sensor position accuracy...........................260 sequence BAYER color pattern............................. 91 loading a LUT ....................................107 one-push white balance ....................... 96 one-shot ..........................................158 SHUTTER ................................................105 Shutter CSR ............................................105 shutter time formula............................................155 SHUTTER_MODES ..............
Index Index Index Trigger Delay CSR................................65, 153 Trigger delay (advanced register) ...............249 trigger function.......................................150 trigger modes .........................................144 TRIGGER_DELAY..................................65, 153 TRIGGER_DELAY_INQUIRY.....................64, 152 Trigger_Delay_Inquiry register..............64, 152 TRIGGER_MODE .......................................150 Trigger_Mode .......................................