Home
Sprint User`s Manual.book
Contents
1. l I Ie 1 u 1 o Jaq l 1d io f agong O 7 ese Ox F 3 ADA we I mN fal aiqe 14 a Tod eou I OP elo l Sg T PPA z I aw weg od xy 2a tbe z 6 6 I Za d 0 l I a Wor bee 5 5 yale I auod a EA d z uuog l WAG ad Z ile g l yaw Wi oz a EA z d I I NA ed g as rs WAT soa A z a PA z D rast l pe Jaq I sued zow wed T qeg EEJ Lex 7 l a oa l IPA
2. q air E 7 Stored data from line A Image of point for point 1 2 acquired by line A Line A pixel Image of data from this point 1 acquisition is acquired by stored ina line B buffer eo Line B ee Object Passing Camera Movement gt X Point 1 Point 2 Point 3 Point 4 Fig 17 Time Delayed Line Summing Acquisition Two 44 Basler sprint Line Acquisition Modes Acquisition 3 Pixel data is summed and transmitted from the camera as if it were a single line q i 7 Stored data from line A Image of point for point 2 3 acquired by line A Line A pixel Image of data from this point 2 acquisition is acquired by stored ina line B buffer Line A Line B C Object Passing Camera Movement gt x woo Point 1 Point 2 Point 3 Point 4 Fig 18 Time Delayed Line Summing Acquisition Three Basler sprint 45 Line Acquisition Modes Acquisit
3. Point 4 Point 3 Point 2 Point 1 Fig 14 Dual Line Acquisition ExSync Cycle 4 38 lt a Movement Basler sprint Line Acquisition Modes Setting the Camera for a Dual Line Max 140 kHz Acquisition Mode You can set the camera for two line acquisition mode by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Dual Line Max 140 kHz Line A First or to Dual Line Max 140 kHz Line B First By Setting CSRs You set the line acquisition mode to two line by writing the appropriate value to the Mode field of the Line Acquisition Mode CSR see page 145 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands Basler sprint 39 Line Acquisition Modes 3 4 Vertical Binning Acquisition Mode When the vertical binning acquisition mode is active each time a line acquisition is triggered the camera will expose both line A and line B When acquisition is complete i e exposure is finished the pixel values from line A will be added to the pixel values from B in the following manner The value for pixel 1 in line A will be added to the value for pixel 1 in line B The
4. cceeeeeeeeeeeseeeeeeeees 144 acquisition modes see line acquisition modes AOl see area of interest area Of interest 0 eceeeeeeeeeeeeteeeeeeeeeeees 98 area of interest length control and Status register irion e aenieei 156 area of interest starting pixel control and status register 155 B base camera link configuration 16 23 binary command protocol status inquiry register 142 binary read write commands 4 175 binning horizontal ccceeeeeeeeeeeeeees 50 DUIK data eeeceeeeeceeeeeeeeeeceeeeeeeeteeeeeeees 167 bulk data registers ee 135 167 C Cablings cco ae ae aaa 21 Calculations GESIQN cceeeeereeeeeees 54 camera configuration tool 134 camera link Cable eee 21 camera link Clock speed ssec 27 camera link clock speed control and status register 145 camera link implementation 23 camera reset control and status registers fateh te eee hehe 165 camera status inquiry register 140 camera version inquiry register 137 eg Ea cope rh eaten ner ene nn nee eee rE 134 cleaning the camera and sensor 13 Cleaning the Sensor ceecee 13 clock speed camera link eeee 27 Basler sprint Index code samples 183 configuration set control and status TEgIStE iat ei aaa a ae a 173 configuration sets COTING Ds gesicee fe ceigectspaceened eset hetcentecnss 128 SAVIN
5. 0 0 cece eee eee 143 7 2 2 1 Raw Value Fields vs Absolute Value Fields 143 7 2 2 2 Feature Control and Status Register Details 145 Camera Link Clock Speed CSR 0 eee eeceeeeeneeeeeeeneeeeeeneeeeeeneeeees 145 Line Acquisition Mode CSR eceeeeseeceeeseeeeeeneaeesesneeeeeeneeeeeeas 145 Horizontal Binning CSR issn cance ere eee fee edtdeieee dander 146 Exposure Time Control Mode CSR cece eee eee ener 146 Exposure Mme Co Raaen a ae a eae a a t e tative 147 Eine Penod KON n A E E A Aneel T 149 Video Data Output Mode CSR eee ceeeeeeseeeeeeneeeeeeneeeeeeneeeees 151 Gain GS coca sctce peeta pee aa e e enara 152 Offset OSR aeaee expe eee eee ee eee 153 Area of Interest Starting Pixel CSR cece eeeneeeseeeeeeeneeeeeees 155 Area of Interest Length CSR ooo eee ecececeeseeeeeeneeeeeeneeeeeeneneeeeaaaes 156 Shading Mode CSR ccsccceessseceesseceeeeseeeeeseenenesesneceeseneeeeneneeees 157 Shading Value Generate CSR eee eeceeeeeneeeeeeeneeeeeeneeeeeeneeeees 157 Test Image Mode CSR eee cceesseceessnceeeeeeeeeeeeeneeeenneceenenenerseneeees 158 Line Stamp Mode CSR ceccccesseeceesseeeeeeneeeeeeneaeesesneeeeeeneeereeas 159 Line Stamp Low Pixel Limit CSR eeeeeeeeeeeeeeteeeeeneeeeeees 160 Line Stamp High Pixel Threshold CSR enen 161 Lookup Table Mode CSR eeceeesceeeseneeeeeeeneeeeenneeeeeeneeeeeeneeeeeas 162 Lookup Table Index CSR
6. 0 0 cece eee ees 21 241 Gamera Link Cable 2 evhees oe a se eaaa bees eee See ites PA tele et 21 24 27 Power Cables eneen vaya ge Vow ce etre ha a che ee tees ESE 21 2 5 Input POWelsce an te ranae eee eats Veen Ot ee ate Ee ee ee eS 22 2 6 Camera Link Implementation 0 0 00 cee eee 23 27 INPUUSIONAIS 2 nw toon bc died dee eed owheeG eh bata eos d eee ee ede bs 25 2 7 1 Serialto Camera 0 a a EE tenes 25 2 7 2 External Sync ExSync 0 eee 25 287 QUIPULSIONAIS cit eden f pa bee oe ae Seda endo ee OOS es alee EN 26 28 Eine vald Bit eretta ridea ena ce ben eetis Anes esate eae eee waded 26 28 2 Data Valid Bites 25 2537 Sors Yo tee sad pean a en Shes USN RE TE weed 26 28 3 Pixel Data BiS resene s42ie Sooke a4 tle donde T Sees teat he bees 26 2 8 4 Camera Link Pixel Clock 0 0 cect eee 27 2 8 5 Serial to Frame Grabber 0 0 ccc eee 28 2 9 RS 644 Serial Communication 0 00 eee 29 2 9 1 Making the Serial Connection 0 0 0 c eect 29 Basler sprint i Table of Contents 3 Line Acquisition Modes 000c cece eee eee eee eee eee 31 3 1 IntroductiOn 2 acecceucd pion edt eke ed lw oe beer 8 orn bed ee eA ee ees 31 3 2 Single Line Max 70 kHz Acquisition Mode 0 0 0 eee eee 32 3 3 Dual Line Max 140 kHz Acquisition Modes 0 000 c eee eee eee 33 3 4 Vertical Binning Acquisition Mode 0 0 cece eee 40 3 5 Time Delayed
7. 0 0000 aaa 2 1 2 2 Camera Models with 4k PixelS 0 0000 c eee ee 3 1 3 Lens Adapt rS ess cw teted e mama eid Mio e eee Mee oes Lee A noe oe ee ee 4 1 4 Spectral Response 00 00 eee 5 1 5 Mechanical Specifications 0 0 ects 6 1 5 1 Camera Dimensions and Mounting Points 00 0c eee eee 6 1 5 2 Sensor Positioning Accuracy 0 0 cece eee 8 1 5 3 Sensor Line Location 0 0 tees 9 1 5 4 F mount Adapter Dimensions 0 0 00 cee eee eee 10 1 6 Environmental Requirements naaa 11 1 6 1 Temperature and Humidity 0 0 c eee eee 11 1 6 2 Heat Dissipation rsrs seid ani E a eee e eB SO ete ee 11 V7 PRECAUTIONS 34 4 44 netic a a Beebe Gk Rite teen diled Beh oe heb ed Reeth ase 12 2 Physical Interiace sis 2iiis cer cee er asawnae htt enact anain ewe i 15 2 1 General Description of the Connections sasaa aaaea aeaa 16 2 2 Connector Pin Assignments and Numbering 0 000 cece eee eee 17 2 2 1 Pin Assignments for the MDR Connectors 000 e eee eee eee 17 2 2 2 Pin Assignments for the 6 pin Micro miniature Receptacle 19 2 2 3 Pin Numbering bscd eee eek ee a eee bea ieee BEE Re eee eS 19 2 3 Connector Types cis eee na Hes thee Gale te i ena ee eae Kee 20 23 1 26 pin GONNECIOIS eee eae ep unite Bea eee Me eh 20 2 3 2 GPN Connectors o ordea Sia Ea E Ayes Be ah ddd Rea bee 20 2 4 Cabling Requirements
8. Center of Sensor X Axis 34701 Ly Sp z le _ x X eld Mo n I Photosensitive Surface of the CMOS Sensor 0 08 gt reference plane Tolerances are typical Drawings are not to scale Fig 4 Sensor Positioning Accuracy in mm unless otherwise noted Basler sprint Specifications Requirements and Precautions 1 5 3 Sensor Line Location The location of the lines on the sensor chip is as shown in the drawing below Sensor Lines 5 f A Line B Pixel 1 Line A Pixel 1 gt reference plane Tolerances are typical Drawings are not to scale Fig 5 Sensor Line Location Basler sprint 9 Specifications Requirements and Precautions 1 5 4 F mount Adapter Dimensions 46 5 i le a FAL Photosensitive Surface of the CMOS Sensor Drawing is not to scale Fig 6 Camera with F mount Adapter Attached in mm Basler sprint Specifications Requirements and Precautions 1 6 Environmental Requirements 1 6 1 Temperature and Humidity Housing temperature during operation 0 C 50 C 432 F 122 F Humidity during operation 20 80
9. As shown in Figure 9 on page 24 a line valid bit is assigned to the Tx24 pin on the X Y and Z Camera Link transmitters as defined in the Camera Link standard The line valid bit included in the video data output from the camera indicates that a valid line is being transmitted Pixel data is only valid when this bit is high For more detailed information about the line valid bit see Chapter 5 on page 71 2 8 2 Data Valid Bit As shown in Figure 9 on page 24 a data valid bit is assigned to the Tx26 pin on the X Y and Z Camera Link transmitters as defined in the Camera Link standard The data valid bit included in the video data output from the camera indicates that valid data is being transmitted Pixel data is only valid when this bit is high For more detailed information about the data valid bit see Chapter 5 on page 71 2 8 3 Pixel Data Bits Pixel data bits are transmitted via output ports on the X Y and Z Camera Link transmitters The ports as defined in the Camera Link standard are shown in Figure 9 on page 24 The assignment of pixel data bits to output ports varies depending on the video data output mode of the camera The available video data output modes and the bit assignments are explained in detail in Chapter 5 on page 71 The bit assignments comply with the Camera Link standard The tables also shown the assignments for the line valid bit the data valid bit and the pixel clock These assignments are constant for all
10. Field Name Lookup Table Index Offset 0x0001 Size 2 Bytes Type Read Write Description Writing an integer to this field selects an index in the lookup table The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the lookup table index Byte 1 High byte of the lookup table index See Section 6 6 on page 120 for more information about the lookup table feature Field Name Min Offset 0x0003 Size 2 Bytes Type Read only Description Minimum allowed integer value for the lookup table index The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 1 High byte of the min value Field Name Max Offset 0x0005 Size 2 Bytes Type Read only Description Maximum allowed integer value for the lookup table index The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 1 High byte of the max value Field Name Increment Offset 0x0007 Size 2 Bytes Type Read only Description An integer value indicating the increment for the lookup table index The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the increment Byte 1 High byte of the increment Basler sprint 163 Configuring the Camera Lookup Table Value CSR Register Base Address 0x4111 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquir
11. eee eeececeeneeeeeeneeeeseneaeeeenteeeeeeneeeeeeas 163 Lookup Table Value CSR ec eeseecesesenceseseeeeseneaeesesneeeeseneeeetens 164 Gamera Reset GoRi nesses cic Ate 165 Serial COMMUNICATION CSR cece ce eneeeeeeeeeeeeeneeeeeeneeeeseneaeees 166 7 2 3 Bulk Data and the Bulk Data Control and Status Registers 167 7 2 3 1 Using the Configuration Set Bulk Data CSR 168 7 2 3 2 Using the Shading Values Bulk DataCSR 169 7 2 3 3 General Procedures for Working with Bulk Data CSRs 170 7 2 3 4 Bulk Data Control and Status Register Details 173 Configuration Set CSR oo ee ceceeeeeeeeeeeneeeeeseeeeeeneaeeeeneaeeeeneaeeeeas 173 Shading Values CSRs piepie agi eiaa 174 7 3 Using Binary Read Write CommandS saasaa aaua aaea 175 7 3 1 The Binary Read Write Command Protocol nassaan anaa 176 7 3 1 1 Error Checking and Responses 00 eee aee 179 7 3 2 Basic Read Write Command Explanations 2000000 180 73 2 1 Read Commandes eera aa sos Gite ten e ar E E EE PhS 180 T322 Write Command s4 3 e006 04 ieys aee eaae rie EEE A 181 7 3 2 3 Calculating the Block Check Character 182 7 4 Binary Command Sample Code 0 0 eee eee 183 8 Troubleshooting and Support 200 e eee eee eee eee eee 185 8 1 Tech Support Resources 1 0 ee tees 185 8 2 Fault Finding Using the CameraLED 0 eee ee
12. 1 5 Mechanical Specifications 1 5 1 Camera Dimensions and Mounting Points The cameras are manufactured with high precision Planar parallel and angular sides guarantee precise mounting with high repeatability The camera s dimensions in millimeters are as shown in Figure 3 on page 7 Camera housings are equipped with four mounting holes on the front and two mounting holes on the sides as shown in the drawings 6 Basler sprint Specifications Requirements and Precautions 48 0 1 4 x M4 6 deep a h AR EA 4 X M4 6 deep 7 et Photosensitive Surface zl 3 to of the CMOS Sensor Ww To g z H go 5 a g J a O A 4g72 5 A H g 55 01 P reference plane Tolerances are typical l Drawings are not to scale N NO Fi es e g i Fig 3 Mechanical Dimensions in mm Basler sprint 7 Specifications Requirements and Precautions 1 5 2 Sensor Positioning Accuracy The sensor positioning accuracy is as shown in the drawings below
13. Each feature has one or more CSRs associated with it The fields within a feature s CSR s are used to control how the feature operates By using binary write commands to write to fields within a feature s CSR s you can change the parameter settings for the feature By using binary read commands you can determine the current setting for the parameters and get information about the feature s status The address for any field within a register is equal to the register base address plus the offset for the field Look at the Video Data Output Mode CSR on page 151 as an example The Mode field of this register has an address of 0x1701 the base address of 0x1700 plus the offset of 0x0001 By writing a value to this address you can set the video data output mode By reading the value at this address you can determine the current output mode setting The Video Data Output Mode CSR is a simple CSR with only two fields Most of the other feature CSRs have several read write fields that let you set the parameters associated with the feature They may also have read only fields that contain information about the minimum and maximum allowed setting for each parameter Section 7 2 2 2 on page 145 lists the feature CSRs in the camera and shows detailed information about the use of each field within the register 7 2 2 1 Raw Value Fields vs Absolute Value Fields As you look through the descriptions of the feature CSRs you will notice tha
14. If you do this the pixel values used to calculate the PRNU correction values will be corrected for DSNU For this option to work correctly you must have already generated DSNU values before you generate the PRNU values 7 Signal the camera to generate a set of PRNU values a You can start the generation of a set of PRNU values with the Camera Configuration Tool Plus see Section 7 1 on page 134 With the CCT set the value of the Generate parameter in the DSNU amp PRNU Shading Correction parameters group to Generate PRNU Values or to Generate PRNU Values with DSNU b You can also start the generation of a set of PRNU values by using a binary write command see Section 7 3 on page 175 to write a value to the Generate field of the Shading Value Generate CSR see page 157 8 The camera must make at least 128 acquisitions to generate a set of PRNU values If your camera is set to control exposure with an ExSync signal you must generate at least 128 ExSync signal cycles after you signal the camera to begin generating the values If you are running the camera in a free run exposure time control mode you must wait long enough for the camera to complete at least 128 acquisitions a When the camera is capturing the lines it needs to create the PRNU shading values the line valid and data valid signals will go high and low as you would normally expect Basler sprint 105 Features However the data in these lines is not useful to you
15. Offset CSR Note The offset can be set by writing a floating point value to the Absolute Offset field or by writing an integer value to the Raw Offset field See Section 7 2 2 1 on page 143 for an explanation of the difference between these two fields Register Base Address 0x0F00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Absolute Offset Offset 0x0001 Size 4 Bytes Type Read Write Description Writing a floating point value to this field directly sets the offset in DN digital numbers For example if you set this value to 5 00 you would increase the digital values output from the camera by 5 The allowed range for the absolute offset can vary depending on how the camera is configured You should check the absolute min and absolute max fields of this register to determine the allowed range with the current configuration The increment is 0 01 The value in this field is a standard IEEE 754 single precision 32 bit floating point number See Section 6 1 on page 95 for more information about offset Field Name Absolute Min Offset 0x0005 Size 4 Bytes Type Read only Description Minimum allowed floating point value for the absolute offse
16. s gain see Section 6 1 on page 95 By writing values to fields in the control registers you configure the camera and control how it operates By reading values from fields in the control registers you can determine how the camera is currently configured Each camera also has inquiry registers with fields that contain basic information such as the camera s serial number and software version numbers By reading values in the inquiry register fields you can determine some basic information about the camera A binary read write command protocol has been developed for use with the camera You can read the data in a register field by sending a binary read command to the camera For example you can use a read command to determine the current value of the Mode field of the Test Image Mode control and status register see page 158 When you issue a read command to the camera the camera responds by sending the requested data back to the host computer You can write data to a register field by sending a write command to the camera For example you can use a write command to change the value of the Mode field of the Test Image control register When you issue a write command to the camera the value in the register field will be replaced and the camera will send a write response back to the host computer Each field within a control register or an inquiry register has a specific memory address When you issue a binary read or a binary write
17. 0x0002 Size 1 Byte Type Read only Description If you are performing a bulk read or write operation this field will indicate when no more data exists 0x00 More data exists 0x01 No more data exists 0x02 File operation error 0x03 This is an activated file Field Name File Name Offset 0x0003 Size 20 Bytes Type Read Write Description Character string indicating the name of the bulk data file The field contains 20 characters left aligned and zero padded Field Name Size Offset 0x0017 Size 4 Bytes Type Read only Description If the file name refers to an already existing bulk data file this field will contain the file size in bytes Otherwise the field contains zeros Field Name Data Offset 0x001B Size Variable Type Read Write Description Byte sized register that is used to sequentially write to or read from a bulk data file Basler sprint 173 Configuring the Camera Shading Values CSR See Section 7 2 3 2 on page 169 for information about using the shading values bulk data control registers Register Base Address 0x2A00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Control O
18. Camera Status parameter in the Camera Information parameters group to see if any error codes are present by using binary read write commands from within your own application to read the value in the Camera Status field of the Camera Status inquiry register see page 140 Section 7 2 1 on page 136 explains inquiry registers and Section 7 3 1 on page 176 explains using read write commands by checking the LED on the back of the camera If certain error conditions are present the LED will flash see Section 8 2 on page 186 6 11 Camera Reset You can initiate a camera reset with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs A reset is the equivalent of switching off power to the camera and switching power back on With the CCT With the CCT see Section 7 1 on page 134 click on Camera in the menu at the top of the CCT window and a drop down list will appear Click on Reset Camera in the drop down list to initiate a reset By Setting CSRs You can initiate a reset by writing the appropriate value to the Reset field of the Camera Reset CSR see page 165 See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands Note Whenever the camera is powered on or when a camera reset is performed your PC may receive one random chara
19. Can the test image be seen troubleshooting chart Yes Replace the camera 190 Basler sprint 8 3 2 Poor Quality Image Troubleshooting and Support Use this chart if the image is poor quality is completely white or is completely black If you get no image at all when you attempt to capture an image with the frame grabber use the chart that appears in Section 8 3 1 on page 189 Use the Camera Configuration Tool Plus CCT to set the camera for test image one Capture several images and carefully check the pixel values in each image Most frame grabbers include software tools that allow you to see the individual values of each pixel in the image and histograms that display distributions of the pixel values in the image The pixel values in your captured test image should be exactly as described in Section 6 4 on page 111 Also if you capture several test images the pixel values should be the same in all of the captured test images Are the test images OK Use the CCT to activate the factory configuration set and then capture a few normal images Is the problem still present Yes Images are too bright or too dark Do the following Make sure that the lens cap has been removed Check the lens aperture If the images are too dark try opening the aperture Try closing the aperture if they are too bright Check the exposure time If the images are too dark try increasing the exposure Try de
20. Table 14 on page 85 and Table 18 on page 93 Updated the description of the line stamp feature in Section 6 5 on page 115 Updated the line contrast formula on page 119 Updated the descriptions of the microcontroller firmware version and FPGA firmware version inquiry registers on page 138 Added the description of the camera link clock speed control and status register on page 145 AW00016205000 8 Jan 2008 Removed the section of the manual that describes camera installation The installation procedure is now available as a separate document Updated the camera version ID number stated in Section 1 1 on page 1 Updated the specification tables in Section 1 2 to include new 2k and 4k camera models Added Section 1 3 on page 4 which describes the available lens adapters Updated Section 2 1 on page 16 and Section 2 2 3 on page 19 to show the connectors available on the new camera models Updated Section 2 6 on page 23 and Section 2 8 4 on page 27 to describe the Camera Link configuration available on the new camera models Updated Section 3 on page 31 and Section 3 3 on page 33 to clarify the line acquisition modes available on each camera model Corrected the description of Vertical Binning Line Acquisition mode in Section 3 4 on page 40 and the description of the horizontal binning feature in Section 3 8 on page 50 Updated the exposure start delays listed in Table 8 on page 60 Updated the formulas and d
21. V In this situation you will get a response that is approximately four times higher than normal and you will have a square pixel size For more information about the vertical binning acquisition mode see Section 3 4 on page 40 50 Basler sprint Line Acquisition Modes Enabling Horizontal Binning You can enable horizontal binning with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Horizontal Binning parameter in the Output Mode parameters group to enable horizontal binning By Setting CSRs You enable horizontal binning by writing the appropriate value to the Mode field of the Horizontal Binning CSR see page 146 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands Basler sprint 51 Line Acquisition Modes 3 9 Recommendations for Using Time Delayed Line Summing or Time Delayed Line Averaging 3 9 1 Camera Operating Recommendations To achieve the best results when using time delayed line summing or time delayed line averaging certain operating requirements should be met Exposure start should be triggered by an ExSync signal see Chapter 4 on page 57 Use of the programmable exposure mode is recommended to ensure uniform exposure The edge controlled or level controlled expo
22. a T 06Sa I Pans 0 I 82 6 S S ji WA sow z ST APZ i l g rS N hi 2 pen en as T vz l 3 y w i oNV ODS I rae TON Feast Zz aed I YOO I x aie aPONIOG I an TON Lexa x z JPZ I d zz 190 sal 110 oza Zz pied L up wo z z P N S oxy I 6 1 z F I en TON il WZ Zt sz Gia sea l PENNA a g p 0 Ez n era z T nS T aa E sbha T az z caL i 1 Ha as 7H a v ax 09 i led or z5 sxa l Tod Ley ae 9 Dos I tHE E I ae Z x EE TON I ot Z od H z ux ST FED a bated 25 H Vod za I a Cia Penk nO Ola 3 f Iz o I TH Hod 6xy TZ eed OL it TH nen I spi pO I c zi z gx 9 K F Aas i ood a z a z x piel Toms l n azs E Ore ro S 0 yJ 5 g z YO 7 fee sa i E 7 z wo ba 1 sale l m p i Tod pu tae WAC I l a mT ava A zi Wea l a Wod oxy l s ded i WAI I I a Hod ope z A ii aaps I log zy l i WN a Hod Lea z ee i TOOT IR Oe F l E 6 ia aan l _Aveg ora z 00 i ony z l IE ae Be BN I Sv Hod oxy xX l 6 vied l 4 OZ er z i PSN N l Ira LOR z 7 UR 5 I 600 lhe ete I aa Z 49019994 z l 6r zz ue Here PESTON I Was ooa ax A z a I gt 4 7 l qqes 887 a cae Baan I TWAT sexs G l z 3 I NOSON 9 ow 74006Sa g Tied z er ann SO Hod pon I s aap eig l ee SH EN I o iod zow Pa l a ged 1 amp a Ov qied 8 l En 7H ue I D Tod oa E 5 I 7 u A a ext dm I 2 WOd oza ZX l wed pron I ZIL l f z x eee ELG era l 5 IE Qoa ays l ojsouuog z or mag l a sva oe a a z fex Ha Tew ua XL sa si
23. lt Number of Pixels in Each Sensor Line 1 For example if you are working with a camera that has a 2048 pixels in each sensor line The AOI Starting Pixel can be set to 1 33 65 97 etc The AOI Length can be set to 256 288 320 352 etc The AOI Starting Pixel AOI Length lt 2049 If you are working with a camera that has a 4096 pixels in each sensor line The AOI Starting Pixel can be set to 1 33 65 97 etc The AOI Length can be set to 256 288 320 352 etc The AOI Starting Pixel AOI Length lt 4097 When the area of interest feature is used the maximum allowed line rate may increase For more information about the impact of the AOI settings on the maximum allowed line rate see Section 4 3 on page 64 98 Basler sprint Features Using the AOI Feature with Horizontal Binning Enabled If the camera s horizontal binning feature see Section 3 8 on page 50 is enabled it will have an effect on the way that you set up the area of interest With horizontal binning enabled pairs of adjacent pixel in a line are binned together into a single pixel When you set an AOI with horizontal binning enabled the AOI settings are based on binned pixels rather than the actual physical pixels in the sensor lines If you are working with a camera that has sensor lines with 2048 physical pixels and you enable horizontal binning you effectively reduce the resolution to 1024 binned pixels In this case you would set the AOI as if y
24. relative non condensing Storage temperature 20 C 80 C 4 F 176 F Storage humidity 5 95 relative non condensing 1 6 2 Heat Dissipation You must provide sufficient heat dissipation to maintain the temperature of the camera housing at 50 C or less Since each installation is unique Basler does not supply a strictly required technique for proper heat dissipation Instead we provide the following general guidelines In allcases you should monitor the temperature of the camera housing and make sure that the temperature does not exceed 50 C Keep in mind that the camera will gradually become warmer during the first 1 5 hours of operation After 1 5 hours the housing temperature should stabilize and no longer increase If your camera is mounted on a substantial metal component in your system this may provide sufficient heat dissipation Use of a fan to provide air flow over the camera is an extremely efficient method of heat dissipation Using a fan to provide air flow over the camera s heat sinks provides the best heat dissipation The camera includes an overtemperature protection function that will switch off the imaging sensor circuitry if the temperature of the sensor is too high See Section 6 9 1 on page 125 for more information The camera also includes an internal temperature sensor that lets you monitor the temperature of the imaging sensor See Section 6 7 on page 123 for more information Note Keeping
25. 0 05 us exposure time Edge Controlled Exposure 12 80 0 05 us 14 65 0 05 us Level Controlled Exposure 12 45 0 05 us 14 30 0 05 us All Other Line Acquisition Modes 80 MHz Without Horizontal Binning With Horizontal Binning Programmable 12 45 0 05 us exposure time 14 30 0 05 us exposure time Edge Controlled Exposure 12 45 0 05 us 14 30 0 05 us Level Controlled Exposure 12 45 0 05 us 14 30 0 05 us Table 18 Line Valid Delay with the Camera Set for a 8 Tap Video Data Output Mode Basler sprint 93 Video Data Output Modes 94 Basler sprint Features 6 Features 6 1 Gain and Offset 6 1 1 Gain Gain is adjustable As shown in Figure 36 255 6dB increasing the gain setting increases the slope of the camera s response curve and 0 dB results in higher camera output for a given 192 amount of light input Decreasing the gain setting decreases the slope of the response Camera p Output 128 curve and results in lower output for a given in an 8 amount of light bit mode 6 dB Gain is adjustable on an integer scale The 64 minimum gain setting for all video data output modes is 2731 The maximum setting is 16383 8192 or 6144 when the 0 camera is set for an 8 bit 10 bit or 12 bit KOW Medium High video data output mode respectively Light Level The default setting is 4096 which results in Fig 36 Var
26. 186 8 3 Troubleshooting Charts 00 cece ee 188 8 321 NO IMage ss eitoseitiees nae eal a deans k a o BO ed 189 Basler sprint Table of Contents 8 3 2 Poor Quality Image vcs eke eee cel eee ew ee eee ee elk 191 83 3 INTGMACING eas we pea aati aE eel 2 ba amas ine ai A ete 192 8 3 4 RS 644 Serial Communication 0 0 00 ee 193 8 3 5 Before Calling Basler Technical Support 0 00 00 e eee eee ee 194 REVISION HISO iee seredan tases Shae oyatadeseiseeddatabes Deke pyewnwes S 197 RECO BACK tensa yesh Gute ak eet act desis satul Svat UN leew whe Das Madea Pcl a 199 nde 4 osa ane te eae ae aeaeshpms oooh n bee eee aes home ota neeee eS 201 Basler sprint v Table of Contents vi Basler sprint Specifications Requirements and Precautions 1 Specifications Requirements and Precautions This section lists the camera models covered by the manual It provides the general specifications for each model and outlines the basic requirements for using the cameras This section also includes specific precautions that you should keep in mind when using the cameras We strongly recommend that you read and follow the precautions 1 1 Document Applicability This User s Manual applies to sprint cameras with a camera version ID number of 03 Cameras with a lower or a higher ID number may have fewer features or have more features than described in this manual Features on cameras with a lower or a higher ID numb
27. 3 1 on page 176 for an explanation of using read write commands Basler sprint 121 Features Enabling the Lookup Table Feature You can enable the lookup table feature with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Lookup Table Enable parameter in the Lookup Table parameters group to enable the lookup table feature By Setting CSRs You enable the lookup table feature by writing the appropriate value to the Mode field of the Lookup Table Mode CSR see page 162 See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands 122 Basler sprint Features 6 7 Imaging Sensor Temperature The camera is equipped with a temperature sensor that lets you monitor the temperature of the imaging sensor You can check the temperature of the imaging sensor with the Camera Configuration Tool Plus CCT or by using binary read commands from within your own application to read the camera s inquiry registers With the CCT With the CCT see Section 7 1 on page 134 you use the Sensor Temperature parameter in the Camera Information parameters group to check the temperature of the imaging sensor By Reading Inquiry Registers You check the temperature of the imaging senso
28. 58 62 R raw ValUCS iinan aneita Ea 143 read write commandS s e 175 recommendations ODOM ALIN iie aiia 52 system design sessseesrieerrnreerrrnernnn 52 POQISLSNS svieecivetiecete hii hl eerehnnaeiiad beens 135 f6SOl kash ea eed 127 RS 644 serial communication 29 S sample code s sssseessrssrrrerrrnrserrnnsnnns 183 saving camera parameter sets 128 sensor CIOANING escveadeinec deci cth hrkerectenyeesieeiiane 13 line location eeeeeeeeeeeeeeeeteeeteeteeeeteees 9 positioning ACCUTaCyY eeee 8 SIZ A EEA EE E A e EAN 2 3 serial COMMUNICATION eee eeeteeeees 29 serial communication control and status register eeeeeeesseeeeeeeeeeeeseeeees 166 serial number inquiry register 137 serial to camera input signal 25 serial to frame grabber output signal 28 Shading correction eee 100 shading mode control and status r GISTE 2 inanin iiin ncetccaseyetebibisuacdeiuiadendes 157 shading value generate control and status register 157 shading values control and status register Aie iriad n darraa epret Ea aE rari Aa 174 single line max 70 kHz acquisition aa oTe EEEE AEE 32 SPECIFICATIONS sraa aea iaiki ate 2 Status CheckStat 127 synchronication signal see ExSync signal 57 Basler sprint Index T TECN SUppOtt ir tiiru 185 TEMPElAlUle cirie eriein dirne 11 test image mode control and status TEOSTE e eriari a daeina 158 test IMAGES eee
29. 64 The data sequence outlined below along with Figure 34 on page 91 and Figure 35 on page 92 describe what is happening at the inputs to the Camera Link transmitters in the camera 86 Basler sprint Video Data Output Modes Video Data Sequence for 8 Tap 8 Bit Mode When the camera is not transmitting valid data the line valid and data valid bits sent on each cycle of the pixel clock will be low After the camera has completed a line acquisition it will begin to send data On the clock cycle where valid pixel data transmission begins the line valid and data valid bits both become high Eight data streams DO through D7 are transmitted in parallel during this clock cycle On this clock cycle data stream DO will transmit data for pixel 1 in the line Data stream D1 will transmit data for pixel 2 Data stream D2 will transmit data for pixel 3 Data stream D3 will transmit data for pixel 4 Data stream D4 will transmit data for pixel 5 Data stream D5 will transmit data for pixel 6 Data stream D6 will transmit data for pixel 7 And data stream D7 will transmit data for pixel 8 The pixel data will be at 8 bit depth On the next cycle of the pixel clock the line valid and data valid bits will both be high On this clock cycle data stream DO will transmit data for pixel 9 in the line Data stream D1 will transmit data for pixel 10 Data stream D2 will transmit data for pixel 11 Data stream D3 will transmit data for pixel 12 Data stream D4
30. 64 4 3 1 Max Segment AOI Pixels 0 2 0 0 0 00 eee 66 4 3 2 Example of Calculating the Maximum Allowed Line Rate Minimum Ene Period ote ais crave ee arr ah bead andi died ig Ae hal et a Sao bare 68 4 3 3 Increasing the Maximum Allowed Line Rate 2000055 69 5 Video Data Output Modes 2 0 e cece eee 71 Dil QVEWIOW 2 20 4 aged Sees ere ewe Gaede doe FA ee ae eae eaten 71 5 1 1 Setting the Video Data Output Mode 0 cee ee 72 5 2 Video Data Output Mode Details 0 0000 ee 73 52 2 Tap Output Mod s sereas vias bee et beware ee ea Hee wees eS 73 5 2 2 4Tap Output Modes rreri onegia a E eee 79 5 2 3 8 Tap 8 Bit Output Mode 0 ee 86 6 Featur sS ic eC ce eit aaa ee ta ewes he aa anana Ba a CESS 95 6 1 Gain and Offsets wcct ent avers death Ata eek wk etl ee Aaa ae ee et 95 Ole Gals 2 An ces teed han ea te Steet eee ean Bae Dees ena be 95 ET ONSCt statins gin ate oh eh eg oe Wed ee a EEEE shea es Sans Ss Pads 96 6 2 AreaoflInterest 0 ee eee nes 98 6 2 1 Setting the AQ sei et ee Oi bees eh a a E 99 ii Basler sprint Table of Contents 6 3 Shading Corrections 8 4 wet e hole dei ee eens Se Ae re See 100 6 3 1 Enabling Shading Correction 0 0 00 ee ee 101 6 3 2 Generating and Saving User Shading Correction Values 102 6 3 3 Activating a Shading Values File 0 0 0 e eee ee 107 6 3 4 Copying the Factory Shading Values in
31. AOI feature is used N will be determined by the AOI settings Fig 35 Eight Tap Mode with Programmable Exposure 92 Basler sprint Video Data Output Modes The table below shows the line valid delay see Figure 34 on page 91 and Figure 35 on page 92 when the camera is set for an 8 tap video data output mode Note that the delay depends on the line acquisition mode setting the camera link clock speed setting and whether horizontal binning is enabled Each delay is stated as a range The actual line valid delay can vary slightly but will always be within the stated range Line Valid Delays for 8 Tap Modes Single Line Acquisition Mode 40 MHz Without Horizontal Binning With Horizontal Binning Programmable 9 40 0 06 us exposure time 12 85 0 06 us exposure time Edge Controlled Exposure 9 75 0 06 us 13 20 0 06 us Level Controlled Exposure 9 40 0 06 us 12 85 0 06 us All Other Line Acquisition Modes 40 MHz Without Horizontal Binning With Horizontal Binning Programmable 9 40 0 06 us exposure time 12 85 0 06 us exposure time Edge Controlled Exposure 9 40 0 06 us 12 85 0 06 us Level Controlled Exposure 9 40 0 06 us 12 85 0 06 us Single Line Acquisition Mode 80 MHz Without Horizontal Binning With Horizontal Binning Programmable 12 45 0 05 us exposure time 14 30
32. Averaging Acquisition Mode You can enable the line averaging acquisition mode by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs Note that to enable line averaging you must set a combination of two camera parameters First you must set the Line Acquisition Mode parameter to Averaging Second you must set the Line Delay parameter to None This combination of settings results in line averaging With the CCT With the CCT see Section 7 1 on page 134 use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Line Averaging By Setting CSRs To enable the line averaging acquisition mode write the appropriate value to the Mode field of the Line Acquisition Mode CSR see page 145 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands 48 Basler sprint Line Acquisition Modes 3 Time Delayed Line Averaging Acquisition Mode The operation of the camera s time delayed line averaging feature is essentially the same as the time delayed line summing feature with one exception after the pixel values have been summed each sum is divided by 2 and rounded up if necessary For more information about time delayed line summing see Section 3 5 on page 42 Setting the Camera for Time Delayed Line Averaging A
33. Bit5 D2 Bit 5 Port C6 TxIN16 RxOut16 D1 Bit 6 D1 Bit 6 D2 Bit 6 Port C7 TxIN17 RxOut17 D1 Bit 7 D1 Bit 7 D2 Bit 7 MSBO LVAL TxIN24 RxOut24 Line Valid Line Valid Line Valid FVAL TXIN25 RxOut25 Not Used Not Used Not Used DVAL TxIN26 RxOut26 Data Valid Data Valid Data Valid Spare TxIN23 RxOut23 Not Used Not Used Not Used Strobe TxINCLK RxOutClk Pixel Clock Pixel Clock Pixel Clock Table 12 Bit Assignments for 4 Tap Output Modes MDR Conn 1 Transmitter X Basler sprint 81 Video Data Output Modes MDR Conn 2 Transmitter Y Port Camera Frame Bit Assignment Grabber 4 Tap 12 Bit 4 Tap 10 Bit 4 Tap 8 Bit Port DO TxINO RxOut0 D3 Bit 0 D3 Bit 0 D3 Bit 0 Port D1 TxIN1 RxOut1 D3 Bit 1 D3 Bit 1 D3 Bit 1 Port D2 TxIN2 RxOut2 D3 Bit 2 D3 Bit 2 D3 Bit 2 Port D3 TxIN3 RxOut3 D3 Bit 3 D3 Bit 3 D3 Bit 3 Port D4 TxIN4 RxOut4 D3 Bit 4 D3 Bit 4 D3 Bit 4 Port D5 TxIN6 RxOut6 D3 Bit 5 D3 Bit 5 D3 Bit 5 Port D6 TxIN27 RxOut27 D3 Bit 6 D3 Bit 6 D3 Bit 6 Port D7 TxIN5 RxOut5 D3 Bit 7 D3 Bit 7 D3 Bit 7 MSB Port EO TxIN7 RxOut7 D2 Bit 0 D2 Bit 0 Not used Port E1 TxIN8 RxOut8 D2 Bit 1 D2 Bit 1 Not used Port E2 TxIN9 RxOut9 D2 Bit 2 D2 Bit 2 Not used Port E3 TxIN12 RxOut12 D2 Bit 3 D2 Bit 3 Not used Port E4 TxIN13 RxOut13 D2 Bit 4 D2 Bit 4 Not used Port E5 TxIN14 RxOut14 D2 Bit 5 D2 Bit 5 Not used Port E6 TxIN10 RxOut10 D2 Bit 6 D2 Bit 6 Not used Port E7 TxIN
34. Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s control and status registers CSRs Note that when you upload a user set file to your camera you will overwrite any existing values in the camera s user set file of the same name With the CCT With the CCT see Section 7 1 on page 134 you use the Upload button in the Configuration Set Files parameters group to upload a user set file When you click the button the CCT will open a window that lets you navigate to your PC and select a file By Setting CSRs You can upload a user set file by writing values to the configuration set bulk data CSR Section 7 2 3 on page 167 explains the bulk data CSRs and Section 7 2 3 3 on page 170 explains how to use the CSRs to upload a file Section 7 3 1 on page 176 explains using read write commands Note The factory configuration set file can be downloaded from the camera to the PC The factory configuration set file can t be uploaded from the PC to the camera because the factory configuration set file in the camera is protected and can t be overwritten 132 Basler sprint Configuring the Camera 7 Configuring the Camera The camera comes with a factory set of parameters that will work properly for most applications with only minor changes For normal operation the following parameters are usually configured by the user Video data output mode Exposure time
35. D3 Bit 6 Port D7 TxIN5 RxOut5 D3 Bit 7 MSB Port EO TXIN7 RxOut7 D4 Bit 0 Port E1 TxIN8 RxOut8 D4 Bit 1 Port E2 TxIN9 RxOut9 D4 Bit 2 Port E3 TxIN12 RxOut12 D4 Bit 3 Port E4 TxIN13 RxOut13 D4 Bit 4 Port E5 TXIN14 RxOut14 D4 Bit 5 Port E6 TxIN10 RxOut10 D4 Bit 6 Port E7 TxIN11 RxOut11 D4 Bit 7 MSB Port FO TXIN15 RxOut15 D5 Bit 0 Port F1 TxIN18 RxOut18 D5 Bit 1 Port F2 TXIN19 RxOut19 D5 Bit 2 Port F3 TXxIN20 RxOut20 D5 Bit 3 Port F4 TxIN21 RxOut21 D5 Bit 4 Port F5 TxIN22 RxOut22 D5 Bit 5 Port F6 TXIN16 RxOut16 D5 Bit 6 Port F7 TXIN17 RxOut17 D5 Bit 7 MSB LVAL TxIN24 RxOut24 Line Valid FVAL TxIN25 RxOut25 Not Used DVAL TXIN26 RxOut26 Data Valid Spare TxIN23 RxOut23 Not Used Strobe TxINCLK RxOutClk Pixel Clock Table 16 Bit Assignments for 8 Tap Output Mode MDR Conn 2 Transmitter Y Basler sprint Video Data Output Modes 89 Video Data Output Modes MDR Conn 2 Transmitter Z Port Camera Frame Bit Assignment Grabber 8 Tap 8 Bit Port GO TxINO RxOut0 D6 Bit 0 Port G1 TXIN1 RxOut1 D6 Bit 1 Port G2 TxIN2 RxOut2 D6 Bit 2 Port G3 TXIN3 RxOut3 D6 Bit 3 Port G4 TxIN4 RxOut4 D6 Bit 4 Port G5 TXIN6 RxOut6 D6 Bit 5 Port G6 TxIN27 RxOut27 D6 Bit 6 Port G7 TXIN5 RxOut5 D6 Bit 7 MSB Port HO TXIN7 RxOut7 D7 Bit 0 Port H1 TxIN8 RxOut8 D7 Bit 1 Port H2 TxIN9 RxOut9 D7 Bit 2 Port H3 TxIN12 RxOut12 D7 Bit 3 Port H
36. Description Writing an integer value to this field sets the exposure time The allowed range for this value can vary depending on the camera model and how the camera is configured You should check the raw min and raw max fields of this register to determine the allowed range with the current configuration The integer value represents a multiplier and the actual exposure time is equal to the value in this field times 0 1 us For example if the value in this field is set to 1200 then Exposure Time 1200 x 0 1 us Exposure Time 120 us The bytes in this field are interpreted as follows Byte 1 Low byte of the raw value Byte 2 Mid byte of the raw value Byte 3 High byte of the raw value Byte 4 Always 0 not used Basler sprint 147 Configuring the Camera Field Name Raw Min Offset 0x0011 Size 4 Bytes Type Read only Description Minimum allowed integer value for the raw exposure time setting This field is updated to reflect limitations caused by the way that any related fields are set The bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 2 Mid byte of the min value Byte 3 High byte of the min value Byte 4 Always 0 not used Field Name Raw Max Offset 0x0015 Size 4 Bytes Type Read only Description Maximum allowed integer value for the raw exposure time setting This field is updated to reflect limitations caused by the way that any related fields are set The
37. Line Summing Acquisition Mode 0 00 e eee eee 42 3 6 Line Averaging Acquisition Mode 0 0 e eee eee 48 3 7 Time Delayed Line Averaging Acquisition Mode 0 00 e ee eee ee 49 3 8 Horizontal Binning 22c4 04 4 648 eee cee ae eee ey Rb bed awa were eee dae 50 3 9 Recommendations for Using Time Delayed Line Summing or Time Delayed Line AVGLAGING s2ceeulened o ipaka bid dhe dee od eehere bb bk deals ee eona 52 3 9 1 Camera Operating Recommendations 0000 2c eee 52 3 9 2 System Design Recommendations 000 0c cee eee ee 52 3 9 3 System Design Calculations 00 ee 54 4 Exposure Start and Exposure Time Control 20 00e0e ee eeee 57 4 1 ExSync Controlled Operation sata eao e raaa eee 57 4 1 1 Basics of ExSync Controlled Operation 0 00 e eee eee 57 4 1 2 Selecting an ExSync Exposure Mode amp Setting the Exposure Time 59 4 1 3 Guidelines When Using an ExSync Signal 0 00000 eee eee 59 42 Fre RUNe swiss ced ddebes eed eb bididas Paes bidid ete eee bbe didigad pera ade ey 61 4 2 1 Basics of Free Run Controlled Operation 0 0 0 c eee eee 61 4 2 2 Selecting a Free Run Exposure Mode Setting the Line Period and Setting the Exposure Time 0 0 000 cee ees 62 4 2 3 Guidelines When Using Free Run 0 00 ee ee 63 4 3 Maximum Allowed Line Rate Minimum Line Period 0005
38. Plus CCT or by using binary read write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Shading Mode parameter in the DSNU and PRNU Shading Correction parameters group to enable shading correction You can enable DRNU correction only PRNU correction only or both DRNU and PRNU correction By Setting CSRs You enable shading correction by writing the appropriate value to the Mode field of the Shading Mode CSR see page 157 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands Basler sprint 101 Features 6 3 2 Generating and Saving User Shading Correction Values This section includes procedures for generating the user DSNU and PRNU shading correction values that will be stored in the user shading correction values file If you will be setting the camera to do DSNU correction only then you only need to perform the DSNU procedure If you will be setting the camera to do PRNU correction only then you only need to perform the PRNU procedure And if you will be setting the camera to do both DSNU and PRNU correction you must follow both procedures Generating and Saving User DSNU Shading Correction Values The procedure below describes how to generate user DSNU shading correction values When you generate the values they will automatically be stored in the came
39. Section 6 12 on page 128 the work configuration set resides in the camera s volatile memory Assume that you want to save the parameter values in the current work set to the UserSet01 file in the camera s non volatile memory To do so you would follow this procedure 1 Use a binary write command to write the file name UserSet07 to the Name field of the configu ration set bulk data CSR see page 173 2 Use a binary write command to set the value of the Control field of the configuration set bulk data CSR to 0x06 Setting the value to 0x06 initiates a copy function This procedure will copy the current work set settings from the camera s volatile memory into a file called UserSet07 in the non volatile memory Note that any existing data in the file will be overwritten Sample code that illustrates how to save a bulk data file is available from Basler seeSection 7 4 on page 183 Note There are four files available in the non volatile memory to hold saved user configuration sets UserSet01 UserSet02 UserSet03 or UserSet04 You must use one of these file names when you save a user configuration set Activating a User Set File or the Factory Set File The process of activating a user set file or the factory set file accomplishes two things The values from the activated file are immediately copied into the work set in the camera s volatile memory The camera will now actively use the configuration values that were copied
40. Setting the Camera for Vertical Binning You can set the camera for vertical binning acquisition mode by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Vertical Binning By Setting CSRs To enable vertical binning acquisition mode write the appropriate value to the Mode field of the Line Acquisition Mode CSR see page 145 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands Basler sprint 41 Line Acquisition Modes 3 5 Time Delayed Line Summing Acquisition Mode When the time delayed line summing acquisition mode is active each time a line acquisition is triggered the camera will expose both line A and line B When line acquisition is complete i e exposure is finished the pixel values from line A and from line B will be handled in the following manner The pixel values for line A will be read out of the sensor and will be stored in a buffer in the camera The pixel values for line B will be read out of the sensor and they will be summed with the pixel values for line A that were stored during the previous acquisition cycle The values will be summed in the following manner The
41. Shading Values File As explained in Section 6 3 on page 100 the camera contains a set of factory determined shading correction values in a file in its non volatile memory As explained in Section 6 3 2 on page 102 you can also generate a set of user shading values and save them to a separate file in the non volatile memory In some situations it may be advantageous for you to be able to simply copy the contents of the factory shading values files into the file for user shading values You can copy the values from the factory file into the user file with the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s bulk data control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the File Name Select parameter and the Copy button in the Shading Files parameters group to copy the data in the factory shading values file to the user shading values file By Setting CSRs You can copy the data in the factory shading values file to the user shading values file by writing values to the shading values bulk data CSR Section 7 2 3 on page 167 explains bulk data CSRs and using the bulk data copy process Section 7 3 1 on page 176 explains using read write commands 108 Basler sprint Features 6 3 5 Downloading a Shading Values File to Your PC Once you have generated a set of user shading values in the user shading valu
42. Table When the lookup table feature is enabled the camera will operate in this manner If the sensor reports that a pixel has a 12 bit value of 0 the 8 bit value stored at index 0 will be transmitted If the sensor reports that a pixel has a 12 bit value of 4 the 8 bit value stored at index 4 will be transmitted If the sensor reports that a pixel has a 12 bit value of 8 the 8 bit value stored at index 8 will be transmitted 120 Basler sprint Features If the sensor reports that a pixel has a 12 bit value of 4084 the 8 bit value stored at index 4084 will be transmitted If the sensor reports that a pixel has a 12 bit value of 4088 the 8 bit value stored at index 4088 will be transmitted If the sensor reports that a pixel has a 12 bit value of 4092 the 8 bit value stored at index 4092 will be transmitted The value stored at index 4096 is used for interpolation As you can see the table does not include a user defined 8 bit value for every 12 bit value that the sensor can report If the sensor reports a 12 bit pixel value that does not have a corresponding defined 8 bit value it does a straight line interpolation between the two nearest defined values For example assume that the sensor reported that a certain pixel had a 12 bit value of 9 In this case the camera would perform an interpolation between the values stored at index 8 and index 12 in the table The result of the interpolation would then be transmitt
43. Type Read Write Description Writing an integer to this field sets the high pixel threshold for the line stamp feature When the camera is set for 8 bit output you should set the high pixel threshold within a range from 0 0x0000 to 255 OxOOFF When the camera is set for 10 bit output you should set the high pixel threshold within a range from 0 0x0000 to 1023 Ox03FF When the camera is set for 12 bit output you should set the high pixel threshold within a range from 0 0x0000 to 4095 OxOFFF The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the high pixel threshold Byte 1 High byte of the high pixel threshold See Section 6 5 on page 115 for more information about the line stamp feature and the high pixel threshold Field Name Min Offset 0x0003 Size 2 Bytes Type Read only Description Minimum allowed integer value for the high pixel threshold This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 1 High byte of the min value Field Name Max Offset 0x0005 Size 2 Bytes Type Read only Description Maximum allowed integer value for the high pixel threshold This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 1 High byte
44. and should be ignored Note If you started the generation of the shading values using the CCT you are using an ExSync signal to trigger acquisitions and you are operating the camera at a line period greater than approximately 300 ms you should be aware of a potential problem Under these conditions the CCT may time out while it is waiting for the camera to complete 128 acquisitions and you may see a Camera is not responding error message This error is not fatal to the shading value creation process If you close the error message window wait several seconds and then click the Refresh button on the CCT the shading values will be properly created If you started the generation of the shading values using binary commands you are using an ExSync signal to trigger acquisitions and you are operating the camera at very low line rates you should be aware of a restriction The camera will not acknowledge or respond to binary commands while it is performing the 128 acquisitions needed to create a set of shading values Once you have issued the binary command to start generating shading values you should wait until the generation process is complete before you issue any further binary commands The time needed to complete the generation process will be equal to 128 times the line period 9 Once 128 acquisitions have been completed the camera calculates the PRNU values a The camera uses the data from the 128 acquisitions t
45. bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 2 Mid byte of the max value Byte 3 High byte of the max value Byte 4 Always 0x00 not used 148 Basler sprint Configuring the Camera Line Period CSR Note The line period can be set by writing a floating point value to the Absolute Line Period field or by writing an integer value to the Raw Line Period field See Section 7 2 2 1 on page 143 for an explanation of the difference between these two fields Register Base Address 0x1600 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Absolute Line Period Offset 0x0001 Size 4 Bytes Type Read Write Description Writing a floating point value to this field sets the line period in us For example if the value in this field is set to 180 6 the line period will be 180 6 us The allowed range for the absolute line period can vary depending on the camera model and how the camera is configured You should check the absolute min and absolute max fields of this register to determine the allowed range with the current configuration The increment is 0 1 The value in this field is a standard IEEE 754 single p
46. ce eeeeeeeeseeeeeneees 76 93 lookup table 0 0 eee eeeeeeeeetteeeeneeeeeeeees 120 lookup table index control and status rEGISTE i iain Geshe detect 163 lookup table mode control and status OQIStO T raea Seats ee 162 lookup table value control and status fegistetvci34 aac Mie anaes 164 M MAXIMUM line rate ae 64 medium full camera link configuration s e 16 23 microcontroller firmware version inquiry register 138 minimum line rate ccceeeceeeeeeeeeees 2 3 model info inquiry register 0 136 mounting holes seeen 6 O Offset i a e ae 96 offset control and status register 153 operating recommendations 52 output signals camera link CloCK enee 27 data valid bit a e 26 EXSYAG hi aasi si heima aiaiai 57 line valid Dit ee eeeseeeeeeneeeeeees 26 pixel data bits eee eeeeeeeees 26 serial to frame garbber seee 28 overtemperature eee 125 overvoltage protection eee 124 P parameter Sets saving cece 128 PIN ASS gNMEN S n 17 PIN NUM ErINg seeen 19 pixel data Dit eee sete eeeeneeeeeees 26 pixel Size apih ideata i iata aisina 2 3 oTo E E E TE E T 22 Basler sprint power cable uo ee ee eee ceesseeeeeeeneeeeeeeeeees 21 PIOCAULIONS veiacheccee cick seedeestealeteeesineeseeceaes 12 PRNU shading correction s e 100 product ID inquiry register ee 137 programmable exposure time control MOE cceeeeeeeeeeeceeeeeeeees
47. cloth dampened with a small quantity of high quality window cleaner Because electrostatic discharge can damage the sensor you must use a cloth that will not generate static during cleaning cotton is a good choice To clean the surface of the camera housing use a soft dry cloth To remove severe stains use a soft cloth dampened with a small quantity of neutral detergent then wipe dry Do not use solvents or thinners to clean the housing they can damage the surface finish Read the manual Read the manual carefully before using the camera Basler sprint 13 Specifications Requirements and Precautions 14 Basler sprint Physical Interface 2 Physical Interface This section describes the camera s physical interface It includes details about connections input signals and output signals It also includes a description of how the Camera Link standard is implemented in the camera CAUTION CAUTION Basler sprint Applying Incorrect Input Power Can Damage the Camera The camera s nominal input power voltage is 12 VDC 10 We do not recommend applying an input voltage less than 10 8 VDC or greater than 13 2 VDC The camera has undervoltage protection that is triggered if the input voltage drops below 10 5 VDC It also has input overvoltage protection up to 25 VDC See Section 6 8 on page 124 for more detailed information about input undervoltage and overvoltage protection Applying an input power voltage grea
48. eeeeeeeeeeeteeteeeeeeteeeenetes 111 time delayed line averaging acquisition ModE e n 49 time delayed line summing acquisition MOde 42 troubleshooting ceecee 188 two tap video data output modes 73 U undervoltage protection eee 124 V vendor info inquiry register 0 136 VONTIALION 0 cece ceeceeeeeeeeeeneaeeeeeeeeeeenees 11 vertical binning acquisition mode 40 video data output mode control and Status register eee eeeeeeeeeteeeeeees 151 video data output modes eee 71 W WEIQNU E O EEATT 2 3 203 Index 204 Basler sprint
49. field will initiate a camera reset The reset behavior of the camera is similar to power up behavior Basler sprint 165 Configuring the Camera Serial Communication CSR An RS 644 serial connection is integrated into the Camera Link interface between the frame grabber installed in your computer and the camera The serial connection is used to issue commands to the camera for changing modes and parameters You can use the serial communication CSR to set the bitrate for the camera s RS 644 serial port The default setting is 9600 bps The setting is changed immediately after the successful receipt of this command Register Base Address 0x0D00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Bitrate Description Offset 0x0001 Size 1 Byte Type Read Write Writing an integer to this field sets the bit rate OxOF 9600 bps default 0x11 19200 bps 0x12 38400 bps 0x13 57600 bps 0x14 115200 bps See Section 2 9 1 on page 29 and Section 7 3 on page 175 for more information about serial communication 166 Note When changing a setting for serial communication use the following procedure 1 Issue th
50. iii L Boa l wz 2 Homa 1 Fae Hie g ie au Hf Pas J 5 FE Pr tes ae a nei emren hb 1 a l mi a z ix 9 mg I ved Gi 5 l orx 90 HO er pi ees cawod tal peu X l Tea v i S jusuedy vo vod oa vog ka z g zl i UE zx 9a HOd A ECHOES ee l l avid 2a ai l ZX Fozx awed sa I I Wed oxy T fa a H sy Hod pee I l FZX v2 a LE ow ox ZNE x Ho od a l u d zex WAS yuiids Eg anu I z l a WAT I I E pa 0X l wed ion 5 Tog 4 eE xaa 1x arx z N zi l SZ 94 n ais 88 z b HO ZD06SA zr baled es T eea zx EER L d I Tied te awa I si LaL pod CT i s 0x f tamg 1929 l i 0 mL og a X XL d aw x SHO L wW d zL Hod l ae eve a x To aopusuea Loe Ti p uu L87 V HO oa al moaned d u B asler sprint 24 Physical Interface 2 Input Signals The camera s input signals include a SerTC signal and an ExSync signal as described below 2 7 1 Serial to Camera The Serial To Camera SerTC input signal is an RS 644 LVDS signal as specified in the Camera Link standard The signal is input to the camera on pins 7 and 20 of MDR connector one as specified in the standard and as shown in Table 4 on page 17 and in Figure 9 on page 24 Signals applied to the SerTC input are used to configure the camera For more detailed information about the serial connection see Section 2 9 on page 29 and Section 7 3 on page 175 2 7 2 External Sync ExSync An external sync ExSyn
51. in line B are summed and the sum is transmitted as a single pixel value Pixel 3 and pixel 4 in line B are summed and the sum is transmitted as a single pixel value And so on Note that when horizontal binning is used with single line acquisition mode only Line A is used and only the binned pixels from Line A are transmitted With horizontal binning is enabled each pair of binned pixels effectively becomes a single pixel This means that with binning enabled the effective resolution of cameras with 4096 pixels in each sensor line is reduced to 2048 pixels per line And the effective resolution of cameras with 2048 pixels in each sensor line is reduced to 1024 pixels per line This reduced resolution has an impact on the way that the camera s area of interest feature is set For more information about the AOI feature see Section 6 2 on page 98 Figure 20 illustrates horizontal binning Line B Pixels Summed and Transmitted as a Single Value Line A Fig 20 Horizontal Binning The physical pixels in each line of the sensor are 10 um H x 10 um V With horizontal binning enabled the effective pixel size becomes 20 um H x 10 um V Some users may find the effective 20 um x 10 um pixel size to be objectionable because the effective pixel is no longer square Note that if you use the horizontal binning feature together with the camera s vertical binning acquisition mode the effective pixel size will become 20 um H x 20 um
52. into the work set A link is created between the activated file and the camera s volatile memory The values in the activated file will automatically be copied into the work set whenever the camera is powered up or reset As an example assume that you have saved a configuration set to the UserSet07 file and that you want to activate this file To do so you would follow this procedure 1 Use a binary write command to write the file name UserSet07 to the Name field of the configu ration set bulk data CSR see page 173 2 Use a binary write command to set the value of the Control field in the configuration set bulk data CSR to 0x05 Setting the value to 0x05 initiates an activate function 168 Basler sprint Configuring the Camera This procedure would find the UserSe 07 file in the non volatile memory and would copy the values in the file into the camera s volatile memory It would also create a link to the file so that the values in the file would be loaded into volatile memory after a reset or a power up If you want to activate the factory set you would following a similar procedure but use FactorySet as the file name Sample code that illustrates how to activate a saved bulk data file is available from Basler see Section 7 4 on page 183 7 2 3 2 Using the Shading Values Bulk Data CSR Activating the User Shading Values File or the Factory Shading Values File The process of activating the user shading value file o
53. line A will be exposed When line acquisition is complete i e exposure is finished the pixel values from the single line will be read out of the sensor and transmitted from the camera For more information about triggering line acquisition and controlling exposure see Chapter 4 on page 57 The maximum line acquisition rate when the camera is set for this acquisition mode is 70 kHz at full resolution If the AOI feature is used the maximum line acquisition rate may be higher See Section 6 2 on page 98 and Section 4 3 on page 64 for more information Setting the Camera for Single Line Max 70 kHz Acquisition Mode You can set the camera for single line max 70 kHz acquisition mode by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Single Line Max 70 kHz By Setting CSRs You set the line acquisition mode to single line by writing the appropriate value to the Mode field of the Line Acquisition Mode CSR see page 145 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands 32 Basler sprint Line Acquisition Modes 3 3 Dual Line Max 140 kHz Acquisition Modes Note The Dual L
54. line counter is reset to 0 whenever the camera is switched off or reset The counter is also reset to 0 whenever the line stamp feature is disabled Stamp Pixels S5 S6 and S7 Stamp pixels S5 S6 and S7 represent the least significant middle and most significant bytes respectively of the line sum The line sum is simply the total of all of the pixel values in the captured line The line sum does not include the 16 added stamp pixels If the AOI feature is being used the line sum is based only on the pixels within the AOI Stamp Pixel S8 Stamp pixel S8 is reserved for future use Currently its value will always be 0 Stamp Pixels S9 and S10 Stamp pixels S9 and S10 represent the least significant and most significant bytes respectively of the Total High Pixels The Total High Pixels indicates the number of pixels in the captured line that are above a camera parameter called the High Pixel Threshold see Section 6 5 1 on page 119 for information on setting this parameter As an example assume that the High Pixel Threshold is set to 200 Also assume that the camera has captured a line and that 56 of the pixels in that line have a value greater than 200 In this case the Total High Pixels in the line would be 56 The total high pixels does not include any of the 16 added stamp pixels If the AOI feature is being used the total high pixels is based only on the pixels within the AOI Stamp Pixels S11 and 12
55. max fields of this register to determine the allowed range with the current configuration The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the length setting Byte 1 High byte of the length setting See Section 6 2 on page 98 for more information about the AOI feature Field Name Min Offset 0x0003 Size 2 Bytes Type Read only Description Minimum allowed integer value for the AOI length setting This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 1 High byte of the min value Field Name Max Offset 0x0005 Size 2 Bytes Type Read only Description Maximum allowed integer value for the AOI length setting This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 1 High byte of the max value Field Name Increment Offset 0x0007 Size 2 Bytes Type Read only Description An integer value indicating the increment for the AOI length setting The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the increment Byte 1 High byte of the increment 156 Basler sprint Configuring the Camera Shading Mode CSR Register Base Address 0x2000 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read o
56. of the max value Field Name Increment Offset 0x0007 Size 2 Bytes Type Read only Description An integer value indicating the increment for the high pixel threshold setting The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the increment Byte 1 High byte of the increment Basler sprint 161 Configuring the Camera Lookup Table Mode CSR Register Base Address 0x4100 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Mode Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field sets the lookup table mode 0x00 Lookup table disabled 0x01 Lookup table enabled See Section 6 6 on page 120 for more information about the lookup table feature 162 Basler sprint Configuring the Camera Lookup Table Index CSR Register Base Address 0x4108 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range
57. output modes 26 Basler sprint Physical Interface 2 8 4 Camera Link Pixel Clock As shown in Figure 9 on page 24 the Camera Link clock signal is assigned to the strobe port TxClkIn pin on the X Y and Z Camera Link transmitters as defined in the Camera Link standard The Camera Link clock is used to time the transmission of acquired pixel data As shown in Table 7 the Camera Link clock speed is fixed at 40 MHz on some camera models and can be set to either 80 MHz or to 40 MHz on some models The default on cameras with a settable clock speed is 80 MHz Model Camera Link Clock Speed spL2048 39km 40 MHz spL2048 70km 40 or 80 MHz spL2048 140km 40 or 80 MHz spL4096 20km 40 MHz spL4096 39km 40 or 80 MHz spL4096 70km 40 or 80 MHz spL4096 140km 40 or 80 MHz Table 7 Camera Link Clock Speed s Setting the Camera Link Clock Speed On camera models with a settable clock speed you can set the speed with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Camera Link Clock parameter in the Output Mode parameters group to set the clock speed By Setting CSRs You set the clock speed by writing a value to the Clock Speed field of the Camera Link Clock Speed CSR see page 145 See Section 7 2 2 on page 143 fo
58. segment 2 is 192 Segment 1 Segment 2 lt pre gt L Pixel 1 Pixel 1985 Pixel 2048 lL Pixel 2049 Pixel 2240 Pixel 4096 it mie gt 64 Pixels 192 Pixels E pixel within the AOI Fig 28 AOI Falling Across Segments 66 Basler sprint Exposure Start and Exposure Time Control Note If you are using a camera with two sensor segments the Max Seg AOI Pixels will be smallest when the AOI is evenly divided across the two segments i e each segment contains the same number of AOI pixels Positioning the AOI so that it is evenly divided across the two segments will yield the best results from formula two Max Segment AOI Pixels with Horizontal Binning If you have horizontal binning enabled see Section 3 8 on page 50 calculating the Max Segment AOI Pixels is done a bit differently With horizontal binning enabled the resolution of the sensor the segment size the AOI Starting Pixel and the AOI Length are all based on binned pixels For example with horizontal binning enabled on a camera that has 2048 physical pixels in each line the effective resolution for each line is 1024 binned pixels and the number of pixels in each segment of a line is 512 binned pixels And with horizontal binning enabled on a camera that has 4096 physical pixels in each line the effective resolution for each line is 2048 binned pixels and the number of pixels in each segment of a line is 1024 binned pixels When you are settin
59. the AOI By Setting CSRs You set the AOI starting pixel by writing a value to the Starting Pixel field of the AOI Starting Pixel CSR see page 155 You set the AOI length by writing a value to the Length field of the AOI Length CSR see page 156 See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands Basler sprint 99 Features 6 3 Shading Correction In theory when a digital camera captures an image of a uniform object the pixel values output from the camera should be uniform In practice however variations in optics and lighting and small variations in the sensor s performance can cause the camera output to be non uniform even when it is capturing images of a uniform object The camera is equipped with a shading correction feature that allows it to correct the captured image for variations caused by optics lighting and sensor variations There are two types of shading correction available on the camera DSNU shading correction and PRNU shading correction You can set the camera to do only DSNU correction to do only PRNU correction or to do both types of correction DSNU Shading Correction When a line scan camera with a digital sensor captures a line in complete darkness all of the pixel values in the line should be near zero and they should be equal In practice slight variations in the performance of the pixels in the sensor will cause some
60. the camera cool will give you the best signal to noise ratio When the camera operates hot the signal to noise ratio is reduced Basler sprint 11 Specifications Requirements and Precautions 1 7 Precautions CAUTION CAUTION CAUTION CAUTION Applying Incorrect Input Power Can Damage the Camera The camera s nominal input power voltage is 12 VDC 10 We do not recommend applying an input voltage less than 10 8 VDC or greater than 13 2 VDC The camera has undervoltage protection that is triggered if the input voltage drops below 10 5 VDC It also has input overvoltage protection up to 25 VDC See Section 6 8 on page 124 for more detailed information about input undervoltage and overvoltage protection Applying an input power voltage greater than 25 VDC can seriously damage the camera Making or Breaking Connections Incorrectly Can Damage the Camera Be sure that all power to your camera and to your host PC is switched off before you make or break connections to the camera Making or breaking connections when power is on can result in damage to the camera or to the frame grabber If you can t switch off the power be sure that the input power plug is the last connector that you plug into the camera when making connections and the first connector that you unplug from the camera when breaking connections An Incorrect Plug Can Damage the Camera s 6 pin Connector The plug on the cable that you attach to the came
61. this and the next page or download it from the support section of www basler vc com fill it out and fax the pages to your local dealer or to your nearest Basler support center Or you can write an e mail listing the requested pieces of information and with the requested files attached Our technical support contact numbers are shown in the title pages of this manual 194 Basler sprint Troubleshooting and Support 1 The camera s product ID The camera s serial number The operating system A WO PD Frame grabber that you use with the camera 5 CCT version that you use with the camera 6 Describe the problem in as much detail as possible If you need more space use an extra sheet of paper 7 If known what s the cause of the problem 8 When did the problem occur fr After start I While running After a certain action e g a change of parameters 9 How often did does the problem fr Once fr Every time occur rf Regularly when Occasionally when Basler sprint 195 Troubleshooting and Support 10 How severe is the problem Camera can still be used Camera can be used after take this action Camera can no longer be used 11 Did your application ever run r Yes r No without problems 12 Parameter set It is very important for Basler Technical Support to get a copy of the exact camera parameters tha
62. used to terminate the cable on the power supply for the camera A power supply that has an output cable terminated with the correct connector is available from Basler Contact your Basler sales representative for more information 20 Basler sprint Physical Interface 2 4 Cabling Requirements 2 4 1 Camera Link Cable The Mini D Ribbon MDR cables used between the camera and your frame grabber must comply with the Camera Link specification Compliant MDR cable assemblies in several different lengths are available from Basler as stock items Contact your Basler sales representative for more information The maximum allowed length for the MDR cable used with a sprint camera is 10 meters 2 4 2 Power Cable A Hirose 6 pin locking plug will be shipped with each camera This plug should be used to connect the output cable on your power supply to the camera For proper EMI protection the power supply cable that is terminated with the Hirose connector and attached to the camera must be a twin cored shielded cable Also the Hirose plug must be connected to the cable shield and the shield must be connected to earth ground at the power supply A power supply and cable assembly that meets these requirements is available from Basler Contact your Basler sales representative for more information An Incorrect Plug Can Damage the Camera s 6 pin Connector The plug on the cable that you attach to the camera s 6 pin connector must be a plu
63. value for pixel 2 in line A will be added to the value for pixel 2 in line B The value for pixel 3 in line A will be added to the value for pixel 3 in line B And so on The summed values for each pair of pixels will be transmitted from the camera as though they were from a single pixel Vertical binning can be useful if you are capturing images in low light conditions and you want to get an increased response from the camera Using vertical binning will result in approximately double the response of single line acquisition Figure 15 illustrates vertical binning Mella le Isle ioe Pixels Summed and ea e Transmitted as a Single Value Fig 15 Vertical Binning The physical pixels in each line of the sensor are 10 um H x 10 um V So when you use vertical binning you get the same effect as using a single line sensor that has 10 um H x 20 um V pixels Some users may find the effective 10 um x 20 um pixel size to be objectionable because the effective pixel is no longer square Note that if you use the vertical binning acquisition mode together with the camera s horizontal binning feature the effective pixel size will become 20 um H x 20 um V In this situation you will get a response that is approximately four times higher than normal and you will have a square pixel size For more information about the horizontal binning feature see Section 3 8 on page 50 40 Basler sprint Line Acquisition Modes
64. 0 mm with F mount adapter and connectors Weight 360 g without lens adapter Table 2 General Specifications for 4k Cameras Basler sprint Specifications Requirements and Precautions 1 3 Lens Adapters An F mount lens adapter is standard for all sprint cameras For cameras with 4096 pixel lines an optional M42 lens adapter is also available For cameras with 2048 pixel lines an optional M42 lens adapter and an optional C mount lens adapter are also available Note When a C mount lens is used with a camera that has 2048 pixel lines the image produced by the pixels near the ends of the sensor lines may appear degraded This effect is caused by using a lens with a relatively small diameter compared to the length of the sensor lines Typically use of a C mount lens on 2048 pixel cameras is appropriate in applications where the image data from pixels near the ends of each line can be discarded 4 Basler sprint Specifications Requirements and Precautions 1 4 Spectral Response The following graph shows the spectral response for monochrome cameras Note The spectral response curves exclude lens characteristics and light source characteristics 0 7 0 6 0 5 0 4 0 3 0 2 0 1 Absolute Quantum Efficiency 0 0 400 500 600 700 800 900 1000 Wavelength nm Fig 2 Mono Camera Spectral Response Basler sprint Specifications Requirements and Precautions
65. 0000 x 8 M Li a BEEIES TS 0 x8 24004 0 Max Lines s 256410 Formula 2 returns the lowest value So with the current camera settings the maximum allowed line rate would be 175438 lines per second The minimum allowed line period in this case would be 1 Min Line Period 175 438 Min Line Period 0 0000057 5 7 us 4 3 3 Increasing the Maximum Allowed Line Rate You may find that you would like to acquire lines at a rate higher than the maximum allowed with your current camera settings If this is the case you must first use the four formulas described on page 64 to determine which factor is restricting the maximum line rate the most Next you must try to make that factor less restrictive If you find that formula one exposure time is the most restrictive factor you should decrease the exposure time Decreasing the exposure time will increase the maximum line rate yielded by formula one If you decrease the exposure time you may need to compensate for a lower exposure time by using a brighter light source or by increasing the opening of your lens aperture If you find that formula two sensor readout is the most restrictive factor you may be able to adjust your AOI settings to decrease the Max Seg AOI Pixels Using a smaller AOI can decrease the Max Seg AOI Pixels Decreasing the Max Seg AOI Pixels will increase the maximum line rate yielded by formula two If you are using a camera that has two sensor segment
66. 00000 the BCC Code bit would be 0b1 and the AddrLen bits would be 0b00 This would result in a binary value of 0600000100 which translates to a hex value of 0x04 for the FTF field Basler sprint 177 Configuring the Camera DataLen Address Data BCC BFE Data Length field For read commands the DataLen field indicates the number of bytes to read from the given CSR address For write commands the DataLen field indicates the number of bytes contained in the Data field Size 1 byte Range of possible settings 0 to 255 DataLen 0 will result in an ACK but no further command will be executed Address field For read commands indicates the CSR address for the read For write commands indicates the CSR address for the write Size Number of bytes indicated in the AddrLen portion of the FTF field Data field For read commands this field contains no data For wire commands this field contains the data to be written to the CSR Size for read commands 0 bytes Size for write commands the number of bytes indicated in the DataLen field of the frame Block Check Character field The use of a block check character in read write commands is optional If bit 2 of the FTF field is 0 the BCC is not used and the BCC field will contain no data If bit 2 of the FTF field is 1 the BCC field will contain the block check character Size 0 bytes if bit 2 of the FTF field is 0 1 byte if bit 2 of the FTF field is 1 The b
67. 0001 Size 3 Bytes Type Read only Description The value in this field indicates the camera s version information The bytes in the field are interpreted as follows Byte 1 Low byte of the camera version BCD coded Byte 2 High byte of the camera version BCD coded Byte 3 Register layout ID BCD coded Basler sprint 137 Configuring the Camera Microcontroller Firmware Version Inquiry Register Base Address 0x0710 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Microcontroller Firmware Version Offset 0x0001 Size 31 Bytes Type Read only Description String containing the camera vendor s name The string is zero terminated if less than 31 bytes are needed and unterminated if all 31 bytes are needed FPGA Firmware Version Inquiry Register Base Address 0x0810 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name FPGA Firmware Version Offset 0x0001 Size 31 Bytes Type Read only Description String containing the camera vendor s name The string is zero terminated if less than 31 bytes are needed
68. 11 RxOut11 D2 Bit 7 D2 Bit 7 Not used Port FO TxIN15 RxOut15 D2 Bit 8 D2 Bit 8 Not used Port F1 TxIN18 RxOut18 D2 Bit 9 D2 Bit 9 MSB Not used Port F2 TxIN19 RxOut19 D2 Bit 10 Not used Not used Port F3 TxIN20 RxOut20 D2 Bit 11 MSB Not used Not used Port F4 TxIN21 RxOut21 D3 Bit 8 D3 Bit 8 Not used Port F5 TxIN22 RxOut22 D3 Bit 9 D3 Bit 9 MSB Not used Port F6 TxIN16 RxOut16 D3 Bit 10 Not used Not used Port F7 TXIN17 RxOut17 D3 Bit 11 MSB Not used Not used LVAL TxIN24 RxOut24 Line Valid Line Valid Line Valid FVAL TxIN25 RxOut25 Not Used Not Used Not Used DVAL TxIN26 RxOut26 Data Valid Data Valid Data Valid Spare TxIN23 RxOut23 Not Used Not Used Not Used Strobe TxINCLK RxOutClk Pixel Clock Pixel Clock Pixel Clock Table 13 Bit Assignments for 4 Tap Output Modes MDR Conn 2 Transmitter Y 82 Basler sprint Video Data Output Modes ExSync ee ee ee ee Signal EER Ri S E P ES P A DE AE ON Oe AE ee ce ee l g Line Valid Delay see Table 14 on page 85 Line Valid Data Valid Pixel Clock l i i Pixel Bata XOX OOA AKAOA BK VEIT RNS DK XK _X_ gt or 8 bits D1 Pixel Data X X X X 2X 6 X10X 14 18 X 22 X 26X XN XN 2XN 18XN 14XN 10XN 6Xn 2X X X X 12 10 or 8 bits D2 Pixel Data X X X X3 X7IXNXI5XIX2B3X27X XN 5XN 1XN 17XN 13XN 9 X N 5X N 1X X X X 12 10 or 8 bits D3 Pixel Data DDAIONI A KAAKAA NX XXX or 8 bits Timing diagrams are not to scale N At full resolu
69. 3 Size 2 Bytes Type Read only Description Minimum allowed integer value for the low pixel limit This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 1 High byte of the min value Field Name Max Offset 0x0005 Size 2 Bytes Type Read only Description Maximum allowed integer value for the low pixel limit This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 1 High byte of the max value Field Name Increment Offset 0x0007 Size 2 Bytes Type Read only Description An integer value indicating the increment for the low pixel limit setting The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the increment Byte 1 High byte of the increment 160 Basler sprint Configuring the Camera Line Stamp High Pixel Threshold CSR Register Base Address 0x2B40 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name High Pixel Threshold Offset 0x0001 Size 2 Bytes
70. 4 TXIN13 RxOut13 D7 Bit 4 Port H5 TXIN14 RxOut14 D7 Bit 5 Port H6 TxIN10 RxOut10 D7 Bit 6 Port H7 TxIN11 RxOut11 D7 Bit 7 Spare TxIN15 RxOut15 Not Used Spare TxIN18 RxOut18 Not Used Spare TxIN19 RxOut19 Not Used Spare TxIN20 RxOut20 Not Used Spare TxIN21 RxOut21 Not Used Spare TxIN22 RxOut22 Not Used Spare TxIN16 RxOut16 Not Used Spare TxIN17 RxOut17 Not Used LVAL TXIN24 RxOut24 Line Valid FVAL TxIN25 RxOut25 Not Used DVAL TXIN26 RxOut26 Data Valid Spare TxIN23 RxOut23 Not Used Strobe TxINCLK RxOutClk Pixel Clock Table 17 Bit Assignments for 8 Tap Output Mode MDR Conn 2 Transmitter Z 90 Basler sprint Video Data Output Modes aid lt Line Valid Delay see Table 18 on page 93 H Clock DO 8 bits D1 8 bits D2 Pixel Data XX OLAKOXE KE BIA NIANBAW ANNE XK XK D3 Pixel Data XX C KEK 12K 20K 28K 36 KK 52K MLRUMAN DXNAKN DVOX A A OO D4 Pixel Data X X XK X 5 X13 21 X 29 XK 37 XK 45 X 53K KN 51N 43XN 5XN 27XN 19XN 1 XN 3X X X X 8 bits D5 Pixel Data X X X Xe X 14 X 22 X 30 X 38 X 46 X 54 X KN 50XN 42XN 4XN 2XN 18XN 10XnN 2X X X X 8 bits D6 Pixel Data XXX XT XEXAKMXBKAXEK NaN XXX D7 Pixel Data XXX Xa Xe XaKAKWKBK KAAKAO OOOD Timing diagrams are not to scale N At full resolution without horizontal binning enabled N 4096 on 4k models and 2048 on 2k models N At full resolution with horizontal binning enabled N 2048 on 4k models and 102
71. 4 on 2k models If the AOI feature is used N will be determined by the AOI settings Fig 34 Eight Tap Modes with Edge or Level Controlled Exposure Basler sprint 91 Video Data Output Modes End of O Programmed 4 Time DE Line Valid Delay see Table 18 on page 93 4H Line Valid Data Valid ee UU UU UU UU UU UU UU UU Clock DO Pixel Daa lt X X X X amp 1X9 X 17X 25X 33 X 41 X 49 X XN 5XN 47XN XN 31XN BXN 15X N 7X X X KY 8 bits D1 Pixel Data ODO OXX IAKA AKNA KAKAK AKKO D2 Pixel Data X X X X 3X 11X19 X 27 X 35 X 43 X 51 X XN 53XN 4 XN IXN 2XN 21XN 13X N 5X X X X 8 bits D3 pixe pata lt X X X XK 4 XK 12K 20 X 28 X 36 X 44 X 52K XN 52XN MXN EXN BXN 2XN 12X N 4X X X X its D4 Pixel Data X X X X 5 X13 21 X 29 X 37 X 45 X 53 KX XN SIXN 43XN 35XN 272XN 19XN 1IXN 3X X X X 8 bits D5 Pixel Data OOC IOCA OAOA AKAA AAAA OOOD D6 Rixe pag C X X X M7 XK 15K 23 31X 39 X 47 KX 55 X XN AOKN 41 XN 33XN 25XN 17XN 9XN 1 X X X X its D7 Pixa pata C X X X XK 8X16 X 24 X 32X 40 X 48 X 56 X XN 4BXN 4OXN 32XN AXNABXN BX NX X X KY ItS Timing diagrams are not to scale N At full resolution without horizontal binning enabled N 4096 on 4k models and 2048 on 2k models N At full resolution with horizontal binning enabled N 2048 on 4k models and 1024 on 2k models If the
72. 43 explains CSRs and the difference between using the absolute field and the raw field in a CSR Section 7 3 1 on page 176 explains using read write commands Basler sprint 97 Features 6 2 Area of Interest The area of interest feature lets you specify a portion of the sensor lines and during operation only the pixel information from the specified portion of the lines is read out of the sensor and transmitted from the camera to the frame grabber The size of the area of interest is defined by declaring a starting pixel and a length in pixels For example if you specify the starting pixel as 33 and the length in pixels as 256 the camera will readout and transmit pixel values for pixels 33 through 288 as shown in Figure 37 Starting Line B Pixel CEECEE eo er ze ta a aa a rele oo eo nee arpecop Eesti elloar arrazaz it al 1 Line A i Length in Pixels _ pixels within the AOI Fig 37 Area of Interest If you are operating the camera in single line acquisition mode the AOI applies to line A In all other line acquisition modes the AOI applies to both line A and line B For more information about line acquisition modes see Chapter 3 on page 31 When setting the AOI the following guidelines apply The AOI Starting Pixel can be set to 1 and can be increased in increments of 32 The AOI Length must be a minimum of 256 pixels can be increased in increments of 32 The AOI Starting Pixel AOI Length
73. 5 us 9 50 0 05 us All Other Line Acquisition Modes 80 MHz Without Horizontal Binning With Horizontal Binning Programmable 2 85 0 05 us exposure time 9 50 0 05 us exposure time Edge Controlled Exposure 2 85 0 05 us 9 50 0 05 us Level Controlled Exposure 2 85 0 05 us 9 50 0 05 us Table 11 Line Valid Delay with the Camera Set for a 2 Tap Video Data Output Mode 78 Basler sprint Video Data Output Modes 5 2 2 4 Tap Output Modes 4 Tap 12 Bit Output Mode In 4 tap 12 bit mode on each pixel clock cycle the camera transmits data for four pixels at 12 bit depth a line valid bit and a data valid bit In the 4 tap output modes the camera uses the output ports on Camera Link Transmitters X and Y to transmit pixel data a line valid bit a data valid bit and the Camera Link pixel clock The assignment of the bits to the output ports on Camera Link Transmitters X and Y is as shown in Table 12 on page 81 and Table 13 on page 82 respectively The Camera Link clock is used to time the transmission of acquired pixel data As shown in Table 32 on page 83 and Table 33 on page 84 the camera samples and transmits data on each rising edge of the Camera Link clock The Camera Link pixel clock frequency is as stated in Section 2 8 4 on page 27 The line valid bit indicates that a valid line is being transmitted The data valid bit indicates that valid pix
74. 56 Pixel 20484 i 1 1025 lt gt lt gt pixel within the AOI 96 Pixels 32 Pixels Fig 29 AOI Falling Across Segments Horizontal Binning Enabled Basler sprint 67 Exposure Start and Exposure Time Control 4 3 2 Example of Calculating the Maximum Allowed Line Rate Minimum Line Period Assume that you are working with an spL4096 140km Also assume that the camera is set for the dual line Max 140 kHz line acquisition mode 8 tap 8 bit video data output mode the AOI starting pixel is set to 1249 AOI length is set to 2400 and the exposure time is set to 4 us The stamp feature and horizontal binning are disabled First you must determine the max segment AOI pixels With the current settings 800 AOI pixels would be included in segment 1 and 1600 AOI pixels would be included in segment 2 In this case the max segment AOI pixels is 1600 Next use the four formulas to calculate the maximum allowed line rate Formula 1 1 Exposure time in s 0000012 Max Lines s 1 Max Lines s 000004 0000012 Max Lines s 192307 Formula 2 i _ ____160000000xn_ icine he M Seg AOI Pixels 224 Max Lines s 160000000 x 2 1600 224 Max Lines s 175438 Formula 3 f PPR Max Lines s AOl Length p _ 640000000 Max Lines s 540040 Max Lines s 266666 68 Basler sprint Exposure Start and Exposure Time Control Formula 4 T CL Clk x Taps Max Lines s 12 x Taps AOI Length p 8000
75. 6 Basler sprint ExSync Cycle 3 Line Acquisition Modes Pixel data for point 3 from line A is transmitted from the camera H Pixel data for point 4 from line B is stored in a buffer Image o Image o point 3 H acquired by line A point 4 acquired by line B Line B Drawing not to scale Line A Object Passing Camera Fig 13 Dual Line Acquisition ExSync Cycle 3 Basler sprint T Point 4 Point 3 Point 2 Point 1 4 Movement 37 Line Acquisition Modes ExSync Cycle 4 Stored pixel data for point 4 from line B is transmitted from the camera Stored pixel data for point 4 from line B Line B Drawing not to scale Line A Object Passing Camera
76. 77 Video Data Output Modes The table below shows the line valid delay see Figure 30 on page 76 and Figure 31 on page 77 when the camera is set for a 2 tap video data output mode Note that the delay depends on the line acquisition mode setting the camera link clock speed setting and whether horizontal binning is enabled Each delay is stated as a range The actual line valid delay can vary slightly but will always be within the stated range Line Valid Delays for 2 Tap Modes Single Line Acquisition Mode 40 MHz Without Horizontal Binning With Horizontal Binning Programmable 2 65 0 06 us exposure time 3 25 0 06 us exposure time Edge Controlled Exposure 2 65 0 06 us 3 30 0 06 us Level Controlled Exposure 2 65 0 06 us 3 25 0 06 us All Other Line Acquisition Modes 40 MHz Without Horizontal Binning With Horizontal Binning Programmable 2 65 0 06 us exposure time 3 25 0 06 us exposure time Edge Controlled Exposure 2 65 0 06 us 3 25 0 06 us Level Controlled Exposure 2 65 0 06 us 3 25 0 06 us Single Line Acquisition Mode 80 MHz Without Horizontal Binning With Horizontal Binning Programmable 2 85 0 05 us exposure time 9 50 0 05 us exposure time Edge Controlled Exposure 2 90 0 05 us 9 85 0 05 us Level Controlled Exposure 2 85 0 0
77. 8 4 on page 27 Basler sprint 71 Video Data Output Modes Model Video Data Outmode Modes Camera link Clock Speed s spL2048 39km 2 tap 8 bit 2tap 10bit 2 tap 12 bit 40 MHz spL2048 70km 2 tap 8 bit 2tap 10bit 2 tap 12 bit 40 MHz or 80 MHz spL2048 140km 2 tap 8 bit 2 tap 10 bit 4 tap 8 bit 4 tap 10 bit 8 tap 8 bit spL4096 20km 2 tap 8 bit 2 tap 10 bit 2 tap 12 bit 40 MHz or 80 MHz 4 tap 12 bit 2 tap 12 bit 40 MHz spL4096 39km 2 tap 8 bit 2 tap 10 bit 4 tap 8 bit 4 tap 10 bit 2 tap 12 bit 40 MHz or 80 MHz 4 tap 12 bit spL4096 70km 2 tap 8 bit 2 tap 10 bit 4 tap 8 bit 4 tap 10 bit 8 tap 8 bit spL4096 140km 2tap 8bit 2tap 10bit 2 tap 12 bit 40 MHz or 80 MHz 4tap 8bit 4tap 10 bit 4 tap 12 bit 8 tap 8 bit Table 9 Available Video Data Output Modes and Pixel Clock Speed s 2 tap 12 bit 40 MHz or 80 MHz 4 tap 12 bit 5 1 1 Setting the Video Data Output Mode You can set the video data output mode with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Video Data Output Mode parameter in the Output Mode parameters group to set the output mode By Setting CSRs You sele
78. 84 shows the data sequence when the camera is operating in programmable exposure mode 80 Basler sprint Video Data Output Modes MDR Conn 1 Transmitter X Port Camera Frame Bit Assignment Grabber 4 Tap 12 Bit 4 Tap 10 Bit 4 Tap 8 Bit Port AO TxINO RxOut0 DO Bit 0 DO Bit 0 DO Bit 0 Port A1 TxIN1 RxOut1 DO Bit 1 DO Bit 1 DO Bit 1 Port A2 TxIN2 RxOut2 DO Bit 2 DO Bit 2 DO Bit 2 Port A3 TxIN3 RxOut3 DO Bit 3 DO Bit 3 DO Bit 3 Port A4 TxIN4 RxOut4 DO Bit 4 DO Bit 4 DO Bit 4 Port A5 TxIN6 RxOut6 DO Bit 5 DO Bit 5 DO Bit 5 Port A6 TxIN27 RxOut27 DO Bit 6 DO Bit 6 DO Bit 6 Port A7 TxIN5 RxOut5 DO Bit 7 DO Bit 7 DO Bit 7 MSB Port BO TxIN7 RxOut7 DO Bit 8 DO Bit 8 D1 Bit O Port B1 TxIN8 RxOut8 DO Bit 9 DO Bit 9 MSB D1 Bit 1 Port B2 TXIN9 RxOut9 DO Bit 10 Not used D1 Bit 2 Port B3 TxIN12 RxOut12 DO Bit 11 MSB Not used D1 Bit 3 Port B4 TxIN13 RxOut13 D1 Bit 8 D1 Bit 8 D1 Bit 4 Port B5 TxIN14 RxOut14 D1 Bit 9 D1 Bit 9 MSB D1 Bit 5 Port B6 TxIN10 RxOut10 D1 Bit 10 Not used D1 Bit 6 Port B7 TxIN11 RxOut11 D1 Bit 11 MSB Not used D1 Bit 7 MSB Port CO TxIN15 RxOut15 D1 Bit O D1 Bit O D2 Bit 0 Port C1 TxIN18 RxOut18 D1 Bit 1 D1 Bit 1 D2 Bit 1 Port C2 TxIN19 RxOut19 D1 Bit 2 D1 Bit 2 D2 Bit 2 Port C3 TxIN20 RxOut20 D1 Bit3 D1 Bit 3 D2 Bit 3 Port C4 TxIN21 RxOut21 D1 Bit 4 D1 Bit 4 D2 Bit 4 Port C5 TxIN22 RxOut22 D1 Bit5 D1
79. Basler sprint USER S MANUAL Document Number AW000162 Version 05 Language 000 English Release Date 8 January 2008 BASLER VISION TECHNOLOGIES For customers in the U S A This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense You are cautioned that any changes or modifications not expressly approved in this manual could void your authority to operate this equipment The shielded interface cable recommended in this 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 Interference Regulations Pour utilisateurs au Canada Cet appareil est conforme aux normes Classe A pour bruits radio lectriques sp cifi es dans le R glem
80. Camera with 4096 Pixels Per Line Fig 39 Test Image One Note When the camera is set for an 8 bit output mode the pixel values in test image one range from 0 to 255 as described above If the camera is set for 10 bit output the pixel values will range from 0 to 1023 If the camera is set for 12 bit output the pixel values will range from 0 to 4095 112 Basler sprint Features 6 4 2 Test Image Two Moving Gradient Test image two is formed with a gray scale gradient that ranges from 0 to 255 and repeats every 256 pixels as shown in Figure 40 The gradient starts at 0 and steps up that is the gray value of pixel 1 is 0 the gray value of pixel 2 is 1 the gray value of pixel 3 is 2 and so forth The pattern shifts by one pixel each time the ExSync signal or the camera s internal control signal cycles On the second cycle the gray value of pixel 1 is 1 the gray value of pixel 2 is 2 the gray value of pixel 3 is 3 and so on On the third cycle the gray value of pixel 1 is 2 the gray value of pixel 2 is 3 the gray value of pixel 3 is 4 and so on This shifting of the gradient makes the pattern appear to be moving as the ExSync signal or the internal control signal cycles When you view the output of a camera that is set for test image two the pattern should appear to be gradually moving up the screen This feature is useful for determining if the camera is receiving an ExSync signal from your frame grabber and if the frame g
81. Description 0 A binary command with no BFS was received see Section 7 3 1 on page 176 1 A byte timeout has occurred see Section 7 3 1 1 on page 179 2 A binary command with an invalid OpCode was received see Section 7 3 1 on page 176 3 A binary command with no BFE was received see Section 7 3 1 on page 176 4 A binary command with an incorrect BCC was received see Section 7 3 1 on page 176 5 A binary command with an address error was received see Section 7 3 1 on page 176 6 Reserved 7 An unknown error has occurred Imaging Sensor Temperature Inquiry Register Base Address 0x2710 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Temperature Offset 0x0001 Size 4 Bytes Type Read only Description The value in this field indicates the temperature of the imaging sensor in C The value in this field is a standard IEEE 754 single precision 32 bit floating point number 142 Basler sprint Configuring the Camera 7 2 2 Feature Control and Status Registers The feature control and status registers CSRs let you set the parameters for camera features such as exposure mode gain offset and the AOI These registers also let you check the current parameter settings and the status for each feature
82. Field Name Absolute Min Offset 0x0005 Size 4 Bytes Type Read only Description Minimum allowed floating point value for the absolute gain setting The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Description Maximum allowed floating point value for the absolute gain setting The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Raw Gain Offset 0x000D Size 2 Bytes Type Read Write Description Writing an integer value to this field sets the gain The dB of gain that the camera will achieve at a given setting is determined by the formula shown in Section 6 1 on page 95 The bytes in this field are interpreted as follows Byte 1 Low byte of the raw value Byte 2 High byte of the raw value Field Name Raw Min Offset 0x000F Size 2 Bytes Type Read only Description Minimum allowed integer value for the raw gain setting The bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 2 High byte of the min value Field Name Raw Max Offset 0x0011 Size 2 Bytes Type Read only Description Maximum allowed integer value for the raw gain setting The bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 2 High byte of the max value 152 Basler sprint Configuring the Camera
83. G si sceseveetelcn ai 129 Configuration tool seee 134 connectors IOGATIONS ic ss ccc teceseeeecestivest iach anaiei naiai 16 pin assignments 17 PIN NUMDETING secerneren 19 TYPOS yin steht ie ee E 20 control and status registers 135 143 D data valid Ditic cc scceccseiisedicg feeskd iania 26 design calculations s 54 design recommendations system 52 CIMENSIONS 000cccccceceeseeeceeeeeesseeseees 6 7 DSNU shading correction sece 100 dual line acquisition modes 0 06 33 o U EREE EE A i 12 E edge controlled exposure time control MOE ccccccccceeeeeeeeeeee ones 57 61 eight tap video data output mode 86 environmental requirements 06 11 exposure Start delay 60 exposure time control and status POQISC Nix siscecetecgia cts sahscbsindiciededeapesctess 147 exposure time control mode control and status register eeeeeeeeeeeeeee 146 exposure time control modes edge controlled eee 57 61 level controlled 58 programmable 58 62 ExSync signal eneee 25 57 F four tap video data output modes 79 FPGA configuration version inquiry Eo EAEE E ETTET 139 201 Index FPGA firmware version inquiry fOQISTOMS eae ede a areia e a ieaiai 138 FPGA status inquiry register 141 free PUM cise chectieepaseatacccuenselactaseceeyesateaeceeevs 61 G oTe TAE E fate tidied E 95 gain control and status regist
84. O Bit 3 DO Bit 3 DO Bit 3 Port A4 TxIN4 RxOut4 DO Bit 4 DO Bit 4 DO Bit 4 Port A5 TxIN6 RxOut6 DO Bit 5 DO Bit 5 DO Bit 5 Port A6 TxIN27 RxOut27 DO Bit 6 DO Bit 6 DO Bit 6 Port A7 TxIN5 RxOut5 DO Bit 7 DO Bit 7 DO Bit 7 MSB Port BO TxIN7 RxOut7 DO Bit 8 DO Bit 8 D1 Bit O Port B1 TxIN8 RxOut8 DO Bit 9 DO Bit 9 MSB D1 Bit 1 Port B2 TxIN9 RxOut9 DO Bit 10 Not Used D1 Bit 2 Port B3 TxIN12 RxOut12 DO Bit 11 MSB Not Used D1 Bit 3 Port B4 TxIN13 RxOut13 D1 Bit 8 D1 Bit 8 D1 Bit 4 Port B5 TxIN14 RxOut14 D1 Bit 9 D1 Bit 9 MSB D1 Bit5 Port B6 TxIN10 RxOut10 D1 Bit 10 Not Used D1 Bit 6 Port B7 TxIN11 RxOut11 D1 Bit 11 MSB Not Used D1 Bit 7 MSB Port CO TxIN15 RxOut15 D1 Bit 0 D1 Bit 0 Not Used Port C1 TxIN18 RxOut18 D1 Bit 1 D1 Bit 1 Not Used Port C2 TxIN19 RxOut19 D1 Bit 2 D1 Bit 2 Not Used Port C3 TxIN20 RxOut20 D1 Bit 3 D1 Bit 3 Not Used Port C4 TxIN21 RxOut2 1 D1 Bit 4 D1 Bit 4 Not Used Port C5 TxIN22 RxOut22 D1 Bit 5 D1 Bit 5 Not Used Port C6 TxIN16 RxOut16 D1 Bit 6 D1 Bit 6 Not Used Port C7 TxIN17 RxOut17 D1 Bit 7 D1 Bit 7 Not Used LVAL TxIN24 RxOut24 Line Valid Line Valid Line Valid FVAL TXIN25 RxOut25 Not Used Not Used Not Used DVAL TxIN26 RxOut26 Data Valid Data Valid Data Valid Spare TxIN23 RxOut23 Not Used Not Used Not Used Strobe TxINCLK RxOutClk Pixel Clock Pixel Clock Pixel Clock Table 10 Bit Assignments for 2 Tap Output Modes MDR Conn 1 Transmitter X Basler sprint 75 Video Data Output Modes ExSync Signal Line Val
85. Stamp pixels S11 and S12 represent the least significant and most significant bytes respectively of the Total Low Pixels The Total Low Pixels indicates the number of pixels in the captured line that are below a camera parameter called the Low Pixel Limit see Section 6 5 1 on page 119 for information on setting this parameter As an example assume that the Low Pixel Limit is set to 100 Also assume that the camera has captured a line and that 22 of the pixels in that line have a value less than 100 In this case the Total Low Pixels in the line would be 22 The total low pixels does not include any of the 16 added stamp pixels If the AOI feature is being used the total low pixels is based only on the pixels within the AOI The total high pixel and total low pixel values are useful if you want to perform automatic gain control from within your camera control software application If you find that the total low pixel values are increasing over a period of time an increase in the gain setting would be appropriate If you find 118 Basler sprint Features that the total high pixel values are increasing over a period of time a decrease in the gain setting would be appropriate Stamp Pixels 13 S14 and S15 Stamp pixels 13 S14 and S15 represent the least significant middle and most significant bytes respectively of the line contrast The line contrast is the sum of the difference in pixel values for each pair of neighbo
86. U values a The camera uses the data from the 64 acquisitions to calculate an average gray value for the pixels in each line b The camera finds the pixel with the highest average gray value in each line c For each of the other pixels in the line the camera determines the offset that would be needed to make the pixel s average value equal to the average value for the highest pixel d The camera generates a set of DSNU shading values that contains the calculated offsets 8 The generated set of DSNU values is automatically saved in the user shading values file in the camera s non volatile memory Existing values in the file will be overwritten 9 The user shading value file is automatically activated See Section 6 3 3 on page 107 for more information about what it means to activate a shading file Basler sprint 103 Features Generating and Saving User PRNU Shading Correction Values The procedure below describes how to generate user PRNU shading correction values When you generate the values they will automatically be stored in the camera s user shading value file You should be aware that the camera uses one set of PRNU values when it is operating in single line acquisition mode and a different set of values when it is operating in any one of the other line acquisition modes see Chapter 3 on page 31 for more information about line acquisition modes This means that If you will always be operating the camera in sin
87. Using the download function together with the upload function is useful if you want to transfer a user shading values file from one camera to another camera of the same type You can upload a user shading values file by using the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s control and status registers CSRs Note that when you upload a user shading values file to your camera you will overwrite any existing values in the camera s user shading values file With the CCT With the CCT see Section 7 1 on page 134 you use the Upload button in the Shading Files parameters group to upload a user shading values file When you click the button the CCT will open a window that lets you navigate to your PC and select a file By Setting CSRs You can upload a user shading values files by writing values to the shading values bulk data CSR Section 7 2 3 on page 167 explains the bulk data CSRs and Section 7 2 3 3 on page 170 explains how to use the CSRs to upload a file Section 7 3 1 on page 176 explains using read write commands Note The factory shading values file can be downloaded from the camera to the PC The factory shading values file can t be uploaded from the PC to the camera because the factory shading values file in the camera is protected and can t be overwritten 110 Basler sprint Features 6 4 Test Images The test image mode is
88. Which Configuration Set File will Load at Startup or at Reset 131 6 12 4 Downloading Configuration Set Files to Your PC 131 6 12 5 Uploading Configuration Set Files to YourCamera 132 7 Configuring the Camera 200 cece ee eee 133 7 1 Configuring the Camera with the Camera Configuration Tool Plus CCT 134 7 2 Configuring the Camera By Setting Registers 0 0 0 2 e eee eee eee 135 7 2 1 Inquiry Registers 0 0 cc tenes 136 7 2 1 1 Inquiry Register Details 0 0 2 eee eee ee 136 Vendor Information Inquiry ee eeeeceeeteeeeeeseeeeeenneeeseeneeeeeeneeeees 136 Model Information Inquiry ceceeeeeeneeeeseeeeeeseneeeeesneeeeeseeeeesaes 136 Producti sD ei nn a ec 137 Serial Number Inquiry sssessssssssssesrnrnssrrersrnrsnrnnsrrnnserrnnsrernsrrnnnsenna 137 Camera Version INQuiry oiire an eee ie aa 137 Microcontroller Firmware Version Inquiry escenes 138 FPGA Firmware Version Inquiry eeen 138 FPGA Configuration Version Inquiry 139 Camera Status Inquiry 0 0 cece ee ceeeee cence eeeeneeeeteneeeeteneeeeeeeneeeneaas 140 FPGA Status INQuiry ccc e eee eeeeseeeeeeseaeeeessaeeeeseaeeeeesaeeeessaeeeersaes 141 Binary Command Protocol Status Inquiry 142 Basler sprint iii Table of Contents Imaging Sensor Temperature Inquiry eee ee ceeeeeeseeeeeeeneeeteaes 142 7 2 2 Feature Control and Status Registers
89. Work Set to a User Set File As mentioned above the work configuration set is stored in the camera s volatile memory and the parameter settings in the work set are lost if the camera is reset or if power is switched off The camera can save the current work set values in the volatile memory to files in the camera s non volatile memory Files in the non volatile memory are not lost at reset or power off There are four files available for holding a saved user configuration set UserSet01 UserSet02 UserSet03 and UserSet04 Saved configuration sets are commonly referred to as user configuration sets or user sets Saving a User Configuration Set You can save the current work set to one of the files in the non volatile memory by using the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the File Name Select parameter and the Copy button in the User Set Files parameters group Clicking the copy button will copy the work set settings to the selected user set file in the non volatile memory By Setting CSRs You can save the current work set settings to a file in the non volatile memory by writing values to the bulk data CSR for configuration sets Section 7 2 3 on page 167 explains the bulk data CSRs and explains how to use the CSRs to save the
90. a write command is not within the allowed range or specified group of allowed values the camera will not execute the write command Basler sprint 179 Configuring the Camera 7 3 2 Basic Read Write Command Explanations 7 3 2 1 Read Command This section includes a text description the hex digits included in a command message used to read the Status field of the Test Image Mode CSR see page 158 The intent of this section is to give you a basic understanding of the elements included in a read command Sample code that illustrates how to send a read command is available from Basler see Section 7 4 on page 183 The hex digits included in the read command are 0x01 Ox0C 0x01 0x00 0x18 0x01 0x03 0x01 is the BFS field The value in the BFS field is always 0x01 0x0C is the FTF field The hex value of 0x0C in the FTF field converts to a binary value of 0b00001100 Bits 7 through 3 of the binary value indicate the OpCode As shown in the OpCode table on page 177 an OpCode value of 0b00001 indicates that this is a read command frame Bit 2 indicates the presence or absence of a BCC in the frame As shown in the OpCode table when this bit is set to 0b1 it indicates that a BCC is present Bits 1 and 0 indicate the AddrLen As shown in the OpCode table a value of 0b00 for the AddrLen indicates that the address portion of this frame contains a 16 bit address If you check the table on page 158 you will find that the address for the S
91. ad Write Command Protocol With the binary read write command protocol data is placed into a frame and sent to the camera When the frame is received it is checked for validity If valid the data is extracted from the frame and the command is executed This section describes the basic layout of a binary command frame Figure 45 shows a graphical representation of the fields within a binary command frame The text below the graphic describes each field of the command frame in detail 1 Frame gt BFS FTF DataLen Address DATA BCC BFE 8 bits 8 bits 8 bits Length specified in FTF Length specified in DataLen 8 bits 8 bits ACK NAK 8 bits Transmit Response Fig 45 Representation of a Command Frame and Response BFS Binary Frame Start field Identifies the start of a binary frame Size 1 byte The value of the BFS byte is always 0x01 FTF Frame Type and Format field Identifies the frame type and format Size 1 byte The bits in the FTF field are assigned as follows 7 6 5 4 3 2 1 0 OpCode BCC AddrLen Code The MSB of the FTF field is on the left highest bit of the opcode and the LSB of the field is on the right lowest bit of the address length 176 Basler sprint Configuring the Camera The value in the OpCode portion of the FTF field defines the function of the binary commana that is whether it is a read command or a write command The
92. alues in the captured lines the values should be exactly as described above 114 Basler sprint Features 6 5 Line Stamp The line stamp feature provides you with information about each acquired line such as the line counter value the sum of the pixel values in the line and the contrast value of the line When the line stamp feature is enabled 16 extra stamp pixels are added to the end of each transmitted line as shown in Figure 42 The figure illustrates stamp pixels when a camera with 4096 pixels per line is set for a 2 tap video data output mode and edge or level controlled exposure Each stamp pixel carries an 8 10 or 12 bit value that conveys information about the transmitted line ExSyne SGCeT CeGee Cee eee oe eS a Lee Signal RP I Nee ee O E oe Ne E oe ete Line Valid Data Valid Pixel Clock Odd Pixel lt X X X X amp 1X3 X 5X 4091X4093X4095X s X S3X S4X KSI3XSI5X X X X X X YS Data D1 Pixel a GP Oy a2 KA AEA NOROREALKEAEA XN O O O C OP Data Actual Pixel Values 16 Added Stamp Pixel elie Fig 42 Stamp Pixels with 2 Tap Video Data Output and Edge or Level Controlled Exposure Note When the camera is operating in an 8 bit output mode the stamp pixels will be 8 bit values When the camera is operating in a 10 bit output mode the stamp pixels will be 10 bit values but only the 8 MSBs will carry information The 2 LSBs will be packed with zeros When the camera is operating i
93. and is sent to the camera the camera responds with an ACK and a returned frame The returned frame will contain the data requested If the camera receives a read command with an unknown or invalid address in the Address field of the frame it will respond with an ACK but will send no frame If the host sends a read command and gets no ACK NAK the host can assume that no camera is present or the camera is in a garbage state for some reason If the host sends a read command and gets an ACK NAK but does not receive a frame within 500 ms the host can assume that there was a problem with the read command Write Command In the normal case when a write command is sent to the camera the camera responds with an ACK If the camera receives a write command with an unknown or invalid address in the Address field of the frame it will respond with an ACK but will not perform the write After a write command has been issued by the host the host can verify the write by issuing a corresponding read command and checking that the returned data is as expected unless the address is write only The host can read the Camera Status fields in the Camera Status inquiry register see page 141 and check the returned data to see if an error condition has been detected Note For many of the write commands listed in the tables on page 145 through page 166 only data within a specified range or a specified group of vales is valid If the data in
94. and unterminated if all 31 bytes are needed 138 Basler sprint Configuring the Camera FPGA Configuration Version Inquiry Register Base Address 0x0910 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name FPGA Configuration Version Offset 0x0001 Size 3 Bytes Type Read only Description The value in this field indicates the camera s FPGA configuration version information The bytes in the field are interpreted as follows Byte 1 Low byte of the configuration version BCD coded Byte 2 High byte of the configuration version BCD coded Byte 3 Register layout ID BCD coded Basler sprint 139 Configuring the Camera Camera Status Inquiry The camera has been programmed to detect several error conditions When an error condition is detected a flag is set The camera status inquiry register allows you to read the error flags Register Base Address 0x0C00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Camera Status Offset 0x0001 Size 4 Bytes Type Read only Description Each bit in this fiel
95. ata exists and this is not an activated file Return to step 4 c If the value is 0x04 more data exists and this is an activated file Return to step 4 Up to 255 characters can be read with a single binary bulk data read command If the file is larger than 255 characters repeated binary bulk data read commands are required When repeated bulk data read commands are required the file is read sequentially with each read command starting where the previous read stopped This procedure will download the data in the file to the host computer If you want to download a shading values bulk data file to the host PC you would use a similar procedure but you would use the shading values bulk data CSR instead Sample code that illustrates how to download a bulk data file is available from Basler see Section 7 4 on page 183 Basler sprint 171 Configuring the Camera Uploading a Bulk Data File from a PC to the Camera You can upload a bulk data file from your host PC to the camera s non volatile memory As an example assume that you previously downloaded a saved configuration set file named UserSet02 to your PC Also assume that you now want to upload this file from your host PC to a camera To do so you would follow this procedure 1 Use a binary write command to write the file name UserSet02 to the Name field of the configu ration set bulk data CSR Use a binary write command to set the value of the Control field in the configurat
96. ation set to the UserSet02 file and that you want to download this file from the camera to your host PC To do so you would follow this procedure 170 Basler sprint Configuring the Camera Use a binary write command to write the file name UserSet02 to the Name field of the configuration set bulk data CSR Use a binary read command to read the Size field of the configuration set bulk data CSR 2 If the file contains saved data this field will tell you the file size If the file does not contain saved data this field will be 0 3 Use a binary write command to set the value of the Control field in the configuration set bulk data CSR to 0x02 Setting the value to 0x02 places the camera in read mode 4 Use a binary command to do a bulk data read from the camera The binary command must have the following characteristics OpCode 0x05 This OpCode makes the binary command a bulk data read DataLen the number of bytes to be read Max is 255 characters Address 0x281B Base address for the configuration set bulk data CSR plus the offset for the Data field Data none 5 You will receive a bulk data response frame from the camera The amount of data in the response will be as specified by the DataLen in step 4 6 Use a binary read command to read the value in the Info field of the configuration set bulk data CSR a If the value is 0x01 no more data exists in the file Exit the procedure b If the value is 0x00 more d
97. ax value Field Name Increment Offset 0x0007 Size 2 Bytes Type Read only Description An integer value indicating the increment for the starting pixel setting The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the increment Byte 1 High byte of the increment Basler sprint 155 Configuring the Camera Area of Interest Length CSR Register Base Address 0x100A Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Length Offset 0x0001 Size 2 Bytes Type Read Write Description Writing an integer to this field sets the length in pixels for the area of interest AOI feature If horizontal binning is not enabled the area of interest length can be set to a minimum of 256 and increased in increments of 32 If horizontal binning is enabled the area of interest length can be set to a minimum of 128 and increased in increments of 16 If the value is set to 256 the length of the AOI will be 256 If the value is set to 288 the length of the AOI will be 288 And so on The allowed range for this value can vary depending on how the area of interest starting pixel parameter is set You should check the raw min and raw
98. ble 3 MDR Connectors by Camera Model MDR Conn 2 6 H 6 Pin Micro miniature Receptacle a Qi 26 Pin Female MDR Connector only present on Camera Link medium full configuration cameras LED MDR Conn 1 A Fig 7 Connectors and LED 26 Pin Female MDR Connector present on all cameras Basler sprint Physical Interface 2 2 Connector Pin Assignments and Numbering 2 2 1 Pin Assignments for the MDR Connectors The pin assignments for MDR Connector 1 see Figure 7 on page 16 are shown in Table 4 The pin assignments for MDR connector 2 are shown in Table 5 Pin Number Signal Name Direction Level Function 1 13 14 261 Gnd Input Ground Ground for the inner shield of the cable 2 X0 Output Camera Link Data from the Camera Link transmitter 15 X0 EVES 3 X1 Output Camera Link Data from the Camera Link transmitter 16 X1 LVDS 4 X2 Output Camera Link Data from the Camera Link transmitter 17 X2 pies 6 X3 Output Camera Link Data from the Camera Link transmitter 19 X3 Eee 5 XClk Output Camera Link Transmit clock from the Camera Link transmitter 18 XCIk See 7 SerTC Input RS 644 Serial communication data receive 20 SerTC LVDS SerTC serial to camera 8 SerTFG Output RS 644 Serial communicati
99. ble Mode 4 2 2 Selecting a Free Run Exposure Mode Setting the Line Period and Setting the Exposure Time You can select a free run exposure time control mode set the line period and set the exposure time for the free run programmable mode with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Exposure Time Control Mode parameter in the Exposure parameters group to select the free run edge controlled or free run programmable exposure time control mode The Line Period parameter is used to set the line period If you select the free run programmable mode you can use the Exposure Time parameter to set the exposure time By Setting CSRs You select the exposure time control mode by writing the appropriate value to the Mode field of the Exposure Time Control Mode CSR see page 146 You set the line period by writing a value in us to the Absolute Line Period field or by writing an integer value to the Raw Line Period field of the Line Period CSR see page 149 62 Basler sprint Exposure Start and Exposure Time Control If you select the free run programmable mode you will also need to set the exposure time You set the exposure time by writing a value in us to the Absolute Exposure Time field or by writing an integer value to the Raw Exposure Time fie
100. by writing a value to the High Pixel Threshold field in the Line Stamp High Pixel Threshold CSR see page 161 See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands Basler sprint 119 Features 6 6 Lookup Table The sensor circuitry in the camera acquires pixel data at 12 bit depth However when the camera is set for an 8 bit video data output format pixel data is only output at 8 bit depth With the camera set for an 8 bit format it normally converts the 12 bit data output from the sensor to 8 bit data by simply truncating the least significant 4 bits The lookup table feature lets you create a customized table that can be used to map the 12 bit values output from the sensor to 8 bit values that will be transmitted from the camera Once you have entered values into the lookup table you can use the table to control 12 bit to 8 bit conversion rather than relying on simple truncation The lookup table has 1025 indexed locations with an 8 bit value stored at each index like this Index Data 0 User defined 8 bit value 4 User defined 8 bit value 8 User defined 8 bit value 12 User defined 8 bit value 16 User defined 8 bit value e e e 4080 User defined 8 bit value 4084 User defined 8 bit value 4088 User defined 8 bit value 4092 User defined 8 bit value 4096 User defined 8 bit value Table 21 Lookup
101. c signal can be input into the camera can be used to control line acquisition and exposure time The ExSync signal is an RS 644 LVDS signal as specified in the Camera Link standard and is usually supplied to the camera by your frame grabber The signal is input to the camera on pins 9 and 22 of MDR connector one as shown in Table 4 on page 17 and in Figure 9 on page 24 When the camera is operating under the control of an ExSync signal three exposure time control modes are available edge controlled level controlled and programmable For more detailed information about exposure control modes see Section 4 1 on page 57 When the camera is operating under the control of an ExSync signal the period of the ExSync signal determines the camera s line rate 1 Line Rate ExSync Signal Period Note that the ExSync signal is edge sensitive and therefore must toggle In order for the camera to detect a transition from low to high the ExSync signal must be held high for at least 1 2 us when the camera is set for the level controlled exposure mode and for 100 ns when the camera is set for programmable or edge controlled exposure mode Basler sprint 25 Physical Interface 2 8 Output Signals Data is output from the camera in accordance with the Camera Link standard The camera s output signals include pixel data qualifiers such as line valid and data valid pixel data a camera link clock signal and a SerTFG signal 2 8 1 Line Valid Bit
102. command the address for the field you want to work with is included as part of the command Section 7 3 1 on page 176 describes the binary read write command format in detail Sample code that illustrates how to use binary read and write commands is available from Basler see Section 7 4 on page 183 Binary read write commands are issued to the camera via the RS 644 serial connection in the Camera Link interface between the frame grabber and the camera A standard application programmer s interface API for asynchronous serial reading and writing via the RS 644 port on the frame grabber has been defined in the Camera Link standard Appendix B API Functions All Camera Link compatible frame grabbers provide a software library dll file named clser dll where is specific to the frame grabber vendor There are four functions exported by that DLL clSeriallnit Initialize the serial communication for a specific board clSerialRead Read bytes from the camera clSerialWrite Write bytes to the camera clSerialClose Close the serial communication To execute the binary programming commands you can call up the functions exported by the DLL Note When the camera is powered on or when a camera reset is performed your PC may receive one random character on the serial interface We recommend clearing the serial input buffers in your PC after a camera power on or reset Basler sprint 175 Configuring the Camera 7 3 1 The Binary Re
103. control mode Exposure time for ExSync programmable or free run programmable exposure modes Line Period for free run exposure modes To customize operation for your particular application the following parameters may also need to be configured Gain Offset Area of Interest Stamp Shading Correction The camera is programmable via the RS 644 serial connection that is integrated into the Camera Link interface between the frame grabber and the camera Two methods can be used to change the camera s parameters The first and easier approach is to change the parameters using the Camera Configuration Tool Plus CCT The CCT is especially useful during initial camera testing and the camera design in process See Section 7 1 on page 134 for more information about the configuration tool You can also change the parameters directly from within your application software by using binary read write commands to set values in the camera s registers see Section 7 2 on page 135 Basler sprint 133 Configuring the Camera 7 1 Configuring the Camera with the Camera Configuration Tool Plus CCT The Camera Configuration Tool Plus CCT is a Windows based program used to easily change the camera s parameter settings The CCT is especially useful during initial camera testing and the camera design in process The CCT communicates via the RS 644 serial connection that is integrated into the Camera Link interface between the frame
104. cquisition Mode You can enable the time delayed line averaging acquisition mode by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Time Delayed Line Averaging Line A Delayed or to Time Delayed Line Averaging Line B Delayed as desired By Setting CSRs To enable the time delayed line averaging acquisition mode write the appropriate value to the Mode field of the Line Acquisition Mode CSR see page 145 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands Basler sprint 49 Line Acquisition Modes 3 8 Horizontal Binning Horizontal binning is not a discrete line acquisition mode Rather it is a function that can be used together with any of the other line acquisition modes described earlier in this section When horizontal binning is enabled adjacent pixels a sensor line are summed and the sum is transmitted as a single pixel value For example for Line A Pixel 1 and pixel 2 in line A are summed and the sum is transmitted as a single pixel value Pixel 3 and pixel 4 in line A are summed and the sum is transmitted as a single pixel value And so on And for Line B Pixel 1 and pixel 2
105. creasing the exposure if they are too bright Check your light source If the images are too dark try increasing your light intensity Try decreasing the intensity if they are too bright Check your gain setting If the images are too dark try increasing the gain Try decreasing the gain if they are too bright Has the problem been corrected l Yes No Exit this chart Go to the interfacing troubleshooting chart One of the camera s settings was significantly misadjusted Review the camera manual to make sure that you are setting the camera correctly Other image problems Images look noisy Do the following Make sure that you are using a DC light source Using an AC light source can make images appear noisy Make sure that the camera has proper ventilation If the camera becomes extremely hot it may produce noisy images Check the exposure time If you use an extremely long exposure time the images can become noisy Check your gain setting Using a very high gain setting can cause noisy images Examine the objects that you are imaging Objects with characteristics such as changing surface texture or reflectance will produce images that appear noisy Has the problem been corrected Yes No Exit this chart Contact Basler Technical Support The contact numbers appear on the front pages of this manual Before you call for support be sure to make note of the camera settings and th
106. cription 0 No FPGA firmware available 1 FPGA firmware is available but the firmware has failed to load 2 The camera s maximum line rate has been exceeded Note If you are operating the camera in ExSync programmable mode and you trigger the camera faster than allowed the camera will automatically ignore any trigger signals that would cause a max line rate exceeded condition and this bit will not be set There is no ExSync signal Reserved Reserved Reserved Reserved 7 Reserved on rR Ww Basler sprint 141 Configuring the Camera Binary Command Protocol Status Inquiry The camera has been programmed to detect several errors in the format of any binary commands received by the camera When an error condition is detected a flag is set The binary command status inquiry register allows you to read the error flags Register Base Address 0x0C30 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Binary Command Status Offset 0x0001 Size 1 Byte Type Read only Description Each bit in this field specifies an error condition see table below Bit O is the least significant bit If a bit is set to 1 the error condition assigned to that bit is present If the bit is set to 0 the error is not present Bit
107. ct the video data output mode by writing the appropriate value to the Mode field of the Video Data Output Mode CSR see page 151 See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands 72 Basler sprint Video Data Output Modes 5 2 Video Data Output Mode Details 5 2 1 2 Tap Output Modes 2 Tap 12 Bit Output Mode In 2 tap 12 bit mode on each pixel clock cycle the camera transmits data for two pixels at 12 bit depth a line valid bit and a data valid bit In the 2 tap output modes the camera uses the output ports on Camera Link Transmitter X to transmit pixel data a line valid bit a data valid bit and a pixel clock The assignment of the bits to the output ports on Camera Link Transmitter X is as shown in Table 10 on page 75 The Camera Link clock is used to time the transmission of acquired pixel data As shown in Figure 30 on page 76 and Figure 31 on page 77 the camera samples and transmits data on each rising edge of the clock The Camera Link pixel clock frequency is as stated in Section 2 8 4 on page 27 The line valid bit indicates that a valid line is being transmitted The data valid bit indicates that valid pixel data is being transmitted Pixel data is only valid when the line valid and data valid bits are both high 2 Tap 10 Bit Output Mode Operation in 2 tap 10 bit mode is similar to 2 tap 12 bit mode In 10 bit mode however the
108. cter on the serial interface We recommend clearing the serial input buffers in your PC after a camera power on or reset Basler sprint 127 Features 6 12 Configuration Sets A configuration set is a group of values that contains all Non volatile of the parameter settings needed to control the camera ged There are three basic types of configuration sets the Boe Volatile work configuration set the factory configuration set Memory and user configuration sets g Usetsetot RAM UserSet02 gt ie ee Work Configuration Set Lewes UserSet04 The work configuration set contains the camera s current parameter settings and thus determines the ee camera s performance If you use the CCT to change Factory Set the camera settings or if you change settings by writing D to the camera s registers you are making changes to Fig 44 Configuration Sets the work configuration set The work configuration set resides in the camera s volatile memory and the settings are lost if the camera is reset or if power is switched off The work configuration set is usually just called the work set for short Factory Configuration Set When a camera is manufactured a test setup is performed on the camera and an optimized configuration is determined The factory configuration set contains the camera s factory optimized parameter settings The factory set is saved in a permanent file in the camera s non volatile memory T
109. d Switch off the input power to the camera Make the essary corrections so that the input power will meet the requirements outlined in Section 2 5 on page 22 and then reapply power to the camera No Itis flashing red gt nec continuously No It is flashing orange gt continuously Call Basler Technical Support for assistance The contact numbers appear on the front pages of this manual source meets the other specs shown in Section 2 5 on page 22 Use a voltmeter to check the power source for the camera The output must be 12 VDC 1 2 V Also make sure that the power No Replace the power source Is the power source OK Basler sprint 189 Troubleshooting and Support Check to make sure that the RS 644 serial connection see Section 2 9 on page 29 is working correctly You can do this by starting the Camera Configuration Tool Plus CCT When you start the tool a startup graphic should appear and then a window that shows a list of parameter settings should appear Go to the RS 644 If this is the first time that you are using the tool you will see an empty window with serial No communications troubleshooting chart a drop down menu at the top which says No port selected In this case use the drop down menu to select the RS 644 port that you want to use RS 644 ports are identified in the list by a name starting with clser followed by a port number Once you select
110. d specifies an error condition see table below Bit O is the least significant bit If a bit is set to 1 the error condition assigned to that bit is present If the bit is set to 0 the error is not present Bit Description 0 Reserved 1 The camera is busy performing an internal operation such as generating shading values 2 A reset has occurred 3 Parameter error For example a parameter has been set to a value that is out of range or not allowed 4 A user set load has failed 5 A file operation has failed 6 An input power overvoltage condition is present see Section 6 9 2 on page 126 7 A binary read write command protocol error has been detected For more information about the error read the Binary Command Protocol Status Inquiry Register see page 142 This bit is auto cleared on read 8 15 Reserved 16 An FPGA not ready error has occurred For more information about the error read the FPGA Status Inquiry register see page 141 This bit clears when you read the FPGA Status Inquiry register 17 A trigger error has occurred Either the maximum allowed line rate has been exceeded or the ExSync signal is missing For more information about the error read the FPGA Status Inquiry register see page 141 This bit clears when you read the FPGA Status inquiry register 18 Reserved 19 The last shading value generation process failed The DSNU shading value generation process can fail if the pixel values in the lines captur
111. data output mode selected the pixel data will be at 12 bit 10 bit or 8 bit depth On the next cycle of the pixel clock the line valid and data valid bits will both be high On this clock cycle data stream DO will transmit data for pixel 3 in the line Data stream D1 will transmit data for pixel 4 On the next cycle of the pixel clock the line valid and data valid bits will be high On this clock cycle data stream DO will transmit data for pixel 5 in the line Data stream D1 will transmit data for pixel 6 This pattern will continue until all of the pixel data for the line has been transmitted After all of the pixel data for the line has been transmitted the line valid and data valid bits both become low indicating that valid pixel data is no longer being transmitted Figure 30 on page 76 shows the data sequence when the camera is operating in edge controlled or level controlled exposure mode Figure 31 on page 77 shows the data sequence when the camera is operating in programmable exposure mode 74 Basler sprint Video Data Output Modes MDR Conn 1 Transmitter X Port Camera Frame Bit Assignment Grabber 2 Tap 12 Bit 2 Tap 10 Bit 2 Tap 8 Bit Port AO TxINO RxOut0 DO Bit 0 DO Bit 0 DO Bit 0 Port A1 TxIN1 RxOut1 DO Bit 1 DO Bit 1 DO Bit 1 Port A2 TxIN2 RxOut2 DO Bit 2 DO Bit 2 DO Bit 2 Port A3 TxIN3 RxOut3 D
112. data streams DO D1 D2 and D3 are transmitted in parallel during this clock cycle On this clock cycle data stream DO will transmit data for pixel 1 in the line Data stream D1 will transmit data for pixel 2 Data stream D2 will transmit data for pixel 3 And data stream D3 will transmit data for pixel 4 Depending on the video data output mode selected the pixel data will be at either 12 bit 10 bit or 8 bit depth On the next cycle of the pixel clock the line valid and data valid bits will both be high On this clock cycle data stream DO will transmit data for pixel 5 in the line Data stream D1 will transmit data for pixel 6 Data stream D2 will transmit data for pixel 7 And data stream D3 will transmit data for pixel 8 On the next cycle of the pixel clock the line valid and data valid bits will be high On this clock cycle data stream DO will transmit data for pixel 9 in the line Data stream D1 will transmit data for pixel 10 Data stream D2 will transmit data for pixel 11 And data stream D3 will transmit data for pixel 12 This pattern will continue until all of the pixel data for the line has been transmitted After all of the pixel data for the line has been transmitted the line valid and data valid bits both become low indicating that valid pixel data is no longer being transmitted Figure 32 on page 83 shows the data sequence when the camera is operating in edge controlled or level controlled exposure mode Figure 33 on page
113. e Exposure Time Offset 0x0001 Size 4 Bytes Type Read Write Description Writing a floating point value to this field sets the exposure time in us For example if the value in this field is set to 5 2 the exposure time will be 5 2 us The allowed range for the exposure time can vary depending on the camera model and how the camera is configured You should check the absolute min and absolute max fields of this register to determine the allowed range with the current configuration The increment is 0 1 The value in this field is a standard IEEE 754 single precision 32 bit floating point number See Chapter 4 on page 57 for more information about exposure time Field Name Absolute Min Offset 0x0005 Size 4 Bytes Type Read only Description Minimum allowed floating point value for the absolute exposure time setting This field is updated to reflect limitations caused by the way that any related features are set The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Description Maximum allowed floating point value for the absolute exposure time setting This field is updated to reflect limitations caused by the way that any related features are set The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Raw Exposure Time Offset 0x000D Size 4 Bytes Type Read Write
114. e Summing Line B Delayed as desired By Setting CSRs To enable the time delayed line summing acquisition mode write the appropriate value to the Mode field of the Line Acquisition Mode CSR see page 145 Section 7 2 2 on page 143 explains CSRs and Section 7 3 1 on page 176 explains using read write commands Basler sprint 47 Line Acquisition Modes 3 6 Line Averaging Acquisition Mode When the line averaging acquisition mode is active each time a line acquisition is triggered the camera will expose both line A and line B When acquisition is complete i e exposure is finished the pixel values from line A and from B will be averaged in the following manner The value for pixel 1 in line A will be added to the value for pixel 1 in line B and the total will be divided by 2 and rounded up if necessary The value for pixel 2 in line A will be added to the value for pixel 2 in line B and the total will be divided by 2 and rounded up if necessary The value for pixel 3 in line A will be added to the value for pixel 3 in line B and the total will be divided by 2 and rounded up if necessary And so on The averaged values will then be transmitted from the camera as though they were from a single line The pixels in each line of the sensor are 10 um H x 10 um V So when you are using line averaging you are getting the same aspect ratio as a single line sensor that is 20 um H x 10 um V Setting the Camera for Line
115. e acquisition modes include Single Line Max 70 kHz Dual Line Max 140 kHz Line A First spL2048 140km and spL4096 140km only Dual Line Max 140 kHz Line B First spL2048 140km and spL4096 140km only Vertical Binning Time Delayed Line Summing Line A Delayed Time Delayed Line Summing Line B Delayed Line Averaging Time Delayed Line Averaging Line A Delayed Time Delayed Line Averaging Line B Delayed The line acquisition modes are described in detail from Section 3 2 on page 32 through Section 3 5 on page 42 To understand the line acquisition modes you must be aware of the architecture of the sensor Refer to Figure 5 on page 9 When you examine the figure notice that the sensor contains two lines that are adjacent to each other and are oriented along the center line of the camera Also notice that one of the lines is designated as line A and the other is designated as line B Horizontal Binning A feature called horizontal binning is also described in this section Horizontal binning is not a discrete line acquisition mode Rather it is a function that can be used together with any of the line acquisition modes described above For more information about horizontal binning see Section 3 8 on page 50 Basler sprint 31 Line Acquisition Modes 3 2 Single Line Max 70 kHz Acquisition Mode When single line acquisition mode is active the camera will only use line A Each time a line acquisition is triggered only
116. e base address of 0x0100 plus an offset of 0x0001 By reading the data at address 0x0101 you can get information about the camera vendor s name The section starting below lists the inquiry registers in the camera and shows detailed information about the use of each field within the registers 7 2 1 1 Inquiry Register Details Vendor Information Inquiry Register Base Address 0x0100 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Vendor Name Offset 0x0001 Size 20 Bytes Type Read only Description String containing the camera vendor s name The string is zero terminated if less than 20 bytes are needed and unterminated if all 20 bytes are needed Model Information Inquiry Register Base Address 0x0200 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Model Info Offset 0x0001 Size 20 Bytes Type Read only Description String containing the camera s model number The string is zero terminated if less than 20 bytes are needed and unterminated if all 20 bytes are needed 136 Basler sprint Con
117. e camera is set for an 8 bit video data output mode increasing the integer offset setting by 16 will increase the digital pixel values output from the camera by 1 decreasing the integer offset setting by 16 will decrease the digital pixel values output from the camera by 1 If the camera is set for a 10 bit video data output mode increasing the integer offset setting by 4 will increase the digital pixel values output from the camera by 1 decreasing the integer offset setting by 4 will decrease the digital pixel values output from the camera by 1 If the camera is set for a 12 bit video data output mode increasing the integer offset setting by 1 will increase the digital pixel values output from the camera by 1 decreasing the integer offset setting by 1 will decrease the digital pixel values output from the camera by 1 96 Basler sprint Features Setting the Offset You can set the offset with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Offset parameter in the Gain amp Offset parameters group to set the offset By Setting CSRs You set the offset by writing a value in digital numbers to the Absolute Offset field or by writing an integer value to the Raw Offset field of the Offset CSR see page 153 Section 7 2 2 on page 1
118. e camera link clock speed setting and whether horizontal binning is enabled Each delay is stated as a range The actual line valid delay can vary slightly but will always be within the stated range Line Valid Delays for 4 Tap Modes Single Line Acquisition Mode 40 MHz Without Horizontal Binning With Horizontal Binning Programmable 3 00 0 06 us exposure time 9 65 0 06 us exposure time Edge Controlled Exposure 3 05 0 06 us 10 00 0 06 us Level Controlled Exposure 3 00 0 06 us 9 65 0 06 us All Other Line Acquisition Modes 40 MHz Without Horizontal Binning With Horizontal Binning Programmable 3 00 0 06 us exposure time 9 65 0 06 us exposure time Edge Controlled Exposure 3 00 0 06 us 9 65 0 06 us Level Controlled Exposure 3 00 0 06 us 9 65 0 06 us Single Line Acquisition Mode 80 MHz Without Horizontal Binning With Horizontal Binning Programmable 9 25 0 05 us exposure time 12 70 0 05 us exposure time Edge Controlled Exposure 9 60 0 05 us 13 05 0 05 us Level Controlled Exposure 9 25 0 05 us 12 70 0 05 us All Other Line Acquisition Modes 80 MHz Without Horizontal Binning With Horizontal Binning Programmable 9 25 0 05 us exposure time 12 70 0 05 us exposure time Edge Controlled Expos
119. e frame grabber settings you are using You should also have a captured live image and a captured test image available Technical support will frequently request that you e mail copies of these captured images Basler sprint 191 Troubleshooting and Support 8 3 3 Interfacing Use the interfacing troubleshooting chart if you think that there is a problem with the cables between your devices or if you have been directed here from another chart Before making or breaking any camera connections always switch off power to the system camera and host PC If you have not already do so use a voltmeter to check the power source for the camera The output must be 12 VDC 1 2 V Also make sure that the power source meets the other specs shown No Replace the in Section 2 5 on page 22 power source Is the power source OK Yes Make sure that the cable connected to MDR Connector 1 on the camera see Figure 7 on page 16 is also connected to the base Camera Link connector on your frame grabber And make sure that the cable connected to MDR Connector 2 on the camera is connected to the medium full Camera Link connector on your frame grabber Reseat No Exit this the cable connections at the camera and the frame grabber chart After you checked and reseated the connections is the problem still present Check all of the cables in the system Check Section 2 4 on page 21 and make sure that you are using a cable that ha
120. e in the register is set out of range Type Read only Description Field Name Mode Offset 0x0001 Size 1 Byte Writing an integer to this field sets the video data output mode 0x01 2 Tap 8 Bit Mode 0x03 2 Tap 10 Bit Mode 0x05 2 Tap 12 Bit Mode 0x10 4 Tap 8 Bit Mode 0x11 8 Tap 8 Bit Mode 0x12 4 Tap 10 Bit Mode 0x13 4 Tap 12 Bit Mode Type Read Write See Chapter 5 on page 71 for a description of the video data output modes Basler sprint 151 Configuring the Camera Gain CSR Note The gain can be set by writing a floating point value to the Absolute Gain field or by writing an integer value to the Raw Gain field See Section 7 2 2 1 on page 143 for an explanation of the difference between these two fields Register Base Address 0x0E00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Absolute Gain Offset 0x0001 Size 4 Bytes Type Read Write Description Writing a floating point value to this field sets the gain in dB The increment is 0 01 The value in this field is a standard IEEE 754 single precision 32 bit floating point number See Section 6 1 on page 95 for more information about gain
121. e is 1 an overtemperature condition is present By Reading Inquiry Registers You check for an overtemperature condition by reading the value of bit 20 in the Camera Status field of the Camera Status Inquiry Register see page 140 If the bit is set to 1 an overtemperature condition is present See Section 7 2 1 on page 136 for an explanation of Inquiry Registers and Section 7 3 1 on page 176 for an explanation of using read write commands Note The Overtemperature parameter in the CCT and bit 20 in the Camera Status field of the Camera Status Inquiry Register will be set to 1 when the camera detects an overtemperature condition They will remain set to 1 until the condition is corrected and a reset or a power off on is performed Basler sprint 125 Features 6 9 2 Input Power Overvoltage Condition Detected The required input voltage for the camera is 12 VDC 10 If an input power voltage between 14 and 18 VDC is applied to the camera an input overvoltage condition will be detected The LED on the back of the camera will begin to flash red When the input voltage is returned to its normal range the error condition will clear and the LED will stop flashing Note that if the input power voltage rises above 18 VDC the camera s internal power will switch off as described in Section 6 8 on page 124 You can check to see if the camera has detected an overvoltage condition with the Camera Configuration Tool Plus CCT or by usi
122. e is determined by the time between the falling edge of ExSync and the next rising edge The pixels are exposed and charge is accumulated only when ExSync is low The pixel values are read out of the sensor on the rising edge of the ExSync signal see Figure 23 ExSync Period Exposure a ExSync Signal Line Readout Fig 23 ExSync Level Controlled Mode In ExSync programmable mode line acquisition begins on the rising edge of the ExSyc signal The rising edge of ExSync triggers exposure and charge accumulation for a pre programmed period of time The pixel values are read out of the sensor at the end of the pre programmed period The falling edge of ExSync is irrelevant see Figure 3 4 A parameter called Exposure Time is used to set the length of the pre programmed exposure period ExSync Period ExSync Td Signal Exposure Time Line Readout Fig 24 ExSync Programmable Mode 58 Basler sprint Exposure Start and Exposure Time Control 4 1 2 Selecting an ExSync Exposure Mode amp Setting the Exposure Time You can select an ExSync exposure time control mode and set the exposure time for the ExSync programmable mode with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Exposure Time Control Mod
123. e less time to read out The amount of time that it takes to process the pixels before they are ready for transmission This time varies by camera model The amount of time it takes to transmit the pixel data for an acquired line from the camera to the host PC This time can vary depending on the length of the area of interest AOI for the acquired lines Smaller AOls take less time to transmit To determine the maximum allowed line acquisition rate with your current camera settings you must calculate a result for the four formulas that appear below The formula that returns the lowest value will determine the maximum allowed line rate with the current settings In other words the factor that restricts the line rate the most will determine the maximum allowed line capture rate Formula 1 calculates the maximum line rate based on the exposure time 1 M Li a ETT ax Lines s Exposure time in s 0000012 Formula 2 calculates the maximum line rate based on the sensor readout time 160000000 x n Max Lines S Tex Sag AOI Pixels 224 Where n 2 if the camera is set for the Dual Line Max 140 kHz line acquisition mode see Chapter 3 on page 31 n 1 for all other line acquisition modes Max Seg AOI Pixels is the number of AOI pixels in the segment that contains the most AOI pixels see the explanation of Max Seg AOI Pixels on page 66 for more details 64 Basler sprint Exposure Start and Exposure Time Control Formula 3 ca
124. e or the factory set file by using the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s bulk data control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the File Name Select parameter and the Activate button in the User Set Files parameters group to activate a saved user set file or the factory set file By Setting CSRs You can activate a saved user set file or the factory set file by writing values to the bulk data CSR for configuration sets The bulk data activate process is used to activate a stored file Section 7 2 3 on page 167 explains bulk data CSRs and using the bulk data activate process Section 7 3 1 on page 176 explains using read write commands 130 Basler sprint Features 6 12 3 Which Configuration Set File will Load at Startup or at Reset On the initial wake up after delivery the camera loads the factory configuration set into the work set At each subsequent power on or reset the configuration set file that was last activated is loaded into the work set If there is no activated file the factory set file will be loaded into the work set 6 12 4 Downloading Configuration Set Files to Your PC Once you have saved user sets to the user set files in your camera you can download the user set files to your PC You can also download the factory set file to your PC Using the down
125. e parameter in the Exposure parameters group to select the ExSync edge controlled ExSync level controlled or ExSync programmable exposure time control mode If you select the ExSync programmable mode you can use the Exposure Time parameter to set the exposure time By Setting CSRs You select the exposure time control mode by writing the appropriate value to the Mode field of the Exposure Time Control Mode CSR see page 146 If you select the ExSync programmable mode you will also need to set the exposure time You set the exposure time by writing a value to the Absolute Exposure Time field or to the Raw Exposure Time field of the Exposure Time CSR see page 147 Section 7 2 2 on page 143 explains CSRs and the difference between using the absolute field and the raw field in a CSR Section 7 3 1 on page 176 explains using read write commands 4 1 3 Guidelines When Using an ExSync Signal When using an ExSync signal to control exposure several general guidelines must be followed The ExSync signal must toggle In order for the camera to detect a transition from low to high the ExSync signal must be held high for at least 2 0 us when the camera is set for the level controlled exposure mode and for 100 ns when the camera is set for programmable or edge controlled exposure mode The ExSync signal must be held low for at least 2 0 us In ExSync edge controlled mode The actual exposure time line period 1 7 us 25 ns I
126. e write command with the new setting 2 Wait one second 3 Change the setting on the frame grabber s RS 644 serial port 4 Resume communication The RS 644 serial port on some Camera Link frame grabbers will only support a bitrate of 9600 If you are using a Camera Link frame grabber check the grabber s documentation before attempting to change the bitrate At reset or power off on the camera returns to the 9600 bps setting Basler sprint Configuring the Camera 7 2 9 Bulk Data and the Bulk Data Control and Status Registers The term bulk data refers to a collection of values used by the camera as a block A configuration set see Section 6 12 on page 128 is an example of one type of bulk data A single configuration set contains values for all of the normal parameter settings needed to configure the camera and the values within a configuration set are used by the camera as a block A set of shading values see Section 6 3 on page 100 is an examples of another type of bulk data The set of shading values contains all of the values needed to do shading correction and the camera uses the shading values as a block The camera has a file system similar to the file system used on PCs The camera can store blocks of bulk data such as a configuration set or the set of shading values in named files within the camera s non volatile memory The camera s bulk data control and status registers CSRs are used to save blocks of bu
127. ed during the generation process are too high This process should be performed in darkness or in very low light conditions The PRNU shading value generation process can fail if the values for the darkest pixels in the captured lines are less than 1 2 of the values for the highest pixels This problem is often caused by extremely non uniform lighting or by poor quality optics This bit will clear when you perform a successful shading value generation process 20 An overtemperature condition is present see Section 6 9 1 on page 125 21 31 Reserved 140 Basler sprint Configuring the Camera FPGA Status Inquiry The camera has been programmed to detect several error conditions in its field programmable gate array FPGA When an error condition is detected a flag is set The FPGA status inquiry register allows you to read the error flags Register Base Address 0x0C10 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name FPGA Status Offset 0x0001 Size 1 Byte Type Read only Description Each bit in this field specifies an error condition see table below Bit O is the least significant bit If a bit is set to 1 the error condition assigned to that bit is present If the bit is set to 0 the error is not present Bit Des
128. ed out of the camera as an 8 bit value The value stored at index 4096 is only used for interpolation purposes when the sensor reports a 12 bit pixel value of 4093 4094 or 4095 Entering Values Into the Lookup Table You can enter 8 bit values into the lookup table with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 entering an 8 bit value at an index in the lookup table is a two step process 1 Use the Lookup Table Index parameter in the Lookup Table parameters group to select an index in the lookup table 2 Enter a value into the Lookup Table Value parameter in the Lookup Table parameters group The value will be written to the index you selected in step one Repeat steps one and two to enter values for each index in the table By Setting CSRs Entering an 8 bit value at an index in the lookup table is a two step process 1 Select an index in the lookup table by writing a value to the Index field of the Lookup Table Index CSR see page 163 2 Write an 8 bit value to the Value field of the Lookup Table Value CSR see page 164 The 8 bit value will be written to the lookup table index you selected in step one Repeat steps one and two to enter values for each index in the table See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7
129. ed settings are OK 0x80 A value in the register is set out of range Field Name Mode Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field sets the line acquisition mode 0x00 Single Line Max 70 kHz 0x02 Vertical Binning 0x03 Time Delayed Line Summing Line A Delayed 0x04 Time Delayed Line Summing Line B Delayed 0x05 Line Averaging 0x06 Time Delayed Line Averaging Line A Delayed 0x07 Time Delayed Line Averaging Line B Delayed 0x08 Dual Line Max 140 kHz Line A First 0x09 Dual Line Max 140 kHz Line B First See Chapter 3 on page 31 for a description of the line acquisition modes Basler sprint 145 Configuring the Camera Horizontal Binning CSR Register Base Address 0x1B00 Field Name Register Status Offset 0x0000 Size 1 Byte Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Type Read only Field Name Mode Offset 0x0001 Size 1 Byte Description Writing an integer to this field sets the horizontal binning mode 0x00 Horizontal binning disabled 0x01 Horizontal binning enabled Type Read Write See Chapter 3 8 on page 50 for more information about the horizontal binning feature Exposure Time Control Mode CSR Reg
130. ee Section 6 3 on page 100 for more information about the shading correction feature Basler sprint 157 Configuring the Camera Test Image Mode CSR Register Base Address 0x1800 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Mode Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field sets the test image mode 0x00 Test images disabled 0x01 Test image 1 enabled fixed gray gradient 0x02 Test image 2 enabled moving gray gradient 0x03 Test image 3 enabled uniform black 0x04 Test image 4 enabled uniform gray See Section 6 4 on page 111 for more information about the test image feature 158 Basler sprint Configuring the Camera Line Stamp Mode CSR Register Base Address 0x2B00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Mode Offset 0x0001 Size 1 Byte Type Read Write Descript
131. el data is being transmitted Pixel data is only valid when the line valid and data valid bits are both high 4 Tap 10 Bit Output Mode Operation in 4 tap 10 bit mode is similar to 4 tap 12 bit mode In 10 bit mode however the two least significant bits output from the camera s ADCs are dropped and only the 10 most significant bits of data per pixel are transmitted 4 Tap 8 Bit Output Mode Operation in 4 tap 8 bit mode is similar to 4 tap 12 bit mode In 8 bit mode however the four least significant bits output from the camera s ADCs are dropped and only the 8 most significant bits of data per pixel are transmitted Note The video data output mode that you select may affect the camera s maximum allowed line rate See Section 4 3 on page 64 The data sequence outlined below along with Table 32 on page 83 and Table 33 on page 84 describe what is happening at the inputs to the Camera Link transmitters in the camera Basler sprint 79 Video Data Output Modes Video Data Sequence for 4 Tap Modes When the camera is not transmitting valid data the line valid and data valid bits sent on each cycle of the pixel clock will be low Once the camera has completed an exposure there will be a delay while data is read out of the sensor When readout is complete the camera will begin to transmit pixel data On the clock cycle where valid pixel data transmission begins the line valid and data valid bits both become high Four
132. ems users sometimes encounter The charts assume that you are familiar with the camera s features and settings and with the settings for your frame grabber If you are not we suggest you review the manuals for your camera and frame grabber before you troubleshoot a problem 188 Basler sprint Troubleshooting and Support 8 3 1 No Image Use this chart if you see no image at all when you attempt to capture an image with your frame grabber in this situation you will usually get a message from the frame grabber such as time out If you see a poor quality image a completely black image or a completely white image use the chart in Section 8 3 2 on page 191 Before making or breaking any camera connections always switch off power to the system camera and host PC Connect the power source to the camera and then check the LED on the back of the camera Is the LED lit constantly Use a voltmeter to check the power source for the camera The output must be 12 VDC 1 2 V Also make sure that the power source meets the other specs shown in Section 2 5 on page 22 Is the power source OK No Replace the Replace the camera power source No It is showing a A repeated flashing pattern indicates a problem with the repeated pattern of s camera Refer to Section 8 2 on page 186 for information slow orange flashes about using the pattern to determine the problem An overvoltage condition has been detecte
133. ent sur le brouillage radio lectrique Life Support Applications These products are not designed for use in life support appliances devices or systems where malfunction of these products can reasonably be expected to result in personal injury Basler customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Basler for any damages resulting from such improper use or sale Warranty Note Do not open the housing of the camera The warranty becomes void if the housing is opened All material in this publication is subject to change without notice and is copyright Basler Vision Technologies Contacting Basler Support Worldwide Europe Basler AG An der Strusbek 60 62 22926 Ahrensburg Germany Tel 49 4102 463 500 Fax 49 4102 463 599 vc support europe baslerweb com Americas Basler Inc 855 Springdale Drive Suite 160 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 8 Boon Lay Way 03 03 Tradehub 21 Singapore 609964 Tel 65 6425 0472 Fax 65 6425 0473 vc support asia baslerweb com www basler vc com Table of Contents Table of Contents 1 Specifications Requirements and Precautions 000000e 1 1 1 Document Applicability 0 0 0 0 eee 1 1 2 General Specifications 0 0 tees 2 1 2 1 Camera Models with 2k PixelS
134. er 152 H heat dissipation 0 0 0 eeeeeeeeeeeeeeeeeeeeeees 11 horizontal DINNING ceceeeeeeeeeeeeeeeees 50 horizontal binning control and status fOQIStOl cadet er Ati eens 146 HOUSING SIZE iriiria 2 3 NUIMIGItY oas tied screenees 11 l imaging sensor temperature inquiry fOQIStOl 2 202 edie Sein ieneiens 142 INPUT POWEN oo eeeceeeeeseeeeeseneeeeneeeenenees 22 input signals EXSYNC secretin wane 25 Serial to Camera eneee 25 inquiry registers 135 136 L E DD O E E E ee 186 lens adapter eeeeeeeeeeeeeeeeeeeeeeeees 2 3 10 level controlled exposure time control MOE o oo eee eeeteeeeeeneeeeteneeeeteeees 58 line acquisition mode control and Status register eee eeeeeeeeteeeeeeteees 145 line acquisition Modes 31 dual Nerini asradi 33 line averaging 48 single line max 70 KHZ 32 time delayed line averaging 49 time delayed line summing 42 Vertical DINNING s e 40 line averaging acquisition mode 48 line period control and status FOGISOM sini eich ont del E EER 149 line rate MAXIMUM cccccececeeeeeeeeeeeeeees 64 line STAMP ei sees eine a a 115 202 line stamp high pixel threshold control and status register 161 line stamp low pixel limit control and status register 160 line stamp mode control and status OQISTON ai ee i aa i i 159 line valid Dit eee eee eeeeteeeeeneeeeeeneeeereaes 26 line Valid delay
135. er may not operate exactly as described in this manual An easy way to see the camera version ID number for a sprint camera is by using _ _ Basler CCT spl4096 140km Wied the CCT To see the camera version ID File Camera View Options Help number cons FResh This is 1 Double click the CCT icon on your Baud Rate elas desktop or click Start gt All Programs 7 Camera Information version gt Basler Vision Technologies gt CCT eee ami eee gt CCT The CCT window will open and the software will connect to your camera 2 Scroll down until you find the Microcontroller Firmware Versior Camera Information group heading FPGA Firmware Version If there is a plus sign beside the Camera Configuration Versior Camera Information group heading Sensor Temp click on the plus sign to show the list EAMT GAME of parameters in the group abd 3 Find the parameter called Camera Version As shown in Figure 1 1 the last two numbers of this parameter Fig 1 CCT Window are the camera version ID number You can also access the camera version ID number by using binary commands to read the Camera Version Inquiry register See Section 7 2 1 on page 136 for an explanation of inquiry registers and Section 7 3 on page 175 for information on using binary commands Basler sprint 1 Specifications Requirements and Precautions 1 2 General Specifications 1 2 1 Camera M
136. eras Basler sprint Specifications Requirements and Precautions 1 2 2 Camera Models with 4k Pixels Specification spL4096 20km spL4096 39km spL4096 70km spL4096 140km Sensor Size 2 lines 4096 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 um x 10 um Camera Link 40 MHz 40 MHz or 80 MHz switchable Clock Speed Maximum 19 3 kHz 39 kHz 70 kHz 140 kHz in dual Line Rate line acquisition mode Minimum 1 kHz Line Rate Data Output Type Camera Link base config Camera Link medium full configuration Data Output 2 tap 8 10 or 12 bit 2 tap 8 10 or 12 bit 2 tap 8 10 or 12 bit Modes 4 tap 8 10 or 12 bit 4 tap 8 10 or 12 bit 8 tap 8 bit Synchronization Via external trigger signal or free run Exposure Control Edge controlled level controlled or programmable Gain and Offset Programmable via a serial link Requirements Connectors One 6 pin Hirose micro One 6 pin Hirose micro miniature receptacle miniature receptacle Two 26 pin female MDR connectors One 26 pin female MDR connector Power 12 VDC 10 Max 7 0 W 12 VDC when set for the single line acquisition mode Max 10 0 W 12 VDC when set for all other line acquisition modes Lens Adapter F mount M42 Housing Size 48 0 mm x 87 0 mm x 62 0 mm without lens adapter or connectors LxWxH 84 9 mm x 87 0 mm x 62
137. erate 2 encoder steps or we can move the conveyor enough to generate 3 encoder steps In either of these cases the movement of the conveyor will not result in the image moving exactly 10 um Therefore we will need to adjust the magnification so that exactly 10 um of image 54 Basler sprint Line Acquisition Modes movement results And we must also consider that a change in magnification will result in a change in the amount of conveyor width that is viewed by each sensor line The calculations below look at the outcomes of our two options Option 1 Calculate the conveyor movement that will generate 2 encoder steps 2 steps x 0 09 mm step 0 18 mm Calculate the magnification needed to make 0 18 mm of conveyor movement result in 10 um movement of the image 10um _ 0 18 mm 0 056 siz 17 86 B 1 17 86 Calculate the width of conveyor that will be viewed by each sensor line at this magnification 40 96 mm x 17 86 731 55 mm Option 2 Calculate the conveyor movement that will generate 3 encoder steps 3 steps x 0 09 mm step 0 27 mm Calculate the magnification needed to make 0 27 mm of conveyor movement result in 10 um movement of the image 10m _ 0 27 mm 0027 To a 0 037 atte B 1 27 03 Calculate the width of conveyor that will be viewed by each sensor line at this magnification 40 96 mm x 27 03 1102 92 mm Basler sprint 55 Line Acquisition Modes If you choose to use 2 encoder steps to move the image 10 um you
138. es file as described in Section 6 12 1 on page 129 you can download the user shading values file to your PC You can also download the factory shading values file to your PC Using the download function together with the upload function that is described on the next page is useful if you want to transfer a user shading values file from one camera to another camera of the same type You can download the user or the factory shading values file by using the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the File Name Select parameter in the Shading Files parameters group to select the user shading values file or the factory shading values file and use the Download button to download the selected file By Setting CSRs You can download the user or the factory shading values file by writing values to the shading values bulk data CSR Section 7 2 3 on page 167 explains the bulk data CSRs and Section 7 2 3 3 on page 170 explains how to use the CSRs to download a file Section 7 3 1 on page 176 explains using read write commands Basler sprint 109 Features 6 3 6 Uploading a Shading Values File to Your Camera Once you have downloaded a user shading values file to your PC as described on the previous page you can upload the file from your PC to a camera
139. escriptions throughout Section 4 3 on page 64 to include information relevant to the new 2k and 4k camera models Continued on the next page Basler sprint 197 Revision History Doc ID Number Date Changes Continued from the previous page Added Table 9 on page 72 which describes the video data output modes available on each model Updated Figure 30 on page 76 through Figure 35 on page 92 to reflect the sensor sizes available on the new camera models Updated Table 11 on page 78 Table 14 on page 85 and Table 18 on page 93 to reflect minor timing changes made with the new camera models Updated Section 6 1 1 on page 95 to reflect a change in the minimum allowed gain setting Updated Section 6 2 on page 98 to reflect the sensor sizes available in the new camera models Added Section 6 6 on page 120 and the register information on page 162 page 163 and page 164 to describe the new lookup table feature 198 Basler sprint Feedback Feedback Your feedback will help us improve our documentation Please click the link below to access an online feedback form Your input is greatly appreciated http www baslerweb com umfrage survey html Basler sprint 199 Feedback 200 Basler sprint Index Numerics 2 tap video data output modes 73 4 tap video data output modes 79 8 tap video data output mode 86 A absolute values
140. f this section is to give you a basic understanding of the elements included in a write command Sample code that illustrates how to send a write command is available from Basler see Section 7 4 on page 183 The hex digits included in the write command are 0x01 0x04 0x01 0x01 0x18 0x01 Ox1D 0x03 0x01 is the BFS field The value in the BFS field is always 0x01 0x04 is the FTF field The hex value of 0x04 in the FTF field converts to a binary value of 0b00000100 Bits 7 through 3 of the binary value indicate the OpCode As shown in the OpCode table on page 177 an OpCode value of 0b00000 indicates that this is a write command frame Bit 2 indicates the presence or absence of a BCC in the frame As shown in the OpCode table when this bit is set to 0b1 it indicates that a BCC is present Bits 1 through 0 indicate the AddrLen As shown in the OpCode table a value of 0b00 for the AddrLen indicates that the Address field in this frame contains a 16 bit address If you check the table on page 158 you will find that the address for the Mode field of the Test Image Mode CSR is 0x1801 a 16 bit address You are free to use any supported AddrLen as long as the CSR address will fit into it 0x01 Is the DataLen field This field indicates the data size in bytes that will be transferred by using this write command As shown in the table on page 158 the data size for the Mode field of the Test Image Mode CSR is 1 byte 0x01 0x18 is the Addre
141. ffset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field selects a bulk data control function 0x00 Enumerate 0x01 ENext 0x02 Read 0x03 Write 0x04 Activate 0x06 Copy Field Name Info Offset 0x0002 Size 1 Byte Type Read only Description If you are performing a bulk read or write operation this field will indicate when no more data exists 0x00 More data exists 0x01 No more data exists 0x02 File operation error 0x03 This is an activated file Field Name File Name Offset 0x0003 Size 20 Bytes Type Read Write Description Character string indicating the name of the bulk data file The field contains 20 characters left aligned and zero padded Field Name Size Offset 0x0017 Size 4 Bytes Type Read only Description lf the file name refers to an already existing bulk data file this field will contain the file size in bytes Otherwise the field contains zeros Field Name Data Offset 0x001B Size Variable Type Read Write Description Byte sized register that is used to sequentially write to or read from a bulk data file 174 Basler sprint Configuring the Camera 7 3 Using Binary Read Write Commands As explained in Section 7 2 on page 135 each camera has control and status registers with one or more fields that are used to set the values for parameters associated with a camera feature For example the gain control and status register has two fields that can be used to set the camera
142. figuring the Camera Product ID Inquiry Register Base Address 0x0300 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Product ID Offset 0x0001 Size 20 Bytes Type Read only Description String containing the camera s product ID number The string is zero terminated if less than 20 bytes are needed and unterminated if all 20 bytes are needed Serial Number Inquiry Register Base Address 0x0400 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Serial Number Offset 0x0001 Size 20 Bytes Type Read only Description String containing the camera s serial number The string is zero terminated if less than 20 bytes are needed and unterminated if all 20 bytes are needed Camera Version Inquiry Register Base Address 0x0500 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available Field Name Camera Version Offset 0x
143. following OpCodes are available OpCode Function 0b00000 This is a write command used to write a single setting to the camera 0b00001 This is a read command used to read a single setting from the camera 0b00010 This is a read response frame without an address field The AddrLen bits are don t care 0b00100 This is a bulk write command used to upload a file into the camera 0b00101 This is a bulk read command used to download a file from the camera 0600110 This is a bulk read response frame without an address field The AddrLen bits are don t care The BCC Code portion of the FTF field indicates the presence of a Block Check Character BCC The use of a BCC is optional BCC Code_ Function 0b0 This frame and also the response frame contains no BCC field 0b1 This frame and also the response frame contains a BCC field The AddrLen portion of the FTF field indicates the size of the command and status register CSR address to which the command is being sent AddrLen Length of the Address Field 0b00 16 bits 2 bytes 0b01 32 bits 4 bytes 0b10 48 bits 6 bytes 0b11 64 bits 8 bytes All CSR addresses are 16 bits Example of an FTF field Assume that you are issuing a write command that you are using a BCC and that the CSR address you are writing to is a 16 bit address In this case the OpCode bits would be 0b
144. for MDR Connector 2 1 Pins 1 13 14 and 26 are all tied to Ground inside of the camera 18 Basler sprint Physical Interface 2 2 2 Pin Assignments for the 6 pin Micro miniature Receptacle The pin assignments for the 6 pin micro miniature receptacle are as shown in Table 6 Pin Number Signal Name Direction Level Function 1 21 12 VDC Input 12 VDC 10 Camera input power 3 4 4 Not used 5 62 DC Gnd Input Ground DC ground Table 6 Pin Assignments for the 6 Pin Receptacle 1 Pins 1 and 2 are tied together inside of the camera 2 Pins 5 and 6 are tied together inside of the camera 2 2 3 Pin Numbering Figure 8 shows the pin numbering for the connectors on the back of the camera Fig 8 Pin Numbering Basler sprint Not present on all models see Table 3 and Figure 7 on page 16 19 Physical Interface 2 3 Connector Types 2 3 1 26 pin Connectors Each 26 pin connector on the back of the camera is a female 0 050 inch MDR connector as called for in the Camera Link specification 2 3 2 6 pin Connector The 6 pin connector on the camera is a Hirose micro miniature locking receptacle part number HR10A 7R 6PB or the equivalent The recommended mating connector is the Hirose micro miniature locking plug part number HR10A 7P 6S A plug of this type should be
145. g for 6 pins Using a plug designed for a smaller or a larger number of CAUTION pins can damage the pins in the camera s 6 pin connector Basler sprint 21 Physical Interface 2 5 Input Power Input power must be supplied to the camera s 6 pin connector via a cable from your power supply Nominal input voltage is 12 VDC 10 with less than one percent ripple Power consumption is as shown in Table 1 on page 2 The camera has input over voltage protection as described in Section 6 8 on page 124 22 CAUTION CAUTION Applying Incorrect Input Power Can Damage the Camera The camera s nominal input power voltage is 12 VDC 10 We do not recommend applying an input voltage less than 10 8 VDC or greater than 13 2 VDC The camera has undervoltage protection that is triggered if the input voltage drops below 10 5 VDC It also has input overvoltage protection up to 25 VDC See Section 6 8 on page 124 for more detailed information about input undervoltage and overvoltage protection Applying an input power voltage greater than 25 VDC can seriously damage the camera Making or Breaking Connections Incorrectly Can Damage the Camera Be sure that all power to your camera and to your host PC is switched off before you make or break connections to the camera Making or breaking connections when power is on can result in damage to the camera or to the frame grabber If you can t switch off the power be sure that the
146. g up the area of interest on a camera with only one segment in each line and you have horizontal binning enabled the Max Seg AOI Pixels is simply equal to the AOI length multiplied by 2 When you are setting up the area of interest on a camera with two segments in each line and you have horizontal binning enabled you first find the segment that contains the largest number of binned pixels and then you multiply the number of binned pixels in that segment by 2 Here is an example Suppose that you are using a camera with 4096 physical pixels in each line and that horizontal binning is enabled In this situation the effective resolution is 2048 and the effective pixels per segment is 1024 Assume that the AOI starting pixel is set for 929 and the length is set for 128 With these settings the AOI falls across the two sensor segments as shown in Figure 29 Segment 1 includes 96 of the binned pixels in the AOI and segment 2 includes 32 of the binned pixels in the AOI The Max Seg AOI Pixels in this situation would be 192 segment 1 contains the largest part of the AOI the number of binned AOI pixels in segment 1 is 96 and 2 x 96 192 Segment 1 Segment 2 ECE ecco EEE See SEE EEE EEE C EECCA oe L pixel 1 Pixel 929 Pixel 1024 Pixel l Pixel 10
147. gle line acquisition mode you should set the camera for single line acquisition mode and then follow the steps below one time If you will never be operating the camera in single line acquisition mode you should set the camera for any one of the other acquisition modes and then follow the steps below one time If you will sometimes operate the camera in single line acquisition mode and other times operate the camera in one of the other modes you should first set the camera for single line acquisition mode and follow the steps below You should then set the camera for any one of the other acquisition modes and you should go through the steps a second time The camera s user shading values file has one area where it holds the PRNU values it uses for single line mode and another area where it stores the values for all of the other modes To generate a set of user PRNU values 1 Place a uniform white or light colored target in the field of view of the camera Adjust your light ing optics line rate exposure mode exposure time gain and camera temperature as you would for normal system operation 2 Set the camera for the desired line acquisition mode 3 Make sure the area of interest parameters are set so that the camera will use the full length of the sensor see Section 6 2 on page 98 4 Perform several acquisitions and examine the pixel values returned from the camera The pixel values for the brightest pixels should be about 80 t
148. grabber and the camera The tool automatically generates the binary programming commands that are described in Section 7 2 on page 135 The Installation and Setup Guide for Camera Link Cameras includes detailed information about installing the CCT and includes instructions that describe how to use the CCT to change the camera s parameters The guide is available in the downloads section of the Basler website www basler vc com 134 Basler sprint Configuring the Camera 7 2 Configuring the Camera By Setting Registers The camera has blocks of mapped memory space known as registers By reading values from the registers you can determine basic information about the camera and information about the camera s current parameter settings By writing values to the registers you can set camera parameters and control how the camera s features will operate There are three types of registers in the camera Inquiry Registers these registers provide basic information about the camera Section 7 2 1 on page 136 explains inquiry registers in more detail lists the inquiry registers in the camera and describes the function of each register Feature Control and Status Registers these registers let you set the parameters associated with the camera s features Section 7 2 2 on page 143 explains feature control and status registers in more detail lists the feature control and status registers in the camera and describes the function of each regi
149. he camera will return to normal operation Applying an input power voltage greater than 25 VDC can seriously damage the camera 124 Basler sprint Features 6 9 Error Condition Detection 6 9 1 Imaging Sensor Overtemperature Condition Detected As described in Section 6 7 on page 123 the camera includes a temperature sensor that is used to monitor the temperature of the imaging sensor The camera also has imaging sensor overtemperature protection If the temperature of the camera s imaging sensor rises above 75 C an overtemperature condition will be detected and the circuitry for the imaging sensor will switch off In this situation you will still be able to communicate with the camera and the camera will still be able to transmit test images however no live images can be generated The imaging sensor circuitry will remain off until its temperature falls below 60 C Once the sensor temperature falls below 60 C the error condition will clear and the camera will begin to operate normally You can check to see if the camera has detected an overtemperature condition with the Camera Configuration Tool Plus CCT or by using binary read commands from within your own application to read the camera s inquiry registers With the CCT With the CCT see Section 7 1 on page 134 you use the Overtemperature parameter in the Camera Information parameters group to determine if an overtemperature condition has been detected If the valu
150. he factory set can not be altered by the user and since it is stored in non volatile memory it is not lost when the camera is reset or switched off The factory configuration set is usually just called the factory set for short User Configuration Sets As mentioned above the work configuration set resides in the camera s volatile memory and the parameters settings in the work set are lost if the camera is reset or is switched off The camera can save the parameter settings from the current work set to a file in the camera s non volatile memory Files in the non volatile memory are not lost when the camera is reset or switched off There are four files in the camera s non volatile memory available for holding a saved configuration set A configuration set saved in one of these files is commonly referred to as a user configuration set or user set for short The four files available for holding a saved user configuration set are called UserSet01 UserSet02 UserSet03 and UserSet04 128 Basler sprint Features Note The configuration sets described in this section only include parameter settings and the values stored in the lookup table see Section 6 6 on page 120 Configuration sets do not include the values used for shading correction Values for shading correction are stored in a different file For more information about shading correction and shading correction values see Section 6 3 on page 100 6 12 1 Saving the
151. he format of the pixel data output from the camera The video data output modes available vary on each camera model as shown in Table 9 on page 72 The main difference between the video data output modes is the amount of pixel data that will be output on each cycle of the Camera Link pixel clock In the 2 tap modes data for 2 pixels will be output on each cycle In the four tap modes data for four pixels will be output on each pixel clock cycle And in 8 tap mode data for 8 pixels will be output on each pixel clock cycle The selection of a video data output mode also determines the bit depth of the transmitted pixel data The video data output modes are described in detail in Section 5 2 1 on page 73 through Section 5 2 3 on page 86 In general you can operate the camera at a higher maximum line rate when you use an output mode with more taps This is true because the modes with more taps output a greater amount of pixel data on each cycle of the pixel clock and therefore require less time to output a given amount of data For more information about how the video data output mode will affect the camera s maximum allowed line rate see Section 4 3 on page 64 On some camera models the Camera Link pixel clock speed is fixed at 40 Mhz On other models the speed can be set to either 40 or 80 MHz The available clock speeds on each model are also shown in Table 9 For more information about setting the Camera Link pixel clock speed see Section 2
152. hin the AOI may all fall into one segment Or the AOI could be positioned so that some of the pixels in the AOI fall into segment 1 and some of the pixels in the AOI fall into segment 2 The Max Seg AOI Pixels is defined as the number of AOI pixels included in the segment that contains the largest number of AOI pixels Consider some examples Suppose that the AOI is set to use the entire line i e the AOI starting pixel is 1 and the AOI length is 4096 With these settings the number of AOI pixels in segment 1 is 2048 and the number of AOI pixels in segment 2 is 2048 The Max Seg AOI would be 2048 In any case where the number of AOI pixels that falls into each segment is the same the Max Seg AOI Pixels is simply the number of AOI pixels included in one of the segments Suppose that the AOI starting pixel is set to 1 and the AOI length is set to 256 With these settings all 256 pixels in the AOI would fall into segment 1 The number of AOI pixels in segment 1 is 256 and the number in segment 2 is 0 So the Max Seg AOI Pixels would be 256 Suppose that the AOI starting pixel is set for 1985 and the length is set for 256 With these settings the AOI falls across the two sensor segments as shown in Figure 28 Segment 1 includes 64 of the pixels in the AOI and segment 2 includes 192 of the pixels in the AOI The Max Seg AOI Pixels in this situation would be 192 because segment 2 contains the largest part of the AOI and the number of AOI pixels in
153. iates an enumerate function 2 Use a binary read command to read the Name field of the configuration set bulk data CSR This is the name of a configuration set file that contains saved data 3 Use a binary read command to read the value in the Info field of the configuration set bulk data CSR a If the value is 0x00 it means that the file contains saved parameters and it is not an activated file Continue to step 4 b If the value is 0x04 it means that the file contains saved parameters and it is an activated file Continue to step 4 c If the value is 0x01 no more configuration set files with saved parameters exist Exit the procedure 4 Use a binary write command to set the value of the Control field in the configuration set bulk data CSR to 0x01 Setting the value to 0x01 initiates an enumerate next function 5 Return to step 2 This procedure would list all of the configuration set bulk data files that contain a saved parameter set If you wanted to enumerate the existing saved shading value file you would use a similar procedure but you would write to and read from the shading value bulk data CSR instead Sample code that illustrates how to enumerate bulk data files is available from Basler see Section 7 4 on page 183 Downloading a Bulk Data File from the Camera to a PC You can download a bulk data file from the camera s non volatile memory to your host PC As an example assume that you have saved a configur
154. id Table 22 Camera Status Indicators 186 Basler sprint Troubleshooting and Support LED Description Priority Repeated pattern of 4 One of the following errors is present 6 slow orange flashes A byte time out has occurred see Section 7 3 1 1 on page 179 Invalid OpCode in a read or write command see Section 7 3 1 on page 176 Incoming data has been discarded since no BFS was included see Section 7 3 1 on page 176 Invalid BCC in a read or write command see Section 7 3 1 on page 176 Invalid address in a read or write command see Section 7 3 1 on page 176 Invalid data length in a read or write command see Section 7 3 1 on page 176 An unknown error with the binary read write command format has occurred Repeated pattern of 3 The last shading table generation process failed The flashing will 7 slow orange flashes stop when you successfully complete a generation process or you reset the camera Repeated pattern of 2 One of the following errors is present 8 slow orange flashes The maximum allowed line rate has been exceeded see Section lowest Section 4 3 on page 64 ExSync has not changed state for 5 seconds or longer Check the cable and the ExSync generating device Table 22 Camera Status Indicators 187 Basler sprint Troubleshooting and Support 8 3 Troubleshooting Charts The following pages contain several troubleshooting charts that can help you find the cause of probl
155. id Data Valid Pixel Clock DO Pixel Data 12 10 or 8 bits D1 Pixel Data 12 10 or 8 bits l Line Valid Delay see Table 11 on page 78 _ ts JUV UU UU UU UU OXKDOXKXK XXX OX NEEDED XXX DDO OXXX OOK KIX MBN OX XXX Timing diagrams are not to scale N At full resolution without horizontal binning enabled N 4096 on 4k models and 2048 on 2k models N At full resolution with horizontal binning enabled N 2048 on 4k models and 1024 on 2k models If the AOI feature is used N will be determined by the AOI settings Fig 30 Two Tap Modes with Edge or Level Controlled Exposure 76 Basler sprint Video Data Output Modes End of t Programmed 4 Time ag Line Valid Delay see Table 11 on page 78 Line Valid H Data Valid Pixel Clock l i i DO Pixel Daa X X X X1X3KX5X7XK9 XK XK 13 X N 13 XN 11 X N 9 X N 7 X N 5 X N 3 X N 1 12 10 or 8 bits D1 Pixel Daa X X X X 2XK4X6X8 X10 X 12 XK 14 X N 12XN 10X N 8 X N 6 XN 4 XN 2X N 12 10 or 8 bits Timing diagrams are not to scale N At full resolution without horizontal binning enabled N 4096 on 4k models and 2048 on 2k models N At full resolution with horizontal binning enabled N 2048 on 4k models and 1024 on 2k models If the AOI feature is used N will be determined by the AOI settings Fig 31 Two Tap Modes with Programmable Exposure Basler sprint
156. ignment Grabber 8 Tap 8 Bit Port AO TxINO RxOut0 DO Bit 0 Port A1 TxIN1 RxOut1 DO Bit 1 Port A2 TxIN2 RxOut2 DO Bit 2 Port A3 TxIN3 RxOut3 DO Bit 3 Port A4 TxIN4 RxOut4 DO Bit 4 Port A5 TxIN6 RxOut6 DO Bit 5 Port A6 TxIN27 RxOut27 DO Bit 6 Port A7 TXIN5 RxOut5 DO Bit 7 MSB Port BO TXIN7 RxOut7 D1 Bit 0 Port B1 TxIN8 RxOut8 D1 Bit 1 Port B2 TxIN9 RxOut9 D1 Bit 2 Port B3 TxIN12 RxOut12 D1 Bit 3 Port B4 TXIN13 RxOut13 D1 Bit 4 Port B5 TXIN14 RxOut14 D1 Bit 5 Port B6 TxIN10 RxOut10 D1 Bit 6 Port B7 TxIN11 RxOut11 D1 Bit 7 MSB Port CO TXIN15 RxOut15 D2 Bit 0 Port C1 TXIN18 RxOut18 D2 Bit 1 Port C2 TXIN19 RxOut19 D2 Bit 2 Port C3 TxIN20 RxOut20 D2 Bit 3 Port C4 TxIN21 RxOut21 D2 Bit 4 Port C5 TxIN22 RxOut22 D2 Bit 5 Port C6 TXIN16 RxOut16 D2 Bit 6 Port C7 TXIN17 RxOut17 D2 Bit 7 MSB LVAL TXIN24 RxOut24 Line Valid FVAL TxIN25 RxOut25 Not Used DVAL TXIN26 RxOut26 Data Valid Spare TxIN23 RxOut23 Not Used Strobe TxINCLK RxOutClk Pixel Clock Table 15 Bit Assignments for 8 Tap Output Mode MDR Conn 1 Transmitter X 88 Basler sprint MDR Conn 2 Transmitter Y Port Camera Frame Bit Assignment Grabber 8 Tap 8 Bit Port DO TxINO RxOut0 D3 Bit 0 Port D1 TxIN1 RxOut1 D3 Bit 1 Port D2 TxIN2 RxOut2 D3 Bit 2 Port D3 TxIN3 RxOut3 D3 Bit 3 Port D4 TxIN4 RxOut4 D3 Bit 4 Port D5 TxIN6 RxOut6 D3 Bit 5 Port D6 TxIN27 RxOut27
157. ine Max 140 kHz acquisition modes are only available on spL2048 140km and spL4096 140km cameras Two dual line acquisition modes are available Dual Line Max 140 kHz Line A First Dual Line Max 140 kHz Line B First When Dual Line Max 140 kHz Line A First acquisition modes is active the camera will use both line A and line B When an acquisition is triggered both lines in the sensor are exposed When exposure is complete the pixel values from the line A are read out of the sensor and transmitted from the camera While the pixel values from line A are being read out the values from line B are also read out but they held in a buffer in the camera The next time that an acquisition is triggered the pixels from line B are transmitted When Dual Line Max 140 kHz Line B First acquisition modes is active the camera will use both line A and line B When an acquisition is triggered both lines in the sensor are exposed When exposure is complete the pixel values from the line B are read out of the sensor and transmitted from the camera While the pixel values from line B are being read out the values from line A are also read out but they held in a buffer in the camera The next time that an acquisition is triggered the pixels from line A are transmitted If the image of the object being imaged will cross line A first and line B second you should use the Line A First mode If the image of the object being imaged will cro
158. ing determines the camera s line rate 1 Line Rate Line Period In free run two modes of operation are available edge controlled and programmable In free run edge controlled mode line acquisition begins on the rising edge of the internal control signal The pixels are exposed and charge is accumulated over the full line period from rising edge to rising edge of the internal control signal The falling edge of the control signal is irrelevant The pixel values are read out of the sensor on the rising edge of the internal control signal as shown in Figure 25 The line period is determined by the setting for the line period parameter Line Period Exposure Internal Control Signal Line Readout Fig 25 Free Run Edge Controlled Mode Basler sprint 61 Exposure Start and Exposure Time Control In free run programmable mode line acquisition begins on the rising edge of the ExSyc signal The pixels are exposed and charge is accumulated when the internal control signal is low The pixel values are read out of the sensor on the rising edge of the internal control signal as shown in Figure 26 In this mode the line period is determined by the setting for the line period parameter The ex posure time parameter setting determines how long the control signal will be low and thus de termines the exposure time Line Period Internal Control Signal Exposure Time g Line Readout Fig 26 Free Run Programma
159. input power plug is the last connector that you plug into the camera when making connections and the first connector that you unplug from the camera when breaking connections Basler sprint Physical Interface 2 6 Camera Link Implementation The camera uses National Semiconductor DS90CR287 devices as Camera Link transmitters For the Camera Link receivers on your frame grabber we recommend that you use the National Semiconductor DS90CR288 the National Semiconductor DS90CR288A or an equivalent Detailed data sheets for these components are available at the National Semiconductor web site www national com The data sheets contain all of the information that you need to implement Camera Link including application notes The camera uses a National Semiconductor DS9OLV048A differential line receiver to receive the RS 644 camera control input signals and the serial communication input signal defined in the Camera Link specification A DS90LV047A differential line transmitter is used to transmit the serial communication output signal defined in the specification Detailed spec sheets for these devices are available at the National Semiconductor web site www national com Camera models with a single MDR connector see Table 3 and Figure 7 on page 16 implement the pase configuration as defined in the Camera Link specification and include one differential line transmitter The transmitter in the camera is designated as Transmitter X When a came
160. interpreted as follows Byte 1 Low byte of the raw value Byte 2 Mid byte of the raw value Byte 3 High byte of the raw value Byte 4 Always 0 not used Basler sprint 149 Configuring the Camera Field Name Raw Min Offset 0x0011 Size 4 Bytes Type Read only Description Minimum allowed integer value for the raw line period setting This field is updated to reflect limitations caused by the way that any related fields are set The bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 2 Mid byte of the min value Byte 3 High byte of the min value Byte 4 Always 0 not used Field Name Raw Max Offset 0x0015 Size 4 Bytes Type Read only Description Maximum allowed integer value for the raw line period setting This field is updated to reflect limitations caused by the way that any related fields are set The bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 2 Mid byte of the max value Byte 3 High byte of the max value Byte 4 Always 0x00 not used 150 Basler sprint Video Data Output Mode CSR Configuring the Camera Register Base Address 0x1700 Description Field Name Register Status Offset 0x0000 Size 1 Byte The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A valu
161. ion Writing an integer to this field sets the line stamp mode 0x00 Line stamp off 0x01 Line stamp on See Section 6 5 on page 115 for more information about the line stamp feature Basler sprint 159 Configuring the Camera Line Stamp Low Pixel Limit CSR Register Base Address 0x2B20 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Low Pixel Limit Offset 0x0001 Size 2 Bytes Type Read Write Description Writing an integer to this field sets the low pixel limit for the line stamp feature When the camera is set for 8 bit output you should set the low pixel limit within a range from 0 0x0000 to 255 0x00FF When the camera is set for 10 bit output you should set the low pixel limit within a range from 0 0x0000 to 1023 Ox03FF When the camera is set for 12 bit output you should set the low pixel limit within a range from 0 0x0000 to 4095 OxOFFF The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the low pixel limit Byte 1 High byte of the low pixel limit See Section 6 5 on page 115 for more information about the line stamp feature and the low pixel limit Field Name Min Offset 0x000
162. ion 4 Pixel data is summed and transmitted from the camera as if it were a single line EA 7 Stored data 7 from line A Image of point for point 3 4 acquired by line A Line A pixel Image of data from this point 3 acquisition is acquired by storedina line B buffer g Line B m Object Passing Camera Point 2 Point 3 Point 4 Fig 19 Time Delayed Line Summing Acquisition Four 46 Movement gt Point 1 Line A Basler sprint Line Acquisition Modes Setting the Camera for Time Delayed Line Summing Acquisition Mode You can enable the time delayed line summing acquisition mode by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Time Delayed Line Summing Line A Delayed or to Time Delayed Lin
163. ion set bulk data CSR to 0x03 Setting the value to 0x03 places the camera in write mode Use a binary command to do a bulk data write to the camera The binary write command must have the following characteristics OpCode 0x04 This OpCode makes the command a bulk data write DataLen the number of bytes to be written Max is 255 characters Address 0x281B Base address for the configuration set bulk data CSR plus the offset for the Data field Data Bytes to be written Repeat step 3 as many times as needed to write all of the data from the PC to the camera Close the bulk data file in the camera To close the file use a binary write command to set the value of the Control field in the configuration set bulk data CSR to 0x02 Setting the value to 0x02 places the camera in read mode and closes the file Up to 255 characters can be written with a single binary bulk data write command If the file is larger than 255 characters repeated binary bulk data write commands are required When repeated bulk data write commands are required the file is written sequentially with each write command starting where the previous write stopped This procedure will upload the data in the file to the camera If you want to upload a user shading value bulk data file from a PC to a camera you would use a similar procedure but you would use the shading value bulk data CSR instead Sample code that illustrates how to upload a bulk data file is avai
164. ious Levels of Gain 0 dB of gain Table 19 shows the dB of gain that will be achieved at various integer settings Gain Setting dB of Gain 2731 minimum allowed for all modes 3 5 4096 default 0 6144 maximum allowed for 12 bit modes 3 5 8192 maximum allowed for 10 bit modes 6 0 16383 maximum allowed for 8 bit modes 12 0 Table 19 dB of Gain at Various Settings Basler sprint 95 Features If you know the integer setting for the gain you can calculate the resulting dB of gain that the camera will achieve by using the following formula cing 20x10 RR Setting the Gain You can set the gain with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Gain parameter in the Gain amp Offset parameters group to set the gain By Setting CSRs You set the gain by writing a value in dB to the Absolute Gain field or by writing an integer value to the Raw Gain field of the Gain CSR see page 152 Section 7 2 2 on page 143 explains CSRs and the difference between using the absolute field and the raw field in a CSR Section 7 3 1 on page 176 explains using read write commands 6 1 2 Offset Offset is adjustable on an integer scale that ranges from 4095 to 4095 The default setting is 0 If th
165. ister Base Address 0x1400 Field Name Register Status Offset 0x0000 Size 1 Byte Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Type Read only Field Name Mode Offset 0x0001 Size 1 Byte Description Writing an integer to this field sets the exposure time control mode 0x00 Free run programmable 0x02 Free run edge controlled 0x04 ExSync level controlled 0x05 ExSync programmable 0x06 ExSync edge controlled Type Read Write See Section 4 1 on page 57 for a description of the exposure time control modes 146 Basler sprint Configuring the Camera Exposure Time CSR Note The exposure time can be set by writing a floating point value to the Absolute Exposure Time field or by writing an integer value to the Raw Exposure Time field See Section 7 2 2 1 on page 143 for an explanation of the difference between these two fields Register Base Address 0x1500 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Absolut
166. k check character is 0x18 Let s consider how this block check character was calculated Calculating XOR sums is most easily understood when numbers are shown in their binary form so in the example calculations shown below the hexadecimal digits in our command have been converted to binary To find the XOR sum of two binary numbers you add the two digits in each column using the following rules If both digits are 0 the result is 0 If both digits are 1 the result is 0 If one of the digits is a 1 and the other is a 0 the result is 1 With all of this in mind here is how the check digit for the write command shown in Section 7 3 2 2 on page 181 would be calculated 0000 0100 the binary representation of 0x04 FTF 0000 0001 the binary representation of 0x01 DataLen 0000 0101 XORsum 0000 0101 Previous XOR Sum 0000 0001 the binary representation of 0x01 Address Byte 1 0000 01 00 New XOR sum 0000 0100 Previous XOR sum 0001 1000 the binary representation of 0x18 Address Byte 2 0001 1100 New XOR sum 0001 1100 Previous XOR Sum 0000 0001 the binary representation of 0x01 Data 0001 1101 Final XOR sum 0001 1101 0x1D the block check character 182 Basler sprint Configuring the Camera 7 4 Binary Command Sample Code Sample code that illustrates how to use binary commands with sprint cameras is available at the Basler web site Please look for the Binary Protocol II programming sample at ht
167. ke sure that no other program has access to the port You may need to update the CCT To download the latest version of the tool go to the Basler web site at www baslerweb vc com Does a This type of camera is not supported message appear Once you have downloaded the latest version of the tool uninstall the old version from your computer and install the new version Start the CCT click on the port selection drop down menu and select an RS 644 port from the list Does a list of camera parameters appear The port is present and can be accessed but the camera is not responding Make sure that The camera has power and that the power source meets the requirements in Section 2 5 on page 22 You are using the correct data cables between you camera The RS 644 and the frame grabber see Section 2 4 on page 21 port is working The wires in the data cable are continuous a Exit i this chart The cable connections are firmly seated After you made these checks is the problem still present Yes Contact Basler Technical Support The contact numbers appear on the front pages of this manual Basler sprint 193 Troubleshooting and Support 8 3 5 Before Calling Basler Technical Support To help you as quickly and efficiently as possible when you have a problem with a Basler camera it is important that you collect several pieces of information before you contact technical support Copy the form that appears on
168. l we S l z4 vod aa ZA j Sued 9 unon LL i Jd l 2d z a bey Fy 10d segue RE a tHe J ZA ez 6r sp l ad I or i sana EZ bed s 7s S E a R g na 9 l ma sha x z fer Z ai jh vl peel eat possi pup l 1 K l vad pie l FEA ae aa SUDO Silo aiga l 203 r l sued ep Or wed fe N ja 119 9 pue ba i aouu juud aod zna en smag l SERRER pe beg Udos Pepeiue s l ma _ ik semed 5 p oad EEN l E sore Id 97 i D 10N j Ama eu z a PF If zx amos l l z peragi bna z auuo9 Jol l KER bea Us g 7 o quod wW rji EN N aii gH a v a ZA zx 3a HO I PN 3 2 rd on i z go WK al an one l 7 youll x v 70 z 4 oxy im zied a Lar WN l a ihip 7 T Pralus zaU 92 ul A zt HO zxy WA T u oxy 2 a e Lerx pod 9 6 v I J 0A Sz 9b S 5 a ema l aes rl pele woul lt 1 T as i ENEN a ai Z e zaud 1 eS lt 5 or a V88 I EE I ONTO za FIA wx od To L pee I 906S zw baled He 2 Tod I OLS I 9 aed l T hoo I Ad z zx a Od I L 8 aqoa l bale LER I 9 Z wed as d XL od Da l OOY F l Zi z Lex EEZ l SU TUIN S l if 2 b A Fem l i OK pax tet l l za ERTS ai A IT aes arei Ey aa st Wo z z an IN en oxi HZ ae 159 l bd pra l 94S I TON bey HOZ oF 40K pxl Wd I I I a Wod gpa 5 l exl 7 Wod pa 109 a 94ed oz wae wa T T l a awed l TET I 02 Te GETE l fore opa KIE a Zu l l g S f WAA ns I SELE oxy 4Z ed Aue ox awed z l On ossa Em i z or T sue Loa Ha 9 l 5 aaa a as Bas apa FOZ sb aed 18749 Od Hog I a FOS I 7
169. lable from Basler see Section 7 4 on page 183 Note When you upload a bulk data file from the PC to the camera it will overwrite any existing data in the camera file with the same name For example if you upload a configuration set file called UsetSet02 from a PC to a camera it will overwrite the existing contents of the UserSet2 file in the camera You can download the factory configuration set file from the camera to the PC but you can t upload the factory configuration set from the PC to the camera The factory configuration set in the camera is protected and can t be overwritten 172 Basler sprint Configuring the Camera 7 2 3 4 Bulk Data Control and Status Register Details Configuration Set CSR See Section 7 2 3 1 on page 168 for information about using the configuration set bulk data control register Register Base Address 0x2800 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Control Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field selects a bulk data control function 0x00 Enumerate 0x01 ENext 0x02 Read 0x03 Write 0x04 Activate 0x06 Copy Field Name Info Offset
170. lculates the maximum line rate based on the amount of time it takes the camera to process the pixels read out from the sensor PPR Li 22 PER eee a e a nn aD Where PPR is the pixel processing rate for your camera model as stated in the table below Model PPR Model PPR spL2048 39km 80000000 spL4096 20km 80000000 spL2048 70km 160000000 spL4096 39km 160000000 spL2048 140km 320000000 spL4096 70km 320000000 spL4096 140km 640000000 AOI Length is the length of the AOI based on the current AOI length setting see Section 6 2 on page 98 p 0 if the line stamp feature is not enabled see Section 6 5 on page 115 p 16 when the line stamp feature is enabled Formula 4 calculates the maximum line rate based on the amount of time it takes to transmit the pixel data for an acquired line from the camera to the host PC F CL Clk x Taps Max Lines s 12 x Taps AOI Length p Where CL Clk is the camera link clock speed for your camera model as stated in Table 7 on page 27 Taps is the number of taps being used as determined by the current video data output mode setting see Chapter 5 on page 71 AOI Length is the length of the AOI based on the current AOI length setting see Section 6 2 on page 98 p 0 if the line stamp feature is not enabled see Section 6 5 on page 115 p 16 when the line stamp feature is enabled Section 4 3 2 on page 68 includes an example that illustrate how to use these fo
171. ld of the Exposure Time CSR see page 147 Section 7 2 2 on page 143 explains CSRs and the difference between using the absolute field and the raw field in a CSR Section 7 3 1 on page 176 explains using read write commands 4 2 3 Guidelines When Using Free Run When using free run mode to control exposure several general guidelines must be followed In the free run programmable mode the minimum exposure time and the maximum exposure time must be within the limits specified in the Exposure Time CSR see page 147 Basler sprint 63 Exposure Start and Exposure Time Control 4 3 Maximum Allowed Line Rate Minimum Line Period Note The information in this section is intended to give you a comprehensive understanding about the factors that influence the maximum allowed line rate and how those factors interact If you simply want a quick way to calculate the maximum allowed line rate use the frame line rate calculator tool available in the support section of Basler s website www basler vc com In general the maximum allowed line acquisition rate can be limited by four factors The exposure time for the acquired lines If you use long exposure times you can acquire fewer lines per second The amount of time it takes to read an acquired line out of the imaging sensor and into the camera s line buffer This time can vary depending on the length of the area of interest AOI for the acquired lines Smaller AOls can tak
172. lecentric setup usually requires high illumination Basler sprint 53 Line Acquisition Modes 3 9 3 System Design Calculations Our recommended approach for calculating system design criteria is tuned to matching the line of view of the sensor to the width of your conveyor The example below illustrates this approach Example Assume the following conditions Conveyor width 850 mm Conveyor movement per encoder step 0 09 mm Center to center distance between sensor lines 10 um Each line in the sprint s sensor is 10 um wide and they are adjacent to one another Therefore the center to center distance is 10 um Pixel size 10 um Length of sensor line 40 96 mm 4096 pixels line x 10 um pixel With an objective lens in place the direction of travel of the object will cause the image to cross the line A in the sensor first Step 1 Calculate the magnification needed to capture the full conveyor width on a sensor line Sensor Line Length _ 40 96 mm _ 0 048 Conveyor Width 850 mm 1 B 1 20 83 B is the standard symbol for magnification and is usually expressed as a ratio Step 2 Calculate the conveyor movement necessary to move the image 10 um 10 um x 20 83 0 2083 mm Step 3 Calculate the number of encoder steps needed to move the conveyor 0 2083 mm 0 2083 mm 2 31 0 09 mm step or REPS Since the encoder only counts in whole steps we have two options We can move the conveyor enough to gen
173. line B A fixed value of 0x55 with camera set for any other acquisition mode s3 Line Counter LSByte S4 Line Counter MSByte S5 Line Sum LSByte S6 Line Sum MidByte S7 Line Sum MSByte S8 Reserved S9 Total High Pixels LSByte S10 Total High Pixels MSByte S11 Total Low Pixels LSByte S12 Total Low Pixels MSByte S13 Contrast Value LSByte S14 Contrast Value MidByte S15 Contrast Value MSByte S16 Reserved Table 20 Stamp Pixel Functions Stamp Pixels S1 and S2 Stamp pixel S1 always has a fixed value of OxAA If the camera is set for one of the dual line acquisition modes and if the pixel values are from line A stamp pixel S2 will have a fixed value of 0x55 If the camera is set for one of the dual line acquisition modes and if the pixel values are from line B stamp pixel S2 will have a fixed value of 0x57 If the camera is set for any other line acquisition mode stamp pixel S2 will have a fixed value of 0x55 S1 and S2 can be used as a data integrity check They can also be used to find the start of the stamp pixels For more information about line acquisition modes see Section 3 on page 31 Basler sprint 117 Features Stamp Pixels S3 and S4 Stamp pixels S3 and S4 represent the least significant and most significant bytes respectively of the line counter The line counter increments by one for each line captured by the camera The counter starts at 0 and wraps at 65535 decimal The
174. lk data to files in the non volatile memory For example you can use the configuration set bulk data control register to store the settings from the current work configuration set in a named file For sprint cameras there are two types of bulk data configuration sets and shading values There is a separate bulk data control and status register for each type of bulk data The configuration set bulk data CSR is used to work with configuration sets the shading value CSR is used to work with shading values By writing to fields within a bulk data CSR you can do things such as saving a block of bulk data to a file in the non volatile memory copying a saved bulk data file from the camera to a PC and creating a list of existing saved bulk data files Section 7 2 3 4 on page 173 lists the bulk data CSRs and provides a general description of the use of each field within the registers The best way to understand the use of the bulk data CSRs is to read about the different tasks that you can perform with them Section 7 2 3 1 on page 168 describes the tasks and procedures that are normally performed by manipulating the Configuration Set Bulk Data CSR Section 7 2 3 2 on page 169 describes the tasks and procedures that are normally performed by manipulating the Shading Values Bulk Data CSR Basler sprint 167 Configuring the Camera 7 2 3 1 Using the Configuration Set Bulk Data CSR Saving the Work Configuration Set to a User Set File As described in
175. lly serve as default shading values The values in the factory file are optimized for performing shading correction with standard optics and lighting Using the factory settings will give you reasonable DSNU and PRNU shading correction performance in most situations The factory shading values file is in a protected area of the camera s memory and can t be changed One advantage of the factory values is that they serve as a good default 100 Basler sprint Features The second shading values file is called the usershading file This file can also hold a complete collection of the values needed to perform both DSNU and PRNU shading correction The values stored in this file must be generated by the camera user while the camera is operating under its real world conditions This file contains the shading values that will normally be used for day to day camera operation A procedure describing how to generate the values in this file appears on the next page Guidelines When Using Shading Correction When using the shading correction feature make sure to take the following guidelines into account Any time you make a change to the optics or lighting or if you change the camera s exposure mode or exposure time you must generate a new set of user PRNU shading values Using out of date PRNU shading values can result in poor image quality 6 3 1 Enabling Shading Correction You can enable shading correction with the Camera Configuration Tool
176. load function together with the upload function that is described on the next page is useful if you want to transfer a user set file from one camera to another camera of the same type You can download a user set file or the factory set file by using the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the File Name Select parameter in the Configuration Set Files parameters group to select a user set file or the factory set file and use the Download button to download the selected file By Setting CSRs You can download a user set file or the factory set file by writing values to the configuration set bulk data CSR Section 7 2 3 on page 167 explains the bulk data CSRs and Section 7 2 3 3 on page 170 explains how to use the CSRs to download a file Section 7 3 1 on page 176 explains using read write commands Basler sprint 131 Features 6 12 5 Uploading Configuration Set Files to Your Camera Once you have downloaded user configuration set files to your PC as described on the previous page you can upload the files from your PC to a camera Using the download function together with the upload function is useful if you want to transfer a user set file from one camera to another camera of the same type You can upload a user set file by using the Camera
177. lock check character is the exclusive or sum XOR sum of the bytes in the FTF DataLen Address and Data fields see Section 7 3 2 3 on page 182 Binary Frame End field Identifies the end of a binary frame Size 1 byte The value of the BFE byte is always 0x03 ACK NAK Response Positive frame acknowledge negative frame acknowledge 178 Size 1 byte The value for a positive frame acknowledgement ACK is 0x06 and for a negative frame acknowledgement NAK is 0x15 Note All values are formatted as little endian Intel format Basler sprint Configuring the Camera 7 3 1 1 Error Checking and Responses ACK NAK When the camera receives a frame it checks to see if the order of the bytes in the frame is correct If the FTF field indicates that the frame includes a BCC the camera checks to see if the XOR sum of the relevant frame fields matches the block check character The camera also checks to see if the number of bytes in the data field is equal to the number specified in the DataLen field If all checks are correct an ACK is sent to the host If any check is incorrect a NAK is sent Byte Timeouts The camera checks the time between the receipt of each byte in the frame If the time between any two bytes exceeds 0 5 seconds the camera enters a garbage state and discards any more incoming bytes The camera remains in this state until it sees a new BFS Read Commands In the normal case when a read comm
178. mory When you have shading correction enabled the camera uses the shading values in the volatile memory to perform shading correction A link is created between the activated file and the volatile memory The shading values from the activated file will automatically be copied into the volatile memory whenever the camera is powered up or reset Assume for example that the user shading values file is the activated file In this case when the camera is powered on or reset the values from the user shading values file will be copied into the volatile memory of the camera and will be used to perform shading correction Activating a Shading Values File You can activate a shading values file with the Camera Configuration Tool Plus CCT or by using binary read write commands from within your own application to set the camera s bulk data control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the File Name Select parameter to select a shading values file and the Activate button in the Shading Files parameters group to activate the selected file By Setting CSRs You can activate a shading values file by writing values to the shading values bulk data CSR Section 7 2 3 on page 167 explains bulk data CSRs and using the bulk data activate process Section 7 3 1 on page 176 explains using read write commands Basler sprint 107 Features 6 3 4 Copying the Factory Shading Values into the User
179. n a 12 bit output mode the stamp pixels will be 12 bit values but only the 8 MSBs will carry information The 4 LSBs will be packed with zeros Basler sprint 115 Features If the line stamp feature is used together with the AOI feature see Section 6 2 on page 98 the stamp pixels are transmitted immediately after the last pixel in the AOI as shown in Figure 43 The figure illustrates what you would see if the AOI was set for a starting pixel of 33 and a length in pixels of 256 The line valid and data valid signals will be high while the pixels in the AOI and the stamp pixels are transmitted ExSync i i i g i 3 i i i i i T i i i Signal LRE hie A EE a EE A E N Me ia E A Saeki A A A es Line Valid Data Valid Pixel DO eet XXX XOX OKA KEKE KEKE OX XOXOXO ft DDO DDOR AKAA AXX MOOD ODO OO Pixel Values 1 16 Added from the AOI Stamp Pixel Values Fig 43 Stamp Pixels with 2 Tap Video Data Output Edge or Level Controlled Exposure and an AOI 116 Basler sprint Features The table below lists the function of each stamp pixel A more detailed explanation of how to interpret the pixel values follows the table Position Function S1 A fixed value of OxAA S2 A fixed value of 0x55 with camera set for dual line acquisition mode and pixels from line A A fixed value of 0x57 with camera set for dual line acquisition mode and pixels from
180. n page 98 3 Ensure that the camera will be capturing lines in complete darkness by covering the camera lens closing the iris in the lens or darkening the room 4 Begin acquiring lines either by generating an ExSync signal to trigger line acquisition or by setting the camera for a free run exposure time control mode 5 Signal the camera to generate a set of DSNU values a You can start the generation of a set of DSNU values with the Camera Configuration Tool Plus see Section 7 1 on page 134 With the CCT set the value of the Generate parameter in the DSNU amp PRNU Shading Correction parameters group to Generate DSNU Values 102 Basler sprint Features b You can also start the generation of a set of DSNU values by using a binary write command see Section 7 3 on page 175 to write a value to the Generate field of the Shading Value Generate CSR see page 157 6 The camera must make at least 64 acquisitions to create a set of DSNU shading correction values If your camera is set to control exposure with an ExSync signal you must generate at least 64 ExSync signal cycles after you signal the camera to begin generating the values If you are running the camera in a free run exposure time control mode you must wait long enough for the camera to complete at least 64 acquisitions a When the camera is acquiring the lines it needs to create the DSNU shading values the line valid and data valid signals will go high and low as you w
181. n the ExSync programmable mode The maximum allowed programmed exposure time line period 1 2 us 25 ns If you set the exposure time to be longer than this allowed maximum the camera will behave as if it is in ExSync edge controlled mode Basler sprint 59 Exposure Start and Exposure Time Control Exposure Start Delay In the ExSync edge controlled and ExSync programmable exposure modes there is a slight delay between the rise of the ExSync signal and the actual start of exposure In the ExSync level controlled mode there is a slight delay between the fall of the ExSync signal and the actual start of exposure This delay is commonly referred to as an exposure start delay The exposure start delay for each mode is as shown in the table below Start Delay ExSync Programmable ExSync Level Controlled 1 21 us 20 ns ExSync Edge Controlled 2 51 us 20 ns Table 8 Exposure Start Delay 60 Basler sprint Exposure Start and Exposure Time Control 4 2 Free Run 4 2 1 Basics of Free Run Controlled Operation In free run an ExSync signal is not required The camera generates its own internal control signal based on two programmable parameters Line Period and Exposure Time The camera s internally generated control signal rises and falls in a fashion similar to an ExSync signal In free run the camera exposes and outputs lines continuously and the line period parameter sett
182. n vary from manufacturer to manufacturer If you are using the Basler Camera Configuration Tool Plus CCT to configure the camera the tool will detect the characteristics of the serial port on the frame grabber and will determine the appropriate settings so that the tool can open and use the port Note In order for the CCT to detect and use the port the characteristics of the port must comply with the Camera Link standard and the clser dll called for in the standard must be present When the camera is powered on or when a camera reset is performed your PC may receive one random character on the serial interface We recommend clearing the serial input buffers in your PC after a camera power on or reset If you are configuring the camera using binary commands from within your application software your software must be able to access the frame grabber serial port and to determine the appropriate settings so that it can open and use the port Consult your frame grabber s documentation to determine the port access method and the port characteristics Basler sprint 29 Physical Interface 30 Basler sprint Line Acquisition Modes 3 Line Acquisition Modes This section describes the line acquisition modes available on the camera 3 1 Introduction Several different methods can be used to acquire capture lines with the sensor in the camera Each of these different methods is referred to as a line acquisition mode The lin
183. ne summing with line A delayed if the image of the object you are capturing will pass line A first You should use time delayed line summing with line B delayed if the image of the object you are capturing will pass line B first In Figure 16 through Figure 19 the image of the object is passing line A first and line A will be delayed 42 Basler sprint Line Acquisition Modes Acquisition 1 Ty 7 Image of point 1 acquired by line A l ir Line A pixel ay fine aoe data from this not useful acquisition is in this case stored ina buffer 4 E l Line A Line B Object Passing Camera Movement gt Point 1 Point 2 Point 3 Point 4 Fig 16 Time Delayed Line Summing Acquisition One 43 Basler sprint Line Acquisition Modes Acquisition 2 Pixel data is summed and transmitted from the camera as if it were a single line
184. ng binary read commands from within your own application to read the camera s inquiry registers With the CCT With the CCT see Section 7 1 on page 134 you use the Voltage Error parameter in the Camera Information parameters group to determine if an over voltage condition has been detected If the value is 1 an overvoltage condition is present By Reading Inquiry Registers You check for an over voltage condition by reading the value of bit 6 in the Camera Status field of the Camera Status Inquiry Register see page 140 If the bit is set to 1 an over voltage condition is present See Section 7 2 1 on page 136 for an explanation of Inquiry Registers and Section 7 3 1 on page 176 for an explanation of using read write commands Note The Voltage Error parameter in the CCT and bit 6 in the Camera Status field of the Camera Status Inquiry Register will be set to 1 when the camera detects an overvoltage condition They will remain set to 1 until the condition is corrected i e the input voltage is returned to its normal range Applying an input power voltage greater than 25 VDC may seriously damage the camera See Section 6 8 on page 124 for more information 126 Basler sprint Features 6 10 Camera Status Checks During operation the camera performs a continuous series of self checks You can view the current camera status in several ways by using the Camera Configuration Tool Plus see Section 7 1 on page 134 Check the
185. nly Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Mode Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field sets the shading correction mode 0x00 Shading correction disabled 0x01 Enable DSNU shading correction only 0x02 Enable PRNU shading correction only 0x03 Enable DSNU and PRNU shading correction See Section 6 3 on page 100 for more information about the shading correction feature Shading Value Generate CSR Register Base Address 0x2100 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x02 The generation process failed 0x80 A value in the register is set out of range Field Name Generate Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field sets the shading correction mode 0x00 No generation 0x01 Generate DSNU correction values 0x02 Generate PRNU correction values and do not use DSNU correction during generation 0x03 Generate PRNU correction values and use DSNU correction during generation S
186. ntrolled Operation In ExSync operation the camera s line rate and exposure time are controlled by an externally generated trigger ExSync signal The ExSync signal is typically supplied to the camera by a frame grabber board via the Camera Link cable You should refer to the manual supplied with your frame grabber board to determine how to set up the ExSync signal that is being supplied to the camera When the camera is operating under the control of an ExSync signal the length of the ExSync signal period determines the camera s line rate 1 Pine Hale eyoync Period The ExSync signal can be periodic or non periodic as required When the camera is operating with an ExSync signal three modes of exposure time control are available edge controlled mode level controlled mode and programmable mode In ExSync edge controlled mode line acquisition begins on the rising edge of the ExSyc signal The pixels are exposed and charge is accumulated over the full period of the ExSync signal rising edge to rising edge The falling edge of the ExSync signal is irrelevant The pixel values read out of the sensor on the rising edge of ExSync see Figure 22 Basler sprint 57 Exposure Start and Exposure Time Control ExSync Period Exposure ExSync boo oo Signal Line Readout Fig 22 ExSync Edge Controlled Mode In ExSync level controlled mode line acquisition begins on the rising edge of the ExSyc signal The exposure tim
187. o 85 of maximum a If the pixel values for the brightest pixels are at 80 to 85 of maximum go on to step 3 b If the pixel values for the brightest pixels are not at 80 to 85 of maximum adjust your lighting and or lens aperture setting to achieve 80 to 85 5 Perform several acquisitions and examine the pixel values in each line In each line the values for the darkest pixels must be at least 67 of the values for the lightest pixels in the line If the values for the darkest pixels are less than 67 of the value for the lightest pixels the camera will not be able to fully correct for shading variations a If the values for the darkest pixels are at least 67 of the value for the lightest pixels go on to step 4 b If the values for the darkest pixels are less than 67 of the value for the lightest pixels it usually indicates extreme variations in lighting or poor quality optics Make corrections as required 104 Basler sprint Features 6 Begin acquiring lines either by generating an ExSync signal to trigger line capture or by setting the camera for a free run exposure time control mode Note When you generate the PRNU values in the step below you will have two options 1 You can generate the PRNU values without using DSNU shading correction If you do this the pixel values used to calculate the PRNU correction values will not be corrected for DSNU 2 You can generate the PRNU values with using DSNU shading correction
188. o a minimum of 1 and the setting can be increased in increments of 32 if horizontal binning is not enabled and increments of 16 if horizontal binning is enabled If the value is set to 1 the starting pixel for the AOI will be 1 If the value is set to 33 the starting pixel for the AOI will be 33 And so on The allowed range for this value can vary depending on how the area of interest length parameter is set You should check the raw min and raw max fields of this register to determine the allowed range with the current configuration The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the starting pixel value Byte 1 High byte of the starting pixel value See Section 6 2 on page 98 for more information about the AOI feature Field Name Min Offset 0x0003 Size 2 Bytes Type Read only Description Minimum allowed integer value for the starting pixel setting This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 1 High byte of the min value Field Name Max Offset 0x0005 Size 2 Bytes Type Read only Description Maximum allowed integer value for the starting pixel setting This field is updated to reflect limitations caused by the way any related features are set The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 1 High byte of the m
189. o calculate an average gray value for the pixels in each line b The camera finds the pixel with the highest average gray value in the line c For each of the other pixels in the line the camera determines the additional gain that would be needed to make the pixel s average value equal to the average value for the highest pixel d The camera generates a set of PRNU values that contains the calculated gain adjustments 10 The generated set of PRNU values is automatically stored in the user shading values file in the camera s non volatile memory Existing values in the file will be overwritten 11 The user shading value file is automatically activated See Section 6 3 3 on page 107 for more information about what it means to activate a shading file 106 Basler sprint Features 6 3 3 Activating a Shading Values File As explained in Section 6 3 on page 100 the camera contains a set of factory determined shading correction values in a file in its non volatile memory As explained in Section 6 3 2 on page 102 you can also generate a set of user shading values and save them to a separate file in the non volatile memory Assuming that you have generated user shading values you can choose to activate either the user shading values file or the factory shading values file When you activate a shading values file two things happen The values from the activated file are immediately copied into the camera s volatile me
190. odels with 2k Pixels Specification spL2048 39km spL2048 70km spL2048 140km Sensor Size 2 lines 2048 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 um x 10 um Camera Link 40 MHz 40 MHz or 80 MHz switchable Clock Speed Maximum 38 6 kHz 70 kHz 140 kHz in dual line Line Rate acquisition mode Minimum 1 kHz Line Rate Data Output Type Camera Link base configuration Camera Link medium full configuration Data Output Modes 2 tap 8 10 or 12 bit 2 tap 8 10 or 12 bit 4 tap 8 10 or 12 bit 8 tap 8 bit Synchronization Via external trigger signal or free run Exposure Control Edge controlled level controlled or programmable Gain and Offset Programmable via a serial link Requirements Connectors One 6 pin Hirose micro miniature receptacle One 6 pin Hirose micro One 26 pin female MDR connectors miniature receptacle Two 26 pin female MDR connector Power 12 VDC 10 Max 5 0 W 12 VDC when set for the single line acquisition mode Max 6 0 W 12 VDC when set for all other line acquisition modes Lens Adapter F mount M42 C Mount see Section 1 3 on page 4 Housing Size 48 0 mm x 87 0 mm x 62 0 mm without lens adapter or connectors Lx WxH 84 9 mm x 87 0 mm x 62 0 mm with F mount adapter and connectors Weight 360 g without lens adapter Table 1 General Specifications for 2k Cam
191. of the Test Image Mode CSR see page 158 See Section 7 2 2 on page 143 for an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands Basler sprint 111 Features 6 4 1 Test Image One Fixed Gradient When the camera is set for an 8 bit output mode test image one is formed with an odd even gray scale gradient that ranges from 0 to 255 and repeats every 512 pixels as shown in Figure 38 The odd pixel gradient starts at 0 and steps up that is the gray value of pixel 1 is 0 the gray value of pixel 3 is 1 the gray value of pixel 5 is 2 and so forth The even gradient starts at 255 and steps down that is the gray value of pixel 2 is 255 the gray value of pixel 4 is 254 the gray value of pixel 6 is 253 and so forth At pixels 256 and 257 the gray value for both pixels is 128 At pixels 511 and 512 a white odd pixel is next to a black even pixel At pixels 513 and 514 a black odd pixel is next to a white even pixel To the human eye the gradient appears to be a varying gray field with a white vertical line every 512 pixels Test image one is useful for checking the integrity of the data transmitted by the camera If you capture lines and examine the pixel values in the captured lines the values should be exactly as described above 255 S i S s bes Gray S N Ea Level x S N lt x 0 j 1 512 2048 even odd Pixel Number Fig 38 Formation of Test Image One on a
192. oint 1 from line A is transmitted from the camera ul Pixel data for Drawing not to scale point 2 from ine B is stored in a buffer Image of point 1 acquired by line A Image of point 2 acquired by line B Line B Line A Object Passing Camera N x Point 4 lt a Movement Point 3 Point 2 Point 1 Fig 11 Dual Line Acquisition ExSync Cycle 1 Basler sprint 35 Line Acquisition Modes ExSync Cycle 2 Stored pixel data for point 2 from line B is transmitted from the camera Drawing not to scale Stored pixel data for point 2 from line B Line A Line B Object Passing Camera Point 4 lt a Movement Point 3 Point 2 Point 1 Fig 12 Dual Line Acquisition ExSync Cycle 2 3
193. on 7 4 on page 183 Copying the Factory Shading Values File into the User Shading Values File Assume that you want to copy the shading values in the factory shading values file into the user shading values file To do so you would follow this procedure 1 Use a binary write command to write the file name UserShading to the Name field of the shad ing value bulk data CSR see page 174 2 Use a binary write command to set the value of the Control field of the configuration set bulk data CSR to 0x06 Setting the value to 0x06 initiates a copy function Basler sprint 169 Configuring the Camera This procedure will copy the contents of the factory shading values file into the user shading values file Note that any existing data in the user shading values file will be overwritten Sample code that illustrates how to create a bulk data file is available from Basler seeSection 7 4 on page 183 7 2 3 3 General Procedures for Working with Bulk Data CSRs Enumerating Bulk Data Files Bulk data file enumeration allows you to look through a list of the bulk data files that currently contain saved parameters As an example assume that you want to see a list of all of the configuration set files that currently contains saved parameters To do so you would follow this procedure 1 Use a binary write command to set the value of the Control field in the configuration set bulk data CSR see page 173 to 0x00 Setting the value to 0x00 init
194. on data transmit 214 SerTFG LVDS SerTFG serial to frame grabber 9 CC1 Input RS 644 ExSync external trigger 22 CC1 ENDS 10 CC2 Input RS 644 Not used 23 Cc2 Hepa 11 CC3 Input RS 644 Not used 24 CC3 EES 12 CC4 Input RS 644 Not used 25 CC4 La Table 4 Pin Assignments for MDR Connector 1 1 Pins 1 13 14 and 26 are all tied to ground inside of the camera Basler sprint 17 Physical Interface Pin Number Signal Name Direction Level Function 1 13 14 261 Gnd Input Ground Ground for the inner shield of the cable 2 YO Output Camera Data from the Camera Link transmitter 15 YO Link LVDS 3 Y1 Output Camera Data from the Camera Link transmitter 16 V14 Link LVDS 4 Y2 Output Camera Data from the Camera Link transmitter 17 Y24 Link LVDS 6 Y3 Output Camera Data from the Camera Link transmitter 19 Y34 Link LVDS 5 YClk Output Camera Transmit clock from the Camera Link transmitter 18 YClk Link LVDS 8 Z0 Output Camera Data from the Camera Link transmitter 214 204 Link LVDS 9 Zi Output Camera Data from the Camera Link transmitter 22 Z4 Link LVDS 10 Z2 Output Camera Data from the Camera Link transmitter 23 724 Link LVDS 12 Z3 Output Camera Data from the Camera Link transmitter 25 734 Link LVDS 11 ZClk Output Camera Transmit clock from the Camera Link transmitter 24 2Clk Link LVDS Table 5 Pin Assignments
195. ou were working with a sensor that actually has 1024 pixels and the guidelines for working with this situation would be The AOI Starting Pixel can be set to 1 and can be increased in increments of 16 e g it can be set to 1 17 33 etc The AOI Length must be a minimum of 128 pixels can be increased in increments of 16 e g the length can be set to 128 144 160 etc The AOI Starting Pixel AOI Length lt 1025 If you are working with a camera that has sensor lines with 4096 physical pixels and you enable horizontal binning you effectively reduce the resolution to 2048 binned pixels In this case you would set the AOI as if you were working with a sensor that actually has 2048 pixels and the guidelines for working with this situation would be The AOI Starting Pixel can be set to 1 and can be increased in increments of 16 e g it can be set to 1 17 33 etc The AOI Length must be a minimum of 128 pixels can be increased in increments of 16 e g the length can be set to 128 144 160 etc The AOI Starting Pixel AOI Length lt 2049 6 2 1 Setting the AOI You can set the AOI with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the AOI Starting Pixel parameter and the AOI Length parameter in the AOI parameters group to set
196. ould normally expect However the data in these lines is not useful to you and should be ignored Note If you started the generation of the shading values using the CCT you are using an ExSync signal to trigger acquisitions and you are operating the camera at a line period greater than approximately 300 ms you should be aware of a potential problem Under these conditions the CCT may time out while it is waiting for the camera to complete 64 acquisitions and you may see a Camera is not responding error message This error is not fatal to the shading value creation process If you close the error message window wait several seconds and then click the Refresh button on the CCT the shading values will be properly created If you started the generation of the shading values using binary commands you are using an ExSync signal to trigger acquisitions and you are operating the camera at very low line rates you should be aware of a restriction The camera will not acknowledge or respond to binary commands while it is performing the 64 acquisitions needed to create a set of shading values Once you have issued the binary command to start generating shading values you should wait until the generation process is complete before you issue any further binary commands The time needed to complete the generation process will be equal to 64 times the line period 7 Once 64 acquisitions have been completed the camera calculates the DSN
197. r an explanation of CSRs and Section 7 3 1 on page 176 for an explanation of using read write commands Basler sprint 27 Physical Interface Notes Keep in mind that a change to the Camera Link clock speed is a parameter change and that parameter changes are normally lost when the camera is reset or switched off and back on To avoid this you can make changes to the camera s parameters save the changed parameters to a user set and then activate the user set This will ensure that the changed parameters are saved and are loaded into the camera at reset or power off on For more information about saving and activating sets of parameters see Section 6 12 on page 128 Lowering the clock speed from 80 MHz to 40 MHz may lower the camera s maximum allowed line rate For more information about calculating the maximum allowed line rate see Section 4 3 on page 64 Some frame grabbers are not compatible with an 80 MHz pixel clock speed Refer to the documentation for your frame grabber to determine if it is compatible 2 8 5 Serial to Frame Grabber The Serial To Frame Grabber SerTFG output signal is an RS 644 LVDS signal as specified in the Camera Link standard The signal is output from the camera on pins 8 and 21 of MDR connector one as specified in the standard and as shown in Table 4 on page 17 and in Figure 9 on page 24 Signals from the SerTFG output are used during camera configuration For more detailed information about the
198. r by reading the Temperature field of the Imaging Sensor Temperature Inquiry Register see page 142 See Section 7 2 2 on page 143 for an explanation of Inquiry Registers and Section 7 3 1 on page 176 for an explanation of using read write commands Note If the temperature of the imaging sensor rises above 75 C an overtemperature error will be declared See Section 6 9 1 on page 125 for more information about overtemperature error detection Basler sprint 123 Features 6 8 Input Power Undervoltage and Overvoltage Protection The camera s nominal input power voltage is 12 VDC 10 We do not recommend applying input power less than 10 8 VDC or greater than 13 2 VDC The camera has undervoltage protection If the input voltage is less than 10 5 VDC the camera s internal power regulator will automatically disconnect and the camera will no longer operate When the input voltage is returned to the normal range the camera will return to normal operation The camera also has overvoltage protection up to 25 VDC If the input voltage is between 14 and 18 VDC an input overvoltage error will be detected see Section 6 9 2 on page 126 The LED on the back of the camera will begin to flash red If an input voltage between 18 and 25 VDC is applied to the camera the camera s internal power regulator will automatically disconnect and the camera will no longer operate When the input voltage is returned to the normal range t
199. r the factory shading value file accomplishes two things It copies the values from the file into the camera s volatile memory This means that the values will now be actively used by the camera It creates a link to the activated file If the camera is reset or if it is powered off and then back on the shading values from the activated file will be loaded into volatile memory of the camera and actively used by the camera when shading correction is enabled As an example assume that you have generated user shading values and that you want to activate the user shading values file To do so you would follow this procedure 1 Use a binary write command to write the file name UserShading to the Name field of the shad ing value bulk data CSR see page 174 2 Use a binary write command to set the value of the Control field in the shading value bulk data CSR to 0x05 Setting the value to 0x05 initiates an activate function This procedure would find the Usershading file in the non volatile memory and would copy the values in the file into the camera s volatile memory It would also create a link to the file so that the values in the file would be loaded into volatile memory after a reset or a power up If you want to activate the factory shading value file you would following a similar procedure but use FactoryShading as the file name Sample code that illustrates how to activate a saved bulk data file is available from Basler see Secti
200. ra s 6 pin connector must be a plug for 6 pins Using a plug designed for a smaller or a larger number of pins can damage the pins in the camera s 6 pin connector Avoid Dust on the Sensor The camera is shipped with a dust cap on the lens mount To avoid collecting dust on the camera s sensor make sure that the cap is always in place when there is no lens mounted on the camera Whenever you remove the cap to mount a lens be sure that the lens mount is pointing down Basler sprint Specifications Requirements and Precautions Warranty Precautions To ensure that your warranty remains in force Do not remove the camera s serial number label If the label is removed and the serial number can t be read from the camera s registers the warranty is void Do not open the camera housing Do not open the housing Touching internal components may damage them Keep foreign matter outside of the camera Be careful not to allow liquid flammable or metallic material inside of 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 Transportation Transport the camera in its original packaging only Do not discard the packaging Cleaning Avoid cleaning the surface of the camera s sensor if possible If you must clean it use a soft lint free
201. ra s user shading value file You should be aware that the camera uses one set of DSNU values when it is operating in single line acquisition mode and a different set of values when it is operating in any one of the other line acquisition modes see Chapter 3 on page 31 for more information about line acquisition modes This means that If you will always be operating the camera in single line acquisition mode you should set the camera for single line acquisition mode and then follow the steps below one time If you will never be operating the camera in single line acquisition mode you should set the camera for any one of the other acquisition modes and then follow the steps below one time If you will sometimes operate the camera in single line acquisition mode and other times operate the camera in one of the other modes you should first set the camera for single line acquisition mode and follow the steps below You should then set the camera for any one of the other acquisition modes and you should go through the steps a second time The camera s user shading values file has one area where it holds the DSNU values it uses for single line mode and another area where it stores the values for all of the other modes To generate a set of user DSNU values 1 Set the camera for the desired line acquisition mode 2 Make sure the area of interest parameters are set so that the camera will use the full length of the sensor see Section 6 2 o
202. ra is set for a 2 tap video data output mode it uses the base Camera Link configuration Camera models with two MDR connectors implement the medium full configuration as defined in the Camera Link specification and include three differential line transmitters The transmitters in the camera are designated as Transmitter X Transmitter Y and Transmitter Z If a camera is set for a 4 tap video data output mode it uses the medium Camera Link configuration and employs transmitters X and Y If a camera is set for an 8 tap video data output mode it uses the full Camera Link configuration and employs transmitters X Y and Z Note Cameras that implement the medium full configuration can also be used as base configuration cameras To do so simply set the camera for a 2 tap video data output mode In this situation only one Camera Link cable is required The cable should be connected to MDR connector 1 on the camera and to the base connector on your frame grabber Table 4 on page 17 and Table 5 on page 18 show the pin assignments for the MDR connectors The schematic in Figure 9 on page 24 shows the full configuration Camera Link implementation for the camera and a typical implementation for a full configuration frame grabber For more information about how the pixel data captured by the camera is assigned to the camera s transmitter s see Chapter 5 on page 71 Basler sprint 23 Ph ysi ical Interfac e
203. rabber is receiving every line that is output from your camera Pixel Number Fig 40 Formation of Test Image Two on a Camera with 4096 Pixels Per Line M4 4 4 4 4 4 4 Fig 41 Test Image Two Note When the camera is set for an 8 bit output mode the pixel values in test image one range from 0 to 255 as described above If the camera is set for 10 bit output the pixel values will range from 0 to 1023 If the camera is set for 12 bit output the pixel values will range from 0 to 4095 Basler sprint 113 Features 6 4 3 Test Image Three Uniform Black In test image three all pixels will always have a value of 0 regardless of the output mode Test image three should always appear as a uniform black image Test image three is useful for checking the integrity of the data transmitted by the camera If you capture lines and examine the pixel values in the captured lines the values should be exactly as described above 6 4 4 Test Image Four Uniform Gray In test image four all pixels will have a value of 127 when the camera is set for an 8 bit output mode When the camera is set a 10 bit output mode all pixels will have a value of 511 And when the camera is set for a 12 bit output mode all pixels will have a value of 2047 Test image four should appear as a uniform gray image Test image four is useful for checking the integrity of the data transmitted by the camera If you capture lines and examine the pixel v
204. recision 32 bit floating point number See Section 4 2 on page 61 for more information about the line period Field Name Absolute Min Offset 0x0005 Size 4 Bytes Type Read only Description Minimum allowed floating point value for the absolute line period setting This field is updated to reflect limitations caused by the way that any related features are set The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Description Maximum allowed floating point value for the absolute line period setting This field is updated to reflect limitations caused by the way that any related features are set The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Raw Line Period Offset 0x000D Size 4 Bytes Type Read Write Description Writing an integer value to this field sets the line period The allowed range for this value can vary depending on the camera model and how the camera is configured You should check the raw min and raw max fields of this register to determine the allowed range with the current configuration The integer value represents a multiplier and the line period is equal to the value in this field times 0 1 us For example if the value in this field is set to 1500 then Line Period 1500 x 0 1 us Exposure Time 150 us The bytes in this field are
205. ring pixels in the captured line In mathematical terms the line contrast is n last pixel in AOI 1 Line Contrast Pixel Value 4 Pixel Value n first pixel in AOI The line contrast does not include any of the 16 added stamp pixels The line contrast is based only on the pixels within the current AOI see Section 6 2 1 on page 99 Line contrast values are useful when you are adjusting the camera s focus Generally the higher the line contrast value the better the focus Stamp Pixel S16 Stamp pixel S16 is reserved for future use Currently its value will always be 0 6 5 1 Enabling and Setting the Line Stamp You can enable and set the stamp feature with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Stamp Mode parameter in the Stamp parameters group to enable the stamp You use the Stamp Low Pixel Limit parameter and the Stamp High Pixel Threshold parameter to set the low pixel limit and the high pixel threshold By Setting CSRs You enable the stamp feature by writing the appropriate value to the Mode field of the Line Stamp Mode CSR see page 159 You set the low pixel limit by writing a value to the Low Pixel Limit field in the Line Stamp Low Pixel Limit CSR see page 160 You set the high pixel threshold
206. rmulas to determine the maximum allowed line rate Once you have determined the maximum allowed line rate you can easily determine the minimum allowed line period 1 Min Line Period Max Line Rate Basler sprint 65 Exposure Start and Exposure Time Control 4 3 1 Max Segment AOI Pixels Each sensor line in a camera is divided into 2048 pixel segments In cameras equipped with sensors that have 2048 pixels per line each line has only one segment In cameras equipped with sensors that have 4096 pixels per line each line has two segments as shown in Figure 27 Segment 1 Segment 2 re gt e gt moa eaaa ee L Pixel 1 Pixel 2048 L Pixel 2049 Pixel 4096 Fig 27 Segments in Each Line of a 4096 Pixel Sensor When you are setting up the area of interest AOI see Section 6 2 on page 98 on a camera with only one segment in each line all of the pixels included in the AOI will fall into that single segment On these cameras the Max Seg AOI Pixels is simply the number of pixels included in the AOI For example if the AOI starting pixel is set to 33 and the AOI length is set to 512 on an spL2048 39km the Max Seg AOI Pixels will be 512 When you are setting up the AOI on a camera with two segments 4096 pixels in each line the pixels wit
207. rt will frequently request that you e mail copies of these captured images 192 Basler sprint Troubleshooting and Support 8 3 4 RS 644 Serial Communication Use the serial communication troubleshooting charts if you think that there is a problem with RS 644 serial communication or if you have been directed here from another chart Before making or breaking any camera connections always switch off power to the system camera and host PC The RS 644 port used by the camera is located on the frame grabber Check the documentation for your frame grabber Make sure that you have installed all software related to the port and that the port has the following settings Make corrections and then restart 8 data bits no parity 1 stop bit and baud rate 9600 bps Is the port software installed and are the port settings correct your computer Yes Start the Camera Configuration Tool Plus CCT and click on the port selector drop down menu that appears below the menu bar A list will show any RS 644 port s The RS 644 available on the frame grabber RS 644 ports are identified in the list by a name port is working starting with clser followed by a port number Click on an RS 644 port in the list Yes correctly Exit Does a list of camera settings appear this chart No Does a Can t connect to the port because The portis present but the CCT can not access the port the port is in use message appear Yes gt Ma
208. s and the AOI is positioned so that many pixels in the AOI fall into one sensor segment and few pixels fall into the other you can try re positioning your AOI The Max Seg AOI Pixels will be smallest when the AOI is evenly divided across the two segments i e each segment contains the same number of AOI pixels If you find that formula three pixel processing rate is the most restrictive factor you can decrease the AOI length Decreasing the AOI length will increase the maximum line rate yielded by formula three Formula four transmission time will not normally be a restricting factor But if you are using a 2 tap or a 4 tap video data output mode you may find that the transmission time is restricting the line rate In this situation you may be able to switch to an output mode that uses a larger Basler sprint 69 Exposure Start and Exposure Time Control number of taps Using a larger number of taps will reduce the time it takes to transmit the pixel data and will increase the maximum line rate yielded by formula four 70 Basler sprint Video Data Output Modes 5 Video Data Output Modes This section describes the video data output modes available on the camera The video data output mode will determine the format of the pixel data output from the camera and will affect the camera s maximum allowed line rate 5 1 Overview The camera can operate in different video data output modes The video data output mode will determine t
209. s are present the LED outputs the error code that has the highest priority To get more information about the camera s current condition you can check the camera status as described in Section 6 10 on page 127 slow orange flashes LED Description Priority LED is not lit Power to the camera is not present or the input voltage is too low see Section Section 2 5 on page 22 and Section 6 8 on page 124 LED is solid green for This is the normal LED sequence at power on or after a camera reset several seconds flashes orange and then becomes solid orange Solid orange The camera has power and is OK LED flashes with Indicates that the camera is busy performing a normal operation such gradually increasing as generating shading tables When the operation is complete the frequency flashing stops Continuous red flashing An over voltage condition has been detected see Section 6 8 on 1 page 124 highest Continuous fast orange General error Please contact Basler support 2 flashing Continuous slow orange One of the following errors is present 3 flashing No FPGA firmware is available Firmware available but error when booting the FPGA Please contact Basler support Repeated pattern of 6 An erroneous parameter set has been loaded 4 slow orange flashes Load another parameter set Repeated pattern of 5 Parameter error For example a parameter is set out of range or toa 5 value that is not val
210. s not set up correctly haloing in the transport direction will result In this case the halos will be constant in size Conveyor Travel The conveyor must travel in a straight line If the conveyor motion is not straight each line in the sensor will scan a different area of the object This situation will cause haloing that is perpendicular to the transport direction The halos will vary in size Sensor Perpendicularity The sensor lines in the camera must be perpendicular to the conveyor s line of travel If the sensor lines are not perpendicular to the line of travel a slightly different area of the object will fall on each line This situation will cause haloing that is perpendicular to the transport direction The halos will be constant in size Sensor Conveyor Parallelism The face of the sensor in the camera and the surface of the conveyor should be in parallel planes This condition should be met to ensure that all of the pixels in the sensor lines view the object at the same magnification If the camera is positioned so that the sensor is rotated on its short axis you will see haloing in the transport direction And if the camera is positioned so that the sensor is rotated on its long axis you will see haloing that is perpendicular to the transport direction If your system design will not allow you to achieve sensor to conveyor parallelism a telecentric lens setup can be used to overcome the problems that this will cause A te
211. s output from the camera by 1 and decreasing the integer value by 1 will decrease the digital values output from the camera by 1 The bytes in this field are interpreted as follows Byte 1 Low byte of the raw value Byte 2 High byte of the raw value Field Name Raw Min Offset 0x000F Size 2 Bytes Type Read only Description Minimum allowed integer value for the raw gain setting The bytes in this field are interpreted as follows Byte 1 Low byte of the min value Byte 2 High byte of the min value Field Name Raw Max Offset 0x0011 Size 2 Bytes Type Read only Description Maximum allowed integer value for the raw gain setting The bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byte 2 High byte of the max value 154 Basler sprint Configuring the Camera Area of Interest Starting Pixel CSR Register Base Address 0x1000 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Starting Pixel Offset 0x0001 Size 2 Bytes Type Read Write Description Writing an integer to this field sets the starting pixel for the area of interest AOI feature The area of interest starting pixel can be set t
212. s the right characteristics and is not too long It is extremely important to use the proper cables when you are working with Camera Link based cameras No gt Exit this Use an ohm meter to check each wire to see of it is broken or shorted to any of the other cha wires in the cable After you checked the cables is the problem still present Yes If extra hardware is available try to locate the problem by substitution Substitute N Exit this only one piece of hardware at a time and retry the system after each substitution 9 chart After you finished making substitutions is the problem still present Yes Check the camera file that you are using with your frame grabber see the Installation and Setup Guide for Camera Link Cameras Make sure that it is the correct file for your Basler sprint model and current video data output mode Be aware that sometimes different camera files must be used depending on which of the camera s features you have enabled No Exit this Camera files should be available on your frame grabber supplier s website chart After you checked the camera file is the problem still present Yes Contact Basler Technical Support The contact numbers appear on the front pages of this manual Before you call for support be sure to make note of the camera settings and the frame grabber settings you are using You should also have a captured live image and a captured test image available Technical suppo
213. serial connection see Section 2 9 on page 29 and Section 7 3 on page 175 28 Basler sprint Physical Interface 2 9 RS 644 Serial Communication The camera is equipped for RS 644 serial communication via a serial port integrated into the frame grabber as specified in the Camera Link standard The RS 644 serial connection in the Camera Link interface is used to issue commands to the camera for changing modes and parameters The serial link can also be used to query the camera about its current setup The Basler Camera Configuration Tool Plus CCT is a convenient graphical interface that can be used to change camera modes and parameters via the serial connection The configuration tool is installed on your host PC as described in the Installation and Setup Guide for Camera Link Cameras The guide is available in the downloads section of the Basler website www basler vc com Basler has also developed a binary read write command protocol that can be used to change camera modes and parameters via the serial connection from within your own application software using the API delivered with the frame grabber See Section 7 3 on page 175 for details on the binary read write command protocol 2 9 1 Making the Serial Connection Frame grabbers compliant with the Camera Link specification are equipped with a serial port integrated into the Camera Link interface that can be used for RS 644 serial communication The characteristics of the serial port ca
214. ss field in little endian This field indicates the CSR address to which the data bytes will be written The little endian values of 0x01 0x18 in the address field translate to an address of 0x1801 If you check the table on page 158 you will find that 0x1801 is the address for the Mode field the Test Image Mode CSR The address for any field within a CSR is equal to the base address for the CSR plus the offset for the CSR field In this case the base address of the Test Image Mode CSR is 1800 and the offset for the Mode field is 0001 This results in an address of 1801 for the Mode field 0x01 is the Data field This field contains the data that must be written to the register in order to activate Test Image One see the table on page 158 0x1D is the BCC field See Section 7 3 2 3 on page 182 for instructions on calculating a BCC Note that the use of a BCC is optional In this example we assume that a BCC is used 0x03 is the BFE field The value in the BFE field is always 0x03 Basler sprint 181 Configuring the Camera 7 3 2 3 Calculating the Block Check Character The use of a block check character BCC in camera commands is optional see Section 7 3 1 on page 176 If you choose to use a BCC the BCC will be the exclusive or sum XOR sum of the bytes in the FTF field the DataLen field the Address field and the Data field of the command frame For the write command example shown in Section 7 3 2 2 on page 181 the bloc
215. ss line B first and line A second you should use the Line B First mode The maximum line acquisition rate when the camera is set for a dual line mode is 140 kHz at full resolution If the AOI feature is used the maximum line acquisition rate may be higher See Section 6 2 on page 98 and Section 4 3 on page 64 for more information Two ExSync Signal Cycles Required If you have the camera set for a dual line max 140 kHz acquisition mode and are you using an ExSync signal to trigger line acquisition you should be aware that two cycles of the ExSync signal are required to acquire and transmit the two lines in the sensor Assuming that you have the camera set for the Line A First mode the first cycle of the ExSync signal will trigger the start of image acquisition i e exposure on BOTH lines in the sensor The exposure time you are using will apply to BOTH lines time the start of pixel data readout for both lines time the start of transmission of line A pixel data Basler sprint 33 Line Acquisition Modes The second cycle of the ExSync signal will be used to time the start of transmission of line B pixel data The time line shown in Figure 10 illustrates this situation when an ExSync signal is used to trigger line acquisition the camera is set for programmable exposure and the camera is set for Dual Line Max 140 kHz Line A First The figure shows what occurs through two cycles of the ExSync signal For more informa
216. ster Bulk Data Control and Status Registers these registers let you store and recall sets of values that the camera uses as a group Section 7 2 3 on page 167 explains bulk data and the bulk data control and status registers in more detail It also lists the bulk data registers in the camera and describes the function of each register A special binary read write command protocol is used to read from and write to the registers in the camera Read and write commands are sent to the camera via the RS 644 serial link between the camera and the frame grabber Section 7 3 1 on page 176 describes the binary read write command protocol in detail and also provides information on using the serial link Sample code that illustrates how to use the read write commands is available from Basler see Section 7 4 on page 183 Basler sprint 135 Configuring the Camera 7 2 1 Inquiry Registers Inquiry registers contain basic information about the camera and information about the camera s current status Each inquiry register contains one or more fields and each field has an assigned address within the camera s memory space By using a binary read command you can read the data in a field and get information about the camera The address for any field within a register is equal to the register base address plus the offset for the field For example the Vendor Information Inquiry Register see below has a Vendor Name field with an address of 0x0101 th
217. sure modes can be used but only if the conveyor speed is 100 stable If the conveyor speed is not stable unacceptable variations in exposure time will result 3 9 2 System Design Recommendations When you are using time delayed line summing or time delayed line averaging for a given point on the Halos No Halos object to be captured correctly its image must fall precisely on line A in the sensor and then precisely on line B in the sensor If delayed line summing or averaging is being done correctly the captured images will be sharp and clear as shown in the right side of Figure 21 If there are variations in the positioning of the image when it is captured by line A and by line B the captured images will include gray halos as shown in the left side of Figure 21 Transport IN Direction F A list of system design requirements is given below When these design requirements are met the image will not have halos Fig 21 The Halo Effect Position Encoder You should use a position encoder to monitor the movement of the system s conveyor You should also use the encoder output to trigger line acquisition so that a given area of an object on the conveyor is acquired when its image falls precisely on line A and precisely on line B If you do not use a position encoder haloing in the transport direction can result and the halos will vary in size 52 Basler sprint Line Acquisition Modes If an encoder is used but it i
218. t you were using when the problem occurred To make a copy of the parameters start the CCT select the File menu and click Dump Current Settings to File Send the generated file to Basler Tech support If you cannot access the camera please try to state the following parameter settings Video data output mode Exposure time control mode Exposure time Gain Offset Frame rate 13 Live image test image If you are having an image problem try to generate and save live images that show the problem Also generate and save test images Please save the images in BMP format zip them and send them to Basler Technical Support 196 Basler sprint Revision History Revision History Doc ID Number Date Changes AW00016201000 5 Dec 2006 Draft version for review only AW00016202000 1 Feb 2007 Preliminary version Applies to prototypes only AW00016203000 11 Jul 2007 First release covering production cameras AW00016204000 25 Oct 2007 Updated the camera version ID number stated in Section 1 1 on page 1 Updated the specification tables in Section 1 2 on page 2 Updated the warranty precautions on page 13 Added information about the switchable camera link clock speed to Section 2 8 4 on page 27 Added information about a new dual line acquisition mode to Section 3 1 on page 31 and Section 3 3 on page 33 Updated the line valid delay values in Table 11 on page 78
219. t setting The value in this field is a standard IEEE 754 single precision 32 bit floating point number Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Description Maximum allowed floating point value for the absolute offset setting The value in this field is a standard IEEE 754 single precision 32 bit floating point number Basler sprint 153 Configuring the Camera Field Name Raw Offset Offset 0x000D Size 2 Bytes Type Read Write Description Writing an integer value to this field sets the offset The allowed range for this value can vary depending on how the camera is configured You should check the raw min and raw max fields of this register to determine the allowed range with the current configuration The DN of offset that the camera will apply is determined as follows If the camera is set for an 8 bit video data output mode increasing the integer value by 16 will increase the digital values output from the camera by 1 and decreasing the integer value by 16 will decrease the digital values output from the camera by 1 If the camera is set for a 10 bit video data output mode increasing the integer value by 4 will increase the digital values output from the camera by 1 and decreasing the integer value by 4 will decrease the digital values output from the camera by 1 If the camera is set for a 12 bit video data output mode increasing the integer value by 1 will increase the digital value
220. t some CSRs have a parameter that can be set by writing a value to a raw field or by writing a value to an absolute field You will find this to be true for the Exposure Time Line Period Gain and Offset parameters The common characteristic among these parameters is that they are scalar i e they can be set to a value within a continuous scale rather than just a small set of individually defined values Any one of these scalar parameters can be set on a raw scale or on an absolute scale A raw scale is simply a range of integer values that has no defined units An absolute scale is a range of floating point values that has defined units Consider the Gain parameter as an example Setting the Raw Gain If you set the gain by writing a value to the Raw Gain field of the Gain CSR you can write any integer value from 1024 to 16383 decimal Writing an integer value to the raw register sets the gain but it doesn t directly tell you how many dB of gain you will be getting from the camera at that setting To determine the dB of gain you are getting at a particular raw gain setting you must use the formula ettin Gain in dB 20x 10940 Se Basler sprint 143 Configuring the Camera Setting the Absolute Gain If you set the gain by writing a value to the Absolute Gain field of the Gain CSR you can write a floating point value from 12 04 to 12 04 decimal in increments of 0 01 Writing a floating point val
221. tatus field of the Test Image Mode CSR is 0x1800 a 16 bit address You are free to use any supported AddrLen as long as the CSR address will fit into it 0x01 is the DataLen field This field indicates the data size in bytes that will be transferred by using this read command As shown in the table on page 158 the data size for the Status field of the Test Image Mode CSR is 1 byte Note that for read commands the data size specified in the DataLen field represents the number of bytes of data that you expect to see in the response frame No data bytes are actually included in the read command 0x00 0x18 is the Address field in little endian This field indicates the CSR address from which the data bytes will be read The little endian values of 0x00 0x18 in the address field translate to an address of 0x1800 If you check the table on page 158 you will find that 0x1800 is the address for the Status field of the Test Image Mode CSR 0x15 is the BCC field See Section 7 3 2 3 on page 182 for instructions on calculating a BCC Note that the use of a BCC is optional In this example we assume that a BCC is used 0x03 is the BFE The value in the BFE field is always 0x03 180 Basler sprint Configuring the Camera 7 3 2 2 Write Command This section includes a text description the hex digits included in a command message used to write a value of 0x01 to the Mode field of the Test Image Mode CSR see page 158 The intent o
222. ter than 25 VDC can seriously damage the camera Making or Breaking Connections Incorrectly Can Damage the Camera Be sure that all power to your camera and to your host PC is switched off before you make or break connections to the camera Making or breaking connections when power is on can result in damage to the camera or to the frame grabber If you can t switch off the power be sure that the input power plug is the last connector that you plug into the camera when making connections and the first connector that you unplug from the camera when breaking connections 15 Physical Interface 2 1 General Description of the Connections The camera is interfaced to external circuitry via connectors located on the back of the housing one or two 26 pin 0 050 inch Mini D Ribbon MDR female connectors used to transfer pixel data control data and configuration data The number of MDR connectors present on the camera varies by camera model as shown in Table 3 a 6 pin micro miniature push pull receptacle used to provide power to the camera An LED located on the back of the camera is used to indicate power present and to display the camera s status Figure 7 shows the connectors and the LED Model MDR Connectors Camera Link Configuration spL2048 39km spL2048 70km MDR Conn 1 only Base spL4096 20km spL2048 140km spL4096 39km MDR Conn 1 and MDR Conn 2 Medium full spL4096 70km spL4096 140km Ta
223. the correct port the list of parameter settings should appear Did the list of parameter settings appear Yes Are you controlling the camera with an ExSync signal or is the Free run camera in free run Did you set up free run using the CCT or with binary commands I ExSync signal Binary CCT Commands Check the setup on your frame grabber and make sure that the ExSync signal period is not too short The period of the ExSync signal must not be lower than the calculated minimum as explained in Correct Section 4 3 on page 64 You can also L No gt the access the line period CSR see settings page 149 to check the minimum On many frame grabbers the period of the ExSync signal is adjusted by changing a setting for the line rate Your line rate should not exceed 1 line period Is the ExSync period OK Check to make sure that The exposure time is set no lower than 2 0 us The line period is set no lower Correct than the minimum stated in the No gt the line period CSR see page 149 Are the settings OK settings Yes Go to the interfacing ubleshooting chart Switch on the test image one No Can the test image be seen tro Check your exposure setting The exposure time must be at Correct y least 1 2 us less than the the e5 ExSync period setting Is the exposure OK Replace the camera Go to the Switch on test image one interfacing
224. tion about triggering line acquisition and controlling exposure see Chapter 4 on page 57 Programmed Exposure Time Line A and Line B i Acquired Line A and Line B are Read Out Line A Data Line B Data Transmitted l Transmitted to the Grabber i to the Grabber Line B Data Stored in Buffer Time From Rise of ExSync to Start of Data Transmission Will Be Equal Fig 10 Dual Line Acquisition with ExSync Programmable Exposure and Line A First To better understand the concept of dual line acquisition consider the example that is illustrated in Figure 11 through Figure 14 This example describes dual line acquisition line A first when an ExSync signal and the programmable exposure control mode are used The example looks at four contiguous points on an object moving past the camera Each point represents the area on the object that will be captured by one line in the sensor when a line acquisition is performed As you look at the figures notice that on the ExSync cycles where an acquisition is performed line A will capture one point on the object and line B will capture a different point on the object Also notice that on these cycles the pixel data for line A will be transmitted while the pixel data for line B will be buffered On the ExSync cycles where acquisition is not performed the buffered pixel data for line B will be transmitted 34 Basler sprint Line Acquisition Modes ExSync Cycle 1 Pixel data for p
225. tion without horizontal binning enabled N 4096 on 4k models and 2048 on 2k models N At full resolution with horizontal binning enabled N 2048 on 4k models and 1024 on 2k models If the AOI feature is used N will be determined by the AOI settings Fig 32 Four Tap Modes with Edge or Level Controlled Exposure Basler sprint 83 Video Data Output Modes End of a Programmed Time y p Line Valid Delay see Table 14 on page 85 Pixel Clock Pixel Data X X X K1X 5 XI XK 13K 17 XK 21 KX 25 XK N 27XN 23 XN 19XN 15 XN 11 X N 7 X N 3 12 10 et ee ata XOX C XEXEXK IK 1K 18K 2K X IEN KKK ae Pixel Data X X X X3 XIXUX5X1IX2B3X2X XN ZXN AXN 17XN 13XN 9X N 5X N 1X X X X 12 10 ans Pixel Data X X X WK 4X BK 12K 16 X 20 X 24 X 28 X XN AXN 2XN 16XN 12XN 8XN 4X NX X X X 12 10 NETS Timing diagrams are not to scale N At full resolution without horizontal binning enabled N 4096 on 4k models and 2048 on 2k models N At full resolution with horizontal binning enabled N 2048 on 4k models and 1024 on 2k models If the AOI feature is used N will be determined by the AOI settings Fig 33 Four Tap Modes with Programmable Exposure 84 Basler sprint Video Data Output Modes The table below shows the line valid delay see Figure 32 on page 83 and Figure 33 on page 84 when the camera is set for a 4 tap video data output mode Note that the delay depends on the line acquisition mode setting th
226. to the User Shading Values File 108 6 3 5 Downloading a Shading Values File to Your PC 00 109 6 3 6 Uploading a Shading Values File to Your Camera 0 110 6 4 Pest linages 2 fv wise out eae dee ween G2 ew aioe eee ee ade eee ike Beets 111 6 4 1 Test Image One Fixed Gradient n a naunan aaa 112 6 4 2 Test Image Two Moving Gradient nusa saa aaaea 113 6 4 3 Test Image Three Uniform Black snaa anaana aaan 114 6 4 4 Test Image Four Uniform Gray sssusa saaana 114 65 ENSAM ua cs chGiet bidet dete ee E a dew abe e e Oe ay Bel ed EE 115 6 5 1 Enabling and Setting the Line Stamp 0 0 0 c eee eee eee 119 6 6 Lookup fable ss ein Sa Oe So dee ee eh a eS E ee hl 120 6 7 Imaging Sensor Temperature 0 ec tee 123 6 8 Input Power Undervoltage and Overvoltage Protection 5 124 6 9 Error Condition Detection 0 eee 125 6 9 1 Imaging Sensor Overtemperature Condition Detected 125 6 9 2 Input Power Overvoltage Condition Detected 2 126 6 10 Camera Status Checks 0 0 0 0 ec tees 127 6 11 Gamera Reset sponini eer Lek Alte eke hate e 3 na a aed Gee Re 127 6 42 Contiguration Sets a 5 sees be ete he eee ead oe eee SMe E 128 6 12 1 Saving the Work Set to a User Set File 02200002000 129 6 12 2 Activating a User Set File or the Factory Set File 130 6 12 3
227. tp Awww basler vc com Basler sprint 183 Configuring the Camera 184 Basler sprint Troubleshooting and Support 8 Troubleshooting and Support This section outlines the resources available to you if you need help working with your camera It also provides some basic troubleshooting information that you can use to solve problems 8 1 Tech Support Resources The troubleshooting resources in this section of the manual will help you to find the cause of many common problems If you need more assistance you can contact the Basler technical support team for your area Technical support contact information is located in the title pages of this manual If you do decide to contact technical support please take a look at the form that starts on page 195 before you call Filling out this form will help make sure that you have all of the information the tech support team needs to help you with your problem You will also find helpful information such as frequently asked questions downloads and technical notes at our website www basler vc com Basler sprint 185 Troubleshooting and Support 8 2 Fault Finding Using the Camera LED During bootup the camera loads firmware and performs initial self checks Once bootup is complete the camera performs a continuous series of self checks If an error condition is detected the LED will begin to flash The number of flashes indicate the detected error as shown in Table 22 If several error state
228. two least significant bits output from the camera s ADCs are dropped and only the 10 most significant bits of data per pixel are transmitted 2 Tap 8 Bit Output Mode Operation in 2 tap 8 bit mode is similar to 2 tap 12 bit mode In 8 bit mode however the four least significant bits output from the camera s ADCs are dropped and only the 8 most significant bits of data per pixel are transmitted Note The video data output mode that you select may affect the camera s maximum allowed line rate See Section 4 3 on page 64 The data sequence outlined below along with Figure 30 on page 76 and Figure 31 on page 77 describe what is happening at the inputs to the Camera Link transmitters in the camera Basler sprint 73 Video Data Output Modes Video Data Sequence for 2 Tap Output Modes When the camera is not transmitting valid data the line valid and data valid bits sent on each cycle of the pixel clock will be low Once the camera has completed an exposure there will be a delay while data is read out of the sensor When readout is complete the camera will begin to transmit pixel data On the clock cycle where valid pixel data transmission begins the line valid and data valid bits both become high Two data streams DO and D1 are transmitted in parallel during this clock cycle On this clock cycle data stream DO will transmit data for pixel 1 in the line Data stream D1 will transmit data for pixel 2 Depending on the video
229. ue to the absolute register sets the gain directly in dB For example if the absolute gain field is set to 3 42 then the camera would be set for 3 42 dB of gain Note You do not need to set both the raw field and the absolute field Setting just one of the fields is sufficient and you can choose to set whichever field best suits your needs 144 Basler sprint Configuring the Camera 7 2 2 2 Feature Control and Status Register Details Camera Link Clock Speed CSR Register Base Address 0x3900 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Clock Speed Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field sets the clock speed for the Camera Link interface 0x06 40 MHz clock speed Ox0e 80 MHz clock speed See Section 2 8 4 on page 27 for more information about the camera link clock speed Line Acquisition Mode CSR Register Base Address 0x3600 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all relat
230. ure 9 25 0 05 us 12 70 0 05 us Level Controlled Exposure 9 25 0 05 us 12 70 0 05 us Table 14 Line Valid Delay with the Camera Set for a 4 Tap Video Data Output Mode Basler sprint 85 Video Data Output Modes 5 2 3 8 Tap 8 Bit Output Mode In 8 tap 8 bit output mode on each pixel clock cycle the camera transmits data for eight pixels at 8 bit depth a line valid bit and a data valid bit In the 8 tap output mode the camera uses the output ports on Camera Link Transmitters X Y and Z to transmit pixel data a line valid bit a data valid bit and the Camera Link pixel clock The assignment of the bits to the output ports on Camera Link Transmitters X Y and Z is as shown in Table 15 on page 88 Table 16 on page 89 and Table 17 on page 90 respectively The Camera Link clock is used to time the transmission of acquired pixel data As shown in Figure 34 on page 91 and Figure 35 on page 92 the camera samples and transmits data on each rising edge of the Camera Link clock The Camera Link pixel clock frequency is as stated in Section 2 8 4 on page 27 The line valid bit indicates that a valid line is being transmitted The data valid bit indicates that valid pixel data is being transmitted Pixel data is only valid when the line valid and data valid bits are both high Note The video data output mode that you select may affect the camera s maximum allowed line rate See Section 4 3 on page
231. used to check the camera s basic functionality and its ability to transmit an image via the video data cables Test images are especially useful for service purposes and for failure diagnostics In test mode the image is generated with a software program and the camera s digital devices and does not use the optics imaging sensor or ADCs Four test images are available Guidelines When Using Test Images When using a test image take the following guidelines into account If the camera is set for an exposure mode that uses an ExSync signal the ExSync signal must be present and must toggle in order to output a line on the test image Multiple transitions of the ExSync signal will produce a two dimensional image as shown in Figure 39 on page 112 or Figure 41 on page 113 If the camera is set for free run each cycle of the camera s internal control signal will trigger the output of a line on the test image The length of the exposure time has no effect on test images Enabling Test Images You can enable a test image with the Camera Configuration Tool Plus CCT or by using binary write commands from within your own application to set the camera s control and status registers CSRs With the CCT With the CCT see Section 7 1 on page 134 you use the Test Image Mode parameter in the Output Mode parameters group to enable a test image By Setting CSRs You enable a test image by writing the appropriate value to the Mode field
232. value for pixel 1 in line A will be added to the value for pixel 1 in line B The value for pixel 2 in line A will be added to the value for pixel 2 in line B The value for pixel 3 in line A will be added to the value for pixel 3 in line B And so on The summed values are transmitted out of the camera as though they were from a single captured line In essence this process acquires each line on the object twice sums the captured data and reports the result as if it was from a single acquisition Line summing can be useful if you want to decrease the noise level in the pixel values output from the camera Using line summing will result in an increase of approximately 3 dB in the signal to noise ratio To better understand the concept of time delayed line summing consider the example that is illustrated in Figure 16 through Figure 19 The example looks at four contiguous points on an object moving past the camera Each point represents the area on the object that will be captured by one line in the sensor when a line acquisition is performed As you look at the figures notice that when each acquisition is performed line A will capture one point on the object and line B will capture a different point on the object Line A Delayed or Line B Delayed When you use time delayed line summing you have two choices time delayed line summing with line A delayed or time delayed line summing with line B delayed You should use time delayed li
233. variation in the pixel values output from the camera when the camera is capturing lines in darkness This type of variation is know as Dark Signal Non uniformity DSNU DSNU shading correction corrects for the variations caused by DSNU PRNU Shading Correction When a line scan camera with a digital sensor captures a line with the camera viewing a uniform light colored target in bright light all of the pixel values in the line should be near their maximum gray value and they should be equal In practice slight variations in the performance of the pixels in the sensor variations in the optics and variations in the lighting will cause some variation in the pixel values output from the camera This type of variation is know as Photo Response Non uniformity PRNU The PRNU shading correction feature on the camera can correct for the variations caused by PRNU The Factory Shading Value File and the User Shading Value File To perform DSNU and PRNU shading correction the camera needs a set of DSNU and PRNU shading correction values The camera has two files in its nonvolatile memory where it stores the values that it needs to perform shading correction The first shading values file is called the factoryshading file This file contains a complete collection of the values needed to perform both DSNU shading correction and PRNU shading correction The values in this file are generated during the camera s factory setup procedure and they essentia
234. will require a 1 17 86 magnification and at this magnification the field of view of each sensor line will be 731 55 mm If you choose to use 3 encoder steps to move the image 10 um you will require a magnification of 1 27 03 and at this magnification the field of view of each sensor line will be 1102 92 mm Since our conveyor is 850 mm wide and since it is usually more acceptable to have a field of view slightly larger than the conveyor assume that we choose option 2 Step 4 Select an appropriate lens and determine the mounting distance for your camera You can contact Basler Technical Support if you need help with this procedure Step 5 Make sure that the line acquisition mode is set correctly In this case it would be set to delayed line summing line A delayed This setting is required because the image of the object will pass line A first Step 6 Capture images 56 Basler sprint Exposure Start and Exposure Time Control 4 Exposure Start and Exposure Time Control This section describes the methods that can be used to trigger the start of exposure and control the length of exposure for each acquisition Exposure start and exposure time can be controlled via an external trigger signal ExSync applied to the camera The camera can also operate in free run In free run the camera generates its own internal control signal and does not require an ExSync signal 4 1 ExSync Controlled Operation 4 1 1 Basics of ExSync Co
235. will transmit data for pixel 13 Data stream D5 will transmit data for pixel 14 Data stream D6 will transmit data for pixel 15 And data stream D7 will transmit data for pixel 16 The pixel data will be at 8 bit depth On the next cycle of the pixel clock the line valid and data valid bits will both be high On this clock cycle data stream DO will transmit data for pixel 17 in the line Data stream D1 will transmit data for pixel 18 Data stream D2 will transmit data for pixel 19 Data stream D3 will transmit data for pixel 20 Data stream D4 will transmit data for pixel 21 Data stream D5 will transmit data for pixel 22 Data stream D6 will transmit data for pixel 23 And data stream D7 will transmit data for pixel 24 The pixel data will be at 8 bit depth This pattern will continue until all of the pixel data for line one has been transmitted After all of the pixel data for the line has been transmitted the line valid and data valid bits both become low indicating that valid pixel data is no longer being transmitted Figure 34 on page 91 shows the data sequence when the camera is operating in edge controlled or level controlled exposure mode Figure 35 on page 92 shows the data sequence when the camera is operating in programmable exposure mode Basler sprint 87 Video Data Output Modes MDR Conn 1 Transmitter X Port Camera Frame Bit Ass
236. work set to a user set file Section 7 3 1 on page 176 explains using read write commands Basler sprint 129 Features 6 12 2 Activating a User Set File or the Factory Set File As explained on page 128 a factory configuration set containing an optimized set of parameters is created when the camera is manufactured The factory set is saved in a permanent file in the camera s non volatile memory As explained on page 129 you can also save up to four different user configuration sets to files in the camera s non volatile memory Assuming that you have saved one or more user set files you can choose to make one of the saved user set files or the factory set file the activated file When you activate a file two things happen The values from the activated file are immediately copied into the work set in the camera s volatile memory The camera will now actively use the configuration values that were copied into the work set A link is created between the activated file and the camera s volatile memory The values in the activated file will automatically be copied into the work set whenever the camera is powered up or reset Assume for example that the UserSet01 file is the activated file In this case when the camera is powered on or reset the values from the UserSet01 file will be copied into the volatile memory of the camera and will be the actively used parameter settings You can activate a saved user set fil
237. y register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Lookup Table Value Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer to this field enters a value into the camera s lookup table at the index currently specified by the lookup table index CSR See Section 6 6 on page 120 for more information about the lookup table feature Field Name Min Offset 0x0002 Size 1 Byte Type Read only Description Minimum allowed integer value for a lookup table value Field Name Max Offset 0x0003 Size 1 Byte Type Read only Description Maximum allowed integer value for a lookup table value Field Name Increment Offset 0x0004 Size 1 Byte Type Read only Description An integer value indicating the increment for the lookup table value 164 Basler sprint Configuring the Camera Camera Reset CSR Register Base Address 0x0B00 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this inquiry register 0x00 The register is not available 0x01 The register is available and all related settings are OK 0x80 A value in the register is set out of range Field Name Reset Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer value of 1 0x01 to this
Download Pdf Manuals
Related Search
Related Contents
User Manual of Tie Camera JVE-3305 Abonnements Betriebsanleitung VEGAPULS 69 DIAPro ArtNet to DMX 44 MX-1200D Cooper Bussmann 315-WH-Series WirelessHART User Manual ERE 220 - Jungheinrich Ricoh 6513 All in One Printer User Manual Copyright © All rights reserved.
Failed to retrieve file