AVT Oscar Technical Manual V2.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.
Contents Contacting Allied Vision Technologies ................................................... 8 Introduction ............................................................................................................ 9 Document history .......................................................................................................... 9 Manual overview........................................................................................................... 13 Conventions used in this manual....
IO_INP_CTRL 1-2 ............................................................................................... 41 Trigger delay ....................................................................................................... 42 Outputs .................................................................................................................. 44 IO_OUTP_CTRL 1-2 ............................................................................................. 46 Output modes........................
Color correction in AVT cameras ............................................................................. 92 Color correction: formula....................................................................................... 92 GretagMacbeth ColorChecker .................................................................................. 92 Color conversion (RGB YUV) ....................................................................................... 93 Hue and Saturation..................................
How does bandwidth affect the frame rate? ...................................142 Example formula for the Oscar F-810C camera......................................................... 143 Test images ............................................................................................................... 143 Loading test images ............................................................................................... 143 Configuration of the camera .................................................
Stored settings .................................................................................................. 199 GPDATA_BUFFER..................................................................................................... 201 Little endian vs. big endian byte order.................................................................. 201 Firmware update ...............................................................................................202 Appendix .......................................
Contacting Allied Vision Technologies Contacting Allied Vision Technologies Info • Technical information: support@alliedvisiontec.com phone (for Germany): +49 (0)36428 677-270 phone (for USA): +1 978-225-2030 outside Germany/USA: Please check the link for your local dealer. http://www.alliedvisiontec.com/partner.html • Ordering and commercial information: customer-care@alliedvisiontec.
Introduction Introduction This OSCAR Technical Manual describes in depth the technical specifications, dimensions, all camera features (IIDC standard and AVT smart features) and their registers, trigger features, all video and color formats, bandwidth and frame rate calculation. For information on hardware installation, safety warnings, pin assignments on I/O connectors and 1394a connectors read the Hardware Installation Guide. Note Please read through this manual carefully.
Introduction Version Date Remarks continued from last page 2.3.0 23.02.2007 Minor corrections New offset and jitter values (Chapter Exposure time (shutter) and offset on page 111 and Figure 52: Data flow and timing after end of exposure on page 114) New jitter values at start of exposure, camera idle (Chapter Jitter at start of exposure on page 116) 2.3.1 23.03.2007 Minor corrections Note: binning only Oscar F-510C (Chapter Binning (only Oscar F-510C) on page 84) 2.4.0 15.08.
Introduction Version Date Remarks continued from last page 2.4.0 15.08.08 Restructuring of Oscar Technical Manual: [continued] [continued] • • • • • • • • • Added Contacting Allied Vision Technologies on page 8 Added Chapter Manual overview on page 13 Restructured Chapter Oscar types and highlights to Chapter OSCAR cameras on page 17.
Introduction Version Date Remarks continued from last page 2.4.0 15.08.08 [continued] [continued] • • • • • Revised Chapter How does bandwidth affect the frame rate? on page 142 Revised Chapter Configuration of the camera on page 145 Revised Chapter Firmware update on page 202 Added Chapter Sensor position accuracy of AVT cameras on page 203 Revised Chapter Index on page 204 Added cross-reference from upload LUT to GPDATA_BUFFER in Chapter Loading an LUT into the camera on page 73.
Introduction Manual overview This manual overview describes each chapter of this manual shortly. • Chapter Contacting Allied Vision Technologies on page 10 lists AVT contact data for both: – technical information / ordering – commercial information • Chapter Introduction on page 9 (this chapter) gives you the document history, a manual overview and conventions used in this manual (styles and symbols).
Introduction • • Chapter Appendix on page 203 lists the sensor position accuracy of AVT cameras. Chapter Index on page 204 gives you quick access to all relevant data in this manual. 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.
Introduction More information For more information on hardware and software read the following: • Hardware Installation Guide describes the hardware installation procedures for all 1394 AVT cameras (Dolphin, Oscar, Marlin, Guppy, Pike, Stingray). Additionally you get safety instructions and information about camera interfaces (IEEE1394a/b copper and GOF, I/O connectors, input and output).
Introduction Note L www Ý Note L To demonstrate the properties of the camera, all examples in this manual are based on the FirePackage OHCI API software and the SmartView application. These utilities can be obtained from Allied Vision Technologies (AVT). A free version of SmartView is available for download at: www.alliedvisiontec.com The camera also works with all IIDC (formerly DCAM) compatible IEEE 1394 programs and image processing libraries. OSCAR Technical Manual V2.4.
OSCAR cameras OSCAR cameras Oscar With Oscar cameras, entry into the world of digital image processing is simpler and more cost-effective than ever before. High image quality With the new Oscar, Allied Vision Technologies presents a whole series of attractive digital camera models of the FireWire™ type. The multi-megapixel resolutions, image pre-processing functions, frame grabbing functions and robust industrial casings make them highly suitable for a wide range of different applications.
Declarations of conformity Declarations of conformity Allied Vision Technologies declares under its sole responsibility that the following products Category Name Model Name Digital camera (IEEE 1394) OSCAR F-320C OSCAR F-510C OSCAR F-810C Table 3: Model names to which this declaration relates is in conformity with the following standard(s) or other normative document(s): • FCC Class B • CE (following the provisions of 2004/108/EG directive) • RoHS (2002/95/EC) OSCAR Technical Manual V2.4.
Filter and lenses Filter and lenses IR cut filter: spectral transmission The following illustration shows the spectral transmission of the IR cut filter: Figure 1: Spectral transmission of Jenofilt 217 OSCAR Technical Manual V2.4.
Filter and lenses Camera lenses AVT offers different lenses from a variety of manufacturers. The following table lists selected image formats in width x height depending on camera type, distance and the focal length of the lens. Note L Due to its extreme high resolution, OSCAR cameras place high demands on the modulation transfer function (MTF) of the lens. If in doubt, ask your dealer for the best lens to fit your application needs. Focal length for type 1/1.8 sensor OSCAR F-320C Distance = 0.
Specifications Specifications Note Oscar cameras are always equipped with color sensors. L Note For information on bit/pixel and byte/pixel for each color mode see Table 61: ByteDepth on page 142. L Oscar F-320C Feature Specification Image device Type 1/1.8 (diag. 8.93 mm) frame readout SONY CCD ICX-262AQ with HAD microlens Chip size 8.10 mm x 6.64 mm Cell Size 3.45 µm x 3.45 µm Picture size (max.) 2080 x 1540 pixels (Format_7 Mode_0) Lens mount C-Mount: 17.526 mm (in air); Ø 25.
Specifications Feature Specification External trigger shutter Trigger Mode_0, Trigger_Mode_1 (progressive scan, Format_7 Mode_0); advanced feature: Trigger_Mode_15 (bulk); image transfer by command; trigger delay Internal FIFO memory 32 MByte, optional up to 256 MByte Look-up tables One, user programmable (12 bit Smart functions Real time shading correction, High SNR mode (image summation), image mirror (L-R Q R-L), sub-sampling, user profiles AWB (auto white balance), color correction, hue, satur
Specifications Oscar F-510C Feature Specification Image device Type 2/3 (diag. 11 mm) frame readout SONY CCD ICX-282AQ with HAD microlens Chip size 9.74 mm x 7.96 mm Cell Size 3.4 µm x 3.4 µm Picture size (max.) 2588 x 1958 pixels (Format_7 Mode_0) Lens mount C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi) adjustable from 17.3 mm to 22.5 mm Mechanical flange back to filter distance: 10.
Specifications Feature Specification Mass <170 g (without lens and tripod) Operating temperature +5 ... +45 °Celsius Storage temperature -10 ...
Specifications Oscar F-810C Feature Specification Image device Type 2/3 (diag. 11.07 mm) frame readout SONY CCD ICX-456AQ with HAD microlens Chip size 9.79 mm x 7.93 mm Cell size 2.7 µm x 2.7 µm Picture size (max.) 3272 x 2469 pixels (Format_7 Mode_0) Lens mount C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi) adjustable from 17.3 mm to 22.5 mm Mechanical flange back to filter distance: 10.
Specifications Feature Specification Mass <170 g (without lens and tripod) Operating temperature +5 ... +45 °Celsius Storage temperature -10 ...
Specifications Spectral sensitivity Figure 2: Spectral sensitivity of Oscar F-320C without cut filter and optics Figure 3: Spectral sensitivity of Oscar F-510C without cut filter and optics OSCAR Technical Manual V2.4.
Specifications Figure 4: Spectral sensitivity of Oscar F-810C without cut filter and optics OSCAR Technical Manual V2.4.
Camera dimensions Camera dimensions Note For information on sensor position accuracy: L (sensor shift x/y, optical back focal length z and sensor rotation α) see Chapter Sensor position accuracy of AVT cameras on page 203. Oscar standard housing ☺ Body size: 72.5 mm x 44 mm x 44 mm (L x W x H) Mass: 170 g (without lens) Figure 5: Camera dimensions OSCAR Technical Manual V2.4.
Camera dimensions Oscar W90 This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. Note L An additional specification is required for the rotation of the sensor. Figure 6: Oscar W90 OSCAR Technical Manual V2.4.
Camera dimensions Oscar W270 This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. Please note that an additional specification is required for the rotation of the sensor. Figure 7: Oscar W270 OSCAR Technical Manual V2.4.
Camera dimensions Tripod adapter Figure 8: Tripod dimensions OSCAR Technical Manual V2.4.
Camera dimensions Cross section: C-Mount (standard filter) All Oscar cameras are equipped with standard filter. Figure 9: Oscar C-Mount dimensions (standard filter) OSCAR Technical Manual V2.4.
Camera dimensions Adjustment of C-Mount Oscar cameras allow the precise adjustment of the back focus of the C-Mount by means of a back focus ring which is threaded into the C-Mount and held by two screws on either side of the camera. The mechanical adjustment of the imaging device is important in order to achieve a perfect alignment with the focal point of the lens. This adjustment is made before leaving the factory to conform to the standard of 17.
Camera interfaces Camera interfaces This chapter gives you detailed information on status LEDs, inputs and outputs, trigger features and transmission of data packets. Note L For a detailed description of the camera interfaces (FireWire, I/O connector), ordering numbers and operating instructions see the Hardware Installation Guide, Chapter Camera interfaces. Read all Notes and Cautions in the Hardware Installation Guide, before using any interfaces.
Camera interfaces Camera I/O pin assignment Pin Signal Direction Level Description 1 External GND GND for RS232 and ext. power External ground for RS232 and external power 2 External Power +8 ... +36 V DC Power supply 3 4 10 3 11 4 In Uin(high) = 2 V...UinVCC Camera Input 1 Uin(low) = 0 V...0.
Camera interfaces Status LEDs Status LEDs Figure 13: Position of Status LEDs On LED 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 2 blinks VMode_ERROR_STATUS 1 blink FORMAT_7_ERROR_1 2 blinks FORMAT_7_ERROR_2 3 blinks Table 10: Error codes The longer OFF-time of 3.5 sec.
Camera interfaces Control and video data signals The inputs and outputs of the camera can be configured by software. The different modes are described below. Inputs Note For a general description of the inputs and warnings see the Hardware Installation Guide, Chapter OSCAR input description.
Camera interfaces Input/output pin control All input and output signals running over the camera I/O connector are controlled by an advanced feature register. Register Name Field Bit Description 0xF1000300 IO_INP_CTRL1 Presence_Inq [0] Indicates presence of this feature (read only) --- [1..6] Reserved Polarity [7] 0: low active 1: high active --- [8..10] Reserved InputMode [11..15] Mode see Table 12: Input routing on page 41 0xF1000304 IO_INP_CTRL2 --- [16..
Camera interfaces IO_INP_CTRL 1-2 The Polarity flag determines whether the input is low active (0) or high active (1). The input mode can be seen in the following table. The PinState flag is used to query the current status of the input. L • For inputs, the PinState bit refers to the inverted output side of the optical coupler. This signals that an open input sets the PinState bit to 1. ID Mode Default 0x00 Off 0x01 Reserved 0x02 Trigger input 0x03 Reserved 0x06..0x0F Reserved 0x10..
Camera interfaces Trigger delay Oscar cameras feature various ways to delay image capture based on an external trigger. With IIDC V1.31 there is a standard CSR at register F0F00534/834h to control a delay up to FFFh x time base value. The following table explains the inquiry register and the meaning of the various bits.
Camera interfaces 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 Read: Status of the feature ON=1 OFF=0 --- [7..19] Reserved Value [20..
Camera interfaces Note • L • Switching trigger delay to ON also switches external Trigger_Mode_0 to ON. This feature works with external Trigger_Mode_0 only. Outputs Note L For a general description of the outputs and warnings see the Hardware Installation Guide, Chapter OSCAR output description. Output features are configured by software. Any signal can be placed on any output.
Camera interfaces Output mode selectable via software Polarity selectable via software Operation state read IntEna FVal Opto- Busy Operation state read Output signal Coupler Figure 15: Output block diagram OSCAR Technical Manual V2.4.
Camera interfaces IO_OUTP_CTRL 1-2 The outputs (Output mode, Polarity) are controlled via two advanced feature registers. The Polarity flag determines whether the output is active low (0) or active high (1). The output mode can be viewed in the table below. The current status of the output can be queried and set via the PinState flag. It is possible to read back the status of an output pin regardless of the output mode.
Camera interfaces Output modes ID Mode Default 0x00 Off 0x01 Output state follows PinState bit Using this mode, the Polarity bit has to be set to 0 (not inverted). This is necessary for an error free display of the output status. 0x02 Integration enable 0x03 Reserved 0x04 Reserved 0x05 Reserved 0x06 FrameValid 0x07 Busy 0x08 Follow corresponding input (Inp1 Q Out1, Inp2 Q Out2, …) 0x09..0x0F Reserved 0x10..
Camera interfaces Figure 16: Output impulse diagram Note The signals can be inverted. L Note L • • • Note that 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 Pixel data Pixel data are transmitted as isochronous data packets in accordance with the 1394 interface described in IIDC V1.3. The first packet of a frame is identified by the 1 in the sync bit (sy) of the packet header. sync bit 0-7 8-15 data_length 16-23 tg channel 24-31 tCode sy header_CRC Video data payload data_CRC Table 19: Isochronous data block packet format. Source: IIDC V1.
Camera interfaces The following table provides a description of the video data format for the different modes. (Source: IIDC V1.3) Figure 17: YUV 4:2:2 and YUV 4:1:1 format: Source: IIDC V1.3 Figure 18: Y8 and Y16 format: Source: IIDC V1.3 OSCAR Technical Manual V2.4.
Camera interfaces Figure 19: Data structure: Source: IIDC V1.3 OSCAR Technical Manual V2.4.
Description of the data path Description of the data path Block diagram of the cameras The following diagram illustrates the data flow and the bit resolution of image data after being read from the CCD sensor chip in the camera. The individual blocks are described in more detail in the following paragraphs. For sensor data see Chapter Specifications on page 21.
Description of the data path Black and white output interpolation modes Various black and white output interpolation modes have been implemented in the data path to ensure high quality black and white image output. The cameras are able to output: • B/w signal out of luma interpolation formula (Y = 0.3R + 0.6G + 0.
Description of the data path Oscar F-320C: ICX-262AQ readout scheme The screenshot below, taken from the Oscar F-320C sensor's data sheet, shows the ICX-262AQ readout scheme. Frame readout mode reads out red and green color pixels in the first field, followed by the green and blue pixels in the second field. Note L The high frame readout mode reads out 2 from 12 lines and thus achieves a remarkably high frame rate of nearly 40 fps. Figure 21: Oscar F-320C: Sony ICX-262AQ readout scheme Note L 1.
Description of the data path 2. High frame rate readout mode Output is performed at 30 frames per second by reading out 2 pixels for every 12 vertical pixels. The number of output lines is 258 lines. This readout mode emphasizes processing speed over vertical resolution. Oscar F-510C: ICX-282AQ readout scheme Oscar F-510C is equipped with the ICX-282AQ sensor. Frame readout is again two fields and has the two primary colors, red and blue, read out in separate fields.
Description of the data path Oscar F-810C: ICX-456AQ readout scheme Oscar F-810C uses the ICX-456AQ sensor with three field readout mode. Every field skips two lines during read out, so all primary colors of the BAYER mosaic are read out in every field. Progressive scan mode reads out 2 out of 6 lines. Figure 23: Oscar F-810C: Sony ICX-456AQ readout scheme OSCAR Technical Manual V2.4.
Description of the data path Frame readout implications Frame readout has implications when shooting moving or stationary objects. To compensate for this condition, two different shutter modes have been introduced. The so-called split shutter opens and closes the shutter per field. This mode is suitable for shooting stationary objects only.
Description of the data path Exposure (Flash) Shutter first field Output first field to camera buffer Shutter second field Output second field to camera buffer Figure 25: Joint shutter The following pre-requisites are necessary to handle moving image acquisition in joint shutter mode: • Strobe light and • Ambient light reduced by proper light shields or • Mechanical external shutter • LCD optical shutter Note L Consult the factory or your local dealer if you have special applications requiring extern
Description of the data path White balance Oscar cameras have both manual and automatic white balance. White balance is applied so that non-colored image parts are displayed noncolored. 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 From the user's point of view, the white balance settings are made in register 80Ch of IIDC V1.3. This register is described in more detail below. 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 will be ignored. --- [2..
Description of the data path Figure 27: U/V slider range One-push automatic white balance Note Configuration L To configure this feature in control and status register (CSR): See Chapter White balance register on page 60. To activate one-push automatic white balance: Set one-push bit in the WHITE_BALANCE register. The camera automatically generates frames, based on the current settings of all registers (GAIN, OFFSET, SHUTTER, etc.).
Description of the data path If the image capture is active (e.g. IsoEnable set in register 614h), the frames used by the camera for white balance are also output on the 1394 bus. Any previously active image capture is restarted after the completion of white balance. Automatic white balance can also be enabled by using an external trigger. However, if there is a pause of >10 seconds between capturing individual frames, this process is aborted.
Description of the data path Automatic white balance The auto white balance feature continuously optimizes the color characteristics of the image. As a reference, it uses a grid of at least 300 samples equally spread over the area of interest or a fraction of it. Note Configuration L To set position and size of the control area (Auto_Function_AOI) in an advanced register: see Table 95: Advanced register: Autofunction AOI on page 193.
Description of the data path The algorithm bases on the assumption that the R-G-B component sums of the samples are equal, i.e., it assumes that the mean of the sampled grid pixels is to be monochrome. Visualization of the AUTOFNC_AOI is carried out with the help of the graphics overlay function of the camera (see Chapter Block diagram of the cameras on page 52). This area is highlighted when the Show work area bit is set high.
Description of the data path Auto gain In combination with auto white balance, all Oscar cameras 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 • L • • Values can only be changed within the limits of gain CSR. Changes in auto exposure register only have an effect when auto gain is active. Auto exposure limits are 50..205. (SmartView Ctrl1 tab: Target grey level) Brightness (black level or offset) It is possible to set the black level in the camera within the following ranges: 0...
Description of the data path The IIDC brightness register 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 In combination with auto white balance, Oscar cameras are equipped with an auto shutter feature. When enabled, the auto shutter adjusts the shutter within the default shutter limits or within those set in advanced register F1000360h in order to reach the reference brightness set in auto exposure register. Note L Target grey level parameter in SmartView corresponds to Auto_exposure register 0xF0F00804 (IIDC).
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 has to be ignored. --- [2..
Description of the data path Look-up table (LUT) and gamma function The AVT Oscar camera provides one user-defined look-up table (LUT). The use of this LUT allows any function (in the form Output = F(Input)) to be stored in the camera's RAM and to be applied on the individual pixels of an image at run-time. 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 • L • • • The input value is the most significant 12-bit value from the digitizer. The gamma LUT outputs the most significant 8 bit as shown above. As gamma correction is also implemented via the LUT, it is not possible to use a different LUT when gamma correction is enabled. After overriding the LUT with a user defined content, gamma functionality is no longer available until the next full initialization of the camera.
Description of the data path Loading an LUT into the camera Loading the LUT is carried out through the data exchange buffer called GPDATA_BUFFER. As this buffer can hold a maximum of 2 kByte, and a complete LUT at 4026 x 8 bit is 4 kByte, programming can’t take place in a one block write step because the size of an LUT is larger than GPDATA_BUFFER. Therefore input must be handled in several steps.The flow diagram below shows the sequence required to load data into the camera.
Description of the data path Shading correction Shading correction is used to compensate for non-homogeneities caused by lighting or optical characteristics within specified ranges. To correct a frame, a multiplier from 1...2 is calculated for each pixel in 1/ 256 steps. This allows for shading to be compensated by up to 50%. Besides generating shading data off-line and downloading it to the camera, the camera allows correction data to be generated automatically in the camera itself.
Description of the data path Automatic generation of correction data Requirements Shading correction compensates for non-homogeneities by giving all pixels the same gray value as the brightest pixel. This means that only the background must be visible and the brightest pixel has a gray value of less than 255 when automatic generation of shading data is started. It may be necessary to use a neutral white reference, e.g. a piece of paper instead of the real image.
Description of the data path Note Configuration L To configure this feature in an advanced register: See Table 90: Advanced register: Shading on page 188. Note The SHDG_CTRL register should not be queried at very short intervals. This is because each query delays the generation of the shading image. An optimal interval time is 500 ms. L Note • The maximum value of GRAB_COUNT depends on the type of camera and the number of frame buffers that exist.
Description of the data path Figure 34: Generation of shading image After the lens has been focused again, the image below will be seen, but now with a considerably more uniform gradient. This is also made apparent in the graph on the right. OSCAR Technical Manual V2.4.
Description of the data path Figure 35: Example of shaded image The shading reference image can be output for permanent storage purposes on a host system. It can be further uploaded into the camera, so that the shading procedure must not be repeated after power down of the camera. OSCAR Technical Manual V2.4.
Description of the data path What is the real size of the shading image (MaxImageSize)? The register 0xF1000258 SHDG_INFO (MaxImageSize) delivers the sensor size but not the size of the shading image buffer. Therefore: If you use this reported (but wrong) MaxImageSize then: • A shading image which is too small will be uploaded/downloaded. • The shading correction will only be applied on the first field.
Description of the data path Camera model N: number of fields per frame BufferSize Oscar F-320C 2 620000h Oscar F-510C 2 A00000h Oscar F-810C 3 FC0000h Table 27: Number of fields and BufferSize For uploading/downloading a shading image the last Gap n can be ignored. The size of a field is calculated from the MaxImageSize which is theoretically camera dependent (MaxImageSize < BufferSize).
Description of the data path Loading a shading image out of the camera GPDATA_BUFFER is used to load a shading image out of the camera.
Description of the data path Loading a shading image into the camera GPDATA_BUFFER is used to load a shading image into the camera. Because the size of a shading image is larger than GPDATA_BUFFER, input must be handled in several steps: It is recommended that block writes are used to write a block of n bytes with one command into the GPDATA_BUFFER. With firmware 3.04 it is possible to write quadlets directly into the buffer, but this takes much more time.
Description of the data path Horizontal mirror function All Oscar cameras are equipped with an electronic mirror function, which mirrors pixels from the left side of the image to the right side and vice versa. The mirror is centered to the current FOV center and can be combined with all image manipulation functions, like binning, shading and DSNU. 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 Binning (only Oscar F-510C) 2 x Binning Definition Binning is the process of combining neighboring pixels while being read out from the CCD chip. Note Only Oscar F-510C has the binning feature.
Description of the data path Vertical binning Vertical binning increases the light sensitivity of the camera by a factor of two by adding together the values of two adjoining vertical pixels output as a single pixel. At the same time this normally improves signal-to-noise separation by about 3 dB. This reduces vertical resolution. The new resolution is approximately 1/2 of the original resolution. Format_7 Mode_6 By default use Format_7 Mode_6 for 2 x vertical binning.
Description of the data path Horizontal binning Definition In horizontal binning adjacent horizontal pixels in a line are combined in pairs. This means that in horizontal binning the light sensitivity of the camera is also increased by a factor of two (6 dB). Signal-to-noise separation improves by approx. 3 dB. This reduces horizontal resolution. The new resolution is approximately 1/2 of the original resolution. Format_7 Mode_5 By default use Format_7 Mode_5 for 2 x horizontal binning.
Description of the data path 2 x full binning If horizontal and vertical binning are combined, every 4 pixels are consolidated into a single pixel. At first two horizontal pixels are put together and then combined vertically. Light sensitivity This increases light sensitivity by a total of a factor of 4 and at the same time signal-to-noise separation is improved by about 6 dB. Resolution This reduces horizontal and vertical resolution. The new resolution is approximately 1/4 of the original resolution.
Description of the data path Sub-sampling What is sub-sampling? Definition Sub-sampling is the process of skipping neighboring pixels (with the same color) while being read out from the CCD chip. Which Oscar models have sub-sampling? All Oscar models have this feature.
Description of the data path 2 out of 4 H+V sub-sampling Figure 42: 2 out of 4 H+V sub-sampling (color) Note L Changing sub-sampling modes involves the generation of new shading reference images due to a change in the image size. High SNR mode (High Signal Noise Ratio) To configure this feature in an advanced register: See Table 101: Advanced register: High Signal Noise Ratio (HSNR) on page 197.
Description of the data path Sharpness All Oscar models are equipped with a two-step sharpness control, applying a discreet horizontal high pass in the green channel as shown in the next three line profiles. Figure 43: Sharpness: left: 0, middle: 1, right: 2 Note Configuration L To configure this feature in feature control register: See Table 77: Feature control register on page 169.
Description of the data path RAW mode is accessible via Color_Mode Mono8, RAW8 and via Format_7. Note L If the PC does not perform BAYER to RGB post-processing the b/w image will be superimposed with a checkerboard pattern. Color interpolation (BAYER demosaicing) In color interpolation, a red, green or blue value is determined for each pixel.
Description of the data path Color correction Why color correction? The spectral response of a CCD is different of those of an output device or the human eye. This is the reason for the fact that perfect color reproduction is not possible. In each Oscar camera there is a factory setting for the color correction coefficients, see Chapter GretagMacbeth ColorChecker on page 92. Color correction is needed to eliminate the overlap in the color channels.
Description of the data path Color correction can also be switched off in YUV mode with the help of the following register: Register Name Description 0xF10003A0 COLOR_CORR Write: 02000000h to switch color correction OFF Write: 00000000h to switch color correction ON (default) Table 28: Color correction switch off in YUV mode Color conversion (RGB YUV) The conversion from RGB to YUV is made using the following formulae: Y = 0.3 × R + 0.59 × G + 0.11 × B U = -0.169 × R – 0.33 × G + 0.
Description of the data path This means a setting of zero changes the image to black and white and a setting of 511 doubles the color intensity compared to the nominal one at 256. Note Configuration L To configure this feature in feature control register: See Table 77: Feature control register on page 169. Consider hue changes as a change in the angle of the vector, saturation a change in the length of the vector S, and all starting from the intensity coordinate (vector from black to white).
Description of the data path Serial interface All Oscar cameras are equipped with the SIO (serial input/output) feature as described in IIDC V1.31. This means that the Oscar's serial interface which is used for firmware upgrades can also be used as a general RS232 interface. Data written to a specific address in the IEEE 1394 address range will be sent through the serial interface. Incoming serial interface data is put into a camera buffer and can be polled from here via simple read commands.
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 Field Bit Description 008h RECEIVE_BUFFER_ STATUS_CONTRL RBUF_ST [0..7] SIO receive buffer status RD: Number of bytes pending in receive buffer WR: Ignored RBUF_CNT [8..15] SIO receive buffer control RD: Number of bytes to be read from the receive FIFO WR: Number of bytes left for readout from the receive FIFO --- [16..31] Reserved TBUF_ST [0..7] SIO output buffer status RD: Space left in TX buffer WR: Ignored TBUF_CNT [8..
Description of the data path To read data: 1. Query RDRD flag (buffer ready?) and write the number of bytes the host wants to read to RBUF_CNT. 2. Read the number of bytes pending in the receive buffer RBUF_ST (more data in the buffer than the host wanted to read?) and the number of bytes left for reading from the receive FIFO in RBUF_CNT (more data the host wanted to read than were in the buffer?). 3. Read received characters from SIO_DATA_REGISTER, beginning at char 0. 4.
Controlling image capture Controlling image capture Shutter modes The cameras support the SHUTTER_MODES specified in IIDC V1.3. For all models this shutter is a global (field) shutter; meaning that all pixels (in the same field) 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 Level mode (Trigger_Mode_1) Trigger_Mode_1 sets the shutter time in the progressive modes according to the active low time of the pulse applied (or active high time in the case of an inverting input). External Trigger input, as applied at input pin, trigger falling edge External Trigger input, after inverting opto coupler Shutter register value External Trigger input, as applied at input pin External Trigger input, after inv. Opto.
Controlling image capture Bulk trigger (Trigger_Mode_15) 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 of 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 Line #3 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 time base value. The following table explains the inquiry register and the meaning of the various bits.
Controlling image capture Name 0xF0F00834 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..5] Reserved ON_OFF [6] Write: ON or OFF this feature Read: read a status 0: OFF 1: ON If this bit = 0, other fields will be read only. --- [7..19] Reserved Value [20..
Controlling image capture The advanced register allows the start of the integration to be delayed by max. 221 µs, which is max. 2.1 s after a trigger edge was detected. Note • L • Switching trigger delay to ON also switches external Trigger_Mode_0 to ON. This feature works with external Trigger_Mode_0 only. OSCAR Technical Manual V2.4.
Controlling image capture Shutter modes Due to the frame readout (interlaced) modes of the sensors, two different shutter modes exist for the maximum resolution formats accessible via the mode register in Format_7. The conversion from interlaced to progressive takes place in the camera's internal memory. Split shutter The split shutter term results from the fact that two (Oscar F-810C: three) fields are exposed and read out of the sensor one after the other.
Controlling image capture Note • L • Combining split shutter with one-shot operation, it can also be seen from the above figure that the frame rate in one-shot mode is lower than that in continuous mode. This is a result of the additional delay of one or two (Oscar F-810C) fields before the progressive output of the camera can start. Using split shutter with a flash device connected to IntEna, you will notice that it flashes twice (or three) times per single image capture. OSCAR Technical Manual V2.4.
Controlling image capture Joint shutter Use Format_7 Mode_0 when a strobe light flashes moving objects. The exposure for the two (three: F-810C) fields starts concurrently so that the strobe freezes odd and even lines at the same time. Field one is read out first, field two (and three) are read out after field one. Make sure that the ambient light can be neglected, otherwise it will contribute to the illumination of the scene and introduce image oddities. The following diagram illustrates this mode.
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 time base + 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 85: Advanced register: Time base on page 184).
Controlling image capture Extended shutter The exposure time for long-term integration of up to 67 seconds can be extended via the advanced register: EXTENDED_SHUTTER Register Name Field Bit Description 0xF100020C EXTD_SHUTTER Presence_Inq [0] Indicates presence of this feature (read only) --- [1.. 5] Reserved ExpTime [6..31] Exposure time in µs Table 38: Advanced register: extended shutter The longest exposure time, 3FFFFFFh, corresponds to 67.11 sec.
Controlling image capture One-shot Oscar cameras can record an image by setting the one-shot bit in the 61Ch register. This bit is automatically cleared after the image is captured. If the camera is placed in ISO_Enable mode (see Chapter ISO_Enable / free-run on page 115), this flag is ignored. If one-shot mode is combined with the external trigger, the one-shot command is used to arm it. The following screenshot shows the sequence of commands needed to put the camera into this mode.
Controlling image capture Microcontroller sync is an internal signal. It is generated by the microcontroller to initiate a trigger. This can either be a direct trigger or a release for ExSync, if the camera is externally triggered. End of exposure to first packet on the bus After the exposure, the CCD sensor is read out; some data is written into the FRAME_BUFFER before being transmitted to the bus. The time from the end of exposure to the start of transport on the bus is: 500 µs ± 62.
Controlling image capture Multi-shot Setting multi-shot and entering a quantity of images in Count_Number in the 61Ch register enables the camera to record a specified number of images. The number is indicated in bits 16 to 31. If the camera is put into ISO_Enable mode (see Chapter ISO_Enable / free-run on page 115), this flag is ignored and deleted automatically once all the images have been recorded.
Controlling image capture The following screenshot shows an example of broadcast commands sent with the Firedemo example of FirePackage (version 1V51 or newer): Figure 53: Broadcast one-shot • • 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 In this case the camera can resynchronize the horizontal clock to the new trigger event, leaving only a very short uncertainty time of the master clock period. Model Camera idle Camera busy Oscar F-320C ± 3.35 µs ± 98 µs Oscar F-510C ± 6.00 µs ± 134 µs Oscar F-810C ± 7.85 µs ± 128 µs Table 40: Jitter at exposure start Note L • Jitter at the beginning of an exposure has no effect on the length of exposure, i.e. it is always constant.
Controlling image capture Image transfer is controlled from the host computer by addressing individual cameras and reading out the desired number of images. Functionality is controlled by the following register: Register Name Field Bit Description 0xF1000260 DEFERRED_TRANS Presence_Inq [0] Indicates presence of this feature (read only) --- [1..
Controlling image capture The following screenshot shows the sequence of commands needed to work with deferred mode. .................................Stop continuous mode of camera .................................Check pres. of deferred mode and FiFo size (Dh= 13 fr.) .................................Switch deferred mode on .................................Do first One_shot .................................Do second One_shot .................................Check that two images are in FiFo .............
Video formats, modes and bandwidth Video formats, modes and bandwidth The different Oscar models support different video formats, modes and frame rates. These formats and modes are standardized in the IIDC (formerly DCAM) specification. Resolutions in Format_0, Format_1 and Format_2, which are smaller than the generic sensor resolution, are generated symmetrically from the center of the sensor and without binning.
Video formats, modes and bandwidth Video formats: Oscar F-320C Format Mode 0 Resolution Color mode 60 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 30 15 fps [4] fps x 7.5 fps x x 3.75 fps 1.875 fps x Table 43: Video fixed formats Oscar F-320C (centered progressive preview mode) Format Mode Resolution Color mode Mono8 7 0 1 6.59 YUV411 6.59 YUV422 5.
Video formats, modes and bandwidth Format Mode Resolution Color mode Mono8 7 2 344 x 254 [2] Frame rate / fps Description 39.31 [4] YUV411 39.31 [4] YUV422 39.31 [4] RGB8 Raw8 39.51 [1] [4] progressive preview mode 39.31 [4] Raw16 [1] 39.31 [4] Y8red, Y8green, Y8blue [3] 39.31 [4] sub-sampling Table 44: Video Format_7 formats Oscar F-320C [1] [2] [3] [4] Camera outputs RAW image which needs to be converted outside of camera.
Video formats, modes and bandwidth Video formats: Oscar F-510C Format Mode 1 2 Resolution Color mode 60 fps 0 800 x 600 YUV422 1 800 x 600 RGB8 2 800 x 600 MONO8 3 30 15 fps [4] fps 7.5 fps 3.75 fps x[2] x[2] 1024 x 768 YUV422 x x 4 1024 x 768 RGB8 x x 5 1024 x 768 MONO8 6 800 x 600 MONO16 7 1024 x 768 MONO16 1.
Video formats, modes and bandwidth Format Mode Resolution Color mode Mono8 7 0 Frame rate / fps Description [2] 3.80 YUV411 3.80 YUV422 3.23 2588 x 1958 RGB8 Raw8 [1] Y8red, Y8green, Y8blue 7 1 3.23 [3] [2] 3.80 3.80 YUV422 3.23 2588 x 1958 RGB8 Y8red, Y8green, Y8blue 3.23 [3] [2] 7.59 7.58 YUV422 7.59 1288 x 978 RGB8 Y8red, Y8green, Y8blue 7.59 [3] [2] 7.59 7.59 YUV411 7.59 YUV422 6.50 2576 x 978 RGB8 progressive scan 4.33 Raw8 [1] v-sub-sampling 7.
Video formats, modes and bandwidth Format Mode Resolution Color mode Mono8 7 4 5 YUV422 3.25 2576 x 1958 RGB8 Raw8 [1] 3.87 Raw16 [1] 3.25 Y8red, Y8green, Y8blue [3] 3.87 [2] 3.79 3.80 YUV422 3.80 interlaced, 3.80 split shutter 3.79 2 x H-binning 1292 x 1958 RGB8 [1] Mono8 [1] [2] 3.80 3.79 6.98 YUV411 6.99 YUV422 6.47 interlaced, 4.31 split shutter 6.
Video formats, modes and bandwidth [1] [2] [3] [4] Camera outputs RAW image which needs to be converted outside of camera. Camera outputs interpolated B/W image using luma interpolation formula. Camera outputs interpolated B/W image using one of the R-G-B color planes. Only achievable with shutter settings that don't exceed 1/framerate. The different color modes in Format_7 modes are controlled via the COLOR_CODING_ID register in combination with COLOR_CODING_INQ register.
Video formats, modes and bandwidth Video formats: Oscar F-810C Format Mode 1 Resolution Color mode 60 fps 30 15 [4] fps fps 7.5 fps 3.75 fps 0 800 x 600 YUV422 1 800 x 600 RGB8 2 800 x 600 MONO8 3 1024 x 768 YUV422 x x 4 1024 x 768 RGB8 x x 5 1024 x 768 MONO8 x[2] x[2] 6 800 x 600 MONO16 7 1024 x 768 MONO16 1.875 fps Table 48: Fixed video formats Oscar F-810C (frame readout, centered) [1] [2] [3] [4] Camera outputs RAW image which needs to be converted outside of camera.
Video formats, modes and bandwidth Format Mode Resolution Color mode Mono8 7 2 [2] Frame rate / fps Description 8.86 YUV411 8.88 YUV422 8.88 1088 x 822 RGB8 progressive scan 8.88 Raw8 [1] 8.86 Raw16 [1] 8.88 sub-sampling Y8red, Y8green, Y8blue [3] 8.86 Table 49: Format_7 video formats Oscar F-810C [1] [2] [3] [4] Camera outputs RAW image which needs to be converted outside of camera. Camera outputs interpolated B/W image using luma interpolation formula.
Video formats, modes and bandwidth Area of interest (AOI) 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. Note The setting of AOIs is supported only in video Format_7.
Video formats, modes and bandwidth Figure 55: Area of Interest (AOI) Note • L • The left position + width and the upper position + height may not exceed the maximum resolution of the sensor. The increments may vary from model and mode. The coordinates for width and height must be divisible by a factor which is depending on the camera model. The following table lists the various increments in pixel (px) as a function of the camera model and mode.
Video formats, modes and bandwidth In addition to the Area of Interest, some other parameters have an effect on the maximum frame rate: • The time for reading the image from the sensor and transporting it into the FRAME_BUFFER • The time for transferring the image over the FireWire™ bus • The length of the exposure time. Read the next chapter for more details. Frame rates An IEEE 1394 camera requires bandwidth to transport images.
Video formats, modes and bandwidth Format Mode Resolution 60 fps 160 x 120 YUV (4:4:4) 0 24 bit/pixel 320 x 240 YUV (4:2:2) 1 16 bit/pixel 640 x 480 YUV (4:1:1) 2 12 bit/pixel 640 x 480 YUV (4:2:2) 3 16 bit/pixel 0 640 x 480 RGB 4 24 bit/pixel 640 x 480 (MONO8) 5 8 bit/pixel 4H 2560p 640q 640 x 480 Y (MONO16) 6 7 16 bit/pixel 30 fps 15 fps 7.5 fps 3.
Video formats, modes and bandwidth Format Mode 0 Resolution Color mode 60 fps 30 fps 15 fps 7.5 fps 3.
Video formats, modes and bandwidth Format Mode 0 Resolution Color Mode 60 fps 1280 x 960 YUV (4:2:2) 15 fps 7.5 fps 3.
Video formats, modes and bandwidth The frame rates in video modes 0 to 2 are specified and set fixed by IIDC V1.3. Frame rates Format_7 In video Format_7 frame rates are no longer fixed but can be varied dynamically by the parameters described below. Note L • • Different values apply for the different sensors. Frame rates may be further limited by longer shutter times and/or bandwidth limitation from the IEEE 1394 bus. Frame rates may be further limited by bandwidth limitation from the IEEE 1394 bus.
Video formats, modes and bandwidth Oscar F-320C: AOI frame rates Frame rates differ for the progressive scan mode and the field read out (or interlaced) mode. Oscar F-320C: progressive scan mode For progressive scan mode (i.e.
Video formats, modes and bandwidth Oscar F-320C: interlaced mode For interlaced mode, the following formula applies: 1 frame rate = ----------------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan 1 frame rate = -------------------------------------------------------------------------------------------------------------------------------------------------------580µs + ( 1542 – AOI_HEIGHT ) x 6.
Video formats, modes and bandwidth Oscar F-510C: AOI frame rates Frame rates differ for the progressive scan mode and the field read out mode (or interlaced mode). Oscar F-510C: progressive scan mode For progressive scan mode (i.e.
Video formats, modes and bandwidth Oscar F-510C: interlaced modes For all interlaced modes (i.e. Format_7 Mode_0 and Mode_1), the following formula applies: 1 frame rate = -------------------------------------------------------------------------------------------------------------------------------------------------------------------AOI_HEIGHT AOI_HEIGHT 2 × ⎛ 233µs + ⎛ 987 – ------------------------------⎞ × 4.
Video formats, modes and bandwidth Oscar F-810C: AOI frame rates Frame rates differ for the progressive scan mode and the field read out mode (interlaced mode). Oscar F-810C: progressive scan mode For progressive scan mode (i.e.
Video formats, modes and bandwidth Oscar F-810C: interlaced modes For all interlaced modes (i.e.
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, because of a limitation in an IEEE 1394 module (GP2Lynx), only a maximum number of 4095 packets per frame are allowed.
How does bandwidth affect the frame rate? Example formula for the Oscar F-810C camera RGB8, 3272 x 2496 pixel, 2 fps desired BYTE_PER_PACKET = 2 × 3272 × 2469 × 3 × 125µs = 6004 > 4096 4096 ⇒ framerate reachable ≈ ------------------------------------------------------------ = 1.35 3272 × 2469 × 3 × 125µs Formula 14: Example maximum frame rate calculation Test images Loading test images FirePackage Fire4Linux 1. Start SmartView. 1. Start cc1394 viewer. 2. Click the Edit settings button. 2.
How does bandwidth affect the frame rate? Oscar cameras have two test images. Figure 62: Test image 1 The second image is in colors: Figure 63: Test image 2 OSCAR Technical Manual V2.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 63: 32-bit register Example This requires, for example, that to enable ISO_Enabled mode (see Chapter ISO_Enable / free-run on page 115), (bit 0 in register 614h), the value 80000000 h must be written in the corresponding register. OSCAR Technical Manual V2.4.
Configuration of the camera Figure 64: Configuration of the camera OSCAR Technical Manual V2.4.
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 To compute the effective start address of the node unique ID leaf currAddr = node unique ID leaf address destAddr = address of directory entry addrOffset = value of directory entry destAddr = currAddr + (4 x addrOffset) = 420h + (4 x 000002h) = 428h Table 65: Computing effective start address 420h + 000002h x 4 = 428h Offset Node unique ID leaf 0-7 8-15 16-23 24-31 428h 00 02 CA 71 42Ch 00 0A 47 01 430h 00 00 Serial number Table 66: Configuration ROM T
Configuration of the camera Offset 0-7 8-15 16-23 24-31 444h 00 03 7F 89 ....unit_dep_info_length, CRC Unit dependent info 448h 40 3C 00 00 ....command_regs_base 44Ch 81 00 00 02 ....vender_name_leaf 450h 82 00 00 06 ....
Configuration of the camera 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 Description 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 Color mode 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 19Ch V_MODE_INQ Mode_0 [0] Format_7 Mode_0 (Format_7) 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..
Configuration of the camera Offset Name Field Bit Description 208h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_2) 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 (IIDC V1.31) FrameRate_7 [7] 240 fps (IIDC V1.31) --- [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_3) FrameRate_1 [1] 3.75 fps FrameRate_2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 214h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_5) 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 (IIDC V1.31) FrameRate_7 [7] 240 fps (IIDC V1.31) --- [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_0, Mode_6) FrameRate_1 [1] 3.75 fps FrameRate_2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 224h V_RATE_INQ FrameRate_0 [0] Reserved (Format_1, Mode_1) FrameRate_1 [1] Reserved 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 (IIDC V1.31) FrameRate_7 [7] 240 fps (IIDC V1.31) --- [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] Reserved (Format_1, Mode_2) FrameRate_1 [1] Reserved FrameRate_2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 230h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_1, 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 (IIDC V1.31) FrameRate_7 [7] 240 fps (IIDC V1.31) --- [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_1, Mode_5) FrameRate_1 [1] 3.75 fps FrameRate_2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 23Ch V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_1, 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] 120 fps (IIDC V1.31) FrameRate_7 [7] Reserved --- [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_0) FrameRate_1 [1] 3.75 fps FrameRate_2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 248h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_2) 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 (IIDC V1.31) FrameRate_7 [7] Reserved --- [8..31] Reserved (zero) V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_3) FrameRate_1 [1] 3.75 fps FrameRate_2 [2] 7.
Configuration of the camera Offset Name Field Bit Description 254h V_RATE_INQ FrameRate_0 [0] 1.875 fps (Format_2, Mode_5) 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_6) FrameRate_1 [1] 3.75 fps FrameRate_2 [2] 7.
Configuration of the camera Offset 2E0h 2E4h 2E8h 2ECh 2F0h 2F4h 2F8h 2FCh Name Field V-CSR_INQ_7_0 V-CSR_INQ_7_1 V-CSR_INQ_7_2 V-CSR_INQ_7_3 V-CSR_INQ_7_4 V-CSR_INQ_7_5 V-CSR_INQ_7_6 V-CSR_INQ_7_7 Bit Description [0..31] CSR_quadlet offset for Format_7 Mode_0 [0..31] CSR_quadlet offset for Format_7 Mode_1 [0..31] CSR_quadlet offset for Format_7 Mode_2 [0..31] CSR_quadlet offset for Format_7 Mode_3 [0..31] CSR_quadlet offset for Format_7 Mode_4 [0..
Configuration of the camera Inquiry register for basic function Offset Name 400h Field Bit Description 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 Description 410h .. Reserved Address error on access 47Fh 480h Advanced_Feature_Inq Advanced_Feature_Quadlet_Offset [0..31] Quadlet offset of the advanced feature CSRs from the base address of initial register space (vendor unique) This register is the offset for the Access_Control_Register and thus the base address for advanced Features. Access_Control_Register does not prevent access to advanced features.
Configuration of the camera Inquiry register for feature elements Register Name 0xF0F00500 BRIGHTNESS_INQUIRY Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) Abs_Control_Inq [1] Capability of control with absolute value --- [2] Reserved One_Push_Inq [3] One-push auto mode (controlled automatically by the camera once) Readout_Inq [4] Capability of reading out the value of this feature ON_OFF [5] Capability of switching this feature ON and OFF Aut
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 trigger 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 590 .. 5BCh 5C0h CAPTURE_SIZE_INQ Always 0 5C4h CAPTURE_QUALITY_INQ Always 0 Reserved for other FEATURE_LO_INQ Always 0 5C8h .. 5FCh 600h CUR-V-Frm_RATE/Revision Bit [0..2] for the frame rate 604h CUR-V-MODE Bit [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 one-push The one-push feature WHITE_BALANCE, is currently implemented. If this flag is set, the feature becomes immediately active, even if no images are being input (see Chapter One-push automatic white balance on page 61).
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 77: Feature control register OSCAR Technical Manual V2.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 810h HUE Field Bit Description See above Always 0 for Mono 814h SATURATION See above Always 0 for Mono 818h GAMMA See above 81Ch SHUTTER see Advanced Feature time base See Table 26: CSR: Shutter on page 70 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 Feature control error status register Offset Name Notes 640h Feature_Control_Error_Status_HI Always 0 644h Feature_Control_Error_Status_LO Always 0 Table 78: Feature control error register Video mode control and status registers for Format_7 Note Color_Coding_ID and Inq is important for the various (above standard) color modes of the OSCAR cameras and is explained in Chapter Video formats, modes and bandwidth on page 120.
Configuration of the camera Offset Name Notes 00Ch IMAGE_SIZE According to IIDC V1.3 010h COLOR_CODING_ID See note 014h COLOR_CODING_INQ According to IIDC V1.3 034h PIXEL_NUMER_INQ According to IIDC V1.3 038h TOTAL_BYTES_HI_INQ According to IIDC V1.3 03Ch TOTAL_BYTES_LO_INQ According to IIDC V1.3 040h PACKET_PARA_INQ See note 044h BYTE_PER_PACKET According to IIDC V1.
Configuration of the camera Advanced features (AVT-specific) The camera has a variety of extended features going beyond the possibilities described in IIDC V1.3. The following chapter summarizes all available advanced features in ascending register order. Note L This chapter is a reference guide for advanced registers and does not explain the advanced features itself.
Configuration of the camera Register Register name Description 0XF1000280 HDR_CONTROL MF131x only 0XF1000284 KNEEPOINT_1 MF131x only 0XF1000288 KNEEPOINT_2 MF131x only 0XF100028C KNEEPOINT_3 MF131x only 0XF1000290 DSNU_CONTROL MF131B only; Firmware 2.02 0XF1000294 BLEMISH_CONTROL MF131x only; Firmware 2.
Configuration of the camera Note Always activate advanced features before accessing them. L Note • L • Currently all registers can be written without being activated. This makes it easier to operate the camera using Directcontrol. AVT reserves the right to require activation in future versions of the software. Version information register The presence of each of the following features can be queried by the 0 bit of the corresponding register.
Configuration of the camera ID (decimal) Camera type 6 F145c-1 7 F201b-1 8 F201c-1 9 MF033B 10 MF033C 11 MF046B 12 MF046C 13 MF080B 14 MF080C 15 MF145B2 16 MF145C2 17 MF131B 18 MF131C 19 MF145B2-15fps 20 MF145C2-15fps 21 M2F033B 22 M2F033C 23 M2F046B 24 M2F046C 25 M2F080B 26 M2F080C 27 M2F145B2 28 M2F145C2 31 M2F145B2-15fps 32 M2F145C2-15fps 38 OF320C 40 OF510C 42 OF810C 43 M2F080B-30fps 44 M2F080C-30fps 45 M2F145B2-ASM 46 MM2F145C2-ASM Table 8
Configuration of the camera ID (decimal) Camera type 47 M2F201B 48 M2F201C 49 M2F146B 50 M2F146C 101 PIKE F-032B 102 PIKE F-032C 103 PIKE F-100B 104 PIKE F-100C 105 PIKE F-145B 106 PIKE F-145C 107 PIKE F-210B 108 PIKE F-210C 109 - 110 - 111 PIKE F-421B 112 PIKE F-421C 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 - 210 - 211 - 212 - 213 GUPPY F-033B BL (boar
Configuration of the camera ID (decimal) Camera type 218 GUPPY F-029C 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 225 GUPPY F-080B BL (board level) 226 GUPPY F-080C BL (board level) 227 GUPPY F-044B 228 GUPPY F-044C 401 STINGRAY F-033B (BL) 402 STINGRAY F-033C (BL) 403 --- 404 --- 405 STINGRAY F-046B (BL) 406 STINGRAY F-046C (BL) 407 STINGRAY F-080B (BL) 408 STINGRAY F-080C (BL) 413 STINGRAY F-1
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 L Ignore unnamed bits in the following table: these bits might be set or not. OSCAR Technical Manual V2.4.
Configuration of the camera Register Name Field Bit Description 0xF1000040 ADV_INQ_1 MaxResolution [0] TimeBase [1] ExtdShutter [2] TestImage [3] FrameInfo [4] Sequences [5] VersionInfo [6] --- [7] Look-up tables [8] Shading [9] DeferredTrans [10] HDR mode [11] Marlin F-131B/C only DSNU [12] Marlin F-131B only Blemish correction [13] Marlin F-131B only Reserved TriggerDelay [14] Misc.
Configuration of the camera Register Name Field Bit Description 0xF1000044 ADV_INQ_2 Input_1 [0] Input_2 [1] --- [2] Reserved --- [3..7] Reserved Output_1 [8] Output_2 [9] --- [10] Reserved --- [11..15] Reserved IntEnaDelay [16] --- [17] Reserved --- [18..31] Reserved 0xF1000048 ADV_INQ_3 --- [0..31] Reserved 0xF100004C ADV_INQ_4 --- [0..
Configuration of the camera Time base Corresponding to IIDC, exposure time is set via a 12-bit value in the corresponding register (SHUTTER_INQ [51Ch] and SHUTTER [81Ch]). This means that you can enter a value in the range of 1 to 4095. Oscar cameras use a time base which is multiplied by the shutter register value. This multiplier is configured as the time base via the TIMEBASE register.
Configuration of the camera ID Time base in µs 8 500 9 1000 Description Table 86: Time base ID Note L The ABSOLUTE VALUE CSR register, introduced in IIDC V1.3, is not implemented. Extended shutter The exposure time for long-term integration of up to 67 seconds can be entered with µs precision via the EXTENDED_SHUTTER register. Register Name Field Bit Description 0xF100020C EXTD_SHUTTER Presence_Inq [0] Indicates presence of this feature (read only) --- [1.. 5] Reserved ExpTime [6..
Configuration of the camera Test images Bit [8] to [14] indicate which test images are saved. Setting bit [28] to [31] activates or deactivates existing test images. 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 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 Shading correction Owing to technical circumstances, the interaction of recorded objects with one another, optical effects and lighting non-homogeneities may occur in the images. Because these effects are normally not desired, they should be eliminated as far as possible in subsequent image processing. The camera has automatic shading correction to do this. Provided that a shading image is present in the camera, the on/off bit can be used to enable shading correction.
Configuration of the camera Register Name Field Bit Description 0xF1000258 SHDG_INFO Presence_Inq [0] Indicates presence of this feature (read only) --- [1..7] Reserved MaxImageSize [8..31] Maximum shading image size (in bytes) Table 90: Advanced register: Shading OSCAR Technical Manual V2.4.
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 Delayed Integration Enable (IntEna) A delay time between initiating exposure on the sensor and the activation edge of the IntEna signal can be set using this register. The on/off flag activates/deactivates integration delay. The time can be set in µs in DelayTime. Note • • L Only one edge is delayed. If IntEna_Out is used to control an exposure, it is possible to have a variation in brightness or to precisely time a flash.
Configuration of the camera Auto shutter control The table below illustrates the advanced register for auto shutter control. The purpose of this register is to limit the range within which auto shutter operates. Register Name Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [1..31] Reserved 0xF1000364 AUTOSHUTTER_LO Min Value [0..31] Minimum value 0xF1000368 AUTOSHUTTER_HI Max Value [0..
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 Due to the fact that the active image size might not be divisible by 128 without a remainder, the auto function AOI work area size might be greater. This allows for the positioning of the work area to be at the bottom of the active image. E.g. if the active image size is 640 x 480 pixel the camera accepts a maximum of 640 x 512 pixel as the auto function AOI work area (if the control area position is 0:0).
Configuration of the camera Color correction To switch off color correction in YUV mode: see bit [6] Register Name 0xF10003A0 COLOR_CORR Field Bit Description ON_OFF [6] Color correction on/off default: on Write: 02000000h to switch color correction OFF Write: 00000000h to switch color correction ON Table 97: Advanced register: Color correction Trigger delay Register Name 0xF1000400 TRIGGER_DELAY Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [
Configuration of the camera Mirror image The table below illustrates the advanced register for Mirror image. Register Name 0xF1000410 MIRROR_IMAGE Field Bit Description Presence_Inq [0] Indicates presence of this feature (read only) --- [1..5] Reserved ON_OFF [6] Mirror image on/off 1: on 0: off Default: off --- [7..
Configuration of the camera High SNR mode (High Signal Noise Ratio) With High SNR mode enabled the camera internally grabs GrabCount images and outputs a single averaged image. Register Name Field Bit Description 0xF1000520 HIGH_SNR Presence_Inq [0] Indicates presence of this feature (read only) --- [1..5] Reserved ON_OFF [6] High SNR mode on/off --- [7..22] Reserved GrabCount [23..
Configuration of the camera User profiles Definition Within the IIDC specification user profiles are called memory channels. Often they are called user sets. In fact these are different expressions for the following: storing camera settings into a non-volatile memory inside the camera. From firmware 3.04 onwards, Oscar cameras can store up to three user profiles (plus the factory default) in the camera in a non-volatile memory.
Configuration of the camera Store Restore Set default Factory default To store the current camera settings into a profile: 1. Write the desired ProfileID with the SaveProfile flag set. 2. Read back the register and check the ErrorCode field To restore the settings from a previous stored profile: 1. Write the desired ProfileID with the RestoreProfile flag set. 2. Read back the register and check the ErrorCode field. To set the default profile to be loaded on startup, reset or initialization: 1.
Configuration of the camera Advanced registers TIMEBASE EXTD_SHUTTER IO_INP_CTRL IO_OUTP_CTRL IO_INTENA_DELAY AUTOSHUTTER_LO AUTOSHUTTER_HI AUTOGAIN_CTRL AUTOFNC_AOI COLOR_CORR TRIGGER_DELAY MIRROR_IMAGE HIGH_SNR LUT_CTRL LUT_DATA Table 104: User profile: stored settings The user can specify which one will be loaded upon startup of the camera. This frees the user software from having to restore camera settings, that differ from default, after every startup.
Configuration of the camera GPDATA_BUFFER GPDATA_BUFFER is a general purpose register that regulates the exchange of data between camera and host for: • writing look-up tables (LUTs) into the camera • uploading/downloading of the shading image GPDATA_INFO GPDATA_BUFFER Register Buffer size query indicates the actual storage range Name 0xF1000FFC GPDATA_INFO Field Bit Description --- [0..15] Reserved BufferSize [16..
Firmware update Firmware update Firmware updates can be carried out without opening the camera. You need: • Programming cable E 1000666 • Software AVTCamProg • PC or laptop with serial interface (RS 232) • Documentation for firmware update Please contact your local dealer for further information. Note L Note Only Oscar F-810C: cameras with a serial number SN 50675733 (or higher) or with production date 26 April 2005 (or later) can be updated with microcontroller firmware 3.04/ FPGA firmware 1.06.
Appendix Appendix Sensor position accuracy of AVT cameras D camera body pixel area pixel area y camera body sensor case sensor case x AVT Guppy Series Method of Positioning: Automated mechanical alignment of sensor into camera front module. (lens mount front flange) Reference points: Sensor: Center of pixel area (photo sensitive cells). Camera: Center of camera front flange (outer case edges). Accuracy: x/y: z: D: +/- 0.
Index Index Numbers 0xF0F00830 (bulk trigger) ........................103 0xF1000010 (version info) .......................177 0xF1000040 (advanced feature inquiry)......182 0xF1000200 (max. resolution) ..................183 0xF1000208 (time base) ..........................184 0xF100020C (extended shutter)..........112, 185 0xF1000210 (test image) .........................186 0xF1000240 (LUT)...................................187 0xF1000250 (shading) .............................
Index AUTOFNC_AOI positioning ......................... 63 Autofunction AOI (advanced register) .193, 195 AUTOGAIN_CTRL......................................192 automatic generation correction data .................................. 75 Automatic White Balance (AWB)................. 63 AUTO_EXPOSURE ...................................... 66 Auto_Inq ................................................ 42 AVT sensor position accuracy ....................203 AVTCamProg ...........................................
Index correlated double sampler ......................... 59 CSR .......................................................145 CSR register Auto Exposure.................................... 66 Brightness......................................... 68 GAIN ................................................ 65 D data block packet format........................... 49 description ........................................ 49 data exchange buffer LUT .................................................. 73 data packets ...
Index video mode 0....................................135 video mode 2....................................135 Frame valid ............................................. 44 FrameCounter .........................................190 free-run.................................................115 Full binning ............................................ 87 Fval ....................................................... 44 Fval signal .............................................. 44 G Gain Pixel Gain Amplifier .....
Index BAYER demosaicing ............................ 91 Bayer demosaicing.............................. 91 Bayer to RGB ..................................... 90 color ........................................... 90, 91 IO_INP_CTRL1 ......................................... 40 IO_INP_CTRL2 ......................................... 40 IO_OUTP_CTRL1 ....................................... 46 IO_OUTP_CTRL2 ....................................... 46 isochronous blocks ...................................
Index inquiry register video format ...............151 inquiry register video mode.................152 saturation ......................................... 93 setting brightness .............................. 67 setting gain....................................... 64 OHCI API FirePackage ....................................... 16 One-Shot values..............................................113 oneshot using Trigger_Mode_15 ......................104 one-shot................................................
Index serial interface RS 232.............................................202 shaded image .......................................... 78 shading correction data .................................. 74 shading correction .............................74, 188 shading image......................................... 74 automatic generation.......................... 75 delay ................................................ 76 Format_7 .......................................... 76 generate ..........................
Index edge................................................. 43 external ......................................37, 100 hardware.....................................43, 106 impulse............................................113 internal ....................................100, 102 latency time .....................................116 microcontroller .................................114 one-shot ..........................................113 signal ............................................... 39 software...
Index register............................................. 60 register 80Ch ..................................... 60 six frames ......................................... 61 trigger .............................................. 62 WHITE_BALANCE ............................ 60, 61, 62 www.alliedvisiontec.com ...................... 16, 17 OSCAR Technical Manual V2.4.