background image

USER’S MANUAL

Document Number: DA00063006

Release Date: 7 December 2010

Summary of Contents for A102f

Page 1: ...USER S MANUAL Document Number DA00063006 Release Date 7 December 2010 ...

Page 2: ...his manual must be used with this equipment in order to comply with the limits for a computing device pursuant to Subpart J of Part 15 of FCC Rules For customers in Canada This apparatus complies with the Class A limits for radio noise emissions set out in Radio Inter ference Regulations Pour utilisateurs au Canada Cet appareil est conforme aux normes Classe A pour bruits radioélectriques spécifié...

Page 3: ...63 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 7608 bc support usa baslerweb com Asia Basler Asia Pte Ltd 8 Boon Lay Way 03 03 Tradehub 21 Singapore 609964 Tel 65 6425 0472 Fax 65 6425 0473 bc support asia baslerweb com www baslerweb com ...

Page 4: ......

Page 5: ...t Ports 2 5 2 5 1 Input Ports 2 5 2 5 2 Output Ports 2 5 2 5 3 Typical Input Circuits 2 7 2 5 4 Typical Output Circuits 2 8 3 Basic Operation and Standard Features 3 1 Functional Description 3 1 3 1 1 Overview 3 1 3 2 Exposure Control 3 4 3 2 1 Setting the Exposure Time 3 4 3 2 2 Maximum Exposure Time 3 4 3 2 3 Controlling Exposure Start with Shot Commands via the 1394 Interface 3 5 3 2 4 Controll...

Page 6: ...nfiguration Sets and Memory Channels 3 38 3 15 1 Saving Configuration Sets 3 38 3 15 2 Copying a Saved Configuration Set or the Factory Set into the Work Set 3 39 3 15 3 Designating a Startup Memory Channel 3 39 4 Configuring the Camera 4 1 Block Read and Write Capabilities 4 2 4 2 Changing the Video Format setting 4 2 4 3 Configuration ROM 4 2 4 4 Implemented Standard Registers 4 3 4 4 1 Inquiry ...

Page 7: ...th the Camera Set for Raw 16 Output 5 9 5 4 Image Data Structure 5 13 5 4 1 Data Structure for a Y Mono 8 or an R G or B Raw 8 Component 5 13 5 4 2 Data Structure for a U or a V Component 5 13 5 4 3 Data Structure for a Y Mono 16 or an R G or B Raw 16 Component 5 14 6 Smart Features and the Smart Features Framework 6 1 What are Smart Features 6 1 6 2 What is the Smart Features Framework 6 1 6 3 Wh...

Page 8: ... Startup Memory Channel 6 33 6 7 13 Shutter Time Base 6 34 6 7 14 Strobe Time Base 6 36 6 8 Customized Smart Features 6 38 7 Mechanical Considerations 7 1 Camera Dimensions and Mounting Facilities 7 2 7 2 Sensor Positioning Accuracy 7 3 7 3 Maximum Lens Thread Length on the A102fc 7 4 7 4 Mechanical Stress Test Results 7 5 Revision History i Index iii ...

Page 9: ...with the Basler BCAM 1394 driver To see the firmware ID number 1 Attach your camera to a computer equipped with the BCAM 1394 driver 2 Double click the BCAM Viewer icon on your desktop or click Start All Programs Basler Vision Technologies BCAM 1394 BCAM Viewer The viewer program window will open 3 Find the camera name in the Bus Viewer panel that appears on the left side of the window and click o...

Page 10: ...rage Gain and Brightness Programmable via IEEE 1394 bus Exposure Time Control Programmable via IEEE 1394 bus Synchronization External via External Trigger signal Power Requirements 8 0 to 36 0 VDC 12 VDC nominal 1 ripple 3 5 W max 12 VDC supplied via 1394 cable I O Electrical Characteristics Inputs opto isolated 5 VDC nominal 10 mA nominal Outputs opto isolated 2 to 35 VDC maximum forward voltage ...

Page 11: ...102f Passages that are only valid for a specific model will be so indicated 1 4 Spectral Response The spectral response for the A102f monochrome cameras is shown in Figure 1 2 Figure 1 2 A102f Spectral Response Monochrome Cameras L The spectral response curve excludes lens characteristics and light source characteristics 400 0 0 2 0 4 0 6 0 8 0 9 0 7 0 5 0 3 0 1 1 0 500 600 700 800 900 1000 ...

Page 12: ...sponse curves exclude lens characteristics and light source characteristics To get the best performance from A102fc color cameras use of a dielectric IR cut off filter is recommended The filter should transmit in a range of 400 nm to 700 720 nm and it should cut off from 700 720 nm to 1100 nm A suitable filter is included in the standard C mount adapter on A102fc cameras ...

Page 13: ...mable or metallic material inside the camera housing If operated with any foreign matter inside the camera may fail or cause a fire Electromagnetic Fields Do not operate the camera in the vicinity of strong electromagnetic fields Avoid electrostatic charging Transporting Transport the camera in its original packaging only Do not discard the packaging Cleaning Avoid cleaning the surface of the CCD ...

Page 14: ...er before sending it back The RMA number must be stated in your delivery documents when you ship your material to us Please be aware that if you return material without an RMA number we reserve the right to reject the material You can find detailed information about how to obtain an RMA number on the Basler website at www baslerweb com beitraege beitrag_en_79701 html ...

Page 15: ...face 2 1 Connections 2 1 1 General Description The A102f is interfaced to external circuitry via an IEEE 1394 socket and a 10 pin RJ 45 jack located on the back of the housing Figure 2 1 shows the location of the two connectors Figure 2 1 Camera Connectors ...

Page 16: ...four physical input ports and four physical output ports on the camera The pin assignments for the jack are shown in Table 2 2 Pin Signal 1 Power Input 8 0 to 36 0 VDC 2 DC Gnd 3 TPB 4 TPB 5 TPA 6 TPA Table 2 1 Pin Assignments for the IEEE 1394 Socket Pin Designation 1 Output Port 3 2 Output Port 2 3 Output Port 1 4 Output Port 0 5 Input Port 0 6 In Gnd Comm 7 Out VCC Comm 8 Input Port 2 9 Input P...

Page 17: ...nector on the camera is an RJ 45 jack L The camera housing is connected to the cable shields and coupled to signal ground through an RC network see Figure 2 3 for more details Caution The plug on the cable that you attach to the camera s RJ 45 jack must have 10 pins Use of a smaller plug such as one with 8 pins or 4 pins can damage the pins in the RJ 45 jack on the camera ...

Page 18: ... the camera via the IEEE 1394 cable Nominal input voltage is 12 0_VDC however the camera will operate properly on any input voltage from 8 0 VDC to 36 0 VDC as specified in the IEEE 1394 standard Maximum power consumption for the A102f is 3 5 W at 12 VDC Ripple must be less than 1 2 4 IEEE 1394 Device Information The A102f uses an IEEE 1394a 2000 compliant physical layer device to transmit pixel d...

Page 19: ...nd pin numbering As shown in the schematic in Figure 2 3 each output port is opto isolated The minimum forward voltage is 2 V the maximum forward voltage is 35 V the maximum reverse voltage is 6 V and the maximum collector current is 100 mA A conducting transistor means a logical one and a non conducting transistor means a logical zero By default Output Port 0 is assigned to transmit an integratio...

Page 20: ... 560 Ω Gnd 560 Ω 560 Ω Gnd 560 Ω 560 Ω Gnd 560 Ω 560 Ω Out_VCC_Com Out_0 Out_1 Out_2 Out_3 To IEEE 1394a 2000 Compliant Physical Layer Controller Gnd 6 5 4 3 2 1 Shield Shield TPA TPA TPB TPB VG VP IEEE 1 2 3 4 5 6 7 8 9 10 Cable Shields 10 Pin RJ 45 Jack Out_3 Out_2 Out_1 Out_0 In_0 In_Gnd_Comm Out_VCC_Com In_2 In_1 In_3 Gnd 1 M Cable Shields PS2805C 4 or PC3Q64Q PS2805C 4 or PC3Q64Q PS2805C 4 or...

