NED Camera Link XCM8040SAT4 User manual

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

2 NED
XCM8040SAT4 UME-0038-02
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 Harmonised Standards
EN55011:2009+A1:2010 Group1 Class A
EN61000-6-2:2005
*Group 1 contains all ISM (Industrial, Scientific and medical) equipment in which
there is intentionally generated and/or used conductively coupled
radio-frequency energy which is necessary for the internal functioning of the
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.
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.

3 NED
XCM8040SAT4 UME-0038-02
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.

4 NED
XCM8040SAT4 UME-0038-02
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. Moreover, this irregular
sensitivity can be completely lost by using 4.11 pixel correction function. Please
refer to 4.11 pixel correction function for details.
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.
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.

5 NED
XCM8040SAT4 UME-0038-02
Product Warranty
Warranty Period
The product warranty period, as a general rule, is two years from purchase;
however for detailed conditions please contact the sales representative for your
region/country.
However, in some cases due to the usage environment, usage conditions
and/or frequency of use, this warranty period may not be applicable.
Warranty Scope
Product repair will be performed on a Return To Manufacturer basis. On-site
maintenance will incur additional charges.
If defects in material or workmanship occur during the warranty period, the
faulty part will be replaced or repaired by us free of charge. Return shipping
charges must be paid by the sender. However, the following cases fall outside
of the scope of this warranty:
Exclusions from Warranty Coverage
We will under no circumstances assume responsibility for the following cases:
damage caused by fire, earthquake, other acts of a third party, other accidents,
negligent or intentional misuse by the user, or other usage under extraordinary
circumstances.
Damages (e.g. loss of business profits, business interruption, etc.) resulting
from use or non-use.
Damages caused by use other than as described in this document.
Damages resulting from malfunction due to a connected device.
Damages resulting from repairs or modifications performed by the customer.
Fault Diagnosis
As a general rule, in the first instance fault diagnosis should take the form of a
telephone call or an email to enable us to assess the circumstances of the
malfunction.
However, depending on the customer’s requests, we, or our agent, may require
an additional fee for this service.

6 NED
XCM8040SAT4 UME-0038-02
Exclusion of Liability for Compensation for Missed Opportunities
Regardless of whether within the warranty period or not, our warranty does not
cover compensation for missed opportunities for our customers, or our
customers’ customers, caused by a fault of our products, nor for damage to
products other than our own, or related business.
Note about Product Usage
This product has been designed and manufactured as a general-purpose
product for general industry. In applications expected to be life-critical or
safety-critical, the installer or user is requested to install double or triple failsafe
systems.
Repair Service Outline
The cost of dispatching engineers etc. for repair service is not included in the
price of purchased and supplied goods. On request, arrangements can be
made separately.
Scope of Repair Service
The above assumes business dealings and usage to take place in the
customer’s region / country. In cases of business dealings and/or usage
outside the customer’s region/country, separate consultation is required.

7 NED
XCM8040SAT4 UME-0038-02
Table of Contents
1 Product Outline ................................................................................................10
1.1 Features...........................................................................................................................10
1.2 Application.......................................................................................................................10
1.3 Image Sensor ..................................................................................................................12
1.4 Performance Specifications..........................................................................................12
2 Camera Setting and Optical Interface.............................................................14
2.1 Setting the Camera.........................................................................................................14
2.2 Fixing the Camera...........................................................................................................14
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........................................................................................... 28
4.2.6 Setting Output Signals 1 (Setting Data Format).................................................. 29
4.2.7 Setting Output Signals 2 (Setting Linear / Log)................................................... 29
4.2.8 Memory Initializing (Initializing Camera Settings)............................................... 29
4.2.9 Memory Load........................................................................................................... 30
4.2.10 Memory Save......................................................................................................... 31
4.2.11 Generating Test Pattern........................................................................................ 31
4.2.12 Saving Pixel Correction Data............................................................................... 31
4.2.13 Setting Pixel Correction....................................................................................... 31
4.2.14 Setting Exposure Time - Readout Time.............................................................. 32
4.2.15 Returning the Cameras Settings to the its original status............................... 32

8 NED
XCM8040SAT4 UME-0038-02
4.2.16 Setting the Pixel Readout Direction.................................................................... 33
4.3 Digital Processing flow in FPGA...................................................................................33
4.4 Startup..............................................................................................................................33
4.5 Saving and Loading Camera Settings..........................................................................34
4.6 Serial Communication Settings ....................................................................................35
4.7 Video Output Format......................................................................................................35
4.8 Exposure Mode and Timing Chart................................................................................37
4.8.1 Free Run Exposure Mode (Programming time setting)...................................... 37
4.8.2 External Trigger Exposure Mode (Trigger Edge)................................................. 38
4.8.3 External Trigger Exposure Mode (Trigger Level) ................................................ 39
4.9 Setting Offset ..................................................................................................................40
4.10 Setting Gain...................................................................................................................41
4.11 Pixel Correction ............................................................................................................43
4.11.1 Command Settings................................................................................................ 44
4.11.2 How to calibrate the camera ................................................................................ 44
4.12 Test Pattern ...................................................................................................................45
5 Confirming Camera Settings...........................................................................46
5.1 Before Power-on.............................................................................................................46
5.2 After Power-on ................................................................................................................47
5.3 In Operation.....................................................................................................................50
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 No Image..........................................................................................................................52
7.2 Noise on Image...............................................................................................................54
7.3 Camera becomes hot .....................................................................................................56
8CLISBeeCtrl......................................................................................................57
8.1 Overview..........................................................................................................................57
8.2 System Requirements....................................................................................................57
8.3 Install................................................................................................................................57
8.4 Uninstall...........................................................................................................................57
8.5 Operation.........................................................................................................................58
8.5.1 Start Program .......................................................................................................... 58
8.5.2 Selecting interface and Timeout setting............................................................... 59
8.5.3.Connect.................................................................................................................... 62
8.5.4.Disconnect and end program................................................................................ 62
8.5.5.Check of the contents of communication............................................................ 62

9 NED
XCM8040SAT4 UME-0038-02
8.5.6.Export Parameters to text file................................................................................ 63
8.5.7.Import Parameters from text file ........................................................................... 63
8.6 Control.............................................................................................................................63
8.6.1 Gains and Offsets ................................................................................................... 63
8.6.2 Clock & Integration................................................................................................. 64
8.6.3 Trigger & Video........................................................................................................ 65
8.6.4 Intelligence............................................................................................................... 66
8.6.5 Memory in camera................................................................................................... 66
8.7 Upgrade ...........................................................................................................................67
8.8 How to Program..............................................................................................................67
8.9 Attention on use..............................................................................................................67
9 Dynamic Range Control (Multi-Slope Mode)..................................................68
9.1 Operation in Factory Default Mode...............................................................................68
9.2 Standard Mode................................................................................................................70
9.3 Bending the line one time..............................................................................................70
9.4 Bending the line three times .........................................................................................72
10 Others..............................................................................................................74
10.1 Notice.............................................................................................................................74
10.2 Contact for support......................................................................................................74
10.3 Product Support ...........................................................................................................75
Revision History ....................................................................................................76

10 NED
XCM8040SAT4 UME-0038-02
1 Product Outline
1.1 Features
High resolution(8192pixels)
On-chip AD conversion(8/10bit)
Easy control of gain / offset with software outside the camera.
Easy connection with a variety of frame grabber boards via Camera Link
interface
Single power source DC12V to 15 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
Flat panel display inspection
Inspection of glass and sheet-like objects
This camera utilizes an Intelligent Transportation System
Inspection of high speed moving objects
Outdoor surveillance
Wide dynamic range prevents the camera from saturation caused by direct rays and
specular reflection rays.

11 NED
XCM8040SAT4 UME-0038-02
An example of Visual Inspection of PCBs is shown below.
Figure 1-2-1 Visual Inspection of PCBs
Applicable Work
COB, BGA and MCM printed circuit boards
Performance
1. Maximum board size: 100mm×200mm
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
Line scan camera

12 NED
XCM8040SAT4 UME-0038-02
1.3 Image Sensor
The camera adopts a CMOS sensor with the maximum data rate of 160MHz to
acquire high sensitivity and quality images. The pixels are 7μmx7μm. The
camera outputs its 8192 pixel data through 40MHz-4Tap.
1.4 Performance Specifications
The Performance Specifications are shown in Table 1-4-1.It shows the data
when the camera is operating at scan rate, unless otherwise specified.
Table 1-4-1 Performance Specifications
Items
Specifications
Number of Pixels
8192
Pixel Size H x V (μm)
7x7
Sensor Length (mm)
57.344
Spectral Responsivity (nm)
400 -1000 (Peak : 625, See Figure 1-4-1)
Data Rate (MHz)
160(40 x 4)
Scan Rate
(μs) / [kHz]
53.6 /[18.65]
Saturation Exposure(lx・s)
(typically)
0.071[Minimum Gain, Pixel Correction Initial Value,
Daylight Fluorescent Light]
Responsivity(typically)
[Minimum Gain, Pixel
Correction Initial Value,
Daylight Fluorescent Light]
Visible Area (400~700nm)
70(V/[lx・s])
Analog 5V Conversion Sensitivity
40.7(V/[μJ/cm2])
Gain Adjustable Range
*Analog Amplifier +Digital
Analog Amplifier:x1 to x11.2(21 Steps)
Digital:x1 to x2(512 Steps)
Offset Adjustable Range
*Digital
Digital:-15 to 15DN (31Steps) 8bit
-60 to 60DN (31 Steps) 10bit
FPN (Fixed Pattern Noise)
Typically 5 DN (without correction, at minimum gain)
2 DN (with correction, at minimum gain)
PRNU (Photo Response Non
Uniformity)
Typically 20 DN (without correction, at minimum gain)
4 DN (with correction, at minimum gain)
Random Noise
Typically 20DN (peak value at minimum gain)
Video output
Camera Link medium Configuration (8or10bit/4Tap)

13 NED
XCM8040SAT4 UME-0038-02
Control Input
CC1:External Trigger Signal, CC2-4:Not in use
Connectors
Data/Controller
3M : MDR26[Camera Link] x 2
Power Supply
Hirose: HR10A (4Pin)
Lens Mount
M72 x 0.75 Screw
Operating Temperature (˚C)
No Condensation
0 to 50
Power Supply Voltage (V)
DC12 to 15 [+/-5%]
Consumption Current (mA)
(typically)
500
Size W x H x D (mm)
80 x120 x 65
Mass (g) (Camera only)
Approx. 600
Additional Function
1. Shading Correction
2. Gain/Offset/Video Output (8bit/10bit) Adjustable
3.Programmable Exposure Control
4.Test Pattern Output ON/OFF
5.Scan Direction Switching
*1) DN : Digital Number (10bit : 0 -1023)
*2) Measurements were made at room temperature.

