3.2 Input/output Connectors and LED...........................................................................................8
3.2.1 Power Connector.................................................................................................................................................................8
3.2.2 Camera Link Output Configuration.................................................................................................................................9
4 STANDARD CONFORMITY ................................................................... 10
4.1 CE Conformity .........................................................................................................................10
6.3 Camera Commands...................................................................................................................14
6.3.1 Information .......................................................................................................................................................................14
6.3.3 Exposure and Synchronization...................................................................................................................................... 16
6.3.4 Gain and Offset............................................................................................................................................................... 20
6.3.5 Save & Restore Settings................................................................................................................................................ 21
7 APPENDIX A: Test Patterns ................................................................. 22
7.1 1024 Pixels Camera .................................................................................................................22
Radiometric Performance at Maximum Pixel Rate and minimum camera gain
Bit depth8Bits
Responsitivity (14µm pixels size)9LSB/(nJ/cm²) 8bits
Responsivity (10µm pixels size)3.5LSB/(nJ/cm²) 8bits
Response non linearity< 1%
PRNU+/- 10%
Dynamic range58dB
Functionality (Programmable via Control Interface)
GainUp to 36 dB
OffsetUp to 16 LSB
1024
10 or 14 10 or 14
35.7
Value
2048
18.1
4096
10µm
9.5kHz
Unit
Pixels
Trigger ModeFree-run, external triggered
4
0994D -Diviina LM2 01/10
e2v semiconductors SAS 2009
DIVIINA® LM2
Line Scan Camera
Mechanical and Electrical Interface
Size (w x h x l)60 x 60 x 42mm
Weight210 g (without mount)g
Lens Mount
Sensor alignment±200µm
Sensor flatness±30µm
Power supplySingle 12 to 24V
Power dissipation< 5W
General Features
Operating temperature
Storage temperature-40 to 70°C
RegulatoryCE and RoHS compliant
M42 x 1 (by default)
F (Nikon) or C optional mounts
0 to 65 (front face)
°C
1.3 Description
DiViiNA is a cost efficient CCD line scan camera family with Camera Link interface. Featuring e2v’s own high
performance linear CCD sensors from 1024 pixels up to 4096 pixels, as used in the world recognized AViiVA
cameras; DiViiNA cameras offer high image quality with user-friendly simplicity. DiViiNA is the perfect
candidate for mid range machine vision applications.
1.4 Typical Applications
• Web Inspection (Wood, Paper, Metallurgy)
• Part inspection and sorting (Cotton, Rice, Food)
Port A1 A1
Port A2 A2
Port A3 A3
Port A4 A4
Port A5 A5
Port A6 A6
Port A7 A7
Port B0 B0
Port B1 B1
Port B2 B2
Port B3 B3
Port B4 B4
Port B5 B5
Port B6 B6
Port B7 B7
DIVIINA® LM2
9
0994D -Diviina LM2 01/10
e2v semiconductors SAS 2009
DIVIINA® LM2
4STANDARD CONFORMITY
The DIVIINA cameras have been tested using the following equipment:
¾ A shielded power supply cable
¾ A Camera Link data transfer cable ref. 14B26-SZLB-500-OLC (3M)
e2v recommends using the same configuration to ensure the compliance with the following standards.
4.1 CE Conformity
The DIVIINA cameras comply with the requirements of the EMC (European) directive 89/336/CEE (EN
50081-2, EN 61000-6-2).
4.2 RoHs Conformity
DIVIINA cameras comply with the requirements of the RoHS directive
Warning
for compliance could void the user's authority to operate this equipment.
: Changes or modifications to this unit not expressly approved by the party responsible
10
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
5 GETTING STARTED
There is no CDROM delivered with the Camera : Both User Manual (this document) and CommCam
control software have to be downloaded from the web site : This ensure you to have an up-todate version.
Main Camera page :
On the appropriate Camera Page (EM2 or EM4) you’ll find a download link
first version of CommCam compliant is indicated in the last Chapter
CommCam download requires a login/password :
¾
Login : commcam
¾
Password : chartreuse
Setting up in the system
Vocabulary :
We have :
The ratio M = w/FOV is called Magnification.
The FOV is grabbed by 4096 pixels in the
width.
In order to get a ratio of 1 :1 in your image, at
the web speed of S, your line rate has to be
set :
Line Rate = (S/FOV) x 4096
Ex
of the web is S= 0,3 m/s (300mm/s) the line
rate will be :
Line Rate = (300 /110) x 4096 = 11170 Lines/s.
If you use a 60mm lens, the working distance
will be : L = (60 x 110) / 40,96 = 161mm.
This will certainly require a macro lens.
w
= size of the sensor line (40,96mm for the 4k 10µm)
FOV
= Field Of View (width of the web inspected by the sensor line) in mm.
L
= Working distance (from the Lens to the Web) in mm.
f
= focal distance of the lens in mm.
S
= Speed of the web in mm/s
FOV
: if the FOV = 11 cm (110mm) and the speed
www.e2v.com/cameras
=
L
DIVIINA® LM2
w
CCD Plan
f
Focal Plan
L
s
FOV
11
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
6 CAMERA SOFTWARE INTERFACE
6.1 Control and Interface
As all the e2v Cameras, the DIVIINA is delivered with the friendly interface control software
COMMCAM.UCL (as “Ultimate Camera Link”) which is based on the GenICam standard
COMMCAM recognizes and detects automatically all the UCL Cameras connected on any transport layers
(Camera Link or COM ports) of your system.
Once connected to the Camera you have an easy access to all its features. The visibility of these
features can be associated to three types of users: Beginner, Expert or Guru. Then you can make life
easy for simple users.
DIVIINA® LM2
12
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
6.2 Serial Protocol and Command Format
The Camera Link interface provides two LVDS signal pairs for communication between the camera and
the frame grabber. This is an asynchronous serial communication based on RS-232 protocol.
The serial line configuration is:
¾ Full duplex/without handshaking
¾ 9600 bauds, 8-bit data, no parity bit, 1 stop bit.
6.2.1 Syntax
Internal camera configurations are activated by write or readout commands.
The command syntax for write operation is:
w <command_name> <command_parameters><CR>
The command syntax for readout operation is:
r <command_name><CR>
DIVIINA® LM2
6.2.2 Command Processing
Each command received by the camera is processed:
¾ The setting is implemented (if valid)
¾ The camera returns “>”<return code><CR>
We recommend to wait for the camera return code before sending a new command.
Table 5-1. Camera Returned Code
Returned code meaning
>0 (or “>OK”) : All right, the command will be implemented
>128
>129
>130
>131
>132
>133
>134
>135
Command Error (Command not recognize or doesn't exist)
Error: communication failure.
Error: protocol failure.
Error: parameters are out of range.
Error: access failure.
Error: access denied.
Error: initialization failure.
Error : Parameters conflict.
13
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
6.3 Camera Commands
6.3.1 Information
These values allow to identify the Camera. They can be accessed through the CommCam software in the
“Info” section
All these values are fixed in factory except the Camera User ID which can be fixed by the Customer:
•Vendor name “e2v”
Ö Read function: “r vdnm”;
Return by the camera: “e2v” (string)
Ö Can not be written
• Model Name: Camera model name
Ö Read function: “r mdnm”;
return by the camera (string) : DiviinaLM2CL
Ö Can not be written
•Camera ID : part number, serial number of the Camera Ö Read function : “r idnb”;
Return by the camera (string 50 bytes max) :
ex : EV50YLM2CL1014-BA0-0000000000-0908P0001-AA
with :
EV50YLM2CL1014-BA0 : Part number
0000000000 : Batch number (not used for Cameras)
0908P0001 : Serial number
• “09” : Year of manufacturing
• “08” : week in the year
• “P” as Proto, “M” as Manual, “A” as automatic : type of testing
• “0001” : Identification number
AA: Fab indice.
Ö Can not be written
• Firmware Version : Can be set by the Customer to identify the Camera
Ö Read function : “r dfwv”;
Return M.m.s :
• M : Major version
• m : minor version
• S : sub-minor version.
Ö Can not be written
DIVIINA® LM2
14
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
6.3.2 Setup
• Signal source
command is available in the CommCam “Setup” section :
Ö Read function : “r srce”;
Return by the camera: “0” if Source from the Sensor and “1” if test pattern active
Ö Write function : “w srce” <value> :
“0” to switch to CCD sensor image
“1” to switch to Test Pattern.
The Test pattern is a single ramp. The test pattern is generated in the FPGA : It’s used to point out
any interface problem with the Frame Grabber.
The test pattern is a 8bit width pattern composed with several ramps from 0 to 255 all along the
whole Camera definition. Then the number of ramps depends on the number of pixels of the Camera
Test patterns are detailed in Appendix A.
• Auto Tap Balance
“Setup” section :
Ö Read function : “r abal”;
Return by the camera: “0” if Tap balance disabled and “1” if enabled
Ö Write function : “w abal” <value> :
“0” : Disable the auto Tap Balance
“1” : Enable the Tap balance.
DIVIINA® LM2
: Defines if the data comes from the Sensor or the FPGA (test Pattern). This
: Enables the Auto Tap balance. This command is available in the CommCam
How works the Automatic Tap Balance ?
The Auto Tap Balance is a Laplace filter which is applied in the FPGA. It automatically solve any
odd/even mismatch that can be visible in the image
¾ Whatever the action you may have on the Odd/even Tap Gains to increase the mismatch
between the Taps, the filter will correct if enabled
¾ The filter has to be disabled if the inspection is done at Nyquist frequency : Then the tap
balance has to be performed by using odd and even Tap Gains.
The Camera is delivered with the Auto Tap Balance enabled by default.
15
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
6.3.3 Exposure and Synchronization
• Synchronisation Mode: Timed or Triggered, it defines how the grabbing is synchronized. This
command is available in the CommCam “Exposure” section :
Ö Read function : “r sync”;
Return by the camera:
• 0 : Free Run or “Timed” mode
• 1 : Ext Trig with Integration time set in the Camera
• 2 : Ext ITC (Integration Time Controlled) : The same Trig signal defines the line period and
its low level defines the integration time
• 3
: Ext Trig with two trig signal : CC2 defines the start of the integration and CC1 defines
the Stop of the integration.
Ö Write function : “w sync” <value>
Timing Specifications
This table is for all the synchronization modes.
Label Description Value
td CC1 rising to integration period start delay 350ns
tdr Integration period stop to readout 1,8µs
th CC1 hold time (pulse high duration) 100ns
td1 CC1/CC2 falling/rising to integration period start delay 350ns
td2 CC1/CC2 rising to integration period stop delay 1,3µs
DIVIINA® LM2
16
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
Exposure Mode Timed : Free Run
This mode doesn’t require an external trigger.
In this case, the line period (Lp) can be defined in the Camera (see below) but the real line period of the
camera depends also on the exposure time (tint) set:
¾ If tint > tper, the line period is equal to tint
¾ If tper > tint, the line period is equal to tint
Ext Trig with integration time set in the camera
This mode requires an external trigger ( via CC1) but the exposure time is the one defined in the Camera.
CC1
17
0994D -Diviina LM2 01/10
DIVIINA® LM2
LINE PERIOD
EXPOSURE N EXPOSURE N+1
READOUT N-1 READOUT N
tint = tper
tdr
tper
LINE PERIOD
tint
EXPOSURE N
READOUT N-1 READOUT N
td
tint
tper
READOUT N-1 READOUT N
e2v semiconductors
EXPOSURE N
LINE PERIOD
tdr
SAS 2009
LINE PERIOD
EXPOSURE N+1
th
EXPOSURE N+1
tdr
DIVIINA® LM2
If the line period of the Trig signal provided to the camera is bigger than the exposure
time set in the camera, the “short trig pulses” will be ignored : The exposure set in the
camera defines the minimum line period possible.
Ext Trig with Integration Time Controlled (ITC) with one Trig
This mode requires an external trigger ( via CC1). Both exposure time and line period are defined by this
Trig signal :
¾ The exposure time during the low level of the Trig Signal
¾ The line period between two rising edges of the Trig Signal
CC1
Ext Trig with Integration Time Controlled (ITC) with two Trigs
This mode requires two external triggers ( via CC1 and CC2):
¾ CC2 controls the starting of the exposure time
¾ CC1 controls the end of the exposure time.
The line period is defined by the one of the CC2 Trig signal.
CC2
CC1
td1
READOUT N-1 READOUT N
td1
READOUT N-1
tper
tint
EXPOSURE N
tper
tint
EXPOSURE N
td2
EXPOSURE N+1
READOUT N
tdr
td2
EXPOSURE N+1
tdr
18
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
DIVIINA® LM2
• Exposure time: Defines the integration time when set in the Camera. This command is available in
the CommCam “Exposure” section :
Ö Read function : “r tint”;
Return by the camera : Integer from 4 to 65534µs (by step of 1µs)
Ö Write function : “w tint” <value> ;
This value of integration time is taken in account only when the synchronisation mode is “free run” (0)
or “Ext Trig with Integration time set” (1). Otherwise it’s ignored.
• Line Period
CommCam “Exposure” section :
: Defines the Line Period of the Camera in Timed mode. This command is available in the
Ö Read function : “r tper”;
Return by the camera : Integer from
Tpermin
28µs for the 1K Pixels cameras (35,714kHz)
55µs for the 2K pixels cameras (18,182kHz)
105µs for the 4k pixels cameras (9,523 kHz)
Ö Write function : “w tper” <value> ;
depends on the number of pixels on the sensor :
The Tper min value is not displayed in CommCam for each camera but any attempt to set to a lower
value then this will be refused by the camera.
In the same way, it’s impossible to set the line period at a lower value than the exposure time.
Note that if the exposure time is increased and set at a lower value than the line period, this last one
will be automatically adjusted at the value of the exposure time : This modification won’t appear in
CommCam without disconnect/reconnect
Tpermin
to 65535 (by step of 1µs)
19
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
6.3.4 Gain and Offset
• Analog Global Gain
Offset” section :
The Value set is also copied in the both odd and even Gains.
Ö Read function : “r gain”;
Return by the camera: Value from 0 to 880 corresponding to a Gain range of 0 to 31dB by step of
0,0351dB
Ö Write function : “w gain” <int> ;
• Analog odd/even Gains per Tap
sensor Tap. These commands are available in the CommCam “Gain & Offset” section :
DIVIINA® LM2
: Set the Amplification Gain. This command is available in the CommCam “Gain &
: A separate command for each sensor is also available for each
Gains Management and Auto Tap Balance
The Global Gain is a “virtual” global command which affects both Odd and Even Gains in the same time.
Each value set in the Global Gain erases Odd and Even Gain values.
This gain has to be used when the Auto Tap balance is activated as a “friendly” mode to set quickly the
gain level in the Camera without taking care of the Tap balance which is automatically done by the
Laplace filter.
¾ The Value set for the Global Gain is copied in both Odd and Even Gains
¾ The value set for the Odd Gain is copied in the Global Gain value
¾ Whatever the action you may have on the Odd/even Tap Gains to increase the mismatch
between the Taps, the filter will correct if enabled. But an individual action on the Odd Gain
will increase the global gain in the same way.
¾ In CommCam the odd/gains Values are not refreshed after the setting of the Global gain
command : You have to refresh them individually with a right click on the value.
20
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
• Analog odd Gain: Set the Amplification Gain on the odd Tap
The value set also copied in the Analog Global Gain parameter.
Ö Read function : “r fga1”;
Return by the camera: Value from 0 to 880 corresponding to a Gain range of 0 to 31dB by step of
0,0351dB
Ö Write function : “w fga1” <int> ;
• Analog even Gain
Ö Read function : “r fga2”;
Return by the camera: Value from 0 to 880 corresponding to a Gain range of 0 to 31dB by step of
0,0351dB
Ö Write function : “w fga2” <int> ;
• Analog Offset
section :
: Set the Amplification Gain on the even Tap.
: Set the global Offset. This command is available in the CommCam “Gain & Offset”
DIVIINA® LM2
Ö Read function : “r offs”;
Returned by the camera : Value from 0 to 255 which is equivalent to 16 LSB by steps of 0,063
LSB (8 bits)
Ö Write function : “w offs” <int> ;
6.3.5 Save & Restore Settings
The settings of the Camera can be saved in one User bank.
The Factory default settings can be load from its dedicated memory bank.
• Save & restore settings
available in the CommCam “Save & Restore Settings” section :
Ö Write function
“w lcfg 0” : Load settings from the Factory default settings
“w lcfg 1” : Load settings from the User Bank
“w scfg1” : Save the current settings in the User bank
: Allows to save or restore all the Camera settings : This command is
21
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
7 APPENDIX A: Test Patterns
7.1 1024 Pixels Camera
The test pattern is composed of 4 successive ramps from 0 to 255 LSB gray values :
7.2 2048 Pixels Camera
The test pattern is composed of 8 successive ramps from 0 to 255 LSB gray values :
DIVIINA® LM2
7.3 4096 Pixels Camera
The test pattern is composed of 16 successive ramps from 0 to 255 LSB gray values :
22
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
8 APPENDIX B: Optical Mounts available
8.1 F-Mount
DIVIINA® LM2
F Mount: (Part number EV50-MOUNT-F)
Drawing for the additional part (except Nikon BR3) :
23
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
8.2 C-Mount
DIVIINA® LM2
C Mount : (Part number EV50-MOUNT-C)
24
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
9 APPENDIX C : TROUBLESHOOTING
9.1 Camera
If CommCam
connection possible :
then the LED is HS,
else :
Check power supply
And its characteristics
Contact Hotline for
RMA
No LED
Camera
Power up
3s
LED Color
Fixed
Green
Camera ready
DIVIINA® LM2
25
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
DIVIINA® LM2
9.2 CommCam Connection
Defect Detail Solutions
CommCam Can’t find the Camera
After launching CommCam, the Icon
of the Camera is not visible.
An e2v Camera is detected but not
identified
A “question Mark” icon appears in
place of the one of the AVIIVA2
Impossible to connect to the
identified Camera
The message “Impossible to open
device” is displayed
Error message is displayed just
after the connection
:
:
:
:
• The Camera is not powered up or the boot
sequence is not finished.
• The CameraLink cable is not connected or
connected on the bad connector.
• Check if the CameraLink libraries (clallserial.dll
and clserXXX.dll) are in the same directory
(either
files/cameralink/serial
• The Frame Grabber is compliant with
CameraLink standard 1.1
¾ Contact the hotline : hotline-cam@e2v.com
• The version of CommCam used is too old : You
have to use the version 1.2.x and after.
• There is a possible mismatch between the
major version of xml file used by CommCam and
the firmware version of the Camera
• Possible Hardware error or Camera
disconnected after being listed.
¾ Contact the hotline : hotline-cam@e2v.com
• There is a possible mismatch between the
minor version of xml file used by CommCam and
the firmware version of the Camera
• Default values of the Camera out of range ¾ Contact the hotline : hotline-cam@e2v.com
system32
or
program
)
26
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
10 APPENDIX D : Command Summary
10.1 Information
Title Command Features
VendorName r vdnm Get camera vendor name
Return string e2v
ModelName r mdnm Get camera model name
Return string
Camera ID r idnb Get camera ID.
Return <idstr> Max 50 bytes
Firmware version r dfwv Get the camera software version
Return M.m.s as :
• M : Major version
• m : minor version
• S : sub-minor version.
DIVIINA® LM2
10.2 Signal Source
Title Command Features
Signal Source
Auto Tap Balance
w srce 0 Set signal source to CCD sensor
w srce 1 Set signal source to test pattern
r srce Get current signal source
w abal 0 Disable the Auto Tap balance
w abal 1 Enable the Auto Tap balance
r abal Get current auto balance status
10.3 Exposure & Synchronisation
Title Command Features
Synchronisation Mode
w sync 0 Set free run mode, with integration time and line period
programmable
w sync 1 Set line period synchronisation with integration time
programmable
w sync 2 Set line period synchronisation (start and period) and
integration time controlled by 1 signal (ITC)
w sync 3 Set line period synchronisation (start and period) and
integration time controlled by 2 signals
r sync Get current synchronisation mode
27
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
Title Command Features
w tint <val> Set integration time to <val> in µs, from 1 to 65535 Integration time
r tint Get current integration time
Line Period
w tper <val> Set line period to <val> in µs, from
If tint > tper, tper is set to tint
r tper Get current line period
10.4 Gains & Offset
Title Command Features
Gain (global command)
Gain Odd Tap
Gain Even Tap
w gain <val> Set the global gain form 0dB (0) to 31dB (880)
step of 0.0351dB. Affects both odd and even Tap gains
r gain Get current global gain
w fga1 <val> Set gain of the odd tap from 0dB (0) to 31dB (880) by
step of 0,0351dB
r fga1 Get gain of the odd tap
w fga2 <val> Set gain of the even tap from 0dB (0) to 31dB (880) by
step of 0,0351dB
r fga2 Get gain of the even tap
w offs <val> Set global offset from 0 LSB (0) to 16 LSB in 8bits (255) Offset
r offs Get global offset
DIVIINA® LM2
Tpermin
to 65535
10.5 Save & Restore settings
Title Command Features
Save & Restore
28
0994D -Diviina LM2 01/10
e2v semiconductors
w lcfg 0 Load current configuration from factory bank
w lcfg 1 Load current configuration from User bank
w scfg 1 Save current configuration into User bank
SAS 2009
11 APPENDIX E: Revision History
Doc. Revision Comments / Details Camera Ref CommCam
Rev A Preliminary release Firmware 1.0.0 1.1.14.x
Rev B Synchronization modes
Pattern test
Rev C Enable/Disable Auto-Tap Balance
GainTap1/GainTap2
Relook documentation
Rev D Gain range change for 0-880
Increase response from 5dB
Firmware 1.0.1
(rev A)
Firmware 1.1.0
(rev B)
Firmware 2.0.0
(rev C)
DIVIINA® LM2
1.1.16.x
1.2.4.x
1.2.6.x
29
0994D -Diviina LM2 01/10
e2v semiconductors
SAS 2009
How to reach us
Home page: www.e2v.com
Sales Office:
Europe Regional sales office
e2v ltd
106 Waterhouse Lane
Chelmsford
England
Tel: +44 (0)1245 493493
Fax: +44 (0)1245 492492
mailto: enquiries@e2v.com