Page 21: ... is applied to input port 1 Figure 2 4 Typical 5 VDC Input Circuit Figure 2 5 shows a typical 24 VDC circuit you can use to input a signal into the camera Notice that an external 1 2 k resistor has been added to the circuit This will result in approximately 15 mA being applied to the input In Figure 2 5 the signal is applied to input port 3 Figure 2 5 Typical 24 VDC Input Circuit ...

Page 22: ...mera output port 1 Figure 2 6 Typical Voltage Output Circuit Figure 2 7 shows a typical circuit you can use to monitor an output port with a LED or an optocoupler In this example the voltage for the external circuit is 24 VDC Current in the circuit is limited to approximately 10 mA by an external 2 2k resistor The circuit in Figure 2 7 is monitoring camera output port 2 Figure 2 7 Typical LED Outp...

Page 23: ...ted charges are transported from the sensor s light sensitive elements pixels to the vertical shift registers see Figure 3 1 The charges from the bottom line of pixels in the array are then moved into a horizontal shift register Next the charges are shifted out of the horizontal register through an FPGA and into an image buffer Shifting is clocked according to the camera s internal data rate As th...

Page 24: ...sor and the link layer controller allows data to be read out of the sensor at a rate that is independent of the data transmission rate between the camera and the host computer This ensures that the data transmission rate has no influence on image quality Figure 3 1 A102f Sensor Architecture ...

Page 25: ...Basic Operation Standard Features BASLER A102f 3 3 DRAFT Figure 3 2 Block Diagram ...

Page 26: ...ver if you require an exposure time that is shorter or longer than what you can achieve by changing the shutter value alone the shutter time base can also be changed The Shutter Time Base smart feature can be used to change the shutter time base For more information on changing the shutter time base see Section 6 7 13 3 2 2 Maximum Exposure Time The maximum exposure time for a given frame rate is ...

Page 27: ... images is automatically controlled by the camera If the camera is operating in video Format 0 the rate at which images will be captured and transmitted is determined by the setting in the Frame Rate field of the Current Video Frame Rate Revision control register see page 4 15 If the camera is operating in video Format 7 the rate at which images will be captured and transmitted is determined by th...

Page 28: ...lustrates programmable exposure with a software trigger Figure 3 3 Programmable Exposure with a Software Trigger Enabling the Software Trigger Feature To enable the software trigger feature Set the On Off field of the Trigger Mode control register to 1 to enable triggering Set the Trigger Source field of the Trigger Mode control register to 7 to select software trig gering Set the Trigger Mode fie...

Page 29: ... be equivalent to just issuing a one shot command as described in Section 3 2 3 The difference is in the way the camera reacts to each method With a one shot command there will be some delay between the One Shot field of the One Shot Multi Shot control register being set to 1 and the actual start of exposure time This delay is required so that the camera can be properly set up to react to the rece...

Page 30: ...ating a camera with an ExTrig signal period of 110 ms 0 110 sec So in this case the frame rate is 9 1 fps The minimum high time for a rising edge trigger or low time for a falling edge trigger is 1 µs Exposure Modes If you are triggering the camera with an ExTrig signal two exposure modes are available programmable mode and level controlled mode Programmable Exposure Mode When programmable mode is...

Page 31: ...urce field in the Trigger Mode control register to select which one of the four physical input ports on the camera will be used to receive the external trigger signal Set the Trigger Source field to 0 to select physical input port 0 to receive the ExTrig signal Set the Trigger Source field to 1 to select physical input port 1 to receive the ExTrig signal Set the Trigger Source field to 2 to select...

Page 32: ...re will continue for the length of time you specified in step 1 5 At the end of the specified exposure time readout and transmission of the captured image will take place The One Shot field of the One Shot Multi Shot control register is self cleared after image transmission ExTrig Continuous Shot Operation In ExTrig Continuous shot operation a Continuous shot command is used to prepare the camera ...

Page 33: ...nd op erate the camera without directly setting registers The Basler BCAM 1394 Camera Driver for example has both a simple Windows interface and a programmer s API for parameterizing and operating the camera L On A102f cameras exposure of a new image can begin while the previous image is being read out This is commonly referred to as overlap mode Following the recom mended method for exposure star...

Page 34: ...ficient amount of image data has accumulated in the buffer it will begin transmitting the image data from the camera to the host PC This buffering technique avoids the need to exactly synchronize the clock used for sensor readout with the clock used for data transmission over the IEEE 1394 bus The camera will begin transmitting data when it has determined that it can safely do so without over runn...

Page 35: ...t x 51 2281 µs 9941 0 µs You can calculate the frame transmission time with this formula Frame Transmission Time Packets frame x 125 µs To calculate the transmission start delay use this information If the transmission time is greater than the readout time Transmission Start Delay 125 µs If the transmission time is less than the readout time Transmission Start Delay Readout Time Transmission Time ...

Page 36: ...rigger ready signal will go low when each exposure is started and will go high when it is safe for the next exposure to begin see Figure 3 6 By default the TrigRdy signal is assigned to physical output port 1 on the camera See Section 2 5 2 for a description of the electrical characteristics of the camera s physical output ports The assignment of the TrigRdy signal to a physical output port can be...

Page 37: ...camera to move during exposure In this case you can monitor the IntEn signal to know when exposure is taking place and thus know when to avoid moving the camera By default the IntEn signal is assigned to physical output port 0 on the camera See Section 2 5 2 for a description of the electrical characteristics of the camera s physical output ports The assignment of the IntEn signal to a physical ou...

Page 38: ...ses or decreases the amplitude of the signal that is input to the ADC Increasing or decreasing the offset moves the signal up or down the measurement scale but does not change the signal amplitude For most applications black should have a gray value of 1 and white should have a gray value of 255 in modes that output 8 bits per pixel or 4095 in modes that output 12 effective bits per pixel Attempt ...

Page 39: ...st exposure your gray values were no higher than 127 8 bit mode you could increase the gain to 6 dB amplification factor of 2 and thus reach gray values of 254 see Figure 3 9 Gain is adjustable and can be programmed on a decimal scale that ranges from 192 to 1023 0x0C0 to 0x3FF The camera s gain is determined by the setting in the Value field of the Gain control register see page 4 23 If you know ...

Page 40: ...to a slightly different setting An increase of 16 decimal in the brightness setting will result in a positive offset of 1 in the digital values output for the pixels For example a brightness setting of around 24 8 16 decimal would be required to reach a positive offset of 1 A brightness setting of around 40 8 16 16 decimal would be required to reach a positive offset of 2 and so on If the camera i...

Page 41: ...ill only transmit pixel data from within the area defined by your settings Information from the pixels outside of the area of interest is discarded Figure 3 10 Area of Interest The AOI feature is enabled by setting the camera to operate in Format 7 Mode 0 This is accomplished by setting the Format field of the Current Video Format control register see page 4 16 to 7 and the Mode field of the Curre...

Page 42: ...ssion of the current image is complete When transmission of the current image is complete the camera will change the AOI position will trigger the next image and will resume running in overlapped mode 1 The term non overlapped mode means that image capture is triggered in the following manner the camera captures exposes an image and completely transmits that image out of the camera before the next...

Page 43: ... determine the maximum frame rate for a given AOI use your AOI and exposure time settings to calculate a result in each of the three formulas below These formulas take your AOI size into account plus the three factors that can limit the frame rate The formula that returns the lowest value will determine the maximum frame rate for the given AOI Formula 1 calculates the maximum frame rate based on t...

Page 44: ...e with the current settings is 3 Formula 1 Max Frames s 64 2 Formula 2 Max Frames s 2666 7 Formula 3 Max Frames s 82 1 Formula one returns the lowest value So in this case the limiting parameter is the frame readout time and the maximum frame rate would be 64 2 frames per second L The number of packets per frame depends on the setting of the Format 7 Mode 0 Bytes Per Packet control register In thi...

Page 45: ...xposure only produces smearing in the lower part of the image Remember that the lens causes the image on the sensor to be inverted so the lower part of the image is at the top of the sensor An unwanted existing accumulation of charges in those shift registers which have passed points of constant illumination during the previous frame readout and have thus been exposed before they receive the next ...

Page 46: ...81 µs 16879 0 µs Frames s 21 0 If the camera s actual frame rate is higher than the maximum recommended frame rate the smearing will return When you exceed the maximum recommended frame rate by a small amount the upper part of the image will show partial smearing Figure 3 12 As the frame rate is increased the smearing will become worse Figure 3 12 Partial Smear ...

