background image

USER’S MANUAL

Document Number: DA00073201

Release Date: 1 June 2005

Summary of Contents for A640F

Page 1: ...USER S MANUAL Document Number DA00073201 Release Date 1 June 2005...

Page 2: ...is 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...

Page 3: ...support europe baslerweb com Americas Basler Inc 740 Springdale Drive Suite 100 Exton PA 19341 U S A Tel 1 877 934 8472 Fax 1 877 934 7608 vc support usa baslerweb com Asia Basler Asia PTe Ltd 25 Int...

Page 4: ......

Page 5: ...al 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 3 3 2 1 Setting the Exposure Ti...

Page 6: ...Frame Rates on Color Cameras 3 36 3 10 1 Standard Formats Modes and Frame Rates 3 36 3 10 2 Customizable Formats and Modes 3 38 3 11 Error Flags 3 40 3 12 Configuration Sets and Memory Channels 3 41...

Page 7: ...0 Mode 1 5 2 5 2 2 Format 0 Mode 3 5 2 5 2 3 Format 0 Mode 5 5 2 5 2 4 Format 0 Mode 6 5 3 5 2 5 Format 1 Mode 0 5 3 5 2 6 Format 1 Mode 2 5 3 5 2 7 Format 1 Mode 3 5 3 5 2 8 Format 1 Mode 5 5 4 5 2 9...

Page 8: ...dard Smart Features on the A640f 6 9 6 7 1 Extended Data Stream 6 9 6 7 2 Frame Counter 6 11 6 7 3 Cycle Time Stamp 6 12 6 7 4 DCAM Values 6 13 6 7 5 CRC Checksum 6 16 6 7 6 Test Images 6 19 6 7 7 Ext...

Page 9: ...mber 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 Vie...

Page 10: ...bits pixel 12 bits are effective Gain and Brightness Programmable via IEEE 1394 bus Exposure Time Control Programmable via IEEE 1394 bus Synchronization External via External Trigger signal Power Req...

Page 11: ...e camera and the A641fc is the color version Throughout this manual the camera will be called the A640f Passages that are only valid for a specific model will be so indicated 1 4 Spectral Response The...

Page 12: ...de lens characteristics light source characteristics and IR cut off filter characteristics To obtain the best performance from A641fc color cameras use of a dielectric IR cut off filter is recommended...

Page 13: ...liquid flammable 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...

Page 14: ...Introduction 1 6 BASLER A640f DRAFT...

Page 15: ...ace 2 1 Connections 2 1 1 General Description The A640f 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 loca...

Page 16: ...our 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...

Page 17: ...ector 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 c...

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 Maxim...

Page 19: ...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 th...

Page 20: ...Camera Interface 2 6 BASLER A640f DRAFT Figure 2 3 I O Schematic...

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 bee...

Page 22: ...ra 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 ext...

Page 23: ...s 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 horizon...

Page 24: ...at 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 A640f Sensor Architec...

Page 25: ...time will be 100 x 20 s or 2000 s As mentioned above the shutter time base is normally fixed at 20 s and the exposure time is normally adjusted by changing the shutter value setting However if you re...

Page 26: ...s is automatically controlled by the camera If the camera is operating in video Format 0 1 or 2 the rate at which images will be captured and transmitted is determined by the setting in the Frame Rate...

Page 27: ...ustrates 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...

Page 28: ...ure appears to 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 d...

Page 29: ...with an ExTrig signal period of 110 ms 0 110 s 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 3 2 5 1 Availabl...

Page 30: ...f the exposure time as controlled by the ExTrig signal is greater than the minimum the cam era will use the exposure time determined by the ExTrig signal Example 1 Assume that you set your camera for...

Page 31: ...ith a one shot or a continuous shot command If more precise control of exposure start time is desired you must also monitor the Trigger Ready signal and you must base the timing of the ExTrig signal o...

Page 32: ...t until TrigRdy goes high and then toggle ExTrig when desired See Section 3 2 8 for more about TrigRdy 4 When ExTrig rises exposure will begin Exposure will continue for the length of time you specifi...

Page 33: ...lly you do not want the 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...

Page 34: ...amera completes the entire exposure readout process before capture of the next image is triggered This situation is illustrated in Figure 3 6 Figure 3 6 Non overlapped Exposure While operating in a no...

Page 35: ...erating the camera with overlapped exposures there are two very important guidelines to keep in mind You must not begin the exposure of a new frame while the exposure of the previous frame is in progr...

Page 36: ...started and will go high again when it is safe for the next exposure to begin see Figure 3 8 The camera calculates the rise of the trigger ready signal based on the current shutter setting the current...

Page 37: ...rts The assignment of the TrigRdy signal to a physical output port can be changed See Section 6 7 11 for more information on changing the assignment of camera output signals to physical output ports L...

Page 38: ...data from the CCD sensor into a buffer in the camera When the camera has determined that a sufficient amount of image data has accumulated in the buffer it will begin transmitting the image data from...

Page 39: ...r monochrome cameras C 6610 35 s for color cameras You can calculate the frame transmission time with this formula Frame Transmission Time Packets frame x 125 s To calculate the transmission start del...

Page 40: ...iated with the VGC As shown in Figure 3 10 and Figure 3 11 increasing or decreasing the gain increases or decreases the amplitude of the signal that is input to the ADC Increasing or decreasing the of...

Page 41: ...the gain to 6 dB amplification factor of 2 and thus reach gray values of 254 see Figure 3 12 Gain is adjustable and can be programmed on a decimal scale that ranges from 350 to 1023 0x15E to 0x3FF The...

Page 42: ...ness setting will result in a positive offset of 1 in the digital values output for the pixels For example a brightness setting of around 32 16 16 decimal would be required to reach a positive offset...

Page 43: ...tion from the pixels outside of the area of interest is discarded Figure 3 13 Area of Interest On A641f monochrome cameras the AOI feature is enabled by setting the camera to operate in Format 7 Mode...

Page 44: ...the AOI size are not allowed on the fly The camera s response to an on the fly change in the AOI position will vary depending on the way that you are operating the camera If the exposure time is 100...

Page 45: ...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...

Page 46: ...the packets per frame with the current settings is 3 Formula 1 Max Frames s 81 0 Formula 2 Max Frames s 2666 7 Formula 3 Max Frames s 463 6 Formula one returns the lowest value So in this case the li...

Page 47: ...14 Bayer Filter Pattern on the A641fc When an A641fc 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...

Page 48: ...orrection factor The usable range of settings for the this field is from 64 0x40 to 255 0xFF If the field is set to 64 0x40 red will have the same 1 0 correction factor as green If the field is set to...

Page 49: ...r only the settings 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...

Page 50: ...s 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 threa...

Page 51: ...4 and the value in the Mode Field of the Current Video Mode register see page 4 23 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...

Page 52: ...the Strobe 0 Control register see page 4 52 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 Setti...

Page 53: ...ion on changing the strobe 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 physic...

Page 54: ...t settings in this 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...

Page 55: ...l 1 875 fps Format 0 Mode 6 Frame Rate 1 640 x 480 Y Mono 16 bits pixel 3 75 fps Format 0 Mode 6 Frame Rate 2 640 x 480 Y Mono 16 bits pixel 7 5 fps Format 0 Mode 6 Frame Rate 3 640 x 480 Y Mono 16 bi...

Page 56: ...Format 2 Mode 2 Frame Rate 1 1280 x 960 Y Mono 8 bits pixel 3 75 fps Format 2 Mode 2 Frame Rate 2 1280 x 960 Y Mono 8 bits pixel 7 5 fps Format 2 Mode 2 Frame Rate 3 1280 x 960 Y Mono 8 bits pixel 15...

Page 57: ...ting the number of bytes needed to transmit a frame the packets per frame will increase Due to limitations in the DCAM structure a maximum of 4095 packets per frame is allowed If you set the bytes per...

Page 58: ...4 640 x 480 YUV 4 2 2 16 bits pixel avg 30 fps Format 0 Mode 5 Frame Rate 0 640 x 480 Y Mono 8 bits pixel 1 875 fps Format 0 Mode 5 Frame Rate 1 640 x 480 Y Mono 8 bits pixel 3 75 fps Format 0 Mode 5...

Page 59: ...Mono 8 bits pixel 3 75 fps Format 2 Mode 5 Frame Rate 2 1600 x 1200 Y Mono 8 bits pixel 7 5 fps L Since there are no standard formats that provide raw data output from color cameras the Mono 8 and Mo...

Page 60: ...n the DCAM structure a maximum of 4095 packets per frame is allowed If you set the bytes per packet too low the number of packets per frame will exceed the 4095 packet limit and the camera will not tr...

Page 61: ...de 0 When the Mono 8 ID is set in the Coding ID field of the Color Coding ID register for Format 7 Mode 1 the camera outputs 8 bits per pixel and outputs the raw data for each pixel The pixel data is...

Page 62: ...combination of the following settings is 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...

Page 63: ...ra is reset or switched off The factory configuration set is usually just called the factory set for short 3 12 1 Saving Configuration Sets As mentioned above the work configuration set is stored in t...

Page 64: ...rk set 1 Set the value in the Current Memory Channel control register to 0 When you set the register the factory configuration settings will be copied into the work set 3 12 3 Designating a Startup Me...

Page 65: ...tlines 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 reg...

Page 66: ...never the Video Format setting is changed you should also do the following If the Video Format is changed from Format 7 to Format 0 you should also check the Video Mode and the Video Frame Rate settin...

Page 67: ...ister 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...

Page 68: ...0 Mode 3 3 640 x 480 YUV 4 2 2 16 bits pixel 0 1 Mode 4 4 640 x 480 RGB 24 bits pixel 0 0 Mode 5 5 640 x 480 Y Mono 8 bits pixel 1 1 Mode 6 6 640 x 480 Y Mono 16 bits pixel 1 0 Mode x 7 Reserved for a...

Page 69: ...4 4 1600 x 1200 RGB 24 bits pixel 0 0 Mode 5 5 1600 x 1200 Y Mono 8 bits pixel 1 1 Mode 6 6 1280 x 960 Y Mono 16 bits pixel 1 0 Mode 7 7 1600 x 1200 Y Mono 16 bits pixel 1 0 8 31 Reserved Register Nam...

Page 70: ...1 1 Frame Rate 3 3 15 fps standard frame rate 1 1 Frame Rate 4 4 30 fps standard frame rate 1 1 Frame Rate 5 5 60 fps standard frame rate 0 0 Frame Rate 6 6 120 fps standard frame rate 0 0 Frame Rate...

Page 71: ...frame rate 0 0 Frame Rate 6 6 120 fps standard frame rate 0 0 Frame Rate 7 7 240 fps standard frame rate 0 0 8 31 Reserved Register Name Video Frame Rate Inquiry for Format 0 Mode 6 Offset from Base A...

Page 72: ...ps standard frame rate 0 0 Frame Rate 6 6 120 fps standard frame rate 0 0 Frame Rate 7 7 240 fps standard frame rate 0 0 8 31 Reserved Register Name Video Frame Rate Inquiry for Format 1 Mode 2 Offset...

Page 73: ...frame rate 0 0 Frame Rate 6 6 120 fps standard frame rate 0 0 Frame Rate 7 7 240 fps standard frame rate 0 0 8 31 Reserved Register Name Video Frame Rate Inquiry for Format 1 Mode 5 Offset from Base A...

Page 74: ...0 Frame Rate 6 6 120 fps standard frame rate 0 0 Frame Rate 7 7 240 fps standard frame rate 0 0 8 31 Reserved Register Name Video Frame Rate Inquiry for Format 1 Mode 7 Offset from Base Address 0x23C...

Page 75: ...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 0x24...

Page 76: ...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 5 Offset from Base Address 0x254...

Page 77: ...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 7 Offset from Base...

Page 78: ...t from the base address of the initial register space for the Format 7 Mode 0 Control and Status Register CSR All A640f cameras support Format 7 Mode 0 Register Name Video CSR Inquiry for Format 7 Mod...

Page 79: ...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 availabil ity 1 1 Optional Function CSR Inq 3...

Page 80: ...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...

Page 81: ...0 0 18 31 Reserved Register Name Optional Function Inquiry Offset from Base Address 0x40C Field Bit Description A641f Value A641fc Value 0 Reserved PIO 1 Parallel input output control availability 1...

Page 82: ...f the initial register space for the PIO Control and Status Registers CSR All A640f cameras support PIO control Register Name Strobe Output CSR Inquiry Offset from Base Address 0x48C Field Bit Descrip...

Page 83: ...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 Minimu...

Page 84: ...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 shut...

Page 85: ...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 pre...

Page 86: ...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 Reserv...

Page 87: ...Address 0x600 Field Bit Description Frame Rate Revision 0 2 If a camera is set for video Format 0 1 or 2 this field sets the current video frame rate 0 frame rate 0 4 frame rate 4 1 frame rate 1 5 fra...

Page 88: ...r video 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 chann...

Page 89: ...s field will cause the current settings in the work con figuration set see Section 3 12 to be saved to the memory channel specified in the Memory Save Channel register see page 4 26 This register self...

Page 90: ...into the work configuration set see Sec tion 3 12 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 co...

Page 91: ...rigger 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 d...

Page 92: ...ation One push operation is not available on A640f cameras This field is read only On Off 6 Sets whether brightness control is on or off The value will be 1 indicating that brightness control is on Th...

Page 93: ...s read only On Off 6 Sets whether white balance control is on or off The value will be 1 on A641fc cameras indicating that white balance control is on The white balance control feature can t be switch...

Page 94: ...will be 0 indicating that one push is not in operation One push operation is not available on A640f cameras This field is read only On Off 6 Sets whether shutter control is on or off The value will be...

Page 95: ...indicating that one push is not in operation One push operation is not available on A640f cameras This field is read only On Off 6 Sets whether gain control is on or off The value will be 1 indicatin...

Page 96: ...ol feature can t be switched off on A640f 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 inpu...

Page 97: ...ontrol error on the camera 0 no error present 1 A setting in the brightness control register see page 4 28 is out side of the allowed range This field is read only Auto Exposure 1 Not used on A640f ca...

Page 98: ...ored Frame Rate 15 Not used on A640f cameras 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 us...

Page 99: ...ficant 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 1624 on the A641f Hmax 1624 on...

Page 100: ...Address 0x00C Field Bit Description Width 0 15 Sets the width in columns for the area of interest see Section 3 4 Default 1624 on the A641f Default 1624 on the A641fc Height 16 31 Sets the height in...

Page 101: ...sed 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...

Page 102: ...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 t...

Page 103: ...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 I...

Page 104: ...e transmitted images The value in this register depends on the setting in the Format 7 Mode 0 Color Coding ID register see page 4 43 This field is read only Color Coding ID setting Effective data dept...

Page 105: ...s to the register 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...

Page 106: ...e 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...

Page 107: ...gister 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 4 Default 1624 Height 16 31 Sets the height in r...

Page 108: ...count 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 co...

Page 109: ...ing 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 l...

Page 110: ...gs 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 depe...

Page 111: ...pth 0 7 Indicates the effective depth of the data in the transmitted images The value in this register depends on the setting in the Format 7 Mode 1 Color Coding ID register see page 4 43 This field i...

Page 112: ...to the register 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 M...

Page 113: ...ets 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...

Page 114: ...bit is set to 1 the camera supports this feature Register Name Strobe Control Inquiry Offset from Base Address 0x000 Field Bit Description A641f Value A641fc Value Strobe 0 Inq 0 Presence of the Stro...

Page 115: ...ue Same definitions and values as Strobe 0 Inq Register Name Strobe 2 Inquiry Offset from Base Address 0x108 Field Bit Description A641f Value A641fc Value Same definitions and values as Strobe 0 Inq...

Page 116: ...this register are read only Signal Polarity 7 Sets the polarity of the Strobe 0 signal 0 low active 1 high active Default 1 on all A640f cameras Delay Value 8 19 Sets the delay value for the Strobe 0...

Page 117: ...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 si...

Page 118: ...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 acc...

Page 119: ...Pixel 1623 Row 1233 Pixel 0 Row 1233 Pixel 1 Row 1233 Pixel 2 Row 1233 Pixel 1622 Row 1233 Pixel 1623 Row 1234 Pixel 0 Row 1234 Pixel 1 Row 1234 Pixel 2 Row 1234 Pixel 1622 Row 1234 Pixel 1623 Row 12...

Page 120: ...bits pixel avg 5 2 2 Format 0 Mode 3 640 x 480 YUV 4 2 2 16 bits pixel avg 5 2 3 Format 0 Mode 5 640 x 480 Y Mono 8 bits pixel Frame Rate 1 875 fps 3 75 fps 7 5 fps 15 fps 30 fps Lines per Packet 1 1...

Page 121: ...3 75 fps 7 5 fps 15 fps 30 fps Lines per Packet 1 8 1 4 1 2 1 2 Pixels per Packet 80 160 320 640 1280 Bytes per Packet 160 320 640 1280 2560 Frame Rate 3 75 fps 7 5 fps 15 fps Lines per Packet 5 16 5...

Page 122: ...5 fps 7 5 fps 15 fps Lines per Packet 3 8 3 4 3 2 Pixels per Packet 384 768 1536 Bytes per Packet 384 768 1536 Frame Rate 3 75 fps 7 5 fps 15 fps Lines per Packet 5 16 5 8 5 4 Pixels per Packet 250 50...

Page 123: ...ps 7 5 fps 15 fps Lines per Packet 1 4 1 2 1 2 Pixels per Packet 320 640 1280 2560 Bytes per Packet 320 640 1280 2560 Frame Rate 1 875 fps 3 75 fps 7 5 fps Lines per Packet 5 16 5 8 5 4 Pixels per Pac...

Page 124: ...tructures 5 6 BASLER A640f DRAFT 5 2 16 Format 2 Mode 7 1600 x 1200 Y Mono 16 bits pixel Frame Rate 1 875 fps 3 75 fps 7 5 fps Lines per Packet 5 16 5 8 5 4 Pixels per Packet 500 1000 2000 Bytes per P...

Page 125: ...y 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 P...

Page 126: ...wing 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 B...

Page 127: ...ue 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 fo...

Page 128: ...m 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...

Page 129: ...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 v...

Page 130: ...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...

Page 131: ...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 v...

Page 132: ...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 fo...

Page 133: ...6 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 f...

Page 134: ...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 val...

Page 135: ...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 sh...

Page 136: ...of 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 0x...

Page 137: ...ycle time stamp 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 Fra...

Page 138: ...What is the Smart Features Framework Software A Smart Features Framework Software SFF Software package is available from Basler The SFF Software has two major components An SFF Viewer The viewer is a...

Page 139: ...he 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...

Page 140: ...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...

Page 141: ...FFF 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...

Page 142: ...escribes the standard smart features available on A640f cameras Each smart features description includes an explanation of what the feature does and an explanation of the parameters associated with th...

Page 143: ...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 exampl...

Page 144: ...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...

Page 145: ...hunk 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...

Page 146: ...t 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 desc...

Page 147: ...see Section 6 7 1 must be enabled in order to use 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...

Page 148: ...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 Descr...

Page 149: ...ure 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 s...

Page 150: ...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...

Page 151: ...s 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...

Page 152: ...n 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 tha...

Page 153: ...uffer 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 th...

Page 154: ...nsigned 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 nCurrentCR...

Page 155: ...of rows with several gray scale gradients ranging from 0 to 255 Assuming that the camera is operating at full resolution and is set for a monochrome 8 bit output mode when the test images are generate...

Page 156: ...el 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 de...

Page 157: ...able 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 tes...

Page 158: ...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 Descriptio...

Page 159: ...tion 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...

Page 160: ...mera 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 i...

Page 161: ...the data for the field The 24 MSBs are all zeros 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...

Page 162: ...ey are ignored The sample below shows part of a typical text file for a lookup table Assuming that you have enabled the lookup table feature on your camera and used the Upload button to load a file si...

Page 163: ...Smart Features BASLER A640f 6 27 DRAFT Figure 6 6 Sample Text File for Use With Upload Button...

Page 164: ...tput 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 A640f by mean...

Page 165: ...en 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...

Page 166: ...ed 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...

Page 167: ...rite a value to select a 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 Sel...

Page 168: ...iguration 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 a...

Page 169: ...nnel 1 2 or 3 as the startup channel 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 12 The sta...

Page 170: ...g 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...

Page 171: ...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 mi...

Page 172: ...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...

Page 173: ...e 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...

Page 174: ...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 cust...

Page 175: ...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 dus...

Page 176: ...ons and Mounting Facilities The dimensions for A640f cameras are as shown in Figure 7 1 A640f cameras are equipped with two M3 mounting holes on the top and four M3 mounting holes on the bottom as ind...

Page 177: ...640f 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 Figur...

Page 178: ...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 A641fc Cameras Caution A641fc color camera...

Page 179: ...s of information before you contact technical support Copy the form that appears on pages 8 3 and 8 4 or download it from the support section of www basler vc com fill it out and fax the pages to your...

Page 180: ...Technical Support 8 2 BASLER A640f DRAFT...

Page 181: ...camera 4 Describe the problem in as much detail as possible If you need more space use an extra sheet of paper 5 If known what s the cause of the problem 6 When did the problem occur After start While...

Page 182: ...rom the support section of www basler vc com the tool is available for XP PCs only Send the generated file to Basler Technical Support Or you can look up the settings with the BCAM Viewer by using Vie...

Page 183: ...Revision History BASLER A640f i DRAFT Revision History Doc ID Number Date Changes DA00073201 1 June 2005 Initial release of the A640f User s Manual...

Page 184: ...Revision History ii BASLER A640f DRAFT...

Page 185: ...A640f iii DRAFT Feedback Your feedback will help us improve our documentation Please click the link below to access an online feedback form Your input is greatly appreciated http www baslerweb com umf...

Page 186: ...Feedback iv BASLER A640f DRAFT...

Page 187: ...trolling 3 16 exposure time setting 3 3 extended data stream smart feature 6 9 extended version info smart feature 6 22 external trigger signal controlling exposure with 3 7 min high low time 3 7 F fa...

Page 188: ...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 so...

Reviews: