NED XCM2040SAT2 User manual

User’s Manual
Line Scan Camera
Type: XCM2040SAT2
NIPPON ELECTRO-SENSORY DEVICES CORPORATION

2 NED
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, in accordance with Part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference when the equipment is
operated in a commercial environment. This equipment generates, uses, and can radiate
radio frequency energy and, if not installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. Operation of this
equipment in a residential area is likely to cause harmful interference, in which case the
user will be required to correct the interference at his or her own expense.
For Customers in the EU
This equipment has been tested and found to comply with the essential requirements
of the EMC Directive 2004/108/EC, based on the following specifications applied:
EU Harmonized Standards
EN55022:2006+A1:2007 Class A
EN61000-6-2:2005
Warning
This is a class A product. In a domestic environment this product may cause radio
interference in which case the user may be required to take adequate measures.
Directive on Waste Electrical and Electronic Equipment (WEEE)
Please return all End of Life NED products to the distributor from whom the product was
purchased for adequate recycling and / or disposal. All costs of returning the Product to
NED are borne by the shipper.
XCM2040SAT2 UME-0011-02

3 NED
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.
The following symbols appear next to important information regarding safe product
handling.
Warning If the product is not handled properly, this may result
in serious injury or possible death.
Caution If the product is not handled properly, this may result
in physical injury or cause property damage.
Safety precaution
Warning
Never disassemble or modify this product, unless otherwise specified to do so in this
manual.
When hands are wet, avoid handling this product and do not touch any of the
connection cable pins or other metallic components.
Do not operate this product in an environment that is exposed to rain or other severe
external elements, hazardous gases or chemicals.
If the product is not to be used for an extended period of time, as a safety precaution,
always unplug the connection cable from the camera unit.
If the product installation or inspection must be executed in an overhead location,
please take the necessary measures to prevent the camera unit and its components
from accidentally falling to the ground.
If smoke, an abnormal odor or strange noise is emitted from the camera unit, first
turn OFF power, then unplug the cable from the camera unit.
This product is not intended for use in a system configuration built for critical
applications.
XCM2040SAT2 UME-0011-02

4 NED
Instructions before use
Only operate this product within the recommended environmental temperature
range.
Use only the specified power source and voltage rating.
Do not drop this product. Avoid exposure to strong impact and vibrations.
Install the camera unit in a well-ventilated environment, in order to prevent the
camera from overheating.
If the camera must be installed in an environment containing dust or other particles,
take required measures to protect the camera unit from dust adhesion.
Do not unplug the cable while power is being supplied to the camera unit. To prevent
product damage, always shut down the power supply before unplugging the power
cable.
When the surface of the camera window becomes dirty due to dust or grime, black
smudges appear in the displayed image. Use an air blower to remove the dust
particles. Dip a cotton swab into ethanol alcohol and clean the camera window. Be
careful not to scratch the glass.
Use of non-infrared lighting such as a fluorescent lamp is recommended. If halogen
lighting is employed, always install an infrared filter into your system configuration.
Please note that exposure to long wavelength light outside of the sensors visible
optical range can affect the image.
Sensitivity may fluctuate depending on the spectral response level of the light source.
In cases like this, changing the light source to one with a different spectral response
level may reduce this problem.
For stabilized image capturing, turn ON the power supply and execute aging for ten
to twenty minutes before actually using the camera unit.
Do not share the power supply with motor units or other devices that generate noise
interference.
The signal ground (SG) and the frame ground (FG) are connected inside the camera
unit. Design the system configuration so that a loop will not be formed by the ground
potential differential.
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.
XCM2040SAT2 UME-0011-02

5 NED
Exclusion Clause
The manufacturer assumes no responsibility for damages resulting from natural
disasters, earthquakes, or acts executed by a third party. Warranty excludes any
accidents resulting from improper handling or misuse of this product, whether
intentional or not, and any camera operations conducted under abnormal conditions.
The manufacturer assumes no responsibility for any incidental damages (loss of
corporate profits, interruption of business, etc.) resulting form use or non-use of this
product.
The manufacturer assumes no responsibility for damages resulting from failure to
follow the instructions and procedures indicated in this User’s Manual.
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.
XCM2040SAT2 UME-0011-02

6 NED
Table of Contents
1 Product Outline...................................................................... 9
1.1 Features(XCM2040SAT2).................................................................................................... 9
1.2 Application............................................................................................................................... 9
1.3 Image Sensor......................................................................................................................... 10
1.4 Performance Specifications.................................................................................................. 11
2 Camera Setting and Optical Interface................................ 13
2.1 Setting the Camera................................................................................................................ 13
2.2 Fixing the Camera.................................................................................................................. 13
2.3 Optical Interface..................................................................................................................... 16
3 Hardware............................................................................... 17
3.1 Camera Connection............................................................................................................... 17
3.2 Input / Output Connectors and Indicator............................................................................. 19
3.3 Connectors・Pin Assignments・Cables................................................................................. 20
3.4 Power Supply......................................................................................................................... 23
4 Camera Control.................................................................... 24
4.1 Flow of Camera Control ........................................................................................................ 24
4.1.1 Command Overview........................................................................................................ 24
4.1.2 Camera Receiving Message (PC Sending Command)................................................. 24
4.1.3 Camera Sending Message (PC Receiving Message) ................................................... 25
4.1.4 Camera Control Commands........................................................................................... 26
4.1.5 Memory Setup Values (Factory Settings)...................................................................... 27
4.2 Details on Commands........................................................................................................... 27
4.2.1 Setting Analog Gain........................................................................................................ 27
4.2.2 Setting Digital Gain......................................................................................................... 28
4.2.3 Setting Digital Offset....................................................................................................... 28
4.2.4 Setting Exposure Mode .................................................................................................. 28
4.2.5 Setting Exposure Time ................................................................................................... 29
4.2.6 Setting Output Signals (Setting Data Format) .............................................................. 29
4.2.7 Setting the Pixel Readout Direction .............................................................................. 29
4.2.8 Saving Pixel Correction Data......................................................................................... 30
4.2.9 Setting Pixel Correction ................................................................................................. 30
XCM2040SAT2 UME-0011-02

7 NED
4.2.10 Generating Test Pattern................................................................................................ 30
4.2.11 Memory Initializing (Initializing Camera Settings)...................................................... 31
4.2.12 Memory Load................................................................................................................. 32
4.2.13 Memory Save................................................................................................................. 32
4.2.14 Returning the Camera Settings to the its original status........................................... 33
4.3 Digital Processing flow in FPGA.......................................................................................... 34
4.4 Startup.................................................................................................................................... 34
4.5 Saving and Loading Camera Settings ................................................................................. 35
4.6 Serial Communication Settings............................................................................................ 36
4.7 Video Output Format............................................................................................................. 36
4.8 Exposure Mode and Timing Chart........................................................................................ 39
4.8.1 Free Run Exposure Mode (Programming time setting)............................................... 39
4.8.2 External Trigger Exposure Mode (External trigger edge)......................................... 40
4.8.3 External Trigger Exposure Mode (Trigger Level).......................................................... 41
4.9 Setting Offset......................................................................................................................... 42
4.10 Setting Gain ......................................................................................................................... 43
4.11 Pixel Correction ................................................................................................................... 44
4.11.1 How to calibrate the camera......................................................................................... 45
4.12 Test Pattern.......................................................................................................................... 46
5 Confirming Camera Settings............................................... 50
5.1 Before Power-on.................................................................................................................... 50
5.2 After Power-on....................................................................................................................... 51
5.3 In Operation ........................................................................................................................... 53
6 Sensor Handling Instructions............................................. 54
6.1 Electrostatic Discharge and the Sensor.............................................................................. 54
6.2 Protecting Against Dust, Oil and Scratches........................................................................ 54
6.3 Cleaning the Sensor Window ............................................................................................... 54
7Troubleshooting................................................................... 55
7.1 When there is no Image ........................................................................................................ 55
7.2 When Noise is present in the Image .................................................................................... 57
7.3 When the Camera becomes hot ........................................................................................... 59
8 CLISBeeCtrl .......................................................................... 60
8.1 Overview................................................................................................................................. 60
XCM2040SAT2 UME-0011-02

