background image

Basic Operation and Features

3-32

Basler A400k

DRAFT

3.8.4.4 Enabling/Disabling the AOI List

Once you have uploaded an AOI list hex file to the camera, you can enable the sequencer. To
enable the sequencer, that is, run the AOI list, AOI trigger mode 1, 2, or 3 must be set. In modes
1 and 2, the ExSync signal triggers image capture. Mode 3 activates free-run. To disable the
feature, mode 0 must be selected (default).

Mode 0 = 

Disabled

:

Disables the AOI list. Images are captured using the global area of interest, exposure time, frame
period and parameter set cache parameter settings. 

Mode 1 = 

Image per Trigger

:

Each rising edge of the ExSync signal triggers an image capture. If this mode is applied to the
example shown in Figure 

3-15

, on the first rising edge of the ExSync signal, the image will be

captured according to the area of interest settings that are in first position in the AOI list. On the
next three rising edges of the ExSync signal, three images will be captured according to the area
of interest settings that are in second position in the AOI list since 3 runs have been defined, and
so on.
In this mode, the delay time settings have no effect on the image capture, that is, there will be no
delay between the rising edge of the ExSync signal and the start of exposure.

Mode 2 = 

List per Trigger

:

Each rising edge of the ExSync signal triggers execution of the complete AOI list. If this mode is
applied to the example shown in Figure 

3-15

 on page 3-30, on the first rising edge of the ExSync

signal, seven images will be captured according to the area of interest settings in the AOI list, that
is, the first image will be captured according to the area of interest settings in first position, the
next three images will be captured according to the area of interest settings in second position,
and so on. The seventh image will be captured according to the area of interest settings in fifth
position and then, image capture will be stopped. On the rising edge of the next ExSync signal,
the whole sequence will be done again, and so on.
In this mode, the delay time settings have an effect, that is, there will be the defined delay between
the end of exposure of the previous image and the start of exposure of the next image.

Mode 3 =

 Free-run

:

The AOI list is started, run and repeated non-stop. After the last position in the AOI list is done,
the sequence restarts with the first position, and so on. In this mode, the delay time settings have
an effect, that is, there will be the defined delay between the end of exposure of the previous
image and the start of exposure of the next image.

You can set mode 1, 2, 3 or 4 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 

4.1

), you use the AOI List Trigger Mode setting in the AOI List

parameter group to set disable the use of the AOI list or select the trigger mode.

By Setting CSRs

You can set mode 1, 2, 3 or 4 by writing a value to the Mode field of the Programmable AOI
Sequencer CSR (see page 

4-30

). 

See Section 

4.2.2

 for an explanation of CSRs. See Section 

4.3.1

 for an explanation of using read/

write commands.

Summary of Contents for A400K

Page 1: ...Basler A400k USER S MANUAL Document Number DA00062410 Release Date 27 September 2007 ...

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

Page 3: ...63 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 ...

Page 4: ......

Page 5: ...2 7 2 2 2 Power Cable 2 7 2 3 Camera Link Implementation in the A400k 2 8 2 4 Input Signals 2 12 2 4 1 ExSync Controls Frame Readout and Exposure Time 2 12 2 4 2 ExFlash from the Frame Grabber 2 12 2 5 Output Signals 2 13 2 5 1 Pixel Clock 2 13 2 5 2 Line Valid Bit 2 13 2 5 3 Frame Valid Bit 2 13 2 5 4 Video Data Bit Assignments 2 14 2 5 5 Video Data Output for the A402k 2 21 2 5 6 Video Data Outp...

Page 6: ...Moving Objects 3 9 3 5 Gain and Offset 3 11 3 5 1 Gain 3 11 3 5 1 1 Setting the Gain 3 11 3 5 2 Offset 3 12 3 5 2 1 Setting the Offset 3 12 3 6 Shading Correction 3 13 3 6 1 Column FPN Shading Correction 3 13 3 6 2 DSNU Shading Correction 3 15 3 6 3 PRNU Shading Correction 3 17 3 6 4 Guidelines When Using Shading Correction 3 19 3 7 Digital Shift 3 20 3 7 1 Digital Shift in 10 Bit Output Mode 3 20...

Page 7: ...Disabling Parameter Set Cache 3 46 3 16 Parameter Validation 3 47 3 17 Checking the Camera Status 3 47 3 18 Status LED 3 47 3 19 Resetting the Camera 3 48 4 Configuring the Camera 4 1 Configuring the Camera with the Camera Configuration Tool Plus CCT 4 2 4 1 1 Opening the Configuration Tool 4 2 4 1 2 Closing the Configuration Tool 4 2 4 1 3 Configuration Tool Basics 4 2 4 1 4 Configuration Tool He...

Page 8: ... Considerations 5 1 Camera Dimensions and Mounting Facilities 5 1 5 2 F Mount Adapter Dimensions 5 3 5 3 Positioning Accuracy of the Sensor Chip 5 4 6 Troubleshooting 6 1 Fault Finding Using the Camera LED 6 1 6 2 Troubleshooting Charts 6 3 6 2 1 No Image 6 3 6 2 2 Poor Quality Image 6 5 6 2 3 Interfacing 6 6 6 2 4 RS 644 Serial Communication 6 7 6 3 Before Calling Basler Technical Support 6 8 Rev...

Page 9: ...omplies with the Camera Link standard Industrial housing manufactured with high planar parallel and angular precision 1 1 Document Applicability This User s Manual applies to A400k cameras with a camera version ID number of 05 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 number...

Page 10: ...ls A402kc A403kc A404kc Throughout the manual the camera will be called the A400k Passages that are only valid for a specific version will be so indicated Throughout the manual the statements relating to the monochrome versions also apply to the color versions The color versions will specifically be referred to only when necessary L You can also access the camera version ID number by using binary ...

Page 11: ...RNU Photo Response Non uniformity Typically 1 rms according to the sensor manufacturer s specification Lower if PRNU shading correction is used DSNU Dark Signal Non uniformity 0 1 rms if no DSNU shading correction is used Lower if DSNU shading correction is used Kdrk Dark Current Tem peratureCoefficient 100 8 C Pixel Clock Speed 50 MHz Frame Rate at full resolution 24 fps progressive scan 48 fps p...

Page 12: ...ntrolled level controlled or programmable Gain and Offset Programmable via the frame grabber via a serial link Connectors All versions one 26 pin female MDR connector data one 6 pin Hirose HR connector power one 4 pin Hirose HR connector flash trigger A403k A403kc A404k A404kc second 26 pin female MDR connector data Power Require ments 12 VDC 10 Max 6 5 W 12 VDC 12 VDC 10 Max 7 0 W 12 VDC 12 VDC 1...

Page 13: ...ras Peak at 46 at 620 nm Figure 1 3 Color Quantum Efficiencies for A400kc Cameras 0 5 10 15 20 25 30 35 40 45 50 55 60 400 500 600 700 800 900 1000 Wavelength nm Quantum Efficiency 0 5 10 15 20 25 400 450 500 550 600 650 700 Wave Length nm 350 750 800 30 35 MV 40 COLOR Quantum Efficiency Blue Green Red ...

Page 14: ...ht source characteristics To obtain best performance regarding the camera s blooming smearing and dark signal non uniformity characteristics use of a dielectric IR cut off filter is recommended The filter should transmit in a range of 400 nm to 700 720 nm and it should cut off from 700 720 nm to 1100 nm ...

Page 15: ... Allow sufficient air circulation around the camera to prevent internal heat build up in your system and to keep the camera housing temperature during operation below the maximum shown above Provide additional cooling such as fans or heat sinks if necessary L You can read out the camera s inner temperature via the temperature register page 4 8 The maximum recommended inner temperature is 65 C 149 ...

Page 16: ...thylated alcohol Because electrostatic discharge can damage the CMOS 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 volatile solvents such as benzine and thinners they...

Page 17: ... to indicate power present and signal integrity See Section 6 1 for details Figure 2 1 shows the connectors and the LED Caution Be sure that all power to your system 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 If you can not switch off power be sure that the power supply connector is the last ...

Page 18: ...is not grounded and is electrically isolated from the circuit boards inside of the camera Note that the connectors at the camera are described NOT the connectors re quired at the connecting cables Status LED Flash Trigger 12 VDC Power First Camera Link Second Camera Link A403k A404k only 4 1 2 3 1 2 3 4 5 6 1 13 14 26 1 13 14 26 ...

Page 19: ...ra Link Transmitter 15 X0 3 X1 Output Camera Link LVDS Data from Camera Link Transmitter 16 X1 4 X2 Output Camera Link LVDS Data from Camera Link Transmitter 17 X2 6 X3 Output Camera Link LVDS Data from Camera Link Transmitter 19 X3 5 XClk Output Camera Link LVDS Transmit Clock from Camera Link Transmitter 18 XClk 7 SerTC Input RS 644 Serial Communication Data Receive SerTC Serial to Camera 20 Ser...

Page 20: ...Y3 5 YClk Output Camera Link LVDS Transmit Clock from Camera Link Transmitter 18 YClk 7 T Connected to T with 100R not used 20 T Connected to T with 100R not used 8 Z0 Output Camera Link LVDS Data from Camera Link Transmitter 21 Z0 9 Z1 Output Camera Link LVDS Data from Camera Link Transmitter 22 Z1 10 Z2 Output Camera Link LVDS Data from Camera Link Transmitter 23 Z2 12 Z3 Output Camera Link LVDS...

Page 21: ... the external ExFlash input and it can be permanently on see Section 2 5 8 Figure 2 3 shows the timing diagram It can be set to high impedance default setting so that the flash trigger is disabled or it can be selected to be to TTL Active High Low Side Switch Open Collector or High Side Switch Figure 2 4 shows the three variants of output schematics of the flash trigger connector The pin assignmen...

Page 22: ...50 mA 40 20 Low output max 0 5 V at 10 mA output load shortcut current 50 mA 40 20 Low Side Switch Open Collector When you select this output signal variant the upper transistor is deac tivated which is shown by grayed lines in the schematic The schematic shows a sample circuit for your flash device Calculate your devices so that the maximum output current is 50 mA High Side Switch When you select...

Page 23: ...ed with an A400k is 7 meters 2 2 2 Power Cable A Hirose 6 pin locking plug will be shipped with each camera This plug should be used to connect the power supply cable to the camera For proper EMI protection the power supply cable attached to this plug must be a twin cored shielded cable Also the housing of the Hirose plug must be connected to the cable shield and the cable must be connected to ear...

Page 24: ...he camera is designated as Transmitter X The schematic in Figure 2 5 shows the interface for the A402k and a typical implementation for the frame grabber interface The A403k and the A404k when set for 4 tap output use the medium configuration of Camera Link with two differential line transmitters The transmitters in the camera are designated as Transmitter X and Transmitter Y The schematic in Figu...

Page 25: ...Camera Interface Basler A400k 2 9 DRAFT Figure 2 5 A402k Camera Frame Grabber Interface ...

Page 26: ...Camera Interface 2 10 Basler A400k DRAFT Figure 2 6 A403k Camera Frame Grabber Interface ...

Page 27: ...Camera Interface Basler A400k 2 11 DRAFT Figure 2 7 A404k Camera Frame Grabber Interface ...

Page 28: ...ion on the two modes see Section 3 3 ExSync can be a periodic or non periodic function The frequency of the ExSync signal determines the camera s frame rate in these modes Note that ExSync is edge sensitive and therefore must toggle In ExSync edge controlled mode and programmable mode minimum high time for the ExSync signal is 250 ns minimum low time is also 250 ns In ExSync level controlled mode ...

Page 29: ...r 10 bit depth when the camera is set for 4 tap output When an A404k is set for 8 tap output eight pixels at a depth of 8 bits are transmitted on each Pixel Clock signal 2 5 2 Line Valid Bit As shown in Figures 2 9 through 2 13 the line valid bit indicates that a valid line is being transmitted Pixel data is only valid when this bit is high On the A402k 1176 pixel clocks are required to transmit o...

Page 30: ... of pixel data bits to the input pins on the X and Y Camera Link transmitters in an A403k camera They also show the assignments for the corresponding output pins on the X and Y Camera Link receivers in a frame grabber The assignments for the frame valid bit and the line valid bit are also listed Tables 2 8 2 9 and 2 10 and Figure 2 7 show the assignment of pixel data bits to the input pins on the ...

Page 31: ...ot Used Port B4 TxIN13 RxOUT13 D1 Bit 4 D1 Bit 8 Port B5 TxIN14 RxOUT14 D1 Bit 5 D1 Bit 9 MSB Port B6 TxIN10 RxOUT10 D1 Bit 6 Not Used Port B7 TxIN11 RxOUT11 D1 Bit 7 MSB Not Used Port C0 TxIN15 RxOUT15 Not Used D1 Bit 0 Port C1 TxIN18 RxOUT18 Not Used D1 Bit 1 Port C2 TxIN19 RxOUT19 Not Used D1 Bit 2 Port C3 TxIN20 RxOUT20 Not Used D1 Bit 3 Port C4 TxIN21 RxOUT21 Not Used D1 Bit 4 Port C5 TxIN22 ...

Page 32: ... Used Port B4 TxIN13 RxOUT13 D1 Bit 4 D1 Bit 8 Port B5 TxIN14 RxOUT14 D1 Bit 5 D1 Bit 9 MSB Port B6 TxIN10 RxOUT10 D1 Bit 6 Not Used Port B7 TxIN11 RxOUT11 D1 Bit 7 MSB Not Used Port C0 TxIN15 RxOUT15 D2 Bit 0 D1 Bit 0 Port C1 TxIN18 RxOUT18 D2 Bit 1 D1 Bit 1 Port C2 TxIN19 RxOUT19 D2 Bit 2 D1 Bit 2 Port C3 TxIN20 RxOUT20 D2 Bit 3 D1 Bit 3 Port C4 TxIN21 RxOUT21 D2 Bit 4 D1 Bit 4 Port C5 TxIN22 Rx...

Page 33: ...Bit 3 Port E4 TxIN13 RxOUT13 Not Used D2 Bit 4 Port E5 TxIN14 RxOUT14 Not Used D2 Bit 5 Port E6 TxIN10 RxOUT10 Not Used D2 Bit 6 Port E7 TxIN11 RxOUT11 Not Used D2 Bit 7 Port F0 TxIN15 RxOUT15 Not Used D2 Bit 8 Port F1 TxIN18 RxOUT18 Not Used D2 Bit 9 MSB Port F2 TxIN19 RxOUT19 Not Used Not Used Port F3 TxIN20 RxOUT20 Not Used Not Used Port F4 TxIN21 RxOUT21 Not Used D3 Bit 8 Port F5 TxIN22 RxOUT2...

Page 34: ...RxOUT13 D1 Bit 4 D1 Bit 8 D1 Bit 4 Port B5 TxIN14 RxOUT14 D1 Bit 5 D1 Bit 9 MSB D1 Bit 5 Port B6 TxIN10 RxOUT10 D1 Bit 6 Not Used D1 Bit 6 Port B7 TxIN11 RxOUT11 D1 Bit 7 MSB Not Used D1 Bit 7 MSB Port C0 TxIN15 RxOUT15 D2 Bit 0 D1 Bit 0 D2 Bit 0 Port C1 TxIN18 RxOUT18 D2 Bit 1 D1 Bit 1 D2 Bit 1 Port C2 TxIN19 RxOUT19 D2 Bit 2 D1 Bit 2 D2 Bit 2 Port C3 TxIN20 RxOUT20 D2 Bit 3 D1 Bit 3 D2 Bit 3 Por...

Page 35: ...RxOUT13 Not Used D2 Bit 4 D4 Bit 4 Port E5 TxIN14 RxOUT14 Not Used D2 Bit 5 D4 Bit 5 Port E6 TxIN10 RxOUT10 Not Used D2 Bit 6 D4 Bit 6 Port E7 TxIN11 RxOUT11 Not Used D2 Bit 7 D4 Bit 7 MSB Port F0 TxIN15 RxOUT15 Not Used D2 Bit 8 D5 Bit 0 Port F1 TxIN18 RxOUT18 Not Used D2 Bit 9 MSB D5 Bit 1 Port F2 TxIN19 RxOUT19 Not Used Not Used D5 Bit 2 Port F3 TxIN20 RxOUT20 Not Used Not Used D5 Bit 3 Port F4...

Page 36: ... H4 TxIN13 RxOUT13 Not Used Not Used D7 Bit 4 Port H5 TxIN14 RxOUT14 Not Used Not Used D7 Bit 5 Port H6 TxIN10 RxOUT10 Not Used Not Used D7 Bit 6 Port H7 TxIN11 RxOUT11 Not Used Not Used D7 Bit 7 MSB Spare TxIN15 RxOUT15 Not Used Not Used Not Used Spare TxIN18 RxOUT18 Not Used Not Used Not Used Spare TxIN19 RxOUT19 Not Used Not Used Not Used Spare TxIN20 RxOUT20 Not Used Not Used Not Used Spare Tx...

Page 37: ...quence for the A402k When the camera is not transmitting valid data the frame valid and line valid bits sent on each cycle of the pixel clock will be low The camera can begin capturing a new frame while it is sending data for a previously captured frame It can also capture a frame and then send it before beginning capture of a new frame When frame valid becomes high the camera starts to send valid...

Page 38: ...a for pixel four in line two On the next cycle of the pixel clock the line valid bit will be high On this clock cycle data stream D0 will transmit data for pixel five in line two and data stream D1 will transmit data for pixel six in line two This pattern will continue until all of the pixel data for line two has been transmitted A total of 1176 cycles After all of the pixels in line two have been...

Page 39: ...TO SCALE The diagram assumes that the area of interest feature is not being used With the area of interest feature enabled the number of pixels transferred could be smaller max 7 89 ms TIMING DIAGRAMS ARE NOT DRAWN TO SCALE The diagram assumes that the area of interest feature is not being used With the area of interest feature enabled the number of pixels transferred could be smaller max 7 89 ms ...

Page 40: ... transmitting valid data the frame valid and line valid bits sent on each cycle of the pixel clock will be low The camera can begin capturing a new frame while it is sending data for a previously captured frame It can also capture a frame and then send it before beginning capture of a new frame When frame valid becomes high the camera starts to send valid data On the pixel clock cycle where frame ...

Page 41: ...nsmit data for pixel five in line two Data stream D1 will transmit data for pixel six in line two Data stream D2 will transmit data for pixel seven in line two And data stream D3 will transmit data for pixel eight in line two On the next cycle of the pixel clock the line valid bit will be high On this clock cycle data stream D0 will transmit data for pixel nine in line two Data stream D1 will tran...

Page 42: ...k 4 Tap Output with Edge or Level Controlled Exposure TIMING DIAGRAMS ARE NOT DRAWN TO SCALE The diagram assumes that the area of interest feature is not being used With the area of interest feature enabled the number of pixels transferred could be smaller max 7 89 ms ...

Page 43: ...r A404k 4 Tap Output with Programmable Exposure TIMING DIAGRAMS ARE NOT DRAWN TO SCALE The diagram assumes that the area of interest feature is not being used With the area of interest feature enabled the number of pixels transferred could be smaller max 7 89 ms ...

Page 44: ...t of the bits is shown in Tables 2 8 2 9 and 2 10 The pixel clock is used to time data sampling and transmission As shown in Figures 2 12 and 2 13 the camera samples and transmits data on each rising edge of the pixel clock The frame valid bit indicates that a valid frame is being transmitted The line valid bit indicates that a valid line is being transmitted Pixel data is only valid when the fram...

Page 45: ...ll continue until all of the pixel data for line one has been transmitted A total of 294 cycle Line valid becomes low for seven pixel clocks On the pixel clock cycle where data transmission for line two begins the line valid bit will become high On this clock cycle data stream D0 will transmit data for pixel one in line two Data stream D1 will transmit data for pixel two in line two Data stream D2...

Page 46: ...ap Output with Edge or Level Controlled Exposure TIMING DIAGRAMS ARE NOT DRAWN TO SCALE The diagram assumes that the area of interest feature is not being used With the area of interest feature enabled the number of pixels transferred could be smaller max 7 89 ms ...

Page 47: ...4k 8 Tap Output with Programmable Exposure TIMING DIAGRAMS ARE NOT DRAWN TO SCALE The diagram assumes that the area of interest feature is not being used With the area of interest feature enabled the number of pixels transferred could be smaller max 7 89 ms ...

Page 48: ...signal provided by the frame grabber and the signal is high while the ExFlash signal from the frame grabber is high The signal is tied to the ExFlash input signal provided by the frame grabber and the signal is low while the ExFlash signal from the frame grabber is high In addition four switching options are programmable TTL Open collector or Low Side Switch 5 V max High Side Switch 5 V High Imped...

Page 49: ...etails on the binary read write command format 2 6 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 can vary from manufacturer If you are using the Basler CCT to configure the camera the tool will...

Page 50: ...fer to the k BIC User s Manual and the k BIC Installation Guide that are available at www basler vc com 2 8 DC Power A400k cameras require 12 VDC 10 power The maximum power consumption is 6 5 7 0 7 5 W for the A402k A403k A404k respectively The maximum current during constant operation is 833 mA Peak currents may occur We recommend to use 1 5 A power supplies Ripple must be less than 1 Also note t...

Page 51: ...ections to the camera and the first connector unplugged when you break connections The camera is equipped with an undervoltage lockout An input voltage below 10 8 VDC will cause the camera to automatically switch off The camera has no overvoltage protection An input voltage higher than 13 2 VDC will damage the camera Do not reverse the polarity of the input power to the camera Reversing the po lar...

Page 52: ...Camera Interface 2 36 Basler A400k DRAFT ...

Page 53: ...the charges move out of the pixels they are converted to voltages proportional to the size of each charge The sensor has a column parallel analog to digital converter ADC architecture that lets the array of 2 352 ADCs on the chip digitize simultaneously the analog data from an entire line of pixels The analog data is converted into 10 bit digital pixel data by the 10 bit ADCs shown in Figure 3 1 o...

Page 54: ...cture Figure 3 2 A400k Block Diagram ADC ADC Register Output Register Column Decoder Output Ports Digitized Pixel Data ADC Memory Controller Line Timing Block SRAM Read Control CMOS Sensor PIXEL ARRAY Column 1 2 4 2349 2350 2351 2352 3 Line 1 Line 2 Line 3 Line 4 Line 1726 16 x 10 bit ...

Page 55: ... depth In 4 tap 8 bit mode the camera outputs data for four pixels on each cycle of the pixel clock and the pixel data is at 8 bit depth In 8 tap 8 bit mode the camera outputs data for eight pixels on each cycle of the pixel clock and the pixel data is at 8 bit depth These modes are described in detail in Section 2 5 7 You can select the video data output mode using either the Camera Configuration...

Page 56: ...c signal the length of the ExSync signal period determines the camera s frame rate Frame rate 1 Control signal period ExSync can be periodic or non periodic When the camera is operating with an ExSync signal it has three modes of exposure time control available edge controlled mode level controlled mode and programmable mode In ExSync edge controlled mode the pixels are exposed and charge is accum...

Page 57: ...y delayed This is commonly referred to as an exposure start delay The exposure start delay will vary from exposure to exposure but will always fall in a range from 200 ns to 4 76 µs 3 3 1 3 Selecting an ExSync Exposure Mode Setting the Exposure Time You can select an ExSync exposure time control mode and set the exposure time for the ExSync programmable mode by using the Camera Configuration Tool ...

Page 58: ... run edge controlled mode the camera generates a continuous internal control sig nal based on the Frame Period parameter The pixels are exposed and charge is accumu lated over the full period of the internal control signal rising edge to rising edge The falling edge of the control signal is irrelevant The frame is read out and transferred on the rising edge of the internal control signal see Figur...

Page 59: ...see Section 4 1 you use the Exposure Time Control Mode setting in the Exposure parameter group to select the free run edge controlled or free run programmable exposure time control mode If you select the free run programmable mode the CCT will also let you enter an exposure time By Setting CSRs You can select the exposure time control mode by writing a value to the Mode field of the Exposure Time ...

Page 60: ...set progresses down the image from one line to the next until the bottom line of pixels is reached see Figure 3 8 The time interval between a pixel line being reset and the pixel line being read out is the exposure time Exposure time is the same for all lines and determined by the exposure time setting Due to the pixel lines being reset and read out with an offset of 4 56 µs the start of exposure ...

Page 61: ...res a flash exposure within the camera s flash window see Section 3 4 2 3 4 2 Flash Exposure for Fast Moving Objects Imaging of fast moving objects requires a flash exposure If flash exposure is not used image distortions will occur due to the exposure s 4 56 µs offset from one line to the next Due to the exposure s 4 56 µs offset from one line to the next there is a limited time interval where al...

Page 62: ...TFlash is the time it takes to trigger the flash Examples A The height of the area of interest AOI is 1726 lines full resolution Minimum flash exposure 4 56 µs x 1726 1 Exposure time 7866 µs TFlash B The height of the area of interest AOI is only 200 lines Minimum flash exposure 4 56 µs x 200 1 Exposure time 907 4 µs TFlash The light intensity of the flash must be considerably higher than the ligh...

Page 63: ... in a lower camera output for a given amount of light Increasing gain also increases noise The signal to noise ratio decreases as gain is increased 3 5 1 1 Setting the Gain You can set the gain 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...

Page 64: ...lue in the average pixel value for each frame 8 bit output mode The default offset is 2 gray values 8 bit output mode or 8 gray values 10 bit output mode 3 5 2 1 Setting the Offset You can set the offset 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 s...

Page 65: ... can use column FPN shading correction you must generate a column FPN shading correction table To create the table perform the following steps 1 As column FPN varies depending on the temperature make sure that the camera has reached its operating temperature 2 Cover the camera lens close the iris in the camera lens or darken the room so that the camera will be capturing frames in complete darkness...

Page 66: ... write commands Saving a Set of Column FPN Shading Values to a File When you generate a set of column FPN shading correction values the values are placed in the camera s volatile memory and they overwrite any shading values that are already in the memory The current set of values in the volatile memory is used immediately by the camera Values placed in the camera s volatile memory are lost if the ...

Page 67: ...Signal the camera to generate a set of DSNU shading values c You can start the generation of a set of DSNU shading values by using the Camera Configuration Tool Plus see Section 4 1 With the CCT you set the Shading Value Generate parameter in the DSNU PRNU Shading Correction parameters group to start the generation of a set of DSNU shading values d You can also start the generation of the DSNU sha...

Page 68: ...mera is reset or the camera power is switched off A400k cameras can save the current DSNU values in the volatile memory to a file in the camera s non volatile memory Files saved in the non volatile memory are not lost at reset or power off You can save only one set of DSNU values to file in the non volatile memory A save will take approximately two minutes You can save the current shading values t...

Page 69: ...en contain shading correction values for the two areas of interest Generating a Set of PRNU Shading Values Before you can use PRNU shading correction you must generate a set of PRNU shading correction values If you have two or more areas of interest to be captured under different illumination repeat the below procedure for each area of interest Make sure that the areas do not overlap To generate a...

Page 70: ...s to calculate an average gray value for each pixel in the frame b The camera finds the pixel with the highest average gray value in the frame c For each of the other pixels in the frame 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 creates a set of PRNU shading correction values that c...

Page 71: ...eters group to save the PRNU shading set currently in the volatile memory to a file in the non volatile memory By Setting CSRs You can save the current shading correction values to a file in the non volatile memory by writing values to the bulk data CSR for PRNU shading values Section 4 2 3 explains the bulk data CSRs and explains how to use the CSRs to save the shading values to a file Section 4 ...

Page 72: ...he 10 bits that are output from each ADC Shift Once When the camera is set to shift once the output from the camera will include bit 8 through bit 0 from each ADC along with a zero as an LSB The result of shifting once is that the output of the camera is effectively doubled For example assume that the camera is set for no shift that it is viewing a uniform white target and that under these conditi...

Page 73: ...a uniform white target and that under these conditions the reading for the brightest pixel is 100 If you changed the digital shift setting to shift twice the reading would increase to 400 L If bit 9 or bit 8 is set to 1 all of the other bits will automatically be set to 1 This means that you should only use the shift twice setting when your pixel readings with no dig ital shift are all below 256 S...

Page 74: ...nged the digital shift setting to shift once the reading would increase to 40 Shift Twice When the camera is set to shift twice the output from the camera will include bit 7 through bit 0 from the ADC The result of shifting twice is that the output of the camera is effectively multiplied by four For example assume that the camera is set for no shift that it is viewing a uniform white target and th...

Page 75: ...ke this check 1 Use binary commands or the Camera Configuration Tool Plus to put the camera in 8 bit output mode 2 Use the binary commands or the configuration tool to set the camera for no digital shift 3 Check the output of the camera under your normal lighting conditions with no digital shift and note the readings for the brightest pixels If any of the readings are above 128 do not use digital ...

Page 76: ... and so on The width can only be multiples of 16 that is 16 32 48 and so on Reference position is the top left corner of the image For example suppose that you specify the starting column as 17 the width in columns as 16 the starting line as 8 and the height in lines as 10 As shown in Figure 3 11 the camera will only transmit pixel data from within the defined area Information from the pixels outs...

Page 77: ...egisters CSRs or by using the AOI Editor With the CCT With the CCT see Section 4 1 you use the AOI Starting Column AOI Width AOI Starting Line and AOI Height settings in the Area of Interest parameters group to set the area of interest By Setting CSRs You can set the AOI starting column by writing a value to the Starting Column field of the AOI Starting Column CSR see page 4 25 You can set the AOI...

Page 78: ...take your AOI size into account The formula that returns the lowest value will determine the maximum frame rate for the given AOI Formula 1 Formula 2 For example using the full AOI height of 1726 lines the frame rate cannot be higher than 126 9 fps frames per second With an AOI height of 200 lines the frame rate cannot be higher than 1085 6 fps In some exposure modes you must set the frame period ...

Page 79: ... signal to trigger the complete sequence The camera can also run the complete sequence non stop free run In free run no ExSync signal is required Before you can run a predefined sequence of areas of interest you must first create an AOI list Sections 3 8 4 1 and 3 8 4 2 The AOI list defines the areas of interest the order in which they will run and some other parameters When the AOI list is comple...

Page 80: ...ion will follow For the first area of interest the flash trigger signal will be enabled The second area of interest s starting column is 161 the entry is 161 1 160 the width is 512 pixels the starting line is 600 and the height in lines is 300 The second area of interest will be run three times with a delay of 2000 4 5 µs between each exposure The third area of interest will be run 2000 4 5 µs aft...

Page 81: ...tting AOI Height Setting 4 56 µs If AOI trigger mode 2 or 3 is selected see Section 3 8 4 4 the delay time setting must be equal to or higher than the AOI height setting to avoid overlapping exposures due to subse quent overlapping areas of interest Delay Time Setting AOI Height Setting The guidelines described in Section 3 3 must be observed to avoid overtriggering the cam era 3 8 4 2 Creating an...

Page 82: ... 3 Save the file 4 Proceed with Section 3 8 4 3 0 160 160 800 0 1 2 3 4 5 1024 512 512 1552 2352 100 600 600 321 1 500 300 300 1406 1726 600 400 400 1500 1800 3000 2000 2000 8000 10000 1 3 1 1 1 1 0 1 1 0 Position AOI Starting Column AOI Width AOI Starting Line AOI Height Exposure Time Delay Time Flash Trigger Runs AOI Starting Column AOI Width AOI Height AOI Starting Line Exposure Time Delay Time...

Page 83: ...l use the settings in the file as soon as the AOI sequencer feature is enabled Uploading the hex file will also save the file in the camera s non volatile memory If an AOI list file already exists it will be overwritten Uploading a HEX File to the Camera You can upload the hex file to the camera by using the Camera Configuration Tool Plus CCT or by using binary read write commands from within your...

Page 84: ...en images will be captured according to the area of interest settings in the AOI list that is the first image will be captured according to the area of interest settings in first position the next three images will be captured according to the area of interest settings in second position and so on The seventh image will be captured according to the area of interest settings in fifth position and t...

Page 85: ...encer feature is disabled all bits are set to 0 Stamp Pixel S3 Stamp pixel S3 represents the 8 bit frame counter The frame counter increments by one for each image captured by the camera The counter starts at 0 and wraps at 255 decimal The frame counter is reset to 0 whenever the camera is switched off or reset It is also reset to 0 when the stamp feature is disabled Stamp Pixels S4 through S11 St...

Page 86: ...tion to set the camera s control and status registers CSRs With the CCT With the CCT see Section 4 1 you use the Stamp parameter in the Output parameters group to enable or disable the stamp feature By Setting CSRs You can enable disable the stamp feature by writing a value to the Mode field of the Stamp CSR see page 4 30 See Section 4 2 2 for an explanation of CSRs See Section 4 3 1 for an explan...

Page 87: ...eature 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 4 1 you use the mirror mode parameter in the Output parameters group to enable or disable the mirror image feature By Setting CSRs You can enable disable the mirror image feature by writ...

Page 88: ...ombination mimics the human eye s sensitivity to color Figure 3 17 Bayer Filter Pattern on the A400kc A single value is transmitted out of the camera for each pixel in a captured image If you want to get full RGB color information for a given pixel in the image you must perform a color interpolation using the information from the surrounding pixels Some frame grabbers are capable of performing the...

Page 89: ...023 respectively The pixels in column one of the first stripe all have a value of 1 The pixels in column two of the first stripe all have a value of 2 the pixels in column three of the first stripe all have a value of 3 and so on This pattern continues until column 255 8 bit mode where the pixels have a gray value of 255 or column 1023 10 bit mode where the pixels have a value of 1023 In 8 bit mod...

Page 90: ...255 in 8 bit output mode or 0 to 1023 in 10 bit output mode As an exception the gray values of the first stripe range from 1 to 255 or from 1 to 1023 respectively The top line starts with a gray value of 1 on pixel 1 The second line starts with a gray value of 2 on pixel 1 The third line starts with a gray value of 3 on pixel 1 and so on Line 255 8 bit mode or 1023 10 bit mode starts with a gray v...

Page 91: ...f the test image is a diagonal stripe pattern as explained in Section 3 12 2 but the pattern of the image moves up by one pixel each time the ExSync signal cycles When you view the output of a camera that is set for test image three the pattern should appear to be gradually moving up the screen If the camera is set for free run each cycle of the camera s internal control signal will cause the patt...

Page 92: ...5 8 bit mode where the pixels have a gray value of 255 or line 1023 10 bit mode where the pixels have a value of 1023 In 8 bit mode a second stripe begins in line 256 The pixels in line 256 have a gray value of 0 the pixels in line 257 have a value of 1 the pixels in line 258 have a value of 2 and so on This pattern continues until line 511 where the pixels have a gray value of 255 A third stripe ...

Page 93: ...signal the ExSync signal must be present and must toggle in order for the camera to output test images If the camera is set for free run each cycle of the camera s internal sync signal will trigger the output of a test image 3 12 6 Enabling Disabling Test Images You can enable disable a test image by using the Camera Configuration Tool Plus CCT or by using binary write commands from within your ow...

Page 94: ...erature by using the Camera Configuration Tool Plus CCT or by using binary read commands from within your own application to read the camera s control and status registers CSRs With the CCT With the CCT see Section 4 1 you use the Camera Temperature setting in the Camera Information parameter group to read the camera s inner temperature By Setting CSRs You can read the camera s inner temperature b...

Page 95: ... Saving Configuration Sets As mentioned above the work configuration set is located in the camera s volatile memory and the settings are lost if the camera is reset or if power is switched off A400k cameras can save the current work set values in the volatile memory to a file in the camera s non volatile memory Files saved in the non volatile memory are not lost at reset or power off You can save ...

Page 96: ...iles parameters group to activate a saved user set file By Setting CSRs You can activate a stored user set file by writing values to the bulk data CSR for configuration sets The bulk data activate process is used to activate a file Section 4 2 3 explains bulk data CSRs and using the bulk data activate process Section 4 3 1 explains using read write commands 3 14 3 Activating the Factory Set File A...

Page 97: ...ork set If there is no activated file the factory set file will be copied into the work set 3 14 5 Saving a User Set to PC Loading a User Set from PC You can save a user set to the hard disk of your computer and load a user set from hard disk into your camera This is useful if you wish to use this user set on another camera of the same type Saving a User Set to PC or Loading a User Set from PC You...

Page 98: ... 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 4 1 you use the Parameter Set Cache setting in the Parameter Set parameter group to enable disable parameter set cache By Setting CSRs You can enable disable parameter set cache by writing a value to t...

Page 99: ...iguration set see Section 3 14 3 Activating the factory set will load a set of factory determined optimal parameters into the camera If you are setting the camera s parameters by using binary commands to write to registers make sure you check the min max and increment fields of each register before you set the parameter values Setting the values within the min and max and using the specified incre...

Page 100: ...th the CCT see Section 4 1 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 a value to the Reset field of the Camera Reset CSR see page 4 34 See Section 4 2 2 for an explanation of CSRs See Section 4 3 1 for an explanation of using read write ...

Page 101: ...n for your particular application the following parameters can also be configured Gain Offset Shading Correction Digital Shift Area of Interest AOI Stamp Programmable AOI Sequencer Flash Trigger Mirror Image Parameter Set Cache The camera is programmable via the RS 644 serial connection in the Camera Link interface between the frame grabber and the camera Two methods can be used to change the came...

Page 102: ... that the camera has power 2 To start the CCT click Start click All Programs click Basler Vision Technologies and click CCT default installation During start up a start up screen can be seen If start up is successful the tool will open To familiarize yourself with using the tool press the F1 key and look through the online help included with the tool If an error occurs the tool is automatically cl...

Page 103: ...lable settings for other parameters the available ranges will automatically be refreshed By default the CCT also automatically updates the displayed settings every 5 seconds The feature behind this behavior is called Auto Refresh If auto refresh is not enabled the display will not update when a camera setting is changed using another tool when power to the camera is switched off and on or when the...

Page 104: ...s associated with the camera s features Section 4 2 2 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 register Bulk Data Control and Status Registers these registers let you store and recall sets of val ues that the camera uses as a group Section 4 2 3 explains bulk data and the bulk data c...

Page 105: ...f each field within the registers 4 2 1 1 Inquiry Register Details Vendor Information Inquiry Model 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 Offs...

Page 106: ...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 Register Base Address 0x0500 Field Name Register S...

Page 107: ... follows Byte 1 Low byte of the firmware version BCD coded Byte 2 High byte of the firmware version BCD coded Byte 3 Register layout ID BCD coded Register Base Address 0x0800 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 F...

Page 108: ... of the camera s FPGA field program mable gate array that is used on the sensor board The bytes in the field are interpreted as follows Byte 1 Low byte of the firmware version BCD coded Byte 2 High byte of the firmware version BCD coded Byte 3 Register layout ID BCD coded Register Base Address 0x2600 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value ...

Page 109: ...hat is out of range or not allowed or in conflict with other settings 4 A user set load has failed 5 A file operation has failed 6 Reserved 7 A binary read write command protocol error has been detected For more in formation about the error read the Binary Command Protocol Status Inquiry register see page 4 12 This bit clears when you read the Binary Command Protocol Status Inquiry register 8 15 R...

Page 110: ...ister is not available 0x01 The register is available Field Name Main FPGA Status Offset 0x0001 Size 1 Byte Type Read only Description Each bit in this field specifies an error condition see table below Bit 0 is the least signifi cant 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 No FPGA firmware avail...

Page 111: ...01 The register is available Field Name Sensor FPGA Status Offset 0x0001 Size 1 Byte Type Read only Description Each bit in this field specifies an error condition see table below Bit 0 is the least signifi cant 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 No FPGA firmware available 1 FPGA firmware is...

Page 112: ...ol Status Offset 0x0001 Size 1 Byte Type Read only Description Each bit in this field specifies an error condition see table below Bit 0 is the least signifi cant 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 A binary command with no BFS was received see Section 4 3 1 1 A byte time out has occurred see...

Page 113: ...SRs in A400k cameras and shows detailed information about the use of each field within the register 4 2 2 1 Raw Value Fields vs Absolute Value Fields As you look through the descriptions of the feature CSRs you will notice that 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 ...

Page 114: ...re that the camera would produce for three dif ferent settings in the raw exposure time field of the exposure time CSR we obtain This means that if you entered a value in the absolute field values of e g 4 56 9 12 or 13 68 would be valid because they are the equivalents to 1 2 and 3 respectively in the raw field However for example a value of 13 69 entered in the absolute field would not be valid ...

Page 115: ...2k 0x10 4 tap 8 bit output A403k and A404k 0x12 4 tap 10 bit output A403k and A404k 0x11 8 tap 8 bit output A404k See Sections 2 5 5 A402k 2 5 6 A403k and 2 5 7 A404k for descriptions of the video data output modes Register Base Address 0x1400 Field Name Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this control register 0x00 Th...

Page 116: ...olute 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 any related features are set The value in this field is a standard IEEE 754 single precision 32 bits floating point num ber Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Descrip...

Page 117: ...e 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 0x00 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 any related features are set The 4 bytes in this field are interpreted as f...

Page 118: ...e possible range of frame period settings is from 40 90 ms for an A402k 20 59 ms for an A403k 20 59 ms for an A404k set for 4 tap output or 10 40 ms for an A404k set for 8 tap output to 19 12 s in increments of 0 01 The value in this field is a standard IEEE 754 single precision 32 bits floating point num ber See Section 3 3 for more information about the frame period Field Name Absolute Min Offse...

Page 119: ...e 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 0x00 not used Field Name Raw Max Offset 0x0015 Size 4 Bytes Type Read only Description Maximum allowed integer value for the raw frame period setting The 4 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 ...

Page 120: ...ing point value for the absolute gain setting This field is updated to reflect limitations caused by the way any related features are set The value in this field is a standard IEEE 754 single precision 32 bits floating point num ber Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Description Maximum allowed floating point value for the absolute gain setting This field is updated ...

Page 121: ...Description Maximum allowed integer value for the raw gain setting This field is updated to reflect lim itations caused by the way any related features are set The 2 bytes in this field are interpreted as 16 bit signed integer Byte 1 Low byte of the maximum raw value Byte 2 High byte of the maximum raw value ...

Page 122: ...ed floating point value for the absolute offset setting This field is updated to reflect limitations caused by the way any related features are set The value in this field is a standard IEEE 754 single precision 32 bits floating point num ber Field Name Absolute Max Offset 0x0009 Size 4 Bytes Type Read only Description Maximum allowed floating point value for the absolute offset setting This field...

Page 123: ...The integer value in this field indicates the status of this control register 0x00 The register is not available 0x01 The register is available All related settings are OK 0x80 A value in this register is set out of range 0x82 The generation process failed Field Name Generate Offset 0x0001 Size 1 Byte Type Read Write Description Writing an integer value to this field will either begin the routine ...

Page 124: ...02 Generate PRNU correction values The 4 bytes in this field are interpreted as follows Byte 1 Low byte Byte 2 Always 0x00 not used Byte 3 Always 0x00 not used Byte 4 Always 0x00 not used See Section 3 6 for more information about shading correction Register Base Address 0x2000 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates...

Page 125: ... set out of range 0X81 The setting for the AOI starting column conflicts with the setting for the AOI width Field Name Starting Column Offset 0x0001 Size 2 Bytes Type Read Write Description Writing an integer value to this field sets the starting column for the area of interest AOI feature The value for the starting column can normally range from column 1 0x0000 to column 2336 0x0920 Starting colu...

Page 126: ...ed 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 2 Mid 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 starting column setting The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the max value Byt...

Page 127: ... 16 columns If the value is set to 32 the width of the AOI will be 32 columns Etc The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the length value Byte 2 High byte of the length value See Section 3 8 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 width setting This field i...

Page 128: ...the AOI will be line 2 Etc The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the starting line value Byte 2 High byte of the starting line value See Section 3 8 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 line setting This field is updated to reflect limitations ...

Page 129: ... height of the AOI will be 48 lines Etc The 2 bytes in this field are interpreted as follows Byte 1 Low byte of the length value Byte 2 High byte of the length value See Section 3 8 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 height setting This field is updated to reflect limita tions caused ...

Page 130: ... sequencer mode 0x00 Programmable AOI sequencer off 0x01 Image per trigger 0x02 List per trigger 0x03 Free run See Section 3 8 4 for more information about the programmable AOI sequencer feature Register Base Address 0x2400 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this control register 0x00 The register ...

Page 131: ...om the frame grabber is high 0x03 The flash trigger signal is always high 0x05 The flash trigger signal is low while sensor s the flash window is open 0x06 The flash trigger signal is low while the ExFlash signal from the frame grabber is high See Section 2 5 8 for more information about the flash trigger signal Register Base Address 0x1E00 Field Name Register Status Offset 0x0000 Size 1 Byte Type...

Page 132: ...ion 3 10 for more information about the mirror image feature Register Base Address 0x1800 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this control register 0x00 The register is not available 0x01 The register is available All related settings are OK 0x80 A value in this register is set out of range Field Na...

Page 133: ...rite Description Writing an integer value to this field sets the bit rate 0x01 50 bps 0x0C 3600 bps 0x02 75 bps 0x0D 4800 bps 0x03 110 bps 0x0E 7200 bps 0x04 134 5 bps 0x0F 9600 bps default 0x05 150 bps 0x10 14400 bps 0x06 200 bps 0x11 19200 bps 0x07 300 bps 0x12 38400 bps 0x08 600 bps 0x13 57600 bps 0x09 1200 bps 0x14 115200 bps 0x0A 1800 bps 0x0B 2400 bps L When changing a setting for serial com...

Page 134: ...e of 1 0x01 to this field will initiate a camera reset The reset be havior is similar to a power up reset Register Base Address 0x3000 Field Name Register Status Offset 0x0000 Size 1 Byte Type Read only Description The integer value in this field indicates the status of this control register 0x00 The register is not available 0x01 The register is available All related settings are OK 0x80 A value ...

Page 135: ...sed to save blocks of bulk data to files in the non volatile memory For example you can use the configuration set bulk data control register to create a named file in the camera and to store the settings from the current work configuration set in that file In the case of the A400k there are three types of bulk data configuration sets a set of shading values and an AOI list There is a separate bulk...

Page 136: ...volatile memory To save the DSNU shading values currently in the volatile memory to a file in the camera s non volatile memory you would follow this procedure 1 Use a binary write command to write the file name offsetshading to the Name field of the DNSU shading values bulk data CSR see page 4 42 2 Use a binary write command to set the value of the Control field in the DSNU shading values bulk dat...

Page 137: ...ated file If the camera is reset or if it is powered off and then back on the values from the activated file will be loaded into volatile memory of the camera and actively used by the camera As an example assume that the camera already has a saved configuration set file named UserSet01 and that you want to activate this file To do so you would follow this procedure 1 Use a binary write command to ...

Page 138: ... step 4 b If the value is 0x04 it means that the file exists and it is an activated file Continue to step 4 c If the value is 0x01 no more saved configuration set files 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 proce...

Page 139: ...s the offset for the Data field Data none 5 You 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 data exists and...

Page 140: ... write all of the data from the PC to the camera 5 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 read with a single binary bulk data read command If the file is larger than...

Page 141: ...nly Description If you are performing a bulk data read or write operation this field will indicate when no more data exits 0x00 More data exists 0x01 No more data exists 0x04 No more data exists and this is an activated file Field Name File Name Offset 0x0003 Size 20 Bytes Type Read Write Description Character string indicating the name of a bulk data file The field contains 20 characters left ali...

Page 142: ... you are performing a bulk data read or write operation this field will indicate when no more data exits 0x00 More data exists 0x01 No more data exists 0x04 No more data exists and this is an activated file Field Name File Name Offset 0x003 Size 20 Bytes Type Read Write Description Character string indicating the name of a bulk data file The field contains 20 characters left aligned zero padded Fi...

Page 143: ...f you are performing a bulk data read or write operation this field will indicate when no more data exits 0x00 More data exists 0x01 No more data exists 0x04 No more data exists and this is an activated file Field Name File Name Offset 0x003 Size 20 Bytes Type Read Write Description Character string indicating the name of a bulk data file The field contains 20 characters left aligned zero padded F...

Page 144: ...scription If you are performing a bulk data read or write operation this field will indicate when no more data exits 0x00 More data exists 0x01 No more data exists 0x04 No more data exists and this is an activated file Field Name File Name Offset 0x003 Size 20 Bytes Type Read Write Description Character string indicating the name of a bulk data file The field contains 20 characters left aligned ze...

Page 145: ...mera 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 command the address for field you want to work with is included as part of the command Section 4 3 1 describes the binary read write command ...

Page 146: ...tation of the fields within a binary command frame The text below the graphic describes each field of the command frame in detail Figure 4 2 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 i...

Page 147: ...C Code bit would be 0b1 and the AddrLen bits would be 0b00 This would result in a binary value of 0b00000100 which translates to a hex value of 0x04 for the FTF field 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 ...

Page 148: ...bytes Size for write commands the number of bytes indicated in the DataLen field of the frame BCC 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 F...

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

Page 150: ... 0b00 for the AddrLen indicates that the address portion of this frame contains a 16 bit address If you check the table on page 4 32 you will find that the address for the Status field of the Test Image 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 ...

Page 151: ...ge 4 32 you will find that the address for the Mode field of the Test Image 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 0x04 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 4 32 the data size for the Mode field of the Test Imag...

Page 152: ...y 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 4 3 2 2 would be calculated 0 0 0 0 0 1 0 0 the binary repres...

Page 153: ... 53 DRAFT 4 4 Binary Command Sample Code Sample code that illustrates how to use binary commands with A400k cameras is available at the Basler web site Please look for the documentation downloads on the A400 page at http www basler vc com ...

Page 154: ...Configuring the Camera 4 54 Basler A400k DRAFT ...

Page 155: ...arallel and angular sides guarantee precise mounting with high repeatability A400k cameras are equipped with four M4 mounting holes on the front and two M4 mounting holes on each side as indicated in Figure 5 1 A tripod mount is available as an option The Basler part number is 1000014110 Caution To avoid collecting dust on the sensor mount a lens on the camera immediately after unpacking it ...

Page 156: ...Mechanical Considerations 5 2 Basler A400k DRAFT Figure 5 1 A400k Mechanical Dimensions in mm Drawings are not to scale Tolerances are typical ...

Page 157: ...Mechanical Considerations Basler A400k 5 3 DRAFT 5 2 F Mount Adapter Dimensions Figure 5 2 F Mount Adapter Dimensions in mm Drawings are not to scale ...

Page 158: ...ations 5 4 Basler A400k DRAFT 5 3 Positioning Accuracy of the Sensor Chip Positioning accuracy of the sensor chip is as shown in Figure 5 3 Figure 5 3 Positioning Accuracy Drawings are not to scale Reference Plane 45 0 2 ...

Page 159: ...LED will begin to blink The number of blinks indicate the detected error as shown in Table 6 1 If several error states 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 3 17 LED Description Priority Solid orange The camera has power and is OK Solid green The i...

Page 160: ...BCC in a read or write command see Section 4 3 1 Invalid address in a read or write command see Section 4 3 1 Invalid data length in a read or write command see Section 4 3 1 An unknown error has occurred Please contact Basler support 7 Repeatedpattern of 3 slow pulses The last column FPN shading value generation has failed The column FPN shading value generation process can fail if the pixel valu...

Page 161: ...ore making or breaking any connection Replace the power source Connect the power source to the camera and then check the LED on the back of the camera Is the LED orange and 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 8 Is the power source OK No A repeated patter...

Page 162: ...s set no lower than shown in Section 3 3 2 2 Are the settings OK No Correct the settings Binary Commands Did you set up free run using the Exposure Time Control Mode setting on the CCT or with binary commands Yes Yes Switch on the test image one Can the test image be seen Go to the interfacing troubleshooting chart Replace the camera No Yes Check to make sure that the RS 644 serial connection is w...

Page 163: ...ge Is the problem still present One of the camera s settings was significantly misadjusted Review the camera manual to make sure that you are setting the camera correctly No Images are too bright or too dark Images look noisy Other image problems 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...

Page 164: ...tle page of this manual Before you call for support be sure to make note of the camera settings and the frame grabber settings you are using 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 Yes Check the DCF configuration file that you are using with your frame grabber Make sure ...

Page 165: ...ame grabber RS 644 ports are identified in the list by a port number and a dll library name Click on an RS 644 port in the list Does a list of camera settings appear The port is present but the CCT can not access the port Make sure that no other program has access to the port Yes Yes Does a This type of camera is not supported message appear Yes The RS 644 port is operating correctly Exit this cha...

Page 166: ... 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 front section of this manual 1 The camera s product ID 2 The camera s serial number 3 The operating system 4 Frame grabber that you use with the camera 5 CCT version that you use with the camera 6 Describe the problem in as much...

Page 167: ...ame ters that 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 Technical 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 13 Live image test image...

Page 168: ...Troubleshooting 6 10 Basler A400k DRAFT ...

Page 169: ...ptions of raw gain and raw offset settings from 0 to 100 Removed sample code in Section 4 4 Added a note in Section 4 4 DA00062406 14 Apr 2005 In Section 4 2 2 2 the ID for the flash trigger output mode Always high is 0x03 and not 0x04 DA00062407 21 Jul 2005 General Removed Monochrome Versions Only in PRNU Shading Correction description Replaced Figure 1 3 Added In the color version PRNU shading c...

Page 170: ... Updated the cover page and the contact information page to the current standards Added storage stemperature and humidity specs to Section 1 5 1 Added a warning to Section 1 6 advising users not to remove the serial number label Corrected the connector part numbers in Section 2 1 3 Added a description of the Exposure Start Delay to Section 3 3 1 2 Corrected the bootup time stated in the note boxes...

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

Page 172: ...Feedback iv Basler A400k DRAFT ...

Page 173: ...ing the camera and sensor 1 8 CMOS sensor 3 1 commands see binary commands configuration sets bulk data transfer 4 41 explained 3 43 configuration tool see camera configuration tool configuring the camera by setting CSRs 4 4 with binary commands 4 45 with the config tool 4 2 conformity 1 4 D data output mode see video data output mode s digital responsivity spec 1 3 digital shift explained 3 20 se...

Page 174: ...plained 3 4 line valid bit 2 13 low side switch 2 6 M MDR 26 Camera Link connector 2 3 mirror image mode explained 3 35 setting with binary commands 4 32 model number viewing with binary commands 4 5 model tab 4 3 mounting facilities 5 1 O offset explained 3 11 setting with binary commands 4 22 open collector 2 6 output data rate 1 4 output mode see video data output mode s output signals from the...

Page 175: ...xplained 3 33 setting with binary commands 4 30 start delay exposure 3 5 synchronization 1 4 T taps explained 3 1 temperature explained 3 42 temperature requirements camera 1 7 test image explained 3 37 test image mode setting with binary commands 4 32 troubleshooting 6 1 troubleshooting chart interfacing 6 6 no image 6 3 poor quality image 6 5 RS 232 serial communication 6 7 TTL 2 6 V vendor info...

Page 176: ...Index viii Basler A400k DRAFT ...

Reviews: