Basler Vision Technologies Sprint User Manual

Manual is about: Basler Sprint Color cameras User's manual

Summary of Sprint

  • Page 1

    Basler sprint user’s manual for color cameras document number: aw000699 version: 07 language: 000 (english) release date: 4 july 2011.

  • 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 an der 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-76...

  • Page 5

    Table of contents basler sprint color cameras i table of contents 1 specifications, requirements, and precautions . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 document applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 gener...

  • Page 6

    Table of contents ii basler sprint color cameras 2.7 input signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2.7.1 serial to camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 7

    Table of contents basler sprint color cameras iii 4.1.3 low line rate compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.1.4 guidelines when using an exsync signal . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.2 free run. . . . . . . . . . . . . . ...

  • Page 8

    Table of contents iv basler sprint color cameras 6.7 test images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 6.7.1 test image two (moving gray gradient). . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 6.7.1.1 test ima...

  • Page 9

    Table of contents basler sprint color cameras v camera version inquiry ................................................................ 233 firmware version inquiry .............................................................. 234 camera status inquiry .................................................

  • Page 10

    Table of contents vi basler sprint color cameras 7.3 using binary read/write commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 7.3.1 the binary read/write command protocol. . . . . . . . . . . . . . . . . . . . . . . . . . 282 7.3.1.1 error checking and responses ...

  • Page 11: And Precautions

    Specifications, requirements, and precautions basler sprint color cameras 1 1 specifications, requirements, and precautions this section lists the camera models covered by the manual. It provides the general specifications for each model and outlines the basic requirements for using the cameras. Thi...

  • Page 12: 1.2

    Specifications, requirements, and precautions 2 basler sprint color cameras 1.2 general specifications 1.2.1 camera models with 2k pixels for information about the combinations of parameter settings for achieving the maximum specified line rates, see table 10 on page 115 . Specification spl2048-39kc...

  • Page 13: 1.2.2

    Specifications, requirements, and precautions basler sprint color cameras 3 1.2.2 camera models with 4k pixels for information about the combinations of parameter settings for achieving the maximum specified line rates, see table 10 on page 115 . Specification spl4096-39kc spl4096-70kc sensor size 2...

  • Page 14: 1.2.3

    Specifications, requirements, and precautions 4 basler sprint color cameras 1.2.3 camera model with 8k pixels for information about the combinations of parameter settings for achieving the maximum specified line rates, see table 10 on page 115 . Specification spl8192-39kc sensor size 2 lines - 8192 ...

  • Page 15: 1.3

    Specifications, requirements, and precautions basler sprint color cameras 5 1.3 lens adapters 1.3.1 lens adapters for 2k and 4k cameras an f-mount lens adapter is standard for all cameras with 2048 pixels per line (2k cameras) and with 4096 pixels per line (4k cameras). For 4k cameras, an optional m...

  • Page 16

    Specifications, requirements, and precautions 6 basler sprint color cameras the following sections illustrate how the basler sprint 8k cameras connect to basler-specific adapters which serve as adapters for further optical components. As examples, components by schneider-kreuznach are considered. 1....

  • Page 17

    Specifications, requirements, and precautions basler sprint color cameras 7 attaching the unifoc 100/95_/_v-basler helical mount to the camera use the four m3 setscrews supplied with the camera to lock the helical mount to the camera. See figure 10 for information where to place the m3 screws. Adjus...

  • Page 18

    Specifications, requirements, and precautions 8 basler sprint color cameras 1.3.2.2 adapting with the m58 x 0.75_/_v-basler lens mount the following example illustrates the use of the m58 x 0.75_/_v-basler lens mount, connected to an assembly of further optical components, including a unifoc 76 heli...

  • Page 19

    Specifications, requirements, and precautions basler sprint color cameras 9 adjusting the assembly of optical components for a magnification of 1:0.3, the apo-componon 4.5/90 lens requires a distance of 114 mm between its flange and the cmos sensor. The distance to the cmos sensor is accounted for b...

  • Page 20: 1.4

    Specifications, requirements, and precautions 10 basler sprint color cameras 1.4 spectral response the following graphs show the spectral response for color cameras. Fig. 5: camera spectral response note the spectral response curves exclude lens characteristics and light source characteristics. To o...

  • Page 21: 1.5

    Specifications, requirements, and precautions basler sprint color cameras 11 1.5 mechanical specifications 1.5.1 camera dimensions and mounting points for 2k and 4k cameras the cameras are manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repe...

  • Page 22

    Specifications, requirements, and precautions 12 basler sprint color cameras fig. 6: mechanical dimensions (in mm; 2k and 4k cameras) 48 ±0.1 87 62 +0.2 - 0.0 48 ±0.1 Ø 55 ±0.1 photosensitive surface of the cmos sensor 4 x m4; 6 deep 4 x m4; 6 deep tolerances are typical drawings are not to scale = ...

  • Page 23: 1.5.2

    Specifications, requirements, and precautions basler sprint color cameras 13 1.5.2 sensor positioning accuracy for 2k and 4k cameras the sensor positioning accuracy is as shown in the drawings below. Fig. 7: sensor positioning accuracy (in mm unless otherwise noted; 2k and 4k cameras) 31 ±0.1 camera...

  • Page 24: 1.5.3

    Specifications, requirements, and precautions 14 basler sprint color cameras 1.5.3 sensor line location for 2k and 4k cameras the location of the lines on the sensor chip is as shown in the drawing below. Fig. 8: sensor line location (2k and 4k cameras) camera link medium / full camera link base 12 ...

  • Page 25: 1.5.4

    Specifications, requirements, and precautions basler sprint color cameras 15 1.5.4 f-mount adapter dimensions (2k and 4k cameras) fig. 9: camera with f-mount adapter attached (in mm; 2k and 4k cameras) 1.5.5 camera dimensions and mounting points for 8k cameras the cameras are manufactured with high ...

  • Page 26

    Specifications, requirements, and precautions 16 basler sprint color cameras fig. 10: mechanical dimensions (in mm; 8k cameras) 48 ±0.1 ±0.1 Ø 100 92 ±0.1 87 55 4 x m4; 6 deep 4 x m4; 6 deep = reference plane tolerances are typical drawings are not to scale photosensitive surface of the cmos sensor ...

  • Page 27: 1.5.6

    Specifications, requirements, and precautions basler sprint color cameras 17 1.5.6 sensor positioning accuracy for 8k cameras the sensor positioning accuracy is as shown in the drawings below. Fig. 11: sensor positioning accuracy (in mm unless otherwise noted; 8k cameras) 51 ±0.15 camera link medium...

  • Page 28: 1.5.7

    Specifications, requirements, and precautions 18 basler sprint color cameras 1.5.7 sensor line location for 8k cameras the location of the lines on the sensor chip is as shown in the drawing below. Fig. 12: sensor line location (8k cameras) camera link medium / full camera link base 12 vdc sensor li...

  • Page 29: 1.6

    Specifications, requirements, and precautions basler sprint color cameras 19 1.6 color creation the sensor used in the camera is equipped with an additive color separation filter known as a bayer filter. The pixel data output formats are related to the bayer pattern, so you need a basic knowledge of...

  • Page 30: 1.7

    Specifications, requirements, and precautions 20 basler sprint color cameras 1.7 environmental requirements 1.7.1 temperature and humidity housing temperature during operation: 0° c ... +50° c (+32° f ... +122° f) humidity during operation: 20% ... 80%, relative, non-condensing storage temperature: ...

  • Page 31: 1.8

    Specifications, requirements, and precautions basler sprint color cameras 21 1.8 precautions applying incorrect input power can damage the camera the nominal voltage for the camera power is 12 vdc (± 10%). We do not recommend applying a voltage less than 10.8 vdc or greater than 13.2 vdc. The camera...

  • Page 32

    Specifications, requirements, and precautions 22 basler sprint color cameras avoid dust on the sensor the 2k and 4k cameras are shipped with caps on the lens mounts. To avoid collecting dust on the camera’s sensor, make sure that the cap is always in place when there is no lens mounted on the camera...

  • Page 33

    Specifications, requirements, and precautions basler sprint color cameras 23 warranty precautions to ensure that your warranty remains in force: do not remove the camera’s serial number label if the label is removed and the serial number can’t be read from the camera’s registers, the warranty is voi...

  • Page 34

    Specifications, requirements, and precautions 24 basler sprint color cameras.

  • Page 35: 2 Physical Interface

    Physical interface basler sprint color cameras 25 2 physical interface this section describes the camera’s physical interface. It includes details about connections, input signals, and output signals. It also includes a description of how the camera link standard is implemented in the camera. Applyi...

  • Page 36: 2.1

    Physical interface 26 basler sprint color cameras 2.1 general description of the connections the camera is interfaced to external circuitry via connectors located on the back of the housing: one or two, 26-pin, 0.050 inch mini d ribbon (mdr) female connectors used to transfer pixel data, control dat...

  • Page 37: 2.2

    Physical interface basler sprint color cameras 27 2.2 connector pin assignments and numbering 2.2.1 pin assignments for the mdr connectors the pin assignments for mdr connector 1 (see figure 14 on page 26 ) are shown in table 5. The pin assignments for mdr connector 2 are shown in table 6. 1 pins 1,...

  • Page 38

    Physical interface 28 basler sprint color cameras 1 pins 1, 13, 14, and 26 are all tied to ground inside of the camera. Pin number signal name direction level function 1, 13, 14, 26 1 gnd input ground ground for the inner shield of the cable 2 y0- output camera link lvds data from the camera link tr...

  • Page 39: 2.2.2

    Physical interface basler sprint color cameras 29 2.2.2 pin assignments for the 6-pin micro-miniature receptacle the pin assignments for the 6-pin, micro-miniature, receptacle are as shown in table 7. 1 pins 1 and 2 are tied together inside of the camera. 2 pins 5 and 6 are tied together inside of t...

  • Page 40: 2.3

    Physical interface 30 basler sprint color cameras 2.3 connector types 2.3.1 26-pin connectors each 26-pin connector on the back of the camera is a female, 0.050 inch mdr connector as called for in the camera link specification. 2.3.2 6-pin connector the 6-pin connector on the camera is a hirose micr...

  • Page 41: 2.4

    Physical interface basler sprint color cameras 31 2.4 cabling requirements 2.4.1 camera link cable the mini d ribbon (mdr) cables used between the camera and your frame grabber must comply with the camera link specification. Compliant mdr cable assemblies in several different lengths are available f...

  • Page 42: 2.5

    Physical interface 32 basler sprint color cameras 2.5 camera power camera power must be supplied to the camera’s 6-pin connector via a cable from your power supply. Nominal camera power voltage is +12 vdc (± 10%) with less than one percent ripple. Power consumption is as shown in table 1 on page 2 ....

  • Page 43: 2.6

    Physical interface basler sprint color cameras 33 2.6 camera link implementation the camera uses national semiconductor ds90cr287 devices as camera link transmitters. For the camera link receivers on your frame grabber, we recommend that you use the national semiconductor ds90cr288, the national sem...

  • Page 44

    Physical interface 34 basler sprint color cameras fi g. 16 : camera /fra me grabb er interface.

  • Page 45: 2.7

    Physical interface basler sprint color cameras 35 2.7 input signals the camera’s input signals include a sertc signal and an exsync signal as described below. 2.7.1 serial to camera the serial to camera (sertc) input signal is an rs-644 lvds signal as specified in the camera link standard. The signa...

  • Page 46: 2.8

    Physical interface 36 basler sprint color cameras 2.8 output signals data is output from the camera in accordance with the camera link standard. The camera’s output signals include pixel data qualifiers such as frame valid, line valid, and data valid, pixel data, a camera link clock signal, and a se...

  • Page 47: 2.8.2

    Physical interface basler sprint color cameras 37 2.8.2 line valid bit as shown in figure 16 on page 34 , a line valid (lval) bit is assigned to the tx24 pin on the x, y, and z camera link transmitters as defined in the camera link standard. The line valid bit included in the video data output from ...

  • Page 48: 2.8.5

    Physical interface 38 basler sprint color cameras 2.8.5 camera link pixel clock as shown in figure 16 on page 34 , the camera link clock signal is assigned to the strobe port (txclkin pin) on the x, y, and z camera link transmitters as defined in the camera link standard. The camera link clock is us...

  • Page 49: 2.8.6

    Physical interface basler sprint color cameras 39 2.8.6 serial to frame grabber the serial to frame grabber (sertfg) output signal is an rs-644 lvds signal as specified in the camera link standard. The signal is output from the camera on pins 8 and 21 of mdr connector one as specified in the standar...

  • Page 50: 2.9

    Physical interface 40 basler sprint color cameras 2.9 rs-644 serial communication the camera is equipped for rs-644 serial communication via a serial port integrated into the frame grabber as specified in the camera link standard. The rs-644 serial connection in the camera link interface is used to ...

  • Page 51: 3 Line Acquisition Modes

    Line acquisition modes basler sprint color cameras 41 3 line acquisition modes 3.1 introduction several different methods can be used to acquire (capture) lines with the sensor in the camera. Each of these different methods is referred to as a line acquisition mode. The line acquisition modes includ...

  • Page 52: 3.2

    Line acquisition modes 42 basler sprint color cameras 3.2 rgb line acquisition mode the rgb line acquisition mode provides rgb pixel values of virtual pixels (see below), based on "red", "green", and "blue" pixel values of the individual pixels of the sensor. For imaging, a sensor is used, where eac...

  • Page 53

    Line acquisition modes basler sprint color cameras 43 "red" pixel value of virtual pixel 2 (r2). The "green" value for pixel 4 in line a (ga4) and the "green" value for pixel 3 in line b (gb3) will be added and the total will be divided by 2 (and rounded up if necessary). The averaged "green" values...

  • Page 54: 3.2.1

    Line acquisition modes 44 basler sprint color cameras 3.2.1 pixel value transmission for the rgb line acquisition mode for the rgb line acquisition mode, you can select a 2, 3, 4, 6, or 8 tap video output mode for transmitting pixel data, at bit depths of 8, 10, or 12. The assignment of pixel data b...

  • Page 55

    Line acquisition modes basler sprint color cameras 45 3.2.1.1 2 tap output mode pixel data and dummy data are transmitted in an alternating fashion on the d1 tap. R 4 r 1 b n b 3 r n - 2 b n - 3 b 2 b 1 r 2 r n b n - 1 r n - 1 b n - 2 gav 1 gav 4 gav 3 gav 2 gav n - 2 gav n gav n - 1 r 3 fig. 18: tw...

  • Page 56

    Line acquisition modes 46 basler sprint color cameras 3.2.1.2 3 tap output mode r 7 r 1 r n r 6 r n - 5 r n - 6 r 4 r 2 r 3 r n - 1 r n - 2 r n - 3 r n - 4 gav 1 gav 7 gav 6 gav 2 gav 5 gav 3 gav 4 gav n gav n - 5 gav n - 6 gav n - 1 gav n - 2 gav n - 3 gav n - 4 b 7 b 1 b n b 6 b n - 5 b n - 6 b 2 ...

  • Page 57

    Line acquisition modes basler sprint color cameras 47 3.2.1.3 4 tap output mode dummy data are transmitted on the d3 tap. R 7 r 1 r n r 6 r n - 5 r n - 6 r 4 r 2 r 3 r n - 1 r n - 2 r n - 3 r n - 4 gav 1 gav 7 gav 6 gav 2 gav 5 gav 3 gav 4 gav n gav n - 5 gav n - 6 gav n - 1 gav n - 2 gav n - 3 gav ...

  • Page 58

    Line acquisition modes 48 basler sprint color cameras 3.2.1.4 6 tap output mode r 13 r 1 r n - 1 r 11 r n - 11 r n - 13 r 7 r 3 r 5 r n - 3 r n - 5 r n - 7 r n - 9 gav 1 gav 13 gav 11 gav 3 gav 9 gav 5 gav 7 g a v n - 1 g a v n - 11 g a v n - 13 g a v n - 3 g a v n - 5 g a v n - 7 g a v n - 9 b 13 b...

  • Page 59

    Line acquisition modes basler sprint color cameras 49 3.2.1.5 8 tap output mode dummy data are transmitted on the d3 and d7 taps. R 13 r 1 r n - 1 r 11 r n - 11 r n - 13 r 7 r 3 r 5 r n - 3 r n - 5 r n - 7 r n - 9 gav 1 gav 13 gav 11 gav 3 gav 9 gav 5 gav 7 gav n - 1 gav n - 11 gav n - 13 gav n - 3 ...

  • Page 60: 3.3

    Line acquisition modes 50 basler sprint color cameras 3.3 raw line acquisition mode the raw line acquisition mode provides either a raw "red", a raw "green", or a raw "blue" pixel value for each point of an imaged object. For imaging, a sensor is used, where each individual pixel is covered by a fil...

  • Page 61: 3.3.1

    Line acquisition modes basler sprint color cameras 51 3.3.1 raw - line a first line acquisition mode the raw - line a first line acquisition mode is analogous to the raw - line b first line acquisition mode (see section 3.3.2 on page 60 ), with the roles of lines a and b interchanged. In the raw - l...

  • Page 62

    Line acquisition modes 52 basler sprint color cameras fig. 23: raw - line a first line acquisition - exsync cycle 1 exsync cycle 1 drawing not to scale line a line b object passing camera movement point 4 point 3 point 2 point 1 buffer b2 image of point 2, acquired by line b a1: image of point 1 acq...

  • Page 63

    Line acquisition modes basler sprint color cameras 53 fig. 24: raw - line a first line acquisition - exsync cycle 2 exsync cycle 2 line a line b object passing camera movement point 4 point 3 point 2 point 1 drawing not to scale buffer b2: image of point 2 acquired by line b.

  • Page 64

    Line acquisition modes 54 basler sprint color cameras fig. 25: raw - line a first line acquisition - exsync cycle 3 exsync cycle 3 line a line b object passing camera movement point 4 point 3 point 2 point 1 drawing not to scale buffer b4 image of point 4, acquired by line b a3: image of point 3 acq...

  • Page 65

    Line acquisition modes basler sprint color cameras 55 fig. 26: raw - line a first line acquisition - exsync cycle 4 exsync cycle 4 line a line b object passing camera movement point 4 point 3 point 2 point 1 drawing not to scale buffer b4: image of point 4 acquired by line b.

  • Page 66

    Line acquisition modes 56 basler sprint color cameras before transmission, the pixel values are arranged inside the camera in this sequence: line a: pixel value ("red") of pixel 1 (ra1), pixel value ("green") of pixel 2 (ga2), pixel value ("red") of pixel 3 (ra3), pixel value ("green") of pixel 4 (g...

  • Page 67

    Line acquisition modes basler sprint color cameras 57 2 tap output mode ra 1 gb n -1 ra 3 ra n-3 gb n - 3 gb 3 gb 1 ra n-1 bb n bb n - 2 bb 4 bb 2 ga 2 ga 4 ga n-2 ga n fig. 27: two tap mode with edge/level controlled or programmed exposure (raw - line a first) exsync signal d0 pixel data (12, 10, o...

  • Page 68

    Line acquisition modes 58 basler sprint color cameras 4 tap output mode ra 1 gb n - 3 ra 5 ra n-7 gb n - 7 gb 5 gb 1 ra n-3 bb n - 2 bb n - 6 bb 6 bb 2 ga 2 ga 6 ga n-6 ga n-2 ra 3 gb n - 1 ra 7 ra n-5 gb n - 5 gb 7 gb 3 ra n-1 bb n bb n - 4 bb 8 bb 4 ga 4 ga 8 ga n-4 ga n fig. 28: four tap mode wit...

  • Page 69

    Line acquisition modes basler sprint color cameras 59 8 tap output mode ra 1 gb n - 7 ra 9 ra n-15 gb n - 15 gb 9 gb 1 ra n-7 bb n - 6 bb n - 14 bb 10 bb 2 ga 2 ga 10 ga n-14 ga n-6 ra 3 gb n - 5 ra 11 ra n-13 gb n - 13 gb 11 gb 3 ra n-5 ra 5 gb n - 3 ra 13 ra n-11 gb n - 11 gb 13 gb 5 ra n-3 ra 7 g...

  • Page 70: 3.3.2

    Line acquisition modes 60 basler sprint color cameras 3.3.2 raw - line b first line acquisition mode (2k and 4k cameras only) the raw - line b first line acquisition mode is analogous to the raw - line a first line acquisition mode (see section 3.3.1 on page 51 ), with the roles of lines a and b int...

  • Page 71

    Line acquisition modes basler sprint color cameras 61 fig. 30: raw - line b first line acquisition - exsync cycle 1 exsync cycle 1 drawing not to scale line a line b object passing camera movement point 1 point 2 point 3 point 4 buffer a2 image of point 2, acquired by line a b1: image of point 1 acq...

  • Page 72

    Line acquisition modes 62 basler sprint color cameras fig. 31: raw - line b first line acquisition - exsync cycle 2 exsync cycle 2 drawing not to scale buffer a2: image of point 2 acquired by line a line a line b object passing camera movement point 1 point 2 point 3 point 4.

  • Page 73

    Line acquisition modes basler sprint color cameras 63 fig. 32: raw - line b first line acquisition - exsync cycle 3 exsync cycle 3 drawing not to scale line a line b object passing camera movement point 1 point 2 point 3 point 4 buffer a4 image of point 4, acquired by line a b3: image of point 3 acq...

  • Page 74

    Line acquisition modes 64 basler sprint color cameras fig. 33: raw - line b first line acquisition - exsync cycle 4 exsync cycle 4 drawing not to scale line a line b object passing camera movement point 1 point 2 point 3 point 4 buffer a4: image of point 4 acquired by line a.

  • Page 75

    Line acquisition modes basler sprint color cameras 65 before transmission, the pixel values are arranged inside the camera in this sequence: line a: pixel value ("red") of pixel 1 (ra1), pixel value ("green") of pixel 2 (ga2), pixel value ("red") of pixel 3 (ra3), pixel value ("green") of pixel 4 (g...

  • Page 76

    Line acquisition modes 66 basler sprint color cameras 2 tap output mode gb n -1 gb n - 3 gb 3 gb 1 bb n bb n - 2 bb 4 bb 2 ra 1 ra 3 ra n-3 ra n-1 ga 2 ga 4 ga n-2 ga n fig. 34: two tap mode with edge/level controlled or programmed exposure (raw - line b first) exsync signal d0 pixel data (12, 10, o...

  • Page 77

    Line acquisition modes basler sprint color cameras 67 4 tap output mode gb n - 3 gb n - 7 gb 5 gb 1 bb n - 2 bb n - 6 bb 6 bb 2 gb n - 1 gb n - 5 gb 7 gb 3 bb n bb n - 4 bb 8 bb 4 ra 1 ra 5 ra n-7 ra n-3 ga 2 ga 6 ga n-6 ga n-2 ra 3 ra 7 ra n-5 ra n-1 ga 4 ga 8 ga n-4 ga n fig. 35: four tap mode wit...

  • Page 78

    Line acquisition modes 68 basler sprint color cameras 8 tap output mode gb n - 7 gb n - 15 gb 9 gb 1 bb n - 6 bb n - 14 bb 10 bb 2 gb n - 5 gb n - 13 gb 11 gb 3 gb n - 3 gb n - 11 gb 13 gb 5 gb n - 1 gb n - 9 gb 15 gb 7 bb n - 4 bb n - 12 bb 12 bb 4 bb n - 2 bb n - 10 bb 14 bb 6 bb n bb n - 8 bb 16 ...

  • Page 79: 3.4

    Line acquisition modes basler sprint color cameras 69 3.4 enhanced raw line acquisition mode the enhanced raw line acquisition mode provides a raw "green" pixel value for each point of an imaged object and, in addition, either a raw "red" or a raw "blue" pixel value. Accordingly, each point of the o...

  • Page 80: 3.4.1

    Line acquisition modes 70 basler sprint color cameras 3.4.1 enhanced raw - line a first (b delayed) line acquisition mode the enhanced raw - line a first (b delayed) line acquisition mode is analogous to the enhanced raw - line b first (a delayed) line acquisition mode (see section 3.4.2 on page 82 ...

  • Page 81

    Line acquisition modes basler sprint color cameras 71 exposure time you are using will apply to both lines. Time the start of pixel data readout for both lines. Time the start of transmission of line a pixel data. The values from line b are held in a buffer in the camera. Their output will be delaye...

  • Page 82

    Line acquisition modes 72 basler sprint color cameras fig. 37: enhanced raw - line a first (b delayed) line acquisition - exsync cycle 1: start-up situation line a line b object passing camera movement exsync cycle 1 drawing not to scale point 3 point 2 point 1 lower buffer b1 image of point 1, acqu...

  • Page 83

    Line acquisition modes basler sprint color cameras 73 fig. 38: enhanced raw - line a first (b delayed) line acquisition - exsync cycle 2: start-up situation exsync cycle 2 line a line b object passing camera movement drawing not to scale point 3 point 2 point 1 lower buffer b1 image of point 1, acqu...

  • Page 84

    Line acquisition modes 74 basler sprint color cameras fig. 39: enhanced raw - line a first (b delayed) line acquisition - exsync cycle 3 exsync cycle 3 line a line b object passing camera movement drawing not to scale point 3 point 2 point 1 lower buffer b1 image of point 1, acquired by line b upper...

  • Page 85

    Line acquisition modes basler sprint color cameras 75 fig. 40: enhanced raw - line a first (b delayed) line acquisition - exsync cycle 4 exsync cycle 4 line a line b object passing camera movement drawing not to scale point 3 point 2 point 1 lower buffer upper buffer b2 image of point 2, acquired by...

  • Page 86

    Line acquisition modes 76 basler sprint color cameras fig. 41: enhanced raw - line a first (b delayed) line acquisition - exsync cycle 5 exsync cycle 5 line a line b object passing camera movement drawing not to scale point 3 point 2 point 1 lower buffer b3 image of point 3, acquired by line b upper...

  • Page 87

    Line acquisition modes basler sprint color cameras 77 fig. 42: enhanced raw - line a first (b delayed) - line acquisition - exsync cycle 6 exsync cycle 6 line a line b object passing camera movement drawing not to scale point 3 point 2 point 1 lower buffer b3 image of point 3, acquired by line b upp...

  • Page 88

    Line acquisition modes 78 basler sprint color cameras before transmission, the pixel values are arranged inside the camera in this sequence: line a: pixel value ("red") of pixel 1 (ra1), pixel value ("green") of pixel 2 (ga2), pixel value ("red") of pixel 3 (ra3), pixel value ("green") of pixel 4 (g...

  • Page 89

    Line acquisition modes basler sprint color cameras 79 2 tap output mode ra 1 gb n -1 ra 3 ra n-3 gb n - 3 gb 3 gb 1 ra n-1 bb n bb n - 2 bb 4 bb 2 ga 2 ga 4 ga n-2 ga n fig. 43: two tap mode with edge/level controlled or programmed exposure (enhanced raw - line a first) exsync signal d0 pixel data (...

  • Page 90

    Line acquisition modes 80 basler sprint color cameras 4 tap output mode ra 1 gb n - 3 ra 5 ra n-7 gb n - 7 gb 5 gb 1 ra n-3 bb n - 2 bb n - 6 bb 6 bb 2 ga 2 ga 6 ga n-6 ga n-2 ra 3 gb n - 1 ra 7 ra n-5 gb n - 5 gb 7 gb 3 ra n-1 bb n bb n - 4 bb 8 bb 4 ga 4 ga 8 ga n-4 ga n fig. 44: four tap mode wit...

  • Page 91

    Line acquisition modes basler sprint color cameras 81 8 tap output mode ra 1 gb n - 7 ra 9 ra n-15 gb n - 15 gb 9 gb 1 ra n-7 bb n - 6 bb n - 14 bb 10 bb 2 ga 2 ga 10 ga n-14 ga n-6 ra 3 gb n - 5 ra 11 ra n-13 gb n - 13 gb 11 gb 3 ra n-5 ra 5 gb n - 3 ra 13 ra n-11 gb n - 11 gb 13 gb 5 ra n-3 ra 7 g...

  • Page 92: 3.4.2

    Line acquisition modes 82 basler sprint color cameras 3.4.2 enhanced raw - line b first (a delayed) line acquisition mode (2k and 4k cameras only) the enhanced raw - line b first (a delayed) line acquisition mode is analogous to the enhanced raw - line a first (b delayed) line acquisition mode (see ...

  • Page 93

    Line acquisition modes basler sprint color cameras 83 exposure time you are using will apply to both lines. Time the start of pixel data readout for both lines. Time the start of transmission of line b pixel data. The values from line a are held in a buffer in the camera. Their output will be delaye...

  • Page 94

    Line acquisition modes 84 basler sprint color cameras fig. 45: enhanced raw - line b first (a delayed) line acquisition - exsync cycle 1: start-up situation line a line b exsync cycle 1 drawing not to scale lower buffer a1 image of point 1, acquired by line a upper buffer garbage garbage object pass...

  • Page 95

    Line acquisition modes basler sprint color cameras 85 fig. 46: enhanced raw - line b first (a delayed) line acquisition - exsync cycle 2: start-up situation exsync cycle 2 line a line b drawing not to scale lower buffer a1 image of point 1, acquired by line a upper buffer garbage object passing came...

  • Page 96

    Line acquisition modes 86 basler sprint color cameras fig. 47: enhanced raw - line b first (a delayed) line acquisition - exsync cycle 3 exsync cycle 3 line a line b drawing not to scale lower buffer a1 image of point 1, acquired by line a upper buffer a2 image of point 2, acquired by line a b1: ima...

  • Page 97

    Line acquisition modes basler sprint color cameras 87 fig. 48: enhanced raw - line b first (a delayed) line acquisition - exsync cycle 4 exsync cycle 4 line a line b drawing not to scale lower buffer upper buffer a2 image of point 2, acquired by line a a1: image of point 1 acquired by line a object ...

  • Page 98

    Line acquisition modes 88 basler sprint color cameras fig. 49: enhanced raw - line b first (a delayed) line acquisition - exsync cycle 5 exsync cycle 5 line a line b drawing not to scale lower buffer a3 image of point 3, acquired by line a upper buffer a2 image of point 2, acquired by line a b2: ima...

  • Page 99

    Line acquisition modes basler sprint color cameras 89 fig. 50: enhanced raw - line b first (a delayed) - line acquisition - exsync cycle 6 exsync cycle 6 line a line b drawing not to scale lower buffer a3 image of point 3, acquired by line a upper buffer a2: image of point 2 acquired by line a objec...

  • Page 100

    Line acquisition modes 90 basler sprint color cameras 3.4.2.1 pixel value transmission for the enhanced raw - line b first line acquisition mode for the enhanced raw - line b first line acquisition mode, you can select a 2, 4, or 8 tap video output mode for transmitting pixel data, at bit depths of ...

  • Page 101

    Line acquisition modes basler sprint color cameras 91 2 tap output mode ra 1 ra 3 ra n-3 ra n-1 ga 2 ga 4 ga n-2 ga n gb n -1 gb n - 3 gb 3 gb 1 bb n bb n - 2 bb 4 bb 2 fig. 51: two tap mode with edge/level controlled or programmed exposure (enhanced raw - line b first) exsync signal d0 pixel data (...

  • Page 102

    Line acquisition modes 92 basler sprint color cameras 4 tap output mode gb n - 3 gb n - 7 gb 5 gb 1 bb n - 2 bb n - 6 bb 6 bb 2 gb n - 1 gb n - 5 gb 7 gb 3 bb n bb n - 4 bb 8 bb 4 ra 1 ra 5 ra n-7 ra n-3 ga 2 ga 6 ga n-6 ga n-2 ra 3 ra 7 ra n-5 ra n-1 ga 4 ga 8 ga n-4 ga n fig. 52: four tap mode wit...

  • Page 103

    Line acquisition modes basler sprint color cameras 93 8 tap output mode gb n - 7 gb n - 15 gb 9 gb 1 bb n - 6 bb n - 14 bb 10 bb 2 gb n - 5 gb n - 13 gb 11 gb 3 gb n - 3 gb n - 11 gb 13 gb 5 gb n - 1 gb n - 9 gb 15 gb 7 bb n - 4 bb n - 12 bb 12 bb 4 bb n - 2 bb n - 10 bb 14 bb 6 bb n bb n - 8 bb 16 ...

  • Page 104: 3.5

    Line acquisition modes 94 basler sprint color cameras 3.5 operating recommendations 3.5.1 camera operating recommendations to achieve the best results, certain operating requirements should be met. Exposure start should be triggered by an exsync signal (see chapter 4 on page 99 ). Use of the program...

  • Page 105: 3.5.3

    Line acquisition modes basler sprint color cameras 95 sensor-conveyor parallelism the face of the sensor in the camera and the surface of the conveyor should be in parallel planes. This condition should be met to ensure that all of the pixels in the sensor lines view the object at the same magnifica...

  • Page 106

    Line acquisition modes 96 basler sprint color cameras step 3 - calculate the number of encoder steps needed to move the conveyor 0.2083 mm. Since the encoder only counts in whole steps, we have two options. We can move the conveyor enough to generate 2 encoder steps or we can move the conveyor enoug...

  • Page 107

    Line acquisition modes basler sprint color cameras 97 β = 1 : 27.03 calculate the width of conveyor that will be viewed by each sensor line at this magnification: 40.96 mm x 27.03 = 1102.92 mm if you choose to use 2 encoder steps to move the image 10 µm, you will require a 1 : 17.86 magnification an...

  • Page 108

    Line acquisition modes 98 basler sprint color cameras.

  • Page 109: Time Control

    Exposure start and exposure time control basler sprint color cameras 99 4 exposure start and exposure time control this section describes the methods that can be used to trigger the start of exposure and control the length of exposure for each acquisition. Exposure start and exposure time can be con...

  • Page 110

    Exposure start and exposure time control 100 basler sprint color cameras signal (rising edge to rising edge). The falling edge of the exsync signal is irrelevant. The pixel values read out of the sensor on the rising edge of exsync (see figure 53). Fig. 53: exsync edge controlled mode in exsync leve...

  • Page 111: 4.1.2

    Exposure start and exposure time control basler sprint color cameras 101 4.1.2 selecting an exsync exposure mode and setting the exposure time you can select an exsync exposure time control mode and set the exposure time for the exsync programmable mode with the camera configuration tool plus (cct+)...

  • Page 112: 4.1.3

    Exposure start and exposure time control 102 basler sprint color cameras 4.1.3 low line rate compensation the low line rate compensation mode automatically operates when low line rates are used. The mode repeatedly reads out the sensor and discards the pixel data to ensure that a completely read out...

  • Page 113

    Exposure start and exposure time control basler sprint color cameras 103 exposure start delay in the exsync edge controlled and exsync programmable exposure modes, there is a slight delay between the rise of the exsync signal and the actual start of exposure. In the exsync level controlled mode, the...

  • Page 114: 4.2

    Exposure start and exposure time control 104 basler sprint color cameras 4.2 free run 4.2.1 basics of free run controlled operation in free run, an exsync signal is not required. The camera generates its own internal control signal based on two programmable parameters, “line period” and “exposure ti...

  • Page 115: 4.2.2

    Exposure start and exposure time control basler sprint color cameras 105 in free run programmable mode, line acquisition begins on the rising edge of the exsyc signal. The pixels are exposed and charge is accumulated when the internal control signal is low. The pixel values are read out of the senso...

  • Page 116: 4.2.3

    Exposure start and exposure time control 106 basler sprint color cameras by setting csrs you select the exposure time control mode by writing the appropriate value to the mode field of the exposure time control mode csr (see page 242 ). You set the line period by writing a value in µs to the absolut...

  • Page 117: 4.3

    Exposure start and exposure time control basler sprint color cameras 107 4.3 maximum allowed line rate / minimum line period in general, the maximum allowed line acquisition rate can be limited by four factors: the exposure time for the acquired lines. If you use long exposure times, you can acquire...

  • Page 118

    Exposure start and exposure time control 108 basler sprint color cameras value will determine the maximum allowed line rate with the current settings. (in other words, the factor that restricts the line rate the most will determine the maximum allowed line capture rate.) formula 1 calculates the max...

  • Page 119: 4.3.1

    Exposure start and exposure time control basler sprint color cameras 109 formula 4 calculates the maximum line rate based on the amount of time it takes to transmit the pixel data for an acquired line from the camera to the host pc: where: cl clk is the camera link clock speed for your camera model ...

  • Page 120

    Exposure start and exposure time control 110 basler sprint color cameras when you are setting up the aoi on a camera with two segments (4096 pixels) in each line, the pixels within the aoi may all fall into one segment. Or, the aoi could be positioned so that some of the pixels in the aoi fall into ...

  • Page 121

    Exposure start and exposure time control basler sprint color cameras 111 note if you have set an aoi to extend over two adjacent sensor segments and to use each sensor segment only partially, the max seg aoi pixels will be smallest when the aoi is evenly divided across the two segments (i.E., each s...

  • Page 122: 4.3.2

    Exposure start and exposure time control 112 basler sprint color cameras 4.3.2 example of calculating the maximum allowed line rate / minimum line period assume that you are working with an spl4096-70kc. Also assume that the camera is set for the raw line acquisition mode, 80 mhz camera link clock s...

  • Page 123

    Exposure start and exposure time control basler sprint color cameras 113 formula 3: max lines / s = 120833 formula 4: max lines / s = 256410 formula 3 returns the lowest value. So with the current camera settings, the maximum allowed line rate would be 120833 lines per second. The minimum allowed li...

  • Page 124: 4.3.3

    Exposure start and exposure time control 114 basler sprint color cameras 4.3.3 increasing the maximum allowed line rate you may find that you would like to acquire lines at a rate higher than the maximum allowed with your current camera settings. If this is the case, you must first use the four form...

  • Page 125

    Exposure start and exposure time control basler sprint color cameras 115 resolution for any 4 tap video data output mode, combined with 40 or 80 mhz pixel clock speed and raw or enhanced raw line acquisition mode. You can obtain the maximum specified line rate at full resolution for the 6 tap video ...

  • Page 126

    Exposure start and exposure time control 116 basler sprint color cameras.

  • Page 127: 5 Video Data Output Modes

    Video data output modes basler sprint color cameras 117 5 video data output modes this section describes the video data output modes available on the camera. The video data output mode will determine the format of the pixel data output from the camera and will affect the camera’s maximum allowed lin...

  • Page 128

    Video data output modes 118 basler sprint color cameras for information about the camera settings to obtain the maximum specified line rate of the camera, see section 4.3.4 on page 114 model video data outmode modes camera link clock speed(s) spl2048-39kc 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 ...

  • Page 129: 5.1.1

    Video data output modes basler sprint color cameras 119 5.1.1 setting the video data output mode you can set the video data output mode with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control and status registers (...

  • Page 130: 5.2

    Video data output modes 120 basler sprint color cameras 5.2 video data output mode details the following delays are given in this section: line valid delays for the rgb line acquisition mode (see figure 18 on page 45 through figure 22 on page 49 ) frame valid delays for the raw and enhanced raw line...

  • Page 131: 5.2.1

    Video data output modes basler sprint color cameras 121 5.2.1 2 tap output modes 2 tap - 12 bit output mode in 2 tap 12 bit mode, on each pixel clock cycle, the camera transmits data for two pixels at 12 bit depth, a line valid bit, and a data valid bit. In the raw and enhanced raw line acquisition ...

  • Page 132

    Video data output modes 122 basler sprint color cameras video data sequence for 2 tap output modes the following assumes that the raw or enhanced raw line acquisition mode is selected where a frame valid signal is transmitted. If the rgb line acquisition mode is selected, the frame valid signal will...

  • Page 133

    Video data output modes basler sprint color cameras 123 *: present for the raw and enhanced raw line acquisition modes only. Mdr conn. 1, transmitter x port camera frame grabber bit assignment 2 tap - 12 bit 2 tap - 10 bit 2 tap - 8 bit port a0 txin0 rxout0 d0 bit 0 d0 bit 0 d0 bit 0 port a1 txin1 r...

  • Page 134

    Video data output modes 124 basler sprint color cameras the tables below show the following delays when the camera is set for full resolution and 2 tap video data output mode: line valid delays for the rgb line acquisition mode (see figure 18 on page 45 ) frame valid delays for the raw and enhanced ...

  • Page 135

    Video data output modes basler sprint color cameras 125 4k cameras frame valid delay for the raw line acquisition mode - 80 mhz min. Max. Programmable 2.97 µs 3.09 µs edge controlled exposur 2.97 µs 3.09 µs level controlled exposure 2.97 µs 3.09 µs frame valid delay for the enhanced raw line acquisi...

  • Page 136

    Video data output modes 126 basler sprint color cameras frame valid delay for the enhanced raw line acquisition mode - 40 mhz min. Max. Programmable 3.17 µs 3.33 µs edge controlled exposure 3.17 µs 3.33 µs level controlled exposure 3.18 µs 3.33 µs line valid delay for the rgb line acquisition mode -...

  • Page 137

    Video data output modes basler sprint color cameras 127 8k camera line valid/frame valid delays for 2 tap modes - 8k camera line valid delay for the rgb line acquisition mode - 40 mhz min. Max. Programmable 3.08 µs 3.22 µs edge controlled exposure 3.13 µs 3.27 µs level controlled exposure 3.08 µs 3....

  • Page 138

    Video data output modes 128 basler sprint color cameras frame valid delay for the enhanced raw line acquisition mode - 80 mhz min. Max. Programmable 3.10 µs 3.21 µs edge controlled exposure 3.10 µs 3.21 µs level controlled exposure 3.10 µs 3.21 µs line valid/frame valid delays for 2 tap modes - 8k c...

  • Page 139: 5.2.2

    Video data output modes basler sprint color cameras 129 5.2.2 3 tap output modes 3 tap - 10 bit output mode in 3 tap 10 bit mode, on each pixel clock cycle, the camera transmits data for three pixels at 10 bit depth, a line valid bit, and a data valid bit. In the 3 tap output modes, the camera uses ...

  • Page 140

    Video data output modes 130 basler sprint color cameras video data sequence for 3 tap output modes when the camera is not transmitting valid data, the line valid and data valid bits sent on each cycle of the pixel clock will be low. Once the camera has completed an exposure, there will be a delay wh...

  • Page 141

    Video data output modes basler sprint color cameras 131 mdr conn. 1, transmitter x port camera frame grabber bit assignment 3 tap - 10 bit 3 tap - 8 bit port a0 txin0 rxout0 d0 bit 0 d0 bit 0 port a1 txin1 rxout1 d0 bit 1 d0 bit 1 port a2 txin2 rxout2 d0 bit 2 d0 bit 2 port a3 txin3 rxout3 d0 bit 3 ...

  • Page 142

    Video data output modes 132 basler sprint color cameras mdr conn 2, transmitter y port camera frame grabber bit assignment 3 tap - 10 bit port d0 txin0 rxout0 not used port d1 txin1 rxout1 not used port d2 txin2 rxout2 not used port d3 txin3 rxout3 not used port d4 txin4 rxout4 not used port d5 txin...

  • Page 143

    Video data output modes basler sprint color cameras 133 the tables below show the line valid delays for the rgb line acquisition mode (see figure 19 on page 46 ) when the camera is set for full resolution and 3 tap video data output mode. Note that the delays depend on the line acquisition mode sett...

  • Page 144

    Video data output modes 134 basler sprint color cameras 4k cameras 8k camera line valid delays for 3 tap modes - 4k cameras line valid delay for the rgb line acquisition mode - 40 mhz min. Max. Programmable 3.10 µs 3.23 µs edge controlled exposure 3.15 µs 3.28 µs level controlled exposure 3.10 µs 3....

  • Page 145: 5.2.3

    Video data output modes basler sprint color cameras 135 5.2.3 4 tap output modes 4 tap - 12 bit output mode in 4 tap 12 bit mode, on each pixel clock cycle, the camera transmits data for four pixels at 12 bit depth, a line valid bit and a data valid bit. In the raw and enhanced raw line acquisition ...

  • Page 146

    Video data output modes 136 basler sprint color cameras video data sequence for 4 tap modes the following assumes that the raw or enhanced raw line acquisition mode is selected where a frame valid signal is transmitted. If the rgb line acquisition mode is selected, the frame valid signal will not be...

  • Page 147

    Video data output modes basler sprint color cameras 137 *: present for the raw and enhanced raw line acquisition modes only. Mdr conn. 1, transmitter x port camera frame grabber bit assignment 4 tap - 12 bit 4 tap - 10 bit 4 tap - 8 bit port a0 txin0 rxout0 d0 bit 0 d0 bit 0 d0 bit 0 port a1 txin1 r...

  • Page 148

    Video data output modes 138 basler sprint color cameras *: present for the raw and enhanced raw line acquisition modes only. Mdr conn 2, transmitter y port camera frame grabber bit assignment 4 tap - 12 bit 4 tap - 10 bit 4 tap - 8 bit port d0 txin0 rxout0 d3 bit 0 d3 bit 0 d3 bit 0 port d1 txin1 rx...

  • Page 149

    Video data output modes basler sprint color cameras 139 the tables below show the following delays when the camera is set for full resolution and 4 tap video data output mode: line valid delays for the rgb line acquisition mode (see figure 20 on page 47 ) frame valid delays for the raw and enhanced ...

  • Page 150

    Video data output modes 140 basler sprint color cameras 4k cameras s line valid/frame valid delays for 4 tap modes - 4k cameras line valid delay for the rgb line acquisition mode - 40 mhz min. Max. Programmable 3.10 µs 3.23 µs edge controlled exposure 3.15 µs 3.28 µs level controlled exposure 3.10 µ...

  • Page 151

    Video data output modes basler sprint color cameras 141 8k camera frame valid delay for the enhanced raw line acquisition mode - 80 mhz min. Max. Programmable 9.45 µs 9.57 µs edge controlled exposure 9.45 µs 9.57 µs level controlled exposure 9.45 µs 9.57 µs line valid/frame valid delays for 4 tap mo...

  • Page 152

    Video data output modes 142 basler sprint color cameras line valid delay for the rgb line acquisition mode - 80 mhz min. Max. Programmable 6.45 µs 6.55 µs edge controlled exposure 6.80 µs 6.90 µs level controlled exposure 6.45 µs 6.55 µs frame valid delay for the raw line acquisition mode - 80 mhz m...

  • Page 153: 5.2.4

    Video data output modes basler sprint color cameras 143 5.2.4 6 tap output mode 6 tap - 8 bit output mode in 6 tap 8 bit mode, on each pixel clock cycle, the camera transmits data for six pixels at 8 bit depth, a line valid bit, and a data valid bit. In the 6 tap output mode, the camera uses the out...

  • Page 154

    Video data output modes 144 basler sprint color cameras video data sequence for 6 tap output mode when the camera is not transmitting valid data, the line valid and data valid bits sent on each cycle of the pixel clock will be low. Once the camera has completed an exposure, there will be a delay whi...

  • Page 155

    Video data output modes basler sprint color cameras 145 mdr conn. 1, transmitter x port camera frame grabber bit assignment 6 tap - 8 bit port a0 txin0 rxout0 d0 bit 0 port a1 txin1 rxout1 d0 bit 1 port a2 txin2 rxout2 d0 bit 2 port a3 txin3 rxout3 d0 bit 3 port a4 txin4 rxout4 d0 bit 4 port a5 txin...

  • Page 156

    Video data output modes 146 basler sprint color cameras mdr conn 2, transmitter y port camera frame grabber bit assignment 6 tap - 8 bit port d0 txin0 rxout0 d3 bit 0 port d1 txin1 rxout1 d3 bit 1 port d2 txin2 rxout2 d3 bit 2 port d3 txin3 rxout3 d3 bit 3 port d4 txin4 rxout4 d3 bit 4 port d5 txin6...

  • Page 157

    Video data output modes basler sprint color cameras 147 the tables below show the line valid delays for the rgb line acquisition mode (see figure 21 on page 48 ) when the camera is set for full resolution and 6 tap video data output mode. Note that the delays depend on the line acquisition mode sett...

  • Page 158

    Video data output modes 148 basler sprint color cameras 8k camera line valid delays for 6 tap mode - 8k camera line valid delay for the rgb line acquisition mode - 40 mhz min. Max. Programmable 6.63 µs 6.76 µs edge controlled exposure 6.98 µs 7.11 µs level controlled exposure 6.63 µs 6.76 µs line va...

  • Page 159: 5.2.5

    Video data output modes basler sprint color cameras 149 5.2.5 8 tap output mode 8 tap - 8 bit output mode in 8 tap 8 bit output mode, on each pixel clock cycle, the camera transmits data for eight pixels at 8 bit depth, a line valid bit and a data valid bit. In the raw and enhanced raw line acquisit...

  • Page 160

    Video data output modes 150 basler sprint color cameras video data sequence for 8 tap 8 bit mode the following assumes that the raw or enhanced raw line acquisition mode is selected where a frame valid signal is transmitted. If the rgb line acquisition mode is selected, the frame valid signal will n...

  • Page 161

    Video data output modes basler sprint color cameras 151 *: present for the raw and enhanced raw line acquisition modes only. Mdr conn. 1, transmitter x port camera frame grabber bit assignment 8 tap - 8 bit port a0 txin0 rxout0 d0 bit 0 port a1 txin1 rxout1 d0 bit 1 port a2 txin2 rxout2 d0 bit 2 por...

  • Page 162

    Video data output modes 152 basler sprint color cameras *: present for the raw and enhanced raw line acquisition modes only. Mdr conn 2, transmitter y port camera frame grabber bit assignment 8 tap - 8 bit port d0 txin0 rxout0 d3 bit 0 port d1 txin1 rxout1 d3 bit 1 port d2 txin2 rxout2 d3 bit 2 port...

  • Page 163

    Video data output modes basler sprint color cameras 153 *: present for the raw and enhanced raw line acquisition modes only. Mdr conn 2, transmitter z port camera frame grabber bit assignment 8 tap - 8 bit port g0 txin0 rxout0 d6 bit 0 port g1 txin1 rxout1 d6 bit 1 port g2 txin2 rxout2 d6 bit 2 port...

  • Page 164

    Video data output modes 154 basler sprint color cameras the tables below show the following delays when the camera is set for full resolution and 8 tap video data output mode: line valid delays for the rgb line acquisition mode (see figure 18 on page 45 through figure 22 on page 49 ) frame valid del...

  • Page 165

    Video data output modes basler sprint color cameras 155 4k cameras line valid/frame valid delays for 8 tap mode - 4k cameras line valid delay for the rgb line acquisition mode - 40 mhz min. Max. Programmable 3.10 µs 3.23 µs edge controlled exposure 3.15 µs 3.28 µs level controlled exposure 3.10 µs 3...

  • Page 166

    Video data output modes 156 basler sprint color cameras 8k camera line valid delay for the rgb line acquisition mode - 80 mhz min. Max. Programmable 9.33 µs 9.43 µs edge controlled exposure 9.68 µs 9.78 µs level controlled exposure 9.33 µs 9.43 µs frame valid delay for the raw line acquisition mode ...

  • Page 167

    Video data output modes basler sprint color cameras 157 frame valid delay for the raw line acquisition mode - 40 mhz min. Max. Programmable 9.61 µs 9.76 µs edge controlled exposure 9.61 µs 9.76 µs level controlled exposure 9.61 µs 9.76 µs frame valid delay for the enhanced raw line acquisition mode ...

  • Page 168

    Video data output modes 158 basler sprint color cameras.

  • Page 169: 6 Features

    Features basler sprint color cameras 159 6 features 6.1 gain and offset 6.1.1 gain gain is adjustable. As shown in figure 60, increasing the gain setting increases the slope of the camera’s response curve and results in higher camera output for a given amount of light input. Decreasing the gain sett...

  • Page 170

    Features 160 basler sprint color cameras if you know the integer setting for the gain, you can calculate the resulting db of gain that the camera will achieve by using the following formula: the maximum allowed of +12.0 db not only applies to gain but also to the total gain for each color, i.E. Glob...

  • Page 171: 6.1.2

    Features basler sprint color cameras 161 6.1.2 offset offset is adjustable on an integer scale that ranges from -4095 to +4095. The default setting is 0. If the camera is set for an 8 bit video data output mode: increasing the integer offset setting by 16 will increase the digital pixel values outpu...

  • Page 172

    Features 162 basler sprint color cameras setting the offset you can set the offset with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control and status registers (csrs). With the cct+ with the cct+ (see section 7.1 o...

  • Page 173: 6.2

    Features basler sprint color cameras 163 6.2 white balance white balancing can be achieved by individually adjusting gain settings for the red, green and blue pixels. The total gain for each color will be the sum of the global gain (see section 6.1 on page 159 ) and the additional color-specific gai...

  • Page 174

    Features 164 basler sprint color cameras for good image quality, the following maximum settings should not be exceeded by total gain: note high gain settings will degrade the image quality and high settings of the global gain will limit your ability for white balancing. We therefore strongly recomme...

  • Page 175

    Features basler sprint color cameras 165 setting the additional color-specific gain you can set the white balance with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control and status registers (csrs). With the cct+ w...

  • Page 176: 6.3

    Features 166 basler sprint color cameras 6.3 area of interest the area of interest feature lets you specify a portion of the sensor lines. During operation, only the pixel information from the specified portion of the lines is read out of the sensor and transmitted from the camera to the frame grabb...

  • Page 177: 6.3.1

    Features basler sprint color cameras 167 if you are working with a camera that has 8192 pixels in each sensor line: the aoi starting pixel can be set to 1, 65, 129, 193, etc. The aoi length can be set to 256, 320, 384, 448, etc. The aoi starting pixel + aoi length ≤ 8193. When the area of interest f...

  • Page 178: 6.4

    Features 168 basler sprint color cameras 6.4 shading correction in theory, when a digital camera captures an image of a uniform object, the pixel values output from the camera should be uniform. In practice, however, variations in optics and lighting and small variations in the sensor’s performance ...

  • Page 179: 6.4.1

    Features basler sprint color cameras 169 the second shading values file is called the "usershading" file. This file can also hold a complete collection of the values needed to perform both dsnu and prnu shading correction. The values stored in this file must be generated by the camera user while the...

  • Page 180: 6.4.2

    Features 170 basler sprint color cameras 6.4.2 generating and saving user shading correction values this section includes procedures for generating the user dsnu and prnu shading correction values that will be stored in the user shading correction values file. If you will be setting the camera to do...

  • Page 181

    Features basler sprint color cameras 171 b. You can also start the generation of a set of dsnu values by using a binary write command (see section 7.3 on page 281 ) to write a value to the generate field of the shading value generate csr (see page 255 ). 6. The camera must make at least 64 acquisiti...

  • Page 182

    Features 172 basler sprint color cameras generating and saving user prnu shading correction values the procedure below describes how to generate user prnu shading correction values. When you generate the values, they will automatically be stored in the camera’s user shading value file. You should be...

  • Page 183

    Features basler sprint color cameras 173 7. Signal the camera to generate a set of prnu values: a. You can start the generation of a set of prnu values with the camera configuration tool plus (see section 7.1 on page 230 ). With the cct+, set the value of the generate parameter in the dsnu & prnu sh...

  • Page 184

    Features 174 basler sprint color cameras 9. Once 128 acquisitions have been completed, the camera calculates the prnu values: a. The camera uses the data from the 128 acquisitions to calculate an average gray value for the pixels in each line. B. The camera finds the pixel with the highest average g...

  • Page 185: 6.4.3

    Features basler sprint color cameras 175 6.4.3 activating a shading values file as explained in section 6.4 on page 168 , the camera contains a set of factory determined shading correction values in a file in its non-volatile memory. As explained in section 6.4.2 on page 170 , you can also generate ...

  • Page 186: 6.4.4

    Features 176 basler sprint color cameras 6.4.4 copying the factory shading values into the user shading values file as explained in section 6.4 on page 168 , the camera contains a set of factory determined shading correction values in a file in its non-volatile memory. As explained in section 6.4.2 ...

  • Page 187: 6.4.5

    Features basler sprint color cameras 177 6.4.5 downloading a shading values file to your pc once you have generated a set of user shading values in the user shading values file as described in section 6.15.1 on page 225 , you can download the user shading values file to your pc. You can also downloa...

  • Page 188: 6.4.6

    Features 178 basler sprint color cameras 6.4.6 uploading a shading values file to your camera once you have downloaded a user shading values file to your pc as described on the previous page, you can upload the file from your pc to a camera. Using the download function together with the upload funct...

  • Page 189: 6.5

    Features basler sprint color cameras 179 6.5 gamma correction the gamma correction feature lets you modify the brightness of the pixel values output by the camera’s sensor to account for a non-linearity in the human perception of brightness. To accomplish the correction, a gamma correction factor ( ...

  • Page 190

    Features 180 basler sprint color cameras by setting csrs you set the gamma by writing a value to the absolute gamma or the raw gamma field of the gamma csr (see page 256 ). Section 7.2.2 on page 238 explains csrs and section 7.3.1 on page 282 explains using read/write commands..

  • Page 191: 6.6

    Features basler sprint color cameras 181 6.6 color adjustment (2k and 4k cameras only) the color adjustment feature lets you modifiy the colors output by the camera to best suit your needs. The feature is available for 2k and 4k cameras only. The color adjustment feature can be used in combination w...

  • Page 192

    Features 182 basler sprint color cameras fig. 62: rgb color cube with ycm secondary colors, black, and white, projected on a plane fig. 63: hue and saturation adjustment in the color hexagon. Adjustments are indicated for red as an example c r black white r c m b g y m b g y r c saturation adjustmen...

  • Page 193: 6.6.2

    Features basler sprint color cameras 183 6.6.2 adjusting colors the color adjustment feature allows adjusting hue and saturation for the primary and secondary colors (see figure 63 on page 182 ). Each adjustment affects those colors in the image where the adjusted primary or secondary color predomin...

  • Page 194

    Features 184 basler sprint color cameras guidelines when using color adjustment when using the color adjustment feature, make sure to carry out the following steps before adjusting hue and/or saturation: carry out white balance (see section 6.2 on page 163 ), with color adjustment disabled. Carry ou...

  • Page 195: 6.6.3

    Features basler sprint color cameras 185 6.6.3 setting the color adjustment you can set the hue and saturation adjustment for the primary and secondary colors with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control...

  • Page 196: 6.7

    Features 186 basler sprint color cameras 6.7 test images the test image mode is used to check the camera’s basic functionality and its ability to transmit an image via the video data cables. Test images are especially useful for service purposes and for failure diagnostics. In test mode, the image i...

  • Page 197

    Features basler sprint color cameras 187 enabling test images you can enable a test image with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control and status registers (csrs). With the cct+ with the cct+ (see sectio...

  • Page 198: 6.7.1

    Features 188 basler sprint color cameras 6.7.1 test image two (moving gray gradient) 6.7.1.1 test image two generated with the rgb line acquisition mode when the camera is set for rgb line acquisition mode (see section 3.2 on page 42 ) and test image two, a test image is formed with a gray scale gra...

  • Page 199

    Features basler sprint color cameras 189 fig. 65: formation of test image two for 8 bit output modes generated with rgb line acquisition mode on a cam- era with 4096 pixels per line (2048 virtual pixels) fig. 66: test image two generated with rgb line acquisition mode when you view the output of a c...

  • Page 200

    Features 190 basler sprint color cameras 6.7.1.2 test image two generated with the raw and enhanced raw line acquisition modes when the camera is set to a raw or enhanced raw line acquisition mode (see section 3.3 on page 50 and section 3.4 on page 69 ) and test image two, a test image is formed wit...

  • Page 201

    Features basler sprint color cameras 191 fig. 67: pixel values in the upper left corner of test image two generated with a raw or enhanced raw line acquisition mode fig. 68: formation of test image two for 8 bit output modes generated with a raw or enhanced raw line acquisition mode on a camera with...

  • Page 202

    Features 192 basler sprint color cameras an exsync signal from your frame grabber and if the frame grabber is receiving every line that is output from your camera. Test image two is useful for checking the integrity of the data transmitted by the camera. If you capture lines and examine the pixel va...

  • Page 203: 6.7.2

    Features basler sprint color cameras 193 6.7.2 test image seven (fixed red gradient) 6.7.2.1 test image seven generated with the rgb line acquisition mode when the camera is set for rgb line acquisition mode (see section 3.2 on page 42 ) and test image seven, a test image is formed with a fixed hori...

  • Page 204

    Features 194 basler sprint color cameras fig. 71: formation of test image seven for 8 bit output modes generated with rgb line acquisition mode on a camera with 4096 pixels per line (2048 virtual pixels) fig. 72: test image seven for 8 bit output modes generated with rgb line acquisition mode on a c...

  • Page 205

    Features basler sprint color cameras 195 6.7.2.2 test image seven generated with the raw and enhanced raw line acquisition modes when the camera is set for a raw or enhanced raw line acquisition mode (see section 3.3 on page 50 and section 3.4 on page 69 ) and test image seven, a test image is forme...

  • Page 206

    Features 196 basler sprint color cameras fig. 73: pixel values in the upper left corner of test image seven generated with a raw or enhanced raw line acquisition mode fig. 74: gray scale gradients of test image seven for 8 bit output modes formed by the "red" pixels and generated with a raw or enhan...

  • Page 207

    Features basler sprint color cameras 197 test image one is useful for checking the integrity of the data transmitted by the camera. If you capture lines and examine the pixel values in the captured lines, the values should be exactly as described above. Note when the camera is set for an 8 bit outpu...

  • Page 208: 6.7.3

    Features 198 basler sprint color cameras 6.7.3 test image eight (fixed green gradient) 6.7.3.1 test image eight generated with the rgb line acquisition mode test image eight generated with the rgb line acquisition mode, displays a fixed horizontal green gradient. The test image is identical to test ...

  • Page 209

    Features basler sprint color cameras 199 fig. 76: pixel values in the upper left corner of test image eight, generated with a raw or enhanced raw line acquisition mode fig. 77: gray scale gradients for test image eight for 8 bit output modes formed by the "green" pixels and generated with a raw or e...

  • Page 210

    Features 200 basler sprint color cameras test image one is useful for checking the integrity of the data transmitted by the camera. If you capture lines and examine the pixel values in the captured lines, the values should be exactly as described above. Note when the camera is set for an 8 bit outpu...

  • Page 211: 6.7.4

    Features basler sprint color cameras 201 6.7.4 test image nine (fixed blue gradient) 6.7.4.1 test image nine generated with the rgb line acquisition mode test image nine generated with the rgb line acquisition mode, displays a fixed horizontal blue gradient. The test image is identical to test image...

  • Page 212

    Features 202 basler sprint color cameras fig. 79: pixel values in the upper left corner of test image nine generated with a raw or enhanced raw line acquisition mode fig. 80: gray scale gradients of test image nine formed by the "blue" pixels for 8 bit output modes and generated with a raw or enhanc...

  • Page 213: 6.8

    Features basler sprint color cameras 203 6.8 line stamp the line stamp feature provides you with information about each acquired line. For each color individually, the information includes e.G. The line counter value, the sum of the pixel values in the line, and the contrast value of the line. When ...

  • Page 214

    Features 204 basler sprint color cameras the table below lists the function of each stamp pixel. A more detailed explanation of how to interpret the pixel values follows the table. Stamp pixels s1 and s2 stamp pixel s1 always has a fixed value of 0xaa. If the camera is set for the rgb line acquisiti...

  • Page 215

    Features basler sprint color cameras 205 if the camera is set for a raw or enhanced raw line acquisition mode and if the pixel values are from the green pixels from line a, stamp pixel s2 will have a fixed value of 0x56. If the camera is set for a raw or enhanced raw line acquisition mode and if the...

  • Page 216

    Features 206 basler sprint color cameras stamp pixels s11 and s12 stamp pixels s11 and s12 represent the least significant and most significant bytes (respectively) of the total low pixels of the related color. The total low pixels indicates the number of pixels of the color that are below a camera ...

  • Page 217: 6.8.1

    Features basler sprint color cameras 207 the line contrast does not include any of the 16 added “stamp pixels.” the line contrast is based only on the pixels within the current aoi (see section 6.3.1 on page 167 ). Line contrast values are useful when you are adjusting the camera’s focus. Generally,...

  • Page 218

    Features 208 basler sprint color cameras f ig. 8 2 : stamp pixel t ransmission wi th rgb li ne acqu isition mod e a nd 2 ta p video d ata output mo de (with edge /l evel con trol led o r program med exposure) exsync sig nal en d of pro - g ram me d ti m e li ne va lid da ta va lid pixel cl ock d0 pi...

  • Page 219

    Features basler sprint color cameras 209 f ig. 83: stamp pixel t ransmission w ith r g b line acq u isition mod e and 3 t ap vide o d a ta outpu t mode (with edge /l evel con tro lled o r pro g ram me d expo su re ) exsy nc sign al end o f pro- grammed ti m e lin e v a lid dat a v a lid pixel clo ck...

  • Page 220

    Features 210 basler sprint color cameras f ig. 84: stamp pixel t ransmission w ith r g b line acq u isition mod e and 4 t ap vide o d a ta outpu t mode (with edge /l evel con tro lled o r pro g ram me d expo su re ) exsync sig nal en d of pro - gra m me d ti m e li ne va lid da ta va lid pixel cl oc...

  • Page 221: 6.8.2

    Features basler sprint color cameras 211 6.8.2 line stamp with raw/enhanced raw line acquisition mode with raw or enhanced raw line acquisition mode, the stamp pixel values are transmitted for each related color separately, as contiguous data streams on all available taps. This is illustrated in fig...

  • Page 222

    Features 212 basler sprint color cameras sta m p pi xe l tran smi s si on with raw - li ne a f irst/ enhan ced raw - line a fi rst lin e acq u isition mod e as an example an d 2 tap vid e o data ou tp ut mod e (w ith edge /l evel con trol led or progra m med expo sure) ex s y nc si gna l en d of pro...

  • Page 223: 6.8.3

    Features basler sprint color cameras 213 6.8.3 enabling and setting the line stamp you can enable and set the stamp feature with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control and status registers (csrs). With ...

  • Page 224: 6.9

    Features 214 basler sprint color cameras 6.9 lookup table the sensor circuitry in the camera acquires pixel data at 12 bit depth. However, when the camera is set for an 8 bit video data output format, pixel data is only output at 8 bit depth. With the camera set for an 8 bit format, it normally conv...

  • Page 225

    Features basler sprint color cameras 215 when the lookup table feature is enabled, the camera will operate for each color in this manner: if the sensor reports that a pixel has a 12 bit value of 0, the 8 bit value stored at index 0 will be transmitted. If the sensor reports that a pixel has a 12 bit...

  • Page 226

    Features 216 basler sprint color cameras note if you want to use the lookup table feature, make sure to know the status of the lookup tables: if you entered new lookup table values for all three colors, the new values will be applied to the colors. If you entered new lookup table values for only one...

  • Page 227

    Features basler sprint color cameras 217 entering values into the lookup table you can enter 8 bit values into the lookup table with the camera configuration tool plus (cct+) or by using binary write commands from within your own application to set the camera’s control and status registers (csrs). W...

  • Page 228

    Features 218 basler sprint color cameras 6.10 imaging sensor temperature the camera is equipped with a temperature sensor that lets you monitor the temperature of the imaging sensor. You can check the temperature of the imaging sensor with the camera configuration tool plus (cct+) or by using binary...

  • Page 229: Overvoltage Protection

    Features basler sprint color cameras 219 6.11 camera power undervoltage and overvoltage protection the camera’s nominal camera power voltage is 12 vdc (± 10%). We do not recommend applying less than 10.8 vdc or greater than 13.2 vdc. The camera has camera power undervoltage protection: if the camera...

  • Page 230: Detected

    Features 220 basler sprint color cameras 6.12 error condition detection 6.12.1 imaging sensor overtemperature condition detected as described in section 6.10 on page 218 , the camera includes a temperature sensor that is used to monitor the temperature of the imaging sensor. The camera also has imag...

  • Page 231: Condition Detected

    Features basler sprint color cameras 221 6.12.2 camera power undervoltage or overvoltage condition detected the required camera power voltage for the camera is 12 vdc ± 10%. If a camera power voltage below but close to 9.8 vdc is applied to the camera, a camera power undervoltage condition may be de...

  • Page 232: 6.13 Camera Status Checks

    Features 222 basler sprint color cameras 6.13 camera status checks during operation, the camera performs a continuous series of self checks. You can view the current camera status in several ways: by using the camera configuration tool plus (see section 7.1 on page 230 ). Check the camera status par...

  • Page 233: 6.15 Configuration Sets

    Features basler sprint color cameras 223 6.15 configuration sets a configuration set is a group of values that contains all of the parameter settings needed to control the camera. There are three basic types of configuration sets: the work configuration set, the factory configuration set, and user c...

  • Page 234

    Features 224 basler sprint color cameras note for the 8k camera, only two user sets (userset01 and userset02) are available. Note the configuration sets described in this section only include parameter settings and the values stored in the lookup table (see section 6.9 on page 214 ). Configuration s...

  • Page 235

    Features basler sprint color cameras 225 6.15.1 saving the work set to a user set file as mentioned above, the work configuration set is stored in the camera’s volatile memory and the parameter settings in the work set are lost if the camera is reset or if power is switched off. The camera can save ...

  • Page 236: File

    Features 226 basler sprint color cameras 6.15.2 “activating” a user set file or the factory set file as explained on page 223 , a factory configuration set containing an optimized set of parameters is created when the camera is manufactured. The factory set is saved in a permanent file in the camera...

  • Page 237: Or At Reset?

    Features basler sprint color cameras 227 6.15.3 which configuration set file will load at startup or at reset? On the initial wake-up after delivery, the camera loads the factory configuration set into the work set. At each subsequent power on or reset, the configuration set file that was last activ...

  • Page 238: Camera

    Features 228 basler sprint color cameras 6.15.5 uploading configuration set files to your camera once you have downloaded user configuration set files to your pc as described on the previous page, you can upload the files from your pc to a camera. Using the download function together with the upload...

  • Page 239: 7 Configuring The Camera

    Configuring the camera basler sprint color cameras 229 7 configuring the camera the camera comes with a factory set of parameters that will work properly for most applications with only minor changes. For normal operation, the following parameters are usually configured by the user: video data outpu...

  • Page 240: 7.1

    Configuring the camera 230 basler sprint color cameras 7.1 configuring the camera with the camera configuration tool plus (cct+) the camera configuration tool plus (cct+) is a windows™ based program used to easily change the camera’s parameter settings. The cct+ is especially useful during initial c...

  • Page 241: 7.2

    Configuring the camera basler sprint color cameras 231 7.2 configuring the camera by setting registers the camera has blocks of mapped memory space known as registers. By reading values from the registers, you can determine basic information about the camera and information about the camera’s curren...

  • Page 242: 7.2.1

    Configuring the camera 232 basler sprint color cameras 7.2.1 inquiry registers inquiry registers contain basic information about the camera and information about the camera’s current status. Each inquiry register contains one or more fields and each field has an assigned address within the camera’s ...

  • Page 243

    Configuring the camera basler sprint color cameras 233 product id inquiry serial number inquiry camera version inquiry register base address: 0x0300 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this inqui...

  • Page 244

    Configuring the camera 234 basler sprint color cameras firmware version inquiry camera status inquiry the camera has been programmed to detect several error conditions. When an error condition is detected, a flag is set. The camera status inquiry register allows you to read the error flags. Register...

  • Page 245

    Configuring the camera basler sprint color cameras 235 register base address: 0x0c00 field name: camera status offset: 0x0001 size: 4 bytes type: read only description: each bit in this field specifies an error condition (see table below). Bit 0 is the least significant bit. If a bit is set to 1, th...

  • Page 246

    Configuring the camera 236 basler sprint color cameras fpga status inquiry the camera has been programmed to detect several error conditions in its field programmable gate array (fpga). When an error condition is detected, a flag is set. The fpga status inquiry register allows you to read the error ...

  • Page 247

    Configuring the camera basler sprint color cameras 237 binary command protocol status inquiry the camera has been programmed to detect several errors in the format of any binary commands received by the camera. When an error condition is detected, a flag is set. The binary command status inquiry reg...

  • Page 248: 7.2.2

    Configuring the camera 238 basler sprint color cameras 7.2.2 feature control and status registers the feature control and status registers (csrs) let you set the parameters for camera features such as exposure mode, gain, offset, and the aoi. These registers also let you check the current parameter ...

  • Page 249

    Configuring the camera basler sprint color cameras 239 setting the absolute gain if you set the gain by writing a value to the absolute gain field of the gain csr, you can write a floating point value from -3.5 to +12.04 (decimal) in increments of 0.01. Writing a floating point value to the absolute...

  • Page 250

    Configuring the camera 240 basler sprint color cameras video data output mode csr line acquisition mode csr register base address: 0x1700 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and stat...

  • Page 251

    Configuring the camera basler sprint color cameras 241 fval length csr register base address: 0x4200 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00 = the register is n...

  • Page 252

    Configuring the camera 242 basler sprint color cameras exposure time control mode csr register base address: 0x1400 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00 = th...

  • Page 253

    Configuring the camera basler sprint color cameras 243 exposure time csr note: the exposure time can be set by writing a floating point value to the absolute exposure time field or by writing an integer value to the raw exposure time field. See section 7.2.2.1 on page 238 for an explanation of the d...

  • Page 254

    Configuring the camera 244 basler sprint color cameras field name: raw min offset: 0x0011 size: 4 bytes type: read only description: minimum allowed integer value for the raw exposure time setting. This field is updated to reflect limitations caused by the way that any related fields are set. The by...

  • Page 255

    Configuring the camera basler sprint color cameras 245 line period csr note: the line period can be set by writing a floating point value to the absolute line period field or by writing an integer value to the raw line period field. See section 7.2.2.1 on page 238 for an explanation of the differenc...

  • Page 256

    Configuring the camera 246 basler sprint color cameras field name: raw min offset: 0x0011 size: 4 bytes type: read only description: minimum allowed integer value for the raw line period setting. This field is updated to reflect limitations caused by the way that any related fields are set. The byte...

  • Page 257

    Configuring the camera basler sprint color cameras 247 gain csr note: the gain can be set by writing a floating point value to the absolute gain field or by writing an integer value to the raw gain field. See section 7.2.2.1 on page 238 for an explanation of the difference between these two fields. ...

  • Page 258

    Configuring the camera 248 basler sprint color cameras offset csr note: the offset can be set by writing a floating point value to the absolute offset field or by writing an integer value to the raw offset field. See section 7.2.2.1 on page 238 for an explanation of the difference between these two ...

  • Page 259

    Configuring the camera basler sprint color cameras 249 field name: raw offset offset: 0x000d size: 2 bytes type: read/write description: writing an integer value to this field sets the offset. The allowed range for this value can vary depending on how the camera is configured. You should check the r...

  • Page 260

    Configuring the camera 250 basler sprint color cameras gain red csr note: the gain specifically for the red pixels can be set by writing a floating point value to the absolute gain red field or by writing an integer value to the raw gain red field. See section 7.2.2.1 on page 238 for an explanation ...

  • Page 261

    Configuring the camera basler sprint color cameras 251 gain green csr note: the gain specifically for the green pixels can be set by writing a floating point value to the absolute gain green field or by writing an integer value to the raw gain green field. See section 7.2.2.1 on page 238 for an expl...

  • Page 262

    Configuring the camera 252 basler sprint color cameras gain blue csr note: the gain specifically for the blue pixels can be set by writing a floating point value to the absolute gain blue field or by writing an integer value to the raw gain blue field. See section 7.2.2.1 on page 238 for an explanat...

  • Page 263

    Configuring the camera basler sprint color cameras 253 area of interest starting pixel csr register base address: 0x1000 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00...

  • Page 264

    Configuring the camera 254 basler sprint color cameras area of interest length csr register base address: 0x100a field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00 = the r...

  • Page 265

    Configuring the camera basler sprint color cameras 255 shading mode csr shading value generate csr register base address: 0x2000 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status regist...

  • Page 266

    Configuring the camera 256 basler sprint color cameras gamma csr register base address: 0x4300 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00 = the register is not ava...

  • Page 267

    Configuring the camera basler sprint color cameras 257 field name: raw max offset: 0x0015 size: 4 bytes type: read only description: maximum allowed integer value for the raw gamma setting. The bytes in this field are interpreted as follows: byte 1 = low byte of the max value byte 2 = mid byte of th...

  • Page 268

    Configuring the camera 258 basler sprint color cameras color adjustment csr register base address: 0x4400 field name: enable status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of the color adjustment csr. 0x00 = color adjustment is no...

  • Page 269

    Configuring the camera basler sprint color cameras 259 field name: hue red status offset: 0x000a size: 1 byte type: read only description: the integer value in this field indicates the status of the hue adjustment for red: 0x00 = the adjustment is not available 0x01 = the adjustment is available and...

  • Page 270

    Configuring the camera 260 basler sprint color cameras field name: saturation yellow increment offset: 0x0013 size: 1 byte type: read only description: an integer value indicating the increment for the saturation yellow value setting. Field name: hue yellow status offset: 0x0014 size: 1 byte type: r...

  • Page 271

    Configuring the camera basler sprint color cameras 261 field name: saturation green max offset: 0x001c size: 1 byte type: read only description: maximum allowed integer value for the saturation green value setting. Field name: saturation green increment offset: 0x001d size: 1 byte type: read only de...

  • Page 272

    Configuring the camera 262 basler sprint color cameras field name: saturation cyan value offset: 0x0024 size: 1 byte type: read/write description: writing an integer value to this field sets the saturation value of cyan for predominantly cyan colors in the image. If the saturation cyan value is set ...

  • Page 273

    Configuring the camera basler sprint color cameras 263 field name: saturation blue status offset: 0x002d size: 1 byte type: read only description: the integer value in this field indicates the status of the saturation adjustment for blue: 0x00 = the adjustment is not available 0x01 = the adjustment ...

  • Page 274

    Configuring the camera 264 basler sprint color cameras field name: hue blue increment offset: 0x0036 size: 1 byte type: read only description: an integer value indicating the increment for the hue blue value setting. Field name: saturation magenta status offset: 0x0037 size: 1 byte type: read only d...

  • Page 275

    Configuring the camera basler sprint color cameras 265 field name: hue magenta min offset: 0x003e size: 1 byte type: read only description: minimum allowed integer value for the hue magenta value setting. Field name: hue magenta max offset: 0x003f size: 1 byte type: read only description: maximum al...

  • Page 276

    Configuring the camera 266 basler sprint color cameras test image mode csr line stamp mode csr register base address: 0x1800 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: ...

  • Page 277

    Configuring the camera basler sprint color cameras 267 line stamp low pixel threshold csr register base address: 0x2b20 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00 ...

  • Page 278

    Configuring the camera 268 basler sprint color cameras line stamp high pixel threshold csr register base address: 0x2b40 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00...

  • Page 279

    Configuring the camera basler sprint color cameras 269 lookup table mode csr lookup table selector csr register base address: 0x4100 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status re...

  • Page 280

    Configuring the camera 270 basler sprint color cameras lookup table index csr register base address: 0x4108 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: 0x00 = the regist...

  • Page 281

    Configuring the camera basler sprint color cameras 271 lookup table value csr camera reset csr register base address: 0x4111 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field indicates the status of this control and status register: ...

  • Page 282

    Configuring the camera 272 basler sprint color cameras serial communication csr an rs-644 serial connection is integrated into the camera link interface between the frame grabber installed in your computer and the camera. The serial connection is used to issue commands to the camera for changing mod...

  • Page 283: 7.2.3

    Configuring the camera basler sprint color cameras 273 7.2.3 bulk data and the bulk data control and status registers the term “bulk data” refers to a collection of values used by the camera as a block. A configuration set (see section 6.15 on page 223 ) is an example of one type of bulk data. A sin...

  • Page 284

    Configuring the camera 274 basler sprint color cameras 7.2.3.1 using the configuration set bulk data csr saving the work configuration set to a user set file as described in section 6.15 on page 223 , the work configuration set resides in the camera’s volatile memory. Assume that you want to save th...

  • Page 285

    Configuring the camera basler sprint color cameras 275 this procedure would find the userset01 file in the non-volatile memory and would copy the values in the file into the camera’s volatile memory. It would also create a link to the file so that the values in the file would be loaded into volatile...

  • Page 286

    Configuring the camera 276 basler sprint color cameras this procedure will copy the contents of the factory shading values file into the user shading values file. Note that any existing data in the user shading values file will be overwritten. Sample code that illustrates how to create a bulk data f...

  • Page 287

    Configuring the camera basler sprint color cameras 277 downloading a bulk data file from the camera to a pc you can download a bulk data file from the camera’s non-volatile memory to your host pc. As an example, assume that you have saved a configuration set to the userset02 file and that you want t...

  • Page 288

    Configuring the camera 278 basler sprint color cameras uploading a bulk data file from a pc to the camera you can upload a bulk data file from your host pc to the camera’s non-volatile memory. As an example, assume that you previously downloaded a saved configuration set file named userset02 to your...

  • Page 289

    Configuring the camera basler sprint color cameras 279 7.2.3.4 bulk data control and status register details configuration set csr see section 7.2.3.1 on page 274 for information about using the configuration set bulk data control register. Register base address: 0x2800 field name: register status o...

  • Page 290

    Configuring the camera 280 basler sprint color cameras shading values csr see section 7.2.3.2 on page 275 for information about using the shading values bulk data control registers. Register base address: 0x2a00 field name: register status offset: 0x0000 size: 1 byte type: read only description: the...

  • Page 291: 7.3

    Configuring the camera basler sprint color cameras 281 7.3 using binary read/write commands as explained in section 7.2 on page 231 , each camera has control and status registers with one or more fields that are used to set the values for parameters associated with a camera feature. For example, the...

  • Page 292: 7.3.1

    Configuring the camera 282 basler sprint color cameras 7.3.1 the binary read/write command protocol with the binary read/write command protocol, data is placed into a “frame” and sent to the camera. When the frame is received, it is checked for validity. If valid, the data is extracted from the fram...

  • Page 293

    Configuring the camera basler sprint color cameras 283 the value in the opcode portion of the ftf field defines the function of the binary command, that is, whether it is a read command or a write command. The following opcodes are available: the bcc-code portion of the ftf field indicates the prese...

  • Page 294

    Configuring the camera 284 basler sprint color cameras datalen data length field for read commands, the datalen field indicates the number of bytes to read from the given csr address. For write commands, the datalen field indicates the number of bytes contained in the data field. Size = 1 byte range...

  • Page 295

    Configuring the camera basler sprint color cameras 285 7.3.1.1 error checking and responses ack/nak when the camera receives a frame, it checks to see if the order of the bytes in the frame is correct. If the ftf field indicates that the frame includes a bcc, the camera checks to see if the xor sum ...

  • Page 296: 7.3.2

    Configuring the camera 286 basler sprint color cameras 7.3.2 basic read/write command explanations 7.3.2.1 read command this section includes a text description the hex digits included in a command message used to read the status field of the test image mode csr (see page 266 ). The intent of this s...

  • Page 297

    Configuring the camera basler sprint color cameras 287 7.3.2.2 write command this section includes a text description the hex digits included in a command message used to write a value of 0x01 to the mode field of the test image mode csr (see page 266 ). The intent of this section is to give you a b...

  • Page 298

    Configuring the camera 288 basler sprint color cameras 7.3.2.3 calculating the block check character the use of a block check character (bcc) in camera commands is optional (see section 7.3.1 on page 282 ). If you choose to use a bcc, the bcc will be the exclusive-or sum (xor sum) of the bytes in th...

  • Page 299: 7.4

    Configuring the camera basler sprint color cameras 289 7.4 binary command sample code sample code that illustrates how to use binary commands with sprint cameras is available at the basler web site. Please look for the binary protocol ii programming sample at: http://www.Baslerweb.Com.

  • Page 300

    Configuring the camera 290 basler sprint color cameras.

  • Page 301: 8.1

    Troubleshooting and support basler sprint color cameras 291 8 troubleshooting and support this section outlines the resources available to you if you need help working with your camera. It also provides some basic troubleshooting information that you can use to solve problems. 8.1 tech support resou...

  • Page 302: 8.3

    Troubleshooting and support 292 basler sprint color cameras 8.3 fault finding using the camera led during bootup, the camera loads firmware and performs initial self checks. Once bootup is complete, the camera performs a continuous series of self checks. If an error condition is detected, the led wi...

  • Page 303

    Troubleshooting and support basler sprint color cameras 293 repeated pattern of 4 slow orange flashes one of the following errors is present: a byte time-out has occurred (see section 7.3.1.1 on page 285 ). Invalid opcode in a read or write command (see section 7.3.1 on page 282 ). Incoming data has...

  • Page 304: 8.4

    Troubleshooting and support 294 basler sprint color cameras 8.4 troubleshooting charts the following pages contain several troubleshooting charts that can help you find the cause of problems users sometimes encounter. The charts assume that you are familiar with the camera’s features and settings an...

  • Page 305: 8.4.1

    Troubleshooting and support basler sprint color cameras 295 8.4.1 no image use this chart if you see no image at all when you attempt to capture an image with your frame grabber (in this situation, you will usually get a message from the frame grabber such as “time-out”). If you see a poor quality i...

  • Page 306

    Troubleshooting and support 296 basler sprint color cameras check the setup on your frame grabber and make sure that the exsync signal period is not too short. The period of the exsync signal must not be lower than the calculated minimum as explained in section 4.3 on page 107 . You can also access ...

  • Page 307: 8.4.2

    Troubleshooting and support basler sprint color cameras 297 8.4.2 poor quality image use this chart if the image is poor quality, is completely white, or is completely black. If you get no image at all when you attempt to capture an image with the frame grabber, use the chart that appears in section...

  • Page 308: 8.4.3

    Troubleshooting and support 298 basler sprint color cameras 8.4.3 interfacing use the interfacing troubleshooting chart if you think that there is a problem with the cables between your devices or if you have been directed here from another chart. Before making or breaking any camera connections, al...

  • Page 309: 8.4.4

    Troubleshooting and support basler sprint color cameras 299 8.4.4 rs-644 serial communication use the serial communication troubleshooting charts if you think that there is a problem with rs- 644 serial communication or if you have been directed here from another chart. Before making or breaking any...

  • Page 310: 8.4.5

    Troubleshooting and support 300 basler sprint color cameras 8.4.5 before calling basler technical support to help you as quickly and efficiently as possible when you have a problem with a basler camera, it is important that you collect several pieces of information before you contact basler technica...

  • Page 311

    Troubleshooting and support basler sprint color cameras 301 1 the camera’s product id: 2 the camera’s serial number: 3 the operating system: 4 frame grabber that you use with the camera: 5 cct+ version that you use with the camera: 6 describe the problem in as much detail as possible: (if you need m...

  • Page 312

    Troubleshooting and support 302 basler sprint color cameras 10 how severe is the problem? Camera can still be used. Camera can be used after i take this action: camera can no longer be used. 11 did your application ever run without problems? Yes no 12 parameter set it is very important for basler te...

  • Page 313

    Revision history basler sprint color cameras 303 revision history doc. Id number date changes aw00069901000 7 aug 2008 initial release. Preliminary version of the document. Aw00069902000 13 sep 2008 first release for 4k series cameras. Contents relating to 2k and 8k cameras, and section 3.5. Are pre...

  • Page 314

    Revision history 304 basler sprint color cameras doc. Id number date changes expanded section 8.1 on page 291 and added section 8.2 on page 291 describing how to obtain an rma number. Added the parameter error to section 8.4.2 on page 297 . Minor corrections throughout the manual. Aw00069904000 29 s...

  • Page 315

    Revision history basler sprint color cameras 305 doc. Id number date changes modified the section 6.7 on page 186 and section 6.8 on page 203 to take account of the added line acquisition modes. Modified the camera power undervoltage condition and renamed the overvoltage error as voltage error in se...

  • Page 316

    Revision history 306 basler sprint color cameras.

  • Page 317

    Index basler sprint color cameras 307 index numerics 2 tap video data output modes ..............121 3 tap video data output modes ..............129 4 tap video data output modes ..............135 6 tap video data output mode ................143 8 tap video data output mode ................149 a abs...

  • Page 318

    Index 308 basler sprint color cameras e edge controlled exposure time control mode ...............................................99 , 104 eight tap video data output mode .......... 149 enhanced raw line acquisition mode ..... 69 environmental requirements ................... 20 exposure start dela...

  • Page 319

    Index basler sprint color cameras 309 line stamp mode control and status register ..................................................266 line valid bit ..............................................37 line valid delay .................................45 – 154 lookup table ...............................

  • Page 320

    Index 310 basler sprint color cameras serial to frame grabber output signal ...... 39 shading correction ................................. 168 shading mode control and status register .................................................. 255 shading value generate control and status register .............