8 NED
8.2 System Requirements........................................................................................................... 60
8.3 Install ...................................................................................................................................... 60
8.4 Uninstall.................................................................................................................................. 60
8.5 Operation................................................................................................................................61
8.5.1 Start Program .................................................................................................................. 61
8.5.2 Selecting interface and Timeout setting ....................................................................... 62
8.5.3.Connect............................................................................................................................ 65
8.5.4.Disconnect and end program......................................................................................... 66
8.5.5.Check of the contents of communication..................................................................... 66
8.5.6.Export Parameters to text file ........................................................................................ 67
8.5.7.Import Parameters from text file.................................................................................... 67
8.6 Control.................................................................................................................................... 68
8.6.1 Gains and Offsets ........................................................................................................... 68
8.6.2 Clock & Integration ......................................................................................................... 69
8.6.3 Exposure mode (Trigger Mode) & Video output mode................................................. 70
8.6.4 Intelligence ...................................................................................................................... 71
8.6.5 Memory in camera........................................................................................................... 71
8.7 Upgrade.................................................................................................................................. 72
8.8 How to Program..................................................................................................................... 72
8.9 Attention on use .................................................................................................................... 72
9 Others.................................................................................... 73
9.1 Notice...................................................................................................................................... 73
9.2 Contact for support ............................................................................................................... 73
9.3 Product Support .................................................................................................................... 74
Revision History ........................................................................ 75
XCM2040SAT2 UME-0011-02

9 NED
1 Product Outline
1.1 Features(XCM2040SAT2)
High speed readout 40MHz:2Tap
Easy control of gain / offset / video output (8/10bit) with software outside the
camera.
Easy connection with a variety of frame grabber boards via Camera Link
interface
Single power source DC 12V to 15V for operation
Flat-field correction – minimizes lens vignetting, non-uniform lighting and sensor
FPN and PRNU
1.2 Application
Inspection of Transparent panels and PCBs
Visual inspection of high speed moving objects
Flat panel display inspection
Inspection of glass and sheet-like objects
Printed circuit board inspection
This camera utilizes an Intelligent Transportation System
Outdoor surveillance
XCM2040SAT2 UME-0011-02

10 NED
An example of Visual Inspection is shown below.
Line scan Camera
Object of inspection
■ Example of using of one camera.
(Inspection of only surface)
■ Example of using of three cameras.
(Inspection of surface and roller end face)
Figure 1-2-1 Visual Inspection of PCBs
Object of inspection (example)
Metallic part of cylinder and conical geometry (surface and roller end face)
・Automobile component ・Architectural reinforcement parts
・Various pin parts
Typical detection item
・chip ・dent ・scratch ・chip of roller end face ・external dimensions
Device specification
1.Camera: Line scan camera of number of 2048 pixels
2. Controller: Dedicated software for PC system
1.3 Image Sensor
The camera adopts a CMOS sensor with the maximum data rate of 40MHz to acquire
high quality images and highly sensitive.
Both of the pixel sizes are 14μmx14μm.
The camera outputs its 2048 pixel data through 40MHz-2Tap or 40MHz-1Tap and
1024pixel data through 40MHz-2Tap or 40MHz-1Tap.
Note:
The data rate becomes 1/2 of 2tap, when it output the data of 2048 or 1024 pixels in
1tap.
XCM2040SAT2 UME-0011-02

11 NED
1.4 Performance Specifications
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 XCM2040SAT2
Number of Pixels 2048 / 1024
Pixel Size H x V (μm) 14x14
Sensor Length (mm) 28.672(2K) / 14.336(1K)
Spectral Responsivity (nm) 400~1000 *Peak 625
2Tap 80
DataRate (MHz)
1Tap 40
2K:2Tap,1K:1Tap 29.4/[34.0]
2K:1Tap 56.2/[17.7]
Scan Rate
(μs) / [kHz] 1K:2Tap 16.0/[62.5]
Saturation Exposure (lx・s) (typically)
[Minimum Gain, Pixel Correction Initial
Value, Daylight Fluorescent Light]
0.1*Visible Area (400~700nm)
Responsivity (V/ [lx・s]) (typically)
[Minimum Gain, Pixel Correction Initial
Value, Daylight Fluorescent Light]
50 *Visible Area (400~700nm)
*Analog 5V Conversion Sensitivity
Gain Adjustable Range
*Analog Amplifier +Digital
Analog Amplifier:x1 to x20 (7 Steps)
Digital :x1 to x2 (512 Steps)
Offset Adjustable Range
*Digital
-15 to 15 DN (31Steps): 8bit
-60 to 60 DN (31 Steps): 10bit
Video output Camera Link Camera Link Base Configuration
Control Input CC1: External Trigger Signal, CC2-4: Not in use
Data/Controller 3M: MDR26 [Camera Link]
Connectors Power Supply Hirose: HR10A (4Pin)
Lens Mount Nikon F Mount (2K, 1K) or C Mount (1K)
Operating Temperature (˚C)
No Condensation 0 to 40
Power Supply Voltage (V) DC 12 to 15 [+/-5%]
XCM2040SAT2 UME-0011-02

12 NED
Consumption Current (mA) (typically) 320
Size W x H x D (mm) 60x100x73.5(F Mount) / 60x100x44.5(C Moun)
Mass (g) (Camera only) 435 (F Mount) / 360 (C Mount)
Additional Function
1 Shading Correction
2 Gain/Offset/Video Output Adjustable
3 Programmable Exposure Control
4 Scan Direction Switching
Note :
*1) DN : Digital Number (8bit : 0-255 / 10bit : 0-1023)
*2) Measurements were made at room temperature and daylight fluorescent light.
The spectral responsivity is shown below.
相対感度(%)
20
40
60
80
100
Relative Responsivity(%)
400 500 600 700 800 900 1000
Wavelength (nm)
Figure 1-4-1 Spectral Responsivity
XCM2040SAT2 UME-0011-02

13 NED
2 Camera Setting and Optical Interface
2.1 Setting the Camera
Use the M4 screw holes or the tripod screw hole to set the camera.
2.2 Fixing the Camera
Use the M4 screw holes (4 at the front, 8 at the side) to set the camera.
Or use the 1/4"-20UNC screw hole for a tripod (1 place at bottom).
If using the front panel M4 mounting holes (4 places at front, 8 places at side), the screw
length for fixing the camera should be less than 6mm.
No X-, Y-axis orientation and tilt adjustment mechanism is available. Please prepare
an adjustment mechanism if required.
XCM2040SAT2 UME-0011-02

14 NED
The dimensions of the camera are shown below.
MADE IN JAPAN
NIPPON ELECTRO-SENSORY DEVICES CORP.
MADE IN JAPAN
NIPPON ELECTRO-SENSORY DEVICES CORP.
68
100
60
(73.5)
32
φ59
(1.7)
1-1/4"-20UNC DEEP 6
1st Pixel(2048)
4-M4 DEEP 6
(TOP,BOTTOM)
4-M4 DEEP 6
(BOTTOM)
(SIDE)
4-M4 DEEP 6
(FRONT)
40
5
74
18 64
indicator
5
40
50
Power Connector
CameraLink Connector
Nikon Fmont
(FB=46.5)
13
55
POWER
DC12-15V
CL: DATA
CTRL
DIGITAL LINE SCAN CAMERA
CLISBee-S
unit:mm
Figure 2-2-1 Dimensions of the Camera (F Mount)
XCM2040SAT2 UME-0011-02

15 NED
Figure 2-2-2 Dimensions of the Camera (C Mount)
indicator
Power Connector
CameraLink Connector
POWER
DC12-15V
CL: DATA
CTRL
DIGITAL LINE SCAN CAMERA
CLISBee-S
MADE IN JAPAN
NIPPON ELECTRO-SENSORY DEVICES CORP.
MADE IN JAPAN
NIPPON ELECTRO-SENSORY DEVICES CORP.
39
100
60
(44.5)
3
φ59
1-1/4"-20UNC DEEP 6
4-M4 DEEP 6
(TOP,BOTTOM)
4-M4 DEEP 6
(BOTTOM)
(SIDE)
4-M4 DEEP 6
(FRONT)
40
5
74
18 64
5
40
50
C mont
(FB=17.526)
13
55
1st Pixel(1024)
unit:mm
XCM2040SAT2 UME-0011-02

16 NED
2.3 Optical Interface
The mount that installs the lens is different according to the model of the camera.
Nikon F mount is prepared as a standard issue, and when 1024 pixels are used,
C mount can be selected.
Notes:
1)Quantities of light and the wavelength etc. of a source of light necessary to take the
image for which the customer hopes are different according to the usage. The factor to
decide these contains physical properties, the speed, the spectrum characteristic of the
object taken a picture of, the exposure time, and the characteristic of the source of light
and the specification etc. of the taking system.
It is a luminous exposure (exposure time × quantities of light) that it is important
because an appropriate image is obtained. Please decide the exposure time and
quantities of light after examining which element the customer values enough.
2) Keep these guidelines in mind when setting up your light source:
LED light sources are relatively inexpensive, provide a uniform field and longer life
span compared to other light sources. However, they also require a camera with
excellent sensitivity.
Halogen light sources generally provide very little blue light but have high infrared
light (IR) proportions.
Fiber-optic light distribution systems generally transmit very little blue light relative
to IR.
Metal halide light sources are very bright but have a shorter life span compared to
other light sources.
3) Generally speaking, the brighter the light sources, the shorter the life span.
CMOS image sensors are sensitive to infrared (IR). We recommend using daylight
color fluorescent lamps that have low IR emissions. If you use a halogen light source,
to prevent infrared from distorting the images use an IR cutoff filter that does not
transmit wavelengths.
XCM2040SAT2 UME-0011-02

17 NED
3 Hardware
3.1 Camera Connection
Use the camera in the following way:
① Camera Link cables must be used to connect the camera unit with the frame grabber
board.
Notes:
1)Camera Link cables must be used to connect the camera unit with the frame
grabber board.
2)Use asymmetric Camera Link cables and connect the camera with the
connector labeled as ”Camera side”.
3)If there are two connectors in Base Configuration of Camera Link, please after
confirming the specification of a frame grabber board and connect it.
② Connect the camera with the designated power supply.
Notes:
Use the designated power cable to connect the camera with the power source for the
camera. Insert the plug end of the cable into the camera. Attach the opposite end
(loose wires) to the power unit. Other than those above, a personal computer, a
frame grabber board, a compatible lens, a lens mount, a light source and an encoder
are necessary, depending on the situation.
XCM2040SAT2 UME-0011-02

18 NED
PC
Camera Link
Base Configuration
Frame Grabber Board
Line Scan Camera
XCM2040SAT2
Camera Link Cable
3M:14B26-SZLB-xxx-0LC
Power Cable Camera Power
Supply
DC+12V 15W
Figure 3-1-1 Connections between Camera and Frame Grabber Board and Power Supply
<Note: Choosing the appropriate Camera Link cable length >
According to the Camera Link Specification, the maximum cable length is 10m. But the
maximum cable length to be able to transfer data depends on the type of cable
performance and clock speed. The actual maximum transmission distance becomes less
than 10m at faster clock speeds, though the transmission distance of 10m is feasible at
slower clock speeds.
The following table shows values being calculated in accordance with the Camera Link
Specification 2007.Version1.2, using a typical cable (14B26-SZLB-xxx-0LC from 3M) and
frame grabber board (Solios from Matrox). Please choose the appropriate Camera Link
cable type and length for your application. We recommend you perform a connection test
in advance.
Table 3-1-1 calculated value of maximum cable length
Solios model clock speed(MHz)maximum cable length (m)
40 9.8SOL 6M CL E*
(20~66MHz) 66 8.0
75 7.6SOL 6M FC E*
(20~85MHz) 85 5.8
XCM2040SAT2 UME-0011-02

19 NED
3.2 Input / Output Connectors and Indicator
The layout of input /output connecters and the LED indicator are as follows.
indicator
Power Connector(HIROSE HR10A 4P)
CameraLink Connector(MDR26)
POWER
DC12-15V
CL: DATA
CTRL
CLISBee-S
Figure 3-2-1 Input/Output Connectors and Power connector
XCM2040SAT2 UME-0011-02

20 NED
3.3 Connectors・Pin Assignments・Cables
This camera adopts Base Configuration of Camera Link interface standards. Figure
3-3-1 shows the interface for the camera and a typical implementation for the frame
grabber interface.
28 28
Frame Grabber BoardCamera
26-pin MDR Connector CL1
CC1(control input)
Cable
SerTC
SerTFG
CK40MHz
Channel Link Bus
LVAL,FVAL
DVAL,SP
PortA~C
CC2
CC3
CC4
X1±
X0±
X2±
X3±
XClk±
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
SerTFG±
SerTC±
CC1±
CC2±
CC3±
CC4±
26-pin MDR Connector
X1±
X0±
X2±
X3±
XClk±
SerTFG±
SerTC±
CC1±
CC2±
CC3±
CC4±
LVDS_DRIVER(NS)
DS90CR285MTD
equivalent
LVDS_DRIVER/
RECEIVER(NS)
DS90LV019TM
equivalent
LVDS_RECEIVER(NS)
DS90LV048AT equivalent
LVDS_RECEIVER(NS)
DS90CR286MTD
recommended
LVDS_DRIVER/
RECEIVER(NS)
DS90LV019TM
recommended
LVDS_DRIVER(NS)
DS90LV047AT
recommended
Figure 3-3-1 Camera / Frame Grabber Interface
XCM2040SAT2 UME-0011-02
Table of contents
Other NED Security Camera manuals