14 NED
XCM8040SAT4 UME-0038-02
The spectral Responsivity is shown below.
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.
An optional mounting base (sold separately) is available.
2.2 Fixing the Camera
Use the M4 screw holes (4 on the front, 8 on 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 at the front should be less than 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.
(Ta=25℃)
Figure 1-4-1 Spectral Responsivity
20
40
60
80
100
0
400 500 600 700 800 900 1000
Wavelength (nm)
Relative Responsivity (%)

15 NED
XCM8040SAT4 UME-0038-02
The dimensions of the camera are shown below.
NIPPON ELECTRO-SENSORY DEVICES CORP.
MADE IN JAPAN
NIPPON ELECTRO-SENSORY DEVICES CORP.
MADE IN JAPAN
DC12-15V
CL1
CL2
DIGITAL
LINESCAN
CAMERA
CLISBee
80
Unit : mm
*31.8
1st Pixel
M72 x 0.75 Depth 10
(Sensor Optical Distance)
10
5
(65)
Indicator Power Supply Connector
(HIROSE HR10A 4P)
Camera Link Connector
(MDR26)
65
4-M4 Depth 6 (Both Sides)
4-M4 Depth 8 (Front Surface)
4-M4 Depth 6
(Top,Bottom)
65
65
1/4"-20UNC
20
7.5
S
80
Ø
90
60 4
70 26
120
5
72x0.75 Screw Mount
Figure 2-2-1 Dimensions of the Camera

16 NED
XCM8040SAT4 UME-0038-02
2.3 Optical Interface
For the camera M72×0.75 screw 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.
The exposure amount (exposure time x light amount) is the most important
factor in getting desirable images. Please determine the exposure amount after
studying what is most important to your system.
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.
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.

17 NED
XCM8040SAT4 UME-0038-02
3 Hardware
3.1 Camera Connection
Use the camera in the following way:
(1) Camera Link cables must be used to connect the camera unit with the frame
grabber board.
Use asymmetric Camera Link cables and connect the camera with the
connector labeled as ”Camera side”.
(2) Connect the camera with the designated power supply.
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.
Figure 3-1-1 Connections between Camera and Frame Grabber Board and Power Supply
There are two connectors available for the Camera Link Base Configuration
board. Always check the frame grabber board specifications before making
connections.
PC
Camera Link
Medium
Configuration
Frame Grabber
Board
Line Scan Camera Camera Link Cable
(3M:14B26-SZLB-xxx-0LC)
Power Cable
Camera Power
Supply
DC +12V 15W
CL1
CL2
CL1
CL2

18 NED
XCM8040SAT4 UME-0038-02
<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)
SOL 6M CL E*
(20~66MHz)
40
9.8
66
8.0
SOL 6M FC E*
(20~85MHz)
75
7.6
85
5.8

19 NED
XCM8040SAT4 UME-0038-02
3.2 Input / Output Connectors and Indicator
The layout of input /output connecters and the LED indicator are as follows.
DC12-15V
CL1
CL2
Indicator Power Supply Connector
(HIROSE HR10A 4P)
Camera Link
Connector (MDR26)
DIGITAL
LINESCAN
CAMERA
CLISBee S
Figure 3-2-1 Input/Output Connectors and Indicator

20 NED
XCM8040SAT4 UME-0038-02
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.
Figure 3-3-1 Camera / Frame Grabber Interface
28 28
Frame Grabber BoardCamera
26-pin MDR Connector CL1
CC1(制御入力)
Cable
SerTC
SerTFG
CK60MHz
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
28 28
26-pin MDR Connector CL2
Cable
CK60MHz
Channel Link Bus
LVAL,FVAL
DVAL,SP
PortD~F
Y1±
Y0±
Y2±
Y3±
YClk±
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
100Ω
terminated
26-pin MDR Connector
Y1±
Y0±
Y2±
Y3±
YClk±
LVDS_DRIVER(NS)
DS90CR285MTD
equivalent
LVDS_RECEIVER(NS
)
DS90CR286MTD
recommended
28
CK60MHz
Channel Link Bus
LVAL,FVAL
DVAL,SP
PortG~H
Z1±
Z0±
Z2±
Z3±
ZClk±
LVDS_DRIVER(NS)
DS90CR285MTD
equivalent
28
100Ω
100Ω
100Ω
100Ω
100Ω
Z1±
Z0±
Z2±
Z3±
ZClk±
LVDS_RECEIVER(NS
)
DS90CR286MTD
recommended
Table of contents
Other NED Digital Camera manuals

NED
NED XCM4085DLMT4 User manual

NED
NED XCM8085DLMT8 User manual

NED
NED CAMERA Link Ryugan RCDL2K20CL User manual

NED
NED RMSL6K17GE User manual

NED
NED CoaXpress XCM80160CXP User manual

NED
NED NUCLi7370AT6 User manual

NED
NED XCM40170DLMT2CXP User manual

NED
NED XCM20160T2CXP User manual

NED
NED SUi7450T2 User manual

NED
NED XCM2080SAT4 User manual