NED XCM4040SAT2 User Manual

Line scan camera
Table of Contents

Advertisement

Quick Links

User's Manual
Line Scan Camera
Type:XCM4040SAT2
NIPPON ELECTRO-SENSORY DEVICES CORPORATION

Advertisement

Table of Contents
loading

Summary of Contents for NED XCM4040SAT2

  • Page 1 User’s Manual Line Scan Camera Type:XCM4040SAT2 NIPPON ELECTRO-SENSORY DEVICES CORPORATION...
  • Page 2 Equipment itself. *Class A equipment is equipment suitable for use in all establishments other than domestic and those directly connected to a low voltage power supply network which supplies buildings used for domestic purposes. XCM4040SAT2 UME-0009-02...
  • Page 3: Safety Precaution

    Introduction Thank you for purchasing NED’s Line Scan Camera. We look forward to your continued custom in the future. For safety use For your protection, please read these safety instructions completely before operating the product and keep this manual for future reference.
  • Page 4 Do not share the power supply with motor units or other devices that generate noise interference. Do not disconnect the camera while rewriting an embedded memory. When you change exposure mode that is set at NED factory, input control signal (CC1) from the capture board. XCM4040SAT2...
  • Page 5 The manufacturer assumes no responsibility for any damages resulting from malfunctions caused by combined use of this product with other peripheral equipment. The manufacturer assumes no responsibility for damages resulting from malfunctions caused by non-authorized repair or modifications made to this product. XCM4040SAT2 UME-0009-02...
  • Page 6: Table Of Contents

    4.2.4 Setting Exposure Mode..................26 4.2.5 Setting Exposure Time..................27 4.2.6 Setting Output Signals 1 (Setting Data Format)..........27 4.2.7 Setting Output Signals 2 (Setting Linear / Log) ..........27 4.2.8 Memory Initializing (Initializing Camera Settings) ......... 28 XCM4040SAT2 UME-0009-02...
  • Page 7 6 Sensor Handling Instructions ........... 51 6.1 Electrostatic Discharge and the Sensor..............51 6.2 Protecting Against Dust, Oil and Scratches ............51 6.3 Cleaning the Sensor Window ................. 51 7 Troubleshooting ................52 7.1 When there is no Image ..................52 XCM4040SAT2 UME-0009-02...
  • Page 8: Revision History

    8.9 Attention on use ...................... 69 9 Others ...................... 70 9.1 Notice ........................70 9.2 Contact for support....................70 9.3 Product Support...................... 71 9.3.1 Warranty card (attach a separate) ..............71 9.3.2 When you need to repair ..................71 Revision History .................. 72 XCM4040SAT2 UME-0009-02...
  • Page 9: Product Outline

    Flat panel display inspection Inspection of glass and sheet-like objects This camera utilizes an Intelligent Transportation System Outdoor surveillance Wide dynamic range prevents the camera from saturation caused by ♦ direct rays and specular refection rays. XCM4040SAT2 UME-0009-02...
  • Page 10 2. Resolution: 10μm 3. Inspection time: less than 30 seconds Unit Configuration 1. Camera: Line scan camera 2. Controller: Dedicated software for PC system 3. Size: L930 x D500 x H500 (mm) Applicable Fields Inspection of patterns on film PCBs XCM4040SAT2 UME-0009-02...
  • Page 11: Image Sensor

    The Performance Specifications are shown in Table 1-4-1. It shows the data when the camera is operating at maximum scan rate, unless otherwise specified. Table 1-4-1 Performance Specifications Specifications Items XCM4040SAT2 Number of Pixels 4096 Pixel Size H x V (μm) 7x7 Sensor Length (mm) 28.672...
  • Page 12 *2) DN : Digital Number (10bit : 0 -1023) *3) Measurements were made at room temperature. *4) This product is designed and manufactured in accordance with the following standards. EN 55011:1998+A1:1999+A2:2002 Group 1 Class A EN 61000-6-2:2005 FCC Part 15 Subpart B:2006 Class A XCM4040SAT2 UME-0009-02...
  • Page 13: Camera Setting And Optical Interface

    8mm, and less than 6mm for the side. No X-, Y-axis orientation and tilt adjustment mechanism is available. Please prepare an adjustment mechanism if required. XCM4040SAT2 UME-0009-02...
  • Page 14 Power Supply Connector Camera Link Indicator Connector(MDR26) (HIROSE HR10A 4P) DC12-15V CLISBee S DIGITAL LINESCAN CAMERA 4-M4 Depth 6(Both Sides) 4-M4 Depth 6 1/4"-20UNC (Top,Bottom) 4-M4 Depth 6 (Front Surface) 1st Pixel Figure 2-2-1 Dimensions of the Camera XCM4040SAT2 UME-0009-02...
  • Page 15: Optical Interface

    2.3 Optical Interface For XCM4040SAT2 the Nikon F-mount is available. The amount and wavelengths of light required to capture useful images depend on the intended use. Factors include the property, speed, the objects spectral characteristics, exposure time, the light source characteristics, the specifications of the acquisition system and so on.
  • Page 16: Hardware

    Supply DC +12V 15W Figure 3-1-1 Connections between Camera and Frame Grabber Board and Power Supply There are two connectors available for the Camera Link Medium Configuration board. Always check the frame grabber board specifications before making connections. XCM4040SAT2 UME-0009-02...
  • Page 17: Input / Output Connectors And Indicator

    3.2 Input / Output Connectors and Indicator The layout of input /output connecters and the LED indicator are as follows. Camera Link Connector (MDR26) Indicator Power Supply Connector (HIROSE HR10A 4P) DC12-15V CLISBee S DIGITAL LINESCAN CAMERA Figure 3-2-1 Input/Output Connectors and Indicator XCM4040SAT2 UME-0009-02...
  • Page 18: Connectors・Pin Assignments・Cables

    Set the LVDS, Channel Link receiver side to 100 ohm termination. Do not make the driver side of LVDS open but set the logic to H or L, even if not used. Driver Receiver H or L 100Ω Figure 3-3-2 Circuit of LVDS XCM4040SAT2 UME-0009-02...
  • Page 19 The camera has 26-pin MDR connectors for control signals of Camera Link, data signals and serial communications. The camera also has a 4-pin HIROSE connector for power supply. Figure 3-3-3 Camera Link Connector Half pitch (miniature half ribbon) shape Locking screw (UNC #4-40) type XCM4040SAT2 UME-0009-02...
  • Page 20 3M :14B26 -SZLB - xxx - 0LC by or equivalent To avoid uncoupling of the cable connectors during power on, make sure to clamp them with the locking screws. Do not unplug the cables while power is being supplied to the camera. XCM4040SAT2 UME-0009-02...
  • Page 21: Power Supply

    LED lamp illuminates when +12V to +15V power is being supplied to the camera. If the lamp fails to illuminate even after power is switched on, turn OFF power immediately. Inspect wiring. Check the voltage and capacity of the supplied power source. XCM4040SAT2 UME-0009-02...
  • Page 22: Camera Control

    Transmission ends when the camera returns the analyzed results of the control commands to the computer. Always allow the previous transmission to end before starting the next transmission. (Only one command can be sent per transmission.) XCM4040SAT2 UME-0009-02...
  • Page 23: Camera Receiving Message (Pc Sending Command)

    >OK CR >gax 0 CR EOT Table 4-1-3-1 Error Messages Camera Response Meaning Camera executed command CMD ERR! Command is not valid CMD OVR ERR! Command text line is too long VAL ERR! Parameter accepted was outside of specified MEM ERR! Memory error XCM4040SAT2 UME-0009-02...
  • Page 24: Camera Control Commands

    0 to 50 0 -81920μs Time Returns current camera Operation Status settings. Readout Scanning Direction 0 /1 0 : Forward / 1 : Reverse Programmable Exposure Time=VAL2÷{20000000÷(16x2^VAL1)} Exposure-Readout Time=VAL1÷{20000000÷(16x2^VAL1*)} (VAL* : Dividing of Programmable Exposure Time) (Unit : μs ) XCM4040SAT2 UME-0009-02...
  • Page 25: Memory Setup Values (Factory Settings)

    4.2 Details on Commands 4.2.1 Setting Analog Gain Sets analog gain in 21 steps between x 1 and x 11.2. Format 2 CMD VAL1 CR 0 (x1) to 20 (x11.2) <Example> gax 5 CR (Setting analog gain 5(x1.84)) >OK >gax 5 XCM4040SAT2 UME-0009-02...
  • Page 26: Setting Digital Gain

    5 CR (Setting digital offset 5(8-bit) or 20(10-bit)) >OK >odx 5 4.2.4 Setting Exposure Mode Sets the exposure mode. Format 2 CMD□VAL1 CR 0,1,2 <Example> inm 0 CR (Setting the exposure mode free run) >OK >inm 0 XCM4040SAT2 UME-0009-02...
  • Page 27: Setting Exposure Time

    >voa 0,0 4.2.7 Setting Output Signals 2 (Setting Linear / Log) Sets the data format of output signals. Format 2 CMD VAL1 CR 0,1 (0:linear output / 1:log output) <Example> voc 0 CR (linear output) >OK >voc 0 XCM4040SAT2 UME-0009-02...
  • Page 28: Memory Initializing (Initializing Camera Settings)

    >tpn 0 >shc 1, 900 >pad 0 >rev 0 >rst 4.2.9 Memory Load Reads out the camera settings from the flash memory. Format 1 CMD CR <Example> rfd CR >OK >Type= XCM4040SAT2 2.44_0x4613 >Ver.= 9999 >Serial= >check_code = 20070615 XCM4040SAT2 UME-0009-02...
  • Page 29: Memory Save

    Stores the current camera settings in the flash memory. Format 1 CMD CR <Example> sav CR >OK >sav 4.2.11 Generating Test Pattern Generates test pattern Format 2 CMD VAL1 CR 0,1 (0:Image data, 1: Test pattern) <Example> tpn 1 CR (Generating test pattern) >OK >tpn 1 XCM4040SAT2 UME-0009-02...
  • Page 30: Saving Pixel Correction Data

    1 900 CR (for Factory white correction, Correction level 900) >OK >shc 1,900 4.2.14 Setting Exposure Time - Readout Time Prolongs the line period without changing the exposure time. Format 2 CMD VAL1 CR 0-81920μs VAL 1 0 to 50 ( <Example> pad□10 CR >OK >pad 10 XCM4040SAT2 UME-0009-02...
  • Page 31: Returning The Cameras Settings To The Its Original Status

    2 x 2 x 2 x 2)= 12.8 μs. 4.2.15 Returning the Cameras Settings to the its original status Returns the current camera settings. Format 1 CMD CR <Example> sta CR >OK >Type=XCM4040SAT2 2.44_0x4613 >Ver.= >Serial=0 >check_code = 20070615 >gax 0 >gdx 0 >odx 0 >inm 0 >int 0,61...
  • Page 32: Setting The Pixel Readout Direction

    Video(8 or 10bit) To Channel Link Driver 8 or 10bit Output Block Digital Gain Digital Offset select select In Test Pattern mode, Black / White reference and Digital Gain /Offset w ill be skipped. Figure 4-3-1 FPGA Processing Block Diagram XCM4040SAT2 UME-0009-02...
  • Page 33: Startup

    When changing the factory setting exposure mode, be sure to send the control input signal (CC1). If you do not send CC1 or sending control input signals are out of the designated range, you cannot get images and cannot change the settings. See 4.8.2 and 4.8.3. XCM4040SAT2 UME-0009-02...
  • Page 34: Serial Communication Settings

    Serial communication is performed through the Camera Link Interface Table 4-6-1 shows serial communication settings. Table 4-6-1 Serial Communication Settings Parameter Items Setup Value Communication Speed (Baud rate) 9600bps Data Length 8bit Parity Bit None Stop bit 1bit Flow Control None XCM4040SAT2 UME-0009-02...
  • Page 35: Video Output Format

    b it1 b it1 b it0 b it0 Figure 4-7-1 Pin Assignments of Digital Data The A/D converter of the camera has a 10-bit resolution. For 8-bit output, the upper 8-bit signal can be output as a video data. XCM4040SAT2 UME-0009-02...
  • Page 36 Invalid Invalid Invalid 4093 4095 Invalid Invalid Invalid Invalid (#1 BLOCK) VIDEO Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid 4094 4096 (#2 BLOCK) FVAL = 0 (low level) fixed Figure 4-7-2 Video Output Phase of the Camera XCM4040SAT2 UME-0009-02...
  • Page 37: Exposure Mode And Timing Chart

    Table 4-8-1-1 Programmable Exposure Time 4040SAT2 48.8~1676083.2 Programmable exposure time 51.2 Readout time (unit:μs) scan Exposure Readout Figure 4-8-1-1 Free Run Exposure Mode The data of Exposure (1) is read out at Readout (1) XCM4040SAT2 UME-0009-02...
  • Page 38: External Trigger Exposure Mode (Trigger Edge)

    ≧1.6 Trigger pulse H time ≧4.8 Trigger pulse L time Trigger pulse cycle ≧53.6 (unit:μs) Trigger (CC1) Exposure Readout Figure 4-8-2-1 External Trigger (Trigger Edge) Exposure Mode The data of Exposure (1) is read out at Readout (1) XCM4040SAT2 UME-0009-02...
  • Page 39: External Trigger Exposure Mode (Trigger Level)

    ≧48.8 Trigger pulse H time ≧4.8 Trigger pulse L time ≧53.6 Trigger pulse cycle (unit:μs) Trigger (CC1) Exprosure Readout Figure 4-8-3-1 External Trigger (Trigger Level) Exposure Mode The data of Exposure (1) is read out at Readout (1) XCM4040SAT2 UME-0009-02...
  • Page 40: Setting Offset

    By setting the offset, you can set the Y-intercept arbitrarily. DF shows the digital offset value. The gradients of lines do not change. DF : Offset Value Output Volume of Light (lx・s) Figure 4-9-2 Offset Adjustment Adjust gain and offset to meet your system’s requirements. XCM4040SAT2 UME-0009-02...
  • Page 41: Setting Gain

    Output (a<b<c) Fs Gain a Gain b Gain c Volume of Light (lx・s) Figure 4-10-1 PGA Gain Adjustment Gain and noise values are proportionally related. Adjust amount of gain in accordance with the requirements of your camera system. XCM4040SAT2 UME-0009-02...
  • Page 42 You can choose between Linear or Log mode for the cameras output A/D Characteristics by sending the “voc” command. The characteristics are shown in Figure 4-10-2. LOG ADC LIN ADC Amount of Incident Light Figure 4-10-2 A/D Characteristics XCM4040SAT2 UME-0009-02...
  • Page 43: Pixel Correction

    (10bit digital) Vin :Input data (digital) Vout :Output data (digital) The corrected data is expressed in the following equation. Vout=(Vin-Cal_bl) x Target_val / (Cal_wh-Cal_bl) Waveform before bit correction Output Pixel Number Waveform after bit correction Output Pixel Number Figure 4-11-1 Waveform before and after bit correction XCM4040SAT2 UME-0009-02...
  • Page 44: Command Settings

    (3) Confirm that the camera returns “>OK” and “>wht”. Thus arbitrary white correction data is saved and loaded to the camera. (4) Send the “shc 2 VAL2” command through serial communication. Then the arbitrary white correction will be on and set the correction level as “VAL2”. XCM4040SAT2 UME-0009-02...
  • Page 45: Test Pattern

    The test pattern of the camera is below. Figure 4-12-1 Test Pattern of the Camera Figure 4-12-2 Test Image the Camera The test pattern is a ramp from 0 to 1023DN in 10-bit mode, and then it repeats itself from 0 again 4 times. XCM4040SAT2 UME-0009-02...
  • Page 46: Confirming Camera Settings

    (2) Confirm the direction and the channel of the cables. Some Camera Link cables are directional. If one of the connectors says “Camera side”, connect it to the camera. Camera side Frame grabber side Figure 5-1-2 Connection Direction of Camera Cable XCM4040SAT2 UME-0009-02...
  • Page 47: After Power-On

    Figure 5-1-3 Channel of Camera Link Cables 5.2 After Power-on (1) Confirm sent and received commands using the camera control utility. Launch CLISBeeCtrl, set COM port and connect. Click “Memory Dump” and wait for the response. Figure 5-2-1 Confirmation of Connection XCM4040SAT2 UME-0009-02...
  • Page 48 (2) Set a trigger mode and a video output mode with the camera control utility. Example: Trigger mode = Free run Video output mode =8bit Figure 5-2-2 Setting of Exposure Mode and Video Output Mode If you have your own application to check the images, select suitable settings. XCM4040SAT2 UME-0009-02...
  • Page 49 (3) Capture images using a camera interface board utility. In case of Matrox’s Solios, it is convenient to use Intellicam. Figure 5-2-3 Solios Intellicam dcf Window XCM4040SAT2 UME-0009-02...
  • Page 50: In Operation

    (2) Are there dark lines in the direction of vertical scanning on the image? <Cause> <1> Dust on the sensor window Dust may come on the sensor window from the inside or the outside of the camera. Remove the dust with air or a lens cleaner. XCM4040SAT2 UME-0009-02...
  • Page 51: Sensor Handling Instructions

    Oil: Wipe the window with a lint-free cloth wiper moistened with ethyl alcohol carefully and slowly. When there is dust or smudges on the sensor window, it appears in the same way as noise on the image. Please remove it appropriately. XCM4040SAT2 UME-0009-02...
  • Page 52: Troubleshooting

    The sample software program is used to with the camera control the camera and is communicating successfully. To next page with the camera successfully. To next page To next page Confirm the communication software, the control protocol for the camera and commands. XCM4040SAT2 UME-0009-02...
  • Page 53 The optical axes of the camera and Check the light source. If the the image sensor are aligned. images are too dark, try to increase the light intensity, and vice versa. The camera could be faulty. Please contact us for assistance. XCM4040SAT2 UME-0009-02...
  • Page 54: When Noise Is Present In The Image

    (attached to a machine which applies stress to the cables). Check the condition of the camera cables and the power supply cable. The camera could be faulty. Please To next page contact us for assistance. XCM4040SAT2 UME-0009-02...
  • Page 55 Use a stable power supply. When the camera gain is on a high level, bright spots occur without incident light. The camera could be faulty. Please Secondary radiation (rays) contact us for assistance. could cause bright spots, but this is not malfunction. XCM4040SAT2 UME-0009-02...
  • Page 56: When The Camera Becomes Hot

    Allow sufficient air circulation around the camera to give it the longer life. Keep the ambient temperature within the range of the specifications. The camera could be faulty. Please contact us for assistance. XCM4040SAT2 UME-0009-02...
  • Page 57: Clisbeectrl

    8 CLISBeeCtrl 8.1 Overview The CLISBeeCtrl is the remote control software for “CLISBee*” camera using “NED Camera Control Protocol”(NCCP) from a PC. Connectable interfaces are following. 1) Camera Link API 2) Communication Port (COM port, RS232C) *CLISBee is the nickname for XCM series camera.
  • Page 58: Operation

    Open Windows Explorer and Double-click the “CLISBeeCtrl.exe”. A B C D E Buttons in the tool-bar have the following functions. A: Exporting parameters in the text file format. B: Connection with the camera. C: Disconnection. D: Setting Communication. E: Version Information. XCM4040SAT2 UME-0009-02...
  • Page 59: Selecting Interface And Timeout Setting

    3) Click “Setting” button to set the interface. (See 8.5.2.2. and 8.5.2.3.) 4) Click “OK” button. Click “Cancel” button when stopping setup. Note: The camera can be used without this operation after it has been set up correctly. XCM4040SAT2 UME-0009-02...
  • Page 60 8.5.2.2 Setting Communication port 1) Set up each item as follows. ( NED standard ) However, when the setup which differs to the camera to connect is shown, follow there. (1) Port: Select connecting port. (2) Bits per Second: 9600...
  • Page 61 Note: DLL for Camera Link API is provided by the manufacturer of the grabber board. Some frame grabber boards are connected directly to the PC’s COM port, in this case, select interface to COM port (RS232C). Please contact the manufacturer of the grabber board for detail. XCM4040SAT2 UME-0009-02...
  • Page 62: Connect

    Note: The camera can be used without this operation after it has been set up correctly. 8.5.3.Connect Click button B. Then you can control the camera. (See “8.6.Control”) Click the “Memory Dump” button to acquire the current data of the camera. XCM4040SAT2 UME-0009-02...
  • Page 63: Disconnect And End Program

    8.5.4.Disconnect and end program Click button C. Then click “X” button in the upper right of the window. 8.5.5.Check of the contents of communication Click "Console" tag near the bottom window. XCM4040SAT2 UME-0009-02...
  • Page 64: Export Parameters To Text File

    2) Input file name and click “Save” button. Present setting value of each control is saved by text format. 8.5.7.Import Parameters from text file 1) Select menu “File” – “Text Load” 2) Input file name and click “Open” button. Each command preserved in the text file is issued one by one. XCM4040SAT2 UME-0009-02...
  • Page 65: Control

    Note: XCMx0x0SA does not use ‘Analog 2’.( Included to ‘Analog 1’ ) Digital : Set a value with the slider, the edit-box or the spin-button. Then, click “Send” button. < Offset > Digital : Set a value with the slider, the edit-box or the spin-button. Then, click “Send” button. XCM4040SAT2 UME-0009-02...
  • Page 66: Clock & Integration

    Scanrate :Shows the calculated value of the scan rate. (unit : μs ) Scanrate -> Counter Calculating :Set the value in the edit-box. Then, click this button. Put the desirable scan rate value, then the counter value will be calculated automatically with the present values of clock, dividing and padding. XCM4040SAT2 UME-0009-02...
  • Page 67: Trigger & Video

    Trigger Mode :The selection of Free Run Exposure mode and External Trigger Exposure mode. Video output :The selection of the number of the output bit and the output block. ADC Characteristic :The selection of the A/D characteristics. Direction of scanning :The selection of the scan direction. XCM4040SAT2 UME-0009-02...
  • Page 68: Intelligence

    Memory Dump :Read the data from the camera’s work memory. Flash Load :Loading the data from the camera’s flash memory. Flash Save :Saving the data in the camera’s flash memory. Flash Initialize :Initializing the camera’s flash memory with the factory standard data. XCM4040SAT2 UME-0009-02...
  • Page 69: Upgrade

    2) Reverse engineering, decompiling, disassembling and modifying without notice the part or all of this software is prohibited. 3) The specification of this software and the contents of this book may be changed without announcement in future. XCM4040SAT2 UME-0009-02...
  • Page 70: Others

    Contents of this document are subject to change without prior notice. Every care has been taken in the preparation of this User’s Manual. If you should discover any errors or omissions, please notify your nearest NED representative. 9.2 Contact for support...
  • Page 71: Product Support

    If there is still a problem with your camera after checking it in accordance with the troubleshooting guide, turn off the power and call your NED representative. In such case, please inform us of the status of the camera. You can get the status by (1) executing the “sta”...
  • Page 72: Revision History

    Revision History Revision Date Changes Number 31 Mar.2010 Initial release 19 May 2010 Camera Connector XCM4040SAT2 UME-0009-02...

Table of Contents