Page 47: ...This combination mimics the human eye s sensitivity to color Figure 3 13 Bayer Filter Pattern on the A102fc When an A102fc is operating in a YUV color output mode each pixel goes through a two step conversion process as it exits the sensor and passes through the camera s electronics In the first step of the process an interpolation algorithm is performed to get full RGB data for the pixel Because ...

Page 48: ...ue blue will have a higher correction factor and the image will be more blue The default setting for the Blue Value is 151 0x97 To determine the correction factor for blue use this formula The Red Value field of the White Balance control register can be used to change the red correction factor The usable range of settings for the this field is from 64 0x40 to 255 0xFF If the field is set to 96 0x6...

Page 49: ...s from 64 0x40 to 255 0xFF are useful If you set the Blue Value lower than 64 0x40 the camera will continue to operate but you will see unacceptable changes in the color balance The actual range of valid settings for the Red Value is from 16 0x10 to 255 0xFF however only the settings from 64 0x40 to 255 0xFF are useful If you set the Red Value lower than 64 0x40 the camera will continue to operate...

Page 50: ...t The filter is mounted in the lens adapter Cameras without an IR cut filter are available on request Caution The location of the filter limits the thread length of the lens that can be used on the camera The thread length on your lens must be less than 7 5 mm If a lens with a longer thread length is used the camera will be damaged and will no lon ger operate See Section 7 3 for more details ...

Page 51: ...and the value in the Mode Field of the Current Video Mode register see page 4 15 so that the camera will operate in Format 7 Mode 0 For 8 bit depth Set the value in the Coding ID field of the Color Coding ID register for Format 7 Mode 0 to either Mono 8 or Raw 8 see Section 3 13 2 and page 4 27 With either of these IDs set the camera outputs 8 bits per pixel When the Mono 8 color coding ID is set ...

Page 52: ...f the Strobe 0 Control register see page 4 22 The second is the Strobe Delay Time Base The Strobe 0 delay will be determined by the product of these two values Strobe 0 Delay Strobe 0 Delay Value Setting x Strobe Delay Time Base The strobe delay time base is fixed at 1 1024 ms by default Strobe 0 delay time is normally adjusted by changing the setting in the Delay Value field of the Strobe 0 Contr...

Page 53: ...robe delay time base see Section 6 7 14 Assigning the Strobe 0 Signal to a Port Once the Strobe 0 output signal has been enabled and parameterized it must be assigned to a physical output port on the camera The Strobe 0 signal can only be assigned to physical output port 0 Strobe output signals are assigned to physical ports by using the Output Port Configuration smart feature See Section 6 7 11 f...

Page 54: ...his register will be ignored See Section 6 7 11 for information on configuring physical output ports To determine the current state of the four physical input ports read the contents of the PIO Input register see page 4 41 The value in the Port 0 In field indicates the current state of physical input port 0 The value in the Port 1 In field indicates the current state of physical input port 1 The v...

Page 55: ... packet The number of bytes per packet is set by the Bytes Per Packet field of the Bytes Per Packet register The value that appears in the Max Bytes Per Packet field of the Packet Para Inquiry register will show the maximum allowed bytes per packet setting given the current AOI settings When the bytes per packet is set to the maximum the camera will transmit frames at its maximum specified rate By...

Page 56: ...utputs 8 bits per pixel When the Mono 16 ID is set in the Coding ID field of the Color Coding ID register for Format 7 Mode 0 the camera outputs 16 bits per pixel but only 12 bits are effective The effective pixel data fills from the LSB and the unused bits are filled with zeros Pixel data is stored in the PC memory in little endian format i e the low byte for each pixel is stored at the lower add...

Page 57: ... show the maximum allowed bytes per packet setting given the current AOI settings When the bytes per packet is set to the maximum the camera will transmit frames at its maximum specified rate By default the AOI is set to use the full sensor area and the bytes per packet is set to 4096 If you set the bytes per packet to a value lower than the maximum the camera will transmit frames at a lower rate ...

Page 58: ...the Color Coding ID register for Format 7 Mode 0 the camera outputs image data in the YUV 4 2 2 format at an average of 16 bits per pixel Format 7 Mode 1 Format 7 Mode 1 is very similar to Format 7 Mode 0 with the exception of the available color codlings and how the color codlings work Format 7 Mode 1 is parameterized by using the Format 7 Mode 1 control and status registers see page 4 34 Color C...

Page 59: ...s acceptable to the camera Image position Image size Color coding ID ISO speed This error flag is available for Format 7 only If you are operating the camera in Format 7 Mode 0 the flag is set in the Error Flag 1 field of the Value Setting register for Format 7 Mode 0 see page 4 33 If you are operating the camera in Format 7 Mode 1 the flag is set in the Error Flag 1 field of the Value Setting reg...

Page 60: ...era is reset or switched off The factory configuration set is usually just called the factory set for short 3 15 1 Saving Configuration Sets As mentioned above the work configuration set is stored in the camera s volatile memory and the settings are lost if the camera is reset or if power is switched off A102f cameras can save the current work set values in the volatile memory to reserved areas in...

Page 61: ... factory configuration settings will be copied into the work set 3 15 3 Designating a Startup Memory Channel Whenever a camera is powered on or is reset by default it copies the factory set settings in memory channel 0 into the work set A102f cameras have a startup channel feature that lets you change this behavior The startup channel feature designates which memory channel will be used at power o...

Page 62: ...Basic Operation Standard Features 3 40 BASLER A102f DRAFT ...

Page 63: ...utlines a set of Advanced Features registers These registers can be used to implement vendor unique features not defined in the standard The Basler Smart Features Framework takes advantage of these registers to implement features such as a frame counter and test images See Section 6 for more information The BCAM Driver A fully functional driver is available for Basler IEEE 1394 cameras such as the...

Page 64: ...enever the Video Format setting is changed you should also do the following If the Video Format is changed from Format 7 to Format 2 you should also check the Video Mode and the Video Frame Rate settings see page 4 16 If necessary change the Mode and Frame Rate settings so that they are compatible with Format 2 If the Video Format is changed from Format 2 to Format 7 you should also check the Vide...

Page 65: ...gister 4 4 1 2 Inquiry Registers for Video Formats Each bit in the video format inquiry register indicates the availability of a specific format 0 format not available 1 format available Register Name Camera Initialize Offset from Base Address 0x000 Field Bit Description Initialize 0 If you set this bit to 1 the camera will reset itself break any state lock and re initialize itself to the settings...

Page 66: ...l 0 0 Mode 2 2 1280 x 960 Y Mono 8 bits pixel 1 1 Mode 3 3 1600 x 1200 YUV 4 2 2 16 bits pixel 0 0 Mode 4 4 1600 x 1200 RGB 24 bits pixel 0 0 Mode 5 5 1600 x 1200 Y Mono 8 bits pixel 0 0 Mode 6 6 1280 x 960 Y Mono 16 bits pixel 1 0 Mode 7 7 1600 x 1200 Y Mono 16 bits pixel 0 0 8 31 Reserved Register Name Video Mode Inquiry for Format 7 Offset from Base Address 0x19C Field Bit Description A102f Val...

Page 67: ...Rate 2 2 7 5 fps standard frame rate 0 1 Frame Rate 3 3 15 fps standard frame rate 0 0 Frame Rate 4 4 30 fps standard frame rate 0 0 Frame Rate 5 5 60 fps standard frame rate 0 0 Frame Rate 6 6 Reserved Frame Rate 7 7 Reserved 8 31 Reserved Register Name Video Frame Rate Inquiry for Format 2 Mode 2 Offset from Base Address 0x248 Field Bit Description A102f Value A102fc Value Frame Rate 0 0 1 875 f...

Page 68: ... 5 60 fps standard frame rate 0 0 Frame Rate 6 6 Reserved Frame Rate 7 7 Reserved 8 31 Reserved Register Name Video CSR Inquiry for Format 7 Mode 0 Offset from Base Address 0x2E0 Field Bit Description Mode 0 0 31 Indicates the quadlet offset from the base address of the initial register space for the Format 7 Mode 0 Control and Status Register CSR The A102f and A102fc support Format 7 Mode 0 Regis...

Page 69: ... 1 Vmode Error Status Inq 1 VMode Error Status register availability 1 1 Feature Control Error Status Register Inq 2 Feature Control Error Status register availability 1 1 Optional Function CSR Inq 3 Optional Function Control and Status register availability 1 1 4 7 Reserved 1394 b Mode Capability 8 IEEE 1394b capability 0 0 9 15 Reserved Camera Power Ctrl 16 Power on off capability 0 0 17 18 Rese...

Page 70: ...1 Auto exposure control availability 0 0 Sharpness 2 Sharpness control availability 0 0 White Balance 3 White balance control availability 0 1 Hue 4 Hue control availability 0 0 Saturation 5 Saturation control availability 0 0 Gamma 6 Gamma control availability 0 0 Shutter 7 Shutter speed control availability 1 1 Gain 8 Gain control availability 1 1 Iris 9 Iris control availability 0 0 Focus 10 Fo...

Page 71: ...0 0 18 31 Reserved Register Name Optional Function Inquiry Offset from Base Address 0x40C Field Bit Description A102f Value A102fc Value 0 Reserved PIO 1 Parallel input output control availability 1 1 SIO 2 Serial input output control availability 0 0 Strobe Output 3 Strobe output control availability 1 1 4 31 Reserved Register Name Advanced Features Inquiry Offset from Base Address 0x480 Field Bi...

Page 72: ...the initial register space for the PIO Control and Status Registers CSR The A102f and A102fc support PIO control Register Name Strobe Output CSR Inquiry Offset from Base Address 0x48C Field Bit Description Strobe Output Quadlet Offset 0 31 Indicates the quadlet offset from the base address of the initial register space for the strobe output Control and Status Registers CSR The A102f and A102fc sup...

Page 73: ...d 1 1 On Off Inq 5 Brightness control can be switched on off 0 0 Auto Inq 6 A brightness auto control mode is present 0 0 Manual Inq 7 The brightness value can be set manually 1 1 Min Value 8 19 Minimum value for brightness 0 0 Max Value 20 31 Maximum value for brightness 255 255 Register Name White Balance Inquiry Offset from Base Address 0x50C Field Bit Description A102f Value A102f Value Presen...

Page 74: ...alue 0 0 2 Reserved One Push Inq 3 One push auto mode is present 0 0 Read Out Inq 4 The shutter value can be read 1 1 On Off Inq 5 Shutter control can be switched on off 0 0 Auto Inq 6 A shutter auto control mode is present 0 0 Manual Inq 7 The shutter value can be set manually 1 1 Min Value 8 19 Minimum value for shutter 1 1 Max Value 20 31 Maximum value for shutter In Format 2 depends on the for...

Page 75: ... Reserved One Push Inq 3 One push auto mode is present 0 0 Read Out Inq 4 The gain value can be read 1 1 On Off Inq 5 Gain control can be switched on off 0 0 Auto Inq 6 A gain auto control mode is present 0 0 Manual Inq 7 The gain value can be set manually 1 1 Min Value 8 19 Minimum value for gain 192 192 Max Value 20 31 Maximum value for gain When the camera is set for anything other than Mono 16...

Page 76: ... 0 1 1 Trigger Source 1 Inq 9 Trigger source 1 is present ID 1 1 1 Trigger Source 2 Inq 10 Trigger source 2 is present ID 2 1 1 Trigger Source 3 Inq 11 Trigger source 3 is present ID 3 1 1 12 14 Reserved Software Trigger Inq 15 Software trigger is present ID 7 1 1 Trigger Mode 0 Inq 16 Trigger mode 0 is present 1 1 Trigger Mode 1 Inq 17 Trigger mode 1 is present 1 1 Trigger Mode 2 Inq 18 Trigger m...

Page 77: ...ld Bit Description Frame Rate Revision 0 2 If a camera is set for video Format 2 this field sets the current video frame rate 0 frame rate 0 4 frame rate 4 1 frame rate 1 5 frame rate 5 2 frame rate 2 6 frame rate 6 3 frame rate 3 7 frame rate 7 Default 0 on the A102f and A102fc Check Sections 3 12 and 3 13 to determine the standard frame rates supported by the A102f and A102fc If the camera is se...

Page 78: ...ideo transmission for the legacy mode 0 channel 0 6 channel 6 11 channel 11 1 channel 1 7 channel 7 12 channel 12 2 channel 2 8 channel 8 13 channel 13 3 channel 3 9 channel 9 14 channel 14 4 channel 4 10 channel 10 15 channel 15 5 channel 5 Default 0 on the A102f and A102fc 4 5 Reserved Iso Speed L 6 7 Sets the isochronous transmit speed code for the legacy mode 0 100 M 1 200 M 2 400 M Default 2 ...

Page 79: ...ld will cause the current settings in the work con figuration set see Section 3 15 to be saved to the memory channel specified in the Memory Save Channel register see page 4 18 This register self clears 1 31 Reserved Register Name One Shot Multi Shot Offset from Base Address 0x61C Field Bit Description One Shot 0 When the camera is set for video Format 2 or Format 7 this field con trols the one sh...

Page 80: ...ed into the work configuration set see Sec tion 3 15 The valid values for writing to this register are 0 1 2 and 3 Reading the value from this register will indicate the last memory chan nel that was copied into the work configuration set 1 31 Reserved Register Name VMode Error Status Offset from Base Address 0x628 Field Bit Description Status 0 Used only when the camera is set for a standard form...

Page 81: ...Trigger Mode register is set to 0 this field will self clear 1 31 Reserved Register Name Data Depth Offset from Base Address 0x630 Field Bit Description Depth 0 7 Indicates the effective depth of the data in the transmitted images Depends on the current format and mode settings Also depends on the Color Coding ID if the camera is set for Format 7 This field is read only Camera set for Effective da...

Page 82: ...control is on or off The value will be 1 indicating that brightness control is on The bright ness control feature can t be switched off on A102f and A102fc cam eras This field is read only A M Mode 7 Sets whether the camera is in automatic or manual brightness control mode The value will be 0 indicating that brightness control is in manual mode Automatic brightness control is not available on A102...

Page 83: ...te balance control is on or off The value will be 1 indicating that white balance control is on The white balance control feature can t be switched off on A102f and A102fc cameras This field is read only A M Mode 7 Sets whether the camera is in automatic or manual white balance con trol mode The value will be 0 indicating that white balance control is in manual mode Automatic white balance control...

Page 84: ...is field is read only On Off 6 Sets whether shutter control is on or off The value will be 1 indicating that shutter control is on The shutter control feature can t be switched off on A102f and A102fc cameras This field is read only A M Mode 7 Sets whether the camera is in automatic or manual shutter control mode The value will be 0 indicating that shutter control is in manual mode Automatic shutt...

Page 85: ...s not in operation One push operation is not available on A102f and A102fc cameras This field is read only On Off 6 Sets whether gain control is on or off The value will be 1 indicating that gain control is on The gain control feature can t be switched off on A102f and A102fc cameras This field is read only A M Mode 7 Sets whether the camera is in automatic or manual gain control mode The value wi...

Page 86: ...ture can t be switched off on A102f and A102fc cameras This field is read only Trigger Polarity 7 Sets the trigger polarity when the camera is using a hardware trigger 0 low active input 1 high active input Default 1 on the A102f and A102fc Trigger Source 8 10 Sets the trigger source 0 External trigger signal applied to physical input port 0 1 External trigger signal applied to physical input port...

Page 87: ...or A102fc 0 no error present 1 A setting in the brightness control register see page 4 20 is out side of the allowed range This field is read only Auto Exposure 1 Not used on the A102f or A102fc This bit should be ignored Sharpness 2 Not used on the A102f or A102fc This bit should be ignored White Balance 3 Indicates a white balance control error on the A102fc 0 no error present 1 A setting in the...

Page 88: ...e Rate 15 Not used on the A102f or A102fc This bit should be ignored 16 31 Reserved Register Name Feature Control Error Status Low Offset from Base Address 0x644 Field Bit Description Zoom 0 Not used on the A102f or A102fc This bit should be ignored Pan 1 Not used on the A102f or A102fc This bit should be ignored Tilt 2 Not used on the A102f or A102fc This bit should be ignored Optical Filter 3 No...

Page 89: ...ignificant bit Register Name Max Image Size Inquiry Offset from Base Address 0x000 Field Bit Description Hmax 0 15 Indicates the maximum horizontal image size in pixels Hmax 1392 on the A102f Hmax 1388 on the A102fc Vmax 16 31 Indicates the maximum vertical image size in pixels Vmax 1040 on the A102f Vmax 1038 on the A102fc Register Name Unit Size Inquiry Offset from Base Address 0x004 Field Bit D...

Page 90: ...Base Address 0x00C Field Bit Description Width 0 15 Sets the width in columns for the area of interest see Section 3 6 Default 1392 on the A102f Default 1388 on the A102fc Height 16 31 Sets the height in rows for the area of interest see Section 3 6 Default 1040 on the A102f Default 1038 on the A102fc Register Name Color Coding ID Offset from Base Address 0x010 Field Bit Description Coding ID 0 7 ...

Page 91: ...ssed ID 1 0 0 4 2 2 YUV 8 2 4 2 2 YUV 8 bits component non compressed ID 2 0 1 4 4 4 YUV 8 3 4 4 4 YUV 8 bits component non compressed ID 3 0 0 RGB 8 4 RGB 8 bits component non compressed ID 4 0 0 Mono 16 5 Y only 16 bits non compressed unsigned integer ID 5 1 0 RGB 16 6 RGB 16 bits component non compressed unsigned integer ID 6 0 0 Signed Mono 16 7 Y only 16 bits non compressed signed integer ID ...

Page 92: ...added by enabled smart features see Section 6 Register Name Total Bytes Low Inquiry Offset from Base Address 0x03C Field Bit Description Bytes Per Frame Low 0 31 Indicates the lower quadlet of the total bytes of image data per frame The value in this register depends on settings in the Format 7 Mode 0 Image Size and Color Coding ID registers see page 4 28 The value in this register includes image ...

Page 93: ...r Frame Inquiry Offset from Base Address 0x048 Field Bit Description Packets Per Frame 0 31 Indicates the total packets per frame The value in this register depends on settings in the Format 7 Mode 0 Image Size and Color Coding ID registers see page 4 28 and on the setting in the Format 7 Mode 0 Bytes per Packet register see above The value in this register includes image data padding bytes and an...

Page 94: ... the transmitted images The value in this register depends on setting in the Format 7 Mode 0 Color Coding ID register see page 4 28 This field is read only Color Coding ID setting Effective data depth indicated ID 0 Mono 8 8 bits pixel ID 2 YUV 4 2 2 8 bits component ID 5 Mono 16 12 bits pixel ID 9 Raw 8 8 bits pixel ID 10 Raw 16 12 bits pixel 8 31 Reserved Register Name Color Filter ID Offset fro...

Page 95: ...Updates to the register values monitored by this field are per formed automatically 2 7 Reserved Error Flag 1 8 Indicates whether the combination of the values in the ISO Speed reg ister and in the Format 7 Mode 0 Image Position Image Size and Color Coding ID registers is acceptable 0 acceptable 1 not acceptable and no image capture can be started Error Flag 2 9 Indicates whether the value in the ...

Page 96: ...g 0x123 are in hexadecimal format Bit 0 in each register is the most significant bit Register Name Max Image Size Inquiry Offset from Base Address 0x000 Field Bit Description Hmax 0 15 Indicates the maximum horizontal image size in pixels Hmax 1388 Vmax 16 31 Indicates the maximum vertical image size in pixels Vmax 1038 Register Name Unit Size Inquiry Offset from Base Address 0x004 Field Bit Descr...

Page 97: ...egister Name Image Size Offset from Base Address 0x00C Field Bit Description Width 0 15 Sets the width in columns for the area of interest see Section 3 6 Default 1388 Height 16 31 Sets the height in rows for the area of interest see Section 3 6 Default 1038 Register Name Color Coding ID Offset from Base Address 0x010 Field Bit Description Coding ID 0 7 Sets the color coding Valid color codings fo...

Page 98: ...ccount for the color filter on the sensor This type of output is sometimes called Bayer 8 1 4 1 1 YUV8 1 4 4 1 YUV 8 bits component non compressed ID 1 0 4 2 2 YUV 8 2 4 2 2 YUV 8 bits component non compressed ID 2 0 4 4 4 YUV 8 3 4 4 4 YUV 8 bits component non compressed ID 3 0 RGB 8 4 RGB 8 bits component non compressed ID 4 0 Mono 16 5 Y only 16 bits non compressed unsigned integer ID 5 0 RGB 1...

Page 99: ...ding bytes and any data added by enabled smart features see Section 6 Register Name Total Bytes Low Inquiry Offset from Base Address 0x03C Field Bit Description Bytes Per Frame Low 0 31 Indicates the lower quadlet of the total bytes of image data per frame The value in this register depends on settings in the Format 7 Mode 1 Image Size and Color Coding ID registers see page 4 35 The value in this ...

Page 100: ... 7 settings are changed Register Name Packets Per Frame Inquiry Offset from Base Address 0x048 Field Bit Description Packets Per Frame 0 31 Indicates the total packets per frame The value in this register depends on settings in the Format 7 Mode 1 Image Size and Color Coding ID registers see page 4 35 and on the setting in the Bytes per Packet register see above The value in this register includes...

Page 101: ...Depth 0 7 Indicates the effective depth of the data in the transmitted images The value in this register depends onthe setting in the Format 7 Mode 1 Color Coding ID register see page 4 35 This field is read only Color Coding ID setting Effective data depth indicated ID 0 Mono 8 8 bits pixel 8 31 Reserved Register Name Color Filter ID Offset from Base Address 0x058 Field Bit Description Filter ID ...

Page 102: ...gis ter values monitored by this field are performed automatically 2 7 Reserved Error Flag 1 8 Indicates whether the combination of the values in the ISO Speed reg ister and in the Format 7 Mode 1 Image Position Image Size and Color Coding ID registers is acceptable 0 acceptable 1 not acceptable and no image capture can be started Error Flag 2 9 Indicates whether the value in the Bytes per Packet ...

Page 103: ...Sets the state of physical output port 3 0 low 1 high Port 2 Out 29 Sets the state of physical output port 2 0 low 1 high Port 1 Out 30 Sets the state of physical output port 1 0 low 1 high Port 0 Out 31 Sets the state of physical output port 0 0 low 1 high L The PIO Output register can only set the state of a physical output port if that port is configured as User Set see Section 6 7 11 For any o...

Page 104: ...a bit is set to 1 the camera supports this feature Register Name Strobe Control Inquiry Offset from Base Address 0x000 Field Bit Description A102f Value A102fc Value Strobe 0 Inq 0 Presence of the Strobe 0 signal feature 1 1 Strobe 1 Inq 1 Presence of the Strobe 1 signal feature 1 1 Strobe 2 Inq 2 Presence of the Strobe 2 signal feature 1 1 Strobe 3 Inq 3 Presence of the Strobe 3 signal feature 1 ...

Page 105: ...lue Same definitions and values as Strobe 0 Inq Register Name Strobe 2 Inquiry Offset from Base Address 0x108 Field Bit Description A102f Value A102fc Value Same definitions and values as Strobe 0 Inq Register Name Strobe 3 Inquiry Offset from Base Address 0x10C Field Bit Description A102f Value A102fc Value Same definitions and values as Strobe 0 Inq ...

Page 106: ... for the Strobe 0 signal see Section 3 10 The de lay value can range from 0 to 4095 Strobe 0 Delay Delay Value Setting x Strobe Delay Time Base Default 0 on the A102f and A102fc Note The strobe delay time base is normally 1 1024 ms but it can be adjusted by using the strobe time base smart feature See Sections 3 10 and 6 7 14 for more information Duration Value 20 31 Sets the duration value for th...

Page 107: ... as Strobe 0 Control L If a strobe signal is on the signal will only be present on the associated output port if the output port is configured for strobe For example if the Strobe 0 signal is on the signal will only be present on physical output port 0 if the port is configured for strobe If the Strobe 1 signal is on the signal will only be present on physical output port 1 if the port is configur...

Page 108: ...dvanced features registers including the Access Control register have been made part of Basler s Smart Features Framework SFF See Section 6 for a detailed explanation of using the SFF framework to access advanced features Section 6 5 1 contains specific information about using the Access Control register Register Name Special Features Access Control Register Offset from Base Address 0x000 Field Bi...

Page 109: ... 2 Pixel 1391 Row 1037 Pixel 0 Row 1037 Pixel 1 Row 1037 Pixel 2 Row 1037 Pixel 1390 Row 1037 Pixel 1391 Row 1038 Pixel 0 Row 1038 Pixel 1 Row 1038 Pixel 2 Row 1038 Pixel 1390 Row 1038 Pixel 1391 Row 1039 Pixel 0 Row 1039 Pixel 1 Row 1039 Pixel 2 Row 1039 Pixel 1390 Row 1039 Pixel 1391 Pixel data is transmitted from the camera in the following sequence on the A102fc Row 0 Pixel 0 Row 0 Pixel 1 Row...

Page 110: ...information is especially useful when calculating a camera s bandwidth usage 5 2 1 Format 2 Mode 0 1280 x 960 YUV 4 2 2 16 bits pixel avg 5 2 2 Format 2 Mode 2 1280 x 960 Y Mono 8 bits pixel 5 2 3 Format 2 Mode 6 1280 x 960 Y Mono 16 bits pixel Frame Rate 7 5 fps Lines per Packet 1 2 Pixels per Packet 640 Bytes per Packet 1280 Frame Rate 15 fps Lines per Packet 2 Pixels per Packet 2560 Bytes per P...

Page 111: ...by the camera Pn the last pixel transmitted by the camera B0 the first byte in the buffer Bm the last byte in the buffer Byte Data B0 U value for P0 B1 Y value for P0 B2 V Value for P0 B3 Y value for P1 B4 U value for P2 B5 Y value for P2 B6 V Value for P2 B7 Y value for P3 B8 U value for P4 B9 Y value for P4 B10 V Value for P4 B11 Y value for P5 Bm 7 U value for Pn 3 Bm 6 Y value for Pn 3 Bm 5 V ...

Page 112: ...owing standards are used in the table P0 the first pixel transmitted by the camera Pn the last pixel transmitted by the camera B0 the first byte in the buffer Bm the last byte in the buffer Byte Data B0 Y value for P0 B1 Y value for P1 B2 Y value for P2 B3 Y value for P3 B4 Y value for P4 B5 Y value for P5 B6 Y value for P6 B7 Y value for P7 Bm 3 Y value for Pn 3 Bm 2 Y value for Pn 2 Bm 1 Y value...

Page 113: ...lue for P4 B9 High byte of Y value for P4 B10 Low byte of Y value for P5 B11 High byte of Y value for P5 Bm 7 Low byte of Y value for Pn 3 Bm 6 High byte of Y value for Pn 3 Bm 5 Low byte of Y value for Pn 2 Bm 4 High byte of Y value for Pn 2 Bm 3 Low byte of Y value for Pn 1 Bm 2 High byte of Y value for Pn 1 Bm 1 Low byte of Y value for Pn Bm High byte of Y value for Pn L As shown in the table a...

Page 114: ...Bm the last byte of data for a line For Filter ID 0 RG GB Even Lines Odd Lines Byte Data Byte Data B0 Red value for P0 B0 Green value for P0 B1 Green value for P1 B1 Blue value for P1 B2 Red value for P2 B2 Green value for P2 B3 Green value for P3 B3 Blue value for P3 B4 Red value for P4 B4 Green value for P4 B5 Green value for P5 B5 Blue value for P5 Bm 5 Red value for Pn 5 Bm 5 Green value for P...

Page 115: ...Pn 3 Bm 2 Blue value for Pn 2 Bm 2 Green value for Pn 2 Bm 1 Green value for Pn 1 Bm 1 Red value for Pn 1 Bm Blue value for Pn Bm Green value for Pn Even Lines Odd Lines Byte Data Byte Data B0 Green value for P0 B0 Blue value for P0 B1 Red value for P1 B1 Green value for P1 B2 Green value for P2 B2 Blue value for P2 B3 Red value for P3 B3 Green value for P3 B4 Green value for P4 B4 Blue value for ...

Page 116: ...alue for P2 B3 Green value for P3 B3 Red value for P3 B4 Blue value for P4 B4 Green value for P4 B5 Green value for P5 B5 Red value for P5 Bm 5 Blue value for Pn 5 Bm 5 Green value for Pn 5 Bm 4 Green value for Pn 4 Bm 4 Red value for Pn 4 Bm 3 Blue value for Pn 3 Bm 3 Green value for Pn 3 Bm 2 Green value for Pn 2 Bm 2 Red value for Pn 2 Bm 1 Blue value for Pn 1 Bm 1 Green value for Pn 1 Bm Green...

Page 117: ...e for P1 B3 High byte of green value for P1 B3 High byte of blue value for P1 B4 Low byte of red value for P2 B4 Low byte of green value for P2 B5 High byte of red value for P2 B5 High byte of green value for P2 B6 Low byte of green value for P3 B6 Low byte of blue value for P3 B7 High byte of green value for P3 B7 High byte of blue value for P3 Bm 7 Low byte of red value for Pn 3 Bm 7 Low byte of...

Page 118: ... Low byte of blue value for P3 B6 Low byte of green value for P3 B7 High byte of blue value for P3 B7 High byte of green value for P3 Bm 7 Low byte of green value for Pn 3 Bm 7 Low byte of red value for Pn 3 Bm 6 High byte of green value for Pn 3 Bm 6 High byte of red value for Pn 3 Bm 5 Low byte of blue value for Pn 2 Bm 5 Low byte of green value for Pn 2 Bm 4 High byte of blue value for Pn 2 Bm ...

Page 119: ...B6 Low byte of red value for P3 B6 Low byte of green value for P3 B7 High byte of red value for P3 B7 High byte of green value for P3 Bm 7 Low byte of green value for Pn 3 Bm 7 Low byte of blue value for Pn 3 Bm 6 High byte of green value for Pn 3 Bm 6 High byte of blue value for Pn 3 Bm 5 Low byte of red value for Pn 2 Bm 5 Low byte of green value for Pn 2 Bm 4 High byte of red value for Pn 2 Bm ...

Page 120: ...e of green value for Pn 3 Bm 5 Low byte of green value for Pn 2 Bm 5 Low byte of red value for Pn 2 Bm 4 High byte of green value for Pn 2 Bm 4 High byte of red value for Pn 2 Bm 3 Low byte of blue value for Pn 1 Bm 3 Low byte of green value for Pn 1 Bm 2 High byte of blue value for Pn 1 Bm 2 High byte of green value for Pn 1 Bm 1 Low byte of green value for Pn Bm 1 Low byte of red value for Pn Bm...

Page 121: ...r a V Component The data output for a U or a V component is 8 bit data of the straight binary type The range of data values for a U or a V component and the corresponding indicated signal levels are shown below The signal level of a U component or a V component can range from 128 to 127 decimal Notice that the data values have been arranged to represent the full signal level range This Data Value ...

Page 122: ...data values for a Y mono component and the corresponding indicated signal levels are shown below This Data Value Hexadecimal Indicates This Signal Level Decimal 0x0FFF 4095 0x0FFE 4094 0x0001 1 0x0000 0 L Normally the data values for a 16 bit component would range from 0x0000 to 0xFFFF However when an A102f or A102fc camera is set for 16 bit output only 12 bits are effective Therefore the highest ...

Page 123: ...tamp and checksum are added as trailing data to each image as the image is transmitted from the camera 6 2 What is the Smart Features Framework The first component of the Smart Features Framework SFF is a mechanism that allows you to enable and to parametrize smart features This mechanism is essentially an extension of the register structure defined in the DCAM specification for use with Advanced ...

Page 124: ...sters See Section 6 4 for more information about the SFF Software 6 4 What is the Smart Features Framework Software A Smart Features Framework Software SFF Software package is available from Basler technical support The SFF Software has two major components An SFF Viewer The viewer is a Windows based tool that allows you to easily enable and disable smart features parameterize the camera capture a...

Page 125: ...f the DCAM standard smart features are a set of advanced DCAM features For Basler cameras unlocking advanced features is not strictly necessary because any implemented smart features are always available However the unlock mechanism is also used to check to see if a camera supports vendor unique features such as smart features If a device doesn t recognize a Feature ID written to the Access Contro...

Page 126: ...e s CSR To determine the starting address of a smart feature s CSR the feature s CSR GUID must be written to the Smart Features Inquiry register The Smart Features Inquiry register s offset relative to the Advanced Features Access Control Register is 0x10 If the camera recognizes the GUID as the CSR GUID for an implemented smart feature the address of CSR for the feature can be read from the Smart...

Page 127: ...FFFF F2F0 0010 D1 b Write quadlet data 0x11D8 1B84 to 0xFFFF F2F0 0014 D3 D2 c Write quadlet data 0x1000 B383 to 0xFFFF F2F0 0018 D4 3 D 0 d Write quadlet data 0x55AE 5B5A to 0xFFFF F2F0 001C D4 7 D 4 Instead of performing four quadlet write operations one block write operation can be performed Step 2 Read the start address for the smart feature from the Smart Features Address register a Read quad...

Page 128: ...describes the standard smart features available on A102f cameras Each smart features description includes an explanation of what the feature does and an explanation of the parameters associated with the feature The descriptions also include a detailed layout of how the bits contained within the feature s CSR relate to the parameters for the feature After reading the description of your desired sma...

Page 129: ...e data without any added information Figure 6 1 Image Data Stream with Smart Features Enabled As illustrated in Figure 6 1 when smart features are enabled each image frame consists of chunks For example the frame may include a chunk which contains the extended image data the basic image data plus the added height width etc information a chunk which contains the results for the frame counter smart ...

Page 130: ... smart features that add data to the image are enabled the size of each transmitted frame will be larger than you would normally expect for a frame which contains only image data To determine the size of the buffer that you will need to hold an image with appended smart features data check the Total Bytes High Inquiry and Total Bytes Low Inquiry registers of the Format 7 mode you are currently usi...

Page 131: ... Layout L The extended data stream feature must be enabled in order to use any of the other smart feature that adds information to the image data stream Disabling the extended data stream feature switches off all smart features that add information to the image data stream The extended data stream feature and any other smart features which add informa tion to the image data stream will only work w...

Page 132: ...nt AOI K M 12 Height 2 Bytes Height in pixels of the current AOI K M 14 Width 2 Bytes Width in pixels of the current AOI K M 16 Reserved 3 Bytes K M 19 Color Coding ID 1 Byte Color coding ID which describes the pixel data format See Sections 3 12 2 and 3 13 2 and pages 4 28 and 4 29 K M 20 Reserved 3 Bytes K M 23 Color Filter ID 1 Byte For color cameras describes the orientation of the color fil t...

Page 133: ...e the frame counter feature or any of the other smart feature that adds information to the image data stream Disabling the extended data stream feature switches off all smart features that add information to the image data stream The frame counter feature will only work when the camera is set for video format 7 Name Frame Counter Address See Determining the Address of Smart Features CSRs on page 6...

Page 134: ...ork when the camera is set for video format 7 Name Cycle Time Stamp Address See Determining the Address of Smart Features CSRs on page 6 4 CSR GUID 5590D58E 1B84 11D8 8447 00105A5BAE55 Field Bit Description Presence Inq Read only 0 Presence of this feature 0 Not Available 1 Available 1 30 Reserved Enable Read write 31 Enable Disable this feature 0 Disable 1 Enable Position Name Description 0 Cycle...

Page 135: ...ture or any of the other smart feature that adds information to the image data stream Disabling the extended data stream feature switches off all smart features that add information to the image data stream The DCAM values feature will only work when the camera is set for video format 7 Name DCAM Values Address See Determining the Address of Smart Features CSRs on page 6 4 CSR GUID 494DE528 1B84 1...

Page 136: ... ON OFF 6 0 The feature was disabled ignore the value 1 The feature was enabled A M Mode 7 0 The feature was in manual control mode 1 The feature was in auto control mode 8 19 Reserved Value 20 31 Value of the feature 4 Gain Absolute Value CSR 4 Bytes Field Bit Description Abs Value 0 31 Floating point value with IEEE real 4 format Unit dB 8 Shutter CSR 4 bytes Content of the DCAM Shutter CSR Same...

Page 137: ...e was disabled ignore the value 1 The feature was enabled A M Mode 7 0 The feature was in manual control mode 1 The feature was in auto control mode Blue Value 8 19 Blue value Red Value 20 31 Red Value 28 White Balance Absolute Value CSR 4 Bytes Field Bit Description Abs Value 0 31 Floating point value with IEEE real 4 format Unit K 32 Brightness CSR 4 bytes Content of the DCAM Brightness CSR Same...

Page 138: ...CRC Checksum Feature L The extended data stream feature see Section 6 7 1 must be enabled in order to use the CRC Checksum feature or any of the other smart feature that adds informa tion to the image data stream Disabling the extended data stream feature switches off all smart features that add information to the image data stream The CRC Checksum feature will only work when the camera is set for...

Page 139: ...buffer and the buffer s length in bytes to the CheckBuffer function The CheckBuffer function uses the CRC16 function to calculate the checksum These two samples are intended to aid you in developing the code for your application They are provided solely as examples brief Calculates a 16 bit CRC checksum param pData Pointer to the data buffer param nbyLength Size of the buffer in bytes return The C...

Page 140: ...unsigned char pData unsigned long nbyLength unsigned long nCurrentCRC nDesiredCRC Calculate the CRC checksum of the buffer Don t take the last four bytes containing the checksum into account nCurrentCRC CRC16 pData nbyLength sizeof unsigned long Retrieve the desired CRC value from the data buffer nDesiredCRC unsigned long pData nbyLength sizeof unsigned long 1 Return TRUE if they are equal return ...

Page 141: ...ows with several gray scale gradients ranging from 0 to 255 Assuming that the camera is operating at full 1392 x 1040 resolution and is set for a monochrome 8 bit output mode when the test images are generated Row 0 starts with a gray value of 0 for the first pixel Row 1 starts with a value of 1 for the first pixel Row 2 starts with a gray vale of 2 for the first pixel and so on If the camera is o...

Page 142: ...ond pixel 14 for the third pixel 15 for the fourth pixel If the camera is operating at a lower resolution when the test images are generated the basic appearance of the test pattern will be similar to the description above but the staring pixel values on each row will not be as described The mathematical expression for test image two is Gray Value x 4y Mod 4096 Test Image Three Test image three is...

Page 143: ...lable Image Inq 2 Read only 9 Presence of test image 2 0 Not Available 1 Available Image Inq 3 Read only 10 Presence of test image 3 0 Not Available 1 Available Image Inq 4 Read only 11 Presence of test image 4 0 Not Available 1 Available Image Inq 5 Read only 12 Presence of test image 5 0 Not Available 1 Available Image Inq 6 Read only 13 Presence of test image 6 0 Not Available 1 Available Image...

Page 144: ...t for any valid video for mat Name Extended Version Information Address See Determining the Address of Smart Features CSRs on page 6 4 CSR GUID 2B2D8714 C15E 4176 A235 6EF843D747B4 Field Bit Description Presence Inq Read only 0 Presence of this feature 0 Not Available 1 Available 1 7 Reserved Length 8 15 Specifies the length in quadlets of the string field 16 31 Reserved Version Info n Bytes An AS...

Page 145: ...ation 24 in the table represents the 8 bit value that will be transmitted out of the camera when the sensor reports that a pixel has a value of 24 And so on As you can see the table does not include an 8 bit output value for every pixel value that the sensor can report So what does the camera do when the sensor reports a pixel value that is between two values that have a defined 8 bit output In th...

Page 146: ...or Higher Camera Output at Low Sensor Readings L The lookup table smart feature does not add information to the image data stream and can be accessed even when the extended data stream feature see Section 6 7 1 is disabled The gain and offset functions remain active when the lookup table is used Gain and offset are applied to the pixel values reported from the sensor before the pixel values are pr...

Page 147: ...12 36 Quadlet 1 7 Read write 7 Quadlets Not used The values written in these qua dlets will be ignored 40 Quadlet 8 Read write 1 Quadlet Defines the 8 bit value that will be transmit ted from the camera when the 12 bit pixel value from the sensor is 8 44 68 Quadlet 9 15 Read write 7 Quadlets Not used The values written in these qua dlets will be ignored 72 Quadlet 16 Read write 1 Quadlet Defines t...

Page 148: ... the sensor is 4080 16332 16356 Quadlet 4081 4087 Read write 7 Quadlets Not used The values written here will be ignored 16360 Quadlet 4088 Read write 1 Quadlet Defines the 8 bit value that will be transmit ted from the camera when the 12 bit pixel value from the sensor is 4088 16364 16388 Quadlet 4089 4095 Read write 7 Quadlets Not used The value written here will be ig nored ...

Page 149: ... Only the values in line 0 line 8 line 16 line 24 etc are used for the lookup process However the file must contain 4096 lines with two comma separated values on each line The values on lines 1 through 7 9 through 15 17 through 23 etc must be included in the text file even though they are ignored The sample below shows part of a typical text file for a lookup table Assuming that you have enabled t...

Page 150: ...utput that represents noise no image information is lost and the resulting images have an extended dynamic range compared to normal 8 bit images Lossless compression is implemented on the A102f by means of a lookup table To enable lossless compression simply enable the lookup table feature as described in Section 6 7 8 When you enable the lookup table feature a default table is automatically loade...

Page 151: ...hen a trigger signal is received by the camera you can eliminate the need for a hard wired signal from the hardware device that is issuing the trigger Keep in mind that your degree of precision depends on your polling frequency and the 1394 bus latency Control and Status Register for the Trigger Flag and Counter Feature L The trigger flag and trigger counter smart feature does not add information ...

Page 152: ...sed to check the current state of the output port When using the output port configuration feature you should follow this sequence 1 Read the Presence Inq field and the Source Select Inq field for the physical port you want to work with Determine whether the port configuration feature is available for the port and if the source for the port is selectable 2 Use the Source Select field to select a s...

Page 153: ...e 27 31 Sets the source signal for output port 0 0 Integrate Enabled signal 1 Trigger Ready signal 3 User set state can be set with the User Setting field described below 4 Strobe 4 Source Select Inq Read only 0 31 If bit n is set then value n is valid for use in the Source Select field For example if bit 0 is set then 0 is a valid value for use in the Source Select field If bit 1 is set then 1 is...

Page 154: ...figuration Address See Determining the Address of Smart Features CSRs on page 6 4 CSR GUID C14E5072 4513 11D8 81F3 00105A5BAE55 Position Field Bit Description 0 Same as port 0 4 Same as port 0 8 Same as port 0 12 Same as port 0 16 Same as port 0 20 Same as port 0 Name Output Port 3 Configuration Address See Determining the Address of Smart Features CSRs on page 6 4 CSR GUID E79233CA 4513 11D8 9B9A...

Page 155: ...hannel 1 2 or 3 as the startup chanel if you have previously saved a configuration set into the designated channel You cannot use an empty memory channel as the startup channel See Section 3 15 The startup memory channel smart feature does not add information to the image data stream and can be accessed even when the extended data stream feature see Section 6 7 1 is disabled The startup memory cha...

Page 156: ...ing the shutter value alone the Shutter Time Base CSR can be used to change the shutter time base To change the shutter time base Set the Enable field in the Shutter Time Base CSR to 1 Set the Time Base field to your desired time base value Example Assume that you have set the Value field of the Shutter control register to 325 Also assume that you have enabled the time base smart feature and that ...

Page 157: ... adjusted The value in the increment field is a standard IEEE 754 single precision 32 bit floating point number 8 Min Read only 0 31 Minimum value in seconds for the time base field The value in the min field is a standard IEEE 754 single precision 32 bit floating point number 12 Min Read only 0 31 Maximum value in seconds for the time base field The value in the max field is a standard IEEE 754 s...

Page 158: ...r desired time base value Example Assume that you have set the Delay Value field of the Strobe 0 control register to 186 Also assume that you have set the Delay Time Base field in the Strobe Time Base CSR to 14 In this case Strobe 0 Delay Strobe 0 Delay Value Setting x Strobe Delay Time Base Strobe 0 Delay 186 x 14 1024 ms Strobe 0 Delay 2 54 ms Changing the Strobe Duration Time Base As described ...

Page 159: ... can be accessed even when the extended data stream feature see Sec tion 6 7 1 is disabled The strobe time base smart feature can be enabled regardless of the video format Name Strobe Time Base Address See Determining the Address of Smart Features CSRs on page 6 4 CSR GUID E77E6336 E617 11D8 9653 00105A5BAE55 Position Field Bit Description 0 Presence Inq Read only 0 Presence of the shutter time ba...

Page 160: ...t feature and for returning the results from the feature The Basler camera development team is ready and able to handle requests for customized smart features The cost to the customer for adding a customized smart feature to the A102f will depend on the complexity of algorithm software and firmware development of incorporating the feature within the smart features framework and of testing to ensur...

Page 161: ... manufactured with high precision Planar parallel and angular sides guarantee precise mounting with high repeatability Caution The camera is shipped with a cap on the lens mount To avoid collecting dust on the sensor make sure that at all times either the cap is in place or a lens is mounted on the camera ...

Page 162: ...ons and Mounting Facilities The dimensions for A102f cameras are as shown in Figure 7 1 A102f cameras are equipped with four M4 mounting holes on the front and two M4 mounting holes on each side as indicated in the drawings Figure 7 1 A102f Mechanical Dimensions in mm ...

Page 163: ...A102f 7 3 DRAFT 7 2 Sensor Positioning Accuracy The sensor positioning accuracy in the horizontal and vertical directions is as shown in Figure 7 2 Rotational accuracy is also shown in the figure Figure 7 2 Sensor Positioning Accuracy ...

Page 164: ...ith a longer thread length is used the IR cut filter will be damaged or destroyed and the camera will no longer operate Figure 7 3 Maximum Lens Thread Length on A102fc Cameras Caution A102fc color cameras are equipped with an IR cut filter mounted in of the lens adapter The location of the filter limits the thread length of the lens that can be used on the camera The thread length on your lens mus...

Page 165: ...era exhibited no detectable physical damage and produced normal images during standard operational testing Test Standard Conditions Vibration each axis IEC 60068 2 6 10 58 Hz 1 5 mm_58 500 Hz 20 g_1 Octave Minute 10 repetitions Shock each axis IEC 60068 2 27 20 g 11 ms 10 shocks positive 20 g 11 ms 10 shocks negative Bump each axis IEC 60068 2 29 20 g 11 ms 100 shocks positive 20 g 11 ms 100 shock...

Page 166: ...Mechanical Considerations 7 6 BASLER A102f DRAFT ...

Page 167: ...nal and Parallel IO Control features Added the Raw 16 color ID description on page 3 36 Updated the register descriptions in Section 4 4 to reflect new and revised features Added Section 6 describing the new smart features capabilities Revised Figure 7 1 to reflect a minor dimension change DA00063003 22 March 2004 Corrected errors in the description of the Control and Status Registers for PIO Cont...

Page 168: ... 7 14 Added information about the new configuration sets and memory channels to Sections 3 15 4 4 and 6 7 12 Reformatted and expanded the register descriptions in Section 4 4 Added Section 5 describing image data formats and structures Corrected the CSR GUID for Output Port 3 configuration on page 6 32 DA00063006 7 Dec 2010 Updated the European American and Asian contact addresses Added Section 1 ...

Page 169: ...olling 3 12 exposure time setting 3 4 extended data stream smart feature 6 9 extended version info smart feature 6 22 external trigger signal controlling exposure with 3 8 min high low time 3 8 F factory configuration set 3 38 firmware ID number 1 1 flags 3 37 frame buffering 3 12 frame counter smart feature 6 11 frame rate basic specification 1 2 changes with AOI 3 21 standard frame rates 3 33 3 ...

Page 170: ...port configuration 6 30 requirements 6 2 shutter time base 6 34 startup memory channel 6 33 strobe time base 6 36 test image 6 19 trigger flag and counter 6 29 smart features framework defined 6 1 smart features framework software 6 2 smear 3 23 software trigger controlling exposure with 3 6 specifications 1 2 spectral response 1 3 startup memory channel 3 39 startup memory channel smart feature 6...

Reviews: