Page 2
These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Basler cus- tomers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Basler for any damages resulting from such improper use or sale.
Page 3
2.2.2 Power Cable ..........2-4 2.3 Camera Link Implementation in the A102k ....... 2-5 2.4 Input Signals .
Page 4
3.12 Camera Status ..........3-36 BASLER A102...
Page 5
4.2.5.8 Read FPGA Firmware Version ......4-21 4.2.5.9 Read Minimum Gain Setting ......4-22 BASLER A102...
DRAFT Introduction 1 Introduction The Basler A102 high resolution, progressive scan camera is a versatile camera designed for industrial use. Superb image sensing features are combined with a robust, high-precision, machined housing. Important features are: • High spatial resolution • High responsivity, low smear •...
24.8 Frames/sec. with vertical or full binning up to 75 Frames/sec. with area of interest Video Output Type Camera Link LVDS (RS-644 when used with the optional Basler Interface Controller) Video Output Formats Single 8 Bit or Single 10 Bit Synchronization...
The F-mount adapter does not include the filter. A suitable filter type is the B+W486, for example. 1.3 Environmental Requirements 1.3.1 Temperature and Humidity Housing temperature during operation: 0° C ... + 50° C (+ 32° F ... + 122° F) Humidity during operation: 20 % ... 80 %, relative, non-condensing BASLER A102...
To clean the surface of the camera housing, use a soft, dry cloth. To remove severe stains, use a soft cloth dampened with a small quantity of neutral detergent, then wipe dry. Do not use volatile solvents such as benzine and thinners; they can damage the surface finish. BASLER A102...
A status LED located on the back of the camera is used to indicate power present and signal integrity. Figure 2-1 shows the connectors and the LED. Micro-miniature 6 Pin Receptacle 26 Pin Female MDR Connector Figure 2-1: A102 Connectors and LED BASLER A102...
Pins 1, 13, 14, and 26 are all tied together inside of the camera. Table 2-1: A102 Pin Assignments for the 26-pin MDR Connector The camera housing is not grounded and is electrically isolated from the cir- cuit boards inside of the camera. BASLER A102...
HR10-7R-6PA) or the equivalent. The recommended mating connector is the Hirose micro- miniature locking plug (part # HR10-7P-6S). A Hirose locking plug will be shipped with each camera. This plug should be used to terminate the cable on the power supply for the camera. BASLER A102...
2.2 Cable Information 2.2.1 Camera Link Cable A Camera Link compatible MDR cable assembly is available from Basler as a stock item (part # 1000013041 for a 3 meter cable and part # 1000013042 for a 5 meter cable). Alternatively, you can use the cable assembly manufactured by 3M (part # 14X26-SZLB-XXX-0LC).
Page 15
Detailed spec sheets for these devices are available at the National Semiconductor web site (www.national.com). The schematic in Figure 2-3 shows the interface for A102 and a typical implementation for the frame grabber interface. BASLER A102...
Page 16
DRAFT Camera Interface Figure 2-3: Camera / Frame Grabber Interface BASLER A102...
The ExSync signal is typically supplied to the camera by a frame grabber board. You should refer to the manual supplied with your frame grabber to determine how to set up the ExSync signal that is being supplied to the camera. BASLER A102...
Pixel data is only valid when the frame valid bit and the line valid bit are both high. 2.5.4 Data Valid Bit The data valid bit is used for horizontal binning only (see Section 3.9.2). In normal operation, it is always high and should be ignored. BASLER A102...
RxOUT24 Line Valid Line Valid FVAL TxIN25 RxOUT25 Frame Valid Frame Valid DVAL TxIN26 RxOUT26 Data Valid Data Valid Not Used TxIN23 RxOUT23 Not Used Not Used PClk TxCLKIn RxCLKOut Pixel Clock Pixel Clock Table 2-3: Bit Assignments BASLER A102...
____________________ The data sequence assumes that the camera is operating in 10 bit mode. If the camera is operating in 8 bit mode, only 8 bits of data per pixel will be transmitted. 2-10 BASLER A102...
Page 21
Figure 2-4 shows the data sequence when the camera is operating in level-controlled exposure mode. Figure 2-5 shows the data sequence when the camera is operating in programmable exposure mode. 2-11 BASLER A102...
Page 22
DRAFT Camera Interface 2-12 BASLER A102...
Page 23
DRAFT Camera Interface 2-13 BASLER A102...
However, a Camera Link cable which allows easy access to this signal is available from Basler as a stock item (part # 100013041 for a 3 meter cable and part # 100013042 for a 5 meter cable).
The port must have the following settings: 8 data bits, no parity, 1 stop bit, baud rate = 9600 bps If you are using the Basler CCT+ to configure the camera, the tool will detect the characteristics of the serial port on the frame grabber and will determine the appropriate settings so that the tool can open and use the port.
RS-232 serial communication via the host PC. The output from A102 cameras can be converted to the older style of output by using a Basler Interface Converter for k-series cameras (k-BIC). The k-BIC is a small device which attaches to the A102 with a Camera Link compatible cable.
The digitized video data is transmitted from the camera to the frame grabber using a format compatible with the Camera Link standard. Lines are output sequentially in a progressive scan until one full frame is obtained. For optimal digitization, gain and offset are programmable via a serial port. BASLER A102...
Page 28
DRAFT Operation and Features Figure 3-1: A102 Sensor Architecture BASLER A102...
The falling edge of ExSync is irrelevant (see Figure 3-3). A parameter called "Timer 1" is used to set the length of the pre-programmed exposure period. ExSync Period ExSync Exposure (Timer 1) Frame Read Out Figure 3-3: ExSync, Programmable Mode BASLER A102...
• In case two (see Figure 3-5), the falling edge of ExSync occurs after the previously captured frame has been transmitted, that is, when frame valid is low. This will occur when the frame rate is medium or low. BASLER A102...
Page 31
• The actual length of the exposure time will be equal to the ExSync signal low time plus / minus the jitter time. As shown in Figure 3-4, FVAL must be low for at least 1 µs before the ExSync signal rises. BASLER A102...
Page 32
• The actual length of the exposure time will be equal to the ExSync signal low time plus 15 µs. As shown in Figure 3-5, FVAL must be low for at least 1 µs before the ExSync signal falls. BASLER A102...
In case two (see Figure 3-7), the rising edge of ExSync occurs after the previously captured frame has been transmitted, that is, when frame valid is low. BASLER A102...
Page 34
• The actual length of the exposure time will be equal to the programmed exposure time plus / minus the jitter time. As shown in Figure 3-6, FVAL must be low for at least 1 µs before the programmed exposure time ends. BASLER A102...
Page 35
• Exposure will start after a delay of 12.6 µs. • The actual length of the exposure time will be equal to the programmed time plus 15 µs. As shown in Figure 3-7, FVAL must be low for at least 1 µs before the ExSync signal rises. BASLER A102...
With binary commands, you must use the Exposure Time Control Mode command to select the free-run, programmable mode. You must also use the Timer 1 command to set Timer 1 and the Timer 2 command to set Timer 2. 3-10 BASLER A102...
When the camera is operating in free-run, external control of exposure start is not possible. In free-run, the camera generates all control signals internally. The camera determines when each exposure will start and controls the length of the exposure time. 3-11 BASLER A102...
IntEn signal to know when exposure is taking place and thus know when to avoid moving the camera. In cases where flash exposure is required, the integrate enabled signal is useful as a flash trigger. 3-12 BASLER A102...
ξ ⌠ ζ ξ Ε Φ ⌠ ζ Ε Φ T(f) 646.5 µs 1040 AOIH – 12.04 µs AOIH 64.22 µs T(f) = frame transfer time where: AOIH = number of lines in the AOI 3-13 BASLER A102...
Page 40
When you exceed the maximum recommended frame rate by a small amount, the upper part of the image will show partial smearing (Figure 3-10). As the frame rate is increased, the smearing will become worse. Figure 3-10: Partial Smear 3-14 BASLER A102...
Offset setting on the Gain & Offset tree to adjust the offset. With binary commands, you must use the Gain binary command to set the gain and the Offset binary command to set the offset (see Sections 4.2.4.10 and 4.2.4.11). 3-15 BASLER A102...
16 pixels in each line may vary in their sensitivity. To avoid variation, you can use the Area of Interest feature and set column 17 as the Area of Interest Start- ing Column (see page 3-25). 3-16 BASLER A102...
In normal operation, a gain setting lower than 240 (0x00F0) should not be used. When the gain setting is lower than 240, the sensor output signal that is mapped to the input of the ADC will not be linear. 3-17 BASLER A102...
In normal operation, a gain setting lower than 192 (0x00C0) should not be used. When the gain setting is lower than 192, the sensor output signal that is mapped to the input of the ADC will not be linear. 3-18 BASLER A102...
(2 + 4, decimal) would be required to reach a positive offset of 1. An offset setting of around 10 (2 + 4 + 4, decimal) would be required to reach a positive offset of 2, and so on. 3-19 BASLER A102...
Note that if bit 11 is set to 1, all of the other bits will automatically be set to 1. This means that you should only use the shift once setting when your pixel readings in 10 bit mode with no digital shift are all below 512. 3-20 BASLER A102...
Page 47
Since the shift three times setting requires that the least significant bit (LSB) always be “0“, no odd gray values can be output. The gray value scale will only include gray values of 2, 4, 6 and so forth. The absence of some gray values is commonly called “Missing Codes“. 3-21 BASLER A102...
Note that if bit 11 is set to 1, all of the other bits will automatically be set to 1. This means that you should only use the shift once setting when your pixel readings in 8 bit mode with no digital shift are all below 128. 3-22 BASLER A102...
Page 49
Note that if bit 11, bit 10 or bit 9 is set to 1, all of the other bits will automatically be set to 1. This means that you should only use the shift once setting when your pixel readings in 8 bit mode with no digital shift are all below 32. 3-23 BASLER A102...
• If all of the readings are below 64, you can safely use the 2X or 4X digital shift setting. • If all of the readings are below 32, you can safely use the 2X, 4X, or 8X digital shift setting. 3-24 BASLER A102...
AOI & Binning tree to set the area of interest. With binary commands, you use the Area of Interest Starting Column, Area of Interest Width in Columns, Area of Interest Starting Line, and Area of Interest Height in Lines commands. 3-25 BASLER A102...
The maximum allowed frame rate can be calculated using the following formula: 1,000,000 Frames / sec. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ AOIH æ ö ´ 646.5 µs [ (1040 - AOIH) x 12.04 µs ] 76.26 µs --------------- - Where: AOIH = the number of lines included in the area of interest 3-26 BASLER A102...
Horizontal binning improves the signal-to-noise ratio in the camera output by typically 3 dB. When horizontal binning is active, image resolution decreases to 696 pixels (H) by 1040 pixels (V). Figure 3-17: Horizontal Binning 3-29 BASLER A102...
Page 56
On the third pixel clock cycle, data for pixel number two is transmitted and data valid is high. On the fourth pixel clock cycle, valid data is not transmitted and the data valid bit is low, and so forth. Figure 3-18: Output Changes with Horizontal Binning 3-30 BASLER A102...
With full binning, resolution decreases to 696 (H) by 520 (V). Figure 3-19: Full Binning With full binning active, frame grabbers often require the information that the hori- zontal resolution is 696 and the vertical resolution is 520. 3-31 BASLER A102...
ExSync signal. If the camera is set for free-run, each cycle of the camera’s internal control signal will trigger the transmission of a test image. Figure 3-21: Test Image One (10 bit mode) 3-32 BASLER A102...
0, the pixels in column 514 have a value of 1, the pixels in column 515 have a value of 2, and so on. This pattern continues until column 696 where the pixels have a value of 183. 3-33 BASLER A102...
Page 60
15 have a gray value of 1, the pixels in line 14 have a gray value of 2, and so on. This pattern continues until line 1 where the pixels have a gray value of 15. 3-34 BASLER A102...
Set or the Factory Set to the Work Set, or to set the Startup Pointer. With binary commands, you use the Copy Work Set to User Set command, the Copy Factory Set or User Set to Work Set command, and the Select Startup Pointer command to manipulate configuration sets. 3-35 BASLER A102...
• with binary commands. You can use the Camera Status command (see Section 4.2.7) to check if the camera has detected any errors. • by checking the LED on the back of the camera. If certain error conditions are present, the LED will blink (see Section 6.1). 3-36 BASLER A102...
Page 63
CamReg tool to set the parameters on your camera. Please contact your local dealer to receive the CamReg tool. Once the CCT+ is completed and tested, it will be made available for download from the Basler web site www.basler-vc.com. BASLER A102...
1. Make sure that the properties for the RS-644 serial port on your frame grabber are properly configured and that the camera has power. 2. To start the CCT+, click Start, click Basler Vision Technologies, and then click CCT+ (default installation).
Work Set to a User Set, to Copy a User Set or the Factory Set to the Work Set, or to set the Startup Pointer. To access on-line help, press the F1 key whenever the configuration tool is active. BASLER A102...
To execute the binary programming commands, you can load the DLL for the frame grabber you are using into your programming tool. If you are using your camera with an optional Basler Interface Converter (k-BIC), you can configure the camera via the RS-232 serial connection between your PC and the k-BIC.
The block check character is the exclusive-or sum (XOR sum) of the bytes in the descriptor field and the data field. Identifies the end of the frame text Size = 1 Byte (The value of the ETX byte is always 0x03) BASLER A102...
Page 68
Configuring the Camera ACK/NAK Response Positive frame acknowledge/negative frame acknowledge Size = 1 byte (The value for a positive frame acknowledgement is 0x06 and for a negative frame acknowledgement is 0x15.) All values are formatted as little endian (Intel format). BASLER A102...
The camera does not perform a check to see if the data in the write command is within the al- lowed range or specified group of allowed values. BASLER A102...
Set to User Set 2, the data byte must be set to 0x02. 0x45 - is the block check character (BCC). See page 4-9 for instructions on calculating a BCC. 0x03 - is the ETX. The ETX is always 0x03. BASLER A102...
R/W-Flag Data Length Data 0xC0 1 Byte Response: None Data Format: Byte 1 An ID that specifies the data output mode (see the table below). Output Mode 0x00 Single 8 Bit mode 0x02 Single 10 Bit mode 4-10 BASLER A102...
R/W-Flag Data Length Data 0xA0 1 Byte Response: None Data Format: Byte 1 An ID that specifies the exposure mode (see the table below). Exposure Time Control Mode 0x00 Free-run, Programmable 0x04 ExSync, Level-controlled 0x05 ExSync, Programmable 4-11 BASLER A102...
Low byte of the Timer 2 setting Byte 2 Mid byte of the Timer 2 setting Byte 3 High byte of the Timer 2 setting Data Range: Timer settings can range from 15 µs (0x00000F) to 16,777,215 µs (0xFFFFFF). 4-12 BASLER A102...
No digital shift 0x01 Digital shift once (multiplies output 2X) 0x02 Digital shift twice (multiplies output 4X) 0x03 Digital Shift by three (multiplies output 8X) See Section 3.7.3 for precautions that you must consider when using digital shift. 4-13 BASLER A102...
High byte of the width in columns setting Data Range: The width in columns setting can range from 1 (0x0001) to 1392 (0x0570). See Section 3.8.1 for a list of guidelines which must be followed when entering the settings for the area of interest. 4-14 BASLER A102...
High byte of the height in lines setting Data Range: The height in lines setting can range from 1 (0x0001) to 1040 (0x0410). See Section 3.8.1 or a list of guidelines which must be followed when entering the settings for the area of interest. 4-15 BASLER A102...
R/W-Flag Data Length Data 0x84 2 Bytes Response: None Data Format: Byte 1 Low byte of offset setting Byte 2 High byte of offset setting Data Range: Offset settings can range from 0 (0x0000) to 255 (0x00FF). 4-16 BASLER A102...
1 Byte Response: None Data Format: Byte 1 An ID that specifies the binning status (see the table below). Binning 0x00 Vertical binning not enabled 0x01 Vertical binning enabled For full binning, enable both horizontal and vertical binning. 4-17 BASLER A102...
An ID that specifies the test image (see the table below). Test Image 0x00 No test image 0x01 Test Image 1 (diagonal gradient pattern) 0x02 Test Image 2 (moving gradient pattern) 0x03 Test Image 3 (vert./horiz. gradient pattern) 4-18 BASLER A102...
Data Length Data 0x03 Response: Cmd-ID R/W-Flag Data Length Data 0x03 16 Bytes Data Format: Zero terminated string if less than 16 bytes are needed for the product ID information. Unterminated string if all 16 bytes are needed. 4-19 BASLER A102...
Data Length Data 0x06 Response: Cmd-ID R/W-Flag Data Length Data 0x06 3 Bytes Data Format: Byte 1 Low byte of firmware version BCD coded Byte 2 High byte of firmware version BCD coded Byte 3 Register Layout ID 4-20 BASLER A102...
Data Length Data 0x41 Response: Cmd-ID R/W-Flag Data Length Data 0x41 3 Bytes Data Format: Byte 1 Low byte of firmware version BCD coded Byte 2 High byte of firmware version BCD coded Byte 3 Register Layout ID 4-21 BASLER A102...
Data 0x08 Response: Cmd-ID R/W-Flag Data Length Data 0x08 16 Bytes Data Format: Byte 1 Low byte of minimum gain setting. Byte 2 High byte of minimum gain setting. Bytes 3 to 16 Reserved. Should be ignored. 4-22 BASLER A102...
User Set 7 0x08 User Set 8 0x09 User Set 9 0x0A User Set 10 0x0B User Set 11 0x0C User Set 12 0x0D User Set 13 0x0E User Set 14 0x0F User Set 15 0xFF No active set 4-23 BASLER A102...
User Set 6 0x07 User Set 7 0x08 User Set 8 0x09 User Set 9 0x0A User Set 10 0x0B User Set 11 0x0C User Set 12 0x0D User Set 13 0x0E User Set 14 0x0F User Set 15 4-24 BASLER A102...
User Set 6 0x07 User Set 7 0x08 User Set 8 0x09 User Set 9 0x0A User Set 10 0x0B User Set 11 0x0C User Set 12 0x0D User Set 13 0x0E User Set 14 0x0F User Set 15 4-25 BASLER A102...
User set is erroneous Bit 5 Factory set is erroneous Bit 6 EEPROM checksum error (this is a checksum used to determine if the contents of the EEPROM are valid) Bit 7 No EEPROM command list available 4-26 BASLER A102...
Note: The RS-644 serial port on some Camera Link frame grabbers will only support a bitrate of 9600. If you are using a Camera Link frame grabber, check the grabber’s documentation before attempting to change the bitrate. 4-27 BASLER A102...
Type: This is a write only command. Write Command: Cmd-ID R/W-Flag Data Length Data 0x42 0x07, 0xCF Response: None Data Format: Byte 1 Low byte 0x07 is always used Byte 2 High byte 0xCF is always used 4-28 BASLER A102...
M4 mounting holes on the front and two M4 mounting holes on each side as indicated in Figure 5-1. Caution! To avoid collecting dust on the sensor, mount a lens on the camera imme- diately after unpacking it. BASLER A102...
Page 92
DRAFT Mechanical Considerations Drawings are not to scale. Figure 5-1: A102 Mechanical Dimensions (in mm) BASLER A102...
DRAFT Mechanical Considerations 5.2 C-Mount Adapter Dimensions Drawings are not to scale. Figure 5-2: C-Mount Adapter Dimensions (in mm) 5.3 F-Mount Adapter Dimensions Drawings are not to scale. Figure 5-3: F-Mount Adapter Dimensions (in mm) BASLER A102...
Since the translatory and rotational positioning tolerance depend on each other, the worse case of maximum rotational and horizontal/vertical mis-positioning can not occur at the same time. Drawings are not to scale. Figure 5-4: Rotational Positioning Accuracy BASLER A102...
Please contact Basler technical support. 8 blinks The FPGA could not be configured. Please contact Basler technical support. Table 6-1: Camera Status Indicators If the status LED on the back of the camera is not lit, it means that power to the camera is not present or is less than 10.8 Volts.
ExSync signal. Check the ExSync blinking signal or set the camera for Free- 3 pulses. run mode (See Section 3.2.2). Call Basler Technical Support No. It is for assistance. (The contact blinking numbers appear on the title 5, 6, 7 or 8 page of this manual.)
Page 97
ExSync period. interfacing setting. troubleshooting Can the test image be seen? Is the exposure OK? chart. Go to the Switch on test image one. interfacing Replace the camera. troubleshooting Can the test image be seen? chart. Replace the camera. BASLER A102...
Exit this chart. Exit this chart. Contact Basler Technical Support. The contact numbers appear on the title page of this manual. Before you call for support, be sure to make note of the camera settings and the frame grabber settings you are using.
Exit this chart. Configuration files for many types of frame grabbers are available at the Basler web site: www.basler-vc.com. These files have all been tested with the A102 and we suggest that you use them if one is available for your type of frame grabber.
Make sure that no other program has access to the port. use” message appear? You may need to update the CCT+. To download the latest version of the tool, go to the Basler web site at www.baslerweb-vc.com. Does a “Camera is not supported”...
Page 101
DRAFT Revision History Doc. ID Number Date Changes DA00052201 11 Dec 2001 Initial release covering prototype production cameras. DA00052202 30 May 2002 Initial release covering series production cameras. DA00052203 31 May 2002 Revised Section 3.9. BASLER A102...