A FT D R Basler A500k USER’S MANUAL Document Number: DA000570 Version: 09 Language: 000 (English) Release Date: 07 August 2012
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.
Contacting Basler Support Worldwide Europe: Basler AG An der Strusbek 60 - 62 22926 Ahrensburg Germany Tel.: +49-4102-463-515 Fax.: +49-4102-463-599 bc.support.europe@baslerweb.com Americas: Basler, Inc. 855 Springdale Drive, Suite 203 Exton, PA 19341 U.S.A. Tel.: +1-610-280-0171 Fax.: +1-610-280-7608 bc.support.usa@baslerweb.com Asia: Basler Asia Pte. Ltd. 8 Boon Lay Way # 03 - 03 Tradehub 21 Singapore 609964 Tel.: +65-6425-0472 Fax.: +65-6425-0473 bc.support.asia@baslerweb.com www.baslerweb.
DRAFT Contents Table of Contents 1 Introduction 1.1 Camera Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.3 Digital Responsivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1.4 Environmental Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents DRAFT 3 Basic Operation and Features 3.1 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.2 Exposure Time Control Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 3.2.1 ExSync Controlled Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 3.2.2 Free Run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DRAFT Contents 3.11 Test Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43 3.11.1 Gray Scale Test Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 3.11.2 Running Line Test Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 3.11.3 White Screen Test Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 3.12 Configuration Sets . . . . . . .
Contents DRAFT 4.2.5 Test Image Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23 4.2.6 Query Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24 4.2.6.1 Read Vendor Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24 4.2.6.2 Read Model Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24 4.2.6.3 Read Product ID . . . . . . . . . . . . . . . . . . . . . . . . . .
PRELIMINARY Introduction 1 Introduction BASLER A500k area scan cameras are high speed CMOS cameras designed for industrial use. Good CMOS image sensing features are combined with a robust, high precision manufactured housing.
Introduction PRELIMINARY 1.2 Performance Specifications The image sensor characteristics were measured at 25 °C. Specifications Sensor A504k A503k A501k 1280 H x 1024 V pixel CMOS (1310720 pixels) Micron MV13 progressive scan monochrome monochrome monochrome Pixel Size 12 µm x 12 µm (12 µm pixel pitch) Fill Factor without micro lens 40 % Sensor Imaging Area H: 15.36 mm, V: 12.29 mm, Diagonal: 19.67 mm Digital Responsivity See section 1.3 and Figure 1-1.
PRELIMINARY Specifications A504k Introduction A503k Gain and Offset Programmable via the frame grabber via a serial link Connectors All versions: A501k 26 pin, 0.5“, mini D ribbon (MDR) plug (data) one 6 pin, Hirose HR (power) one 4 pin, Hirose HR (flash control) A504k, A503k: second 26 pin, 0.
PRELIMINARY Introduction 1.3 Digital Responsivity The specified digital responsivity is obtained if the gain is set to 98. In addition, the output depends on the register setting for the digital shift. The values given are typical values which can vary between different cameras: For digital shift = 0: 400 DN/lx s @ 550 nm For digital shift = 1: 800 DN/lx s @ 550 nm For digital shift = 2: 1600 DN/lx s @ 550 nm For digital shift = 3: 3200 DN/lx s @ 550 nm LSB = least significant bit See section 3.
PRELIMINARY Introduction 1.4 Environmental Requirements Temperature and Humidity Housing temperature during operation: 0 °C ... + 50 °C (+ 32 °F ... + 122 °F) Humidity during operation: 20 % ... 80 %, relative, non-condensing Storage temperature: - 20 °C ... + 80 °C (- 4 °F ... + 176 °F) Storage humidity: 20 % ... 80 %, relative, non-condensing You can measure the inner temperature via the temperature register. The maximum recommended inner temperature is 60 °C (140 °F).
PRELIMINARY Introduction 1.5 Precautions Power Caution! Making or breaking connections when power is on can result in damage to the camera. Be sure that all power to your system is switched off before you make or break connections to the camera. If you can not switch off power, be sure that the power supply connector is the last connector plugged when you make connections to the camera, and the first connector unplugged when you break connections.
PRELIMINARY Camera Interface 2 Camera Interface 2.1 Connections 2.1.1 General Description A500k area scan cameras are interfaced to external circuitry via • a 26 pin, 0.5“ Mini D Ribbon (MDR) connector to transmit configuration, trigger and image data via Camera Link, • a microminiature push-pull lock type receptacle to provide power (12 V) to the camera, • a microminiature push-pull lock type receptacle to provide a signal for an external flash.
PRELIMINARY Camera Interface Status LED Camera Link 1 Flash Camera Link 2 (A504k and A503k only) Power 12 VDC VGA monitor output (A504k only) Figure 2-1: A500k Connectors and LED The camera housing 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 required at the connecting cables.
PRELIMINARY Camera Interface 2.1.2 Pin Assignment for the MDR 26 Camera Link Connector(s) The pin assignment for the MDR 26 pin connector used to interface video data, control signals, and configuration data is given in Table 2-1. Table 2-2 provides the pin assignment for the second MDR 26 pin connector which is only available with the A504k and A503k.
PRELIMINARY Camera Interface Camera Link Connector 2 (A504k and A503k only): Pin Number Signal Name Direction Level Function 1, 13, 14, Gnd Input Ground Ground for the inner shield of the cable 15 Y0+ Output Data from Channel Link transmitter 2 Y0- Channel Link LVDS 16 Y1+ Output Data from Channel Link transmitter 3 Y1- Channel Link LVDS 17 Y2+ Output Data from Channel Link transmitter 4 Y2- Channel Link LVDS 19 Y3+ Output Data from Channel Link transmitter 6 Y3- Chann
PRELIMINARY Camera Interface 2.1.3 Pin Assignment for the Power Connector The power input connector type is a microminiature push-pull lock type connector, the Hirose HR 10A-7R-6PB. The power supply should deliver 12 V at a minimum of 500 mA (A504k), 450 mA (A503k) or 250 mA (A501k) with a voltage accuracy of ±10 %. The pin assignment of the plug is given in Table 2-3.
PRELIMINARY Camera Interface Flash Out ExFlash or Integrate Enabled max = 0.3 µs max = 0.3 µs max = 1.3 µs (A501k) = 1 µs (A503k) = 1 µs (A504k) max = 1.3 µs (A501k) = 1 µs (A503k) = 1 µs (A504k) Figure 2-3: FlashOut Signal Timing TTL Active High (default) A TTL Active High output signal is typically used together with a TTL / CMOS Logic Device. The TTL Active High output signal has the following characteristics: • High output min. 4.
PRELIMINARY Camera Interface 2.1.5 Pin Assignment for the VGA Monitor Output (A504k Only) The 15 pin HDSub receptacle for the VGA monitor output transmits 640 x 480 pixels at a rate of 60 fps.
Camera Interface PRELIMINARY 2.2.2 Power Cable A Hirose, 6-pin locking plug will be shipped with each camera. This plug should be used to terminate the cable on the power supply for 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 earth ground at the power supply.
PRELIMINARY Camera Interface 2.3 Camera Link Implementation in the A500k The A500k uses a National Semiconductor DS90CR287 as a Channel Link transmitter. For a Channel Link receiver, 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 website (www.national.com).
Camera Interface PRELIMINARY Figure 2-5: A504k Camera/Frame Grabber Interface 2-10 Basler A500k
PRELIMINARY Camera Interface Figure 2-6:A503k Camera/Frame Grabber Interface Basler A500k 2-11
PRELIMINARY Camera Interface MDR Cable DS90CR287 - Transmitter X Port A0 Port A1 Port A2 Port A3 Port A4 Port A6 Port A7 Tx0 Tx1 Tx2 Tx3 Tx4 Tx6 Tx7 Port B0 Port B1 Port B4 Port B5 Port B6 Port B7 Port C2 Tx8 Tx9 Tx12 Tx13 Tx14 Tx15 Tx18 Port C3 Port C4 Port C5 Port C6 LVAL FVAL Not Used Tx19 Tx20 Tx21 Tx22 Tx24 Tx25 Tx26 Not Used Port A5 Port B2 Port B3 Port C0 Port C1 Port C7 Tx27 Tx5 Tx10 Tx11 Tx16 Tx17 Tx23 Strobe (PClk) DS90CR288A - Receiver X X0+ 15 15 Pair 1+ 12 12 X0+ X0- 2 2
PRELIMINARY Camera Interface 2.4 Input Signals The A500k receives the RS-644 input signals ExSync, ExClk, ExFlash, and RxD of the serial interface. Section 2.4.1 describes the function of the ExSync signal, section 2.4.2 describes the function of the ExFlash signal. RxD of the serial communication is described in section 2.6. 2.4.1 ExSync: Controls Frame Readout and Exposure Time The ExSync input signal can be used to control exposure and readout of the A500k.
Camera Interface PRELIMINARY 2.5 Output Signals Data is output from the A500k using the Camera Link standard. The Pixel Clock signal is described in section 2.5.1, the Line Valid signal in section 2.5.2, the Frame Valid signal in section 2.5.3, and the video data in section 2.5.4. How the Video Data is output is described in sections 2.5.5 and 2.5.7. Section 2.5.8 describes the Flash trigger output signal. The A504k uses a modification of the Camera Link standard.
PRELIMINARY Camera Interface also show the assignment for the frame valid bit and the line valid bit.These signals and the data transmitted via the three Channel Link transmitter/receiver pairs are not assigned according to the Camera Link standard. The Basler-specific connection is described in Tables 2-7 to 2-9. Note that frame grabbers are available for the Basler-specific pin assignment.
2-16 TxIN3 TxIN4 TxIN5 TxIN6 TxIN7 TxIN8 TxIN9 TxIN10 TxIN11 TxIN12 TxIN13 TxIN14 TxIN15 TxIN16 TxIN17 TxIN18 TxIN19 TxIN20 TxIN21 TxIN22 TxIN23 TxIN24 TxIN25 TxIN26 TxIN27 TxCLKIn RxCLKOut Pixel Clock A, B, C PClk Port A4 Port A5 Port A6 Port A7 Port B0 Port B1 Port B2 Port B3 Port B4 Port B5 Port B6 Port B7 Port C0 Port C1 Port C2 Port C3 Port C4 Port C5 Port C6 Port C7 LVAL FVAL Port D0 Port D1 PClk D1_1 D1_0 D0_7 (MSB) D0_6 D0_5 D0_4 D0_3 LVAL
PRELIMINARY Camera Interface Note that the bit assignment of the A504k does NOT follow the current Camera Link standard in every respect: • Channel Link transmitters Y and Z do not transmit an FVAL signal. • The data lines are assigned to different input pins. • The data lines are also assigned to the spare pins and the pins normally assigned to FVAL and DVAL. Note that frame grabbers are available for the Basler-specific bit assignment. Plug No.
PRELIMINARY Camera Interface Plug No.
PRELIMINARY Camera Interface Plug No.
PRELIMINARY Camera Interface Port Camera Frame Grabber Signal Port A0 TxIN0 RxOUT0 D0 Bit 0 Port A1 TxIN1 RxOUT1 D0 Bit 1 Port A2 TxIN2 RxOUT2 D0 Bit 2 Port A3 TxIN3 RxOUT3 D0 Bit 3 Port A4 TxIN4 RxOUT4 D0 Bit 4 Port A5 TxIN5 RxOUT5 D0 Bit 5 Port A6 TxIN6 RxOUT6 D0 Bit 6 Port A7 TxIN7 RxOUT7 D0 Bit 7 (MSB) Port B0 TxIN8 RxOUT8 D1 Bit 0 Port B1 TxIN9 RxOUT9 D1 Bit 1 Port B2 TxIN10 RxOUT10 D1 Bit 2 Port B3 TxIN11 RxOUT11 D1 Bit 3 Port B4 TxIN12 RxOUT12
PRELIMINARY Camera Interface 2.5.5 Video Data Output for the A504k A504k cameras output the video data in a 10 x 8 Bit data stream. The pixel clock is used to time data sampling and transmission. As shown in Figures 2-8 and 2-9, the camera samples and transmits data on each rising edge of the pixel clock. The image has a maximum size of 1280 x 1024 pixels that are transmitted with a Pixel Clock frequency of 67.58 MHz over the three Channel Link transmitter/receiver pairs X, Y and Z.
Camera Interface PRELIMINARY stream, and so on. The tenth D_9 data stream contains the thirtieth pixel. 8 bits will contain the data for each pixel. • This pattern will continue until all of the pixel data for each data stream for line one has been transmitted. (A total of 128 cycles for the A504k) • Line valid becomes low for four pixel clocks. • On the pixel clock cycle where data transmission for line two begins, the line valid bit will become high.
PRELIMINARY Camera Interface ExSync Signal min. 3 µs 2000 µs Frame Valid 0.06 µs 0.015 µs Line Valid 1.89 µs Line 1 0 µs Line 2 Line 1024 1.95 µs Pixel Clock (67.
PRELIMINARY Camera Interface end of programmed time min. 3 µs 2000 µs Frame Valid 0.06 µs 0.015 µs Line Valid 1.89 µs Line 1 0 µs Line 2 Line 1024 1.95 µs Pixel Clock (67.
PRELIMINARY Camera Interface 2.5.6 Video Data Output for the A503k A503k cameras output the video data in an 8 x 8 Bit data stream. The pixel clock is used to time data sampling and transmission. As shown in Figures 2-10 and 211, the camera samples and transmits data on each rising edge of the pixel clock. The image has a maximum size of 1280 x 1024 pixels that are transmitted with a Pixel Clock frequency of 67.58 MHz over the three Channel Link transmitter/receiver pairs X, Y and Z.
Camera Interface PRELIMINARY stream, and so on. The twentyfourth pixel is the third pixel in the D_7 data stream. The data for each pixel will be at eight bit depth. • This pattern will continue until all of the pixel data for each data stream for line one has been transmitted. (A total of 160 cycles for the A503k). • Line valid becomes low for four pixel clocks. • On the pixel clock cycle where data transmission for line two begins, the line valid bit will become high.
PRELIMINARY Camera Interface ExSync Signal min. 3 µs 2485 µs Frame Valid 0.06 µs 0.015 µs Line Valid 2.37 µs Line 1 0 µs Line 2 Line 1024 2.43 µs Pixel Clock (67.
PRELIMINARY Camera Interface end of programmed time min. 3 µs 2485 µs Frame Valid 0.06 µs 0.015 µs Line Valid 2.37 µs Line 1 0 µs Line 2 Line 1024 2.43 µs Pixel Clock (67.
PRELIMINARY Camera Interface 2.5.7 Video Data Output for the A501k A501k cameras output the video data in a 2 x 8 Bit data stream. The pixel clock is used to time data sampling and transmission. As shown in Figures 2-12 and 213, the camera samples and transmits data on each rising edge of the pixel clock. The image has a maximum size of 1280 x 1024 pixels that are transmitted with a Pixel Clock frequency of 50 MHz over the Channel Link transmitter/receiver pair X.
PRELIMINARY Camera Interface • This pattern will continue until all of the pixel data for each data stream for line one has been transmitted. (A total of 640 cycles for the A501k.) • Line valid becomes low for twenty pixel clocks. • On the pixel clock cycle where data transmission for line two begins, the line valid bit will become high. Two data streams are transmitted in parallel during this clock cycle. In each data stream, 8 bits will contain the data for the first and second pixel of line number two.
PRELIMINARY Camera Interface end of programmed time min. 3 µs 13.517 ms Frame Valid 0.1 µs 0.4 µs Line Valid 0 µs 12.8 µs Line 1 Line 2 Line 1024 13.2 µs Pixel Clock (50 MHz) D_0 Pixel Data ..5 1 3 1277 1279 1 2 20 1 1279 1 2 20 1 3 1277 1279 D_1 Pixel Data ..5 2 4 1278 1280 1 2 20 2 1280 1 2 20 2 4 1278 1280 (8 bits) (8 bits) This diagram assumes that the area of interest feature is not being used.
Camera Interface PRELIMINARY 2.5.9 VGA Monitor Output (A504k Only) The VGA monitor output transmits 640 x 480 pixels RGB at a rate of 60 Hz. To achieve this, the image from the sensor (1280 x 1024 pixels) must be reduced. The first 32 lines and the last 32 lines of the image are not transmitted. Then, only every second pixel from the remaining 1280 x 960 pixels are transmitted to the VGA monitor output. The image on the monitor has a resolution of 640 x 480 pixels.
PRELIMINARY Camera Interface 2.6 RS-644 Serial Communication The A500k is equipped for RS-644 serial communication via 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.
PRELIMINARY Camera Interface 2.8 DC Power The A500k requires 12 VDC (± 10 %) power. The maximum power consumption is 6 W for the A504k, 5.4 W for the A503k, and 3 W for the A501k. The current during constant operation is 500 mA max. for the A504k, 450 mA max. for the A503k, and 250 mA max. for the A501k. Peak currents may occur. We recommend using 1.5 A power supplies. The camera is equipped with an undervoltage lockout. The camera has no overvoltage protection. Ripple must be less than 1 %.
PRELIMINARY Camera Interface 2.10 Status LED When the LED on the back of the camera is not lit, it means that no power is present. When the LED is lit, it means that power to the camera is present. Keep in mind that the circuit used to light the LED on the camera does not perform a voltage range check. If power to the camera is present but it is out of range, the LED on the camera may be lit but the camera will not operate properly.
Camera Interface 2-36 PRELIMINARY Basler A500k
PRELIMINARY Basic Operation and Features 3 Basic Operation and Features 3.1 Functional Description BASLER A500k area scan cameras employ a CMOS-sensor chip which provides features such as a full frame shutter, electronic exposure time control and anti-blooming. Exposure time is controlled either internally via an internal sync signal (free-run mode) or externally via an external trigger (ExSync) signal. The ExSync signal facilitates periodic or non-periodic pixel readout.
PRELIMINARY Basic Operation and Features in the FPGA if 8 bit output is selected. The digital shifter selects the most significant 8 bits out of the 10 bits for the A504k, A503k, and A501k. In the next step, different data flows occur: • In the A504k, the data is formatted to be output in 10 parallel data streams (10 taps). • In the A503k, the data is formatted to be output in 8 parallel data streams (8 taps) • In the A501k, the data is formatted to be output in 2 parallel data streams (2 taps).
PRELIMINARY Basic Operation and Features LED Power Supply Microcontroller Power EEPROM Config Sync DAC Control FlashOut TTL Driver FlashOut Serial LVDS Serial ExSync Driver + ExFlash ExFlash Receiver ExSync Internal Sync Image Sensor Gain + Ctrl PB-MV13CC Offset DACs Sensor Sensor Timing Integrate Flash Triple ImageData Biases ImageData Shifter Data Channel Link Data Monitor Driver Monitor RGB ImageData Test Img VGA Image Generator VGA Image (A504k only) FPGA Fig
Basic Operation and Features PRELIMINARY 3.2 Exposure Time Control Modes A500k cameras can operate under the control of an external trigger signal (ExSync signal) or can operate in “free-run.” In free-run, the camera generates its own internal control signal and does not require an ExSync signal. 3.2.1 ExSync Controlled Operation In ExSync operation, the camera’s frame rate and exposure time are controlled by an externally generated (ExSync) signal.
PRELIMINARY Basic Operation and Features • In ExSync, programmable mode, the rising edge of ExSync triggers exposure and charge accumulation for a pre-programmed period of time. The frame is read out and transferred at the end of the pre-programmed period. The falling edge of ExSync is not relevant (see Figure 3-6). A parameter called the “Timer 1” is used to set the length of the pre-programmed exposure period.
Basic Operation and Features PRELIMINARY 3.2.2 Free Run In free-run, no ExSync signal is required. The camera generates a continuous internal control signal. When the camera is operating in free-run, it exposes and outputs frames continuously. A500k cameras have a free-run, programmable mode. The A504k cameras additionally have a free-run, VGA mode. • In free-run, programmable mode, the camera generates a continuous internal control signal based on two programmable parameters: “Timer 1” and “Timer 2.
PRELIMINARY Basic Operation and Features • In free-run, VGA mode (A504k only), the camera generates a continuous internal control signal which is set to 60 Hz and can not be varied. The data is output at the VGA monitor output connector and at the Camera Link connectors. Timer 1 determines how long the internal signal will remain low. Pixels are exposed and charge is accumulated when the internal control signal is low.
Basic Operation and Features PRELIMINARY 3.3 Exposure Time Control Modes in Detail This section is aimed at system integrators or engineers who intend to develop their own frame grabbers or preprocessing. If you are using a commercially available frame grabber, the frame grabber takes care of the different timings described in this section without the need for any action by you.
PRELIMINARY Basic Operation and Features The synchronous/asynchronous timing is described in sections 3.3.2.2, 3.3.3.2, and 3.3.4.2 for each exposure mode. Synchronous Timing 1: The time that frame valid is low between two subsequent frames corresponds to the time of one and a half lines. Exposure of frame N+1 starts during readout of frame N while frame valid is high. Readout of frame N+1 is triggered during transmission of the last line of frame N, i.e.
Basic Operation and Features PRELIMINARY 3.3.1 ExSync, Edge-controlled Mode When using the ExSync edge-controlled mode to control exposure, several guidelines must be followed: • ExSync must remain high for a minimum of 1 µs. • ExSync must remain low for a minimum of 1 µs. • When using full resolution, the minimum ExSync period is 2 ms for the A504k, 2.485 ms for the A503k and 13.52 ms for the A501k.
PRELIMINARY Basic Operation and Features 3.3.1.1 ExSync, Edge-controlled Mode with Asynchronous Timing p = ExSync Period ExSync 3.3 µs ... 5.2 µs (A504k) 3.8 µs ... 6.2 µs (A503k) 27 µs ... 40 µs (A501k) Frame Valid 2 µs ... 3.3 µs (A504k) 2.5 µs ... 3.8 µs (A503k) 13.5 µs ... 20.2 µs (A501k) Line Valid p = ExSync Period Integrate Enabled f = 3 µs (A504k) f = 3.75 µs (A503k) f = 12.
Basic Operation and Features PRELIMINARY 3.3.1.2 ExSync, Edge-controlled Mode with Synchronous Timing 1 p = ExSync Period ExSync d = 3.3 µs ... 5.2 µs (A504k) d = 3.8 µs ... 6.2 µs (A503k) d = 27 µs ... 40 µs (A501k) Frame Valid 2 µs ... 3.3 µs (A504k) 2.5 µs ... 3.8 µs (A503k) 13.5 µs ... 20.2 µs (A501k) Line Valid p = ExSync Period Integrate Enabled f = 3 µs (A504k) f = 3.75 µs (A503k) f = 12.
PRELIMINARY Basic Operation and Features 3.3.1.3 ExSync, Edge-controlled Mode with Synchronous Timing 2 p = ExSync Period ExSync d = 5 µs ... 6 µs (A504k) d = 6.25 µs ... 7.5 µs (A503k) d = 20 µs ... 26.9 µs (A501k) Frame Valid 44 ns (A504k) 60 ns (A503k) 300 ns (A501k) Line Valid p = ExSync Period Integrate Enabled f = 3 µs (A504k) f = 3.75 µs (A503k) f = 12.
Basic Operation and Features PRELIMINARY 3.3.2 ExSync, Level-controlled Mode When using the ExSync level-controlled mode to control exposure, several guidelines must be followed: • ExSync must remain high for a minimum of 5 µs. • ExSync must remain low for a minimum of 10 µs. • When using full resolution, the minimum ExSync signal period is 2 ms for the A504k, 2.485 ms for the A503k, and 13.52 ms for the A501k.
PRELIMINARY Basic Operation and Features 3.3.2.1 ExSync, Level-controlled Mode with Asynchronous Timing ExSync Period ExSync p 3.3 µs (A504k) 3.8 µs (A503k) 20.8 µs (A501k) Frame Valid Line Valid d = 1.8 µs (A504k) d = 1.8 µs (A503k) d = 7.2 µs (501k) p Integrate Enabled TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 3-12: ExSync, Level-controlled Mode - Exposure Start and Stop when Frame Valid is Low The ExSync signal goes low and goes high while the Frame Valid signal is low.
PRELIMINARY Basic Operation and Features 3.3.2.2 ExSync, Level-controlled Mode with Synchronous/Asynchronous Timing ExSync Period ExSync p 3.3 µs (A504k) 3.8 µs (A503k) 20.8 µs (A501k) Frame Valid Line Valid d = 1.8 µs ... 5 µs (A504k) d = 1.8 µs ... 6.25 µs (A503k) d = 6.8 µs ... 20 µs (A501k) p Integrate Enabled f = 2 µs (A504k) f = 2.5 µs (A503k) f = 13 µs (A501k) TIMING CHARTS ARE NOT DRAWN TO SCALE g = 0 µs (A504k) g = 0 µs (A503k) g = 0.
PRELIMINARY Basic Operation and Features 3.3.2.3 ExSync, Level-controlled Mode with Synchronous Timing 1 ExSync Period ExSync p 3 µs ... 6 µs (A504k) 3.5 µs ... 7.5 µs (A503k) 26.9 µs ... 34.3 µs (A501k) Frame Valid 2 µs ... 3 µs (A504k) 2.5 µs ... 3.75 µs (A503k) 13.5 µs ... 20.2 µs (A501k) Line Valid d = 1.8 µs ... 5 µs (A504k) d = 1.8 µs ... 6.25 µs (A503k) d = 6.9 µs ... 20.2 µ (A501k) Integrate Enabled p f = 2 µs (A504k) f = 2.
PRELIMINARY Basic Operation and Features 3.3.2.4 ExSync, Level-controlled Mode with Synchronous Timing 2 ExSync Period ExSync p 6.5 µs (A504k) 5.8 µs (A503k) 39.2 µs ... 40.6 µs (A501k) Frame Valid 44 ns (A504k) 60 ns (A503k) 300 ns (A501k) Line Valid d = 1.8 µs ... 5 µs (A504k) d = 1.8 µs ... 6.25 µs (A503k) d = 1 µs ... 3 µs (A501k) p Integrate Enabled f = 2 µs (A504k) f = 2.5 µs (A503k) f = 7 µs (A501k) TIMING CHARTS ARE NOT DRAWN TO SCALE g = 2 µs (A504k) g = 2.
PRELIMINARY Basic Operation and Features 3.3.3 ExSync, Programmable Mode When using the ExSync programmable mode to control exposure, several guidelines must be followed: • ExSync must remain high for a minimum of 1 µs. • ExSync must remain low for a minimum of 1 µs. • Timer 1 must be set to a minimum of 10 µs. • Using full resolution, the minimum ExSync signal period is 2 ms for the A504k, 2.485 ms for the A503k and 13.52 ms for the A501k.
Basic Operation and Features PRELIMINARY 3.3.3.1 ExSync, Programmable Mode with Asynchronous Timing ExSync Period ExSync p = Timer 1 Frame Valid 4.7 µs (A504k) 5.5 µs (A503k) 26.4 µs (A501k) Line Valid d = 1.7 µs (A504k) d = 1.7 µs (A503k) d = 7.2 µs (A501k) p = Timer 1 Integrate Enabled f = 0 µs (A504k) f = 0 µs (A503k) f = 5.
PRELIMINARY Basic Operation and Features 3.3.3.2 ExSync, Programmable Mode with Synchronous/Asynchronous Timing ExSync Period ExSync p = Timer 1 4.7 µs (A504k) 5.5 µs (A503k) 26.4 µs (A501k) Frame Valid Line Valid d = 1.7 µs ... 3.7 µs (A504k) d = 1.7 µs ... 4.2 µs (A503k) d = 6.9 µs ... 20.2 µs (A501k) p = Timer 1 Integrate Enabled f = 1 µs (A504k) f = 1.25 µs (A503k) f = 7.1 µs (A501k) TIMING CHARTS ARE NOT DRAWN TO SCALE g = 3 µs (A504k) g = 3.75 µs (A503k) g = 6.
Basic Operation and Features PRELIMINARY 3.3.3.3 ExSync, Programmable Mode with Synchronous Timing 1 ExSync Period ExSync p = Timer 1 Frame Valid 5 µs ... 6 µs (A504k) 6.25 µs ... 7.5 µs (A503k) 26.2 µs ... 32.8 µs (A501k) 2 µs ... 3 µs (A504k) 2.5 µs ... 3.75 µs (A503k) 13.5 µs ... 20.2 µs (A501k) Line Valid d = 1.7 µs ... 3.7 µs (A504k) d = 1.7 µs ... 4.2 µs (A503k) d = 6.9 µs ... 20.2 µs (A501k) Integrate Enabled p = Timer 1 f = 1 µs (A504k) f = 1.25 µs (A503k) f = 7.
PRELIMINARY Basic Operation and Features 3.3.3.4 ExSync, Programmable Mode with Synchronous Timing 2 ExSync Period ExSync p = Timer 1 Frame Valid 5.1 µs ... 6.6 µs (A504k) 6.35 µs ... 8.1 µs (A503k) 41.2 µs (A501k) 44 ns (A504k) 60 ns (A503k) 300 ns (A501k) Line Valid d = 1.7 µs ... 3.7 µs (A504k) d = 1.7 µs ... 4.2 µs (A503k) d = 6.9 µs ... 20.2 µs (A501k) Integrate Enabled p = Timer 1 f = 1 µs (A504k) f = 1.25 µs (A503k) f = 7.4 µs (A501k) g = 2 µs (A504k) g = 2.5 µs (A503k) g = 20.
Basic Operation and Features PRELIMINARY 3.3.4 Free-run Mode When using the free-run, programmable mode to control exposure, several guidelines must be followed: • The internal control signal must remain high for a minimum of 3 µs. • The internal control signal must remain low for a minimum of 10 µs. • Using full resolution, the minimum internal control signal period is 2 ms for the A504k, 2.485 ms for the A503k, and 13.52 ms for the A501k.
PRELIMINARY Basic Operation and Features 3.3.4.1 Free-run Mode with Asynchronous Timing Internal Control Signal Period Internal Control Signal p = Timer 1 Timer 2 3 µs (A504k) 3.5 µs (A503k) 20.1 µs (A501k) Frame Valid Line Valid d = 1.9 µs (A504k) d = 1.
PRELIMINARY Basic Operation and Features 3.3.4.2 Free-run Mode with Synchronous/Asynchronous Timing Internal Control Signal Period Internal Control Signal p = Timer 1 Timer 2 3.3 µs (A504k) 3.8 µs (A503k) 20.6 µs (A501k) Frame Valid Line Valid d = 1 µs ... 3 µs (A504k) d = 1.25 µs ... 3.75 µs (A503k) d = 7.2 µs ... 20.2 µs (A501k) p = Timer 1 Integrate Enabled f = 1 µs (A504k) f = 1.25 µs (A503k) f = 0.8 µs (A501k) TIMING CHARTS ARE NOT DRAWN TO SCALE g = 1 µs (A504k) g = 1.
PRELIMINARY Basic Operation and Features 3.3.4.3 Free-run Mode with Synchronous Timing 1 Internal Control Signal Period Internal Control Signal p = Timer 1 Timer 2 4 µs ... 6 µs (A504k) 5 µs ... 7.5 µs (A503k) 26.2 µs ... 39.8 µs (A501k) Frame Valid 2 µs ... 3 µs (A504k) 2.5 µs ... 3.8 µs (A503k) 13.5 µs ... 20.2 µs (A501k) Line Valid d = 1 µs ... 3 µs (A504k) d = 1.25 µs ... 3.75 µs (A503k) d = 6.9 µ ... 20.2 µs (A501k) Integrate Enabled p = Timer 1 f = 2 µs (A504k) f = 2.
Basic Operation and Features PRELIMINARY 3.3.4.4 Free-run Mode with Synchronous Timing 2 Internal Control Signal Period Internal Control Signal p = Timer 1 Timer 2 4 µs ... 6 µs (A504k) 5 µs ... 7.5 µs (A503k) 27.4 µs ... 39.4 µs (A501k) Frame Valid 44 ns (A504k) 60 ns (A503k) 300 ns (A501k) Line Valid d = 0.8 µs Integrate Enabled p = Timer 1 f = 2 µs (A504k) f = 2.5 µs (A503k) f = 7 µs (A501k) TIMING CHARTS ARE NOT DRAWN TO SCALE g = 2 µs (A504k) g = 2.
PRELIMINARY Basic Operation and Features 3.3.5 Free-run VGA Mode (A504k Only) Internal Control Signal Period Internal Control Signal p = Timer 1 34 µs 16087 µs Frame Valid 580 µs Line Valid Integrate Enabled p = Timer 1 f =15.8 µs g =15.8 µs TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 3-24: Free-run VGA Mode • Disregarding possible jitter, the duration of the effective exposure is defined by period p (set by Timer 1). • Jitter may shorten or extend the effective exposure, i.e.
Basic Operation and Features PRELIMINARY 3.4 Long Exposure Compensation (A504k, A503k Only) The long exposure compensation value can be set to optimize image quality. The longer the exposure time, the higher the long exposure compensation needs to be. The long exposure compensation value determines the reset voltage which is applied to the pixels between two images to achieve full and uniform discharge.
PRELIMINARY Basic Operation and Features 3.5 Max Exposure Time at Max Speed (A504k Only) In many applications, cameras are operated at maximum speed and at maximum exposure time. To obtain a reliable timing for frame readout in synchronous timing 2, follow the setup recommendations described in this section. This recommendation applies to level-controlled, programmable, free-run VGA and free-run, programmable exposure time control modes. It is not relevant for edge-controlled mode.
Basic Operation and Features PRELIMINARY 3.6 Gain and Offset The A500k includes a CMOS sensor with 1024 ADCs (Analog to Digital Converters), and a digital shifter. The pixels in the CMOS sensor output voltage signals when they are exposed to light. After readout of the pixel voltage, an offset is added to each voltage. The voltages are then transferred to the ADCs which convert the voltages to digital output signals. The ADC reference is used to set the gain, but only in a small range.
PRELIMINARY Basic Operation and Features 3.6.1 Gain Settings in More Detail The optical gain Gopt is the digital number value (DN) that the camera outputs after an exposure with the amount of light of 1 Lux per second. For this camera, the optical gain can be calculated as follows (formula based on data from sensor data sheet): 1.6 DN / lx s Gopt = -----------------------------------------------------------------------------0.006 – 0.
Basic Operation and Features PRELIMINARY 3.7 DSNU Constancy (A503k Only) In theory, when an area scan camera with a digital sensor captures a frame in complete darkness, all of the pixel values in the frame 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 variation in the pixel values output from the camera. This variation is known as Dark Signal Non-uniformity (DSNU).
PRELIMINARY Basic Operation and Features 3.9 Digital Shift The digital shift feature allows you to change the group of bits that is output from the ADC. Using the digital shift feature will effectively multiply the output of the CMOS sensor by 2 times, 4 times or 8 times. Section 3.9.1 describes how digital shift works. You can set digital shift using either the Camera Configuration Tool Plus (see section 4.1) or binary commands (see section 4.2). 3.9.
Basic Operation and Features PRELIMINARY 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 that under these conditions the reading for the brightest pixel is 20.
PRELIMINARY Basic Operation and Features 3.9.2 Precautions When Using Digital Shift There are several checks and precautions that you must follow before using the digital shift feature. Make this check: 1. Use the binary commands or the CCT+ to set the camera for no digital shift. 2. 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 shift.
Basic Operation and Features PRELIMINARY 3.10 Area of Interest (AOI) The area of interest feature allows you to specify a portion of the CMOS array and during operation, only the pixel information from the specified portion is transferred out of the camera. The size of the area of interest is defined by declaring a starting column, a width in columns, a starting line and a height in lines.
PRELIMINARY Basic Operation and Features You can set the area of interest using either the Camera Configuration Tool Plus (see section 4.1) or binary commands (see section 4.2). You use the Area of Interest Starting Column, Area of Interest Width in Columns, Area of Interest Starting Line and Area of Interest Height in Lines commands. Note that the binary commands start to count at 0. In normal operation, the camera is set to use all of the pixels in the array.
Basic Operation and Features PRELIMINARY 3.10.1 Changes to the Maximum Frame Rate with Area of Interest When the area of interest feature is used, the camera’s maximum achieveable frame rate increases. The amount that the maximum frame rate increases depends on the number of lines included in the area of interest (AOI height). The fewer the number of lines in the area of interest, the higher the maximum frame rate.
PRELIMINARY Basic Operation and Features 3.10.2 Dynamic Area of Interest (A504k, A503k Only) Dynamic AOI is a useful feature for object tracking applications. It needs to be activated if you want to displace the AOI position diagonally. To show the usefulness of this feature, this section explains first what happens if you move the AOI diagonally with Dynamic AOI deactivated. When you change the AOI starting line register, the value becomes immediately active.
Basic Operation and Features PRELIMINARY AOI Starting Column, AOI Width, AOI Starting Line, AOI Height: The values come directly from the AOI registers of the camera. The AOI values are located right-justified in each 16 Bit stamp. Unused Bits are set to 0. The stamp is not applied • if a test image is active, or • if the exposure mode is set to free-run, VGA. You can activate or deactivate the Area of Interest Stamp using either the Camera Configuration Tool Plus (see section 4.
PRELIMINARY Basic Operation and Features 3.11 Test Images The test image mode is used to check the camera’s basic functionality and its ability to transmit an image via the video data cable. The test image can be used 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, CMOS sensor, or ADCs.
Basic Operation and Features PRELIMINARY 3.11.1 Gray Scale Test Image The gray scale test image consists of lines with repeated gray scale gradients ranging from 0 to 255. The first line starts with a gray value of 0 on the first pixel, in the second line the first pixel has a gray value of 1, in the third line the first pixel has a gray value of 2, and so on. The mathematical expression for the test image is: gray level = [x + y] MOD 256. This expression is shown graphically in Figure 3-31.
PRELIMINARY Basic Operation and Features 3.12 Configuration Sets The camera’s adjustable parameters are stored in configuration sets and each configuration set contains all of the parameters needed to control the camera. There are three different types of configuration sets: the Work Set, the Factory Set and User Sets. Work Set The Work Set contains the current camera settings and thus determines the camera’s present performance, that is, what your image currently looks like.
Basic Operation and Features PRELIMINARY 3.13 Camera Status A500k cameras monitor their status by performing a regular series of self checks. The current status of a camera can be viewed in several ways: • With the camera configuration tool CCT+. You can use the Camera Status information in the Camera Information group (see section 4.1 and the configuration tool’s on-line help). • With binary commands (see section 4.2). You can use the Camera Status command to see if the camera has detected any errors.
PRELIMINARY Configuring the Camera 4 Configuring the Camera A500k cameras come factory-set so that they will work properly for most applications with minor changes to the camera configuration.
Configuring the Camera PRELIMINARY 4.1 Configuring the Camera with the Camera Configuration Tool Plus (CCT+) The camera configuration tool CCT+ is a Windows™ based program used to easily change the camera’s settings. The tool communicates via the RS-644 serial connection in the Camera Link interface between the frame grabber and the camera. The tool automatically generates the binary programming commands that are described in section 4.2.
PRELIMINARY Configuring the Camera 4.1.3 Configuration Tool Basics The RAM memory in the camera contains the set of parameters that controls the current operation of the camera. This set of parameters is known as the Work Set (see section 3.12). The CCT+ is used to view the present settings for the parameters in the Work Set or to change the settings. When the CCT+ is opened and a port is selected, it queries the camera and displays a list of the current settings for the parameters in the Work Set.
Configuring the Camera PRELIMINARY 4.1.4 Configuration Tool Help The CCT+ includes a complete on-line help file which explains how to change a setting or to copy the Work Set to a User Set, to Copy a User Set or the Factory Set to the Work Set, or to set the Startup Pointer. To access on-line help, press the F1 key whenever the configuration tool is active.
PRELIMINARY Configuring the Camera 4.2 Configuring the Camera with Binary Programming Commands Configuration commands can be issued to the A500k via the RS-644 serial connection in the Camera Link interface between the frame grabber and the camera. Commands are issued using a binary protocol. With this protocol, data is placed into a frame and sent to the camera. Once the data is received it is checked for validity. If valid, the data is extracted and the command is executed.
PRELIMINARY Configuring the Camera 4.2.
PRELIMINARY ACK/NAK Response Configuring the Camera Positive frame acknowledge/negative frame acknowledge Size = 1 byte (The value for a positive frame acknowledgement is 0x06 and for a negative frame acknowledgement is 0x15.) All values are formatted as little endian (Intel format). 4.2.2 Error Checking 4.2.2.
Configuring the Camera PRELIMINARY 4.2.2.4 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 command ID in the descriptor, 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.
PRELIMINARY Configuring the Camera 4.2.3 Example Commands 4.2.3.1 Read Command An example of the command message used to read the camera status is: 0x02, 0x43, 0x82, 0xC1, 0x03 0x02 - is the STX. The STX is always 0x02. 0x43 - is the first byte of the descriptor. The first byte of the descriptor is the command ID. Command IDs can be found in the tables on pages 4-11 through 4-32. If you check the table on page 4-30, you will find that the ID for the camera status read command is 0x43.
Configuring the Camera PRELIMINARY 4.2.3.3 Calculating the Block Check Character The block check character in any A500k command is the exclusive-or sum (XOR sum) of the bytes in the descriptor and the data fields. For the write command example shown in section 4.2.3.2, the block check character is 0x45. Let’s consider how this block check character was calculated. In this case, we must find the XOR sum of three bytes.
PRELIMINARY Configuring the Camera 4.2.4 Commands for Setting Camera Parameters 4.2.4.1 Exposure Time Control Mode Purpose: To set the exposure time control mode or to read the current exposure time control mode setting. See section 3.2 for an explanation of exposure time control modes. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.4.2 Timer 1 Purpose: To set Timer 1 or to read the current Timer 1 setting. Timer 1 is used when the camera is operating in ExSync programmable mode or in free-run mode. See section 3.2 for details. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.4.4 Long Exposure Compensation (A504k, A503k Only) Purpose: To set long exposure compensation or read the current long exposure compensation setting. See section 3.4 for details. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.4.5 Gain Purpose: To set the gain (ADCref) or to read the current gain (ADCref) setting. See section 3.6 for more information on gain. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.4.7 Positive Offset Purpose: To set the positive offset or to read the current positive offset setting. If you use OfsPos, set OfsNeg to 0. See section 3.6 for more information on offset. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.4.8 DSNU Constancy and Shutterline Correction Enable (A503k Only) Purpose: To enable/disable the DSNU constancy feature and/or the shutterline correction feature. See section 3.7 for more information on the DSNU constancy feature and section 3.8 for more information on shutterline correction. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.4.9 Shutterline Correction (A503k Only) Purpose: To set the shutterline correction value. See section 3.8 for more information on shutterline correction. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.4.10 Digital Shift Purpose: To enable or disable digital shift. See section 3.9 for an explanation of digital shift. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.4.11 Area of Interest Starting Column Purpose: To set the left starting column for the area of interest or to read the current starting column setting. See section 3.10 for details. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.4.13 Area of Interest Starting Line Purpose: To set the starting line for the Area of Interest or to read the current starting pixel setting. See section 3.10 for details. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.4.15 Area of Interest Stamp and Dynamic Area of Interest (A504k, A503k Only) Purpose: To activate or deactivate the Area of Interest Stamp and Dynamic Area of Interest or to read the settings. See sections 3.10.3 and 3.10.2 for details. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.4.16 FlashCtrl: Flash Trigger Modes Purpose: To set the flash trigger mode or to read the current flash trigger mode setting. See sections 2.1.4 and 2.5.8 for an explanation of flash trigger modes. Type: This is a read or write command.
PRELIMINARY Configuring the Camera 4.2.5 Test Image Command Purpose: To enable or disable a test image, and to select a test image. See section 3.11 for an explanation of the available test images. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.6 Query Commands 4.2.6.1 Read Vendor Information Purpose: To read the camera vendor’s name. Type: This is a read only command. Read Command: Response: Data Format: Cmd-ID 0x01 R/W-Flag 1 Data Length 16 Data - Cmd-ID 0x01 R/W-Flag 0 Data Length 16 Data 16 Bytes Zero terminated string if less than 16 bytes are needed for the vendor information. Unterminated string if all 16 bytes are needed. 4.2.6.
PRELIMINARY Configuring the Camera 4.2.6.4 Read Serial Number Purpose: To read the camera’s serial number. Type: This is a read only command. Read Command: Response: Data Format: Cmd-ID 0x04 R/W-Flag 1 Data Length 16 Data - Cmd-ID 0x04 R/W-Flag 0 Data Length 16 Data 16 Bytes Zero terminated string if less than 16 bytes are needed for the serial number information. Unterminated string if all 16 bytes are needed. 4.2.6.5 Read Camera Version Purpose: To read the camera version information.
Configuring the Camera PRELIMINARY 4.2.6.7 Read Microcontroller Firmware Version Purpose: To read the microcontroller firmware version. Type: This is a read only command. Read Command: Response: Data Format: Cmd-ID 0x40 R/W-Flag 1 Data Length 3 Data - Cmd-ID 0x40 R/W-Flag 0 Data Length 3 Data 3 Bytes Byte 1 Low byte of firmware version BCD coded Byte 2 High byte of firmware version BCD coded Byte 3 Register Layout ID 4.2.6.
PRELIMINARY Configuring the Camera 4.2.7 Commands for Manipulating Configuration Sets 4.2.7.1 Copy the Factory Set or the User Set into the Work Set (Profile Load) Purpose: To copy the Factory Set or one of the 15 User Sets into the Work Set. See section 3.12 for an explanation of configuration sets. The write command will cause the selected set to be copied into the Work Set and the set will become active immediately. Write commands greater than 0x0F will be ignored.
Configuring the Camera PRELIMINARY 4.2.7.2 Copy the Work Set into a User Set (Profile Save) Purpose: To copy the Work Set into one of the 15 User Sets. See section 3.12 for an explanation of configuration sets. Type: This is a write only command. Write Command: Response: Data Format: Cmd-ID 0x46 Data Length 1 Data 1 Byte None Byte 1 Set ID 4-28 R/W-Flag 0 An ID that specifies the user set (see table below).
PRELIMINARY Configuring the Camera 4.2.7.3 Select the Startup Pointer (Profile Startup) Purpose: The Startup Pointer is used to tag the configuration set that will be copied into the Work Set at power on (see section 3.12). The write command is used to set the Startup Pointer to the Factory Set or to one of the User Sets. The read command returns the Set ID for the current setting. Type: This is a read or write command.
Configuring the Camera PRELIMINARY 4.2.8 Camera Status Command Purpose: The camera has been programmed to detect several error conditions. When an error condition is detected, a flag is set. The status command allows you to read the error flags. Type: This is a read only command. Read Command: Response: Data Format: Cmd-ID 0x43 R/W-Flag 1 Data Length 2 Data - Cmd-ID 0x43 R/W-Flag 0 Data Length 2 Data 2 Bytes Byte 1 Each bit specifies an error condition (see table below).
PRELIMINARY Configuring the Camera 4.2.9 Bitrate Command Purpose: To set the bit rate of the serial communications link. The bit rate is changed immediately after the successful receipt of this command. (The default bit rate is 9600.) Type: This is a write only command. Write Command: Response: Data Format: Cmd-ID 0x44 Data Length 4 Data 4 Bytes None Byte 1 An ID that specifies the bit rate (see table below).
Configuring the Camera PRELIMINARY 4.2.10 Camera Reset Command Purpose: Initiates a camera reset. The behavior is similar to a power up reset. Type: This is a write only command. Write Command: Response: Data Format: Cmd-ID 0x42 R/W-Flag 0 Data Length 2 Data 2 Bytes None Byte 1 Low byte 0xCF is always used Byte 2 High byte 0x07 is always used 4.2.11 Power Control Command Purpose: To set the camera to standby mode or to fully functional mode. See section 2.9 on power up time.
PRELIMINARY Mechanical Considerations 5 Mechanical Considerations 5.1 Camera Dimensions and Mounting Facilities The A500k camera housing is manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repeatability. A500k 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 availabe as an option. The Basler part number is 1000014110.
Mechanical Considerations PRELIMINARY 47.3 41.5 6.5 90 76 ca. 6.
PRELIMINARY Mechanical Considerations 5.
Mechanical Considerations PRELIMINARY 5.3 Positioning Accuracy of the Sensor Chip Positioning accuracy of the sensor chip is as shown in Figure 5-3. Since the translatory and rotational positioning tolerance depend on each other, the maximum rotational mis-positioning and the maximum horizontal/vertical mis-positioning cannot occur at the same time.
PRELIMINARY Mechanical Considerations 5.4 Mechanical Stress Test Results Cameras were submitted to an independent mechanical testing laboratory and subjected to the stress tests listed below. The mechanical stress tests were performed on selected camera models with standard housings. After mechanical testing, the cameras exhibited no detectable physical damage and produced normal images during standard operational testing.
Mechanical Considerations 5-6 PRELIMINARY Basler A500k
PRELIMINARY Troubleshooting and Support 6 Troubleshooting and Support 6.1 Troubleshooting 6.1.1 Fault Finding Using the Camera’s LED A500k cameras regularly perform self tests. Detected errors are signaled by flashes of the LED on the back of the camera. The number of flashes indicates the detected error. If several error states are present, the LED outputs the error codes in succession. See Table 6-1 for the description of the flashes and the error states.
Troubleshooting and Support PRELIMINARY 6.1.2 Troubleshooting Charts The following pages contain several troubleshooting charts which can help you find the cause of problems that 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 that you review the manuals for your camera and frame grabber before you troubleshoot a problem. 6.1.2.
PRELIMINARY Check to make sure that the RS-644 serial connection is working OK. You can do this by starting the CCT+. When you start the tool, the camera settings should appear in the right-hand column. (If this is the first time that you are starting the tool, no RS-644 port will be selected when starting the tool. Click the “No Port Selected“ button below the menu bar and select the RS-644 port you wish to use. The settings should appear.
Troubleshooting and Support PRELIMINARY 6.1.2.2 Poor Quality Image 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 6.1.2.1. Use the CCT+ to set the camera for test image one. Use your frame grabber to capture an image and examine the image carefully.
PRELIMINARY Troubleshooting and Support 6.1.2.3 Interfacing Use the interfacing troubleshooting charts if you think that there is a problem with the cables between your devices or if you have been directed here from another chart. Interfacing Chart Always switch off power to the system before making or breaking any connection. If you have not already done so, use a voltmeter to check the power source for the camera. The output must be 12 VDC ± 1.2 V.
Troubleshooting and Support PRELIMINARY 6.1.2.4 RS-644 Serial Communication Use the serial communication troubleshooting charts if you think that there is a problem with RS644 serial communication or if you have been directed here from another chart. Serial Communication Chart (without a k-BIC) Always switch off power to the system before making or breaking any connection. The RS-644 port used by the A500k is located on the frame grabber. Check the documentation for your frame grabber.
PRELIMINARY Troubleshooting and Support 6.2 Technical Support 6.2.1 Technical Support Resources If you need advice about your camera or if you need assistance troubleshooting a problem with your camera, you can contact the Basler technical support team for your area. Basler technical support contact information is located in the front pages of this manual. You will also find helpful information such as frequently asked questions, downloads, and application notes on the Basler website at: www.baslerweb.
Troubleshooting and Support PRELIMINARY 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 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? After start. While running. After a certain action (e.g.
PRELIMINARY 9 How often did/does the problem occur? Once. Troubleshooting and Support Every time. Regularly when: Occasionally when: 10 How severe is the problem? Camera can still be used. Camera can be used after I take this action: Camera can no longer be used. 11 Did your application ever run without problems? Yes No 12 Parameter set It is very important for Basler technical support to get a copy of the exact camera parameters that you were using when the problem occurred.
Troubleshooting and Support 6-10 PRELIMINARY Basler A500k
DRAFT Revision History Doc. ID Number Date Changes DA00057001 14 Oct 2002 Initial release covering series production cameras. DA00057002 07 Jan 2003 The A501kc color camera was added to the series. The high and low byte information was added to the AOI stamp. The AOI Stamp and Dynamic AOI register was renamed and is now called the AOI Feature register. DA00057003 25 Jul 2003 Vibration, shock, and bump specifications were added. FVAL high time in Figure 2-8 and Figure 2-9 was corrected.
DRAFT Doc. ID Number Date Changes DA00057008 5 Dec 2008 Updated the addresses and phone numbers on the contact page. Added warning that warranty is void if serial number sticker is removed. Added warnings about disconnecting cables to sections 1.5, 2.1, and 2.8. Corrected the frame rate formula for the A504k/kc in section 3.10.1. Corrected the description of bit 0 and bit 4 in section 4.2.4.8. Added section 5.4 with the mechanical stress test results. Added section 6.2.
DRAFT Index A AOI see area of interest area of interest explained . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 height. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 setting with binary commands . . . . . . . 4-19, 4-20 size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 starting column . . . . . . . . . . . . . . . . . . . . . . 3-38 width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 with the SXGA monitor output . . . . . . . . . . .
Index DRAFT ExSync, level-controlled mode with synchronous/asynchronous timing . . . . . . . . . . . 3-16 ExSync, progammable mode with synchronous timing 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22 ExSync, programmable mode with synchronous timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19, 3-20 ExSync, programmable mode with synchronous timing 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DRAFT output signals from the camera . . . . . . . . . . . . . . . . . . . . . 2-14 overlapped exposure . . . . . . . . . . . . . . . . . . . . . . 3-8 P photo response non-uniformity . . . . . . . . . . . . . . . 1-2 pin assignments camera . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3, 2-7 pin numbering camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 pixel clock on the camera . . . . . . . . . . . . . . . . . . . . . . . 2-14 pixel clock speed . . . . . . . . . . . . . . . .
Index DRAFT V Vdrk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 vendor information viewing with commands . . . . . . . . . . . . . . . 4-24 ventilation camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 video data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 video data output mode(s) explained . . . . . . . . . . . . . . . . . . . . . . . 2-21–2-31 video output format. . . . . . . . . . . . . . . . . . . . . . . . 1-2 video output type . .