Basler A102f User Manual

Summary of A102f

  • Page 1

    User’s manual document number: da00063006 release date: 7 december 2010

  • Page 2

    For customers in the u.S.A. This equipment has been tested and found to comply with the limits for a class a 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 commercial en...

  • Page 3

    Contacting basler support worldwide europe: basler ag ander strusbek 60 - 62 22926 ahrensburg germany tel.: +49-4102-463-515 fax.: +49-4102-463-599 bc.Support.Europe@baslerweb.Com americas: basler, inc. 855 springdale drive, suite 203 exton, pa 19341 u.S.A. Tel.: +1-610-280-0171 fax.: +1-610-280-760...

  • Page 5: Draft

    Contents basler a102 f i draft table of contents 1 introduction 1.1 documentation applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.2 performance specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1...

  • Page 6: Draft

    Contents ii basler a102 f draft 3.6 area of interest (aoi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19 3.6.1 changing aoi parameters “on-the-fly” . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20 3.6.2 changes to the frame rate with aoi ....

  • Page 7: Draft

    Contents basler a102 f iii draft 4.4.2.5 control and status registers for format 7, mode 1 . . . . . . . . . . . 4-34 4.4.2.6 control and status registers for the pio control function . . . . . . 4-41 4.4.2.7 control and status registers for the strobe signal function . . . . 4-42 4.4.3 advanced fea...

  • Page 8: Draft

    Contents iv basler a102 f draft 6.7.9 lossless compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-28 6.7.10 trigger flag and trigger counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-29 6.7.11 output port configuration . . . . . . . . ...

  • Page 9: Draft

    Introduction basler a102 f 1-1 draft 1 introduction 1.1 documentation applicability this user’s manual applies to a102 f monochrome cameras with a firmware id number of 31 or a102 fc color cameras with a firmware id number of 34. Cameras with a lower or a higher firmware id number may have fewer fea...

  • Page 10: Draft

    Introduction 1-2 basler a102 f draft 1.2 performance specifications specification a102f a102fc sensor type sony icx-285 progressive scan ccd sensor pixels 1392 (h) × 1040 (v) 1388 (h) x 1038 (v) pixel size 6.45 µm (h) × 6.45 µm (v) mono / color mono color anti-blooming yes max. Frame rate (at full r...

  • Page 11: Draft

    Introduction basler a102 f 1-3 draft 1.3 camera models the camera is available in a monochrome model (the a102 f ) and a color model (the a102 fc) . Throughout the manual, the camera will be called the a102 f. Passages that are only valid for a specific model will be so indicated. 1.4 spectral respo...

  • Page 12: Draft

    Introduction 1-4 basler a102 f draft the spectral response for a102 fc color cameras is shown in figure 1-3. Figure 1-3: a102 f spectral response - color cameras l the spectral response curves exclude lens characteristics and light source characteristics. To get the best performance from a102 fc col...

  • Page 13: Draft

    Introduction basler a102 f 1-5 draft 1.5 environmental requirements 1.5.1 temperature and humidity housing temperature during operation: 0° c ... + 50° c (+ 32° f ... + 122° f) humidity during operation: 20% ... 80%, relative, non-condensing 1.5.2 ventilation allow sufficient air circulation around ...

  • Page 14: Draft

    Introduction 1-6 basler a102 f draft 1.7 obtaining an rma number whenever you want to return material to basler, you must request a return material authorization (rma) number before sending it back. The rma number must be stated in your delivery documents when you ship your material to us! Please be...

  • Page 15: Draft

    Camera interface basler a102 f 2-1 draft 2 camera interface 2.1 connections 2.1.1 general description the a102 f is interfaced to external circuitry via an ieee 1394 socket and a 10 pin rj-45 jack located on the back of the housing. Figure 2-1 shows the location of the two connectors. Figure 2-1: ca...

  • Page 16: Draft

    Camera interface 2-2 basler a102 f draft 2.1.2 pin assignments the ieee 1394 socket is used to supply power to the camera and to interface video data and control signals. The pin assignments for the socket are shown in table 2-1. The rj-45 jack is used to access the four physical input ports and fou...

  • Page 17: Draft

    Camera interface basler a102 f 2-3 draft figure 2-2: a102 f pin numbering 2.1.3 connector types the 6-pin connector on the camera is a standard ieee-1394 socket. The 10-pin connector on the camera is an rj-45 jack. L the camera housing is connected to the cable shields and coupled to signal ground t...

  • Page 18: Draft

    Camera interface 2-4 basler a102 f draft 2.2 cables the maximum length of the ieee 1394 cable used between the camera and the adapter in your pc or between the camera and a 1394 hub is 4.5 meters as specified in the ieee 1394 standard. Standard, shielded ieee 1394 cables must be used. The maximum le...

  • Page 19: Draft

    Camera interface basler a102 f 2-5 draft 2.5 input and output ports 2.5.1 input ports a102 f cameras are equipped with four physical input ports designated as input port 0, input port 1, input port 2, and input port 3. The input ports are accessed via the 10 pin rj-45 jack on the back of the camera....

  • Page 20: Draft

    Camera interface 2-6 basler a102 f draft figure 2-3: i/o schematic 390 Ω 5.1k gnd hcpcl063l 3.3 v 390 Ω 5.1k hcpcl063l 3.3 v 390 Ω 5.1k 3.3 v gnd hcpcl063l 3.3 v 390 Ω 5.1k hcpcl063l 3.3 v in_0 + in_1 + in_2 + in_3 + in_gnd_com gnd 560 Ω 560 Ω gnd 560 Ω 560 Ω gnd 560 Ω 560 Ω gnd 560 Ω 560 Ω out_vcc_...

  • Page 21: Draft

    Camera interface basler a102 f 2-7 draft 2.5.3 typical input circuits figure 2-4 shows a typical 5 vdc circuit you can use to input a signal into the camera. In figure 2-4, the signal is applied to input port 1. Figure 2-4: typical 5 vdc input circuit figure 2-5 shows a typical 24 vdc circuit you ca...

  • Page 22: Draft

    Camera interface 2-8 basler a102 f draft 2.5.4 typical output circuits figure 2-6 shows a typical circuit you can use to monitor an output port with a voltage signal. The circuit in figure 2-6 is monitoring camera output port 1. Figure 2-6: typical voltage output circuit figure 2-7 shows a typical c...

  • Page 23: Draft

    Basic operation & standard features basler a102 f 3-1 draft 3 basic operation and standard features 3.1 functional description 3.1.1 overview a102 f area scan cameras employ a ccd sensor chip which provides features such as a full frame shutter and electronic exposure time control. Normally, exposur...

  • Page 24: Draft

    Basic operation & standard features 3-2 basler a102 f draft the image buffer between the sensor and the link layer controller allows data to be read out of the sensor at a rate that is independent of the data transmission rate between the camera and the host computer. This ensures that the data tran...

  • Page 25: Draft

    Basic operation & standard features basler a102 f 3-3 draft figure 3-2: block diagram.

  • Page 26: Draft

    Basic operation & standard features 3-4 basler a102 f draft 3.2 exposure control 3.2.1 setting the exposure time exposure time is determined by a combination of two values. The first is the setting in the value field of the shutter control register (see page 4-22 ). The second is the shutter time ba...

  • Page 27: Draft

    Basic operation & standard features basler a102 f 3-5 draft 3.2.3 controlling exposure start with “shot” commands via the 1394 interface exposure start can be controlled by sending “shot” commands directly to the camera via the 1394 bus. In this case, a software trigger or an external trigger (extri...

  • Page 28: Draft

    Basic operation & standard features 3-6 basler a102 f draft 3.2.4 controlling exposure start with a software trigger exposure start can be controlled by sending a software trigger command to the camera via the 1394 bus. The trigger mode control register (see page 4-24 ) is used to enable the ability...

  • Page 29: Draft

    Basic operation & standard features basler a102 f 3-7 draft software trigger / continuous-shot operation in software trigger/continuous-shot operation, a “continuous shot command” is used to prepare the camera to capture multiple images. With this method of operation, exposure will begin when the tr...

  • Page 30: Draft

    Basic operation & standard features 3-8 basler a102 f draft 3.2.5 controlling exposure start with an extrig signal an external trigger (extrig) input signal can be used to control the start of exposure. A rising edge or a falling edge of the signal can be used to trigger exposure start. The trigger ...

  • Page 31: Draft

    Basic operation & standard features basler a102 f 3-9 draft level controlled exposure mode when level controlled mode is selected, the length of the exposure will be determined by the extrig signal alone. If the camera is set for rising edge triggering, exposure begins when the extrig signal rises a...

  • Page 32: Draft

    Basic operation & standard features 3-10 basler a102 f draft the extrig signal must be used in combination with a one-shot or a continuous-shot command. If more precise control of exposure start time is desired, you must also monitor the trigger ready signal and you must base the timing of the extri...

  • Page 33: Draft

    Basic operation & standard features basler a102 f 3-11 draft l these explanations of exposure start are included to give the user a basic insight into the interactions of the camera’s registers. Typically, ieee 1394 cameras are used with a driver which includes an interface that allows the user to p...

  • Page 34: Draft

    Basic operation & standard features 3-12 basler a102 f draft 3.2.6 recommended method for controlling exposure start if a camera user requires close control of exposure start, there are several general guidelines that must be followed: • the camera should be placed in continuous shot mode. • the use...

  • Page 35: Draft

    Basic operation & standard features basler a102 f 3-13 draft figure 3-6: exposure start controlled with an extrig signal you can calculate the frame readout time with this formula: frame readout time = ( aoi height x 51.2281 µs ) + 9941.0 µs you can calculate the frame transmission time with this fo...

  • Page 36: Draft

    Basic operation & standard features 3-14 basler a102 f draft 3.3 trigger ready signal the maximum frame rate for the camera can be limited by any one of three factors: • the amount of time it takes to read out a captured image from the ccd sensor to the frame buffer. • the amount of time it takes to...

  • Page 37: Draft

    Basic operation & standard features basler a102 f 3-15 draft 3.4 integrate enabled signal the integrate enabled (inten) signal goes high when exposure begins and goes low when exposure ends. This signal can be used as a flash trigger and is also useful when you are operating a system where either th...

  • Page 38: Draft

    Basic operation & standard features 3-16 basler a102 f draft 3.5 gain and brightness the major components in the a102 f electronics include: a ccd sensor, one vgc (variable gain control), and one adc (analog to digital converter). The pixels in the ccd sensor output voltage signals when they are exp...

  • Page 39: Draft

    Basic operation & standard features basler a102 f 3-17 draft 3.5.1 setting gain when the gain is set to default, the sensor’s linear output range directly matches the input voltage range of the adc. Thus, with the default gain of 0 db, a gray value of 1 is produced when the pixels are exposed to no ...

  • Page 40: Draft

    Basic operation & standard features 3-18 basler a102 f draft the gain settings result in the following amplifications: 3.5.2 setting brightness the camera’s brightness is determined by the setting in the value field of the brightness control register (see page 4-20 ). The brightness setting can be p...

  • Page 41: Draft

    Basic operation & standard features basler a102 f 3-19 draft 3.6 area of interest (aoi) the area of interest (aoi) feature allows you to specify a portion of the ccd array and during operation, only the pixel information from the specified portion of the array is transmitted out of the camera. The a...

  • Page 42: Draft

    Basic operation & standard features 3-20 basler a102 f draft to use the entire ccd array in the a102 fc color cameras, set the value for left to 0, the value for top to 0, the value for width to 1388 and the value for height to 1038. 3.6.1 changing aoi parameters “on-the-fly” making aoi parameter ch...

  • Page 43: Draft

    Basic operation & standard features basler a102 f 3-21 draft 3.6.2 changes to the frame rate with aoi in general, the maximum frame rate for the camera increases as the size of the aoi decreases. However, the maximum frame rate can also be limited by any one of three factors: • the amount of time it...

  • Page 44: Draft

    Basic operation & standard features 3-22 basler a102 f draft example assume that your camera is set for format 7, mode 0, that your aoi is set for 100 columns wide and 110 rows high and that your exposure time is set for 12000 µs. Also assume that after making all camera settings, you check the pack...

  • Page 45: Draft

    Basic operation & standard features basler a102 f 3-23 draft 3.7 low smear in applications where a ccd sensor is under constant illumination, high- contrast images may show an unwanted effect that converts dark pixels into brighter ones. This effect is commonly called “smearing“. With the help of th...

  • Page 46: Draft

    Basic operation & standard features 3-24 basler a102 f draft for example, with a 1392 (h) x 600 (v) area of interest, the calculation looks like this: frames/s ≤ ( 600 x 51.2281 µs ) + 16879.0 µs frames/s ≤ 21.0 if the camera’s actual frame rate is higher than the maximum recommended frame rate, the...

  • Page 47: Draft

    Basic operation & standard features basler a102 f 3-25 draft 3.8 color creation in the a102fc the ccd sensor used in the a102 fc is equipped with an additive color separation filter known as a bayer filter. With the bayer filter, each individual pixel is covered by a micro-lens which allows light of...

  • Page 48: Draft

    Basic operation & standard features 3-26 basler a102 f draft once the conversion to yuv is complete, pixels are transmitted from the camera in the yuv (4:2:2) format as defined in sections 5.3 and 5.4 . 3.8.1 white balance white balance capability has been implemented on the a102 fc . With white bal...

  • Page 49: Draft

    Basic operation & standard features basler a102 f 3-27 draft 3.8.2 color filter id the color filter id register for format 7 (see page 4-32 ) has been implemented on a102 f cameras. This color filter id register can be used to determine the alignment of the camera’s color filter to the current area ...

  • Page 50: Draft

    Basic operation & standard features 3-28 basler a102 f draft 3.8.3 integrated ir cut filter on c-mount equipped cameras a102 fc color cameras are equipped with an ir cut filter as standard equipment. The filter is mounted in the lens adapter. Cameras without an ir cut filter are available on request...

  • Page 51: Draft

    Basic operation & standard features basler a102 f 3-29 draft 3.9 selectable 8 or 12 bit pixel depth when an a102 f camera is operating in format 7, it can be set to output pixel data at either 8 bit or 12 bit depth. 3.9.1 a102f monochrome cameras set the value in the format field of the current vide...

  • Page 52: Draft

    Basic operation & standard features 3-30 basler a102 f draft 3.10 strobe control output signals a102 f cameras include a feature designed to help you control strobe lighting. The feature allows a user to enable and parameterize up to four strobe control output signals. The signals are designated as ...

  • Page 53: Draft

    Basic operation & standard features basler a102 f 3-31 draft setting the duration for strobe 0 the strobe duration is determined by a combination of two values. The first is the setting in the duration value field of the strobe 0 control register (see page 4-22 ). The second is the strobe duration t...

  • Page 54: Draft

    Basic operation & standard features 3-32 basler a102 f draft 3.11 parallel input/output control a parallel i/o control feature is available on a102 f cameras. The feature allows a user to set the state of the four physical output ports on the camera and to read the state of the four physical input p...

  • Page 55: Draft

    Basic operation & standard features basler a102 f 3-33 draft 3.12 available video formats, modes and frame rates on monochrome cameras 3.12.1 standard formats, modes and frame rates the following standard video formats, modes and frame rates are available on all a102 f monochrome cameras: format 2, ...

  • Page 56: Draft

    Basic operation & standard features 3-34 basler a102 f draft keep in mind that when you lower the bytes per packet setting, the number of bytes needed to transmit a frame (the packets per frame) will increase. Due to limitations in the dcam structure, a maximum of 4095 packets per frame is allowed. ...

  • Page 57: Draft

    Basic operation & standard features basler a102 f 3-35 draft 3.13 available video formats, modes and frame rates on color cameras 3.13.1 standard formats, modes and frame rates the following standard video formats, modes and frame rates are available on a102 fc color cameras: format 2, mode 0, frame...

  • Page 58: Draft

    Basic operation & standard features 3-36 basler a102 f draft color codlings in format 7, mode 0, the mono 8, raw 8, raw 16, and yuv 4:2:2 color codlings are available. When the mono 8 id is set in the coding id field of the color coding id register for format 7, mode 0, the camera outputs 8 bits per...

  • Page 59: Draft

    Basic operation & standard features basler a102 f 3-37 draft 3.14 error flags a102 f cameras support the following error flags: • error flags that indicate whether the current trigger, shutter, gain, brightness, and white bal- ance settings are outside the specified range of allowed values. These er...

  • Page 60: Draft

    Basic operation & standard features 3-38 basler a102 f draft 3.15 configuration sets and memory channels a configuration set is a group of values that contains all of the register settings needed to control the camera. There are two basic types of configuration sets: the work configuration set and t...

  • Page 61: Draft

    Basic operation & standard features basler a102 f 3-39 draft 3.15.2 copying a saved configuration set or the factory set into the work set if you have saved one or more configuration sets to memory channels in the camera as described in section 3.15.1 , you can copy one of the saved sets from a memo...

  • Page 62: Draft

    Basic operation & standard features 3-40 basler a102 f draft.

  • Page 63: Draft

    Configuring the camera basler a102 f 4-1 draft 4 configuring the camera a102 f cameras are configured by setting status and control registers as described in the “1394- based digital camera specification” issued by the 1394 trade association. The specification is commonly referred to as the “dcam st...

  • Page 64: Draft

    Configuring the camera 4-2 basler a102 f draft 4.1 block read and write capabilities the camera supports block reads and block writes. If you do a single read or a block read, the camera will return a 0 for all non-existent registers. If you do a single write to a non-existent register or a block wr...

  • Page 65: Draft

    Configuring the camera basler a102 f 4-3 draft 4.4 implemented standard registers this section includes a description of all dcam standard registers implemented in the a102 f . 4.4.1 inquiry registers the base address for all inquiry registers is: bus id, node id, ffff f0f0 0000 in each inquiry regi...

  • Page 66: Draft

    Configuring the camera 4-4 basler a102 f draft 4.4.1.3 inquiry registers for video modes each bit in the video mode inquiry register indicates the availability of a specific video format and mode combination (e.G., format 0, mode 0). 0 = not available 1 = available register name: video mode inquiry ...

  • Page 67: Draft

    Configuring the camera basler a102 f 4-5 draft 4.4.1.4 inquiry registers for video frame rates each bit in the video frame rates inquiry register indicates the availability of a specific video format, mode, frame rate combination (e.G., format 0, mode 0, frame rate 0). 0 = format not available 1 = f...

  • Page 68: Draft

    Configuring the camera 4-6 basler a102 f draft 4.4.1.5 inquiry registers for format 7 csr offsets register name: video frame rate inquiry for format 2, mode 6 offset from base address: 0x258 field bit description a102f value a102fc value frame rate 0 0 1.875 fps standard frame rate 0 0 frame rate 1 ...

  • Page 69: Draft

    Configuring the camera basler a102 f 4-7 draft 4.4.1.6 inquiry register for basic functions each bit in the basic function inquiry register indicates the availability of a specific basic function. 0 = function not available 1 = function available (the memory channel bits are an exception. Refer to t...

  • Page 70: Draft

    Configuring the camera 4-8 basler a102 f draft 4.4.1.7 inquiry register for feature presence each bit in the feature presence inquiry registers indicates the availability of a camera feature or optional function. Note that changing the video format or video mode may change the availability of a feat...

  • Page 71: Draft

    Configuring the camera basler a102 f 4-9 draft register name: feature low inquiry offset from base address: 0x408 field bit description a102f value a102fc value zoom 0 zoom control availability 0 0 pan 1 pan control availability 0 0 tilt 2 tilt control availability 0 0 optical filter 3 optical filte...

  • Page 72: Draft

    Configuring the camera 4-10 basler a102 f draft register name: pio control csr inquiry offset from base address: 0x484 field bit description pio control quadlet offset 0 ... 31 indicates the quadlet offset from the base address of the initial register space for the pio control and status registers (...

  • Page 73: Draft

    Configuring the camera basler a102 f 4-11 draft 4.4.1.8 inquiry registers for feature elements the feature element inquiry registers indicates the availability of elements, modes, maximum and minimum values for features. Note that changing the video format or video mode may change the availability o...

  • Page 74: Draft

    Configuring the camera 4-12 basler a102 f draft register name: shutter inquiry offset from base address: 0x51c field bit description a102f value a102fc value presence inq 0 shutter control feature is present 1 1 abs control inq 1 shutter can be set with an absolute value 0 0 --- 2 reserved --- --- o...

  • Page 75: Draft

    Configuring the camera basler a102 f 4-13 draft register name: gain inquiry offset from base address: 0x520 field bit description a102f value a102fc value presence inq 0 gain control feature is present 1 1 abs control inq 1 gain can be set with an absolute value 0 0 --- 2 reserved --- --- one push i...

  • Page 76: Draft

    Configuring the camera 4-14 basler a102 f draft register name: trigger inquiry offset from base address: 0x530 field bit description a102f value a102fc value presence inq 0 trigger control feature is present 1 1 abs control inq 1 trigger can be set with an absolute value 0 0 --- 2 ... 3 reserved ---...

  • Page 77: Draft

    Configuring the camera basler a102 f 4-15 draft 4.4.2 control and status registers the base address for all camera control and status registers is: bus id, node id, ffff f0f0 0000 in each control and status register description, an “offset from the base address” is provided. This a byte offset from ...

  • Page 78: Draft

    Configuring the camera 4-16 basler a102 f draft register name: current video format offset from base address: 0x608 field bit description format 0 ... 2 this field sets the current video format. 0 = format 0 6 = format 6 1 = format 1 7 = format 7 2 = format 2 default = 7 on the a102f and a102fc chec...

  • Page 79: Draft

    Configuring the camera basler a102 f 4-17 draft register name: iso en / continuous shot offset from base address: 0x614 field bit description continuous shot 0 when the camera is set for video format 2 or format 7, this field con- trols the “continuous shot” video transmission mode. 1 = start “conti...

  • Page 80: Draft

    Configuring the camera 4-18 basler a102 f draft register name: memory save channel offset from base address: 0x620 field bit description save channel 0 ... 3 when a 1 is written to the memory save register (see page 4-17 ), the current settings in the work configuration set (see section 3.15 ) will ...

  • Page 81: Draft

    Configuring the camera basler a102 f 4-19 draft register name: software trigger offset from base address: 0x62c field bit description trigger 0 when the trigger source field of the trigger mode register (see page 4-24 ) is set for a software trigger, this field controls the software trigger. 0 = res...

  • Page 82: Draft

    Configuring the camera 4-20 basler a102 f draft 4.4.2.2 control and status registers for features register name: brightness offset from base address: 0x800 field bit description presence inq 0 indicates the presence of the brightness control feature. The value will be 1 on a102f and a102fc cameras, ...

  • Page 83: Draft

    Configuring the camera basler a102 f 4-21 draft register name: white balance offset from base address: 0x80c field bit description presence inq 0 indicates the presence of the white balance control feature. The value will be 0 on a102f cameras, indicating that white balance control is not available....

  • Page 84: Draft

    Configuring the camera 4-22 basler a102 f draft register name: shutter offset from base address: 0x81c field bit description presence inq 0 indicates the presence of the shutter control feature. The value will be 1on a102f and a102fc cameras, indicating that shut- ter control is available. This fiel...

  • Page 85: Draft

    Configuring the camera basler a102 f 4-23 draft register name: gain offset from base address: 0x820 field bit description presence inq 0 indicates the presence of the gain control feature. The value will be 1on a102f and a102fc cameras, indicating that gain control is available. This field is read o...

  • Page 86: Draft

    Configuring the camera 4-24 basler a102 f draft register name: trigger mode offset from base address: 0x830 field bit description presence inq 0 indicates the presence of the trigger mode control feature. The value will be 1on a102f and a102fc cameras, indicating that trig- ger mode control is avail...

  • Page 87: Draft

    Configuring the camera basler a102 f 4-25 draft 4.4.2.3 error status registers for feature control as defined in the iidc specification, each field in this register is an error or warning flag for the corresponding feature control register. If a bit = 1, the mode and/or value of the corresponding fe...

  • Page 88: Draft

    Configuring the camera 4-26 basler a102 f draft field bit description trigger 12 indicates a trigger mode control error on the a102f or a102fc. 0 = no error present 1 = a setting in the trigger mode control register (see page 4-24 ) is outside of the allowed range this field is read only. Trigger de...

  • Page 89: Draft

    Configuring the camera basler a102 f 4-27 draft 4.4.2.4 control and status registers for format 7, mode 0 format 7, mode 0 is available on a102 f and a102 fc cameras. The base address for each format 7, mode 0 camera control register is: bus id, node id, ffff f1f0 0000 in each format 7, mode 0 regis...

  • Page 90: Draft

    Configuring the camera 4-28 basler a102 f draft register name: image position offset from base address: 0x008 field name: bit description left 0 ... 15 sets the left (starting) column of pixels for the area of interest (see sec- tion 3.6 ). Default = 0 on the a102f and a102fc top 16 ... 31 sets the ...

  • Page 91: Draft

    Configuring the camera basler a102 f 4-29 draft * if a bit is set to 0, the camera does not support this color coding id in format 7 mode 0. If a bit is set to 1, the camera supports this color coding id in format 7 mode 0. Register name: color coding inquiry offset from base address: 0x014 field na...

  • Page 92: Draft

    Configuring the camera 4-30 basler a102 f draft register name: pixel number inquiry offset from base address: 0x034 field bit description pixels per frame 0 ... 31 indicates the total number of pixels per frame. The value in this register depends on settings in the format 7, mode 0 image size regist...

  • Page 93: Draft

    Configuring the camera basler a102 f 4-31 draft register name: bytes per packet offset from base address: 0x044 field bit description bytes per packet 0 ... 15 sets the number of bytes per packet (the packet size). Note: when you lower the bytes per packet setting, the number of packets needed to tr...

  • Page 94: Draft

    Configuring the camera 4-32 basler a102 f draft register name: frame interval inquiry offset from base address: 0x050 field bit description frame interval 0 ... 31 indicates the current frame period in seconds. This value will be up- dated when you adjust any register that affects the frame period. ...

  • Page 95: Draft

    Configuring the camera basler a102 f 4-33 draft register name: value setting offset from base address: 0x07c field bit description presence inq 0 indicates whether the fields in this register are valid. 0 = not valid 1 = valid the fields in this register are valid on the a102f and a102fc. The presen...

  • Page 96: Draft

    Configuring the camera 4-34 basler a102 f draft 4.4.2.5 control and status registers for format 7, mode 1 format 7, mode 0 is available on a102 fc cameras only. The base address for each format 7, mode 1 camera control register is: bus id, node id, ffff f1f0 0100 in each format 7, mode 0 register de...

  • Page 97: Draft

    Configuring the camera basler a102 f 4-35 draft register name: image position offset from base address: 0x008 field name: bit description left 0 ... 15 sets the left (starting) column of pixels for the area of interest (see sec- tion 3.6 ). Default = 0 top 16 ... 31 sets the top row of pixels for th...

  • Page 98: Draft

    Configuring the camera 4-36 basler a102 f draft * if a bit is set to 0, the camera does not support this color coding id in format 7 mode 1. If a bit is set to 1, the camera supports this color coding id in format 7 mode 1. Register name: color coding inquiry offset from base address: 0x014 field na...

  • Page 99: Draft

    Configuring the camera basler a102 f 4-37 draft register name: pixel number inquiry offset from base address: 0x034 field bit description pixels per frame 0 ... 31 indicates the total number of pixels per frame. The value in this register depends on settings in the format 7, mode 1 image size regist...

  • Page 100: Draft

    Configuring the camera 4-38 basler a102 f draft register name: bytes per packet offset from base address: 0x044 field bit description bytes per packet 0 ... 15 sets the number of bytes per packet (the packet size). Note: when you lower the bytes per packet setting, the number of packets needed to tr...

  • Page 101: Draft

    Configuring the camera basler a102 f 4-39 draft register name: frame interval inquiry offset from base address: 0x050 field bit description frame interval 0 ... 31 indicates the current frame period in seconds. This value will be up- dated when you adjust any register that affects the frame period. ...

  • Page 102: Draft

    Configuring the camera 4-40 basler a102 f draft register name: value setting offset from base address: 0x07c field bit description presence inq 0 indicates whether the fields in this register are valid. 0 = not valid 1 = valid the fields in this register are valid on the a102fc. The presence inq fie...

  • Page 103: Draft

    Configuring the camera basler a102 f 4-41 draft 4.4.2.6 control and status registers for the pio control function the base address for the pio control function control and status registers is: bus id, node id, ffff f2f0 00c8 in each pio register description, an “offset the from base address” is prov...

  • Page 104: Draft

    Configuring the camera 4-42 basler a102 f draft 4.4.2.7 control and status registers for the strobe signal function the base address for the strobe signal control and status registers is: bus id, node id, ffff f2f0 0300 in each strobe signal register description, an “offset from the base address” is...

  • Page 105: Draft

    Configuring the camera basler a102 f 4-43 draft register name: strobe 1 inquiry offset from base address: 0x104 field bit description a102f value a102fc value same definitions and values as strobe 0 inq register name: strobe 2 inquiry offset from base address: 0x108 field bit description a102f value...

  • Page 106: Draft

    Configuring the camera 4-44 basler a102 f draft register name: strobe 0 control offset from base address: 0x200 field bit description presence inq 0 indicates the presence of the strobe 0 signal control feature. 0 = not available 1 = available the strobe 0 control feature is available on the a102f a...

  • Page 107: Draft

    Configuring the camera basler a102 f 4-45 draft register name: strobe 2 control offset from base address: 0x208 field bit description same definitions and values as strobe 0 control. Register name: strobe 3 control offset from base address: 0x20c field bit description same definitions and values as ...

  • Page 108: Draft

    Configuring the camera 4-46 basler a102 f draft 4.4.3 advanced features registers the base address for all advanced features registers is: bus id, node id, ffff f2f0 0000 the first eight quadlets of the advanced features register space is designated as the advanced features “access control register”...

  • Page 109: Draft

    Image data formats & structures basler a102 f 5-1 draft 5 image data formats and structures 5.1 image data basics image data is transmitted as isochronous data packets according to the “1394 - based digital camera specification” (dcam) issued by the 1394 trade association (see the trade association’...

  • Page 110: Draft

    Image data formats & structures 5-2 basler a102 f draft 5.2 packet payload charts for standard format, mode and frame rate combinations on a102f cameras the following charts describe the packet payload for each standard format/mode/framerate combination available on the a102f or the a102fc. This inf...

  • Page 111: Draft

    Image data formats & structures basler a102 f 5-3 draft 5.3 image data formats 5.3.1 data format with the camera set for yuv 4:2:2 output the table below describes how the data for a received frame will be ordered in the image buffer in your pc. The following standards are used in the table: p 0 = t...

  • Page 112: Draft

    Image data formats & structures 5-4 basler a102 f draft 5.3.2 data format with the camera set for y mono 8 output the table below describes how the data for a received frame will be ordered in the image buffer in your pc. The following standards are used in the table: p 0 = the first pixel transmitt...

  • Page 113: Draft

    Image data formats & structures basler a102 f 5-5 draft 5.3.3 data format with the camera set for y mono 16 output the table below describes how the data for a received frame will be ordered in the image buffer in your pc. The following standards are used in the table: p 0 = the first pixel transmit...

  • Page 114: Draft

    Image data formats & structures 5-6 basler a102 f draft 5.3.4 data format with the camera set for raw 8 output the tables below describe how the data for the odd lines and for the even lines of a received frame will be ordered in the image buffer in your pc. The following standards are used in the t...

  • Page 115: Draft

    Image data formats & structures basler a102 f 5-7 draft for filter id = 1 (gb / rg) for filter id = 2 (gr / bg) even lines odd lines byte data byte data b 0 green value for p 0 b 0 red value for p 0 b 1 blue value for p 1 b 1 green value for p 1 b 2 green value for p 2 b 2 red value for p 2 b 3 blue...

  • Page 116: Draft

    Image data formats & structures 5-8 basler a102 f draft for filter id = 3 (bg / gr) even lines odd lines byte data byte data b 0 blue value for p 0 b 0 green value for p 0 b 1 green value for p 1 b 1 red value for p 1 b 2 blue value for p 2 b 2 green value for p 2 b 3 green value for p 3 b 3 red val...

  • Page 117: Draft

    Image data formats & structures basler a102 f 5-9 draft 5.3.5 data format with the camera set for raw 16 output the tables below describe how the data for the odd lines and for the even lines of a received frame will be ordered in the image buffer in your pc. The following standards are used in the ...

  • Page 118: Draft

    Image data formats & structures 5-10 basler a102 f draft for filter id = 1 (gb / rg) even lines odd lines byte data byte data b 0 low byte of green value for p 0 b 0 low byte of red value for p 0 b 1 high byte of green value for p 0 b 1 high byte of red value for p 0 b 2 low byte of blue value for p...

  • Page 119: Draft

    Image data formats & structures basler a102 f 5-11 draft for filter id = 2 (gr / bg) even lines odd lines byte data byte data b 0 low byte of green value for p 0 b 0 low byte of blue value for p 0 b 1 high byte of green value for p 0 b 1 high byte of blue value for p 0 b 2 low byte of red value for ...

  • Page 120: Draft

    Image data formats & structures 5-12 basler a102 f draft for filter id = 3 (bg / gr) even lines odd lines byte data byte data b 0 low byte of blue value for p 0 b 0 low byte of green value for p 0 b 1 high byte of blue value for p 0 b 1 high byte of green value for p 0 b 2 low byte of green value fo...

  • Page 121: Draft

    Image data formats & structures basler a102 f 5-13 draft 5.4 image data structure 5.4.1 data structure for a y (mono 8) or an r, g or b (raw 8) component the data output for a y (mono 8) component or an r, g or b (raw 8) component is 8 bit data of the “unsigned char” type. The range of data values f...

  • Page 122: Draft

    Image data formats & structures 5-14 basler a102 f draft 5.4.3 data structure for a y (mono 16) or an r, g or b (raw 16) component the data output for a y (mono 16) component or an r, g or b (raw 16) component is 16 bit data of the “unsigned short (little endian)” type. The range of data values for ...

  • Page 123: Draft

    Smart features basler a102 f 6-1 draft 6 smart features and the smart features framework 6.1 what are smart features smart features are features unique to basler cameras. Test images, the cycle time stamp, and the crc checksum are examples of basler smart features. In some cases, enabling a smart fe...

  • Page 124: Draft

    Smart features 6-2 basler a102 f draft part of the added data. The guids are especially useful when you enable several smart features that add data to the image stream. The guids make it possible to identify which portion of the added data is the result of each enabled smart feature. Refer to sectio...

  • Page 125: Draft

    Smart features basler a102 f 6-3 draft 6.5 enabling and parameterizing smart features the camera provides a control and status register (csr) for each smart feature (see sect 6.7 for details of each feature and its csr). To enable and parameterize a smart feature, the following steps must be perform...

  • Page 126: Draft

    Smart features 6-4 basler a102 f draft 6.5.2 determining the address of a smart feature’s csr the control and status register (csr) for each smart feature is identified by a 128 bit globally unique identifier (guid). Guids are also known as uuids (universal unique identifier). A guid consists of: • ...

  • Page 127: Draft

    Smart features basler a102 f 6-5 draft example determine the address of the “crc checksum” smart feature which has a csr guid of: 3b34004e - 1b84 - 11d8 - 83b3 - 00105a5bae55 d1: 0x3b34 004e d2: 0x1b84 d3: 0x11d8 d4[0]: 0x83 d4[1]: 0xb3 d4[2]: 0x00 d4[3]: 0x10 d4[4]: 0x5a d4[5]: 0x5b d4[6]: 0xae d4[...

  • Page 128: Draft

    Smart features 6-6 basler a102 f draft 6.5.3 enabling and parameterizing a smart feature once you have determined the starting address of the control and status register (csr) for your desired smart feature, you are ready to enable and parameterize the feature by setting bits within the csr. Section...

  • Page 129: Draft

    Smart features basler a102 f 6-7 draft 6.6 getting smart features results in many cases, activating a smart feature results in additional data that must be transmitted by the camera, i.E., the results of the smart feature. The results of a smart feature will be appended to the image data so that eac...

  • Page 130: Draft

    Smart features 6-8 basler a102 f draft there are different types of chunks, for example, the chunk that is added when the cycle time stamp smart feature is enabled and the chunk that is added when the frame counter smart feature is enabled. Although most chunks follow the general structure described...

  • Page 131: Draft

    Smart features basler a102 f 6-9 draft 6.7 smart features on the a102 f 6.7.1 extended data stream the extended data stream feature has two functions: • when it is enabled, information such as image height, image width, and aoi size is added to the basic pixel data for each image. • it must be enabl...

  • Page 132: Draft

    Smart features 6-10 basler a102 f draft k + m stride [ 4 bytes ] signed integer. Indicates the number of bytes needed to advance from the beginning of one row in an image to the beginning of the next row. K + m + 4 reserved [ 3 bytes ] ----- k + m + 7 data depth [ 1 byte ] effective data depth in bi...

  • Page 133: Draft

    Smart features basler a102 f 6-11 draft 6.7.2 frame counter the frame counter feature numbers images sequentially as they are captured. The counter starts at 0 and wraps at 4294967296. The counter increments by one for each captured frame. Whenever the camera is powered off, the counter will reset t...

  • Page 134: Draft

    Smart features 6-12 basler a102 f draft 6.7.3 cycle time stamp the cycle time stamp feature adds a chunk to each image frame containing the value of the counters for the ieee 1394 bus cycle timer. The counters are sampled at the start of exposure of each image. Control and status register for the cy...

  • Page 135: Draft

    Smart features basler a102 f 6-13 draft 6.7.4 dcam values the dcam values feature adds a chunk to each image frame containing the current settings for some standard dcam features. The settings are sampled at the start of exposure of each image. Control and status register for the dcam values feature...

  • Page 136: Draft

    Smart features 6-14 basler a102 f draft dcam values chunk layout position name description 0 gain csr [ 4 bytes ] content of the dcam gain csr field bit description presence inq [0] presence of this feature if 0, the dcam feature is not avail- able and all of its values should be ignored abs control...

  • Page 137: Draft

    Smart features basler a102 f 6-15 draft 24 white balance csr [ 4 bytes ] content of the dcam white balance csr field bit description presence inq [0] presence of this feature if 0, the dcam feature is not avail- able and all of its values should be ignored abs control [1] absolute control mode if 1,...

  • Page 138: Draft

    Smart features 6-16 basler a102 f draft 6.7.5 crc checksum the crc checksum feature adds a chunk to each image frame containing a 16 bit crc checksum calculated using the z-modem method. The crc checksum chunk is always the last chunk added to the image data stream and the chunk is always 32 bits in...

  • Page 139: Draft

    Smart features basler a102 f 6-17 draft crc checksum chunk layout the crc checksum is an exception to the normal chunk structure. The crc chunk is always 32 bits wide and is always the last chunk appended to the image data. The lower 16 bits of the chunk are filled with the checksum and the upper 16...

  • Page 140: Draft

    Smart features 6-18 basler a102 f draft /** \brief verifies a frame buffer's crc checksum * \param pdata pointer to the frame * \param nbylength size of frame in bytes * \return 1, if the check succeeds, 0 otherwise */ int checkbuffer(const unsigned char* pdata, unsigned long nbylength ) { unsigned ...

  • Page 141: Draft

    Smart features basler a102 f 6-19 draft 6.7.6 test images a102 f cameras include a test image mode as a smart feature. The test image mode is used to check the camera’s basic functionality and its ability to transmit an image via the video data cable. The test image mode can be used for service purp...

  • Page 142: Draft

    Smart features 6-20 basler a102 f draft test image two test image two is designed for use with monochrome, 16 bit output modes. Test image two consists of rows with several gray scale gradients ranging from 0 to 4095. Assuming that the camera is operating at full 1392 x 1040 resolution and is set fo...

  • Page 143: Draft

    Smart features basler a102 f 6-21 draft control and status register for the test image feature name test images address see “determining the address of smart features csrs” on page 6-4 . Csr guid 2a411342 - c0ca - 4368 - b46e - ee5deebf0548 field bit description presence inq (read only) [0] presence...

  • Page 144: Draft

    Smart features 6-22 basler a102 f draft 6.7.7 extended version information a102 f cameras include a register that contains version numbers for the camera’s internal software. For troubleshooting purposes, basler technical support may ask you to read this register and to supply the results. Control a...

  • Page 145: Draft

    Smart features basler a102 f 6-23 draft 6.7.8 lookup table the a102 f camera has a sensor that reads pixel values at a 12 bit depth, however, the camera can be set to output pixel values at an 8 bit depth. When set for 8 bit output, the camera normally uses an internal process to convert the 12 bit ...

  • Page 146: Draft

    Smart features 6-24 basler a102 f draft the advantage of the lookup table feature is that it allows the user to customize the response curve of the camera. The graphs below represent the contents of two typical lookup tables. The first graph is for a lookup table where the values are arranged so tha...

  • Page 147: Draft

    Smart features basler a102 f 6-25 draft control and status register for the lookup table feature name lookup table address see “determining the address of smart features csrs” on page 6-4 . Csr guid b28c667c - df9d - 11d7 - 8693 - 000c6e0bd1b0 position field bit description 0 presence inq (read only...

  • Page 148: Draft

    Smart features 6-26 basler a102 f draft 16328 quadlet 4080 (read / write) [1 quadlet] defines the 8 bit value that will be transmit- ted from the camera when the 12 bit pixel value from the sensor is 4080. 16332 ... 16356 quadlet 4081 ... 4087 (read / write) [7 quadlets not used. The values written ...

  • Page 149: Draft

    Smart features basler a102 f 6-27 draft using the sff viewer to upload a lookup table the configurator window in the basler sff viewer (see section 6.4 ) includes a drop down list that can be used to enable the lookup table feature. It also includes an upload button that can be used to easily load a...

  • Page 150: Draft

    Smart features 6-28 basler a102 f draft 6.7.9 lossless compression the a102 f includes a feature that allows lossless compression of the 12 bit output from the camera’s sensor to 8 bit output transmitted from the camera. The basis for the lossless compression feature is a mathematical process that c...

  • Page 151: Draft

    Smart features basler a102 f 6-29 draft 6.7.10 trigger flag and trigger counter a102 f cameras include a trigger flag and trigger counter feature. The trigger counter increments by one each time an image capture is triggered regardless of whether the trigger is internal (one shot or continuous shot ...

  • Page 152: Draft

    Smart features 6-30 basler a102 f draft 6.7.11 output port configuration a102 f cameras are equipped with four physical output ports designated as output port 0, output port 1, output port 2, and output port 3. The output port configuration feature can be used to change the assignment of camera outp...

  • Page 153: Draft

    Smart features basler a102 f 6-31 draft control and status registers for the output port configuration feature name output port 0 configuration address see “determining the address of smart features csrs” on page 6-4 . Csr guid 5a889d7e - 41e5 - 11d8 - 845b - 00105a5bae55 position field bit descript...

  • Page 154: Draft

    Smart features 6-32 basler a102 f draft name output port 1 configuration address see “determining the address of smart features csrs” on page 6-4 . Csr guid 949d820a - 4513 - 11d8 - 9eb1 - 00105a5bae55 position field bit description 0 same as port 0. 4 same as port 0. 8 same as port 0. 12 same as po...

  • Page 155: Draft

    Smart features basler a102 f 6-33 draft 6.7.12 startup memory channel as described in section 3.15 , a102 f cameras include four memory channels that can be used to store camera configuration sets. Memory channel 0 contains a factory configuration set. Channels 1, 2 and 3 can be used to store user c...

  • Page 156: Draft

    Smart features 6-34 basler a102 f draft 6.7.13 shutter time base as described in section 3.2.1 , exposure time is determined by a combination of two values. The first is the setting in the value field of the shutter control register (see page 4-22 ). The second is the shutter time base. Exposure tim...

  • Page 157: Draft

    Smart features basler a102 f 6-35 draft control and status register for the shutter time base feature name shutter time base address see “determining the address of smart features csrs” on page 6-4 . Csr guid 648be1da - a416 - 11d8 - 9b47 - 00105a5bae55 position field bit description 0 presence inq ...

  • Page 158: Draft

    Smart features 6-36 basler a102 f draft 6.7.14 strobe time base the strobe time base smart feature can be used to change the delay time base and the duration time base for the strobe control feature (see section 3.10 ). Changing the strobe delay time base as described in section 3.10 , the delay for...

  • Page 159: Draft

    Smart features basler a102 f 6-37 draft example assume that you have set the duration value field of the strobe 0 control register to 423. Also assume that you have set the duration time base field in the strobe time base csr to 5. In this case: strobe 0 duration = (strobe 0 duration value setting) ...

  • Page 160: Draft

    Smart features 6-38 basler a102 f draft 6.8 customized smart features the basler a102 f has significant processing capabilities and basler can accommodate customer requests for customized smart features. A great advantage of the smart features framework is that it serves as a standardized platform f...

  • Page 161: Draft

    Mechanical considerations basler a102 f 7-1 draft 7 mechanical considerations the a102 f camera housing is manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repeatability. Caution! The camera is shipped with a cap on the lens mount. To avoid c...

  • Page 162: Draft

    Mechanical considerations 7-2 basler a102 f draft 7.1 camera dimensions and mounting facilities the dimensions for a102 f cameras are as shown in figure 7-1. A102 f cameras are equipped with four m4 mounting holes on the front and two m4 mounting holes on each side as indicated in the drawings. Figu...

  • Page 163: Draft

    Mechanical considerations basler a102 f 7-3 draft 7.2 sensor positioning accuracy the sensor positioning accuracy in the horizontal and vertical directions is as shown in figure 7- 2. Rotational accuracy is also shown in the figure. Figure 7-2: sensor positioning accuracy.

  • Page 164: Draft

    Mechanical considerations 7-4 basler a102 f draft 7.3 maximum lens thread length on the a102fc a102 fc cameras are normally equipped with a c-mount lens adapter that contains an internal ir cut filter. As shown in figure 7-3, the thread length of the c-mount lens must used on the camera must be less...

  • Page 165: Draft

    Mechanical considerations basler a102 f 7-5 draft 7.4 mechanical stress test results the a102 f was submitted to an independent mechanical testing laboratory and subjected to the stress tests listed below. After mechanical testing, the camera exhibited no detectable physical damage and produced norm...

  • Page 166: Draft

    Mechanical considerations 7-6 basler a102 f draft.

  • Page 167: Draft

    Revision history basler a102 f i draft revision history doc. Id number date changes da00063001 24 october 2003 initial release of this document. Da00063002 25 february 2004 second draft for revision two of the manual. Added section 1.1 describing document applicability. Updated sections 2.5 , 3.2.5 ...

  • Page 168: Draft

    Revision history ii basler a102 f draft da00063005 2 march 2005 added sections 2.5.3 and 2.5.4 showing typical input circuit and typi- cal output circuit digrams. Added section 3.2.7 to clarify the terminology used to describe frame readout, buffering and transmission. Updated the yuv formulas in se...

  • Page 169: Draft

    Index basler a102 f iii draft index a advanced features registers . . . . . . . . . . . . . . . 4-46 anti-blooming . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 area of interest . . . . . . . . . . . . . . . . . . . . . . . . . 3-19 b bayer filter . . . . . . . . . . . . . . . . . . . ...

  • Page 170: Draft

    Index iv basler a102 f draft p packet payloads . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 parallel i/o control . . . . . . . . . . . . . . . . . . . . . . . 3-32 performance specifications . . . . . . . . . . . . . . . . . 1-2 pin assignments . . . . . . . . . . . . . . . . . . . . . . . ...