Automation Technology C2-2040-GigE, C2-2040HS-GigE Hardware Reference Manual

Page 1
C2-2040(HS)-GigE Camera
Hardware Reference
Manual
Rev 1.8
AT - Automation Technology GmbH
Page 2
2 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Table of Contents
Table of Contents 2
C2 Camera Series Overview 5
Introduction ................................................................................................... 5
Measuring Principle ........................................................................................ 5
Geometry 1 ....................................................................................... 6
Geometry 2 ....................................................................................... 6
Geometry 3 ....................................................................................... 7
Geometry 4 ....................................................................................... 7
The C2-2040(HS)-GigE Camera General Specifications ................................... 8
Mechanical Drawings ......................................................................... 9
Temperature Range (Operation/Storage) ............................................ 10
Heat Dissipation ............................................................................... 10
General Guidelines for Heat Dissipation ............................................. 10
Using the C2 Heat Sink ..................................................................... 11
Temperature Development of C2 Series after Power-Up ....................... 12
The C2-2040(HS)-GigE CMOS Imager Specifications ..................................... 13
C2-2040(HS)-GigE Camera Operational Reference 15
C2-2040(HS)-GigE Camera GenICam Features ............................................. 15
DeviceControl .................................................................................. 15
ImageFormatControl ........................................................................ 15
AcquisitionControl ............................................................................ 16
CameraControl – AOIs (Areas Of Interest) .......................................... 17
CameraControl – FIRControl ............................................................. 17
CameraControl – ModeAndAlgorithmControl ..................................... 17
CameraControl – ModeAndAlgorithmControl - AoiTracking ................. 18
CameraControl – ModeAndAlgorithmControl - AoiSearch.................... 18
CameraControl – ModeAndAlgorithmControl - ColumnEvaluationMask ...... 18
CameraControl – SensorControl ........................................................ 18
CameraControl – SensorControl – AdvancedSensorsettings .................. 19
CameraControl – DataOutput ........................................................... 19
CameraControl – Commands............................................................ 19
CameraIO ....................................................................................... 19
TriggerControl .................................................................................. 20
TriggerControl – ResolverRS422 ........................................................ 21
TriggerControl – AutoStart ................................................................. 21
TransportLayerControl ....................................................................... 21
Page 3
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 3
TransportLayerControl - GigEVision .................................................... 21
UserSetControl ................................................................................. 23
ChunkDataControl ........................................................................... 23
EventControl .................................................................................... 23
FileAccessControl ............................................................................. 23
The GenICam Features Configuration of C2-2040(HS)-GigE .......................... 25
The C2-2040(HS)-GigE Camera Algorithms ................................................... 27
The Image Mode (IMG) .................................................................... 27
The Maximum Intensity Profile Mode (MAX) ......................................... 28
The Threshold Mode (TRSH) .............................................................. 29
The Center Of Gravity Mode (COG) .................................................. 30
The FIR Peak Mode (FIR PEAK) ........................................................... 31
The FIR Filter Function .................................................................................. 32
The High Dynamic Range 3D Feature (HDR-3D) of C2-2040(HS)-GigE ............ 33
Multiple Slope Function ..................................................................... 33
Multi-Frame Readout Mode (NDR) ..................................................... 36
The Data Output Format of C2-2040(HS)-GigE ............................................. 38
The Data Channel Assignment DC0, DC1 and DC2 ............................ 38
The Output Frame Structure .............................................................. 40
Advanced AOI Functions .............................................................................. 44
C2-2040(HS)-GigE Camera Triggering ......................................................... 45
Description of Profile Trigger Modes ................................................... 45
Description of Modes for Triggering of Sequencer/Frame and Profile
Acquisition ....................................................................................... 46
The Chunk Data Mode of C2-2040(HS)-GigE ................................................ 48
General Description .......................................................................... 48
Payload Layout in Chunk Data Mode ................................................. 49
XML Descriptors and Id’s ................................................................... 50
Chunk Data Structure ........................................................................ 51
The GigE-Vision Events of C2-2040(HS)-GigE .................................... 52
C2-2040(HS)-GigE Camera Interface ............................................................ 53
The GigE Interface ............................................................................ 53
The I/O & Power Interface ................................................................. 54
Description of LEDs ........................................................................... 55
Integrated RS232 serial interface and Camera Boot Log....................... 56
The External C2-I/O-Panel (Rev. 2.0) ............................................................ 58
Schematic of isolated digital I/Os located on the C2-I/O-Panel ............ 65
Availability of I/O and Laser Control Signals ....................................... 67
depending on the revision of C2-I/O-Panel and C2 camera
(Compatibility Overview) ................................................................... 67
The C2 cables ............................................................................................. 69
Service Information 74
Document Revision ...................................................................................... 74
Product Information and Updates .................................................................. 75
Warranty Conditions .................................................................................... 76
Page 4
4 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
© 2015 Automation Technology GmbH. All rights reserved. No part of this document shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise without consent in writing from the owners, AT-Automation Technology GmbH.
Disclaimer While care has been exercised in the preparation of this document to ensure that it is fully correct and comprehensive, the owners assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. No license is granted under any patents or patent right of AT – Automation Technology GmbH.
Trademarks All nationally and internationally recognized trademarks and trade names are hereby acknowledged. This document is subject to change without notification. All rights reserved.
Page 5
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 5
C2 Camera Series Overview
Introduction
The C2 camera series is a revolutionary product family of intelligent high speed sensors. It is optimised for 3D profile measurement by means of laser triangulation technique. The 3D profile extraction is performed in the camera by using high performance Field Programmable Gate Array processors. At the same time the 3D profile data is sent to the PC over a Gigabit Ethernet interface (GigE). This extreme data reduction boosts the measuring speed to unprecedented levels without affecting the performance of the connected image processing unit.
Measuring Principle
The C2 camera acquires height profiles and height images based on the laser triangulation principle. According to this method a laser line is projected on the object from one direction. The C2 camera views the object from another angle defining the triangulation geometry. The resulting sensor image is evaluated by the C2 camera core and converted into a single height profile. By scanning the laser line over the object a complete height image can be acquired.
The figures below demonstrate some typical triangulation geometries. The following notation is used in the approximation of height resolution:
X= resolution along the laser line (lateral),
Y= resolution perpendicular to the laser line (longitudinal in the direction of motion),
Z= height resolution.
Page 6
6 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Geometry 1
The laser line is projected perpendicular to the object surface, while the camera views the object under the triangulation angle α.
The height resolution can be approximated: Z X / sin(α)
Geometry 2
The camera views the object perpendicularly to its surface, while the laser line is projected under the triangulation angle α.
The height resolution can be approximated: Z ≈ ∆X / tan(α)
Scan direction
α
Scan direction
α
Y
Z
X
Y
Z
X
Page 7
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 7
Geometry 3
The camera views the object under an angle α, while the laser line is projected under a different angle β.
The height resolution can be approximated: Z ≈ ∆X * cos(β) / sin(α + β),
in case α= β (direct reflex) : ∆Z ≈ ∆X / 2* sin(α)
Geometry 4
The camera views the object under an angle α, while the laser line is projected under a different angle β at the camera side.
The height resolution can be approximated: Z ≈ ∆X * cos(β) / sin(α - β),
Scan direction
α
β
Scan direction
α
β
Y
Z
X
Y
Z
X
Page 8
8 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The C2-2040(HS)-GigE Camera General Specifications
Camera Controls
Synchronization Modes Free running, Triggered, Software Triggered
Exposure Modes Programmable, Pulse controlled
Shutter Modes Global Shutter
Digital Trigger Input 2 inputs, 5 V
VIL, logic “0” Voltage < 1.5 V
VIH, logic “1” Voltage > 3.5 V
Digital Output 2 outputs
VOL, logic “0” Voltage < 0.5 V
VOH, logic “1” Voltage 4.5 V
IOH, logic “1” output current 20 mA
IOL, logic “0” output current 20 mA
Features
3D-Algorithms MAX, TRSH, COG, FIR PEAK
High Speed Acquisition Full frame: 340 fps
High Dynamic Range Imaging Multiple Slope, Multi-Frame Readout
Multiple AOIs / Laser lines Up to 8
Optical Interface
Lens Mount C-Mount with Back Focal Distance 17.526 mm
Mechanical Interface
Camera Size 44 mm x 44 mm x 66 mm
Mass (without optics) 125 g
Power connector 17 pin, M12 connector
Ethernet connector 8 pin, A-coded M12 connector
Electrical Interface
Input Voltage 10 – 24 V DC (max. 27 V DC)
Power consumption < 6 W
Operating Temperature 0 °C to +50 °C (non condensing)
Output Data Interface Gigabit Ethernet (IEEE 802.3)
Communication Protocol GigE Vision with GeniCam
Page 9
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 9
Mechanical Drawings
C2-2040(HS)-GigE
44,00
44,00
66,00
32,00
32,00
4x M2.5 4.5mm deep
Hole pattern identical on all 4 sides
Example Protection Tube (#202 201 100)
For Lens with L=30 mm & Ø36 mm
Protective Tube
Part Number #
Max. Lens Ø (mm) Max. Lens length
(mm)
Camera Overall length (mm)
202 201 100 36 30 100
202 201 101 36 80 150
202 201 102 36 40 110
202 201 103 36 50 120
202 201 104* 50 55 130
*max. tube diameter 62 mm
(Further Models on Request)
M12, 8 pin, female, IP67
M12
17 pin, male, IP67
Page 10
10 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Temperature Range (Operation/Storage)
Housing temperature during operation: 0 °C to +50 °C (+32 °F to +122 °F)
Sensor chip temperature (on-board) during operation: 0 °C to +65 °C (+32 °F to +149 °F)
Humidity during operation: 20 % to 80 %, relative, non-condensing
Storage temperature: -20 °C to +80 °C (-4 °F to +176 °F)
Storage humidity: 20 % to 80 %, relative, non-condensing
Heat Dissipation
The operation of C2 sensors requires sufficient heat dissipation. Due to the small size of the camera housing there is not enough cooling surface to dissipate the thermal power loss generated by the core electronics and sensor chip.
All 3D sensors of the C2 series feature high-speed CMOS sensor chips. A typical property of a CMOS sensor is that it provides best image quality by low temperatures. High temperatures will lead to an increase of dark current, noise and hence to a reduction of signal-to-noise ratio (SNR).
To eliminate these effects it is often sufficient to mount the C2 sensor on a heat conductive material, such as a metal surface. However if it is not possible to mount the camera on any heat dissipating carrier, then it is necessary to use a heat sink with the recommended specification of AT.
General Guidelines for Heat Dissipation
Mount the 3D sensor to a heat conductive material with an absolute thermal resistance
of at least 6 K / W.
Always monitor the temperature of the sensor (on-board, available over GenICam) and make sure that the temperature does not exceed 65 °C.
Keep in mind that dark current and noise performance for CMOS sensor will degrade at higher temperature.
The 3D sensor of the C2 series will gradually become warmer during the first hour of operation. After one hour of operation, the housing temperature as well as the sensor temperature should be stabilized and no longer increased.
Page 11
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 11
Using the C2 Heat Sink
AT provide a specially designed heat sink to improve the cooling of C2 sensors in applications lacking sufficient thermal dissipation:
Absolute thermal resistance for camera housing: R
th
= 5 [K / W]
Absolute thermal resistance for heat sink: R
th
= 6 [K / W]
Page 12
12 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Temperature Development of C2 Series after Power-Up
This section gives information about the temperature development of C2 series after power-up. A total of three temperature measurement cases are shown and compared.
The first case indicates the development of internal temperature and external housing temperature after power-up without any additional mounted heat sink. This case is very unlike, because in most industrial applications the C2 sensor is mounted on a heat conductive carrier (e.g. metal plate), which works as a heat dissipater. The operation of C2 sensor without any metal plate (e.g. during evaluation and/or testing in laboratory environment), requires the mount of a heat sink on the housing.
The other two cases show the temperature development after power-up with one and two mounted heat sinks. In all test cases the ambient temperature was 22 °C.
Page 13
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 13
The C2-2040(HS)-GigE CMOS Imager Specifications
Parameters Specifications
Sensitivity 16000 LSB / µJ / cm2 @ 550 nm
Maximum Spectral Response 0.290 A / (W nm) @ 665 nm
Resolution 2048 x 1088 pixels
Pixel Size 5.5 µm x 5.5 µm
Sensor Size 11.264 mm x 5.984 mm, diagonal: 14.638 mm
Sensor Format 2/3”
Sensor ADC Resolution 10 bit
Sensor Dynamic Range 90 dB with HDR
Max. Internal Full-Frame Rate 340 fps
Max. External Full-Frame Rate
(limited due to GigE bandwidth)
50 fps
Effective Frame / Profile Rate at Max. Row Length
Number of Rows Effective Frame / Profile Rate (Hz)*
C2-2040HS-GigE C2-2040-GigE
8
16
32
64
128
256
512
1088
30720
19608
10638
5556
2841
1401
723
340
1401
1401
1401
1401
1401
1401
723
340
*with Frame Overhead Time (FOT)=2
Page 14
14 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Page 15
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 15
C2-2040(HS)-GigE Camera Operational Reference
C2-2040(HS)-GigE Camera GenICam Features
DeviceControl
Name Rev. Interface Access Description
DeviceVendorName 1.0 IString R The name of the device vendor. DeviceModelName 1.0 IString R The name of the device model. DeviceManufacturerInfo 1.0 IString R Additional info from manufacturer about this device. DeviceVersion 1.0 IString R A string identifying the version of the device. DeviceID 1.0 IString R A unique identifier of the device, e.g., a serial number
or a GUID (User Data in GigE Boot register). DeviceFirmwareVersion 1.0 IString R Version of firmware/software. DeviceUserID 1.0 IString R/W User-programmable device identifier. DeviceScanType 1.0 IEnumeration R Show the camera type:
- Areascan DeviceReset 1.0 ICommand W Resets and reboots the device immediately. DeviceRegistersStreamingStart 1.2 ICommand W Announces the start of registers streaming without
immediate checking for consistency.
DeviceRegistersStreamingEnd 1.2 ICommand W Announces the end of registers streaming and
perform validation for registers consistency before activating them. This will also update the DeviceRegistersValid flag.
DeviceRegistersCheck 1.2 ICommand W Performs an explicit register set validation for
consistency.
DeviceRegistersValid 1.2 IBoolean R Indicates whether the current register set is valid and
consistent.
DeviceTemperatureSelector AT IEnumeration R/W Select temperature sensor:
- Mainboard
- Sensor DeviceTemperature AT IFloat R Device temperature in degrees Celsius (°C). DeviceMaxThroughput 1.2 IInteger R Maximum Bandwidth of data in Bytes/sec.
ImageFormatControl
Name Rev. Interface Access Description
SensorWidth 1.0
IInteger R Width of sensor (effective pixels)
SensorHeight 1.0
IInteger R Height of sensor (effective pixels)
Width 1.0
IInteger R/W Width of Image/Area Of Interest.
Height 1.0
IInteger R/W Height of Image/Area Of Interest.
In Image-Mode writing this manipulates AOI[0].height
PixelFormat 1.0
IEnumeration R/W Format of the image pixels. For more details, see the
Pixel Format description chapter.
- Mono8
- Mono16 ReverseX 1.0
IBoolean R/W When set to true, this parameter flips the sensor
image horizontally
Page 16
16 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Name Rev. Interface Access Description
ReverseY 1.0
IBoolean R/W When set to true, this parameter flips the sensor
image vertically.
OffsetX 1.0 IInteger R
X Offset of AOI (fixed to zero)
TestImageSelector 1.0
IEnumeration R/W Selection of the test image to be used.
- Off
- GreySensorColumnPattern LinePitch 1.0
IInteger R Distance between consecutive lines in bytes.
PixelDynamicRangeMin 1.0
IInteger R Minimum pixel value sent by the camera.
PixelDynamicRangeMax 1.0
IInteger R Maximum pixel value sent by the camera.
AcquisitionControl
Name Rev. Interface Access Description AcquisitionStart 1.0 ICommand W Issues the START command. This starts the
acquisition.
AcquisitionStop 1.0 ICommand W Issues the STOP command. This stops the
acquisition.
AcquisitionMode 1.0 IEnumeration R/W Defines the type of acquisition:
- SingleFrame
- MultiFrame
- Continuous
AcquisitionAbort 1.0 ICommand W Issues the ABORT command. This immediately
aborts the acquisition without completing the current frame.
AcquisitionFrameCount 1.0 IInteger R/W Number of frames to be acquired in MultiFrame
acquisition mode. The minimum allowable value is 1.
AcquisitionFrameRateAbs 1.2 IFloat R The frame rate of the imager. Absolute units are in
Hz.
AcquisitionStatusSelector 1.2 IEnumeration R/W Selector for AcquisitionStatus to read:
- AcquisitionTriggerWait
- AcquisitionActive
- AcquisitionTransfer
- FrameTriggerWait AcquisitionStatus[AcquisitionStatus Selector]
1.2
IBoolean R Status of the selected acquisition flag
AcquisitionMaxBufferedFrameCount AT IInteger R Maximum number of buffered frames
ExposureMode 2.2 IEnumeration R Sets the operation mode of the exposure:
1 : Timed 2 : MultiSloped 3 : MultiExposed
MultiSloped and MultiExposed refers to HDR-3D
ExposureTime 2.2 IInteger R/W Sets the overall exposure time when ExposureMode
is Timed or MultiSloped in microseconds (µs). This parameter is the standardized equivalent to ExposureTimeAbs
ExposureSlopeKneepointCount AT IInteger R/W The number of additional exposure slopes used for
Multi-Slope exposure 0: SingleSlope 1: DualSlope 2: TripleSlope
ExposureSlopeKneePointSelector AT IInteger R/W Selects the parameters for controlling a kneepoint
during multi-slope exposure
ExposureSlopeDuration AT IFloat R/W The exposure duration (in percentage of
ExposureTime) for determining a kneepoint during multi-slope exposure
ExposureSlopeThreshold AT IFloat R/W The threshold for determining a kneepoint during
multi-slope exposure. Setting this value to 100% will effectively disable this kneepoint
Page 17
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 17
CameraControl – AOIs (Areas Of Interest)
Name Rev. Interface Access Description
MaxNumAOIs AT IInteger R Maximum number of AOIs. NumAOIs AT IInteger R/W Number of used AOIs. ImageModeAoiSelector AT IInteger R/W Selects the AOI to show in image mode AoiSelector AT IInteger R/W Selects which AOI to control AoiHeight AT IInteger R/W Number of sensor rows in AOI AoiOffsetY AT IInteger R/W Offset distance in rows between the first row of AOI
and the first row of sensor chip
AoiThreshold AT IInteger R/W Intensity threshold value for selected AOI.
CameraControl – FIRControl
Name Rev. Interface Access Description
FIR AT IBoolean R/W True: Enables the FIR filter
False: Disables the FIR filter
FIRMode AT IEnumeration R/W Selection of the FIR mode
-Derivative
-Smoothing FIRCoef AT IEnumeration R/W Selection of the FIR filter coefficients
- SG5
- SG7
- SG9
- AV5 (Smoothing mode only)
- AV7 (Smoothing mode only)
- AV9 (Smoothing mode only)
- Custom FIRGain AT IInteger R/W Gain of FIR filter FIRCorrection AT IBoolean R/W True: The effect of filter index mismatch in 3D mode
is cancelled
False: No correction is performed FIRC0 AT IFloat R/W Value of FIR coefficient #0 FIRC1 AT IFloat R/W Value of FIR coefficient #1 FIRC2 AT IFloat R/W Value of FIR coefficient #2 FIRC3 AT IFloat R/W Value of FIR coefficient #3 FIRC4 AT IFloat R/W Value of FIR coefficient #4
CameraControl – ModeAndAlgorithmControl
Name Rev. Interface Access Description
CameraMode AT IEnumeration R/W Selects the camera mode or algorithm:
- Image
- FIRPeak
- CenterOfGravity
- Threshold
- MaximumIntensity
ProfilesPerFrame AT IInteger R/W This feature represents the number of Profiles per
Frame in 3D-Mode expelled by the camera. AbsOffsetPos AT IBoolean R/W True: Position values are referenced to the first row
of sensor chip (absolute position).
False: Position values are referenced to the first row
of AOI. TrshFirstFalling AT IBoolean R/W Stops the position calculation along an AOI column,
as soon as the falling edge of a Gauss curve is
detected. NumSubPixel AT IInteger R/W Number of subpixel bits of COG and FIR-Peak
output (0-6) PosValidationEn AT IBoolean R/W Enable validation of position value of a Gauss curve
using tolerances for width and sum of intensity.
Perform validation during scan of image column and
immediately after detecting a Gauss falling edge.
Clear the result, if the position value is invalid. ClearInvalidPos AT IBoolean R/W Enable validation of position value using tolerances
for width and sum of intensity. Perform validation at
the end of scan of image column. Invalid position
values are set to zero in all DCs. ValidationWidthMin AT IInteger R/W Minimum width of valid intensity distribution in 3D-
mode.
Page 18
18 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Name Rev. Interface Access Description
ValidationWidthMax AT IInteger R/W Maximum width of valid intensity distribution in 3D-
mode. ValidationSumMin AT IInteger R/W Minimum sum of intensity of valid intensity
distribution in 3D-mode. ValidationSumMax AT IInteger R/W Maximum sum of intensity of valid intensity
distribution in 3D-mode.
CameraControl – ModeAndAlgorithmControl - AoiTracking
Name Rev. Interface Access Description
AoiTrackingEnable AT IBoolean R/W True: AOI-Tracking mode is enabled
False: AOI-Tracking mode is disabled AoiTrackingMinNumPixel AT IInteger R/W Minimum number of required pixel (one pixel per
column) to start AOI tracking algorithm AoiTracking_P AT IFloat R/W Proportional gain of PID controller AoiTracking_I AT IFloat R/W Integral gain of PID controller AoiTracking_D AT IFloat R/W Derivative gain of PID controller AoiTrackingUpdateRate AT IInteger R/W Update frequency of tracking algorithm (Hz) AoiTrackingSensorWriteTimeout AT IInteger R/W AOI tracking senosr write timeout in microseconds
(µs)
CameraControl – ModeAndAlgorithmControl - AoiSearch
Name Rev. Interface Access Description
AoiSearchEnable AT IBoolean R/W True: AOI-Search mode is activated
False: AOI-Search mode is disabled AoiSearchHeight AT IInteger R/W Height of search AOI AoiSearchOffsetY AT IInteger R/W Vertical offset from the origin to the search AOI
CameraControl – ModeAndAlgorithmControl - ColumnEvaluationMask
Name Rev. Interface Access Description
ColRangeStart AT IInteger R/W Column start index ColRangeEnd AT IInteger R/W Column end index ColRangeEnableCommand AT ICommand W Enable all columns from RangeStart to RangeEnd ColRangeDisableCommand AT ICommand W Disable all columns from RangeStart to RangeEnd ColRangeActivate AT ICommand W Activate complete ColumnEvaluationMask and write
data into flash memory
CameraControl – SensorControl
Name Rev. Interface Access Description
SensorFrameCounter AT IInteger R Sensor frame counter. SensorReadoutTime AT IInteger R Sensor Readout Time in µs. ExposureTimeAbs AT IInteger R/W Sensor integration time in µs. FramePeriode AT IInteger R/W Time between two frames in µs. FrameRate AT IFloat R Frame rate in Hz ExposureMode AT IEnumeration R Sensor exposure mode:
- Interleaved (the sensor integration and readout are performed in parallel).
MultipleSlopeMode AT IEnumeration R/W MultipleSlope Mode:
- SingleSlope
- DualSlope
- TripleSlope DualSlopeTime AT IInteger R/W DualSlopeTime in % of sensor integration time TripleSlopeTime AT IInteger R/W TripleSlopeTime in % of sensor integration time NumberOfNDRFrames AT IInteger R/W Number of NDR frames. NDRMode AT IEnumeration R/W Multi-Frame Readout Mode (NDR):
- Off
- On NDRExposureTimeAbs_1 AT IInteger R/W NDR exposure time 1. NDRExposureTimeAbs_2 AT IInteger R/W NDR exposure time 2. NDRExposureTimeAbs_3 AT IInteger R/W NDR exposure time 3. NDRExposureTimeAbs_4 AT IInteger R/W NDR exposure time 4.
Page 19
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 19
CameraControl – SensorControl – AdvancedSensorsettings
Name Rev. Interface Access Description
GainPGA AT IEnumeration R/W PGA Gain Voltage GainADC 1.2 IEnumeration R/W ADC Gain Voltage Vlow2 AT IInteger
R/W Voltage for defining exposure kneepoint 1 in the
range of 127 (zero intensity) down to 64 (saturation).
Vlow3 AT IInteger
R/W Voltage for defining exposure kneepoint 2 in the
range of 127 (zero intensity) down to 64 (saturation).
Vramp1 AT IInteger
R/W Start voltage first ramp for column FPN
correction
Vramp2 AT IInteger
R/W Start voltage second ramp for column FPN
correction
FOT AT IInteger
R/W Frame Overhead Time
CameraControl – DataOutput
Name Rev. Interface Access Description
EnableDC0 AT IBoolean R/W Activates the output data channel DC0. EnableDC1 AT IBoolean R/W Activates the output data channel DC1. EnableDC2 AT IBoolean R/W Activates the output data channel DC2. EnableDC0Shift AT IBoolean R/W Right shift twice the intensity value in DC0, when
PixelFormat is Mono8.
EnableDC2TrshSP AT IBoolean R/W Controls the output in channel DC2, when TRSH
algorithm is selected: True: DC2 outputs the position value with 1 subpixel. False: DC2 outputs the right edge position.
EnableDC1TrshWidth AT IBoolean R/W Controls the output in channel DC1, when TRSH
algorithm is selected: True: DC1 outputs the laser line width. False: DC1 outputs the left edge position.
EnableDC1Width AT IBoolean R/W Controls the output in channel DC1.
When CameraMode = CenterOfGravity: True: DC1 outputs the laser line width. False: DC1 outputs the left edge position.
When CameraMode = FIRPeak: True: DC1 outputs the maximum value of intensity first derivative. False: DC1 outputs the index of next sensor row to the left of zero-crossing
EnableDC1Flags AT IBoolean R/W When in 16 bit mode, the bits 12-15 of output
channel DC1 contain additional algorithm flags
CameraControl – Commands
Name Rev. Interface Access Description
StartPulse AT ICommand W Send Start pulse. StopPulse AT ICommand W Send Stop pulse. TriggerPulse AT ICommand W Send Trigger pulse. RstFrameCnt AT ICommand W Reset frame counter to zero. SearchAoi AT ICommand W Fit AOI to laser line position. Supports only one
AOI
CameraIO
Name Rev. Interface Access Description
Input1 AT IEnumeration R Lists the input signals available for IN1:
- Input1_Unused.
- Input1_FrameStart
- Input1_EnableFrame
- Input1_Trigger
Input2 AT IEnumeration R Lists the input signals available for IN2:
- Input2_Unused.
- Input2_StopFrame
- Input2_Trigger
Page 20
20 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Name Rev. Interface Access Description
Output1 AT IEnumeration RW Selects the output signal for OUT1:
Symbolic Value
- Out1_IntegrationActive
- Out1_SequencerActive
- Out1_IntegrationDualSlopeActive
- Out1_IntegrationTripleSlopeActive
- Out1_High
- Out1_Low
- Out1_InternalTrigger
- Out1_SequencerTriggerActive
Integer Value
0 1 2 3 4 5 6 7
Output2 AT IEnumeration RW Selects the output signal for OUT2:
Symbolic Value
- Out2_IntegrationActive
- Out2_IntegrationDualSlopeActive
- Out2_IntegrationTripleSlopeActive
- Out2_High
- Out2_Low
- Out2_TriggerOverrun
- Out2_ResolverCountDir
- Out2_TriggerBusy
- Out2_AutoStart
Integer Value
0 1 2 3 4 5 6 7
8 TriggerOverrun AT IBoolean R Trigger Overrun Flag. Input1Level AT IEnumeration R The voltage level of IN1:
- Input1Level_High
- Input1Level_Low
Input2Level AT IEnumeration R The voltage level of IN2:
- Input2Level_High
- Input2Level_Low
RS422ChannelALevel AT IEnumeration R Voltage level of RS422 Channel A:
- RS422ChannelALevel_High
- RS422ChannelALevel_Low
RS422ChannelBLevel AT IEnumeration R Volatge level of RS422 Channel B
- RS422ChannelBLevel_High
- RS422ChannelBLevel_Low
RS422ChannelZLevel AT IEnumeration R Volatge level of RS422 Channel Z
- RS422ChannelZLevel_High
- RS422ChannelZLevel_Low
LaserPower AT IFloat R/W Sets the output analog voltage of illumination control
in the range 0.0-5.0 V DC (corresponds to 0...100%) TurnLaserOn AT IBoolean R/W Laser turn on/off. TurnLaserOnAuto AT IBoolean R/W Laser turn on automatically during sensor integration. VoltageIn AT IFloat R Reads the input analog voltage of illumination control
(range 0.0-5.0 V DC) Output1MinPulseWidth AT
IInteger
R/W Output1 minimum pulse width in microseconds (µs)
Output2MinPulseWidth AT
IInteger
R/W Output2 minimum pulse width in microseconds (µs)
Output1Delay AT
IInteger
R/W Output1 delay in microseconds (µs)
Output2Delay AT
IInteger
R/W Output2 delay in microseconds (µs)
Output1Invert AT
IBoolean
R/W True: Output1 inverted
False: Output1 not inverted Output2Invert AT
IBoolean
R/W True: Output1 inverted
False: Output1 not inverted
TriggerControl
Name Rev. Interface Access Description
SequencerMode AT IEnumeration R/W Selects the start trigger mode:
- FreeRun
- StartStopCameraInput12
- StartCameraInput1
- GateCameraInput1
- StartStopCameraInput12Event
- AutoStart
ProfileTriggerMode AT IEnumeration R/W Selects the profile trigger mode:
- FreeRun
- CameraInput1
- CameraInput2
- EncoderResolverInterfaceRS422.
ClearTriggerOverrun AT ICommand W Command to clear the trigger overrun flag.
Page 21
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 21
TriggerControl – ResolverRS422
Name Rev. Interface Access Description
TriggerDivider AT IInteger R/W Trigger divider. TriggerCoord AT IInteger R Resolver trigger coordinates TriggerDirectionMode AT IBoolean R/W A sensor image is triggered when the internal pulse
counter is countdown to 0. Upon start of acquisition, the initial value of pulse counter is equal to trigger divider. This parameter controls the behaviour of the pulse counter: True: The pulse counter is decreased and countdown to 0, when resolver pulses are generated from both moving directions (forwards and backwards). False: The pulse counter is decreased and countdown to 0, when resolver pulses are generated from one moving direction only (e.g. forwards). In that case, pulses corresponding to the opposite moving direction (e.g. backwards) will
increase the pulse counter. TriggerReverseDirection AT IBoolean R/W Reverse the pulse count direction. TriggerDividerLoadAtStart AT IBoolean R/W Loads the value of trigger divider into the pulse
counter, when start trigger occurs. TriggerSingleChannelMode AT IEnumeration R/W Enables trigger mode using single channel resolver:
- Disabled
- EnableIn1 (Enable A/IN1)
- EnableIn2 (Enable B/IN2)
LoadTriggerDivider AT ICommand W Command to load the value of trigger divider into
the pulse counter. ClearTriggerCoord AT ICommand W Reset trigger coordinate counter ResetTriggerCoordZeroPos AT IEnumeration R/W Reset the Trigger Coordinate/Counter at Encoder
Zero Position (Index, Z-Channel)
- Off (Index Z Off)
- On (Index Z On)
TriggerCoordinateCountAlways AT IBoolean R/W Controls when trigger coordinates shall be counted:
True: Trigger coordinates are counted always
False: Trigger coordinates are counted only during
image acquisition UseAlternateResolverInputs AT IBoolean R/W True: Use IN1/IN2 instead of A/B as encoder input
False: Use A/B as encoder input UseAlternateResolverInputsInv erted
AT IBoolean R/W True: Invert encoder input over IN1/IN2
False: Do not invert encoder input over IN1/IN2
TriggerControl – AutoStart
Name Rev. Interface Access Description
AutoStartThreshold AT IInteger R/W Defines the position within AOI to trigger the
AutoStart. Valid values are:
When AbsolutePosition = FALSE : 0 - AOI-Height
When AbsolutePosition = TRUE : 0 - Sensor-Height AutoStartNumPixel AT IInteger R/W Minimum number of valid laser positions within AOI
required to trigger the Autostart AutoStartOption AT IEnumeration R/W PosLessThanAutostartThreshold: Start when laser
position is less-than AutoStartThreshold
PosGreaterThanAutostartThreshold: Start when
laser position is greater-than AutoStartThreshold AutoStartBufferOption AT IEnumeration R/W Defines whether the history buffer should be
transmitted as first frame or not
-none
-HistoryBuffer
TransportLayerControl
Name Rev. Interface Access Description
PayloadSize 1.0 IInteger R PayloadSize provides the number of bytes transferred
for each image on the stream channel
TransportLayerControl - GigEVision
Name Rev. Interface Access Description
Page 22
22 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Name Rev. Interface Access Description
GevVersionMajor 1.2 IInteger
R This field represents the major version of the GigE
Vision specification supported by this device
GevVersionMinor 1.2 IInteger
R This field represents the minor version of the GigE
Vision specification supported by this device
GevDeviceModeIsBigEndian 1.2
IBoolean R This represents the endianess of bootstrap registers
(FALSE: Little-endian device TRUE: Big-endian device)
GevDeviceModeCharacterSet 1.2 IEnumeration R This feature represents the character set of all boot
strap strings:
- CharacterSet_UTF8
GevInterfaceSelector 1.2 IEnumeration R Indicates the index of the network interface to
configure:
- EnumEntry_GevInterfaceSelector_Interface_0
GevMACAddress 1.2
IInteger R 48-bit MAC address of the selected interface
GevSupportedIPConfigurationLLA 1.2
IBoolean
R/W Indicate if LLA (Auto-IP) is supported by the selected
interface
GevSupportedIPConfigurationDHCP 1.2
IBoolean
R/W Indicate if DHCP is supported by the selected
interface GevSupportedIPConfigurationPers istentIP
1.2
IBoolean
R/W Indicate if Persistent IP is supported by the selected
interface GevCurrentIPConfigurationLLA 1.2
IBoolean
R This feature indicates if Link Local Address IP
configuration scheme is activated on the given
network interface GevCurrentIPConfigurationDHCP 1.2
IBoolean
R This feature indicates if DHCP Address IP
configuration scheme is activated on the given
network interface GevCurrentIPConfigurationPersist entIP
1.2
IBoolean
R This feature indicates if PersistentIP IP configuration
scheme is activated on the given network interface GevCurrentIPAddress 1.2
IInteger R IP address of the selected interface
GevCurrentSubnetMask 1.2
IInteger R Subnet mask of the selected interface
GevCurrentDefaultGateway 1.2
IInteger R Default gateway of the selected interface
GevPersistentIPAddress 1.2
IInteger R/W Persistent IP address for the selected interface
GevPersistentSubnetMask 1.2
IInteger R/W Persistent subnet mask for the selected interface
GevPersistentDefaultGateway 1.2
IInteger R/W Persistent default gateway for the selected interface GevLinkSpeed 1.2 IInteger R Link speed in Mbps. GevFirstURL 1.2
IString R NULL-terminated string providing the first URL to the
XML device description file
GevSecondURL 1.2
IString R
NULL-terminated string providing the second URL to the XML device description file
GevNumberOfInterfaces 1.2
IInteger R
Indicates the number of physical network interfaces on this device
GevMessageChannelCount 1.2
IInteger R
Indicates the number of message channels supported by this device
GevStreamChannelCount 1.2
IInteger R
Indicates the number of stream channels supported by
this device GevSupportedOptionalCommands UserDefinedName
1.2
IBoolean
R
Indicates if the User-defined Name register is
supported GevSupportedOptionalCommands SerialNumber
1.2
IBoolean
R
Indicates if the Serial Number register is supported
GevSupportedOptionalCommands EVENTDATA
1.2
IBoolean
R
Indicates if EVENTDATA_CMD and
EVENTDATA_ACK are supported GevSupportedOptionalCommands EVENT
1.2
IBoolean
R
Indicates if EVENT_CMD and EVENT_ACK are
supported GevSupportedOptionalCommands PACKETRESEND
1.2 IBoolean
R
Indicates if PACKETRESEND_CMD is supported
GevSupportedOptionalCommands WRITEMEM
1.2
IBoolean
R
Indicates if WRITEMEM_CMD and WRITEMEM_ACK
are supported GevSupportedOptionalCommands Concatenation
1.2
IBoolean
R
Indicates if multiple operations in a single message
are supported GevHeartbeatTimeout 1.2
IInteger R/W Current heartbeat timeout in milliseconds
GevTimestampTickFrequency 1.2
IInteger R
64-bit value indicating the number of timestamp clock
tick in 1 second GevTimestampControlLatch 1.2
ICommand
R
Latches the current timestamp value of the device GevTimestampControlReset 1.2
ICommand
R
Resets the timestamp count of the device GevTimestampValue 1.2 IInteger R Latched 64-bit value of the timestamp. Value must first
be latched using GevTimestampControlLatch. GevStreamChannelSelector 1.2
IInteger
R/W Indicate which stream channel to configure
GevSCPInterfaceIndex 1.2
IInteger
R
Index of network interface GevSCPSPacketSize 1.2
IInteger
R/W The size of the stream packet to send on this channel
GevSCPD 1.2
IInteger
R/W Delay (in timestamp counter unit) to insert between
Page 23
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 23
Name Rev. Interface Access Description
each packet for this stream channel
UserSetControl
Name Rev. Interface Access Description
UserSetSelector 1.2 IEnumeration R/W Selects the feature User Set to load, save or
configure:
- Factory
- UserSet1
- UserSet2
- UserSet3
UserSetLoad[UserSetSelector] 1.2 ICommand W Loads the User Set specified by UserSetSelector to
the device and makes it active. UserSetSave[UserSetSelector] 1.2 ICommand W Saves the selected User Set specified by
UserSetSelector to persistent memory. UserSetDefaultSelector 1.2 IEnumeration R/W Selects the feature User set to load at power up:
- Factory
- UserSet1
- UserSet2
- UserSet3
ChunkDataControl
Name Rev. Interface Access Description
ChunkModeActive 1.2 IBoolean R/W Enables the chunk data mode. ChunkModeSelector 1.2 IEnumeration R/W Selects the chunk data mode:
- OneChunkPerFrame
- OneChunkPerProfile
EventControl
Name Rev. Interface Access Description
EventSelector 1.2 IEnumeration R/W Selector for the Event to control:
- AcquisitionStart
- AcquisitionEnd
- TransferStart
- TransferEnd
- AoiTrackingOn
- AoiTrackingOff
- AoiSearchFailed
- AutoStarted
EventNotification 1.2 IEnumeration R/W Notification type to issue when selected event
occurs:
- Off
- GigEVisionEvent
FileAccessControl
Name Rev. Interface Access Description
FileSelector 1.2 IEnumeration R/W Selects the target file in the device.:
- UserSetDefault
- UserSet1
- UserSet2
- UserSet3
- UserData
- ColStatisticBits
FileOperationSelector 1.2 IEnumeration R/W Selects the target operation for the selected file in the
device. This Operation is executed when the
FileOperationExecute feature is called:
- Open
- Close
- Read
- Write
FileOperationExecute 1.2 ICommand W Executes the operation selected by
FileOperationSelector on the selected file. FileOpenMode 1.2 IEnumeration R/W Selects the access mode in which a file is opened in
the device.
- Read
- Write
Page 24
24 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Name Rev. Interface Access Description
- ReadWrite
FileAccessOffset 1.2 IInteger R/W Controls the Offset of the mapping between the
device file storage and the FileAccessBuffer. FileAccessLength 1.2 IInteger Controls the Length of the mapping between the
device file storage and the FileAccessBuffer. FileOperationStatus 1.2 IEnumeration R Represents the file operation execution status:
- Success
- Failure
FileOperationResult 1.2 IInteger R Represents the file operation result. For Read or
Write operations, the number of successfully
read/written bytes is returned. FileSize 1.2 IInteger R Represents the size of the selected file in bytes.
Page 25
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 25
The GenICam Features Configuration of C2-2040(HS)­GigE
Due to dependencies of the XML nodes of C2-2040(HS)-GigE registers, it is recommended to follow a
specific order, when configuring the GenICam features of the camera. The list shown below,
generated as a CXC file by the CX-Explorer, demonstrates an example of the correct write order:
CameraMode CenterOfGravity ProfileTriggerMode FreeRun EnableDC2 1 EnableDC1 0 TestImageSelector Off ReverseX 0 PixelFormat Mono16 ReverseY 0 DeviceTemperatureSelector Mainboard AcquisitionMode Continuous AcquisitionFrameCount 1 CameraMode CenterOfGravity ProfilesPerFrame 1000 ClearInvalidPos 0 PosValidationEn 0 AbsOffsetPos 0 TrshFirstFalling 0 NumSubPixel 6 ValidationWidthMin 0 ValidationWidthMax 1087 ValidationSumMin 0 ValidationSumMax 65535 AoiTrackingEnable 0 AoiTracking_P 0.65 AoiTracking_I 0.5 AoiTracking_D 0.12 AoiTrackingUpdateRate 100 AoiTrackingSensorWriteTimeout 10000 AoiTrackingMinNumPixel 100 AoiSearchEnable 0 AoiSearchHeight 1088 AoiSearchOffsetY 0 ColRangeStart 0 ColRangeEnd 2047 NumAois 1 AoiSelector 1 AoiHeight 1088 AoiOffsetY 0 AoiThreshold 120 FIR 0 ExposureTimeAbs 100 FramePeriod 2958 MultipleSlopeMode SingleSlope NDRMode Off GainPGA Gain2 GainADC 40
Page 26
26 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Vlow2 96 Vlow3 96 Vramp1 109 Vramp2 109 FOT 10 DummyRows 1 EnableDC0 0 EnableDC1 0 EnableDC1TrshWidth 0 EnableDC1Width 0 EnableDC1Flags 0 EnableDC2 1 EnableDC2TrshSP 0 EnableDC0Shift 0 Output1 Out1_SequencerActive Output2 Out2_IntegrationActive LaserPower 0 TurnLaserOn 0 TurnLaserOnAuto 0 Output1MinPulseWidth 0 Output2MinPulseWidth 0 Output1Delay 0 Output2Delay 0 Output1Invert 0 Output2Invert 0 SequencerMode FreeRun ProfileTriggerMode FreeRun ResetTriggerCoordZeroPos Off GevHeartbeatTimeout 3000 GevStreamChannelSelector 0 GevSCPSPacketSize 1500 GevSCPD 5000 ChunkModeActive 0 EventSelector AcquisitionStart EventNotification Off EventSelector AcquisitionEnd EventNotification Off EventSelector TransferStart EventNotification Off EventSelector TransferEnd EventNotification Off EventSelector AoiTrackingOn EventNotification Off EventSelector AoiTrackingOff EventNotification Off EventSelector AoiSearchFailed EventNotification Off EventSelector AutoStarted EventNotification Off
Page 27
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 27
The C2-2040(HS)-GigE Camera Algorithms
The C2-2040(HS)-GigE camera can be operated both in a variety of 3D profile modes and in image mode. The current operation mode can be chosen by setting the parameter Camera Controls ModeAndAlgorithmControlsCameraMode.
The frame rate can be increased in all camera modes by reducing the AOI size. In the image mode the frame rate is limited by the output rate of the camera interface (GigE). However, due to reduced data size in profile mode the frame rate is limited only by the sensor output rate. As a matter of principle the processing speed is independent of the chosen profile mode and is determined by the AOI size.
In all profile modes only intensity values higher than the AOI intensity threshold AOI_TRSH are processed in order to suppress weak signal noise. In case that no position value can be found, e.g. no intensity value is higher than threshold, the position value 0 is returned.
The Image Mode (IMG)
In the image mode the C2-2040(HS)-GigE camera is operated similar to a standard CMOS camera. In this mode grey scale data of 8 or 10 bit resolution are acquired over the camera interface. Furthermore, the sensor can be divided into multiple regions, whose data can be summarised in one output frame.
Page 28
28 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The Maximum Intensity Profile Mode (MAX)
In this mode the position of the maximum intensity of laser beam profile is calculated. The result includes the position value of the maximum (P
MAX
) as well as the maximum intensity value (I
MAX
).
AOI_TRSH
P
MA
X
I
MAX
P
R
The calculation of position value is performed with simple pixel accuracy, i.e. the evaluation of 1088 rows delivers a position range from 0 to 1087 pixels (11 bit). If there is more than one local maximum (e.g. when the intensity is saturated), the position of the first detected maximum is output. In order to avoid intensity saturation, it is recommended to activate the Multiple Slope Mode of the camera.
The detection of the maximum intensity position can be improved by enabling the smoothing mode of the FIR filter of the camera.
Page 29
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 29
The Threshold Mode (TRSH)
In this mode the position of left (PL) and right (PR) edge of the laser beam profile are detected for a given threshold value of intensity AOI_TRSH.
AOI_TRSH
P
TRSH
P
L
P
R
The position value of the laser line is approximated: P
TRSH
= (PL+PR) / 2. In order to simplify the digital representation the division over 2 is not performed and thus an integer representation with one subpixel is realised. The evaluation of 1088 rows delivers a position range from 0 to 2174 pixels (11 bit).
In threshold mode the camera can output either the left and right threshold position separately or the subpixel position (P
L+PR
) and the line width (PR-PL). Moreover, the maximum intensity value can be
optionally output.
The precision of the position calculation can be improved by enabling the smoothing mode of the FIR filter of the camera.
Page 30
30 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The Center Of Gravity Mode (COG)
In this mode the center of gravity of laser beam profile is calculated. For this purpose the following parameters are computed:
Position value of the left edge of laser beam profile for a given intensity threshold value P
L
,
Sum of intensity value I
s
= Ip,
Sum of first order moment M
s
= Ip * P .
AOI_TRSH
P
CO
G
P
L
I
S
The position value of laser line (center of gravity of beam profile) is then obtained from:
P
COG
= PL + Ms / Is .
In addition the laser line width can be delivered over the Data Channel DC1. The average intensity of the illumination profile can be calculated by normalising the sum of intensity value Is with the line width.
The precision of the COG calculation can be improved by enabling the smoothing mode of the FIR filter of the camera.
Page 31
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 31
The FIR Peak Mode (FIR PEAK)
In this mode the first derivative of the intensity Gauss curve of laser beam profile is calculated.
The position of zero-crossing of first derivative is detected and output with subpixel accuracy (up to 6
subpixels). In this case the threshold AOI_TRSH is used to detect the first rising edge of the derived
intensity signal. Valid values of AOI_TRSH range from 513 to 1023 (Mono16).
More details regarding the operation of the FIR Peak mode can be found in a separate application
note.
A
OI TRSH
Sensor row # Sensor row #
Zero-Crossing
A
OI TRSH
0
A
oiHeight 0
A
oiHeight
1023
First Derivative
of Intensit
y
Intensit
y
Page 32
32 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The FIR Filter Function
The FIR filter is a signal processing function aiming to increase the precision of laser line detection in
the sensor image. It consists of a digital Finite Impulse Response filter (FIR) and can be operated in a
smoothing or differentiating mode.
FIR in smoothing mode (in combination with MAX, TRSH and COG algorithms):
FIR in differentiating mode (FIR PEAK):
Pre-defined templates with 5, 7 or 9 coefficients let the FIR filter to be customised to the Gauss size
and shape of the application.
More details regarding the operation of the FIR filter function can be found in a separate application
note.
Raw Gauss Curve Smoothed Gauss Curve
Zero-Crossing of
First Derivative
Page 33
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 33
The High Dynamic Range 3D Feature (HDR-3D) of C2-
2040(HS)-GigE
One of the most powerful features of C2-2040(HS)-GigE is the HDR-3D (High Dynamic Range)
functionality, which allows scanning materials and surfaces with inhomogeneous reflection properties.
Using HDR-3D the dynamic range of image intensity is extended up to 90dB, thus avoiding intensity
saturation.
The HDR-3D comprises two independent sensor functions:
Multiple Slope Function
The aim of the Multiple Slope function is to avoid the saturation of pixels during sensor chip exposure.
This high optical dynamic range is achieved by using a piecewise linear response. The intensity of
illuminated pixels, which reach a certain level, is clipped, while darker pixels remain untouched. The
clipping level can be adjusted 2 times within one exposure time to achieve a maximum of 3 slopes in
the response curve. The points of the curve, where the slope changes, are called “knee points”. The
latter are defined through the setting of clipping levels for the intensity (thresholds) and time points
within the exposure time. These parameters can be adjusted using the Genicam registers
ExposureSlopeDuration and ExposureSlopeThreshold of the AcquisitionControl (XML grid visibility must
be set to “Expert”). A knee point times is defined as percentage of the overall exposure time. A
clipping level is defined as percentage of the maximum sensor intensity (saturation).
Page 34
34 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Single Slope Mode (default mode)
1
3
2
1
3
2
1
3
2
Dual Slope Mode (1 Knee Point)
1
3
2
1
3
2
1
3
2
Triple Slope Mode (2 Knee Points)
1
3
2
1
3
2
Intensit
y
1
3
2
Intensit
y
Saturation
1
3
2
Exposure Time
100%
0%
Exposure Time
Intensity
3
Saturation
1
2
Exposure Slope
Threshold 1
3
1
2
100%
0%
Exposure Slope
Duration 1
Knee point 1
3
1
2
Intensity
3
1
2
Saturation
Exposure Slope
Threshold 1
Exposure Slope
Threshold 2
100%
0%
Exposure Slope
Duration 1
Exposure Slope
Duration 2
Exposure Time
Knee point 1
Knee point 2
Page 35
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 35
Alternate Method for Configuring Multi Slope Mode (Deprecated)
The Multiple Slope mode can be also configured using Genicam registers of the SensorControl. This
alternate method is deprecated and it exists only due to compatibility reasons with older firmware
revisions:
Single Slope Mode (default mode)
1
3
2
1
3
2
1
3
2
Dual Slope Mode
1
3
2
1
3
2
1
3
2
Triple Slope Mode
1
3
2
1
3
2
Integration
time
Intensity
Saturation
1
3
2
Integration
time
Intensity
Saturation
1
3
2
Integration Integration
Time
Intensity
DS
Time
3
Saturation
1
2
DS Slope
Time
Vlow2
3
1
2
64
127
Integration
Time
3
1
2
Integration
Intensity
3
1
2
DS
Time
DS Slope
Time
TS
Time
Slope
Time
Vlow3
Vlow2
Saturation
64
127
The MultipleSlope parameters Vlow2 and Vlow3 can be adjusted in the range of 127 (zero intensity) down to 64 (saturation).
Page 36
36 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Application of Multiple Slope function on the image of a laser line projected on a surface with non-
homogeneous reflectivity (black & white chessboard pattern)
Single Slope Dual Slope Triple Slope
0 5 10 15 20 25 30 35 40
100
200
300
400
500
600
700
800
900
1000
1100
Sensor row #
0 5 10 15 20 25 30 35 40
100
200
300
400
500
600
700
800
900
1000
1100
Sensor row #
Sensor row #
0 5 10 15 20 25 30 35 40
100
200
300
400
500
600
700
800
900
1000
1100
Page 37
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 37
Multi-Frame Readout Mode (NDR)
With the NDR mode it is possible to readout of up to 4 images at
different exposure times. It allows the combination of profile data
from different integration levels and it ensures accurate profile
data even for difficult surfaces with strong changes in reflectance.
The following timing diagram shows the function of NDR with 2
frames, when subsequent sensor images are acquired. The
exposure times for NDR frame 1 and 2 are depicted with It1 and
It2 respectively. Please note that the readout of the second frame R2 cannot begin unless the first
frame R1 has been readout. The same applies also between two subsequent sensor images, i.e. the
first NDR frame of sensor image 2 cannot be readout unless the last NDR frame of sensor image 1
has been readout.
Trigger Sensor
Image 1
Readout
Frame 1 of
Sensor Image 1
Readout
Frame 2 of
Sensor Image 1
Trigger Sensor
Image 2
Readout
Frame 1 of
Sensor Image 2
Readout
Frame 2 of
Sensor Image 2
Page 38
38 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The Data Output Format of C2-2040(HS)-GigE
The image and 3D data output is performed by selecting the data channel DC0-DC2 (node Camera ControlsDataOutput). Depending on the
algorithm the data can be acquired by enabling the corresponding output Data Channel (DC). Every DC is saved in a new image row. The bit depth of
output data depends on the selected algorithm. In 3D mode the camera outputs data with 16 bit. In Image mode the camera can output 8 or 16 bit
data. When in 8 bit Image mode, the DC0 delivers the 8 most significant bits of the 10 bit intensity data.
The Data Channel Assignment DC0, DC1 and DC2
Camera Mode FIR FIRMode DC0 DC1 DC2
Image False - Sensor intensity Not used Not used
True
Derivative
First derivative of sensor intensity Not used Not used
True
Smoothing
Smoothed sensor intensity Not used Not used
MaximumIntensity
False - Maximum intensity of Gauss Position of rising edge of Gauss (PosL) Position of maximum intensity of Gauss
(PosM)
True
Smoothing
Maximum intensity of Gauss detected in smoothed sensor image
Position of rising edge of Gauss (PosL)
detected in smoothed sensor image
Position of maximum intensity of Gauss (PosM) detected in smoothed sensor image
Threshold
False - Maximum intensity of Gauss - Position of rising edge of Gauss
(PosL)
or
- Gauss width (PosR-PosL)
- Position of falling edge of Gauss (PosR)
or
- Position of Gauss with 1/2 pixel resolution (PosL+PosR)
True
Smoothing
Maximum intensity of Gauss detected in smoothed sensor image
- Position of rising edge of Gauss (PosL)
or
- Gauss width (PosR-PosL) detected in smoothed sensor image
- Position of falling edge of Gauss (PosR)
or
- Position of Gauss with 1/2 pixel resolution (PosL+PosR) detected in smoothed sensor image
Page 39
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 39
Camera Mode FIR FIRMode DC0 DC1 DC2
CenterOfGravity
False -
Sum of intensity values of Gauss I
s
- Position of rising edge of Gauss (PosL)
or
- Gauss width (PosR-PosL)
Position of center of gravity of Gauss with 1/(2
N
) pixel resolution, where N=number
of subpixel bits (0-6)
True
Smoothing
Sum of intensity values of Gauss I
s
in
smoothed sensor image
- Position of rising edge of Gauss line (PosL)
or
- Gauss width (PosR-PosL)
Position of center of gravity of Gauss in smoothed sensor image with 1/(2
N
) pixel resolution, where N=number of subpixel bits (0-6)
FIRPeak True
Derivative
Zero-crossing slope (Absolute value) - Index of next sensor row to the left of
zero-crossing
or
- maximum value of intensity first derivative
Position of Gauss peak with 1/(2
N
) pixel resolution, where N=number of subpixel bits (0-6)
Alg. Flags – Output over DC1 (16 bit mode):
Bit14 = LEFT_TRSH_FOUND_FLAG: indicates that the left edge of laser line was found
Bit15 = RIGHT_TRSH_FOUND_FLAG: indicates that the right edge of laser line was found
Page 40
40 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The Output Frame Structure
Depending on configuration, the C2-2040(HS)-GigE writes data to the output frame according to following scheme:
1) NDR mode disabled (NDRMode=”Off”)
for (profile_idx=1; profile_idx <=ProfilesPerFrame; profile_idx ++) {
for(AOI_idx=1; AOI_idx<=NumAOIs; AOI_idx++) {
if(EnableDC0==true)
write_data_of_DC0 (AOI_idx);
if(EnableDC1==true)
write_data_of_DC1 (AOI_idx);
if(EnableDC2==true)
write_data_of_DC2 (AOI_idx); } }
2) NDR mode enabled (NDRMode=”On”)
for (profile_idx=1; profile_idx <=ProfilesPerFrame/2; profile_idx ++) {
for(AOI_idx=1; AOI_idx<=NumAOIs; AOI_idx++) {
for(NDR_idx=1: NDR_idx <= NumberOfNDRFrames; NDR_idx ++) {
if(EnableDC0==true)
write_data_of_DC0 (AOI_idx,NDR_idx);
if(EnableDC1==true)
write_data_of_DC1 (AOI_idx,NDR_idx);
if(EnableDC2==true)
write_data_of_DC2 (AOI_idx,NDR_idx); } } }
Index Definition
Index # Range Description
Profile_idx 1-16384 Index of Profile
AOI_idx 1-4 Index of sensor AOI
NDR_idx 1-4 Index of NDR frame
Page 41
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 41
Examples of Output Frame Structure
1) Configuration with single AOI, single DC, disabled NDR mode and output of 6 profiles resulting to a frame height of 6 rows:
ProfilesPerFrame=10
NumAOIs=1
EmableDC0= false,
EnableDC1=false
EnableDC2=true
NDRMode=”Off”
Row # Description Profile #
1 Data of DC2 readout from AOI1 1
2 Data of DC2 readout from AOI1 2
3 Data of DC2 readout from AOI1 3
4 Data of DC2 readout from AOI1 4
5 Data of DC2 readout from AOI1 5
6 Data of DC2 readout from AOI1 6
Page 42
42 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
2) Configuration with two AOIs, two DCs, disabled NDR mode and output of 5 profiles resulting to frame height of 20 rows:
ProfilesPerFrame=5
NumAOIs=2
EmableDC0= true,
EnableDC1=false
EnableDC2=true
NDRMode=”Off”
Row # Description Profile #
1 Data of DC0 readout from AOI1 1
2 Data of DC2 readout from AOI1
3 Data of DC0 readout from AOI2
4 Data of DC2 readout from AOI2
5 Data of DC0 readout from AOI1 2
6 Data of DC2 readout from AOI1
7 Data of DC0 readout from AOI2
8 Data of DC2 readout from AOI2
9 Data of DC0 readout from AOI1 3
10 Data of DC2 readout from AOI1
11 Data of DC0 readout from AOI2
12 Data of DC2 readout from AOI2
13 Data of DC0 readout from AOI1 4
14 Data of DC2 readout from AOI1
15 Data of DC0 readout from AOI2
16 Data of DC2 readout from AOI2
17 Data of DC0 readout from AOI1 5
18 Data of DC2 readout from AOI1
19 Data of DC0 readout from AOI2
20 Data of DC2 readout from AOI2
Page 43
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 43
3) Configuration with single AOI, single DC, NDR mode with two NDR frames and output of 3 profiles resulting to a frame height of 6 rows:
ProfilesPerFrame=6
NumAOIs=1
EmableDC0= false,
EnableDC1=false
EnableDC2=true
NDRMode=”On”
NumberOfNDRFrames=2
Row # Description Profile #
1 Data of DC2 extracted from NDR1, readout from AOI1 1
2 Data of DC2 extracted from NDR2, readout from AOI1
3 Data of DC2 extracted from NDR1, readout from AOI1 2
4 Data of DC2 extracted from NDR2, readout from AOI1
5 Data of DC2 extracted from NDR1, readout from AOI1 3
6 Data of DC2 extracted from NDR2, readout from AOI1
Page 44
44 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Advanced AOI Functions
The C2 camera features an area CMOS sensor, whose frame rate depends on the number of pixels to
readout. By defining a sensor Area of Interest (AOI) the frame rate and hence the profile speed will be
significantly increased due to the smaller number of pixels to readout.
In some cases the AOI position may not be constant and it should follow the image of laser line on the
camera sensor. The C2-2040(HS)-GigE features functions for performing an automatic AOI
positioning (AOI-Search) as well as line tracking (AOI-Tracking). A detailed description of these
functions can be found in a separate application note.
Page 45
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 45
C2-2040(HS)-GigE Camera Triggering
Description of Profile Trigger Modes
No. Profile Trigger Mode (PTM)
0 Free-run (PTM0)
1 Camera input 1 (PTM1)
t
Profile
Acquisition 1
Profile
Acquisition 2
Profile
Acquisition 3
IN1
Profile
Acquisition 4
2 Camera input 2 (PTM2)
t
Profile
Acquisition 1
Profile
Acquisition 2
Profile
Acquisition 3
IN2
Profile
Acquisition 4
3 Encoder/Resolver Interface (PTM3)
Profile
Acquisition 1
A
B
RS422
Example: Trigger afte r number of steps = 4
Counter
Internal Trigger
Profile
Acquisition 2
Profile
Acquisition 3
t
ENC_A
ENC_B
Page 46
46 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Description of Modes for Triggering of Sequencer/Frame and Profile Acquisition
No. Sequencer/Frame Trigger Mode Profile Trigger Mode (PTM)
0 Free-run PTM0 (free-run)
PTM1(IN1)
PTM2 (IN2)
1 Start/stop over camera input 1 / 2
Continuous frame acquisition is started with the rising edge of camera input 1 (IN1) and stopped with rising edge of camera input 2 (IN2)
trigger start of sequencer
(frame trigger)
t
trigger stop of sequencer
When “stop” occurs, the frame is not transmitted immediately over the GigE interface but the camera continues to acquire profile data, until the predefined frame height is reached.
PTM0 (free-run)
PTM3 (RS422)
2 Start over camera input 1
Single frame acquisition is triggered over the rising edge of camera input 1 (IN1)
trigger start of sequence r
(frame trigger)
t
IN1
PTM0 (free-run)
PTM2 (IN2)
PTM3 (RS422)
Page 47
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 47
No. Sequencer/Frame Trigger Mode Profile Trigger Mode (PTM)
3 Gate over camera input 1
Continuous frame acquisition is performed as long as the camera input 1 is on high state
t
stop trigger of sequencer
IN1
start trigger of sequenc er
Gate Function
PTM0 (free-run)
PTM2 (IN2)
PTM3 (RS422)
4 Start/stop with instant transmission over camera input 1 / 2
Continuous frame acquisition is started with rising edge of camera input 1 (IN1) and stopped with rising edge of camera input 2 (IN2)
trigger start of sequencer
(frame trigger)
t
trigger stop of sequencer
When “stop” occurs, the frame is transmitted immediately over the GigE interface. Using the Chunk Data mode of C2 camera, it is possible to determine how many rows of the frame contain valid data (see ChunkImageInfo for details).
PTM0 (free-run)
PTM3 (RS422)
5 AutoStart (no external signal is required) PTM0 (free-run)
PTM1(IN1)
PTM2 (IN2)
PTM3 (RS422)
Remarks:
The above table (except AutoStart) applies also to acquisition in image mode. In this case the camera delivers a gray scale sensor image for every profile trigger.
A detailed description of the AutoStart function can be found in a separate application note.
Page 48
48 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The Chunk Data Mode of C2-2040(HS)-GigE
General Description
The C2-2040(HS)-GigE features a Chunk Data mode for providing additional information to the
acquired image data. The implementation of XML nodes is performed according to SFNC 1.4:
Category ChunkDataControl
ChunkModeActive
ChunkModeSelector (OneChunkPerFrame, OneChunkPerProfile)
The ChunkData generated by the camera have the following format:
ChunkImage
1…N x ChunkAcqInfo
ChunkImageInfo
Depending on camera mode (image or 3D) the ChunkData block („ChunkAcqInfo“) can be sent as
follows:
in image mode, the camera can send only one ChunkAcqInfo block per image frame.
in 3D mode, the camera can send one ChunkAcqInfo block either per 3D frame
(“OneChunkPerFrame”) or per 3D profile (“OneChunkPerProfile”).
The „ChunkImageInfo“ is the last ChunkData sent by the camera and contains following data:
number of valid rows in ChunkImage
number of valid ChunkAcqInfo blocks
flags identifying the current frame as „Start“ or „Stop“
The ChunkAcqInfo block consists of totally 32 bytes containing following data
64 bit timestamp
32 bit frame counter
32 bit trigger coordinate
Trigger status
I/O Status
reserved
The data of timestamp, frame counter, trigger coordinate, trigger status and I/O status are assigned at
the start of every image integration.
When ChunkMode is disabled, the camera uses the “regular“ GEV image protocol, in which the
optional transfer of frames with variable height and payload is supported.
Page 49
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 49
Furthermore, when ChunkMode is enabled, the camera sends the full payload, even if the
ChunkImage or ChunkAqInfo blocks contain partially valid data. The number of valid ChunkImage
rows and ChunkAqInfo blocks can be read from ChunkImageInfo.
For example, when in Start/Stop mode with instant frame transmission, the camera stops the frame
acquisition as soon as the stop trigger occurs and transfers the complete contents of internal image
buffer. Using the ChunkImageInfo data block, it is possible to detect how many image rows and
ChunkAqInfo blocks are valid in the payload buffer.
The tag of ChunkData has big endian byte order. The data of ChunkData has little endian byte order.
An endian converter for ChunkData is not supported.
Payload Layout in Chunk Data Mode
Chunk Image Data
GV_ChunkDescriptorData for Image Data
N x GV_ChunkAcqInfo
GV_ChunkDescriptorData for ChunkAcqInfo
GV_ChunkImageInfo
GV_ChunkDescriptorData for ChunkImageInfo
Page 50
50 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
XML Descriptors and Id’s
ChunkImageInfo
<Port Name="FrameInfoPort"> <ChunkID>11119999</ChunkID> </Port>
ChunkAcqInfo
<Port Name="CameraChunkPort"> <ChunkID>66669999</ChunkID> </Port>
ChunkImage
<Port Name="ImageInfoPort"> <ChunkID>A5A5A5A5</ChunkID> </Port>
Page 51
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 51
Chunk Data Structure
#pragma pack(push) #pragma pack(1)
#define CHUNKACQINFO_TRIGGERSTATUS_BIT_TRIGGER_OVERRUN 0x01 #define CHUNKACQINFO_TRIGGERSTATUS_BIT_RESOLVER_CNT_UP 0x02 #define CHUNKACQINFO_TRIGGERSTATUS_BIT_IN0 0x10 #define CHUNKACQINFO_TRIGGERSTATUS_BIT_IN1 0x20 #define CHUNKACQINFO_TRIGGERSTATUS_BIT_OUT0 0x40 #define CHUNKACQINFO_TRIGGERSTATUS_BIT_OUT1 0x80
typedef struct _GV_ChunkAcqInfo
{
unsigned int timeStamp64L; // 0..3 unsigned int timeStamp64H; // 4..7 unsigned int frameCnt; // 8..11 signed int triggerCoord; // 12..15 unsigned char triggerStatus; // 16 unsigned short DAC; // 17..18 unsigned short ADC; // 19..20 unsigned char INT_idx; // 21 unsigned char AOI_idx; // 22 unsigned short AOI_ys; // 23..24 unsigned short AOI_dy; // 25..26 unsigned short AOI_xs; // 27..28 unsigned short AOI_trsh; // 29..30 unsigned char AOI_alg; // 31
} GV_ChunkAcqInfo;
#define CHUNKIMAGEINFO_FLAG_BIT_START_FRAME 0x01 #define CHUNKIMAGEINFO_FLAG_BIT_STOP_FRAME 0x02
#define CHUNKIMAGEINFO_FLAG_BIT_BUFFER_OVERRUN 0x04
typedef struct _GV_ChunkImageInfo
{ unsigned int mSizeYReal; unsigned int numChunkAcqInfo; unsigned int flag; } GV_ChunkImageInfo;
typedef struct _GV_ChunkDescriptor
{ unsigned int descriptor; unsigned int length; } GV_ChunkDescriptorData;
#pragma pack(pop)
Page 52
52 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The GigE-Vision Events of C2-2040(HS)-GigE
The C2-2040(HS)-GigE supports a number of events that can be monitored by a software application
by means of a callback function. Events provide real time notification on various stages of the
acquisition sequence and data transfer.
Event Name Event ID Description
AcquisitionStart 36882 Frame Acquisition is started
AcquisitionEnd 36883 Frame Acquisition is terminated
TransferStart 36884 Frame transfer is started from the camera
TransferEnd 36885 Frame transfer is terminated
AoiTrackingOn 36886 The AOI tracking process is started and the laser line image is valid for
AOI alignment
AoiTrackingOff 36887 The AOI tracking process is stopped and the AOI position is not
updated anymore
AoiSearchFailed 36888 AOI-Search failed to detect the laser line
AutoStarted 36889 Frame Acquisition is initiated through AutoStart
Page 53
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 53
C2-2040(HS)-GigE Camera Interface
The GigE Interface
M12 GigE Female Connector Pin Assignment
Pin No. GigE Signal
Name
1 BI_DC-
2 BI_DD+
3 BI_DD-
4 BI_DA-
5 BI_DB+
6 BI_DA+
7 BI_DC+
8 BI_DB-
Shield Shield
Page 54
54 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
M12 I/O Male Connector Pin Assignment
The I/O & Power Interface
Pin Nr. Signal Name Description
1 SCL Clock line of I²C bus interface
2 DO_0 (OUT1) Digital Output 1 (TTL)
3 DI_4 (Z) Encoder input Z index (TTL)
4 DI_3 (B) Encoder input B track (TTL)
5 DI_2 (A) Encoder input A track (TTL)
6 SDA Data line of I²C bus interface
7 AO (LASER_AOUT) Output for analog modulation of illumination device (0 – 5 V DC)
8 VCC_EXT camera supply voltage (10 – 24 V DC)
9 GND_EXT main camera ground
10 RS232_RX RS-232 compatible input
11 RS232_TX RS-232 compatible output
12 DO_1 (OUT2) Digital Output 2 (TTL)
13 DI_0 (IN1) Digital Input 1 (TTL)
14 DI_1 (IN2) Digital Input 2 (TTL)
15 AIN Input for monitoring specific functions of illumination device (0 – 5 V DC)
16 DO_2 (LASER_DOUT) Output for digital modulation of illumination device (TTL)
17 GND Reference ground for IO and Laser signals
Shield SHIELD is connected to camera case
Page 55
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 55
Description of LEDs
LED Description
1 (PWR) Green On= Power On and camera start up completed
Off = Power Off or camera start up failed
2 (USR) After Power On:
Off = no network cable connected
Green On = network connected
After Network connected:
Green On = CCP status connected
Off = CCP status disconnected
Red On= no network found, no network cable connected
3 (LSR) Red On = Laser is On
Off = Laser is Off
4 (ACT) Green blink = Indication of network activity
5 (LNK) Green On = Linkspeed 1 Gbit
Amber On = Linkspeed 100 Mbit
Off = Linkspeed 10 Mbit or wait for end of autonegotiation
Page 56
56 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Integrated RS232 serial interface and Camera Boot Log
During boot procedure, the camera outputs a log via the integrated RS232 serial interface. The external C2- I/O-Panel provides a D-sub 9-pin male socket for monitoring the boot log. A null­modem cable (crosslinked) must be used to connect the C2- I/O-Panel to a host PC. The parameters of the serial communication are listed as follows:
Baudrate 115200
Data bits 8
Parity None
Stopbits 1
Handshake None
Sample camera boot log
**************************************
Bootloader(build May 31 2013, 16:24:31)
Executing program starting at address: 0x50000000
**************************************
00004682 ms: Camera start.
-------------------------------------------
Start HardwareInit.
Reset sensor to defaults.
Setup sensor and clocking.
Wait for PLL locked. Locked.
Sensor height is 1088.
Start stream synchronization.
Synchronization done(2).
-------------------------------------------
CMOSIS AN2.2 fix.
Ready to start GEV.
00004823 ms: Start system monitoring.
Stack info: Current Stack position changed to 0x00001F98.
00004831 ms: Load Bootstrap registers.
00004835 ms: **************************************
00004839 ms: Camera type: 2042
00004842 ms: Sensor height : 1088
00004845 ms: Model: C2_2040_GigE
00004848 ms: MAC: 0-50-C2-8E-D4-7
Page 57
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 57
00004851 ms: Serial Number: 20502103
00004854 ms: Device Version: 3.0.0
00004857 ms: Firmware Version: 1.2.3
00004861 ms: Application build: Development 1.3.0.3903 - Wed Feb 6 10:55:51 2013
00004868 ms: LwIP build: Patched LwIp 1.30 May 31 2013, 16:23:32
00004874 ms: Installed Modules:
00004877 ms: File: C2_2040_GigE_1.0.4.zip, Rev.: 1000400, Device: 1, Length: 21979
00004884 ms: File: bitstream.bin, Rev.: 1020300, Device: 1, Length: 2453092
00004891 ms: File: bitstreamfb.bin, Rev.: 1020300, Device: 1, Length: 2453092
00004897 ms: File: CMV2k4k.srec, Rev.: 1020300, Device: 1, Length: 726124
00004904 ms: File: CMV2k4k.srec, Rev.: 1020300, Device: 1, Length: 726124
00004910 ms: GEV Version 1.1
00004913 ms: XML-URL1: Local:C2_2040_GigE_1.0.4.zip;8C400904;55DB
00004919 ms: XML-URL2: http://www.automationtechnology.de/genicam/C2_2040_GigE_1.0.4.zip
00004927 ms: IP config mode:
00004929 ms: Persistent IP
00004932 ms: IP: 169.254.64.2
00004934 ms: Netmask: 255.255.0.0
00004937 ms: Gateway: 0.0.0.0
00004940 ms: LLA always ON.
00004942 ms: **************************************
auto-negotiated link speed: 1000
00004974 ms: Wait for end of IP configuration...
00004977 ms: Start IP configuration with persistent IP
00004981 ms: Enable hw InterPacketDelay.
00004985 ms: Network interface is up, speed: 1000 Mbps
00004990 ms: IP: 169.254. 64. 2
00004993 ms: Netmask: 255.255. 0. 0
00004997 ms: Gateway: 0. 0. 0. 0
00005000 ms: Assigned from static address
Page 58
58 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
The External C2-I/O-Panel (Rev. 2.0)
The C2-I/O-Panel Rev. 2.0 (#202 201 020) provides a user friendly way to connect the power,
I/O and laser control signals of the C2 camera. It features the following functions:
- integrated receiver for use with differential RS422/HTL as well as single-ended encoder
signals
- direct I²C interface to control laser or other external devices
- isolation of I/O, encoder and laser control signals
- adjustable digital input voltage level (5V/24V)
- digital outputs support master/slave camera operation
- reverse polarity protection
Page 59
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 59
Electrical Specifications of C2-I/O-Panel
Inputs
TTL
VIL, logic “0” Voltage < 1.5 V
VIH, logic “1” Voltage > 3.5 V
Max. current 2 mA
HV
VIL, logic “0” Voltage < 7.5 V
VIH, logic “1” Voltage > 17.0 V
Outputs
TTL
VOL_TTL, logic “0” Voltage < 0.4 V
VOH_TTL, logic “1” Voltage > 3.3 V (driving capacity: 4 mA)
HV
VCC_ext: 9 V to 45 V (absolute max. ratings)
VOL_HV, logic “0” Voltage < 3 V (no load)
VOH_HV, logic “1” Voltage = VCC_ext – 0.1 V (driving capacity 1 A)
Page 60
60 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Clamp No. Signal Name Description
J200/1 POWER_EXT Camera supply voltage (10-24V DC)
J200/2 GND_EXT Camera ground
J201/1 SHIELD Camera shield
J201/2 SHIELD Camera shield
J201/3 GND Supply chain of camera ground
J201/4 VCC Supply chain of camera voltage
J300/1 GND encoder ground
J300/2 HZ- HTL encoder index track Z-
J300/3 HZ+ HTL encoder index track Z+ / single-ended index track Z
J300/4 HB- HTL encoder track B-
J300/5 HB+ HTL encoder track B+ / single-ended track B
J300/6 HA- HTL encoder track A-
J300/7 HA+ HTL encoder track A+ / single-ended track A
J300/8 SHIELD Camera shield
J200/2
J201/1
J500/1
J200/1
J400/1
J400/8
J300/1
J300/8
J301/1
J301/8
J201/4
J500/10
Page 61
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 61
Clamp No. Signal Name Description
J301/1 GND encoder ground
J301/2 Z- RS422 encoder index track Z-
J301/3 Z+ RS422 encoder index track Z+ / single-ended index track Z
J301/4 B- RS422 encoder track B-
J301/5 B+ RS422 encoder track B+ / single-ended track B
J301/6 A- RS422 encoder track A-
J301/7 A+ RS422 encoder track A+ / single-ended track A
J301/8 SHIELD Camera shield
J400/1 GND_IO I/O ground
J400/2 PWR_IO Power supply voltage of camera isolated outputs (9V-24V DC)
J400/3 HV-OUT1 Isolated output #1 (9V-24V)
J400/4 HV-OUT2 Isolated output #2 (9V-24V)
J400/5 OUT1 Isolated output #1 (5V)
J400/6 OUT2 Isolated output #2 (5V)
J400/7 IN1 Isolated input #1 (5V/24V)
J400/8 IN2 Isolated input #2 (5V/24V)
J500/1 VCC_L Input power supply voltage for laser control
J500/2 VCC_L Input power supply voltage for laser control
J500/3 GND_L Input ground for laser control
J500/4 GND_L Input ground for laser control
J500/5 DO Output for digital modulation of laser (TTL signal)
J500/6 AO Output for analog modulation of laser (0-5V DC)
J500/7 AI Analog Input for monitoring specific functions of laser (0-5V DC)
J500/8 SDA Data line of I²C bus interface
J500/9 SCL Clock line of I²C bus interface
J500/10 SHIELD Camera shield
Page 62
62 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
- the isolated inputs of the C2-I/O panel Rev. 2.0 can be operated both with 5V and 24V
DC signals. The voltage level can be set over the DIP switch S400:
- the panel features a 1A fuse for camera protection
- the type of encoder signal (differential or single-ended) can be set over the DIP switch
S300:
S400 IN1 IN2
ON
5V 5V
OFF
24V 24V
Track A
Track B
Track Z
n.c.
IN1
IN2
ON
Differential
Single-Ended
OFF
Page 63
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 63
- In addition when using single-ended encoders of HTL type the jumpers HTLs_A, HTLs_B
and HTLs_Z must be set:
- The isolated digital outputs of C2-I/O-panel can be operated either with TTL level or with
higher voltage (9 – 24V DC). In the latter case an external voltage supply must be
connected to clamp J400/2 (PWR_IO) and J400/1(GND_IO) or the main voltage supply
of the camera can be used by setting the jumpers “GND->GND_IO” and “VCC-
>VCC_IO”:
- The jumper “GND->SHIELD” may be set in order to let the camera ground be connected
to the shield
GND->GND_IO
VCC->VCC_IO
GND->SHIELD
HTLs_A
HTLs_B
HTLs_Z
Page 64
64 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Use of power supply chain with interlock function to supply a laser with power
¾ Suitable for lasers capable of operating with camera supply voltage
Interlock
J201/4
SUPPLY VCC
J201/3
SUPPLY GND
J500/1
VCC_LASER
J500/3
GND_LASER
J500/2
VCC_LASER
J500/4
GND_LASER
Connect to power supply input of laser
Page 65
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 65
Schematic of isolated digital I/Os located on the C2-I/O-Panel
Page 66
66 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
78mm
90mm
Mount for DIN rail assembly
Weight: 110 g
57mm
Page 67
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 67
Availability of I/O and Laser Control Signals
depending on the revision of C2-I/O-Panel and C2 camera
(Compatibility Overview)
C2-I/O-Panel Rev.< 2.0 C2-I/O-Panel Rev.≥ 2.0
C2-I/O-Panel
Signal
Camera Device
Version 3.0.0/3.0.1
Camera Device Version 3.0.2
Camera Device
Version 3.0.0/3.0.1
Camera Device Version 3.0.2
HV-OUT1 Not available Not available Available Available HV-OUT2 Not available Not available Available Available
OUT1 Available Available Available Available OUT2 Available Available Available Available
IN1 Available Available Available Available
IN2 Available Available Available Available LASER_DO Available Available Available Available LASER_AO Available Available Not available Available
LASER_AI Available Available Not available Available
SDA (I2C) Not available Not available Not available Available
SCL (I2C) Not available Not available Not available Available
Page 68
Page 69
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 69
The C2 cables
Cables for power, I/O and laser control signals
PN # Description
202 201 070
C2 cable for power, I/O and laser control, custom length and connector configuration IP64 (straight/angled), shielded
202 201 071
C2 cable for power, I/O and laser control, straight M12 female connector (IP64) to straight M12 male connector (IP64), shielded, length 3m, standard
202 201 072
C2 cable for power, I/O and laser control, straight M12 female connector (IP64) to straight M12 male connector (IP64), shielded, length 5m, standard
202 201 073
C2 cable for power, I/O and laser control, straight M12 female connector (IP64) to straight M12 male connector (IP64), shielded, length 10m, standard
202 201 074
C2 pigtail cable for power, I/O and laser control, straight M12 female connector (IP64) on camera plug, shielded, length 3m, standard
202 201 075
C2 pigtail cable for power, I/O and laser control, straight M12 female connector (IP64) on camera plug, shielded, length 5m, standard
202 201 076
C2 pigtail cable for power, I/O and laser control, straight M12 female connector (IP64) on camera plug, shielded, length 10m, standard
Page 70
70 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Wire assignment of C2 pigtail cable
Valid for cables with PN# 202 201 074, 202 201 075 and 202 201 076
Pin/Wire No.
Wire Colour Signal Name Description
1 Brown SCL Clock line of I²C bus interface
2 Blue DO_0 (OUT1) Digital Output 1 (TTL)
3 White DI_4 (Z) Encoder input Z index (TTL)
4 Green DI_3 (B) Encoder input B track (TTL)
5 Pink DI_2 (A) Encoder input A track (TTL)
6 Yellow SDA Data line of I²C bus interface
7
Black AO
(LASER_AOUT) Output for analog modulation of illumination device (0 – 5 V DC)
8 Gray VCC_EXT camera supply voltage (10 – 24 V DC)
9 Red GND_EXT main camera ground
10 Violette RS232_RX RS-232 compatible input
11 Gray/Pink RS232_TX RS-232 compatible output
12 Red/Blue DO_1 (OUT2) Digital Output 2 (TTL)
13 White/Green DI_0 (IN1) Digital Input 1 (TTL)
14 Brown /Green DI_1 (IN2) Digital Input 2 (TTL)
15
White/Yellow
AIN
Input for monitoring specific functions of illumination device (0 – 5 V DC)
16
Yellow/ Brown DO_2
(LASER_DOUT) Output for digital modulation of illumination device (TTL)
17 White/Gray GND Reference ground for IO and Laser signals
(Note when using the C2 pigtail cable: I/O signals are not isolated. The maximum voltage level is
limited to 5 V. The outputs are not capable of load driving)
IMPORTANT NOTE: When using C2 power & I/O cables (standard or pigtail) with length longer than
20 m it is recommended to supply the camera with a voltage of 24 V
Page 71
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 71
Cables for GigE interface
PN # Description
202 201 040
C2 & C5 GigE cable with custom length and connector configuration (straight/angled)
202 201 041
C2 & C5 GigE cable, straight M12 male connector (IP67) on camera plug to RJ45 (IP20), length 3m, standard
202 201 042
C2 & C5 GigE cable, straight M12 male connector (IP67) on camera plug to RJ45 (IP20), length 5m, standard
202 201 043
C2 & C5 GigE cable, straight M12 male connector (IP67) on camera plug to RJ45 (IP20), length 10m, standard
GigE Signal Name
Pin No.
M12
Pin No.
RJ45
BI_DC- 1 5
BI_DD+ 2 7
BI_DD- 3 8
BI_DA- 4 2
BI_DB+ 5 3
BI_DA+ 6 1
BI_DC+ 7 4
BI_DB- 8 6
Shield Shield Shield
M12
Male Plu
g
18
RJ45
Male Plu
g
Page 72
72 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
*** Discontinued ***
Cables for power, I/O and laser control signals (***discontinued***)
PN # Description
202 201 030
C2 cable for power, I/O and laser control, custom length and connector configuration (straight/angled), unshielded
202 201 031
C2 cable for power, I/O and laser control, straight M12 female connector (IP67) to straight M12 male connector (IP67), unshielded, length 3m
202 201 032
C2 cable for power, I/O and laser control, straight M12 female connector (IP67) to straight M12 male connector (IP67), unshielded, length 5m
202 201 036
C2 cable for power, I/O and laser control, straight M12 female connector (IP67) to st
r
aight
M12 male connector (IP67), unshielded, length 10m
202 201 033
C2 pigtail cable for power, I/O and laser control, straight M12 female connector (IP67) on camera plug, unshielded, length 3m
202 201 034
C2 pigtail cable for power, I/O and laser control, straight M12 female connector (IP67) on camera plug, unshielded, length 5m
202 201 035
C2 pigtail cable for power, I/O and laser control, straight M12 female connector (IP67) on camera plug, unshielded, length 10m
Wire assignment of C2 pigtail cable
Valid for cables with PN# 202 201 033, 202 201 034 and 202 201 035(***discontinued***)
Pin/Wire No.
Wire Colour Signal Name Description
1 Brown SCL Clock line of I²C bus interface
2 Blue DO_0 (OUT1) Digital Output 1 (TTL)
3 White DI_4 (Z) Encoder input Z index (TTL)
4 Green DI_3 (B) Encoder input B track (TTL)
5 Pink DI_2 (A) Encoder input A track (TTL)
6 Yellow SDA Data line of I²C bus interface
7
Black AO
(LASER_AOUT) Output for analog modulation of illumination device (0 – 5 V DC)
8 Gray VCC_EXT camera supply voltage (10 – 24 V DC)
9 Red GND_EXT main camera ground
10 Violette RS232_RX RS-232 compatible input
11 Gray/Pink RS232_TX RS-232 compatible output
12 Red/Blue DO_1 (OUT2) Digital Output 2 (TTL)
13 White/Green DI_0 (IN1) Digital Input 1 (TTL)
14 Brown /Green DI_1 (IN2) Digital Input 2 (TTL)
15
White/Yellow
AIN
Input for monitoring specific functions of illumination device (0 – 5 V DC)
16
Yellow/ Brown DO_2
(LASER_DOUT) Output for digital modulation of illumination device (TTL)
Page 73
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 73
Pin/Wire No.
Wire Colour Signal Name Description
17 White/Gray GND Reference ground for IO and Laser signals
(Note when using the C2 pigtail cable: I/O signals are not isolated. The maximum voltage level is
limited to 5 V. The outputs are not capable of load driving)
IMPORTANT NOTE: When using C2 power & I/O cables (standard or pigtail) with length longer than
20 m it is recommended to supply the camera with a voltage of 24 V
Page 74
74 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Service Information
Document Revision
Rev. Nr. Date Modification
1.0 06.03.2013 First Draft
1.1 21.06.2013 Corrections
1.2 28.11.2013 Minor corrections, 5V digital input limitation
1.3 06.01.2014 Correction GigE Pin out
1.4 28.02.2014 Minor corrections, added Vlow2 and Vlow3
1.5 08.04.2014 Minor corrections
1.6 05.06.2014 Minor corrections, added C2-I/O-Panel Rev. 2.0
1.7 11.08.2014 Minor corrections, added information regarding C2-I/O-Panel Rev. 2.0
1.8 20.02.2015 Minor corrections, added new HDR Genicam registers, shielded cables
Page 75
C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 75
Product Information and Updates
Updates
www.AutomationTechnology.de
Service and Support
service@AutomationTechnology.de
In order to process your support inquiries immediately, we always need the serial number of the camera, a dump of configuration EEPROMs, a snapshot and a precise problem description.
Product Inquiries and Price Quotations
info@AutomationTechnology.de
Page 76
76 C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8
Warranty Conditions
Only the manufacturer can recognize the conditions of warranty. Should other parties than the manufacturer be responsible for the malfunctioning, we consider the right of warranty as void. This is the case if the unit is modified electrically or mechanically, particularly in its wiring/soldering, or if the unit is used for purposes not intended by the manufacturer, or if the unit's external wiring is faulty, or if the unit is used under conditions outside those stated in its manual.
Loading...