Basler A620f User Manual

Summary of A620f

  • Page 1

    User’s manual document number: da00069602 release date: 2 march 2005.

  • 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-500 fax.: +49-4102-463-599 vc.Support.Europe@baslerweb.Com americas: basler, inc. 740 springdale drive, suite 100 exton, pa 19341 u.S.A. Tel.: +1-877-934-8472 fax.: +1-877-934-760...

  • Page 5: Draft

    Contents basler a620 f i draft table of contents 1 introduction 1.1 documentation applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.2 camera models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 6: Draft

    Contents ii basler a620 f draft 3.7 area of interest (aoi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21 3.7.1 changing aoi parameters “on-the-fly” . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22 3.7.2 changes to the frame rate with aoi. ...

  • Page 7: Draft

    Contents basler a620 f iii draft 5.2.5 format 1, mode 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 5.2.6 format 1, mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 5.2.7 format 1, mode 7 . . . . . ...

  • Page 8: Draft

    Contents iv basler a620 f draft revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Iii ind...

  • Page 9: Draft

    Introduction basler a620 f 1-1 draft 1 introduction 1.1 documentation applicability this user’s manual applies to cameras with a firmware id number of 32. Cameras with a lower or a higher firmware id number may have fewer features or have more features than described in this manual. Features on came...

  • Page 10: Draft

    Introduction 1-2 basler a620 f draft 1.2 camera models currently only one model of the camera is available and this model is designated as the a622 f . The a622 f is only available in monochrome. Throughout this user’s manual, the camera will be referred to as the a620 f (this is the camera family d...

  • Page 11: Draft

    Introduction basler a620 f 1-3 draft 1.4 spectral response the spectral response for the a620 f monochrome camera is shown in figure 1-2. Figure 1-2: a620 f spectral response l the spectral response curve excludes lens characteristics and light source characteristics..

  • Page 12: Draft

    Introduction 1-4 basler a620 f 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 the ca...

  • Page 13: Draft

    Camera interface basler a620 f 2-1 draft 2 camera interface 2.1 connections 2.1.1 general description the a620 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 14: Draft

    Camera interface 2-2 basler a620 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 15: Draft

    Camera interface basler a620 f 2-3 draft figure 2-2: a620 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 16: Draft

    Camera interface 2-4 basler a620 f draft 2.2 cables the maximum length specified in the ieee 1394 standard for the cable used between the camera and the adapter in your pc or between the camera and a 1394 hub is 4.5 meters. Shielded ieee 1394 cables must be used. Basler has successfully tested a 10 ...

  • Page 17: Draft

    Camera interface basler a620 f 2-5 draft 2.5 input and output ports 2.5.1 input ports a620 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 18: Draft

    Camera interface 2-6 basler a620 f draft figure 2-3: i/o schematic.

  • Page 19: Draft

    Camera interface basler a620 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 20: Draft

    Camera interface 2-8 basler a620 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 21: Draft

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

  • Page 22: Draft

    Basic operation & standard features 3-2 basler a620 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 of the data transmission rate between the camera and the host computer. This ensures that the da...

  • Page 23: Draft

    Basic operation & standard features basler a620 f 3-3 draft figure 3-2: block diagram 3.2 camera initialization period whenever the camera is powered on or is reset, it needs six seconds to complete its internal initialization process. The camera cannot capture images during the initialization perio...

  • Page 24: Draft

    Basic operation & standard features 3-4 basler a620 f draft 3.3 exposure control 3.3.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-24 ). The second is the shutter time ba...

  • Page 25: Draft

    Basic operation & standard features basler a620 f 3-5 draft calculating the maximum frame rate for a given exposure time to determine the camera’s maximum allowed frame rate at a given exposure time, use the formula below. This formula applies when the camera is set for full resolution. Example 1 as...

  • Page 26: Draft

    Basic operation & standard features 3-6 basler a620 f draft calculating the maximum exposure time for a given frame rate to determine the camera’s maximum allowed exposure time at a given frame rate, use the formula below. This formula applies when the camera is set for full resolution. Example assu...

  • Page 27: Draft

    Basic operation & standard features basler a620 f 3-7 draft 3.3.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-8 basler a620 f draft 3.3.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-26 ) is used to enable the ability...

  • Page 29: Draft

    Basic operation & standard features basler a620 f 3-9 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-10 basler a620 f draft 3.3.5 controlling exposure start with an extrig signal the 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 trigge...

  • Page 31: Draft

    Basic operation & standard features basler a620 f 3-11 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 ...

  • Page 32: Draft

    Basic operation & standard features 3-12 basler a620 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 a620 f 3-13 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-14 basler a620 f draft f igur e 3- 7: exp o sur e s tar t contr o lle d with an ext rig sign al.

  • Page 35: Draft

    Basic operation & standard features basler a620 f 3-15 draft 3.3.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 36: Draft

    Basic operation & standard features 3-16 basler a620 f draft the transmission start delay is the amount of time between the point where the camera begins reading out a captured image into the buffer to the point where it begins transmitting the data for the captured image from the buffer to the host...

  • Page 37: Draft

    Basic operation & standard features basler a620 f 3-17 draft 3.4 trigger ready signal as mentioned in section 3.3.2 , the start of exposure of a new frame must not occur until the camera has completely finished readout of the previously captured frame. During normal operation, the camera constantly ...

  • Page 38: Draft

    Basic operation & standard features 3-18 basler a620 f draft 3.5 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 39: Draft

    Basic operation & standard features basler a620 f 3-19 draft 3.6 gain and brightness 3.6.1 gain on a620 f cameras, the gain function is ac- complished by applying a digital multiplier to the output from the camera’s sensor. The size of the multiplier depends on the setting in the value field of the ...

  • Page 40: Draft

    Basic operation & standard features 3-20 basler a620 f draft gain settings with camera set for 16 bit output when the camera is set to output 16 bits per pixel, the settings in the gain control register can range from 0 (0x000) to 125 (0x07d). The default gain setting when the camera is set for 16 b...

  • Page 41: Draft

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

  • Page 42: Draft

    Basic operation & standard features 3-22 basler a620 f draft 3.7.1 changing aoi parameters “on-the-fly” making aoi parameter changes “on-the-fly” means making the parameter changes while the camera is capturing images continuously. On-the-fly changes are only allowed for the parameters that determin...

  • Page 43: Draft

    Basic operation & standard features basler a620 f 3-23 draft determining the maximum frame rate with 8 bit output when your camera is set to an 8 bit output mode, you can use the formulas below to determine the maximum frame rate for a given aoi. These formulas take your aoi size into account plus t...

  • Page 44: Draft

    Basic operation & standard features 3-24 basler a620 f draft determining the maximum frame rate with 16 bit output when your camera is set to an 16 bit output mode, you can use the formulas below to determine the maximum frame rate for a given aoi. These formulas take your aoi size into account plus...

  • Page 45: Draft

    Basic operation & standard features basler a620 f 3-25 draft 3.8 selectable 8 or 10 bit pixel depth a620 f cameras can be set to output pixel data at either 8 bit depth or 10 bit depth. (with 10 bit depth, the camera outputs 16 bits per pixel but only 10 bits are effective.) for 8 bit depth the meth...

  • Page 46: Draft

    Basic operation & standard features 3-26 basler a620 f draft 3.9 corrections for sensor characteristics the basler engineering team used its extensive experience to build in corrections for some of the characteristics exhibited by the sensor used in a620 f cameras. The result is a camera that produc...

  • Page 47: Draft

    Basic operation & standard features basler a620 f 3-27 draft 3.10 strobe control output signals a620 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 48: Draft

    Basic operation & standard features 3-28 basler a620 f draft l if you start an image exposure and the strobe signal for the previously captured image is still running, the running strobe signal ends immediately and the next delay and du- ration begin. The strobe control output signal registers are d...

  • Page 49: Draft

    Basic operation & standard features basler a620 f 3-29 draft 3.11 parallel input/output control a parallel i/o control feature is available on a620 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 50: Draft

    Basic operation & standard features 3-30 basler a620 f draft 3.12 available video formats, modes & frame rates 3.12.1 standard formats, modes and frame rates the following standard video formats, modes and frame rates are available on a620 f cameras: format 0, mode 1, frame rate 0 ( 320 x 240, yuv 4...

  • Page 51: Draft

    Basic operation & standard features basler a620 f 3-31 draft format 1, mode 2, frame rate 2 ( 800 x 600, y mono, 8 bits/pixel, 7.5 fps ) format 1, mode 2, frame rate 3 ( 800 x 600, y mono, 8 bits/pixel, 15 fps ) format 1, mode 2, frame rate 4 ( 800 x 600, y mono, 8 bits/pixel, 30 fps ) format 1, mod...

  • Page 52: Draft

    Basic operation & standard features 3-32 basler a620 f draft 3.12.2 customizable formats and modes format 7, mode 0 is available on a620 f cameras. Format 7, mode 0 format 7, mode 0 is used to enable and set up the area of interest (aoi) feature described in section 3.7 . Format 7, mode 0 is paramet...

  • Page 53: Draft

    Basic operation & standard features basler a620 f 3-33 draft 3.13 error flags a620 f cameras support the following error flags: • error flags that indicate whether the current trigger, shutter, gain and brightness settings are outside the specified range of allowed values. These error flags are set ...

  • Page 54: Draft

    Basic operation & standard features 3-34 basler a620 f draft.

  • Page 55: Draft

    Configuring the camera basler a620 f 4-1 draft 4 configuring the camera the a620 f is 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 standard...

  • Page 56: Draft

    Configuring the camera 4-2 basler a620 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 57: Draft

    Configuring the camera basler a620 f 4-3 draft 4.4 implemented standard registers this section includes a description of all dcam standard registers implemented in the a620 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 58: Draft

    Configuring the camera 4-4 basler a620 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 59: Draft

    Configuring the camera basler a620 f 4-5 draft register name: video mode inquiry for format 2 offset from base address: 0x188 field bit description a620f value mode 0 0 1280 x 960, yuv 4:2:2, 16 bits/pixel 0 mode 1 1 1280 x 960, rgb, 24 bits/pixel 0 mode 2 2 1280 x 960, y mono, bits/pixel 1 mode 3 3...

  • Page 60: Draft

    Configuring the camera 4-6 basler a620 f 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 61: Draft

    Configuring the camera basler a620 f 4-7 draft register name: video frame rate inquiry for format 0, mode 6 offset from base address: 0x218 field bit description a620f value frame rate 0 0 1.875 fps standard frame rate 1 frame rate 1 1 3.75 fps standard frame rate 1 frame rate 2 2 7.5 fps standard f...

  • Page 62: Draft

    Configuring the camera 4-8 basler a620 f draft register name: video frame rate inquiry for format 1, mode 5 offset from base address: 0x234 field bit description a620f value frame rate 0 0 1.875 fps standard frame rate 0 frame rate 1 1 3.75 fps standard frame rate 1 frame rate 2 2 7.5 fps standard f...

  • Page 63: Draft

    Configuring the camera basler a620 f 4-9 draft register name: video frame rate inquiry for format 1, mode 7 offset from base address: 0x23c field bit description a620f value frame rate 0 0 1.875 fps standard frame rate 0 frame rate 1 1 3.75 fps standard frame rate 1 frame rate 2 2 7.5 fps standard f...

  • Page 64: Draft

    Configuring the camera 4-10 basler a620 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 a620f value frame rate 0 0 1.875 fps standard frame rate 1 frame rate 1 1 3.75 fps sta...

  • Page 65: Draft

    Configuring the camera basler a620 f 4-11 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 ...

  • Page 66: Draft

    Configuring the camera 4-12 basler a620 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 fea...

  • Page 67: Draft

    Configuring the camera basler a620 f 4-13 draft register name: feature low inquiry offset from base address: 0x408 field bit description a620f value zoom 0 zoom control availability 0 pan 1 pan control availability 0 tilt 2 tilt control availability 0 optical filter 3 optical filter control availabi...

  • Page 68: Draft

    Configuring the camera 4-14 basler a620 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 69: Draft

    Configuring the camera basler a620 f 4-15 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 70: Draft

    Configuring the camera 4-16 basler a620 f draft register name: shutter inquiry offset from base address: 0x51c field bit description a620f value presence inq 0 shutter control feature is present 1 abs control inq 1 shutter can be set with an absolute value 0 --- 2 reserved --- one push inq 3 one pus...

  • Page 71: Draft

    Configuring the camera basler a620 f 4-17 draft register name: gain inquiry offset from base address: 0x520 field bit description a620f value presence inq 0 gain control feature is present 1 abs control inq 1 gain can be set with an absolute value 0 --- 2 reserved --- one push inq 3 one push auto mo...

  • Page 72: Draft

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

  • Page 73: Draft

    Configuring the camera basler a620 f 4-19 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 74: Draft

    Configuring the camera 4-20 basler a620 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 check section 3.12 to determ...

  • Page 75: Draft

    Configuring the camera basler a620 f 4-21 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 0, format 1, format 2 or for- mat 7, this field controls the “continuous shot” video transmission mo...

  • Page 76: Draft

    Configuring the camera 4-22 basler a620 f 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-26 ) is set for a software trigger, this field controls the software trigger. 0 = res...

  • Page 77: Draft

    Configuring the camera basler a620 f 4-23 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 all a620f cameras, indicat...

  • Page 78: Draft

    Configuring the camera 4-24 basler a620 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 1 on all a620f cameras, indicating that shutter control is available. This field is rea...

  • Page 79: Draft

    Configuring the camera basler a620 f 4-25 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 1 on all a620f cameras, indicating that gain control is available. This field is read only. A...

  • Page 80: Draft

    Configuring the camera 4-26 basler a620 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 1 on all a620f cameras, indicating that trigger mode control is available. Th...

  • Page 81: Draft

    Configuring the camera basler a620 f 4-27 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 82: Draft

    Configuring the camera 4-28 basler a620 f draft field bit description trigger 12 indicates a trigger mode control error. 0 = no error present 1 = a setting in the trigger mode control register (see page 4-26 ) is outside of the allowed range this field is read only. Trigger delay 13 not used on the ...

  • Page 83: Draft

    Configuring the camera basler a620 f 4-29 draft 4.4.2.4 control and status registers for format 7, mode 0 format 7, mode 0 is available on all a620 f 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 register desc...

  • Page 84: Draft

    Configuring the camera 4-30 basler a620 f draft register name: image size offset from base address: 0x00c field bit description width 0 ... 15 sets the width in columns for the area of interest (see section 3.7 ). Default = 1280 height 16 ... 31 sets the height in rows for the area of interest (see ...

  • Page 85: Draft

    Configuring the camera basler a620 f 4-31 draft * if a bit is set to 0, the a620f does not support this color coding id if a bit is set to 1, the a620f supports this color coding id register name: color coding inquiry offset from base address: 0x14 field name: bit description a620f value * mono 8 0 ...

  • Page 86: Draft

    Configuring the camera 4-32 basler a620 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 87: Draft

    Configuring the camera basler a620 f 4-33 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 88: Draft

    Configuring the camera 4-34 basler a620 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 89: Draft

    Configuring the camera basler a620 f 4-35 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 a620f. The presence inq fiel...

  • Page 90: Draft

    Configuring the camera 4-36 basler a620 f draft 4.4.2.5 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 91: Draft

    Configuring the camera basler a620 f 4-37 draft 4.4.2.6 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 92: Draft

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

  • Page 93: Draft

    Configuring the camera basler a620 f 4-39 draft register name: strobe 1 control offset from base address: 0x204 field bit description same definitions and values as strobe 0 control. Register name: strobe 2 control offset from base address: 0x208 field bit description same definitions and values as ...

  • Page 94: Draft

    Configuring the camera 4-40 basler a620 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 95: Draft

    Image data formats & structures basler a620 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 96: Draft

    Image data formats & structures 5-2 basler a620 f draft 5.2 packet payload charts for standard format, mode and frame rate combinations on the a620f the following charts describe the packet payload for each standard format/mode/framerate combination available on the a620f. This information is especi...

  • Page 97: Draft

    Image data formats & structures basler a620 f 5-3 draft 5.2.5 format 1, mode 5 ( 1024 x 768, y mono, bits/pixel ) 5.2.6 format 1, mode 6 ( 800 x 600, y mono, 16 bits/pixel ) 5.2.7 format 1, mode 7 ( 1024 x 768, y mono, 16 bits/pixel ) 5.2.8 format 2, mode 2 ( 1280 x 960, y mono, bits/pixel ) 5.2.9 f...

  • Page 98: Draft

    Image data formats & structures 5-4 basler a620 f 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 99: Draft

    Image data formats & structures basler a620 f 5-5 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 100: Draft

    Image data formats & structures 5-6 basler a620 f 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 101: Draft

    Image data formats & structures basler a620 f 5-7 draft 5.4 image data structure 5.4.1 data structure for a y (mono 8) component the data output for a y (mono 8) component is 8 bit data of the “unsigned char” type. The range of data values for a y mono component and the corresponding indicated signa...

  • Page 102: Draft

    Image data formats & structures 5-8 basler a620 f draft 5.4.3 data structure for a y (mono 16) component the data output for a y (mono 16) component is 16 bit data of the “unsigned short (little endian)” type. The range of data values for a y mono component and the corresponding indicated signal lev...

  • Page 103: Draft

    Smart features basler a620 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 (cyclic redundancy check) checksum are examples of basler smart features. In some ...

  • Page 104: Draft

    Smart features 6-2 basler a620 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 105: Draft

    Smart features basler a620 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 106: Draft

    Smart features 6-4 basler a620 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 107: Draft

    Smart features basler a620 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 108: Draft

    Smart features 6-6 basler a620 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 109: Draft

    Smart features basler a620 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 110: Draft

    Smart features 6-8 basler a620 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 111: Draft

    Smart features basler a620 f 6-9 draft 6.7 standard smart features on the a620 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...

  • Page 112: Draft

    Smart features 6-10 basler a620 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 113: Draft

    Smart features basler a620 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 (operating continuously at 100 frames per second, it would take the counter about 500 days to wrap). The counter inc...

  • Page 114: Draft

    Smart features 6-12 basler a620 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 115: Draft

    Smart features basler a620 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 116: Draft

    Smart features 6-14 basler a620 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 1...

  • Page 117: Draft

    Smart features basler a620 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, the...

  • Page 118: Draft

    Smart features 6-16 basler a620 f draft 6.7.5 crc checksum the crc (cyclic redundancy check) 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 ...

  • Page 119: Draft

    Smart features basler a620 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 120: Draft

    Smart features 6-18 basler a620 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 121: Draft

    Smart features basler a620 f 6-19 draft 6.7.6 test images a620 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 122: Draft

    Smart features 6-20 basler a620 f draft test image two as shown in figure 6-4, test image two consists of rows with several gray scale gradients ranging from 0 to 255. Assuming that the camera is operating at full 1280 x 1024 resolution and is set for a monochrome, 8 bit output mode, when the test i...

  • Page 123: Draft

    Smart features basler a620 f 6-21 draft control and status register for the test image feature register 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) ...

  • Page 124: Draft

    Smart features 6-22 basler a620 f draft 6.7.7 extended version information a620 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 125: Draft

    Smart features basler a620 f 6-23 draft 6.7.8 lookup table a620 f cameras have a sensor that provides pixel data at 12 bit depth. Internally, the camera has a processing block that uses the 12 bit data to perform image correction functions and to perform the gain and offset functions. The output fro...

  • Page 126: Draft

    Smart features 6-24 basler a620 f draft please look at the next page and examine the layout of the control and status register for the lookup table smart feature. You will notice that the first two quadlets of the register include bits that allow you to check for this feature’s presence and to enabl...

  • Page 127: Draft

    Smart features basler a620 f 6-25 draft control and status register for the lookup table feature register 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 in...

  • Page 128: Draft

    Smart features 6-26 basler a620 f draft using the sff viewer to upload a lookup table the configurator window in the basler sff viewer (see section 6.4 ) includes an upload button that can be used to easily load a file containing a customized lookup table into the camera. The file must be plain text...

  • Page 129: Draft

    Smart features basler a620 f 6-27 draft 6.7.9 trigger flag and trigger counter a620 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 c...

  • Page 130: Draft

    Smart features 6-28 basler a620 f draft 6.7.10 output port configuration a620 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 131: Draft

    Smart features basler a620 f 6-29 draft control and status registers for the output port configuration feature register 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 ...

  • Page 132: Draft

    Smart features 6-30 basler a620 f draft register 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. ...

  • Page 133: Draft

    Smart features basler a620 f 6-31 draft 6.8 customized smart features the basler a620 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 134: Draft

    Smart features 6-32 basler a620 f draft.

  • Page 135: Draft

    Mechanical considerations basler a620 f 7-1 draft 7 mechanical considerations the a620 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 136: Draft

    Mechanical considerations 7-2 basler a620 f draft 7.1 camera dimensions and mounting facilities the dimensions for a620 f cameras are as shown in figure 7-1. A620 f cameras are equipped with four m3 mounting holes on the bottom and two m3 mounting holes on the top as indicated in the drawings. Figur...

  • Page 137: Draft

    Mechanical considerations basler a620 f 7-3 draft 7.2 sensor positioning accuracy the sensor positioning accuracy is as shown in figure 7-2. Figure 7-2: sensor positioning accuracy (in mm or degrees).

  • Page 138: Draft

    Mechanical considerations 7-4 basler a620 f draft.

  • Page 139: Draft

    Revision history basler a620 f i draft revision history doc. Id number date changes da00069601 22 october 2004 initial release of the a620f user’s manual da00069602 2 march 2005 added section 5 describing image data formats and structures. Moved image data format and structure information to a separ...

  • Page 140: Draft

    Revision history ii basler a620 f draft.

  • Page 141: Draft

    Feedback basler a620 f iii draft feedback your feedback will help us improve our documentation. Please click the link below to access an online feedback form. Your input is greatly appreciated. Http://www.Baslerweb.Com/umfrage/survey.Html.

  • Page 142: Draft

    Feedback iv basler a620 f draft.

  • Page 143: Draft

    Index basler a620 f v draft index a advanced features registers . . . . . . . . . . . . . . . 4-40 area of interest . . . . . . . . . . . . . . . . . . . . . . . . . 3-21 b bit depth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25 block reads and writes . . . . . . . . . . . . . ....

  • Page 144: Draft

    Index vi basler a620 f draft programmable exposure mode with a software trigger . . . . . . . . . . . . . . . . . 3-8 with an external trigger signal . . . . . . . . . . . 3-10 r registers implemented in the camera . . . . . 4-3–4-40 s sensor pixel size . . . . . . . . . . . . . . . . . . . . . . . ...