PDF

Transcription

PDF
allPIXA pro camera | Manual
CD40127 Version 1.0
Table of Contents
1
General information
1.1 About Chromasens
1.1.1 Contact information
1.1.2 Support
1.2 Firmware and software version in this manual
1.3 List of abbreviations
1.4 Definitions
1.5 Scope of supply of the allPIXA pro camera
1.6 Information about the Camera Setup Tool
1.7 Design of a line scan camera system
8
8
8
8
9
9
10
11
11
12
2
Specifications and definitions
2.1 Camera highlights
2.2 Camera speed for available Camera Link modes and frequency
2.3 Technical specification
2.4 Mechanical specification
2.4.1 Mechanical dimensions of the allPIXA pro camera up to 4.096 pixels
2.4.2 Mechanical dimensions of the 6000 pixel and 7.300 pixel allPIXA pro camera
2.5 Sensor alignment and orientation
2.6 Adapter and accessories
2.6.1 Lenses adapters and mounts
2.6.3 Accessories for 2k & 4k camera S-Series
2.6.4 Accessories for 6000px and 7.3k camera W-Series
2.6.5 Mounting of the extension tube systems
2.6.6 Mounting of a lens adapter ring
2.7 Environmental requirements
13
14
15
16
17
17
18
19
20
20
21
22
23
24
25
3
Safety
3.1 Depiction of safety instructions
3.2 Basic safety regulations
3.3 Safety instructions on the allPIXA pro camera
3.4 Purpose / applications
3.5 Staff requirements
3.6 Organizational measurements
3.7 Safety instructions for maintenance / cleaning
3.8 Maintenance and cleaning of the allPIXA pro camera
3.8.1 Cleaning intervals
3.8.2 Cleaning process
3.9 Disposal
26
26
26
27
27
27
28
28
28
29
29
29
4
allPIXA pro – principle functinality
4.1 Principle design of the allPIXA pro camera
4.2 Design of the allPIXA pro camera line scan sensor
4.3 The allPIXA pro camera line scan sensor readout principle
4.4 Spectral sensitivity of the allPIXA pro camera line scan sensor
30
30
31
32
32
Chromasens allPIXA pro - CD40127 Version 1.0
2
4.5
Image processing
4.5.1 Analog / digital image processing
4.5.2 Supported Camera Link modes
4.6 Black level correction and shading (flat field) correction
4.7 Feature: Image mode (frame scan mode)
4.8 Monochrome image acquisition
4.9 White balancing with a closed loop control
4.10 Setting concept
4.10.1 Restore factory default
4.11 Chromasens API - communication
33
33
36
37
39
39
39
41
41
42
5
Installing the allPIXA pro camera
5.1 Interface and status LED
5.1.1 Power supply
5.1.2 Config UART (serial RS 232)
5.1.3 Digital IO port
5.1.4 LVCMOS and RS422 levels
5.1.5 Video Camera Link port 1 and 2
5.1.1 Status LED
5.2 Mechanical installation
5.3 Thermal links / cooling
5.4 Preventing installation errors
5.4.1 Conveyor belt tracking
5.4.2 Perpendicularity of the sensor to the direction of transport
5.4.3 Rotation around the longitudinal axis of the line scan sensor
5.4.4 Rotation around the transverse axis of the line sensor
5.4.5 Alignment of the allPIXA pro camera
5.5 Electrical installation
5.6 Connecting the camera to the PC
5.7 Update the firmware of the allPIXA pro camera
43
43
44
44
45
46
46
46
47
47
48
48
49
50
51
52
53
54
54
6
Configuration of the camera using Camera Setup Tool
6.1 Installing of CST (Camera Setup Tool)
6.1.1 System Requirements
6.1.2 Installation of the CST Software
6.1.3 Establishing communication between camera and PC
6.2 General setup of CST
6.3 Toolbar
6.4 CST Menu
6.5 Select the correct viewer configuration for the allPIXA pro
6.6 Simple Setup View (overview)
6.7 Basic camera parameter settings (overview)
6.7.1 Camera parameter
6.7.2 Image parameter
6.7.3 Special functions (test pattern / tracing / Register edit)
6.7.4 General information
6.8 Opening serial connection to a camera
6.9 Transferring data to the camera
61
61
61
61
65
66
67
69
71
72
73
73
76
77
78
79
79
Chromasens allPIXA pro - CD40127 Version 1.0
3
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.19
Saving data permanently to the camera
Refreshing data from the camera in CST
Select a setting on the camera
Saving settings to the PC
6.13.1 Saving settings from CST to harddisk
6.13.2 Saving settings from the camera to hard disk
Transferring saved settings from the PC to the camera
Deleting settings from the camera
Setting the user level in CST
Checking the camera status
Choosing a different configuration file for the parameter display
Register Edit
7
Camera system setup – first steps
7.1 Camera Installation
7.2 Startup the system
7.3 Adjust camera to the environment (camera calibration)
7.4 Trigger and Image enhancement functions
8
Camera operation
8.1 Easy camera configuration using simple setup tool
8.2 Perform a white and tap balancing on the camera
8.2.1 System preparation for white and tab balancing
8.2.2 Setting the operation point automatically
8.2.3 Setting the operation point manually
8.2.4 Independent color channel white balancing
8.3 Generating black (offset) reference
8.3.1 Create a black (offset) reference internally
8.3.2 Use a stored black (offset) level reference image
8.3.3 Prepare camera to acquire a black (offset) reference
8.4 Generating shading/ flat field reference
8.4.1 Create white (gain) reference internally
8.4.2 Use a stored white (gain) reference image
8.4.3 Prepare camera to acquire a white (gain) reference
8.4.4 Single color channel reference generation for special illumination situations
(Separate lighting for each color channel)
8.5 Using continuous white control
8.5.1 Continuous operating point adjustment at the edges
8.5.2 Image-synchronous operating point adjustment on the object (ROI)
8.6 Encoder connection and setup
8.6.1 Line trigger and encoder settings
8.6.2 Connect the encoder to the camera
8.6.3 Define the input channel in the camera
8.6.4 Configuration of the encoder mode and resolution
8.6.5 Encoder - enable /disable by external input signal
8.7 Multi-channel flash control
8.7.1 Basic operation principle
8.7.2 Setup the multi-channel LED control
Chromasens allPIXA pro - CD40127 Version 1.0
80
81
81
81
82
82
83
83
85
86
87
88
89
89
90
91
93
94
94
99
99
100
101
108
109
110
114
117
122
123
127
133
140
148
148
150
152
152
152
152
154
155
156
157
159
4
8.7.3
9
Sample setup for 4 different illumination units (free run)
8.7.3.1
Feature: scan speed optimization
8.7.4 Sample setup for 2 different illumination units (triggered mode)
8.7.5 Electrical interface (pin assignment)
8.7.6 I/O port configuration
8.8 Principle of the master-slave synchronization
8.8.1 Parameter and region of interest of the master-slave synchronization
8.8.2 Setup the cameras for master-slave synchronization
8.8.3 Connecting the master-slave cameras (cabling)
8.8.4 Framegrabber setup information for Master/Slave operation
8.9 Edit color conversion (correction) matrix
8.10 IO-configuration
161
161
162
163
164
164
165
166
167
168
170
172
Camera parameters
9.1 Integration time parameters
9.1.1 Integration time
9.1.2 Use line period
9.1.3 Line period time
9.2 Gain and reference
9.2.1 Target white reference values
9.2.2 Analog coarse gain
9.2.3 Current camera gain values
9.2.4 Current white reference values
9.2.5 Enable continuous white control
9.2.6 Position and mode for white reference mark
9.2.7 White control mode
9.2.8 Set active channels for white control
9.2.9 Gain control stop factor
9.2.10 Start gain values
9.2.11 Update start gain values
9.3 White reference mark
9.3.1 Position and size in CCD direction
9.3.2 Position and size in transport direction (Sync. Mode)
9.3.3 First relative pixel of white reference
9.3.4 First absolute pixel of white reference
9.3.5 Use absolute horizontal position of white reference
9.3.6 Number of pixels for white reference
9.3.7 First image line for the white reference
9.3.8 Number of image lines for the white reference
9.3.9 Number of reference samples (Average)
9.3.10 Show white reference border
9.4 Shading (flat field correction)
9.4.1 Shading correction (flat field correction)
9.4.2 Black level correction (offset correction)
9.4.3 White reference data set
9.4.4 Black reference data set
9.5 Brightness and contrast
9.5.1 Use brightness and contrast
173
173
173
174
174
175
175
176
177
178
178
179
180
181
182
183
183
184
184
185
186
186
187
187
188
188
189
189
190
190
191
192
192
193
193
Chromasens allPIXA pro - CD40127 Version 1.0
5
9.6
9.7
9.8
9.9
9.10
9.11
9.12
9.13
9.14
9.15
9.5.2 Brightness
9.5.3 Contrast
9.5.4 Gamma correction
Physical setup
9.6.1 RGB line distance
9.6.2 Scan direction
Image sizes
9.7.1 Number of scan lines per image (frame mode)
9.7.2 First valid scan line
9.7.3 Scan line length
Synchronization (frame synchronization)
9.8.1 Triggered frame scan
9.8.2 Scan lines after stop
9.8.3 Stop after maximum number of lines
9.8.4 Maximum number of scan lines
9.8.5 Number of suppressed lines
9.8.6 Input debouncing speed
9.8.7 Scan pattern
9.8.8 Master-slave setup
Image processing
9.9.1 Mirror image horizontally
9.9.2 Color conversion matrix
9.9.3 Select active CCM
9.9.4 Use keystone correction
9.9.5 Pixel shift for correction
9.9.6 Keystone correction width
Output format
9.10.1 Swap red and blue color channel
9.10.2 Video output mode
9.10.3 Color weights
9.10.4 Camera Link connection speed
9.10.5 Camera Link interface type and minimum line time (integration time)
9.10.6 Information insert mode
9.10.7 Insert mode
9.10.7.1 First line information
9.10.7.2 Each line information
9.10.7.3 Last line information
LED flash control
9.11.1 Led flash control
9.11.2 LED number line pattern
9.11.3 LED flash sequence time
9.11.4 LED line pattern
Special functions
9.12.1 Test pattern
9.12.2 Test pattern level
Tracing
Register edit
Camera information
Chromasens allPIXA pro - CD40127 Version 1.0
194
195
196
197
197
199
200
200
201
202
203
203
206
207
208
208
209
210
212
213
213
214
214
215
216
216
217
217
217
218
218
219
221
221
222
224
226
227
227
227
228
228
229
229
231
231
231
232
6
9.15.1 Camera serial number
9.15.2 Setting description
9.16 Line trigger and encoder setup (line synchronization)
9.16.1 Enable encoder
9.16.2 Synchronization mode
9.16.3 Encoder channels
9.16.4 Average size for the encoder
9.16.5 Encoder resolution
9.16.6 Vertical image resolution
9.16.7 Line trigger / encoder reduction
9.17 Default parameters
9.18 User levels of parameters
232
232
233
233
233
235
236
236
237
238
239
241
10
Troubleshooting and Support
10.1 Returning material (obtain an RMA number)
10.2 Camera status identification by the camera status LED
10.3 Camera overheating protection
10.4 Before contacting Chromasens technical support
243
243
244
245
246
11
Appendix
248
11.1 EC conformity declaration
248
11.2 Camera system design / lens selections
249
11.2.1 Calculating the object-to-image distance
249
11.2.2 Calculating the distance rings (tubes) for the allPIXA pro camera
250
11.2.3 Calculating the integration time
252
11.3 Camera Link interface
253
11.3.1 Camera Link Base 1T24 1X1
253
11.3.2 Camera Link-Medium 2Tx24b (2XE)
253
11.3.3 Camera Link Medium 2Tx24b (RGB) 1X2
255
11.3.4 Camera Link-Full64 8Tx8b (1X8 raw, RGB with 8 color planes per camera link
clock)
255
11.3.5 CL-Full64_8Tx8b 1X8 Raw (only allPIXA pro-Mono):
256
11.3.6 Camera Link Full80 8Tx10b (1X8 raw, RGB with 8 color planes per camera link
clock
256
11.3.7 Camera Link-Full80 10Tx8b (1X10 raw, RGB with 10 color planes per camera link
clock
256
11.3.8 Camera Link-Base 2Tx8b, 2Tx10b, 2Tx12b (2XE)
257
11.3.9 Camera Link-Medium 4Tx8b (1X4) Mono
257
11.3.10 Camera Link-Full64 8Tx8b (1X8) Mono
258
11.3.11 Camera Link Port assignment
259
11.3.11.1 Base configuration
259
11.3.11.2 Medium configuration
260
11.3.11.3 Full64 configuration 8Tx8b 1X8 Raw
261
11.3.11.4 Full80 8Tap 8Tx10b 1X8 Raw configuration
262
11.3.11.5 Full80 10Tx8b 1X8 Raw configuration
263
Chromasens allPIXA pro - CD40127 Version 1.0
7
1 General information
1.1
About Chromasens
The name of our company, Chromasens, is a combination of 'Chroma' which means color, and
'Sens' which stands for sensor technology.
Chromasens designs, develops and produces high-quality and user-friendly products:

Line scan cameras

Camera systems

Camera illumination systems

Image acquisition systems

Image processing solutions
Today, Chromasens GmbH is experiencing steady growth and is continually penetrating new
sales markets around the globe. The company's technologies are used, for example, in
products and for applications such as book and document scanners, sorting systems and
inspection systems for quality assurance monitoring.
Customers from all over the world of a wide range of industrial sectors have placed their trust
in the experience of Chromasens in the field of industrial image processing.
1.1.1 Contact information
Chromasens GmbH
Max-Stromeyer-Str. 116
78467 Konstanz
Germany
Phone:
Fax:
Email:
HP:
+49 (0) 7531 / 876-0
+49 (0) 7531 / 876-303
[email protected]
www.chromasens.de
1.1.2 Support
Should you ever have problems with the allPIXA pro camera that you cannot solve by yourself,
please look into this manual for additional information, check the troubleshooting chapter 10,
contact your local distributor or send us an e-mail.
Chromasens GmbH
Max-Stromeyer-Str. 116
D-78467 Konstanz
Germany
Phone:
Fax:
Email:
HP:
+49 (0) 7531 / 876-500
+49 (0) 7531 / 876-303
[email protected]
http://www.chromasens.de/de/support
Visit our website at http://www.chromasens.de which features detailed information on our
company and products.
Chromasens allPIXA pro - CD40127 Version 1.0
8
1.2
Firmware and software version in this manual
This document refers to the following version:
CST:
Camera:
Version 2.6.4.0
Packet 2.10
The recent version might have additional functions. Therefore, please contact the Chromasens
support.
1.3
List of abbreviations
Abbreviation
Meaning
Explanation
ADC
Analog digital converter
-
CCM
Color conversion matrix
The CCM supports the conversion from
e.g. RGB to sRGB or any user defined
conversion
CDS
Correlated double sampling
-
CST
Camera setup tool
Chromasens camera parameter
programming software
DSNU
Dark signal non-uniformity
Irregularity in the dark image
DVAL
Data valid
Pixel-by-pixel enabled for Camera Link
FVAL
Frame valid
Frame signal for an image on the
Camera Link (corresponds to VSync)
FVSL
First valid scan line
Delay of the image’s beginning, as a
number of lines, from the beginning of
the trigger condition to the beginning of
the image
HSync
Horizontal synchronization
Frame signal for a line (corresponds to
LVAL)
LED
Light emitting diode
-
LVAL
Line valid
Frame signal for a line on the Camera
Link (corresponds to HSync)
PRNU
Photo response non-uniformity
Difference in sensitivity of the individual
pixels
ROI
Region of interest
-
SLL
Scan line length
Number of pixels per line
VSync
Vertical synchronization
Frame signal for an image (corresponds
to FVAL)
Chromasens allPIXA pro - CD40127 Version 1.0
9
1.4
Definitions
Chromasens
Other used definitions
Explanation
Black level correction
Background subtract,
Offset correction
Removes the dark offset from
each pixel
Shading correction
Flat field correction
Corrects brightness
inhomogeneities resulting from
lens, light and non-uniformity of
sensor pixels
RGB line distance
Line shift;
Spatial correction
The tri-linear sensor has
individual pixel lines for red, green
and blue. Inside the camera the
spatial differences are corrected.
White balancing
Setting the operation point
White balancing ensures that a
reference white is kept stable in
an image with color temperature
or brightness changes in the
illumination. This can be done in a
single setup process or in a
permanent process.
White reference
The white reference is a physical
patch in the field of view of the
camera that can be used for a
camera internal white balancing.
Tap balance
The sensor has 2 taps. Tap
balance ensures that both taps
will have the same signal levels at
the junction for the same
brightness.
Chromasens allPIXA pro - CD40127 Version 1.0
10
1.5
Scope of supply of the allPIXA pro camera
Please check your device upon delivery to ensure that it is undamaged and complete.
The following components are supplied with the allPIXA pro camera:

allPIXA pro camera packaging
Please check the packaging for damage which may have occurred during transport.

allPIXA pro camera
Please check the camera for damage which may have occurred during transport.
The rating plate is located on the rear of the allPIXA pro camera. It shows the camera
resolution and the serial number.

Additionally ordered and supplied accessories
Lens adapters, extension rings, lenses and other accessories are not included in the
standard scope of delivery. These items must be ordered separately as accessories.
Please check additionally ordered accessories for completeness and for damage which
may have occurred during transport.
Kindly read this manual carefully before using the camera, contacting your local partners or
the Chromasens support.
Should there be any questions left, please do not hesitate to contact your local partner or us.
We would be pleased to be of assistance to you.
1.6
Information about the Camera Setup Tool
CST = Camera Setup Tool
For downloading our updates, please refer to our website at http://www.chromasens.de and
proceed to the “Login” area.
Before installing and using the CST, please check if there is a recent CST or manual version
available.
If you already have an installed version of the CST, you may check the version number in the
Help menu.
Kindly note that you will find the instructions how to use the CST in “chapter 6 - Configuration
of the camera using ”.
Chromasens allPIXA pro - CD40127 Version 1.0
11
1.7
Design of a line scan camera system
The following figure demonstrates the basic setup of a typical line scan camera system
Figure 1: Design of a line scan camera application
Following components are necessary in a typical line scan camera application
Component
No.
Line scan camera: An allPIXA pro camera which scans the image line by line
and communicates with the frame grabber (5, PC plug-in card).
1
The optical system: Optical lenses with tubes and mounts with an adjusted
focusing
2
Illumination: The illumination system lights up the information carrier/scan area
on the passing object. The Chromasens Corona II illumination system is an ideal
supplementary option for the allPIXA pro camera.
3
Illumination controller: Controls and monitors the illumination unit. The
Chromasens Corona II illumination (3) has integrated temperature/voltage
sensors which can be read out with the XLC4 controller. By using the XLC4
controller, the illumination unit can be monitored and kept stable.
4
Frame grabber (PC plug-in card): The image data are sent to a PC by means of
a frame grabber with a Camera Link interface. The frame grabber establishes the
necessary hardware connection to the PC (6).
5
PC: The PC system serves for subsequent processing of the image data and can
optionally control the illumination system (3 + 4).
6
Speed detection: The speed of the object / conveyor belt can be detected by
means of an optional incremental encoder. The encoder can be connected either
to the allPIXA pro camera or the frame grabber.
7
Conveying unit: The conveying unit moves the scanned object past the allPIXA
pro camera
8
Power supply: Both, the allPIXA pro camera and the illumination system,
requires a suitable power supply.
9
Chromasens allPIXA pro - CD40127 Version 1.0
12
2 Specifications and definitions
The allPIXA pro camera family is available in the following maximum resolutions / line
frequencies:

1,024 pixels / max. 156 kHz

2,048 pixels / max. 92,7 kHz

4,096 pixels / max. 50,8 kHz

6,000 pixels / max. 34,3 kHz

7,300 pixels / max. 29,7 kHz
If you are interested in further resolutions, please do not hesitate to contact us.
The allPIXA pro camera features all functions required for supplying images with the same
color, brightness and resolution of each operational area.
The allPIXA pro camera is particularly suitable for inspection systems requiring a very high
speed and a consistently high color quality.
Continuous white balancing is possible during image acquisition to ensure optimum color
quality. In addition, offset and shading correction ensure the balance of different color pixel
sensitivities (DSNU and PRNU) as well as the illumination process.
Via frame grabber the incremental encoder can be either send to the CC bits of the Camera
Link interface or directly connected to the allPIXA pro camera. As a result, images with a
consistent quality can be generated even at transport speeds with a high fluctuation rate.
The allPIXA pro camera parameters can be set with the CST software tool. Equipped with a
Camera Link base / medium /full interface support, the allPIXA pro camera achieves a data
rate in medium mode of up to 170 megapixels per second with 24 bit RGB, which is equal to
510 Mbytes/s. With Camera Link Full_64 interface the data rate is 680Mbytes/s and with
Camera Link Full_80 interface the data rate is 850Mbytes/s
The design was fully revised during development of the housing which is impressively tough
but offers a number of screw mounting options. Please be informed that the wide range of
adapter options makes the installation simple for users.
Modularity of the allPIXA pro camera permits the use of various lenses like C-mount, F-mount,
M39x1/26“, M42x1 and M72x0.75 connections. Additionally, the modular focus of LINOS /
Qioptics is supported and the allPIXA pro camera can, therefore, be combined with all
commercially available standard lenses.
Chromasens allPIXA pro - CD40127 Version 1.0
13
2.1
Camera highlights

Trilinear color line scan camera (trilinear CCD line scan sensor)

10 µm pixel size

High accuracy sensor alignment

24 bit (3 x 8/10 Bit) color information or 1 x 8/10/12 Bit mono information on the output side

RGB spatial compensation in the camera (also sub-pixel correction, patented)

Continuous white balancing maintains a constant image brightness and color irrespective of
the temperature and service life of the illumination system

Incremental encoder port on the camera; this ensures simple handling and less programming
work

Internal 14 bit A/D conversion per color channel

Shading correction, fully automatic calculation internally in the camera or optionally calculated
offline with CST

Gamma correction, brightness and contrast controller, separate for each channel

Multiple Color conversion matrix (CCM) and offset supported

Internal keystone correction for multiple angle positioning of the camera

Precise multi camera synchronization

Automatic insertion of machine and camera data inside the image (e.g. scanning speed, CRC,
time stamp, Encoder position,..)

Fully synchronized multi-channel LED flash control

Robust metal housing

Adjustable Camera Link clock

Mono image output at individual color weights

C-mount, F-mount, M39x1/26", M42x1, M72x0.75, modular focus (Qioptics / Germany)

Other mounts and customized solutions on request

Internal test image generator

Option for area scanning with trigger inputs (light barriers)
Chromasens allPIXA pro - CD40127 Version 1.0
14
2.2
Camera speed for available Camera Link modes and frequency
The allPIXA pro maximum line frequency depends on the selected Camera Link type and frequency.
Please see the listing below for different configurations.
allPIXA pro 2k (2048 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
41,1 kHz
81,6 kHz
92,7 kHz
92,7 kHz
92,7 kHz
81,6 kHz
75.56 MHz
36,6 kHz
72,6 kHz
92,7 kHz
92,7 kHz
92,7 kHz
72,6 kHz
61.82 MHz
29,9 kHz
59,4 kHz
78,8 kHz
78,8 kHz
92,7 kHz
59,4 kHz
*)
Mono
output *
mono output in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
allPIXA pro 4k (4096 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
20,6 kHz
41,1 kHz
50,8 kHz
50,8 kHz
50,8 kHz
41,1 kHz
75.56 MHz
18,3 kHz
36,3 kHz
48,6 kHz
48,6 kHz
50,8 kHz
36,6 kHz
61.82 MHz
15,0 kHz
29,9 kHz
39,8 kHz
39,8 kHz
49,6 kHz
29,9 kHz
*)
Mono
output *
mono output in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
allPIXA pro 6000px (6000 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
14,1 kHz
28,1 kHz
34,3 kHz
34,3 kHz
34,3 kHz
28,1 kHz
75.56 MHz
12,5 kHz
25,0 kHz
33,3 kHz
33,3 kHz
34,3 kHz
25,0 kHz
61.82 MHz
10,2 kHz
20,5 kHz
27,2 kHz
27,2 kHz
34,0 kHz
20,5 kHz
*)
Mono
output *
mono output in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
allPIXA pro 7.3k (7300 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
12,4 kHz
23,1 kHz
29,7 kHz
29,7 kHz
29,7 kHz
23,1 kHz
75.56 MHz
10,3 kHz
20,6 kHz
27,4 kHz
27,4 kHz
29,7 kHz
20,6 kHz
61.82 MHz
8,4 kHz
16,8 kHz
22,4 kHz
22,4 kHz
28,0 kHz
16,8 kHz
*)
Mono
output *
mono output in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
(see chapter 4.5.2 for the supported Camera Link modes)
Chromasens allPIXA pro - CD40127 Version 1.0
15
2.3
Technical specification
Sensor
Trilinear CCD color line sensor
Pixel size
10 µm x 10 µm (10 µm pitch)
Line spacing
40 µm between R-G and G-B
Maximum pixel rate
226 megapixels/s 24 / 30Bit RGB
Maximum data rate on the Camera Link
Base:
255 Mbytes/s
Medium:
510 Mbytes/s
Full_64
680 Mbytes/s
Full_80:
850 Mbytes/s
1.024 (Only OEM) / 2.048 / 4.096 / 7.300 px
Resolution
Other sensor resolutions are available on
request
1.024 pixels: 156 kHz (only in special OEM
configurations)
Maximum line frequency
2.048 pixels: 92,74 kHz
(Preliminary)
4.096 pixels: 50,82 kHz
6.000 pixels: 34,32 kHz
7.300 pixels: 29,72 kHz
Spectral sensitivity
360 nm to 960 nm
Video signal
3x8 or 3*10 bit on the Camera Link,
3x14 bit ADC
Interface
Camera Link with up to 85 MHz
Line scan operating mode
Area scan operating mode
Free-running / external trigger
(incremental encoder / line trigger)
Image size either free-running, fixed or
based on trigger pulse width
Power supply (6 pin Hirose, male)
Other interfaces
External IO (15 pin D-Sub, female)
Serial RS-232 (9 pin D-Sub, female)
C-mount, F-mount, M39x1/26“, M42x1,
Camera mount
M72x0.75, modular focus (LINOS /
Qioptics), lens adapter and extension tubes
Certifications
CE, FCC compliant, RoHS
Power supply
24 VDC +/- 10 %; <19 W
Operating temperature
0°C to 60°C; 32°F to 140°F (housing temp.)
Housing dimensions
L = 102 mm, H = 100 mm, D = 77 mm
Weight
1.2 kg
Chromasens allPIXA pro - CD40127 Version 1.0
16
NOTE
2.4
Depending on the power supply the power consumption might be up to 1 ampere at
power up for a short time. It is recommended to provide a power supply with
24VDC/1amp or with higher possible power consumption.
Mechanical specification
2.4.1 Mechanical dimensions of the allPIXA pro camera up to 4.096 pixels
Please note that the following dimensions apply to the allPIXA pro camera with 1.024 pixels,
2.048 pixels and 4.096 pixels:
Figure 2: Mechanical dimensions of the allPIXA pro camera with up to 4.096 pixels
NOTE I
Drawings and 3D-CAD-models are available on our homepage
http://www.chromasens.de/user
NOTE II
The shown position of the CCD surface is given as resulting optical value including
lengthening of the sensor glass.
For pure mechanical calculation 0.24 mm has to be subtracted.
NOTE III
For the XYZ coordinate system and for sensor alignment please refer
to chapter 4.2 “Design of the allPIXA camera pro line scan sensor” and sensor
alignment
Chromasens allPIXA pro - CD40127 Version 1.0
17
2.4.2 Mechanical dimensions of the 6000 pixel and 7.300 pixel allPIXA pro camera
Please note that the following dimensions apply to the allPIXA pro camera with 7.300 pixels:
Figure 3: Mechanical dimensions of the allPIXA pro camera with 6.000 and 7.300 pixels
NOTE I
Drawings and 3D-CAD-models are available on our homepage
http://www.chromasens.de/user
NOTE II
The shown position of the CCD surface is given as resulting optical value including
lengthening of the sensor glass.
For pure mechanical calculation 0.24 mm has to be subtracted.
NOTE III
For the XYZ coordinate system and for sensor alignment please refer
to chapter 4.2 “Design of the allPIXA pro camera line scan sensor” and sensor
alignment
Chromasens allPIXA pro - CD40127 Version 1.0
18
2.5
Sensor alignment and orientation
Sensor orientation and alignment in viewing from the front side of the camera. For detailed mechanical
drawing please see chapter 2.4.
First pixel of sensor lines:
Left side
Color lines orientation:
Blue:
top
Green:
center
Red:
bottom
Sensor alignment:
Position:
X:
Y:
Z:
Rotation about:
Y:
Z:
< +/- 100 µm
< +/- 100 µm
< +/- 100 µm
< +/- 0.1 °
< +/- 0.1 °
Planarity of sensor surface:
< +/- 0.50 µm
Sensor window:
Thickness:
Refraction index
Optical path extension:
0.7 mm
1.5
0.24 mm
Y
First pixel
Z
X
Sensor alignment is an important issue for:

Adjusting multi camera systems

Replacing cameras

Mechanical design of the mounting system for the camera
Chromasens allPIXA pro - CD40127 Version 1.0
19
2.6
Adapter and accessories
2.6.1 Lenses adapters and mounts
Chromasens offers a large variety of accessories which are designed to provide maximum
flexibility and get most out of the camera.
You can find the complete list of all accessories including descriptions and detailed drawings
in our login area of our website at www.chromasens.de/users.
NOTE
For further information on accessories please refer to the corresponding accessories
catalogue or the configuration sheet at our website www.chromasens.de/en/colorline-scan-camera-allpixa-pro
Chromasens allPIXA pro - CD40127 Version 1.0
20
2.6.3 Accessories for 2k & 4k camera S-Series
Figure 4: configuration scheme (housing type S)
Description
ID & Code
allPIXA pro - 2k
CP000476-2048-S
allPIXA pro - 4k
CP000476-4096-S
allPIXA pro - 4k with F-Mount
CP000482-0002
allPIXA pro camera Tubes 4k
Identification No.
allPIXA camera-Tube-4k 20 mm
CP000389
01
allPIXA camera-Tube-4k 40 mm
CP000390
01
allPIXA camera-Tube-4k 60 mm
CP000391
01
allPIXA camera-Tube-4k 80 mm
CP000392
01
allPIXA camera-Tube-4k 100 mm
CP000393
01
allPIXA camera 4k direct mount Adapters
Identification No.
allPIXA camera F-Mount Adapter
CP000385
02
allPIXA camera C-Mount-Adapter
CP000387
02
allPIXA camera 4K-Adapter M42x1-A45,46
CP000434
02
allPIXA camera Adapter-MF (to Modular Focus )
allPIXA camera Adapter-M42x0,75 (to Schneider Unifoc
58 (T2))
allPIXA camera Adapter-V-Mount
(to Schneider Unifoc 12 (V-Mount))
CP000386
02
CP000461
02
CP000462
02
allPIXA camera 4k additional parts
Identification No.
Additional parts (custom specific)
only on request
Pos.
Pos.
Pos.
03 - 06
The complete list of all accessories including descriptions and detailed drawings you will find
on our website www.chromasens.de/users.
Chromasens allPIXA pro - CD40127 Version 1.0
21
2.6.4 Accessories for 6000px and 7.3k camera W-Series
Figure 5: configuration scheme (housing type W)
allPIXA pro camera
Identification No.
Pos.
allPIXA pro – 6.000px
CP000476-6000-W
allPIXA pro - 7.3k
CP000476-7300-W
allPIXA camera Tubes 7k
Identification No.
allPIXA camera-Tubus-7k 20 mm
CP000423
01
allPIXA camera-Tubus-7k 40 mm
CP000424
01
allPIXA camera-Tubus-7k 60 mm
CP000425
01
allPIXA camera-Tubus-7k 80 mm
CP000426
01
allPIXA camera-Tubus-7k 100 mm
CP000427
01
allPIXA camera 7k mount Adapters
Identification No.
Adapter - Modular Focus
CP000428
02
Adapter M72x0,75-RF
CP000457
02
allPIXA camera Adapter-M58x0,75 (to Schneider Unifoc 76)
CP000463
02
Pos.
Pos.
The complete list of all accessories including descriptions and detailed drawings you will find
on our website www.chromasens.de/users.
NOTE
For Modular Focus (CP000418) an adapter to the allPIXA pro camera system
(CP000386 or CP000428) is necessary
Chromasens allPIXA pro - CD40127 Version 1.0
22
2.6.5 Mounting of the extension tube systems
The extension tubes are used for extending the image distance between the allPIXA pro
camera (lens reference area) and the lens adapter. Individual extension tubes are available in
20 mm stages and can be interconnected.
Figure 6: allPIXA pro camera 7.3k with extension tubes
If it is necessary to adjust the image distance with the aid of extension tubes, they have to be
combined and connected with grub screws (Allen key size 1.5 mm, maximum torque 30 Ncm).
Additionally, it is necessary to secure the lens and the lens adapter plate with grub screws to
the extension tubes.
Figure 7: Securing the extension tubes
with grub screws
Chromasens allPIXA pro - CD40127 Version 1.0
Figure 8: Mounting the lens adapter
plate
23
2.6.6 Mounting of a lens adapter ring
Lens adapter ring is mounted in the lens adapter fit of the camera body (Figure 9).
Figure 9: Mounting the lens adapter ring in the fit of the camera body
The lens adapter ring is secured by grub screws (Allen key size 1.5 mm, max. torque 30 Ncm).
Figure 10: Securing the lens adapter ring to the camera
Chromasens allPIXA pro - CD40127 Version 1.0
24
2.7
Environmental requirements
Value
Temperature for camera operation
Please see chapter 2.3 for allowed
housing temperature
Air humidity during camera operation
20% - 85% relative air humidity,
non-condensing
Storage / transport temperature
-20 ºC - +85 ºC; -4 °F - +185 °F
Protection category
IP50
General ambient conditions
NOTE:
Operation
IEC 721-3-3:IE33
Transport
IEC 721-3-2:IE21
Storage
IEC 721-3-1:IE11
Please use thermal conductive mounting (e.g. direct attachment on metal frame) to
decrease temperature and for improved camera performance. Please also see
chapter 5.3
Chromasens allPIXA pro - CD40127 Version 1.0
25
3 Safety
3.1
Depiction of safety instructions
Safety-relevant information is indicated in this manual as follows:
WARNING
Indicates a potentially hazardous situation or task, which, if not avoided, could
result in serious injury or death.
CAUTION
Indicates a potentially hazardous situation or task, which, if not avoided, may
result in minor or moderate injury.
Indicates a potentially hazardous situation or task, which, if not avoided, could result
in damage to the product or the surrounding environment.
3.2
Basic safety regulations
The basic safety regulations always observe the following:

Do not attempt to install the device or start operation before you have read all supplied
documentation carefully and have understood its contents.

Safe and correct operation of the device requires correct and appropriate transport, storage,
mounting and installation as well as careful operation and maintenance.

Operation of the allPIXA pro camera device is only permitted when it is in a faultless and safe
condition. In the event of any fault or defect, the allPIXA pro camera, the machine or the
system in which the allPIXA pro camera is installed, must be stopped immediately and the
responsible person has to be informed.

Modifications and extensions to the allPIXA pro camera are only permitted if the prior written
consent of Chromasens GmbH is obtained. This applies in particular to modifications and
extensions which can negatively affect the safety of the allPIXA pro camera.

Compliance with the ambient conditions described in this manual is essential.
Chromasens allPIXA pro - CD40127 Version 1.0
26
3.3
Safety instructions on the allPIXA pro camera
Risks from hot surfaces
The body of the allPIXA pro camera will heat up during operation.
Do not touch hot surfaces without suitable protective gloves. Always allow hot
surfaces to cool down before carrying out any work on the unit.
Electric voltage hazard
The allPIXA pro camera runs with electric power. Before any work is carried out on
the allPIXA pro camera, be aware to disconnect the mains cables. Please be sure
that the device is safely isolated from the power supply!
Risk of electrostatic discharge
The allPIXA pro camera contains components and units which are sensitive to
electrostatic charge.
Observe all precautionary measures for handling electrostatic sensitive equipment.
Make sure that allPIXA pro camera, its corresponding tools, its equipment and the
knowledge of the person who is handling with have the same electrical potential.
3.4
Purpose / applications

The allPIXA pro camera is designed for machines and systems which are used for commercial
and industrial applications.

The owner of the machine or system in which the allPIXA pro camera has been installed is
responsible for compliance with relevant safety regulations, standards and directives.
Commissioning of the allPIXA pro camera is only permitted when the machine or system, in
which the allPIXA pro camera is installed, complies with the safety regulations and standards
of the country in which the allPIXA pro camera runs.

The owner of the machine or system with the installed allPIXA pro camera has to verify the
suitability of allPIXA pro camera for its intended use.

Safety regulations of the country in which the device will be used have to be complied with it.

The allPIXA pro camera may only be connected or used as described in this manual.

The allPIXA pro camera must be set up and installed in compliance with the instructions
contained in this manual.
3.5
Staff requirements

The system owner must ensure that all persons working on the system are trained for the
required work and have read and understood this manual. This applies particularly to the
employees who only work occasionally with the allPIXA pro camera, for example, during
commissioning and maintenance work.
Chromasens allPIXA pro - CD40127 Version 1.0
27

Work on the electrical installation of the system may only be carried out by a qualified
electrician or persons who have undergone the necessary electrotechnical training under the
supervision of a qualified electrician, in compliance with applicable electrotechnical
regulations.

Please be aware that only suitably trained and qualified persons are permitted to work with the
allPIXA pro camera. Such persons are qualified to work with the allPIXA pro camera device, if
they are familiar with its assembly, installation, care and all necessary precautionary
measures.

Assignments and responsibilities of the staff charged with operation, commissioning,
maintenance and repair have to be clearly defined and specified by the owner of the device in
which the allPIXA pro camera is installed.
3.6
Organizational measurements

The instruction manual has to be stored safely in the vicinity of the camera in operation.

Information contained in this manual have to be integrated into the documentation of the
device in which the allPIXA pro camera is installed.

The allPIXA pro camera and all connected peripheries have to be checked regularly for visible
external damages.
3.7
3.8
Safety instructions for maintenance / cleaning

Before carrying out any service or maintenance work, the responsible staff has to be informed.

Deadlines and intervals for regular inspections must be complied with.

Before starting maintenance, the allPIXA pro camera must be isolated from the power supply.

Due to the risk of fire devices such as radiators, heaters or lighting equipment have to be
allowed first to cool down.

Only technicians of the Chromasens GmbH are permitted to open or slacken screws or
housing sections of the allPIXA pro camera.

Necessary repairs may only be carried out by the Chromasens GmbH.

Cleaning of the device is only allowed with a soft, lint-free cloth and Isopropanol (optional).

In order to avoid damages, the camera may only be transported in its original packaging.
Maintenance and cleaning of the allPIXA pro camera
During operation of the device, particles such as dust etc. may be settled on the optical
components (lens) of the camera. These deposits affect the optical image and the function of
the camera negatively.
Chromasens allPIXA pro - CD40127 Version 1.0
28
Chromasens recommends regular inspection and cleaning. The cleaning intervals
depend on the actual operating and ambient conditions (e.g. dust-laden
atmosphere).
3.8.1 Cleaning intervals
Cleaning intervals depend on the environment. Regular inspection and cleaning intervals must
be specified depending on the degree of soiling.
3.8.2 Cleaning process
Body of the allPIXA pro camera will heat up during operation.
Before cleaning, you have to switch off the device. Always allow hot surfaces to cool
down before cleaning the device.
The device works with electric power. Before cleaning the device, make sure that the
device is disconnected from the power supply.
All surfaces requiring cleaning can be wiped with a soft, lint-free cloth which can be moistened
with Isopropanol.
Never use any other liquid or cleaning agent than those stated in this manual.
Never use hard or sharp tools for cleaning the device.
Inspect the device to ensure that cleaning was effective and repeat, if necessary.
If it is not possible to clean a component due to irremovable contamination, it must be
replaced.
3.9
Disposal
The device consists of different kinds of material and for its disposal the materials have to be
separated according to the local regulations. The material has to be disposed properly in order
to avoid and to minimize any environmental or human impact.
Chromasens allPIXA pro - CD40127 Version 1.0
29
4 allPIXA pro – principle functinality
4.1
Principle design of the allPIXA pro camera
During operation an object is scanned by the CCD sensor. The analog signal is then
transformed to a digital signal by the AD converter. The microcontroller with its RAM and flash
memory supports the FPGA during image data processing in order to output the images
through the Camera Link connector.
The allPIXA pro camera can be configured with the aid of the CST via the Camera Link
interface (CL-Ser.) or the RS 232 interface.
Signals from incremental encoders or light barriers can also be input by the GPIOs (general
purpose inputs/outputs).
Figure 11: Principle design of the allPIXA pro camera (block diagram)
Chromasens allPIXA pro - CD40127 Version 1.0
30
4.2
Design of the allPIXA pro camera line scan sensor
The allPIXA pro camera color line scan camera is
equipped with a trilinear CCD line scan sensor with 3
spatially separated lines which are sensitive to the
colors red, green and blue (RGB).
In this way, 3-color information is obtained from each
image point (RGB). The spacing of sensor lines is
compensated in the allPIXA pro camera.
Compared to camera systems with interpolating
processes (e.g. single-line or bilinear color line scan
cameras), the color information is acquired with 3 x 8
bit for each image point.
Kindly note that high-quality color detection is only
possible in that way.
Sensor pixels are 10 µm wide and 10 µm long. The
distance between the color sensor lines is 40 µm.
Spatial correction is achieved by the corresponding
delay of the individual items of color information. As a
result of the object’s movement, for example, an
object point first reaches the blue sensor line, then
the green sensor line and finally the red sensor line.
These 3 color channels are then combined into a
complete image.
Continual scanning provides a color image which can
theoretically be infinitely long.
Figure 12: allPIXA pro camera line scan sensor
Chromasens allPIXA pro - CD40127 Version 1.0
31
4.3
The allPIXA pro camera line scan sensor readout principle
The odd and even pixels of each line are moved to the respective readout register. Therefore,
the allPIXA pro camera simultaneously processes 3x2x2 channels - 3 colors, 2 taps and both
(odd and even pixels).
Figure 13: The allPIXA pro camera line scan sensor readout principle
4.4
Spectral sensitivity of the allPIXA pro camera line scan sensor
Wave length (nm)
Figure 14: Spectral sensitivity of the line scan sensor
Chromasens allPIXA pro - CD40127 Version 1.0
32
4.5
Image processing
Image processing in the allPIXA pro camera is analog and digital. The following block diagram
illustrates the internal processes.
4.5.1 Analog / digital image processing
The power block provides all required voltages which are available for the camera electronic
components from the supplied 24 V DC.
The image is acquired by the CCD sensor and initially processed in analog mode, followed by
an analog/digital converter. The digital image processing is done in the FPGA.
The image data generated by the allPIXA pro camera is converted in the video interface to the
Camera Link standard and then sent to the frame grabber.
Figure 15: Process of the allPIXA pro camera image processing (block diagram)
Chromasens allPIXA pro - CD40127 Version 1.0
33
CDS
Gain
Offset
14 Bit ADC
EVEN
Coarse
Gain
CDS
Gain
Offset
14 Bit ADC
ODD
Coarse
Gain
CDS
Gain
Offset
14 Bit ADC
EVEN
Coarse
Gain
CDS
Gain
Offset
14 Bit ADC
to digital processing
from microcontroller
Front Tap
CCD Sensor
Rear Tap
Coarse
Gain
to digital processing
The CCD sensor is read out by using a shift register. The CDS (correlated double sampling)
process filters (extracts) the intended signal information from the received signals. After that
process, the global amplification (gain) and offset values (black level offset) are adjusted. In
the last step, the analog information is converted to digital 14 bit values to forward these to the
digital processing unit.
ODD
from microcontroller
(1)
(2)
Figure 16: Analog process of the allPIXA pro camera (block diagram)
Chromasens allPIXA pro - CD40127 Version 1.0
34
The signals are transferred from the analog-digital converter and run through a multiplexer that
switches between the test image generator and the input signals as shown in Figure 17.
Figure 17: Digital process of the allPIXA pro camera (block diagram)
First, the pixel-by-pixel black level correction (1) and shading correction (2) is carried out, then
the image data are adjusted with the values programmed for brightness and contrast (3).
Afterwards, the spatial correction (RGB) is carried out in the line buffer (RGB line delay
compensation) (4) and the colors are adjusted with the color conversion matrix (5) and the
gamma correction (6). The color image can also be converted into a grey image by the FPGA
(7). Auxiliary data can be added to each line before the image data is output via the Camera
Link connection (8).
Chromasens allPIXA pro - CD40127 Version 1.0
35
4.5.2 Supported Camera Link modes
allPIXA pro - color camera with color output:
CL-Base 1Tx24b (1X1)
CL-Medium 2Tx24b (2XE)
CL-Medium 2Tx24b (1X2) Default
CL-Full64 8Tx8b (1X8 raw, RGB with 8 color planes per camera link clock)
CL-Full80 8Tx10b (1X8 raw, RGB with 8 color planes per camera link clock)
CL-Full80 10Tx8b (1X10 raw, RGB with 10 color planes per camera link clock)
allPIXA pro - color camera with mono output:
CL-Base 2Tx8b (2XE)
CL-Base 2Tx10b (2XE)
CL-Base 2Tx12b (2XE)
For more detailed information about the Camera Link interface specification see appendix chapter
11.3
For minimum integration time for different camera types at different Camera Link modes and output
pixel clocks please see chapter 9.10.5 for details
Chromasens allPIXA pro - CD40127 Version 1.0
36
4.6
Black level correction and shading (flat field) correction
The allPIXA pro camera supports black level (offset) and shading correction.
The following points are important for understanding these kinds of operation:

Both operations are based on pixel-by-pixel calculation, and the effects on behavior of
single pixels like PRNU (photo response non uniformity) will be eliminated.

Both operations are carried out separately for every line (red, green, blue).

The allPIXA pro camera offers 4 data sets for black level correction and 4 data sets for
shading correction Therefore, the user is able to deal with e.g. 4 different lightning
systems by selecting the necessary data sets without transferring or generating new
shading data.

Calculation of the correction data sets can be done offline on scanned images.
Often, shading data has been calculated internally with a static white reference in front of
the camera. In this case, spots of dust on the white reference lead to vertical lines in the
image. This effect can be eliminated by slightly defocusing the lens during the generation
of the references. The lighting distribution will then be seen by the sensor and the lens.
Another possibility to avoid this problem is to move the target slightly at the balancing
process. In this way, distortions by e.g. dust may also be eliminated.

The allPIXA pro camera offers the possibility of offline calculation of the references. The
user may select a scanned image and define a region of the image, in which shading
correction data shall be calculated. By averaging over a higher number of lines,
distortions by e.g. dust on the target will be eliminated. Therefore, it is possible to use an
image with a moving white object.

The allPIXA pro camera also provides the possibility to generate shading and offset data
internally.

Generated data sets may be stored to the hard disc of the PC. The stored data can be
transferred to the camera later on.

For the calculation the following formulas can be used:
Mode Recording of black reference line:
BRef(x) = VidRaw with black template or without illumination
Mode Recording of white reference line:
WRef(x) = VidRaw(x) – BRef(x) with white template
Mode / Correction (white and black correction is activated)
VidSHCOut(x,y) = (VidRaw(x,y) – BRef(x)) * VidMax
WRef(x)
This calculation is done separately for all color separations (RGB).





BRef
WRef
VidRaw
(x, y)
VidMax
Black Reference value for each pixel in the line
White Reference value for each pixel in the line
Raw values for each pixel output by A/D-Converter
Number of pixels within the line or column
Maximum brightness value

VidSHCOut(x,y)
Offset- and Shading corrected pixels of the image
Chromasens allPIXA pro - CD40127 Version 1.0
37
Vid Out
VidSHCOut
Raw data
VidRaw - BRef
2.
1.
Vid In
Figure 18: Offset and shading correction
1.: Black level correction
2.: shading (flat field) correction
Chromasens allPIXA pro - CD40127 Version 1.0
38
4.7
Feature: Image mode (frame scan mode)
The allPIXA pro camera is able to emulate a frame scan camera. Output data will be in real
frames and the VSync signal (or FVAL = frame valid signal) will be generated. Therefore, the
information about frame start and image size have to be supplied to the camera.
The trigger signal can be supplied with the frame grabber either by CC-Bits CC3 or CC4 or
with a hardware signal by IO-port. The external signals have to be configured by the IOconfigurator via CST.
Image height (= number of lines) can be controlled by a fixed value or an external signal
depending on the object size. For more detailed description see chapter 9.7 and 9.8.
4.8
Monochrome image acquisition
Additionally, the color allPIXA pro camera offers the possibility to provide monochrome images
which are internally generated from to the color information. The weightage of the color
channels during generation of a monochrome image can be set individually.
Due to the reduced data transmission rate of the mono image the camera will use Camera
Link Base mode for the transmission. Output modes of 8 /10/ 12 Bit are available for mono
image data. (See chapter 9.10.2)
4.9
White balancing with a closed loop control
In order to keep the video values stable on a white reference target, the allPIXA pro camera
supports an automatic adjustment of the internal gain values. Therefore, a closed loop can be
established which enables an automatism of keeping the white point stable, even if there is
brightness or color temperature changes in the illumination. Usually, automatic camera
functions use the brightest point for adjusting the best result to get the white color.
The allPIXA pro camera provides the user the opportunity to arbitrarily define the area of an
image chosen as reference and the user will also be able to set the reference values (target
values) separately for each channel.
Light on
Object
Reference
Value (1)
-
CCDSensor
White Control
Camera
Gain (3)
Video
Value (2)
Figure 19: Closed loop control for white balancing
Chromasens allPIXA pro - CD40127 Version 1.0
39
This function can be used for:


A single setup process with a static white reference in front of the camera during its
installation.
Adjusting the camera continuously during the scanning process. Therefore, it is
possible to compensate the warming up or the aging of the light source.
Chromasens allPIXA pro - CD40127 Version 1.0
40
4.10 Setting concept
Furthermore, the allPIXA pro camera offers a comprehensive setting concept:
The user is in the position to store up to 18 different settings in the camera. All parameters
such as gaining or integration time may be different from setting to setting and are selectable
by short commands. Therefore, a fast change of the camera’s behavior is possible for different
products.

For the user there are 18 settings available.

The setting no. 19 is write-protected; the factory’s default setting is stored under no.
19 and may be copied to other settings.

The camera will always start-up with setting no. 1
Non volatile memory (flash)
19 settings availible
Startup setting number 1
Default setting number 19 (write protected)
Setting
11
Setting
Setting
1
Setting
Par1 Setting
123 11
Par1 345
123
Par2
Par1 345
123
Par2
Par1
123
Par3
678345
Par2
Par1
123
Par3Par2678345
Par3Par2678345
Par3 678
Par3 678
Setting
19
Setting
11
Setting
Setting
Par1 Setting
123 11
Par1 345
123
Par2
Par1 345
123
Par2
Par1
123
Par3
678345
Par2
Par1
123
Par3Par2678345
Par3Par2678345
Par3 678
Par3 678
F10/11
CST
Active setting
FPGA
Par1
Par2
Par3
F9
123
345
678
F5
Volatile memory (RAM)
allPIXA camera
Computer
Figure 20: Setting concept
4.10.1 Restore factory default
By loading setting 19 and saving into the working setting (e.g. setting 1), the originally
delivered setting condition of the camera will be restored.
Please see chapter 6.10 for how to save settings to different setting positions
Chromasens allPIXA pro - CD40127 Version 1.0
41
4.11 Chromasens API - communication
Customer application
Chromasens API
Configuration
data
allPIXA pro
Figure 21: Chromasens API
The Chromasens API support a set of function to easily communicate with the allPIXA pro camera.
With these functions, connection to the camera can be established via Camera Link or serial RS232
connection.
Internal working parameters of the camera can be read and modified.
Convenience functions for calibration of the camera are provided.
Calibration of the camera can be performed to adapt to current illumination conditions.
Functions for low level communication are also implemented in the Chromasens API.
A detailed description, example code and the necessary DLLs for integration is provided in the CSAPI
package, which can be downloaded from the allPIXA pro download area on our website.
Chromasens allPIXA pro - CD40127 Version 1.0
42
5 Installing the allPIXA pro camera
5.1
Interface and status LED
On the back side of the camera you will find the following interfaces:

2 Camera Link ports (port 1 and 2) for image signaling and for communication between the
allPIXA pro camera and the PC

A digital port (IO interface D-Sub 15 female) for the incremental encoder signal, light barriers
and other freely-programmable inputs and outputs

A serial port (serial RS 232 D-Sub 9 female, Config UART) for additional communication (e.g.
configuration signals) between the allPIXA pro camera and the PC

A power connection (Hirose HR10A-7R-6P, male) for power supply

A multi-color LED for indicating the allPIXA pro camera status
NOTE
If using a USB to Serial converter for the connection via RS232 it is recommended
to use a converter with FTDI Chipset
(Prolifix chipsets may generate problems while connecting to the camera).
Status LED
CL-Port 1
Power supply
CL-Port 2
Config. UART
Digital IO-Port
Figure 22: The allPIXA pro camera connections and status LED
Chromasens allPIXA pro - CD40127 Version 1.0
43
5.1.1 Power supply
Kindly note that the following connector is required for the power supply cable:
Manufacturer:
Article no.:
Pin no.
Hirose
HR10A-7P-6S “female” (male connector is located on the camera)
Description
1
Power +24 V
2
Power +24 V
3
Not connected
4
Not connected
5
Ground
6
Ground
Please see section chapter 2.3 for more details on the input voltage and currents.
5.1.2 Config UART (serial RS 232)
Serial connection to the PC can be established by using a 9-pin D-Sub connector (male) via
the interface of serial RS 232 (V24).
Pin no.
Description
1
Not connected
2
Transmit data
3
Receive data
4
Used for internal function, do not connect
5
Ground
6
Not connected
7
Hardware Reset Input.
Should be left open if unused
8
Not connected
9
Not connected
Pin 1
Chromasens allPIXA pro - CD40127 Version 1.0
44
5.1.3 Digital IO port
You will need a 15-pin D-Sub connector (male) to establish a connection to the digital I/O
interface (x5) of the allPIXA pro camera.
Other functions are selectable at the IO -configurator in CST.
Pin no.
NOTE
Level
Description
Default
1
RS 422
GPIO_P0 (input)
Incremental encoder (high)
2
RS 422
GPIO_P1 (input)
Light barrier (high)
3
LVCMOS
GPIO_P4
Can be used for light barriers
or nSelMaster (Bridge to 0 V)
with
Only pin 3: Vin 5,0 V max.
4
LVCMOS
GPIO_P2
Reserved for customized
applications
5
3.3 V over 100 Ohm
Power
Output
6
LVCMOS
GPIO_P3
Master/Slave-interface
7
0V
Ground
-
8
LVCMOS
GPIO_N4
Master/Slave-interface
9
RS 422
GPIO_N0
Incremental encoder (low)
10
RS 422
GPIO_N1
Light barrier (low)
11
0V
Ground
-
12
LVCMOS
GPIO_N2
Reserved for customized
applications
13
0V
Ground
-
14
LVCMOS
GPIO_N3
Reserved for customized
applications
15
5 V over 100 Ohm
Power supply
Output
Power supply: With a 100 Ohm series resistor;
RS422:
RS422 standard
LVCMOS:
With 10 Ohm series resistor
Pin 1
Chromasens allPIXA pro - CD40127 Version 1.0
45
5.1.4 LVCMOS and RS422 levels
I/O
standard
LVCMOS
RS422
Vmin
Vmax
Vmin
Vmax
-0.5
0.7
1.7
3.6
-6
0,8
2
6
Vmax
Vmin
0.4
2.1
Maximum input level of the LVCMOS is 3.6 V! (Except pin 3 with max 5,0V)
Use a level converter, if necessary (e.g. 74 LVC14).
Non-compliance can result in irreparable damages to the allPIXA pro camera!
5.1.5 Video Camera Link port 1 and 2
Camera Link cables will be ready-for-use supplied in different lengths varying from 1m to 10m.
For connection to the allPIXA pro camera you will need a 26-pin MDR mini-D ribbon (male)
connector.
Please note that for long cable lengths (more than 6 m) high quality
cables are recommended. Alternatively, the Camera Link transmission
speed can be reduced using CST configuration (see chapter 9.10.4).
The setup of frame grabber, cable and camera must be tested in
advance to guarantee the required functionality.
5.1.1 Status LED
During image output (FVAL active) the LED lights up in blue and alternates then in green or
red.
Color
Description
Green
Camera ready (FVAL inactive)
Red
Error (FVAL inactive)
Blue
allPIXA pro camera image output
(FVAL active)
Chromasens allPIXA pro - CD40127 Version 1.0
46
5.2
Mechanical installation
Various mounting options are featured by the allPIXA pro camera housing. Thanks to its
numerous threaded holes for attachment the installation of the allPIXA pro camera is very
simple and versatile.
Mounting holes
(top/bottom)
Mounting
holes (front)
Mounting holes
(left/right)
Figure 23: Mechanical connection points of the allPIXA pro camera
The allPIXA pro camera is equipped with 4 fastening points on each side and its front with M4
threads (use maximum torque for full use of 6mm threat of 4 Nm).
Please find the exact mechanical dimensions in the section technical data (see chapter 2.4).
5.3
Thermal links / cooling
The camera works with in the defined temperature range (see chapter 2.3 and 2.7). To this
purpose it may be screwed to thermally conductive parts on a wide and flat surface. A thermal
connection to heat-conductive parts has a positive effect on operation of the allPIXA pro
camera.
To dissipate the heat more effectively to the surrounding area, we also recommend using heat
conduction pads between the allPIXA camera and heat-conductive parts. You can also cool
the allPIXA pro camera with a fan which should be directed at a large surface area of the
allPIXA pro camera.
Should there be any questions left, or should you be not sure how to adapt the allPIXA pro
camera most effectively to its ambient conditions, please do not hesitate to contact our support
team.
The maximal allowed internal camera temperature which can be monitored by the camera or
readout by using the CST is:
Board temperature: 80°C
Sensor temperature: 70°C
Chromasens allPIXA pro - CD40127 Version 1.0
47
5.4
Preventing installation errors
To ensure a high image and color quality, it is essential to align the camera correctly with the
conveyor belt.
If the camera is misaligned, image artifacts may result.
5.4.1 Conveyor belt tracking
Please make sure that the conveyor belt, on which the object is transported, runs completely
straight.
In the left-hand section of Figure 24 you will see the optimum tracking of the conveyor belt, i.e.
the conveyor belt runs completely straight. The enlarged view shows that each of the 3 pixels
highlighted in black acquires the same point on the object.
In the right-hand section of Figure 24 you will see a situation in which the conveyor belt runs
untrue and oscillates in a lateral direction to the transport position and then each line acquires
a different area of the passing object. Consequence will be that the image generated by the 3
color lines is not aligned, resulting in chromatic aberration which occurs laterally to the
transport position.
Correct
Incorrect
Sensor
Conveyor belt
Sensor
Conveyor belt
Figure 24: Optimum conveying belt tracking
Chromasens allPIXA pro - CD40127 Version 1.0
48
5.4.2 Perpendicularity of the sensor to the direction of transport
Please make sure that the allPIXA pro camera is aligned at a right angle to the direction of
transport.
In the left-hand section of Figure 25 you will see the optimum alignment of the camera, i.e. it is
aligned perpendicularly to the direction of transport. The enlarged view shows that each of the
3 pixels highlighted in black acquires the same point on the object.
In the right-hand section of Figure 25 you will see one situation in which the camera is not
aligned perpendicularly to the transport position and then the same point on the object is
imaged at different positions on the trilinear sensor. Consequence will be that the image
generated by the 3 color lines is not aligned, resulting in chromatic aberration on the image.
Figure 25: Rectangularity of the sensor to the object
Chromasens allPIXA pro - CD40127 Version 1.0
49
5.4.3 Rotation around the longitudinal axis of the line scan sensor
Please make sure that the longitudinal axis of the allPIXA pro camera runs parallel to the
transport level.
The center section of Figure 26 shows the optimum alignment of the camera, i.e. it is aligned
parallel to the direction of transport.
If the allPIXA pro camera is installed in the rotated position around the longitudinal axis of the
line scan sensor, chromatic aberration would occur in the image and the scale would change
on the 3 color lines. Chromatic aberration will increase symmetrically towards the outer edge.
Figure 26: Rotation around the longitudinal axis of the line sensor
For obtaining the best result please try to avoid the error shown in the figure.
If it is not possible to place the camera in the best orientation, the allPIXA pro camera
offers the “Keystone correction” function:
By using the function of “Keystone correction” the allPIXA pro camera is able to correct this
error by itself. Kindly note that the function of keystone correction will be described in chapter
9.9.4 Use keystone correction.
Chromasens allPIXA pro - CD40127 Version 1.0
50
5.4.4 Rotation around the transverse axis of the line sensor
Please make sure that the transverse axis of the allPIXA pro camera runs parallel to the
transport level.
In the center section of Figure 27 you will see the optimum alignment of the camera, i.e. it is
aligned parallel to the direction of transport.
If the allPIXA pro camera is installed in a rotated position around the transverse axis of the line
scan sensor, result would be a chromatic aberration laterally to the direction of transport, and
the size and color would change in relation to the angle.
Figure 27: Rotation around the transverse axis of the line scan sensor
Chromasens allPIXA pro - CD40127 Version 1.0
51
5.4.5 Alignment of the allPIXA pro camera
Exact alignment of the allPIXA pro camera is necessary for many applications, for example, in
case of using several allPIXA pro camera devices in parallel.
The following section describes a simple method for exact alignment of the allPIXA pro
camera.
Left-hand marker
Right-hand marker
Correct alignment
Incorrect alignment – too low
Incorrect alignment – rotated
Figure 28: Alignment of the allPIXA pro camera
In that sitution the static reference is the scanned object of which the camera is to be aligned
including one vertical and one steadily rising straight line. These 2 straight lines intersect in the
set position of the green color channel, prerequisite is that the lines are continually acquired
(free-running mode) and the reference should no longer be moved.
Each line then achieves the same position and the angled line is acquired as a result of
spacing the sensor lines of the color lines in different positions which results in colored lines in
the image. The vertical center line produces a black line in the image, therefore, the center of
the colored lines and the black line have to be aligned.
Chromasens allPIXA pro - CD40127 Version 1.0
52
5.5
Electrical installation
WARNING
Only the authorized electro-technical trained staff is permitted to install and to
start operation of the device.
Before connecting and switching on the power supply, please certainly make sure
that all required plug connections have been established correctly.
This precaution prevents damage to the allPIXA pro camera or to its connected
components.
When the allPIXA pro camera has been secured in its final working position and all
cables are connected and screwed, please check the cable configuration.
The weighting of the cables should not include the connectors one. No other
mechanical strain should be exerted on the connectors.
NOTE
Grounding the housing and the outer cable shield:
Due to an environment with electromagnetic contamination it might be necessary to
establish contact between the housing and / or the outer shield of the Camera Link
cable to the installation’s electrical ground.
The mounting threads for the housing are not isolated; therefore, you may use any
other kind of mounting threads for connecting the housing to the electrical ground.
Connect a power cable from the camera to a 24V DC power supply.
For the pin allocation of the HIROSE see chapter 5.1.1.
Power: 24 VDC +/- 10 %;
1A; typical 16 W
Hirose 6 -pin
Figure 29: Connecting the allPIXA pro camera to the power supply
Chromasens allPIXA pro - CD40127 Version 1.0
53
5.6
Connecting the camera to the PC
The camera will be connected by a Camera Link cable to the PC.
NOTE
Camera Link cables are supplied ready for use in different lengths varying from 1 m
to 10 m. You will require a 26-pin MDR mini-D ribbon (male) connector for
connection to the allPIXA camera.
Camera Link specification limits a max cable length of up to 6 m for a pixel clock of
85 MHz. The setup of camera, cable and frame grabber have to be tested in
advance.
1.
NOTE
Connect the Camera Link cable:
o
Camera Link Port 1 or 1+2 of the allPIXA pro camera (Port 1+2 will support full data
rate, please note that only with port 1 the half data rate will be supported).
o
Frame grabber installed in the PC.
Take care of connecting the first port of the camera with the first port of the grabber.
Changing might cause a switch between front and rear tap, some grabbers only offer
the serial connection through the first port.
Port 1 (with serial
connection)
Port 2
Figure 30: Connecting the allPIXA pro camera to the Framegrabber
5.7
Update the firmware of the allPIXA pro camera
Never disconnect the power or the connection to the camera during the update
procedure.
Please follow the following steps to update the camera safely.
Download the current firmware from the Chromasens website:
http://www.chromasens.de/en/user
Chromasens allPIXA pro - CD40127 Version 1.0
54
You either must have a valid partner account to access the software or follow the link provided
by the shipment of the camera.
If you are not already registered, please request an account. It is free of charge!
Be sure to enter valid information into the request form. Otherwise, you will not be granted
access to the site.
Please be assured that your information will not be passed on to others outside Chromasens.
The software can be found in the login section of the Chromasens homepage or directly by
following the link that was delivered with your allPIXA pro-camera:
Save the package to local disk and unzip the files.
Chromasens allPIXA pro - CD40127 Version 1.0
55

Run CST and select the correct port to connect with the camera

Click

Backup your settings
Some internal settings might be reset to factory defaults when performing a firmware
update. Therefore, it is recommended to save your own settings as backup.
o
to get to the system setting
Click on
a , select a directory
b
and save the setting by clicking
c
1
a
c
b
Settings will be saved as single files into the given directory. The setting number will be
appended to the given filename
(e.g. setting 17 will be saved as backup_121207_17.mk)
Chromasens allPIXA pro - CD40127 Version 1.0
56
a

Click the “Send package to camera”-Button
a
b
2
c
b

List of packages available in the directory.
Usually, packages are stored as .lst or .txt.
The content of this file is a list of the files
to load into the camera.
Select the firmware package
Make sure that you use the correct package for your camera. Depending on the used
CCD-sensor, different download packages need to be used.
The naming of the package contains the length of the CCD-sensor:
allPIXA camera_CCDLENGTH_Firmware_VERSION.txt
(e.g. allPIXApro_7300_FW_P212.txt)
c

This file should be used in an allPIXA camera with the line length of 7.300 and contains
the package Version 2.12.
Click the “OK”-Button
Download will start immediately after pressing “OK”.
Chromasens allPIXA pro - CD40127 Version 1.0
57
The progress and the files which are downloaded to the camera are displayed in the
window “Download List”.
Progress window only displays the progress of the current file.
3
Download will be finished when the “Download List”- and the progress-windows are
closed.
Then the log message window of the CST will output the following message:
4

Switch off the power of the camera.

Wait 5 seconds.

Turn power on again.
Wait until the status LED of the camera is illuminated blue again. Depending on your
setting, the LED could also be flashing blue.

a
b
Connect the CST to the camera by the steps
and
.
It is not necessary to restart the CST.
b
On the
system page, simply click “open connection”
.
5
a
b
Chromasens allPIXA pro - CD40127 Version 1.0
58

Check if the camera firmware and the FPGA have the desired versions
a
6
b
Needs to be 0x0000,
Otherwise packet is inconsistent!!
Green frames indicate the current firmware, CCD and FPGA versions on the camera.
Now the camera is ready for operation again.
Chromasens allPIXA pro - CD40127 Version 1.0
59

Reload the stored setting to the camera.

Open the stored setting files download them to the camera.
a
7
Chromasens allPIXA pro - CD40127 Version 1.0
b
n
60
6 Configuration of the camera using Camera Setup Tool
6.1
6.1.1
6.1.2
Installing of CST (Camera Setup Tool)
System Requirements

Microsoft Windows 7, Windows 8.1, 32 bit or 64 bit.

PC with a Frame Grabber “Camera Link medium” and optionally a serial interface RS232
Installation of the CST Software
In order to install the CST software on your PC, please proceed as follows:
1.
Open the setup directory:
Figure 1: CST setup directory
2. Double-click the *_setup.exe file and you will see the following screen:
Figure 2: CST Setup welcome screen
Chromasens allPIXA pro - CD40127 Version 1.0
61
3.
Click on the button “Next” to continue (or “Cancel” to exit setup):
If the operating system is a 64 bit version, you will see the following screen:
Figure 3: CST program version selection
4.
Please select the version which should be installed.
Kindly note that the screen shown above (Figure 3: CST program version selection will
not appear on 32-bit operation systems:
Figure 4: Select destination location
Chromasens allPIXA pro - CD40127 Version 1.0
62
5.
Select the folder for installing the CST software and then click on the button
"Next".
Then you will see the following screen:
Figure 5: Select start menu folder
6.
Select the folder for storing the shortcut to the CST software and then click on the
button "Next".
Then you will see the following screen:
Figure 6: Select additional tasks
Chromasens allPIXA pro - CD40127 Version 1.0
63
7.
Click on the checkbox to create a desktop icon and then click the button "Next".
When the following screen appears, the CST software is ready for installation:
Figure 7: Ready for installation
8.
Click on the button “Install” to execute setup of the CST software.
When the setup routine is completely executed, the following screen appears:
Figure 8: Completing camera setup tool installation
Now the CST software is ready for use.
Chromasens allPIXA pro - CD40127 Version 1.0
64
6.1.3
Establishing communication between camera and PC
This paragraph describes basic settings of the CST software to establish communication
between the PC and the camera. Afterwards, the user has the opportunity to start configuring
the camera.
In order to establish communication between camera and PC please proceed as follows:
1. Double-click on the CST icon on the PC desktop.
Figure 9: Icon to start the CST software
You will see the following screen:
Figure 10: Interface parameters
2.
Select the PC interface for the communication either via Camera Link or external
serial port.
3.
Choose the desired baud rate for communication or select “Use max. Baud rate” to
start automatic setup of the baud rate:
CST and the allPIXA camera will check the fastest baud rate possible up to 115 kBaud. If
the frame grabber/interface does not support 115 kBaud, please disable “use max.
Baudrate”.
The default baud rate is 19.2 kBaud.
4.
Click on the button OK.
You will see the following screen:
(The CST software establishes communication to the camera.)
Figure 11: Establishing communication to the camera (example)
Now the CST software will be opened.
Chromasens allPIXA pro - CD40127 Version 1.0
65
6.2
General setup of CST
The CST software is based on 5 areas:
Toolbar:
Direct access to functions and data (chapter.6.3)
Menu:
Access to all functions (chapter. 6.4)
Parameter window:
Displaying the data
Status bar:
Displaying the status of the connection
Message windows
Menu (6.4)
Toolbar (6.3)
Parameter Window
Message Window
Command log window
Statusbar
Chromasens allPIXA pro - CD40127 Version 1.0
66
6.3
Toolbar
The toolbar for the CST provides the following functions:
Figure 12: CST Toolbar
Descriptions of each button and its function will be found in the following chart:
Button
Function
Open settings from disk
Save settings to disk
Transfer settings to volatile (non-permanent) camera memory
F9
Permanently burn camera settings to the actually used setting
F10
Show the simple setup page. This page shows the most
important parameters of the camera on one page.
Very useful for first time users.
Open basic parameter settings pages, e.g. integration time
Set system settings:

Transfer setting data to and from the camera

Firmware update

Reset the camera

Open new “Camera Connection”

Set the user level for the CST
Encoder and line trigger related settings
Show the settings for the user configurable inputs and outputs
of the camera
Transmit WR command to the camera for automatic white
balancing
Send a command to balance the 2 taps against each other
Open the reference wizard.
The wizard will guide the user through the process of
generating references for offset and flat field(shading)
correction.
Chromasens allPIXA pro - CD40127 Version 1.0
67
Button
Function
Display live values of the camera
This function allows the user to monitor the current values of
important parameters of the allPIXA camera in live mode (e.g.
the temperature or the current values of the reference for the
operating point or the statuses of the inputs etc.)
For checking the camera status
Request active parameters and refresh the display
F5
Select and display the currently used setting
Buttons for user defined functions (3 available)
Info button for getting the current version of CST
Collects information about the PC system, the installed
grabbers, and the connected camera.
This information is very useful for the Chromasens support if
you are in need of assistance.
Chromasens allPIXA pro - CD40127 Version 1.0
68
6.4
CST Menu
The CST menu for the CST provides the following functions:
Figure 13: CST Menu
Settings
View
Open setting from disk
Open a setting from disk. Useful to check a former
configuration. After loading a file from disk it is also possible
to transfer it to the camera by the “Send setting to camera”
function.
Save setting to disk
Save current settings to disk
Transfer setting to volatile
camera memory (F9)
Transfer settings to volatile (non-permanent) camera
memory. After a reset or a power cycle the changes will be
lost.
Burn current setting
permanently (F10)
Permanently burn camera settings to the currently used
setting
Burn current setting
permanently as (F11)
Permanently burn camera settings to a different setting
Clear settings
Delete settings from camera memory
Exit
Close CST
Toolbar
Enable/disable the toolbar
Statusbar
Enable/disable the status bar
Simple setup
Show the simple setup page. This page shows the most
important parameters of the camera on one page.
Very useful for first time users.
Edit settings
Open basic parameter settings pages, e.g. integration time
IO-Configurator
Show the settings for the user configurable inputs and
outputs of the camera
Encoder setup
Encoder and line trigger related settings
System configuration
Set system settings:
Chromasens allPIXA pro - CD40127 Version 1.0

Transfer setting data to and from the camera

Firmware update

Reset the camera

Open new “Camera Connection”

Change the viewer configuration file to adapt the
displayed parameters to your camera

Set the user level for the CST
69
View
Current camera values
Display live camera values like voltages temperatures, gain
values or similar.
This function allows the user to monitor the current values
of important parameters of the allPIXA camera in live mode
(e.g. the temperature or the current values of the reference
for the operating point or the statuses of the inputs etc.)
Messages
Arrange protocol windows
vertically
Arrange protocol windows
horizontally
Advanced
Show command message
window
Activates the command log window.
Clear logging messages
Clear the message window
Save logging messages
Save the message window to a log-file for support cases
and debugging the system.
Show detailed command
messages
Activates the command log window.
Register edit
Open a window for editing and reading registers directly on
the camera.
The communication data is logged here.
Additionally the communication data is logged in a more
detailed way.
Attention: Only for advanced users.
Bootstrap board
For service only.
Get Camera Trace
Return internal camera loggings. Might be requested by the
Chromasens support in order to get detailed information
about a possible problem.
Verify Packet/Setting
This can be used to create consistent Setting or
Firmware/FPGA packages. A checksum is generated for
this setting or Firmware package. As soon as something is
changed here, the checksum is no longer consistent and
can be detected by the camera.
Create HSI-Checksum
Function for development purposes only. If a value in a HSIfile changes, the checksum will no longer be valid. This
function recalculates the checksum and enters it into the
file.
Edit Color Conversion
Matrix
The user is in the position to edit the 4 color correction
tables saved inside the camera.
Set IP address
If a connection to a GigE-camera should be established, the
IP-address can be set here
Get current camera state
With this function, the user can easily check the camera
status.
Chromasens allPIXA pro - CD40127 Version 1.0
70
Commands
Process white balancing
Perform an automated white balancing on the camera
Initiate tap balancing
Perform a balancing procedure between the two camera
taps in order to eliminate the differences at the tap border.
Generate reference
Open the reference wizard.
The wizard will guide the user through the process of
generating references for offset and flat field (shading)
correction.
Help
Send user command
Buttons for user defined functions (3 available)
Configure user
commands
Configuring the buttons for the user defined functions.
About CST
Info button for getting the released version of CST
Display system info
Collects information about the PC system, the installed
grabbers, the connected camera.
This information is very useful for the Chromasens support
if you are in need of assistance.
6.5
Select the correct viewer configuration for the allPIXA pro
The default mode for the CST program is set up for the allPIXA classic. Some features of the
allPIXA pro camera are not available in this configuration.
Please open up the system configuration page by pushing the wrench-button:
Choose the allPIXA pro viewer configuration file:
Chromasens allPIXA pro - CD40127 Version 1.0
71
6.6
Simple Setup View (overview)
Page
Function
Simple setup view
Functions:
Chromasens allPIXA pro - CD40127 Version 1.0

Set all basic parameters of
the camera in order to quickly
receive a well calibrated
image

Chapter: 8.1
72
6.7
Basic camera parameter settings (overview)
Basic parameters of the camera are split into different groups:
6.7.1 Camera parameter
This part contains the parameter related to the following:
Page
Function
Camera settings – Camera Parameter – Integration time
Integration time:



Set the integration time
Set the line period mode
Set the line period time
Chapter:
9.1
Camera settings – Camera Parameter – Gain and Reference Settings
Camera Gain and Reference
Settings:



Analog Coarse Gain
Analog Gain
Closed loop control for white
balancing
Chapter:
Chromasens allPIXA pro - CD40127 Version 1.0
9.2
73
Page
Function
Camera settings – Camera Parameter – White reference mark
White reference mark:

Set the position and size of
the zone for the closed loop
control
Chapter:
9.3
Camera settings – Camera Parameter – Shading
Shading (flat field):



Activate shading correction
Activate black level
correction
Select the data set for
shading and black level
correction
Chapter:
Chromasens allPIXA pro - CD40127 Version 1.0
9.4
74
Page
Function
Camera settings – Camera Parameter – Brightness and Contrast
Brightness and Contrast:

Digital gain

Digital offset

Gamma correction
Chapter:
9.5
Camera settings – Camera Parameter – Physical setup
Physical setup:

Set the line shift/spatial
correction

Set the scan direction
Chapter:
Chromasens allPIXA pro - CD40127 Version 1.0
9.6
75
6.7.2 Image parameter
This part contains the parameter related to the image itself.
Page
Function
Camera settings – Image Parameter – Image size
Image size:

Set the parameters related to
the image size
Chapter:
9.7
Camera settings – Image Parameter – Synchronization
Synchronization:


Set the parameters for
triggering the frame scan
modes
Select the synchronization with
other cameras (Master/slave
mode)
Chapter:
Page
9.8
Function
Camera settings – Image Parameter – Image processing
Image processing:
Activate image mirroring
Activate color correction
Activate and set parameters for the
keystone functions
Chapter:
Chromasens allPIXA pro - CD40127 Version 1.0
9.9
76
Page
Function
Camera settings – Image parameter – Output format
Output format:
Set the pixel clock on Camera Link
Select the port type medium or base
Different parameters for data
transfer on Camera Link
Insert information into image data
Chapter:
9.10
6.7.3 Special functions (test pattern / tracing / Register edit)
Page
Function
Camera settings – Special functions – Test pattern
Test pattern:

Test images can be generated
inside the camera
Chapter:
9.11
Camera settings – Special functions – Tracing
Tracing:

Debugging functions
Chapter:
Chromasens allPIXA pro - CD40127 Version 1.0
9.13
77
Page
Function
Camera settings – Special functions – Register edit
Register edit:



The user is in the position to
directly edit registers.
This data will be saved on the
camera with burning the
setting.
Please be careful by using this
function. This might cause a
damage of the firmware or
cause malfunction of the
camera.
Chapter:
9.14
6.7.4 General information
Page
Function
Camera settings – General information – Camera information
Camera information:


Information about firmware on
the camera
Please attach a screen shot of
this page for all support
questions.
Chapter:
Chromasens allPIXA pro - CD40127 Version 1.0
9.15
78
6.8
Opening serial connection to a camera
The user has the possibility to open another port or re-opening the same port from CST
without closing and selecting it from the start window.
Button
Function key
Menu
View/System configuration
Select the desired camera connection:
Select the baud rate or select “Use max. Baud rate”
If “Use max. Baud rate” is selected; CST and the camera try to get connected with the highest
possible data rate.
Press the connect button:
The default baud rate of the camera is 115200 Baud at power up.
Some PCs set the reset on RS232 to high as default. Therefore, this option has to be
disabled. This refers only to serial ports of the PC; it does not affect the ports provided by the
Camera Link.
6.9
Transferring data to the camera
Button
Function key
Menu
F9
File/Send Setting to camera
Changes in the setting have to be transferred to the camera.
NOTE
 Data edited in the CST is not transferred automatically to the camera
 Data edited in the CST is not transferred by pressing “Enter” at the camera
 Data will be lost after repowering the camera or after resetting if not saved to
persisting memory
 By loading a new setting or reloading the actual setting, unsaved data will be lost
Chromasens allPIXA pro - CD40127 Version 1.0
79
6.10 Saving data permanently to the camera

There are up to 18 different settings available in the camera.

Setting 19 is reserved for the backup of the default setting.

We recommend using the settings 1 to 9 for working settings and setting 10 to 18 as
locations for backup settings.
The currently selected setting is displayed in the toolbar.
In order to save the data to the currently selected setting please use the following:
Button
Function key
Menu
F10
File/Burn setting
In order to save the data to another setting in the camera please use the following:
Button
Function key
Menu
F11
File/Burn setting as
The following dialog will be opened:
Select the desired setting number and press “OK”.
NOTE
First, changes made inside CST have to be transferred to the camera. If they are not
transferred, they will be lost. These functions take the data from the volatile memory
in the camera for burning.
Chromasens allPIXA pro - CD40127 Version 1.0
80
6.11 Refreshing data from the camera in CST
Some data has been changed in the camera or in the setting by the camera itself, e.g. by the
closed loop control for the white balancing. In order to update the current data in the CST, the
refresh button has to be pressed.
Button
Function key
Menu
F5
6.12 Select a setting on the camera
With the drop down list “Active Setting” the user is in the position to select a saved setting from
the camera and activate this setting.
NOTE
Changes which have not been transferred and burned on the last edited setting will be lost.
6.13 Saving settings to the PC
There are two different file types are available for saving settings from the camera to
the PC:

*.mk-Files:
Binary file of the setting from the camera. This data can be directly transferred to the
camera.

*.set-Files:
This file type is based on XML. This file can be edited manually by the user but it is only
recommended for advanced users. Please use CST for editing the files safely. The file
can also be downloaded to the camera but CST will translate it first.
Chromasens allPIXA pro - CD40127 Version 1.0
81
6.13.1 Saving settings from CST to harddisk
Button
Function key
Menu
File/Save
With this function you save the setting data currently present in the CST to a *.set or .mk-file.
NOTE
Changes at the camera, e.g. caused by the automatic white control, will not be saved
in the files. Therefore, please press refresh button first, before saving the data to
hard disk.
6.13.2 Saving settings from the camera to hard disk
Button
Function key
Menu
View/System
configuration
By using this function the saved setting data from the camera will be saved in a file. The user
is in the position to select the necessary data, in case that the setting is saved as *.set-file or
as *.mk-file.
NOTE
Changes will be lost if they are not saved permanently to a setting.
By using selection dialog, the user is able to select the settings for saving on hard disk.

Check boxes will be enabled for the available settings on the camera.

By using the button “Browse” it is possible to select a desired folder and file name.

By using the button “Save as Set” the settings will be saved as *.set-files (XML based)

By using the button “Save as MK” the settings will be save as *.mk-files (binary)

The different settings will get an extension number added to the file name.
Chromasens allPIXA pro - CD40127 Version 1.0
82
6.14 Transferring saved settings from the PC to the camera
NOTE
If the user transfers settings to the camera, settings with the same number will be
overwritten on the setting of the camera.
There are 2 ways available for transferring settings to the camera:

Transfer settings directly to the camera

Open the setting in CST and transfer data in a second step to the camera.
1. By doing direct transfer:
Button
Function key
Menu
View/System
configuration
2. By using CST:
Button
Function key
Menu
File/Open
A standard file dialog will be opened and the user is has the opportunity to select *.setFiles or *.mk-files. Afterwards, the setting will be shown in CST.
NOTE
Setting has not been transferred to the camera but to a volatile memory by using the
Transfer-button or F9. Then setting has to be burned separately to the camera.
6.15 Deleting settings from the camera
The user has the opportunity to delete burned settings from the camera.
Button
Function key
Menu
Settings/Clear settings
Chromasens allPIXA pro - CD40127 Version 1.0
83
NOTE I
The user is not allowed to delete setting 1. In case the user did some false changes
at setting 1, it is possible to re-download the init-setting 1 to the camera. The
required file is included in the software package which is available for download. The
file is called PIXAproXXXX_InitSetting1_FreeRun_Rnnn.mk . Where XXXX is related
to the allPIXA camera model and nnn is the revision of the firmware package.
The simple setup page also provides a function to restore the default setting 1
without having to deal with download packages. The setting will be restored from
internal camera memory.
NOTE II
This function is only available in the user level “Guru”.
By using a dialog box, the user is able to select the setting which has to be deleted:
Chromasens allPIXA pro - CD40127 Version 1.0
84
6.16 Setting the user level in CST
CST will offer different user levels but not all parameters and functions are available in each
user level. This is helpful to provide undesired changes by inexperienced users. 3 levels are
available:
Button
Function key
Menu
We recommend doing as much as possible parameterization in the level “Normal
user” in order to avoid wrong settings.
NOTE
Functions in the menu tap “Advanced” which are inside the CST are limited by the user level
as displayed in this table:
Chapter
Name
Normal
User
Expert
Guru
Register Edit
X
Bootstrap Board
X
IO-Configurator
X
Get Camera Trace
X
(X)
X
X
Verify Packet/Setting
X
Create HSI-Checksum
X
Clear Settings
X
Edit Color Correction Matrix
X
Get current camera state
X
X
X
Limitation for the parameters due to this function are shown in chapter 9.18
Chromasens allPIXA pro - CD40127 Version 1.0
85
Resetting the camera
It is possible to reset the camera from CST:
Button
Function key
Menu
View/System configuration
On the camera a reset will be performed and after that the CST will be automatically reconnected to the camera.
6.17 Checking the camera status
Button
Function key
Menu
Advanced/Get current
camera state
By pressing this button the user can easily check the camera status and the camera will return
detailed information of its state and the currently present errors. By clicking this button the
currently presented errors will be cleared and acknowledged.
If the “Camera is running OK” the following dialog box will be shown:
Chromasens allPIXA pro - CD40127 Version 1.0
86
6.18 Choosing a different configuration file for the parameter display
The user has the possibility to change the display of the parameters according to the camera
type.
Button
Function key
Menu
View/System configuration
The default viewer configuration will be the for the allPIXA-camera: allPIXA.
The changes are applied immediately to the parameter view. The settings are stored in the
registry. The CST will start up the next time with the changed viewer file.
According to the different viewer file some parameters will be visible or hidden.
Chromasens allPIXA pro - CD40127 Version 1.0
87
6.19 Register Edit
The user has the possibility to read and prepare registers in the camera.
Button
Function key
Menu
Advanced/Register edit
Compared to the register edit of the basic settings (chapter 6.7.3 “Special functions”), this
register edit is for non-permanent memory. Each loading or sending of a setting will overwrite
the changes. The intended use is for debugging the system:
a
The user has the possibility to edit different registers directly. By pressing the OK button
register names (Remark) and the address will be saved on hard disk and will be available for
the next time.
By pressing the button “Set” and “Get” the user is able to work with this single registers. With
the button “Set all” and “Get all” all registers in the list will be edited.
It is also possible to change the numbers of displayed registers by editing the count and
pushing the “set” button (a).
NOTE
This function is only for trained users.
Chromasens allPIXA pro - CD40127 Version 1.0
88
7 Camera system setup – first steps
7.1
Camera Installation
Prepare the general setup:
Prepare the camera and lens
1

Select the correct lens and accessories to operate your camera in the desired
environment. (You may see chapter 11.2 for lens and tube selection)

Install the lens and adapters correctly. For detailed description of the lens and mount
installation, you may also refer to chapter 2.6.
Prepare the right cabling for your application

Camera Link cable: The allPIXA pro provides MDR connectors.
Check the plugs of your frame grabber in order to decide, if you need MDR-MDR or
MDR-SDR Camera Link cables.

Power supply: Hirose 6-pin plug (HR10A-7P-6S).
The allPIXA pro connecting interfaces are described in chapter 5.1.

Connect the camera to power supply (24 VDC +/- 10 %; 1A; typical 16 W) and your
frame grabber (chapter 5.6)
2
3
4
5
Install the frame grabber on your PC by following the manufacturer’s description
 Set the configuration of the frame grabber to adjust it to the configuration of the allPIXA
pro camera. Refer to chapter 4.5.2 for image information output on the Camera Link.
Adjust the focusing point of your illumination unit and position it correctly
 Refer to the manual of the illumination manufacturer for proper installation of the
illumination
 Make sure the illumination is correctly positioned to illuminate the scanning area
Mechanically install the camera into your machine
 Make sure, it is positioned correctly
The sensor line should be adjusted horizontally to the transport direction and the
camera should look perpendicular to the inspection area. For detailed description of a
correct camera installation, refer to chapter 5.

Make sure, you have the correct object-to-sensor distance
The sensor line is positioned 16,5 mm (optical photosensitive surface) behind the front
surface of the allPIXA pro camera. You can find the detailed sensor position description
in chapter 2.4.
Chromasens allPIXA pro - CD40127 Version 1.0
89
7.2
Startup the system
Startup the camera:
Parameters of the camera can be set by using the Camera Setup Tool. (see chapter 6) for
installation of CST). You can also find a list of default parameters in chapter 9.17.

Turn on the illumination and the camera

Start CST (Camera Setup Tool) (chapter 6)

Setup communication between PC and camera (chapter 6.1.3)

Set the correct Camera Link configuration and the connection speed
(at
1
Output format)

Click

Use the simple user mode for first parameter adjustments. Therefore click on the
buton
to save setting into volatile memory
in the manue bar
Now, you should be able to grab and see an image in your frame grabber tool.
If your frame grabber is not able to receive an image then please see the frame grabber
manual or contact support service of the frame grabber manufacturer
Proceed to chapter 7.3 to calibrate the camera and adjust the camera settings to your
operating condition.
(You may select the user level in the system settings
NOTE
After setting a parameter, always use
memory!
in chapter 0)
or push “F9” to transfer setting to volatile
Use
or push “F10” to burn setting into the camera!
Other buttons of the toolbar are described in chapter 6.3.
Chromasens allPIXA pro - CD40127 Version 1.0
90
7.3
Adjust camera to the environment (camera calibration)
Prepare the camera for calibration (see also chapter 8.2).
- Set the camera in freerunning
- Place a white reference target covering the full scanning area
The white reference target has to be placed into the best focus plane of the camera.
Therefore any features on its surface (e.g. dust, scratches) will end up in the
calibration profile of the camera. To avoid this when using a static (non moving)
white reference target, please use a clean white ceramic or plastic material, not
paper. Ideally, the white object should move during the calibration process as the
movement will result in an averaging process and the camera will diminish the
effects on any small variation in the white reference.
NOTE
You may find the most important parameters and functions on the simple setup page
chapter 8.1).
To calibrate the camera setting to your operating condition, follow the steps below.
(see also
Check your line scan system application:

Illumination setting:
Switch on the lighting and ensure that the adjustment of the lighting will provide best
illumination on the target.

Frame grabber setting:
Check your frame grabber setting. Make sure that the grabber configuration matches
the allPIXA pro camera.

Camera adjustment:
Adjust the camera to the target for best orientation and for the best lighting.

Focusing and f-stop:
Set the camera to best focus and select the requested f-stop.
1
Set the integration time:

Click the
-Button and set the integration time
You may find an instruction for calculation in the appendix: chapter 11.2.3.
Make sure the integration time is supported by your camera- and Camera Link configuration (see 9.10.4).

Click the
2
button to save setting into volatile memory
Chromasens allPIXA pro - CD40127 Version 1.0
91
Set the operating point (white balancing 8.2):
The camera will have the correct gaining values after this step.
3

Click the

Follow the instructions in chapter 8.2.3 for manual white balancing.
button for automatic white balancing or
This step has to be done again e.g. after changing the light or the f-stop.
Refer to chapter 8.2 for detailed description on how to set the operating point.
Perform a tap balancing (8.2):
The camera will seamlessly level out the video signal of the 2 taps of the camera. The
resulting image will have the same brightness in the center at the tap borders after this
step.
4

Click the
button
Tap balance can only be performed correctly, if continuous white control is off/disabled.
You may also refer to chapter 8.2 for detailed description how to do tap balancing.
Generate the black reference (8.3):

Click on the
button and select “Create a black (offset) reference internally”,
and follow the instructions of the wizard.

Click on
5
-Button, Activate Offset correction. Save the setting
Refer to chapter 8.3 for detailed description to how to generate a black reference.
Generate the shading reference / flat field correction (8.4):
6

Click on the

Click the
button and follow the description in chapter 8.4.
-Button. Activate flat field correction. Save the setting
Refer to chapter 8.4 for detailed description how to generate a shading reference.
Save the settings:
7
NOTE

Click the burn button

You may choose different settings
to configure your system to
different applications. Backups can be made by saving the setting into another setting
(chapter 6.10) or saving the settings to disk (chapter 6.13).
to save settings into the camera permanently.
By selecting another setting, changes that have not been saved permanently
the camera are lost
Chromasens allPIXA pro - CD40127 Version 1.0
into
92
7.4
Trigger and Image enhancement functions
Add image processing functions:
1

You may add digital image processing functions.
Study the chapter 9.5 / 9.9 onward to find out what image processing functions are
offered by the allPIXA pro
Set the line trigger or encoder functions

Connect the encoder or line trigger with the frame grabber or directly with the
camera
If the encoder is connected to the frame grabber, please ensure that the signal will be
transferred to CC1 or CC2 (for more detailed setup please also refer to chapter 8.6)

Define the correct input signal port for the signals (see also chapter 8.6)

Click the

Set the parameters in CST for the encoder or line trigger mode
2
-Button to get into the encoder-setup (chapter 9.16)
Chromasens allPIXA pro - CD40127 Version 1.0
93
8 Camera operation
8.1
Easy camera configuration using simple setup tool
Push the green smiley button
on the tool bar to enter the simple setup page which
concentrates the most important parameters and functions on one page.
Chromasens allPIXA pro - CD40127 Version 1.0
94
The order of the parameters is placed in a functional manner to give you an orientation which
parameters should be set first. Please start from the topmost parameter.
NOTE
After setting a parameter, always use
volatile memory! Use
or push “F9” to transfer setting to
or push “F10” to burn setting into the camera!
Image parameters:
You may set the image parameters as desired for your line scan camera system application.
a
b
c
Image
dimensions
(9.7)
d
Determines the vertical
image offset in pixels
(9.7.2)
a) You may set the scan line length (9.7.3).
The defined image width is also the number of pixels that will be output to the frame
grabber via Camera Link .
b,c) If using a frame scan mode, you may set the image height and image start delay
d) The image output can be set to free running or triggered.
Timing:
a
b
a) You may set the integration time (9.1.1).
b) Decide, if you need the line period feature (9.1.3)
In triggered mode, the camera will wait for an input trigger to start the image acquisition.
The image grabbed will have the set number of image lines defined in the image
parameters before.
Chromasens allPIXA pro - CD40127 Version 1.0
95
Gain control:
In order to get a good image, set the gain and white reference parameters
a
d
b
c
e
a) You may choose if the white control/balancing should operate continuously, only once per
frame or if it should be switched off.
If White Control is set to “continuous mode”, The camera gain values are adjusted
continuously during the scanning process.
b) You may set the target value for white control
The target value for the white control is given in 8 bit (0-255). The camera will try to adjust
the analog camera gain values in order to reach the set target value (chapter 9.2.1).
c) You may set the camera gain value manually (9.2.3) or
d) You may set the camera gain value automatically by clicking the “Do center white
balancing”-Button.
The white control field is moved into the middle of the image. Then the camera performs a
white balancing based on the target value defined in (b) and sets the new gain values in
(c).
e) By clicking the “Define white balancing parameters”, you will be taken to the regular gain
and white reference parameter settings
You may set all white balancing parameters manually following the description in chapter
8.2.3.
Perform a tap balancing by clicking the
button
Camera calibration:
Determine if the offset and the flat field (shading) correction should be used.
If the references for black level and flat field correction were already generated, simply
activate/deactivate them by selecting the checkboxes.
By clicking the “Calibrate camera” button, the reference wizard will appear. You may follow the
instructions of the wizard to generate a black reference (chapter 8.3) and a shading reference
(chapter 8.4)
Chromasens allPIXA pro - CD40127 Version 1.0
96
Video output parameters:
You have the possibility of further digital image processing by setting the desired output
parameters
a
b
c
d
e
f
You may activate the checkbox (a) to apply the brightness and contrast settings (9.5) to the
image.
Parameter description:
a) If this checkbox is activated, the camera applies the brightness and contrast settings
to the image.
b) Set the brightness parameter. This will add an offset to the output value. The values
are in the 8bit-range
c) Contrast: this will apply a factor to the output values. This is very useful in order to
desaturize images after the flat field correction
d) The output image can be mirrored in the horizontal direction, i.e. if using an Output
width of 4096 Pixel, the input pixel 4095 will be output pixel 0 and the input pixel 0 will
be output pixel 4095.
e) A gamma correction table will be applied to the image.
video_out_level = video_in_level
1/Gamma
This is valid for values > 0.4. If 0.1 is selected for the gamma value a special table for
sRGB conversion is used.
To disable gamma correction set this value to 0.
f)
The camera can be set to output color or grey images. If set to mono only one
Camera Link connection is used. The data will be transmitted on Camera Link port 1.
Port 2 is idle.
Refer to chapter 4.5.2 to find detailed description of the transmission of data according
Camera Link specification.
Save your setting into volatile camera memory by clicking the button below.(Changes are lost
after selecting a different setting, resetting the camera or doing a power-cycle).
Use the button below to store your settings permanently into the camera
The regular buttons
F9, F10 and F11).
and
in the tool bar are also working (as well as the function keys
Chromasens allPIXA pro - CD40127 Version 1.0
97
You have the possibility to restore the default factory setting:
By clicking the
button, the current setting will be overwritten by the setting
used for the commissioning of the camera at the Chromasens production facility. This will only
have an effect on the currently active setting.
Click the
-button to obtain the camera information.
If there are any problems with the camera or the parameter settings, it is very helpful for the
Chromasens support to obtain the camera information.
If this button is clicked you will see the following dialog:
By using the “Copy to clipboard” function you can simply paste this information into the email
for the Chromasens support.
Chromasens allPIXA pro - CD40127 Version 1.0
98
8.2
Perform a white and tap balancing on the camera
You may perform the white balancing automatically (see chapter 8.2.2) or manually (see
chapter 8.2.3)
For more details on gain levels you may also see chapter (9.2.1 or 9.2.2)
8.2.1 System preparation for white and tab balancing
Setup

Set the camera to free running mode(disable encoder and frame trigger)

Use a white balancing reference that covers the entire scanning range.
1
Figure 32: allPIXA pro camera with a white balancing reference

Check the alignment of the illumination and the allPIXA pro camera by using
a suitable viewer (e.g. the line plot display of your frame grabber software).
output
255
0
pixel
n
Figure 32: Line plot display
Chromasens allPIXA pro - CD40127 Version 1.0
99
8.2.2 Setting the operation point automatically
NOTE

The position of the white reference mark (control zone) and the target gain value
for the control zone will be used as saved in the setting. (see chapter 9.3)

This operation will only take place in the actual selected setting.

This function has to receive line data inside the camera. If the camera is set to
line trigger or encoder mode and the transport is not moving, there will be an
error.

Set the camera to internal line trigger.
Prepare the setup for the operation.
1
2

Make sure black level correction is enabled (see chapter 9.4.2)
Press the button for the automatic white balancing.
This window will be shown:
Press the button “Yes” if you want to use the determined gain values as startup values
(recommended). If not press “No”.
If the process succeeds “White balancing succeeded“ will appear in the message window.
Possible errors:
3
White balancing error occurred. Error code No: 0xF6: maximum gain exceeded
 Digital gain value exceed internal limit.
 Increase analog coarse gain or increase illumination intensity. (see also chapter 9.2.2)
White balancing error occurred. Error code No: 0x41: minimum gain exceeded
 Digital gain value has reached lower limit.
 Decrease analog coarse gain or reduce illumination intensity.
White balancing error occurred. Error code No: 0xF7: White balance cannot be leveled
 White balance process has exceeded time limit but up to now no error has occurred.
White balance may last very long if white reference area is large, line period is high.
 Restart of white balance may finish process successful.
For a special single camera color channel calibration (individual red/green and blue calibration)
see also chapter 8.2.4.
Chromasens allPIXA pro - CD40127 Version 1.0
100
4
Press the button for the tap balancing.
Press the refresh button.
Optional:
5
6

Check the values of “Current gaining values”. It is recommended to keep the
gaining values in the range of 80 to 200 for best image quality.

If the current gaining values are above 200, it is recommended to increase “Analog
coarse gain” and repeat from step 2.
(See chapter 9.2.2 for further description of analog coarse gain)
Press the burn button.
8.2.3 Setting the operation point manually
Manual operating point setting serves to determine the area which is viewed by the allPIXA
pro camera for carrying out the shading correction.
The pattern below describes the principle of analog image processing.
Figure 33 Analog image processing comprises of two levels.
1) Analog coarse gain: Pre-Amplification factor
For rough adjustment of the sensor signal to the main amplifying level.
2) Current camera gain values: Main analog amplifying level.
For fine adjustment of analog gaining.
For detailed description of camera gain adjustment, see also chapter 9.2.2.
Chromasens allPIXA pro - CD40127 Version 1.0
101
Gain and reference settings
Make the settings a, and b shown in the illustrations below.
b
will not be visible in the user level “Normal user” and “expert”. In this case,
already set as “Automatic” like in the figure below.
b
is
2
a
b
Chromasens allPIXA pro - CD40127 Version 1.0
102
Selection and adjustment of the white reference mark position
A
B
C
3
D
E
Set the “White reference mark” to the brightest region in the image, mostly this would be
the center of the image.
You can adjust the settings
reference in your image
A
to
D
to modify the white reference position or display the
E
Note:
Reference mark area may not include the TAP border.
If the front and rear TAPs are defined to be independent, the defined reference mark area is
mirrored into the other TAP.
Press the
4
button (or F9).
Current camera parameters are saved non-permanently in the camera.
Chromasens allPIXA pro - CD40127 Version 1.0
103
Setting of Target White Reference Values (Video Levels)
a
Set the target white reference values for the master tap
(= front tap in the example below).
(recommended values are about 800 (10 bit values)for a white reference target)
b
Select the
-Button to save the target white reference value.
The range is from 0 – 1023.
The target video levels must be set in such a way that the brightest image points are set below
to the saturation point. Please note that the brightest scanned reference should not bring the AD
converter to saturation. If the objects are brighter than the current white reference to be
scanned during subsequent operation, the distance to saturation must be increased by this ratio
(max. = 255).
output
White reference mark
255
Target value
0
5
pixel
n
Use the “current white reference values" displayed on the right as a starting point.
b
Target white reference
settings for front tap.
Current white reference levels
a
Chromasens allPIXA pro - CD40127 Version 1.0
104
Check/re-adjust video levels
After entering the target white reference values (see step 5),
select the
b
button to refresh display of the current values on the screen.
Check the current amplification values which are now displayed in the current
camera gain values panel.
The “Current camera gain values” are recommended to be within a
range from 80 to 200.
b
6
c
In case that the values are outside the range from 80 to 200, you may change the
Analog coarse gain to a higher value if the current gain values are over 200.
Choose a lower value for Analog coarse gain if the current gain values are
below 80. Send the settings to the camera
also see chapter 9.2.2 for more details)
. Then start again with step 6.(please
c
If not receiving a satisfying result, it can also be achieved by adjusting the “Target
white reference values” (please refer to step 5)
Click the
camera.
button (or F9) to save the settings as non-permanently on the
Chromasens allPIXA pro - CD40127 Version 1.0
105
Tap balancing
Select the
button to carry out a tap alignment.
The values for the slave tap (= rear tap in the example shown below) are aligned with the
master tap.
Press the refresh button.
Example with the front tap as the master tap and the rear tap as the slave tap:
7
Target white reference
settings for front tap.
Target white reference
settings for rear tap.
Chromasens allPIXA pro - CD40127 Version 1.0
106
Disable white control
If the result of the white control is acceptable then:
a
8
b
Disable white control
Disable display of white reference borders
Transfer settings to the camera
9
Select the
button (or F9).
The current camera parameters are saved non-permanently in the camera.
Save settings
10
Select the
button (F10).
The current camera parameters are now saved as permanently in the camera.
Chromasens allPIXA pro - CD40127 Version 1.0
107
8.2.4 Independent color channel white balancing
For special tasks a special illumination setup might be necessary. If an inspection task is done where
in each color channel different information will be evaluated by using a special illumination per
channel, the balancing procedure must be done individually per channel.
Prepare the setup for the operation.
1

Make sure black level correction is enabled (see chapter 9.4.2)
Select only the red channel for the “active channel” parameter (9.2.8) on the “gain and
reference settings” page.
2
3
4
5
Turn on the illumination for the red channel.
Put the appropriate calibration chart in front of the camera
Perform the balancing steps according chapter(8.2)
Repeat for the other color channels:
6
and
Transfer settings to the camera
7
Select the
button (or F9).
The current camera parameters are saved non-permanently in the camera.
Save settings
8
Select the
button (F10).
The current camera parameters are now saved as permanently in the camera.
For an individual offset (shading) correction on each color channel please also chapter 8.4.4
Chromasens allPIXA pro - CD40127 Version 1.0
108
8.3
Generating black (offset) reference
By pressing the
button on the toolbar the reference wizard is started.
You have three options to generate a black reference
1) Create a black (offset) reference internally (8.3.1)
Use this function, if you want to do offset correction directly inside the camera.
2) Use a stored black (offset) level reference image (8.3.2)
Use this function, if you have a stored black level reference image in your hard disk.
3) Prepare camera to acquire a black(offset) reference (8.3.3)
Use this function, if you do not have a black level reference image and want to
generate a black reference with an image acquisition software. You can directly do an
offset correction after grabbing the black reference. The wizard will guide you through
this process.
Chromasens allPIXA pro - CD40127 Version 1.0
109
8.3.1 Create a black (offset) reference internally
The creation of a black level reference is only necessary during commissioning or if the gain
values are changed considerably.
Get the camera to the desired working point
Prepare the camera
1




Place a white reference in front of the camera
Check the lighting and focusing
Disable continuous white control
Save the parameters to the camera
Start the reference wizard

Press the wizard button

Press “Next”
2
Chromasens allPIXA pro - CD40127 Version 1.0
110
Select the “Create a black(offset) reference internally” function
3

Press the “Next”-Button
Optional:
White balancing

Decide, if you want to perform a white balancing
In order to achieve the best performance / image quality, it is advisable to do a white
balance
By performing a white balancing, the camera gain values are set correctly to acquire the
desired image for a black level reference.

Select the option, if necessary, then follow the instructions in the message box.
4
Note:
Changes which have not been saved at this point will be lost.
Chromasens allPIXA pro - CD40127 Version 1.0
111
Start the black level correction:
5



Select the data set, in which the offset-reference should be generated and stored,
then set the time out value
Cover the lens that the sensor will be completely dark
Press the “Next” button
Wait for result
6
 Press the “OK” button
Chromasens allPIXA pro - CD40127 Version 1.0
112
Activate black level correction and check the result in the image.
7
At least a few pixels should be bigger than 0 (e.g. 1 or 2) in the black image with
activated black level correction and covered lens. Otherwise, (if ALL pixels are 0) the
image is over-compensated and you may repeat the steps for reference generation.

Click the
button to save setting into volatile memory
You may proceed to chapter 8.4 to generate a shading reference.
Chromasens allPIXA pro - CD40127 Version 1.0
113
8.3.2 Use a stored black (offset) level reference image
The creation of a black level reference is only if the gain values are changed considerably.
Start the reference wizard

Press the wizard button

Press “Next”
1
Select the “Use a stored black(offset) level reference image” function
2

Press the “Next”-Button
Chromasens allPIXA pro - CD40127 Version 1.0
114
Choose the suitable offset reference image
3


Upload it into the wizard
Press the “Next”-Button
Define the area where the reference values should be calculated
a 

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible
Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
a
4
4 sets of black reference data are
possible to save in the camera. Please
enter the desired set number here.
b 
b
Press the “OK” button
Chromasens allPIXA pro - CD40127 Version 1.0
115
Saving reference data

You may send the reference data set to the camera and save the reference data
set to disk as a backup.
After finishing this procedure, the camera will be reset to be sure that the initial settings
are active again. The last used setting will be activated automatically.
 Press the “Next” button
5
 Press the “OK” button
Activate black level correction and check the result in the image.
6
At least a few pixels should be bigger than 0 (e.g. 1 or 2) in the black image with
activated black level correction and covered lens. Otherwise, (if ALL pixels are 0) the
image is over-compensated and you may repeat the steps for reference generation.

Click the
button to save setting into volatile memory
You may proceed to chapter 8.4 to generate a shading reference.
Chromasens allPIXA pro - CD40127 Version 1.0
116
8.3.3 Prepare camera to acquire a black (offset) reference
The creation of a black level reference is only necessary during commissioning or if the gain
values are changed considerably.
Please make sure that all changes made to your current setting are saved
permanently to the camera before using the shading wizard. Otherwise, all
changes will be lost!
Get the camera to the desired working point
1




Place a white reference in front of the camera
Check the lighting and focusing
Disable continuous white control
Save the parameters to the camera
Start the reference wizard

Press the wizard button

Press “Next”
2
Chromasens allPIXA pro - CD40127 Version 1.0
117
Select the “Set settings to acquire a black (offset) reference” function
3

Press the “Next”-Button
Optional: White balancing

Decide, if you want to perform a white balancing
In order to achieve the best performance / image quality, it is advisable to do a white
balance
By performing a white balancing, the camera gain values are set correctly to acquire the
desired image for a black level reference.

Select the option, if necessary, then follow the instructions in the message box.
4
Note:
Changes which have not been saved at this point will be lost.
Chromasens allPIXA pro - CD40127 Version 1.0
118
Acquire a black reference:
a

Cover the lens so there will be no light on the sensor and grab an image
Grab an image by using the appropriate acquisition software.
b


Save the image to disk
Press the “Next”-Button
5
c
a
b
d
c


Choose the black reference image
Upload it into the wizard
d

Press the “Next”-Button
Chromasens allPIXA pro - CD40127 Version 1.0
119
Define the area where the reference values should be calculated
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible

Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
a
6
4 sets of black reference data are
possible. Please enter the desired set
number here.
b
b

Press the “OK” button
Chromasens allPIXA pro - CD40127 Version 1.0
120
Saving reference data

You may send the reference data set to the camera and you can save the
reference data set to disk as a backup.
After finishing this procedure, the camera will be reset to be sure that the initial settings
are active again. The last used setting will be activated automatically.
 Press the “Next” button
7
 Press the “OK” button
Activate black level correction and check the result in the image.
8
At least a few pixels should be bigger than 0 (e.g. 1 or 2) in the black image with
activated black level correction and covered lens. Otherwise, (if ALL pixels are 0) the
image is over-compensated and you may repeat the steps for reference generation.

Click the
button to save setting into volatile memory
You may proceed to chapter 8.4 to generate a shading reference.
Chromasens allPIXA pro - CD40127 Version 1.0
121
8.4
Generating shading/ flat field reference
By pressing the
button on the toolbar the reference wizard is started.
You have three options to generate a shading reference
1) Create a white(gain) reference internally (8.4.1)
Use this function, if you want to do shading/flat field correction directly inside the camera.
2) Use a stored white (gain) level reference image (8.4.2)
Use this function, if you have a stored white/shading reference image in your hard disk.
This function should also be used when you need to use separate images for the single
color channels (e.g. when operating with different illumination setups, flash illumination,
etc.)
3) Prepare camera to acquire a white(gain) reference (8.4.3)
Use this function, if you do not have a white level reference image and want to generate a
white/shading reference with an image acquisition software. You can directly do an offset
correction after grabbing the black reference. The wizard will guide you through this
process.
Chromasens allPIXA pro - CD40127 Version 1.0
122
8.4.1 Create white (gain) reference internally
The creation of shading reference is only necessary during commissioning or if the gain values
are changed considerably.
Get the camera to the desired working point
1






Place a white reference in front of the camera
Check the lighting and focusing
Disable continuous white control
Save the parameters to the camera
Optional:
Activate black level correction
Optional:
Perform a white balancing
Note: The white reference target has to be placed into the best focus plane of the camera.
Therefore any features on its surface (e.g. dust, scratches) will end up in the calibration
profile of the camera. To avoid this when using a static (non moving) white reference target,
please use a clean white ceramic or plastic material, not paper. Ideally, the white object
should move during the calibration process as the movement will result in an averaging
process and the camera will diminish the effects on any small variation in the white
reference.
Start the reference wizard

Press the wizard button

Press “Next”
2
Chromasens allPIXA pro - CD40127 Version 1.0
123
Select the “Create a white(gain reference internally” function
3

Press the “Next” button
Optional: White balancing

Decide, if you want to perform a white balancing
In order to achieve the best performance / image quality, it is advisable to do a white
balance.
By performing a white balancing, the camera gain values are set correctly to acquire the
desired image for a black level reference.

Select the option, if necessary, then follow the instructions in the message box.
4
Note:
Changes which have not been saved at this point will be lost.
Chromasens allPIXA pro - CD40127 Version 1.0
124
Start the shading correction:
5

Select the data set, in which the offset-reference should be generated and stored,
then set the time out value.

Move the target slightly or defocus the lens to avoid streaky images, if necessary.
Note: Any features on the target surface (e.g. dust, scratches) will end up in the calibration
profile of the camera. To avoid this when you use a static (non moving) white reference
target, please use a clean white ceramic or plastic material, not paper. Ideally, the white
object should move during the calibration process as the movement will result in an
averaging process and the camera will diminish the effects on any small variation in the
white reference.

Press the “Next” button
Wait for result
6
 Press the “OK” button.
Chromasens allPIXA pro - CD40127 Version 1.0
125
Activate shading correction and check the result in the image.

Click the
button to save setting into volatile memory
Brightness of the newly scanned white balancing reference should be exactly at the
saturation limit. (255 @8Bit)
7
Note: At a later point, the image can be "desaturated" target value e.g. 230 for a white
paper) by using contrast adjustment of 230/255=0,90.
Save the setting
8
Click the burn button
to save setting permanently into the camera
Chromasens allPIXA pro - CD40127 Version 1.0
126
8.4.2 Use a stored white (gain) reference image
The creation of shading reference is only necessary during commissioning or if the gain values are
changed considerably.
Note: The white reference target has to be placed into the best focus plane of the camera. Therefore
any features on its surface (e.g. dust, scratches) will end up in the calibration profile of the camera. To
avoid this when using a static (non moving) white reference target, please use a clean white ceramic
or plastic material, not paper. Ideally, the white object should move during the calibration process as
the movement will result in an averaging process and the camera will diminish the effects on any small
variation in the white reference.
Start the reference wizard

Press the wizard button

Press “Next”
1
Select the “Use a stored black(offset) level reference image” function
2

Press the “Next”-Button
Chromasens allPIXA pro - CD40127 Version 1.0
127
Choose the suitable white reference image
z
a
3
a


Upload it into the wizard
Press the “Next”-Button
z
Note: For special applications the 3 color levels can also originate from various
images by activating z
Chromasens allPIXA pro - CD40127 Version 1.0
128
Define the area where the reference values should be calculated (a)

The white reference target covers the full scanning range (See sample image
below)
c
 proceed with a , b and

In case it is not possible to cover the full scanning width with a white reference
target (See sample image in “Step 4”)
(e.g. due to mechanical conditions), the resulting black image borders on the left and
right side can also be substituted by extrapolated values. So the bright area will be
extended outwards.
 proceed with “Step 5”
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible
b

4
Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
Sample image, if your white reference target covers the full field of view of the camera:
a
4 possible sets of shading reference
data are possible. Please enter the
desired set number here.
b
Use the gradient mode if your white reference
target has an inhomogeneous white surface.
c
c

Press the “OK” button and proceed with “Step 6”
Chromasens allPIXA pro - CD40127 Version 1.0
129
Define the area where the reference values should be calculated (b)

In case it is not possible to cover the full scanning width with a white reference
target (See sample image in “Step 4”)
(e.g. due to mechanical conditions), the resulting black image borders on the left and
right side can also be substituted by extrapolated values. So the bright area will be
extended outwards.
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible
b

Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
Sample image if the white reference target only partially covers the field of view of the
camera:
a
5
b
c
d
c

Mark the edges of the white reference
The extrapolation function can be used if the white reference target does not cover the
full scan area. Activate the function and set the left/right regions close to the left/right
edge of the white target. Either by entering the pixel number or by using of the mouse
placement
function.
d

Press the “OK” button and proceed with “Step 6”
Chromasens allPIXA pro - CD40127 Version 1.0
130
Saving reference data

You may send the reference data set to the camera and save the reference data
set to disk as a backup.
After finishing this procedure, the camera will be reset to be sure that the initial settings
are active again. The last used setting will be activated automatically.
 Press the “Next” button
6
 Press the “OK” button
Chromasens allPIXA pro - CD40127 Version 1.0
131
Activate shading correction and check the result in the image.

Click the
button to save setting into volatile memory
Brightness of the newly scanned white balancing reference should be exactly at the
saturation limit. (255 @8Bit)
7
Note: At a later point, the image can be "desaturated" ( target value e.g. 230 for a white
paper) by using contrast adjustment of 230/255=0,90.
Save the setting
8
Click the burn button
to save setting permanently into the camera
Chromasens allPIXA pro - CD40127 Version 1.0
132
8.4.3 Prepare camera to acquire a white (gain) reference
The creation of shading reference is only necessary during commissioning or if the gain values
are changed considerably.
Please make sure that all changes made to your current setting are saved
permanently to the camera before using the shading wizard. Otherwise, all
changes will be lost!
Get the camera to the desired working point
1






Place a white reference in front of the camera
Check the lighting and focusing
Disable continuous white control
Save the parameters to the camera
Optional:
Activate black level correction
Optional:
Perform a white balancing
Note: The white reference target has to be placed into the best focus plane of the camera.
Therefore any features on its surface (e.g. dust, scratches) will end up in the calibration
profile of the camera. To avoid this when using a static (non moving) white reference target,
please use a clean white ceramic or plastic material, not paper. Ideally, the white object
should move during the calibration process as the movement will result in an averaging
process and the camera will diminish the effects on any small variation in the white
reference.
Start the reference wizard

Press the wizard button

Press “Next”
2
Chromasens allPIXA pro - CD40127 Version 1.0
133
Select the “Set settings to acquire a white(gain) reference” function
3

Press the “Next”-Button
Optional: White balancing

Decide, if you want to perform a white balancing
In order to achieve the best performance / image quality, it is advisable to do a white
balance
By performing a white balancing, the camera gain values are set correctly to acquire the
desired image for a black level reference.

Select the option, if necessary, then follow the instructions in the message box.
4
Note:
Changes which have not been saved at this point will be lost.
Chromasens allPIXA pro - CD40127 Version 1.0
134
Acquire a shading reference:
a

Grab an image of the white reference target
Preferrably a moving target to avoid wrong data by dirt
Grab an image by using the appropriate acquisition software.
b


Save the image to disk
Press the “Next”-Button
5
z
c
a
b
d
c


Choose the white reference image
Upload it into the wizard
d

Press the “Next”-Button
z
Note: For special applications the 3 color levels can also originate from various
images by activating z
Chromasens allPIXA pro - CD40127 Version 1.0
135
Define the area where the reference values should be calculated (a)

The white reference target covers the full scanning range (See sample image
below)
 proceed with a , b and c

In case it is not possible to cover the full scanning width with a white reference
target (See sample image in “Step 4”)
(e.g. due to mechanical conditions), the resulting black image borders on the left and
right side can also be substituted by extrapolated values. So the bright area will be
extended outwards.
 proceed with “Step 7”
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible
b

6
Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
a
4 possible sets of shading reference
data are possible. Please enter the
desired set number here.
b
Use the gradient mode if your white reference
target has an inhomogeneous white surface.
c
c

Press the “OK” button and proceed with “Step 8”
Chromasens allPIXA pro - CD40127 Version 1.0
136
Define the area where the reference values should be calculated (b)

In case it is not possible to cover the full scanning width with a white reference
target (See sample image in “Step 4”)
(e.g. due to mechanical conditions), the resulting black image borders on the left and
right side can also be substituted by extrapolated values. So the bright area will be
extended outwards.
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible
b

Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
Sample image if the white reference target only partially covers the field of view of the
camera:
a
7
b
c
d
c

Mark the edges of the white reference
The extrapolation function can be used if the white reference target does not cover the
full scan area. Activate the function and set the left/right regions close to the left/right
edge of the white target. Either by enter the pixel number or by using of the mouse
placement
function.
d

Press the “OK” button and proceed with “Step 8”
Chromasens allPIXA pro - CD40127 Version 1.0
137
Saving reference data

You may send the reference data set to the camera and save the reference data
set to disk as a backup.
After finishing this procedure, the camera will be reset to be sure that the initial settings
are active again. The last used setting will be activated automatically.
 Press the “Next” button
8
 Press the “OK” button
Chromasens allPIXA pro - CD40127 Version 1.0
138
Activate shading correction and check the result in the image.

Click the
button to save setting into volatile memory
Brightness of the newly scanned white balancing reference should be exactly at the
saturation limit. (255 @8Bit)
9
Note: At a later point, the image can be "desaturated" (target value e.g. 230 for a white
paper) by using contrast adjustment of 230/255=0,90.
Save the setting
10
Click the burn button
to save setting permanently into the camera
Chromasens allPIXA pro - CD40127 Version 1.0
139
8.4.4 Single color channel reference generation for special illumination situations (Separate
lighting for each color channel)
For special tasks a special illumination setup might be necessary. If an inspection task is done where
in each color channel different information will be evaluated by using a special illumination per
channel, the balancing procedure must be done individually per channel.
The creation of a shading reference is only necessary during commissioning or if the gain
values are changed considerably.
Please make sure that all changes made to your current setting are saved
permanently to the camera before using the shading wizard. Otherwise, all
changes will be lost!
Get the camera to the desired working point
1

Please setup the working point and the tap balancing of the camera
before grabbing the reference images according to chapter 8.2.4. Do not
use the tap balancing function

Optional:

Optional:
Activate black level correction (Do not use with the separate color
channels)
Perform a white balancing(Do not use with the separate color
channels)
Note: The white reference target has to be placed into the best focus plane of the camera.
Therefore any features on its surface (e.g. dust, scratches) will end up in the calibration
profile of the camera. To avoid this when using a static (non moving) white reference target,
please use a clean white ceramic or plastic material, not paper. Ideally, the white object
should move during the calibration process as the movement will result in an averaging
process and the camera will diminish the effects on any small variation in the white
reference.
Chromasens allPIXA pro - CD40127 Version 1.0
140
Start the reference wizard

Press the wizard button

Press “Next”
2
Select the “Set settings to acquire a white(gain) reference” function
3

Press the “Next”-Button
Chromasens allPIXA pro - CD40127 Version 1.0
141
Optional: White balancing

Decide, if you want to perform a white balancing
The camera must have been balanced before by using the white and tap balancing
functions on the separate color channels(8.2.4).
Do not use the white balancing functions out of the reference wizard when using
separate color channels!
4
Note:
Changes which have not been saved at this point will be lost.
Chromasens allPIXA pro - CD40127 Version 1.0
142
Acquire a shading reference:
a

Grab an image of the white reference target
Preferrably a moving target to avoid wrong data by dirt
Grab an image by using the appropriate acquisition software.
Perform this procedure for each color channel with the appropriate illumination
b


Save the image to disk
Press the “Next”-Button
5
z
c
a
b
d
c


Choose the white reference images
Upload it into the wizard
d

Press the “Next”-Button
z
Note: Activate this checkbox. The 3 color levels will originate from different images
by activating this option. Uncompressed grey and color images are allowed as input
format..
Chromasens allPIXA pro - CD40127 Version 1.0
143
Define the area where the reference values should be calculated (a)

The white reference target covers the full scanning range (See sample image
below)
c
 proceed with a , b and

In case it is not possible to cover the full scanning width with a white reference
target (See sample image in “Step 4”)
(e.g. due to mechanical conditions), the resulting black image borders on the left and
right side can also be substituted by extrapolated values. So the bright area will be
extended outwards.
 proceed with “Step 7”
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of white reference data are possible
b

6
Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
It is only possible to define one area for the reference data which is used for every color
channel. Please make sure that you set this area to fit all channels!
a
4 possible sets of shading reference
data are possible. Please enter the
desired set number here.
b
Use the gradient mode if your white reference
target has an inhomogeneous white surface.
c
c

Press the “OK” button and proceed with “Step 8”
Chromasens allPIXA pro - CD40127 Version 1.0
144
Define the area where the reference values should be calculated (b)

In case it is not possible to cover the full scanning width with a white reference
target (See sample image in “Step 4”)
(e.g. due to mechanical conditions), the resulting black image borders on the left and
right side can also be substituted by extrapolated values. So the bright area will be
extended outwards.
a

Define the data set in which the offset-reference should be generated and stored
4 sets (1-4) of black reference data are possible
b

Set the area where the reference values should be calculated
Use at least 100 lines for calculating the reference values in order to eliminate noise.
The values used for the reference will be calculated by averaging each column in the
selected area.
Sample image if the white reference target only partially covers the field of view of the
camera:
a
7
b
c
d
c

Mark the edges of the white reference
The extrapolation function can be used if the white reference target does not cover the
full scan area. Activate the function and set the left/right regions close to the left/right
edge of the white target. Either by enter the pixel number or by using of the mouse
placement
function.
d

Press the “OK” button and proceed with “Step 8”
Chromasens allPIXA pro - CD40127 Version 1.0
145
Saving reference data

You may send the reference data set to the camera and save the reference data
set to disk as a backup.
After finishing this procedure, the camera will be reset to be sure that the initial settings
are active again. The last used setting will be activated automatically.
 Press the “Next” button
8
 Press the “OK” button
Chromasens allPIXA pro - CD40127 Version 1.0
146
Activate shading correction and check the result in the image.

Click the
button to save setting into volatile memory
Brightness of the newly scanned white balancing reference should be exactly at the
saturation limit. (255 @8Bit)
9
Note: At a later point, the image can be "desaturated" (target value e.g. 230 for a white
paper) by using contrast adjustment of 230/255=0,90.
Save the setting
10
Click the burn button
to save setting permanently into the camera
Chromasens allPIXA pro - CD40127 Version 1.0
147
8.5
Using continuous white control
8.5.1 Continuous operating point adjustment at the edges
Continuous operating point adjustment at the edges can be used in both - the line scan and
the area scan operating modes.
The allPIXA pro camera evaluates the brightness of the respective channels in this range and
compares the results with a programmable set value. The amplification values for each color
channel are automatically adjusted.
Figure 33: allPIXA camera with continuous automatic white balancing
1

Setup the camera
2

Place the static white reference in front of the camera and check the position

Switch on the white reference borders

Set the position of the white reference boarders (see also chapter 9.3)
3
Chromasens allPIXA pro - CD40127 Version 1.0
148
4
5
6

Switch on the white control:

Select the tap for white control

Disable “Use sync mode”

Set the target values
If the white target is placed at the borders of the image, they might be lower than in the
center

Wait for balanced image

Check for saturation

Refresh the data in CST

Set the initial gaining values

Burn the setting

Check the function by lowering the light in the control zone, e.g. by a shadow.
Chromasens allPIXA pro - CD40127 Version 1.0
149
8.5.2 Image-synchronous operating point adjustment on the object (ROI)
The image-synchronous operating point adjustment can only be used in area scan operating
mode.
If the object has an area which is suitable as reference for the operating point, this area can be
set in the allPIXA camera as an ROI (Region of Interest). The allPIXA camera evaluates the
brightness of the respective channels in this range and compares the results with a
programmable set value. The amplification values for each color channel are automatically
adjusted.
Figure 34: Image-synchronous operating point adjustment on the object (ROI)
NOTE I
This mode requires an image trigger signal at the allPIXA camera. The image trigger
can be provided by CC1 through the Camera Link or by the IO-port of it. The allPIXA
camera has to be operated in frame scan mode. Gain control has to be set to image
synchronized mode.
NOTE II
At image synchronized mode, the behavior of the closed loop control will be slower
than in free running mode.
1

Setup the camera
2

Start the transport with sample objects

Switch on the white reference borders

Set the position of the white reference borders (see also chapter 9.3)
3
Chromasens allPIXA pro - CD40127 Version 1.0
150
4
5
6

Switch on the white control

Select the tap for white control

Enable “Use sync mode”

Set the target values
If the white target is placed at the borders of the image they might be lower than in the
center

Wait for balanced image

Check for saturation

Refresh the data in CST

Set the initial gaining values

Burn the setting

Check the function by lowering the light in the control zone, e.g. by a shadow.
Chromasens allPIXA pro - CD40127 Version 1.0
151
8.6
Encoder connection and setup
For detailed function of parameters please see also chapter 9.16.
8.6.1 Line trigger and encoder settings
Settings for line trigger and encoder mode are edited within this window. For more detailed
description of the parameters refer to chapter 9.16.
Button
Function key
Menu
View/Encoder setup
8.6.2 Connect the encoder to the camera
There are two different ways to transmit the encoder signals to the camera:
1. Connect the camera using Camera Link CC-bits
- If the encoder is connected to the frame grabber, please ensure that the
signal will be transferred to CC1 and CC2 bits of the Camera Link cable.
2. Directly connect the encoder to the camera:
- To connect the encoder signals directly to the camera you can use the I/O
connector (D-Sub15 Pin 1/9 and 2/10).
- For a detailed pin assignment please see chapter 5.1.3
- Also see the input level definition in chapter 5.1.4
8.6.3 Define the input channel in the camera
After connection of the signals the camera has to be setup to the correct input channel for the
encoder signals. Therefore please use the I/O configuration page of the Camera CST (chapter
8.10)
Open the I/O Configurator by using the icon
from the menu bar
To define the input channels of the encoder the inputs can be combined to the following
groups:
Chromasens allPIXA pro - CD40127 Version 1.0
152
Encoder channel 1 parameters
Encoder channel 2 parameters
Enable encoder mode
parameters
Frame trigger input parameters
Master / Slave parameters
1. Define input encoder channel 1 (line 1-5)
- In this section the input channel for the encoder channel 1 can be selected from
different external pins.
- In this section only one option should be selected.
2. Define input encoder channel 2 (line 6-10)
- In this section the input channel for the encoder channel 2 can be selected from
different external pins.
- If only a one channel encoder is used then select a defined level on this pin (static
low)
- In this section only one option should be selected.
3. Define enable signal of encoder (line 11-13)
- This section allows you to define an external enable signal for the encoder mode.
(see also chapter 9.16.1)
- In no external enable signal is used then please select line 11 (default). The
encoder will then be controlled with the camera setting
- In this section only one option should be selected.
4. Define frame trigger input (line 15-19)
- In this section the input channel for the fame trigger can be selected from different
CC-bits or external pins.
- In this section only one option should be selected.
5. Define frame trigger input (line 20-23)
- In first section (Line 20-21) the input channel for the SelectMaster for the master
camera can be selected from different CC-bits or external pins.
- In the second section (Line 22-23) the connections for the Master/Slave Interface
can be selected from different external pins.
- In teach section only one option should be selected.
Chromasens allPIXA pro - CD40127 Version 1.0
153
8.6.4 Configuration of the encoder mode and resolution
For configuration please use the encoder setting page in the CST to define all of the
parameters. For a detailed description see also chapter 9.16.
Open the Encoder setup page by using of the icon
from the menu bar
Setup of the encoder parameter:
1. Enable/disable the encoder functionality by selecting “Enable encoder”
2. Select synchronization mode (for more details see chapter 9.16.2)
- Line trigger mode (Const. int time)
In line trigger mode the camera will send one line per pulse. (if using the line trigger/
encoder reduction the camera will send one line for the number of defined pulses)
-
Encoder (continuous update)
The encoder mode will use the internal intelligent encoder functionality. The camera
measures the speed of the object and will send lines based on the defined encoder
and vertical image resolution.
3. Encoder channels (see also chapter 0)
- Select the number of recognized edges per step of the encoder signal.
4. Line trigger/encoder reduction (see also chapter 9.16.7)
- In line trigger mode: The value define how many trigger signals are used for the
triggering of one scanning line
-
In encoder mode: this factor can be used to reduce the number of encoder pulses per
line. If the number of encoder pulses per line increases 255 then this factor has to be
used to reduce the number below 255.
5. Average size (see also chapter 9.16.4)
- Define how many encoder increments are averaged for speed measurements.
Chromasens allPIXA pro - CD40127 Version 1.0
154
6. Encoder resolution (see also chapter 9.16.5)
- Define the resolution of the encoder in µm/step
7. Vertical image resolution (see also chapter 9.16.6)
- Define the physical resolution in transport direction.
- With this definition the camera will calculate and display the encoder pulses per line.
- Please note: if the resolution and speed is too high and require a shorter integration
time than defined in the camera setting then the camera will constantly output image
data with the defined integration time until the speed drops below the required
integration time.
8. Encoder pulses per line
- This value is calculated by the camera using the above defined parameters.
- The maximum allowed value is 255
- If this value exceeds 255 then please use the above line trigger/encoder reduction
parameter to reduce this value below 255.
8.6.5 Encoder - enable /disable by external input signal
With the enable increments setting you can enable/disable the encoder input by using an
external I/O Port (CC-Bit3 or CC-Bit4 of the Camera Link interface). This feature can be useful
to enable the encoder in real time (e.g. application with multiple cameras). The function is
configured with the IO Configuration menu.
For detailed encoder setup see also chapter 8.6
NOTE
If this feature is not used, the configuration must be set to default
Chromasens allPIXA pro - CD40127 Version 1.0
155
8.7
Multi-channel flash control
With the multi-channel LED control the camera provides up to 4 individual flash outputs for
illumination controllers. The flash outputs are fully synchronized to the line trigger to allow high
speed synchronous triggering of different illuminations.
1.
2.
3.
4.
5.
6.
Chromasens allPIXA pro - CD40127 Version 1.0
allPIXA pro camera
Camera Link cable
Host PC
Illumination modules
LED driver
Encoder / Trigger
156
8.7.1 Basic operation principle
The camera provides up to 4 different outputs which can be operated individually to control
illumination drivers.
Several outputs can individually be combined to be triggered at the same time. Each flashing
scenario can be defined individually as line pattern. The camera provides up to 4 different line
patterns which will be executed in a sequence. This sequence will be repeated as long as
scanning or triggering is active.
The following scheme demonstrates a sequence cycle with 3 different line patterns. In this
sample the duration for each line pattern is set individually. All 4 available output channels are
used.
NOTE
When flash mode is active the camera will use the individually defined line
pattern times for setup the integration time of each scanning line.
The camera integration time setting value will be ignored when using the
flash mode.
Line pattern time
For each output channel (1…4) a time can be defined at which the specific output is
active. The resulting time for each line pattern is determined by the largest value.
Example corresponding to the figure above:
Line pattern 3
-> active time for flash channel 3 = 150 µs
-> active time for flash channel 4 = 110 µs
 the resulting duration of line pattern 3 = 150 µs
The minimum time for a line pattern is defined by the following parameters:
1. Minimum integration time of the camera:
The minimum integration time depends on the speed of the camera (minimum
possible integration time) and the scan line length.
2. Minimum time for output a scan line via Camera Link interface:
The time for transfer a scan via Camera Link depends on the selected Camera
Link mode (base, medium, full) and the Camera Link frequency.
A table with the dependencies of the possible scan line speed with different Camera Link
modes is show in chapter 2.2 „Camera speed for available Camera Link modes and
frequency“.
Chromasens allPIXA pro - CD40127 Version 1.0
157
Note:
If the length of a line pattern is shorter than the minimum possible line time (regarding
minimal camera integration time and Camera Link speed) then the camera automatically
increases the specific line pattern time before starting next line pattern.
This will then also increase the required sequence time.
Sequence time:
Free run mode:
The camera sequence time is the defined time for one full sequence with up to 4
individual line patterns. During one sequence time cycle the camera will output as
many number of lines as line patterns are defined.
The sequence time (in combination with the transport speed) defines the transport
resolution of the image.
Triggered mode (encoder/line trigger):
One full sequence is executed per trigger signal. Within such a sequence the
camera will output as many number of lines as line patterns are defined (1 up to 4
line patterns are possible). When using 4 line patterns, then the camera will output 4
lines for each trigger signal.
Please make sure that the sum of all line pattern time definitions is short enough to
be completely executed at full speed scanning.
If the allowed value for the sequence time is too short to cover all defined line pattern
times then the camera will return an appropriate error code:
0xD7: LED flash mode: sum of all pattern exceed sequence time
Flash channel
Signal output channel for control of an illumination controller.
Idle time:
Idle time in free run mode:
If sum of all active line patterns is less than “sequence time” than the patterns could
be changed without changing the transport resolution of the camera/system.
Idle time in encoder/line trigger mode:
After the last line pattern the camera waits for the next line trigger to start the next
sequence.
In both cases (freerun/with ext. line trigger) the camera automatically adapts the subline time
(sum of all active line patterns) to the minimum required time. This optimization function allows
using the camera at maximum possible speed of the system in regard to the flash times. For a
detailed speed optimization sample please see chapter 8.7.3.1 Feature: scan speed
optimization.
Chromasens allPIXA pro - CD40127 Version 1.0
158
8.7.2 Setup the multi-channel LED control
The CST software provides an easy setup of the multi-channel flash control:
Procedure to setup the LED control:
1. Set “led flash mode” to “enabled”
2. Select the number of line patterns you like to use (up to 4)
Chromasens allPIXA pro - CD40127 Version 1.0
159
3. Please enter the desired flashing times of the output channel for each line pattern which is
used. You can use up to 4 channels. If a channel is not used then please enter 0.0
4. Enter a suitable sequence time. This time is used for free run (with/without ext. line trigger).
The sequence time will define the time for one full sequence cycle and therefore defines the
transport resolution (in combination with the transport speed). For more information see above
chapter: 8.7.1
Chromasens allPIXA pro - CD40127 Version 1.0
160
8.7.3 Sample setup for 4 different illumination units (free run)
Operation sample for a flash control setup with 4 individual illuminations and 4 patterns:
Operation mode:
free run
Camera integration time: not used
(The line time will be defined individually by the definition of each
line pattern. The parameter “integration time” in the camera will be
ignored when using the flash mode)
Used LED channels:
4
Line patterns:
4
Sequence time:
400 µs
Timing diagram:
Camera setup with CST:
8.7.3.1
Feature: scan speed optimization
If the sum of all line patterns is shorter than the sequence time then the scanning speed can
be optimized like follows:
Based on the sample data from above the total active time (sum of all line pattern times) for all
of the 4 line patterns is 240 µs (minimum sequence time).
The sequence time is set to 400µs. This will result in an idle time for this setup of about 160µs.
This will provide the opportunity to reduce the sequence time and therefore speed up the total
scanning speed.
Conventional camera setup:
- 4 individual flash scenarios
- Integration time 100µs
- Required time for one full sequence = 400µs
Chromasens allPIXA pro - CD40127 Version 1.0
161
allPIXA pro - optimized camera setup using flash function:
- 4 individual flash scenarios
- Using the real individual line pattern times for scanning:
resulting sequence time = 240µs (100µs+40µs+50µs+50µs)
- Required time for one full sequence = 240µs
The optimized flash scenarios will lead to a much faster sequence time of 240µs instead of
400µs. Using the allPIXA pro flash function the next flash sequence can be started right after
240µs. This will total save 160µs of scanning time per sequence.
 Scanning speed increase of about 66% by using the allPIXA pro flash function
8.7.4 Sample setup for 2 different illumination units (triggered mode)
Operation sample for triggered mode with 2 individual illuminations and 3 patterns:
Operation mode:
Camera integration time:
Used LED channels:
Line patterns:
Sequence time:
NOTE
encoder, line trigger
not used (The line time will be defined individually by the definition
of each line pattern. The parameter “integration time” in the camera
will be ignored when using the flash mode)
2
3
not used in encoder mode. The sequence time must be set larger
than the sum of the individual line patterns.
One full sequence is executed per trigger signal. Within such a sequence the
camera will output the same number of lines as line patterns are defined. In
this example the camera will output 3 lines for each trigger signal.
Please make sure that the sum of the used line patterns times is short enough
to be completely executed at full speed scanning.
Timing diagram:
Chromasens allPIXA pro - CD40127 Version 1.0
162
Camera setup with CST:
8.7.5 Electrical interface (pin assignment)
For voltage levels (LVCMOS) of trigger signals please see chapter: 5.1.4
Please check for correct input voltage levels
Non-compliance can result in irreparable damages to the allPIXA pro camera!
Cabling requirements:
- The connection cable from camera to LED controller has to be fully shielded
- Use the same ground potential for all devices (cameras, LED-Drivers, shielding for all
cables, …) Also use 0V ground pins for ground potential at the controller
- The max length of the cable between camera and LED controllers is 5m
Pin no.
Level
Description
1
RS 422
GPIO_P0 (input)
2
RS 422
GPIO_P1 (input)
3
LVCMOS
GPIO_P4
4
LVCMOS
GPIO_P2
5
3.3 V over 100 Ohm
Power
6
LVCMOS
GPIO_P3
Out3
7
0V
Ground
0V
8
LVCMOS
GPIO_N4
Out4
9
RS 422
GPIO_N0 (input)
10
RS 422
GPIO_N1 (input)
11
0V
Ground
0V
12
LVCMOS
GPIO_N2
Out2
13
0V
Ground
0V
14
LVCMOS
GPIO_N3
LEDDRV_CLK
15
5 V over 100 Ohm
Power supply
Chromasens allPIXA pro - CD40127 Version 1.0
LED-Flash
Out1
163
Out 1 – Out 4:
0V:
NOTE
LED trigger output signal for channel 1 – 4
0V signal ground potential for use with Out 1-4 at the LED controller
Please always use 0V ground signal level of the camera in addition to the
OUT channels for the signal levels at the LED controller.
8.7.6 I/O port configuration
For the operation of the flash control the selected output ports (Out 1…4) were allocated
automatically when the flash control is activated.
Please make sure that the ports are not in use for other functionality. Any definitions for this
output channels in the I/O configurator
8.8
will be ignored once the flash control is activated.
Principle of the master-slave synchronization
The trigger signals from light barrier and/or encoder are connected to the master camera only.
This could be done with the CC-bits via the frame grabber or directly connected to the master
allPIXA pro camera. This trigger information is transferred via the master-slave interface to the
slave camera(s). Due to this synchronization interface all cameras runs with exactly the same
timing for lines and optional frames.
Master
camera
1. Slave
camera
2. Slave
camera (optional)
Master-slave interface
Encoder and light barrier
via frame grabber or
directly connected to
master allPIXA camera
Lightbarrier
Encoder
Chromasens allPIXA pro - CD40127 Version 1.0
164
8.8.1 Parameter and region of interest of the master-slave synchronization
MASTER
SLAVE(S)
Line – and
Image trigger
IO-Config
Spike suppression
Image + line trigger
State machine *)
 internal Sync
Wait for
“First relative pixel
for white
reference”
(Tag x2A3)
Lines
Wait for
“First valid scan
line”
(Tag x230)
Lines
WhiteRef-ROI
Wait for
“First relative pixel
for white
reference”
(Tag x2A3)
Lines
Wait for
“First valid scan
line”
(Tag x230)
Lines
WhiteRef-ROI
Image
*) Available modes for state machine (internal sync):
line trigger modes:
- Free running
- Line trigger
- Encoder mode
Image
(Note: All modes should be set for all cameras to the same value)
frame trigger modes:
- Free running
- Use start condition
- Use start/stop condition
NOTE




The slave camera(s) must know if the master runs with encoder/line-trigger
or in free run. Therefore all modes should be set in all cameras to the same
value.
The position of the image in transport direction (Y) of each camera can be
set separately (start and length)
Also the position (X + Y) and the size of the white reference could be set
separately in each camera
The connection between master and slave must set by the I/O-configuration!
Chromasens allPIXA pro - CD40127 Version 1.0
165
8.8.2 Setup the cameras for master-slave synchronization
There are two options to set the cameras either to master or slave:
(a) Software:
The cameras have dedicated settings or the PC sets the camera to master or slave
via the TAG_MASTER_SLAVE_CONFIGURATION
or
I/O definition
If the master/slave definition is set by software setting like above the configuration of
nSelMaster input is ignored. So no selection for nSelMaster has to be done.
(b) Hardware (external input signal for master definition):
To set the camera for master/slave detection using external pin assignments by the
I/O connector or CC bit 4 from the Camera Link interface you may choose the option
“auto select by input”
The automatic master slave detection is using the input pin assignment on the 15 pin
I/O connector or the CC4 bit via Camera Link. The definition has to be as follows:
Background information: The signal nSelMaster is low active. A logic 0 on this input
switches the camera to master, a logic 1 (or open on I/O-Interface) set the
camera as slave. The input is held high by an internal Pull-Up.
- Master camera definition:
1. By using pin assignment: external master definition by applying a low voltage
level (ground) to pin 3 (nSelMaster). Therefore an electrical connection from
pin 3 to pin 11 on the D-Sub 15 connector can be used. (see following section
“2. Connecting the master/slave cameras (cabling)”)
2. By using the CC4 bit: apply a low signal on this bit via the frame grabber.
- Slave camera definition:
1. By using pin assignment: no pin assignment is needed
2. By using the CC4 bit: apply a high signal on this bit via the frame grabber
I/O definition
If the master camera definition is defined from externally please check the desired
input for nSelMaster. For example for defining master save by hardware check the IOInterface-3 like shown. If you like to use CC4 bit signal to define master slave then
check the line below.
Chromasens allPIXA pro - CD40127 Version 1.0
166
8.8.3 Connecting the master-slave cameras (cabling)
The master/slave-interface consists of two timing signals for standard setup (pin 6 and 8). These two
signals have to be connected 1:1 between the master and all of the slave camera(s). Additionally
ground signal has to be connected between master and slave cameras. Therefore pin 7 and 13 can be
used for a 1:1 connection between master and slave camera(s). It is recommended to have a 1:1
connection at least at pin 6; 7 and 8 (optionally pin 13) of all master and slave cameras.

NOTE
At least one ground signal must be connected in addition to the two timing
signals (pin 6 and 8).
I/O definition
To enable the I/O input for master-slave communication please select in the I/O configurator the
appropriate input like shown below.
Cabling between master-slave cameras
Make sure at lease pin 6, 7, 8 (and 13) are 1:1 connections between all master and slave cameras.
For master definition using pin assignment additionally connect pin 3 and 11 at the master camera.
Pin
no.
Level
Connection at master
camera
Connection at slave
camera(s)
1
RS 422
Incremental encoder (high,
Optional)
open
2
RS 422
Light barrier (high, Optional)
open
3
LVCMOS
nSelMaster (Bridge to 0 V)
Open, internal PullUp
4
LVCMOS
-
-
5
3.3 V over 100
Ohm
open
open
6
LVCMOS
Master/Slave-interface
Master/Slave-interface
7
0V
0V
0V
8
LVCMOS
Master/Slave-interface
Master/Slave-interface
9
RS 422
Incremental encoder (low,
Optional)
open
10
RS 422
Light barrier (low, Optional)
open
11
0V
0 V(Bridge to nSelMaster)
-
12
LVCMOS
-
- 1:1 connections
13
0V
0V
-0 V
14
LVCMOS
-
-
15
5 V over 100
open
open
Chromasens allPIXA pro - CD40127 Version 1.0
Only at Master!
(only if master selection by
hardware is used)
167
Ohm
Alternative input signals selection:
If the pin 6 and 8 of the 15 pin connector are already used for other applications then alternatively the
combination of pin 4 and 12 can be used alternatively for the master slave interface.
If using these pins then the electrical connection between master and slave has to be adapted
accordingly. Instead of pin 6+8 like described above the pins 4+12 has to be connected between all
cameras.
NOTE

At least one ground signal (pin 7 or 13) must be connected in addition to the
two timing signals (pin 4 and 12).
I/O definition
To enable the I/O input for master slave communication for the alternative input signals at pin 4 and 12
please choose the appropriate input interface.
8.8.4 Framegrabber setup information for Master/Slave operation
There are two basic strategies for camera/framegrabber configurations to setup the system for master
/ slave mode.
Option 1 (frame mode):
Frame Signal:
Framegrabber mode:
Camera synchronization:
Camera operation:
Frametrigger signal is provided only to the master camera (e.g.
directly to the camera or via CC3 on Camera Link)
Frame mode
Cameras are synchronizing each line and also provide FrameValid
signal to the framegrabbers
Freerun mode/ encoder mode / frame mode
Operation: The frame trigger signal is only send to master camera e.g. by using CC3 bit. Each
framegrabber is set to frame mode. The cameras will run fully synchronized. The
camera also provides the framegrabber the Line- and FrameValid signal.
Chromasens allPIXA pro - CD40127 Version 1.0
168
*FT – Frametrigger
*LT – Linetrigger
*FVAL – FrameValid
*LVAL – LineValid
Option 2 (line mode):
Frame Signal:
Framegrabber mode:
Camera synchronization:
Camera operation:
Frametrigger signal is provided to each framegrabber
Line mode
Cameras are synchronizing each line
Freerun mode/ encoder mode
Operation: The frame trigger signal is send to each framegrabber e.g. by using a dedicated
connection cable. So each framegrabber has the same FrameValid signal
available.
The cameras synchronize each line to each other. Each camera is outputting lines
continuously.
Special feature: use FVal to also trigger the framegrabbers in linemode
If the master camera is triggered by frametrigger, then all camera will also provide
an FVal signal to the framegrabber. Depended on the functionality of the used
framegrabber in line mode, the framegrabber is able to process the FVal signal for
image start or not.
If the framegrabber is restricted in the functionality and cannot process the FVal
signal then the frametrigger has to be provided to each framegrabber (like shown
below).
Chromasens allPIXA pro - CD40127 Version 1.0
169
*FT – Frametrigger
*LT – Linetrigger
*FVAL – FrameValid
*LVAL – LineValid
For detailed setup of the frame grabber please refer to your frame grabber manual or contact support
of your frame grabber dealer.
8.9
Edit color conversion (correction) matrix
For the function color conversion matrix (CCM), e.g. from RGB to sRGB, the user is in the position to
edit and save up to 4 color conversion matrix tables.
 Rout   C 00, C 01, C 02   Rin  Offset R 


 
 
 Gout    C10, C11, C12  *  Gin  Offset G 
 Bout   C 20, C 21, C 22   Bin  Offset 

 
 
B 
With:
Offset: Additional Offset in 10Bit range, from -511 to +511 corresponding -0,5 to +0,5
Cxy
Gainfactor from -2,0 to +2,0.
The CCM can be found in CST\Advanced\Edit color conversion matrix
Matrix 1: Preconfigured color conversion matrix for sRGB conversion:
Transparent color conversion matrix:
Chromasens allPIXA pro - CD40127 Version 1.0
170
NOTE
The CCMs # 2 to 4 can be set to user values.
4 matrix data sets are available in the camera.
NOTE I
Matrix 1 (sRGB) is the default data set and is write-protected.
In order to use the sRGB conversion, please additionally choose “Gammatable 0.1”!
NOTE II
By pressing the button „Save as…“, the user is in the position to select another data
set to save the current data to. The user may also select „Matrix 2“ to „Matrix 4“.
“Save as…”:
NOTE III
Saves the CCM to a different matrix number.
By pressing the button „Save values“, the user is in the position to save the changes
to the currently selected data set. If the data set „Matrix 1“ is selected the button will
be disabled.
“Save values”: Saves the values of the current CCM
NOTE IV
“conversion matrix” Only visible in “Guru-mode”
Chromasens allPIXA pro - CD40127 Version 1.0
171
8.10 IO-configuration
The allPIXA camera offers different ports for synchronizing image data.
Its functions are as follows:


Line trigger or encoder
Frame trigger
2 ways will be offered to transfer the signals to the camera:


CC bits on the Camera Link cable
IO-port (D-Sub-15) on the allPIXA camera
External ports have to be connected to the internal functions by using the IO-configurator.
For detailed encoder setup see also chapter 8.6
Button
Function key
Menu
Advanced/IO-Configurator
Line trigger inputs
Enable Line trigger
inputs
Frame trigger inputs
Master/Slave
configuration

Please avoid double use of internal functions (only select one input for line trigger or
frame trigger)

Press “F9” or the button

Press “F10” or the button
to transfer the selection to the camera.
to save changes permanently on the camera.
Chromasens allPIXA pro - CD40127 Version 1.0
172
9 Camera parameters
The camera parameters are arranged according the same order as listed in the CST software.
In this part of the manual the parameters are described “as they are”. For the description of
the way to setup the camera in a working process, please refer to chapter 8 “Camera
operation”
The visibility of the parameters is defined by the chosen “User level” in the CST-application.
Please refer to chapter 9.18 for more information which user level is required to modify certain
parameters.
You may find a general overview of the camera parameters and their general functions on the
CST user interface in chapter 6.2.
9.1
Integration time parameters
9.1.1 Integration time
Name
Name
Integration time
Function
Sets the integration time in microseconds to the camera
Unit
Float
Step:
0.001
Linear
Dependency
None
Notes
These
are
the
minimum
integration
times
for
the
The speed could additionally be throttled by Camera Link parameters!
camera.
Please refer to chapter 9.10.5 for more details
Camera:
Lower limit
Upper limit
Value CST:
2k
10.78 µs
4k
19,68 µs
7.3k
33,65 µs
All
9.25 ms
For minimum integration time for different camera types at different output pixel clocks please
see chapter 9.10.5 for details
Chromasens allPIXA pro - CD40127 Version 1.0
173
9.1.2 Use line period
Name
Name
Use Line Period
Function
Activates the function for independent control of integration time and line period
time.
Channels
All
Unit
Bool
Dependency
Camera must be in “Free running” mode; the parameter “Enable encoder” has to
be disabled.
Notes
Camera:
Value CST
Lower limit
All
Off
Upper limit
All
On
9.1.3 Line period time
Name
Name
Line period time
Function
Sets the value for line period in microseconds to the camera.
Unit
Float
Step:
0,001
Linear
Dependency
Notes
It is only active when the option “Use line period” has been set into active mode
Value must be bigger than “Integration time”
Camera:
Value CST
1k
OEM only
2k
>10.78 µs
4k
>19,68 µs
7k
>33,65 µs
All
9.25 ms
Lower limit
Upper limit
Int. time
Line period
Int. time
Line period
Chromasens allPIXA pro - CD40127 Version 1.0
Int. time
Line period
174
9.2
Gain and reference
9.2.1 Target white reference values
Name
Name
Target white reference values
Function
Video value for the desired value of the closed loop control for white balancing
Red, Green, Blue
Channels
Odd; Even
Front; Rear
Unit
Integer
Linear
Dependency
It is only active when the option “Enable White Control” has been set into active
mode

Refers to the white control mark. Inside this area the closed loop control tries
to adjust gain to reach these desired values.

Internal value is a 14 bit video, GUI-values are 10-bit video value, output
range of the image at the Camera Link port is usually 8-bit range
Notes
Camera:
Value:
Lower limit
all
0
Upper limit
all
1023 – dark reference value
This parameter refers to the reference values labeled with (1) in the diagram of 4.9.
NOTE I
The maximum reachable value for the target values will be
Target values = 1023 - max dark reference value (with active black level
correction). The typical dark reference values are about 4 …16 (in 8 bit) in the raw
image date.
NOTE II
The level of the target value has to be adapted to the position of the white reference
control zone (see Figure 36). For zone 1 the values have to be set to a lower value
than for zone 2. If the target values for zone 1 are too high it will result in saturation
in the image’s center.
Video raw
value
1023
0
Control zone 1
Control zone 2
pixel n
Red = raw video values
Green = theoretical max. values
Blue = real max. values (1023 – dark ref. Values)
Figure 36: Sample of raw and theoretical video and dark reference values
(with 10 bit GUI value range)
Chromasens allPIXA pro - CD40127 Version 1.0
175
9.2.2 Analog coarse gain
This parameter describes the coarse gain parameter of the camera which operation will take
place in step (1) of analog image processing (chapter 4.5.1 Analog / digital image processing;
Figure 16).
Name
Name
Analog Coarse Gain
Function
Pre-amplification after CCD and before analog gaining.
Channels
Unit
Red, Green, Blue
Front; Rear
-3 dB;0 dB;+3 dB; +6 dB
Log.
Dependency
Notes
Lower limit
None
Use this parameter for a rough adjustment of gaining at the first step.
Camera:
Value CST:
all
-3 dB
0 dB
3 dB
Upper limit
All
6 dB
The “Analog Coarse Gain” is a pre-amplification factor (basically to adapt the output signal of the CCD
to the input of the main analog amplifier).The output range of the CCD is bigger than the input range of
the AFE (analog front end). So with this factor the possible output range can be adjusted. With this
“adjustable two step amplification” it is possible to adjust the allPIXA for a wide range of applications.
Usage:
If the current gaining values are higher than about 200, the Analog Coarse
Gain-amplifier may be used (set to a higher amplification factor) to decrease
gain values. Otherwise, the image pixel noise will be increased.
It is recommended to operate the camera with current gaining values in a
range from 80 – 200 for best image quality by using the Analog Coarse Gain
function to pre-adjust the actual gain range
Note:
If the output signal of the CCD is higher than the possible input signal of the
AFE this might cause “saturation” in the image lower than 255. Therefore
analog coarse gain has to be set to – 3 dB.
Chromasens allPIXA pro - CD40127 Version 1.0
176
9.2.3 Current camera gain values
This parameter describes the analog gaining parameter of the camera which operation will
take place in step (2) of analog image processing (chapter 4.5.1; Figure 16: Analog process of
the allPIXA pro camera (block diagram)).
With active white control, this parameter refers to the gain values labeled with (3) in the
diagram of chapter 4.9.
Name
Name
Current camera gain values
Function
Gaining values for the analog gaining of the camera.
Red, Green, Blue
Channels
Odd; Even
Front; Rear
Unit
Integer
Log.
Dependency
Notes
None
One step of this parameter refers to 0.0359 dB,
27.85 steps refer to 1 dB.
By increasing up to 168 steps it will double the signal.
Camera:
Value:
Lower limit
all
0
Upper limit
all
700
Chromasens allPIXA pro - CD40127 Version 1.0
177
9.2.4 Current white reference values
Name
Name
Current white reference values
Function
Video value measured by the camera inside the white control mark, mean value
over the defined area and the number of ROI defined for averaging
Read only
Red, Green, Blue
Channels
Odd; Even
Front; Rear
Unit
Integer
Linear
Dependency
Notes
None

Refers to the white control mark.

10-bit video output value. Output range of the image at the Camera Link port
is usually in the 8-bit range
Camera:
Value:
Lower limit
all
0
Upper limit
all
1023
This parameter refers to the video values labeled with (2) in the diagram of chapter 4.9.
9.2.5 Enable continuous white control
Name
Name
Enable continuous white control
Function
Enables the closed loop control for white balancing
Channels
all
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
all
0
Off
Upper limit
all
1
On
Chromasens allPIXA pro - CD40127 Version 1.0
178
9.2.6 Position and mode for white reference mark
Name
Name
Position and mode for white reference mark
It is strongly recommended to use the “auto detect” setting. The camera will
choose automatically which tab is used as master.
Function
Although it is possible to set the reference zone either to front tap, rear tap, to both
taps independently or to automatic detection. Changing this behavior differently
from the default setting should only be done by experienced users.
Channels
All
Unit
Integer
Dependency
It is only active when the option “Enable white control” has been set into active
mode
Notes
The exact size and position will be described in chapter 9.3
Function only available in “Guru”-level
Camera:
Lower limit
Upper limit
Value:
Function:
Master:
Front tap
Slave:
Rear tap
Master:
Rear tap
Slave:
Front tap
All
0
All
1
All
2
Taps are independent
All
3
Automatic master tap
detection out of area
position (recommended!)
Chromasens allPIXA pro - CD40127 Version 1.0
179
9.2.7 White control mode
Name
Name
White control mode
Function
Set the mode of the white control function
Channels
All
Unit
Dependency
Notes
It is only active when the option “Enable white control” has been set into active
mode
Function only available in “Guru”-level
Camera:
Lower limit
All
Upper limit
All
Value:
Two options are selectable:

Use sync mode:
By using this option, the white control will set the white
reference into the image regarding to the necessary image
trigger.

Stop gain control:
If the value of the white reference video level is lower than the
set value, the closed-loop control for the white balancing could
be paused by using this option (e.g. when the light on the
white reference will be lowered without any present document
(stray light from the document)).
Chromasens allPIXA pro - CD40127 Version 1.0
180
9.2.8 Set active channels for white control
Name
Name
Set active channels
Function
Will determine which channels are active during automatic white and tap balancing
Channels
All
Unit
Dependency
Applies only to all automatic gain control functions like white balancing and tap
balancing.
When working with “white” illumination leave all channels set to “Enabled”
(Standard use of the allPIXA pro).
Notes
This function is useful if working with different lighting conditions.
If you are for example working with three different light setups for the different
color channels you could Turn on the lights for one channel, disable the other
“Active
channels”
and
perform
white
and
tap
balancing.
After this you run through the same procedure for the other channels. If you
disable the channel, the old values for the white or tap balancing will not be
overwritten.
Camera:
Value CST:
Lower limit
All
0
Upper limit
All
1
For more details please also see chapter 8.2.4
Chromasens allPIXA pro - CD40127 Version 1.0
181
9.2.9 Gain control stop factor
Name
Name
Gain control stop factor
Function
Sets the pause condition for the white control.
Channels
All
Unit
Float
Dependency
It is only active when the option “Stop gain control” in the “White control mode” has
been set into active mode.
Notes
Step:
1/1024
By using this condition the white control will pause:
Average of all actual “Current white reference values” < value * Average of the last
valid “Current white reference values”.
Camera:
Value CST:
Lower limit
All
0
Upper limit
All
1
1.
Description of paper (object) detection function:
During the scan, the camera is set to automatically control the image brightness using the
implemented function “Automatic white control”. The control mechanism of the camera will use
the reference area on the object to adapt the camera gain values as defined within the camera
parameters.
In certain situations during the scan process it can occur that an object is missing on the
transport. If no object is on the transport the reference area for the brightness control appears
darker as the normal paper white. Therefore, a missing object can irritate and misguide the
automatic gain process. With the paper detection functionality, the existence of a sheet will be
detected and the automatic gain control will stop if no object (certain degree of brightness) is
found on the transport.
2.
Basic functionality description:
The camera reads the white value of the reference area. If the brightness of the reference area is
below the suppress condition, the automatic white control will be disabled only for the actual
scanned image. The procedure will be applied separately to each acquired image.
3.
Suppress condition:
Mean of value of actual reference area < (mean value of desired values of all channels *
threshold factor).
4.
Feedback camera signal:
While gain control is disabled, the image is scanned with the last valid gain values. The camera
will set a flag if the values in the reference area are too low (-> no paper) and the “automatic gain
control” function is disabled.
Example:
All desired values for the white reference target value are set to 800, stop gain control factor is
set to 0.5.If sum of all current white references drops below 0.5 * 800 = 400, then automatic gain
control is disabled.
Chromasens allPIXA pro - CD40127 Version 1.0
182
9.2.10 Start gain values
Name
Name
Start gain values
Function
In accordance to these values the gaining values will be updated at startup of the
camera or by loading a setting for faster startup behavior of the closed-loop
control for white balancing.
Red, Green, Blue
Channels
Odd; Even
Front; Rear
Unit
Integer
Linear
Dependency
None
Notes
Camera:
Value:
Lower limit
All
0
Upper limit
All
700
9.2.11 Update start gain values
Name
Name
Update start gain values
Function
By setting and transmitting this value to the camera, it will update the value “Start
gain values” with the values defined by “Current camera gain values”.
Channels
all
Unit
Bool
Dependency
None
Notes
Kindly note that the result may differ due to the fact that this function will take
values of the camera and not of the CST. In order to make sure to read the actual
values, please press “Refresh” before performing this operation.
Camera:
Value:
Lower limit
All
0
Upper limit
All
1
Chromasens allPIXA pro - CD40127 Version 1.0
183
9.3
White reference mark
9.3.1 Position and size in CCD direction
NOTE
Attention:
The white reference area must not cover the tap border.
For the position in CCD direction of the white reference control zone you may have 2
possibilities:
“Relative” x position
The x position of the white reference mark can be defined “relative” to the actual image window.
If defined relative, the reference position moves with changing the scan line length of the actual scan
window.
“Absolute” x position
The x position of the white reference mark can be defined “absolute” within the maximum scan
window. If defined absolute, the reference position does not move with changing the width of the
actual scan window.
A1= First relative pixel of white reference (may be negative) 9.3.3
A2= First absolute pixel of white reference 9.3.4
B = Number of pixel for white reference 9.3.6
C = First image line of white reference (may be negative), only used if white control mode is set to
“sync mode” 9.3.7
D = Number of image lines for white reference 9.3.8
(*A): Number of valid pixels depends on the type of camera:
allPIXA camera 7300: number of valid pixel = 7300
allPIXA camera 4096: number of valid pixel = 4096
allPIXA camera 2048: number of valid pixel = 2048
Chromasens allPIXA pro - CD40127 Version 1.0
184
The parameter “Use absolute horizontal white reference position” selects if relative or absolute white
reference mode is used.
Size of the white reference area is defined with “number of pixel for white reference”
9.3.2 Position and size in transport direction (Sync. Mode)
As default the reference area is not synchronized to image frame acquisition. Measurement of white
reference values is done continuously, no matter if the image frame is active or not.
If “use sync mode” is set at “White control mode” (9.2.7), the reference area is defined as ROI to the
captured image frame.
The y position of the white reference ROI is defined “relative” to the actual image window.
NOTE
Attention:
Vertical reference white position moves with changing “first valid scan line” of the
actual scan window.
C
D
The size of the white reference area is defined with “number of image lines for white reference”
Chromasens allPIXA pro - CD40127 Version 1.0
185
9.3.3 First relative pixel of white reference
Name
Name
First relative pixel of white reference
Function
Describes the start of the control zone for the white balancing in the
line/image (relative to the actual captured image)
Channels
All
Unit
Integer
Dependency
None
Notes
Value:
Lower limit
All
0
Upper limit
1k
1.020 – Number of pixels of white reference
2k
2.044 – Number of pixels of white reference
4k
4.092 – Number of pixels of white reference
7.3k
7.292 – Number of pixels of white reference
9.3.4 First absolute pixel of white reference
Name
Name
First absolute pixel of white reference
Function
Describes the start of the control zone for the white balancing in the line / image
(beginning from first visible pixel of the camera)
Channels
All
Unit
Integer
Dependency
None
Notes
Camera:
Value:
Lower limit
All
Upper limit
1k
1.020 – Number of pixels of white reference
2k
2.044 – Number of pixels of white reference
4k
4.092 – Number of pixels of white reference
7.3k
7.,292 – Number of pixels of white reference
Chromasens allPIXA pro - CD40127 Version 1.0
0
186
9.3.5 Use absolute horizontal position of white reference
Name
Name
Use absolute horizontal position of white reference
Function
If set, absolute horizontal position of white reference is used (9.3.3), otherwise,
relative position is used (9.3.4)
Channels
All
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
9.3.6 Number of pixels for white reference
Name
Name
Number of pixels for white reference
Function
Describes the width of the control zone for the white balancing in the
line/image
Channels
All
Unit
Integer
Dependency
None
Notes
Camera:
Value:
Lower limit
All
2
Upper limit
All
1.024
Chromasens allPIXA pro - CD40127 Version 1.0
187
9.3.7 First image line for the white reference
Name
Name
First image line for the white reference
Function
Starts pixel of control zone in transport direction
Channels
All
Unit
Dependency
Only if the image synchronized mode is used for white balancing.
Notes
Camera:
Value:
Lower limit
All
1
Upper limit
All
Image size – Number of vertical pixels
9.3.8 Number of image lines for the white reference
Name
Name
Number of image lines for the white reference
Function
Length of control zone in transport direction
Channels
All
Unit
Integer
Dependency
Only if the image synchronized mode is used for white balancing.
Notes
Camera:
Value:
Lower limit
All
0
Upper limit
All
1.024
Chromasens allPIXA pro - CD40127 Version 1.0
188
9.3.9 Number of reference samples (Average)
Name
Name
Number of reference samples
Function
Number of ROI’s needed for averaging of actual video value for closed-loop
control, either with synchronization or free running.
Channels
All
Unit
Integer
None; 2; 4; 8; 16; 32
Dependency
None
Notes
Camera:
Lower limit
Value CST:
All
None
2 samples
4 samples
8 samples
16 samples
Upper limit
All
32 samples
9.3.10 Show white reference border
Name
Name
Show white reference border
Function
Displays the border of the control zone with blue lines in the image.
Channels
All (Blue: 255; Red and Green: 0)
Unit
Bool
Dependency
None
Notes
Function has to be switched off for taking reference images regarding to
black and white correction.
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
Chromasens allPIXA pro - CD40127 Version 1.0
189
9.4
Shading (flat field correction)
9.4.1 Shading correction (flat field correction)
Name
Name
Activate Shading Correction
Function
This function enables the pixel wise shading correction inside the camera.
Channels
All
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
Shading correction is made of the pixel-by-pixel mode and corrects the different behavior of the
individual pixels in the images (PRNU = Photo Response Non Uniformity). Additionally, it
compensates any illumination in non-homogeneities.
4 reference sets for the shading correction are supported by the allPIXA camera, as well as 4
reference sets for the black level correction. The reference position number can be entered when
creating the reference in the CST Shading Wizard and selected in the allPIXA camera setting. All
reference sets can be used for different setups, e.g. different f-stops or different illuminations.
Video value
255
0
pixel
Red
= raw values
n
Green = corrected values
This parameter refers to the video values labeled with (2) in the diagram of chapter 4.9.
The internal processing is not limited up to 255@8bit. This means that after the shading correction it
is possible to additionally process higher values such as 300, which can be taken without loss into
the visible area by using the brightness and contrast control afterwards.
Chromasens allPIXA pro - CD40127 Version 1.0
190
9.4.2 Black level correction (offset correction)
Name
Name
Activate black level correction
Function
This function enables the pixel wise black level correction inside the camera.
Channels
All
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
Black value correction is made of the pixel-by-pixel mode and corrects the different behavior of the
individual pixels (DSNU = Dark Signal Non Uniformity) in dark images. Black value correction is
carried out with a non-exposed sensor (e.g. when the lens is closed, the illumination is switched off or
a black reference is scanned).
Black value correction is carried out individually on each allPIXA camera during factory calibration.
Video value
4 reference sets for the black level correction are supported by the allPIXA camera as well as 4
reference sets for the shading correction. Reference position number can be entered when creating
the reference in the CST Shading Wizard and selected in the allPIXA camera setting. All reference
sets can be used for different setups, e.g. different f-stops or different illuminations.
0
0
pixel
Red
= raw values
n
Green = corrected values
This parameter refers to the video values labeled with (1) in the diagram of chapter 4.5.1 figure 10.
Chromasens allPIXA pro - CD40127 Version 1.0
191
9.4.3 White reference data set
Name
Name
White reference data set
Function
Select the data set for shading correction.
Channels
All
Unit
Integer
Dependency
None
Notes
2 data sets for white reference can be stored inside the camera. The number
for the storage space has to be selected in the CST during the Shading
wizard process.
Camera:
Value:
Function:
Lower limit
All
0
Data set 1 is used
Upper limit
All
3
Data set 4 is used
9.4.4 Black reference data set
Name
Name
Black reference data set
Function
Select the data set for black level correction.
Channels
All
Unit
Integer
Dependency
None
Notes
4 data sets for black reference can be stored inside of the camera. The
number for the storage space has to be selected in the CST during the
Shading wizard process.
Camera:
Value:
Function:
Lower limit
All
0
Data set 1 is used
Upper limit
All
3
Data set 4 is used
Chromasens allPIXA pro - CD40127 Version 1.0
192
9.5
Brightness and contrast
These parameters describe the digital gaining and offset parameters for the camera. This
operation will take place in step (3) of the digital image processing pipeline (chapter4.5.1;
Figure 17: Digital process of the allPIXA pro camera (block diagram)).
NOTE
Using these parameters to adjust image brightness in a wide range to get brighter
images might degrade image quality.
First, please use the analog gaining to adjust brightness of the image (see chapter
9.2.2 and 9.2.3). For instance, after adjusting analog gain and performing a shading
correction (it will set the values for white to 255), the user is in the position to get
the white slightly out of the area of the image saturation from 255 to 245.
The internal processing is not limited up to 255@8bit. This means that after the
shading correction it is possible to additionally process higher values such as 300,
which can be taken without loss into the visible area by using the brightness and
contrast control afterwards.
9.5.1 Use brightness and contrast
Name
Name
Use brightness and contrast
Function
Enables the digital gaining and contrast function in the camera.
Channels
All
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
all
0
Off
Upper limit
all
1
On
Chromasens allPIXA pro - CD40127 Version 1.0
193
9.5.2 Brightness
Name
Name
Brightness
Function
Digital offset
Channels
Red; Green; Blue
Unit
Integer
Linear
Dependency
Notes
It is only active when the option “Use Brightness and Contrast” has been set into
active mode
This value refers to 10-bit image data, in output image there’s usually 8-bit image
data.
Camera:
Value:
Output image:
all
-255
-64
Upper limit
all
255
64
Output
Lower limit
Orginal
After (+) Offset
After (-) Offsett
0
0
Input
Please note that using of “Brightness” will cause a digital offset in the image data:
Vid Brightness Out(x,y) = (VidIn(x,y) + Offset)

VidIn(x,y)

Offset


(x, y)
Vid Brightness Out(x,y)
Pixel-normalized image after the shading correction
(0...2047 in 10Bit area)
Additional adjustable “Brightness” for this color separation
(-255… 0 +255 in 10Bit area)
Number of pixels within a line or column
Output of this step (area 0…1023)
Chromasens allPIXA pro - CD40127 Version 1.0
194
9.5.3 Contrast
Name
Name
Contrast
Function
Digital gaining
Channels
Red; Green; Blue
Unit
Float
Step
0.001
Linear
It is only active when the option “Use Brightness and Contrast” has been set into
active mode
Dependency
Notes
Camera:
Value CST:
all
0
Upper limit
all
2
Output
Lower limit
Orginal
After >1 Gaining
After <1 Gaining
0
0
Input
Please note that using „Contrast“ will cause digital increase or decrease of sensitivity.
VidContrastOut(x,y) = Vid BrightnessOut(x,y)* Gain

Vid BrightnessOut (x,y)
Pixel-normalized image after the Vid Brightness correction
(0…2047 in 10Bit area)

Gain
Additionally adjustable “Contrast” for this color separation
(0…1…2.0)

(x, y)
Number of pixels within a line or column

VidContrastOut (x,y)
Output of this step (area 0 … 1023)
NOTE
Calculation will be done in the following order (chapter4.5.1; Figure 17: Digital
process of the allPIXA pro camera (block diagram) :
1. Brightness
2. Contrast
Chromasens allPIXA pro - CD40127 Version 1.0
195
9.5.4 Gamma correction
Name
Name
Gamma
Function
Performs a LUT operation for gamma correction with image data
Channels
All
Unit
Float
Step
0.1
Log.
Dependency
None

The value “0” causes the camera to ignore the mentioned image processing
step with the LUT; value “1” causes a linear LUT (output=input) which may
be used.

This function must be switched off for the acquisition of the black value and
shading reference (white balancing).
Notes
Camera:
Value CST:
Lower limit
all
0
Upper limit
all
2.5
A CCD sensor has a linear sensitivity (the brightness sensitivity of the humans is non-linear). Gamma
correction serves to adapt the linear sensitivity curve of a camera to the human eye. As a result the
brightness in certain areas of the image is increased and lowered in others.
Output
With a gamma value of 1, the curve is linear, if the gamma value is lower than 1, the images are
darker, and images with a gamma value above 1 are brighter.
Input
Figure 37: Gamma correction
Chromasens allPIXA pro - CD40127 Version 1.0
196
9.6
Physical setup
9.6.1 RGB line distance
Name
Name
RGB line distance
Function
Delays the line output for the 2 other lines to match the shift by different positions
on the sensor which is also called “Spatial correction”.
Channels
All
Unit
Float
Step
1/1024
Linear
Dependency
Notes
None
The value “0” causes that this function will be switched off.
For cameras up to 4k the line delay can be set up to 8 lines, for cameras with
sensor length more than 4k it will be limited to 6 lines.
Camera:
Unit
Value CST
In 1/1 lines
Lower limit
All
0.0
Upper limit
> 4.096 pixel
6.0
Upper limit
<=4.096 pixel
8.0
The trilinear lines of the allPIXA camera signify that the camera disposes of 3 individual color lines
(RGB) which means that for each image point the accurate information will be obtained. The 3 line
sensors are physically arranged in different locations, resulting in the acquirement of the individual
color channels to an image of a moving object at different points. Please refer to chapter 4.2 “Design
of the allPIXA camera line scan sensor” / sensor alignment.
For spatial correction the lines are buffered and the respective lines are re-aligned with a
corresponding correction. The color lines have been delayed by a specific number of lines and,
therefore, the values of R, G and B will match to each corresponding object point. The allPIXA camera
enables this compensation with up to 6+6 lines spacing according to the camera with sensor length of
more than 4,096 pixels, for sensor length up to 4,096 pixels a spacing of up to 8+8 lines is possible.
Correct color images will only be generated correctly when the ratio of the optical resolution will be the
same as the resolution of transport direction.
When observing according to the standard conditions, the line resolution will be the same as the
transport resolution; the value “4” must be applied. In some applications it might be helpful, when the
camera displays correct images even if the transport resolution differs from the resolution in CCD line
direction which is useful e.g. when the transport resolution is lower than the optical one.
If the user prefers to receive pixels in a non-square shape (transport resolution shall not be the same
as the resolution in CCD direction), the value of the line resolution may be lowered to the transport
resolution which means that the camera will internally apply a sub-pixel based correction. The result is
that the images will not have any colored edges, even if the transport resolution does not match to the
resolution in CCD direction (=optical resolution).
Chromasens allPIXA pro - CD40127 Version 1.0
197
For calculation of the setting value, you may use one of the following formula:
Either
𝐿𝑖𝑛𝑒 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒 =
𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛(𝑑𝑝𝑖) ∗ 4
𝑂𝑝𝑡𝑖𝑐𝑎𝑙𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛(𝑑𝑝𝑖) ∗ 𝑐𝑜𝑠 (𝛼)
Or
𝑚𝑚
)∗4
𝑝𝑖𝑥𝑒𝑙
𝐿𝑖𝑛𝑒 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒 =
𝑚𝑚
𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑃𝑖𝑥𝑒𝑙𝑆𝑖𝑧𝑒(
) ∗ 𝑐𝑜𝑠 (𝛼)
𝑝𝑖𝑥𝑒𝑙
𝑂𝑝𝑡𝑖𝑐𝑎𝑙𝑃𝑖𝑥𝑒𝑙𝑆𝑖𝑧𝑒 (

𝛼
viewing angle in transport direction (0° = perpendicular)
Function of the sub pixel line shift:
With sub pixel compensation
Without patented sub pixel compensation
Chromasens allPIXA pro - CD40127 Version 1.0
198
9.6.2 Scan direction
Name
Name
Scan direction
Function
Changes the sequence from forward to backward (e.g from R-G-B to B-G-R), to
adapt to the movement direction of a conveyor regarding to the orientation of the
camera.
Channels
All
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
All
0
Forward
Upper limit
All
1
Backward
Direction of the spatial correction depends on the direction of transport regarding to the orientation of
the camera, i.e. the sequence of the lines in the direction of transport can be either red-green-blue
(RGB) or blue-green-red (BGR) but the sequence can be changed, if necessary. Then the color offset
is been corrected, irrespective of the installation position of the camera.
If the encoder is activated, the transport direction will be determined in the encoder controller. This
direction is either forwarded directly or inverted.
Image for value „0“ - Forward:
Direction:
Image for value „1“ - Backward:
top
top
Chromasens allPIXA pro - CD40127 Version 1.0
199
9.7
Image sizes
9.7.1 Number of scan lines per image (frame mode)
Name
Name
Number of scan lines per image
Function
Image size in transport direction
Channels
All
Unit
Integer
Dependency
Only in frame scan mode
Notes
Camera:
Value:
Lower limit
All
1
Upper limit
All
65535
Number of scan lines (transport direction)
If the camera is supplied with information of the frame start at CC3 or CC4 (via Camera Link) or at the
IO-Port, it will be able to generate FVAL (VSync) and frame valid signal. The external signals have to
be connected with the IO-configurator to the internal functions in the CST. Without these signals the
camera is able to send images in free-running mode.
Scan line length (sensor direction)
Image
Chromasens allPIXA pro - CD40127 Version 1.0
200
9.7.2 First valid scan line
Name
Name
First valid scan line
Function
Delay of image start after image trigger in lines, the image trigger could be
taken internally or externally
Channels
All
Unit
Integer
Dependency
Only in frame scan mode
Notes
Camera:
Value:
Lower limit
All
0
Upper limit
All
32767
Number of scan lines
( Image height)
First valid scan line
Number of scan lines
( Image height)
First valid scan line
Number of scan lines
( Image height)
First valid scan line
Number of scan lines
( Image height)
First valid scan line
VSync
Scan position
First valid scan line
(delay)
Light barrier
Sample for using first valid scan line:
Please refer to chapter 9.8 Synchronization.
Chromasens allPIXA pro - CD40127 Version 1.0
201
9.7.3 Scan line length
Name
Name
Scan line length
Function
Image width
Channels
All
Unit
Integer
Dependency
None
The numbers of pixel are centered to the visible area of the camera.
Notes
The image width depends on the used video output mode (e.g. a multiple of
2, 8 or 16). See 9.10.5
Camera:
Lower limit
Upper limit
Value:
All
2
1k
1.024
2k
2.048
4k
4.096
6000 px
6.000
7.3k
7.300 (7.296 as default)
There are 2 different cases for scan line length:
 Original: Scan line length equal to sensor length:
Pixel n
Pixel 0
Scan line length n+1
Image
“Scan line length” is set to the sensor length of the camera, e.g. 4096.

Cropping: Scan line length shorter than sensor length:
Pixel
n
Pixel
0
Scan line length
x
Resulting image
The camera will capture an image from a ROI which is centered in the sensor.
Chromasens allPIXA pro - CD40127 Version 1.0
202
9.8
Synchronization (frame synchronization)
Since the allPIXA camera is able to generate frame information, there are some settings to be
done for using this mode.
NOTE I
First, the hardware ports have to be connected to the internal functions of the
camera. Therefore, please use the IO-configurator in the CST and please refer to
chapter 8.10 IO-Configurator.
NOTE II
In case the camera is used in the “Triggered Frame Scan” with active LineTrigger or
Encoder, the linesync (Encoder or LineTrigger) will have to fit some pulses before
light barrier input.
9.8.1 Triggered frame scan
Name
Name
Triggered frame scan
Function
Enables the triggered frame scan modes
Channels
All
Unit
Integer
Dependency
None
Notes
Camera
Lower limit
Upper limit
Value
Function
All
0
Free running
All
1
Only image start
All
2
Reserved
All
3
Image start and stop
Chromasens allPIXA pro - CD40127 Version 1.0
203
There are 4 different modes:
a) (0) Free running:
The FVAL will be generated continuously, depending on the “Number of scan lines”
(Image height) and “First valid scan line”.
Number of scan lines
( Image height)
First valid scan line
Number of scan lines
( Image height)
First valid scan line
Number of scan lines
( Image height)
First valid scan line
Number of scan lines
( Image height)
First valid scan line
VSync
b) (1) Use start condition:
The FVAL will be generated after receiving a trigger signal. The frame will be delayed
by the value of “First valid scan line” and the image length is defined by “Number of
scan lines” (Image height).
Trigger
Number of scan lines
( Image height)
First valid scan line
Chromasens allPIXA pro - CD40127 Version 1.0
Scan position
First valid scan line
(delay)
Image acquisition will be started automatically. It is also possible to get a
delay for a position of the light barrier before getting the scanning position.
Light barrier
Sample:
Number of scan lines
( Image height)
First valid scan line
VSync
204
c) (2) Reserved:
This is reserved for OEM and future use.
d) (3) Use start and stop condition:
The FVAL will be generated after receiving a trigger signal. The frame will be delayed
by the value of “First valid scan line”. Image length depends on the length of pulse
from the trigger port.
Trigger
Resulting image heigth
First valid scan line
Resulting image height
Light barrier
Resulting image height
Scan position
This function is useful for automatic detection of different object sizes, the
camera will send a correct sized image.
First valid scan line
(delay)
Sample:
Resulting image heigth
First valid scan line
VSync
For “Number of scan lines” and “First valid scan line” please refer to chapter 9.7
Chromasens allPIXA pro - CD40127 Version 1.0
205
9.8.2 Scan lines after stop
Name
Name
Scan lines after stop
Function
Sets the number of lines added to the image after the stop condition.
Channels
All
Unit
Integer
Dependency
Only active at “Use start and stop condition” at “Triggered frame scan”
Notes
Camera
Value
Lower limit
All
0
Upper limit
All
65535
Trigger
Sample:
Scan lines after stop
Resulting image height
First valid scan line
Scan lines after stop
Resulting image height
First valid scan line
VSync
In case the transported object will not be rotated, the result with “Start- and
Stop condition” is not satisfactory.
Scan position
First valid scan line
(delay)
Light barrier
Resulting image height
Chromasens allPIXA pro - CD40127 Version 1.0
206
½ Scan lines after stop
First valid scan line
(delay)
Resulting image height
Light barrier
Scan lines after stop
By using the parameter “Scan line after stop” the setup will deal with this issue:

Sets a suitable value for the parameter “Scan line after stop”, e.g. 300 lines

Reduces the value for the parameter “First valid scan line” by the half of the value for “Scan
line after stop”, e.g. Original value of 1000 lines – (300 lines / 2) = 850 lines
9.8.3 Stop after maximum number of lines
Name
Name
Stop after getting the max. quantity of lines
Function
Stops the image when no ending edge or signal of the image trigger is
detected after the given “maximum number of lines”.
Channels
All
Unit
Bool
Dependency
Only active with “Use start and stop condition” at “Triggered frame scan”
Notes
The parameter “Maximum numbers of lines” has to be set to a reasonable
value.
Camera
Value
Lower limit
All
0
Off
Upper limit
All
1
On
Chromasens allPIXA pro - CD40127 Version 1.0
207
9.8.4 Maximum number of scan lines
Name
Name
Maximum number of lines
Function
Stops the image after getting the maximum numbers of lines in case no falling
edge of the image trigger is detected.
Channels
All
Unit
Integer
Dependency
Only active with “Use start and stop condition” at “Triggered frame scan” and at
“Stop after max. lines”
Notes
Camera
Value
Lower limit
All
1
Upper limit
All
65535
9.8.5 Number of suppressed lines
Name
Name
Number of suppressed lines
Function
Number of lines which will be ignored for output, will cause reduction of data
or resolution in transport direction.
Channels
All
Unit
Integer
Dependency
None
Notes
Camera
Value
Lower limit
All
0
Upper limit
All
1023
NOTE
This function is helpful for doing testing and system setups. If there is no encoder
signal available and the speed for testing and setup is much lower than the nominal
speed, the system can be tested with nominal integration time and gaining value.
Afterwards, the speed will be as follows:
Vred=Vnominal / (1 + Number of suppressed lines)
Chromasens allPIXA pro - CD40127 Version 1.0
208
9.8.6 Input debouncing speed
For triggering images from an external source the signal of the trigger, e.g. from a light barrier,
has to be connected to the hardware ports of the camera, this could be done throughout the
frame grabber using CC-bits or the D-Sub 15 IO-port on the camera.
These external signals have to be connected to the internal functions (LB 0 to LB 3) which
have to be selected regarding to signal duration and signal quality of the trigger by using the
IO-configurator in CST.
The single inputs do have different properties regarding the debouncing speed.
Name
Name
Input debouncing speed
Function
Enables the internal ports to be used as frame trigger
Channels
All
Unit
Dependency
Only active if “Use start condition” or “Use start and stop condition” is
selected.
Notes
Camera
Lower limit
All
Upper limit
All
Value
By using this option the user has the possibility to select the internal function ports for image
trigger. The external ports (e.g. CC3 from Camera Link) have to be connected to internal
functions by using the IO-configurator at CST (chapter 8.10).
There are different methods for debouncing the signal:

LB 0:
60 output lines

LB 1:
4 clock pulses

LB 2:
no debouncing, peak holder

LB 3:
4 output lines
~ 35 ns
Selection of the internal functions for triggering the image will be done in CST.
Kindly note the following screen shot example:
“Light barrier (LB2)” is selected for the frame
trigger.
Chromasens allPIXA pro - CD40127 Version 1.0
209
9.8.7 Scan pattern
Name
Name
Select trigger edge condition
Function
This will determine if the trigger is evaluated at the rising or the falling edge.
Channels
All
Unit
Dependency
Only active if “Use start condition” or “Use start and stop condition” is
selected.
Notes
Camera
Lower limit
All
Upper limit
All
Value
This function will determine if the image starts at rising or falling edge of the signal. Setting will
differ for “Use start condition only” and for “Start and stop condition”.
The state of the ports will be checked synchronized with the line frequency clock. At each
rising edge of the line frequency clock, the status will be checked and the debouncing
condition must be complied.
The following tables show suitable sequences and their function (screen shots from CST):
If “Use start condition only” is selected as triggered frame scan parameter:
If “Start and stop condition” is selected as triggered frame scan parameter:
Chromasens allPIXA pro - CD40127 Version 1.0
210
1. “Use start condition only”
Select trigger edge detection
Function
These sequences will cause a frame start at a rising edge:
Trigger
Image
These sequences will cause a frame start at a falling edge.
Trigger
Image
2. “Use start and stop condition”
Select trigger edge detection
Function
These sequences will cause a frame start at a rising edge and
the frame stop at a falling edge.
Trigger
Image
These sequences will cause a frame start at a falling edge and
the frame stop at a rising edge.
Trigger
Image
Chromasens allPIXA pro - CD40127 Version 1.0
211
9.8.8 Master-slave setup
Name
Name
Set master-slave-mode
Function
Synchronization of more than one allPIXA pro camera
Channels
All
Unit
Dependency
Notes
The slave camera(s) have to set to the same trigger mode than the master
cameras e.g. encoder/line-trigger or in free run!
Please set this parameter in all slave cameras similar.

The position of the image in transport direction (Y) of each camera
could be set separately.
The image length is defined by the master.

Also the position (X + Y) and the size of the white reference could be
set separately.
Camera
Lower limit
Upper limit
Value
All
No master slave operation
All
Camera acts as master
All
Camera is slave
All
Auto select by input
If more than one camera is used, e.g. in print inspection, these cameras must be synchronized
very accurate to achieve the best system performance.
See also chapter 8.8 for more details
Chromasens allPIXA pro - CD40127 Version 1.0
212
9.9
Image processing
9.9.1 Mirror image horizontally
Name
Name
Mirror image horizontally
Function
Mirrors the lines inside the camera.
Channels
All
Unit
Bool
Dependency
None
Notes
Function has to be switched off for the acquisition of the black value and
shading reference (white balancing).
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
This function changes the sequence of the pixels within the line, i.e. the left pixels are replaced by
the right ones. As a result, the alignment of the line with the direction of transport is possible,
irrespective of the camera’s installation position (pixel 1 left or right).
With mirroring
Without mirroring
Chromasens allPIXA pro - CD40127 Version 1.0
213
9.9.2 Color conversion matrix
Name
Name
Color conversion matrix
Function
Enables the color conversion by a 3x3 matrix e.g. from RGB to sRGB
Channels
All
Unit
Bool
Dependency
None
Notes
Color conversion matrix has to be generated offline and must be transferred
to the camera.
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
See also chapter 8.9 for more details on how to modify the CCM parameters
9.9.3 Select active CCM
Name
Name
Select active CCM
Function
Selects the number of the used color conversion matrix. 4 matrix tables are
selectable.
Channels
All
Unit
Integer
Dependency
It is only active when the option “Color conversion matrix” has been set into
active mode.
Notes
Matrix 1 is the default table and not editable in CST.
Camera:
Value:
Function:
Lower limit
All
0
Matrix 1
Upper limit
All
3
Matrix 4
Chromasens allPIXA pro - CD40127 Version 1.0
214
9.9.4 Use keystone correction
Name
Name
Use keystone correction
Function
Enables the function keystone correction.
Channels
Red, Blue
Unit
Bool
Dependency
None
Notes
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
Optical center
Optical center
+ -
- +
Sign: negative refers to red channel
4
3
2
1
0
-1
-2
-3
-4
+ -
- +
Sign: positive refers to red channel
Px 0
Px n/2
Px n
Sample with correction value of +3.5
Chromasens allPIXA pro - CD40127 Version 1.0
215
9.9.5 Pixel shift for correction
Name
Name
Pixel shift for correction
Function
Sets the pixel shift up to +/- 4 pixels for the first and the last pixel. Between
the center and the first and last pixels they will be linear interpolated between
0 and the set value.
Channels
Red, Blue
Unit
Float
Dependency
Step
0.1
It is only active when the option “Use keystone
correction” set into active mode.
Notes
Camera:
Value CST:
Lower limit
All
- 4
Upper limit
All
+4
9.9.6 Keystone correction width
Name
Name
Keystone correction width
Function
Start value from the center for keystone/TCA correction
Channels
Red, Blue
Unit
Integer
Dependency
It is only active when the option “Use keystone correction” has been set into
active mode.
Notes
Set to 1 to use as a standard keystone correction.
Camera:
Value:
Lower limit
All
1 = default
Upper limit
2k
1,024
Upper limit
4k
2,048
Upper limit
7.3k
3,648
4
3
2
1
0
-1
-2
-3
-4
Real TCA
Px 0
Px n/2
Px n
Keystone
correction width
TCA (= Transversal Chromatic Aberration) is an objective-caused displacement of 3 colors
increasing at the edge.
Chromasens allPIXA pro - CD40127 Version 1.0
216
9.10 Output format
9.10.1 Swap red and blue color channel
Name
Name
Swap red and blue color channel
Function
On video output the red and the blue channel will be changed
Channels
Red, blue
Unit
Bool
Dependency
None
Some frame grabbers first expect with the blue channel, instead of the red
channel and this may cause wrong colors in the resulting image. This task
can be done in real time inside of the camera, it is usually faster than doing
with the frame grabber.
Notes
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
9.10.2 Video output mode
Name
Name
Video output mode
Function
Sets the output on the Camera Link port to different modes, e.g. RGB as standard
or to grey level output.
Channels
All
Unit
Integer
Dependency
Only for color camera with RGB or mono-output, not for mono-camera
Notes
For the grey image calculation the values of “Color weights” will be used.
Camera:
Lower limit
Upper limit
Value:
Function:
All
0
3x8 Bit / RGB
CL-Medium/Full64/Full80
All
1
2x8 Bit / Mono / CL-Base
All
2
2x10 Bit / Mono / CL-Base
All
3
2x12 Bit / Mono / CL-Base
OEMVersions
Chromasens allPIXA pro - CD40127 Version 1.0
Special modes are available
217
9.10.3 Color weights
Name
Name
Color weights
Function
Calculates the mono value for the pixel by using data from RGB, weighted
with this factor.
Channels
Red; Green; Blue
Unit
Float
Step:
0,01
Linear
Dependency
Notes
Only active if output mode on Camera Link is set to “Mono mode”
The sum of these 3 parameters should be 1.0. A higher sum will cause a
“brighter” image, and a lower sum will cause a “darker” image. Standard
values by NTCS and the default values in the camera are the following:
Red:
0.299
Green:
0.587
Blue:
0.114
Camera:
Value CST:
Lower limit
All
0
Upper limit
All
1
9.10.4 Camera Link connection speed
Name
Name
Camera Link connection speed
Function
Sets the pixel clock on the Camera Link port to 85, 75.56 MHz or 61.82 MHz
Channels
All
Unit
Integer
Dependency
None
Notes

This function reduces only the pixel clock at the output, the internal clock
will not be changed.

The minimum integration / line time might be limited by this function.
Please see the limitations in the table mentioned below.

For some applications it would be helpful to increase the Camera Link
data width and reduce the speed e.g. for using the camera with longer
cables.
Camera:
Lower limit
Upper limit
Value:
Function
All
0
75.56 MHz
All
1
85 MHz
All
2
61.82 MHz
For minimum integration time for different camera types at different output pixel clocks please
see the following chapter 9.10.5:
Chromasens allPIXA pro - CD40127 Version 1.0
218
9.10.5 Camera Link interface type and minimum line time (integration time)
Name
Name
Camera Link interface type
Function
Sets the output to Base, Medium, Full64 or Full80 mode
Channels
All
Unit
Integer
Dependency
None
Notes

By using some modes the line rates and integration time will be limited.
Please refer to the table mentioned below.

By using some modes the scan line length must be a multiple of x.
Please refer to the table mentioned below.

For Base mode the Camera Link connector 1 has to be used.
Camera
Lower limit
Value
All
Function
0
Camera Link Base
1Tx24b (1X1), for color output
2Tx8b, 2Tx10b or 2Tx12b
(2XE for mono output with the color camera)
Scan line length must be a multiple of 2.
All
1
Camera Link Medium
2Tx24b (2XE RGB)
Scan line length must be a multiple of 2
Camera Link Medium
2Tx24b (1X2, Raw)
Scan line length must be a multiple of 2.
All
2
only with allPIXA pro-Mono:
Camera Link Medium 4Tx8b (1X4)
Scan line length must be a multiple of 8.
Camera Link Full64_8Tx8b 1X8 raw,
RGB with 8 color planes per Camera Link
clock. Scan line length must be a multiple of 16.
All
3
Only with allPIXA pro-Mono:
Camera Link Full64_8Tx8b 1X8 raw,
Scan line length must be a multiple of 8.
All
4
Camera Link Full80_8Tx10b
1X8 raw, RGB with 8 color planes per Camera
Link clock. Scan line length must be a multiple of
16.
Upper limit
All
5
Camera Link Full80_10Tx8b
1X10 raw, RGB with 10 color planes per
Camera Link clock.
Scan line length must be a multiple of 2.
Chromasens allPIXA pro - CD40127 Version 1.0
219
Minimum line time (integration time) for different camera types at different Camera Link modes
and frequencies:
All output in regard with 16 clocks cycles gap between the camera link lines
allPIXA pro 2k (2048 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
24.28µs
12.24µs
10.78µs
10.78µs
10.78µs
12.24µs
75.56 MHz
27.32µs
13.76µs
10.78µs
10.78µs
10.78µs
13.76µs
61.82 MHz
33.39µs
16.82µs
12.68µs
12.68µs
10.78µs
16.82µs
*)
Mono
output *
mono output available in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
allPIXA pro 4k (4096 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
48.38µs
24.28µs
19.68µs
19.68µs
19.68µs
24.28µs
75.56 MHz
54.42µs
27.32µs
20.54µs
20.54µs
19.68µs
27.32µs
61.82 MHz
66.52µs
33.39µs
25.11µs
25.11µs
20.14µs
33.39µs
*)
Mono
output *
mono output available in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
allPIXA pro 6000px (6000 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
70.92µs
35.48µs
29.14µs
29.14µs
29.14µs
35.48µs
75.56 MHz
79,62µs
39,92µs
29,99µs
29,99µs
29,99µs
39,92µs
61.82 MHz
97,32µs
48.79µs
36.66µs
36.66µs
36.66µs
48.79µs
*)
Mono
output *
mono output available in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
allPIXA pro 7.3k (7300 pixel)
Full80_
Full80_
8Tap_10Bit 10Tap_8Bit
CL-Definition
Base
Mode
Medium
mode
Full64
mode
85.00 MHz
86.07µs
43.13µs
33.65µs
33.65µs
33.65µs
43.13µs
75.56 MHz
96.83µs
48.52µs
36.44µs
36.44µs
33.65µs
48.52µs
61.82 MHz
118.35µs
59.30µs
44.54µs
44.54µs
35.69µs
59.30µs
*)
Mono
output *
mono output available in Camera Link Base mode (at 8; 10 or 12 Bit per Pixel)
(see chapter 4.5.2 for the supported Camera Link modes)
Chromasens allPIXA pro - CD40127 Version 1.0
220
9.10.6 Information insert mode
Name
Name
Information insert mode
Function
Enables the function for displaying additional information in the image and
selects the tap in which the information will be displayed.
Channels
All
Unit
Byte
Dependency
None
Notes
Camera
Value
Function
All
0
First pixels
All
1
Last pixels
All
2
First and last pixels
9.10.7 Insert mode
Name
Name
Insert mode
Function
Enables different camera data displayed in the image (e.g. image counter
or line counter)
Channels
All
Unit
Byte
Dependency
None
Notes
The parameter inside the camera will be measured in bytes. In the CST the
single bits can be set by the check boxes.
Camera
Bits
Value
Function
All
0
First line info block
All
1
Test ramp last line
All
2
Check sum last line
All
3
Each line info block
All
4+5
0
Inactive
All
4+5
1
Grey value sum
All
4+5
2
Reserved
All
4+5
3
Contrast value sum
Single information will be displayed in the image as shown below:
Chromasens allPIXA pro - CD40127 Version 1.0
221

„FirstLine_InfoBlock“:
Image related information will be shown in the first 22 pixels of the image’s first line.
The image functionality is required.

„EachLine_InfoBlock“:
Line related information will be shown in the first 10 or 17 pixels of each line, depending on the
selections for „Insert Mode“.

Last line information:
There are 2 options for the image’s last line:
o
A test ramp will be inserted into the last line. Image functionality is required.
It starts with 128 from outside, increments with 1 and overruns with 255.
o
The check sum for the image data will be inserted into the last transmitted pixels of
each tap. In the resulting image they are located centrically on both sides of the tap
border. Image functionality is required.
9.10.7.1 First line information
5
Information
6
7
8
9
10
Pixel
11
12
13
14
15
16
17
18
19
Time stamp
4
Encoder
clocks
3
Line time
2
Integration
time
1
Image
count
0
Serial no.
Line 0
Pixel
Error reg.
Overview on the info block „First line info block“:
20
21
22
Description
Displays the serial number of the camera as 16+16 bit value:
Serial number
1–2–3–4
Px 1
MSByte SerialNumber_FirstPart,
Px 2
LSByte SerialNumber_FirstPart,
Px 3
MSByte SerialNumber_SecondPart,
Px 4
LSByte SerialNumber_SecondPart,
Each with the same value for RGB.
Sample:1000-1234 = allPIXA camera with serial number
1234
16 bit image counter starts at power on with 0 and could be
preset by software using TAG_IMAGECOUNTER (291 H).
Image Count
6–7
Px 6
MSByte,
Px 7
LSByte,
Each with the same value for RGB.
Chromasens allPIXA pro - CD40127 Version 1.0
222
Information
Pixel
Description
16 bit value of the actual integration time for the CCD in pixel
clocks at 85 MHz. Integration times, which are measured in
µs, will be IntTime/85.
Integration time
8–9
Px 8:
MSByte,
Px 9
LSByte,
Each with the same value for RGB.
20 bit value of the actual line time for the CCD in pixel
clocks. Line time, measured in µs, will be LineTime/85.
Line time
11 – 12 – 13
Px 11:
MSByte
Px 12
MidByte
Px 13
LSByte
Each with the same value for RGB.
32 bit counter starts with power on with 0 and will have an
overflow at 2^32.
Encoder clocks
14 – 15 – 16 – 17
Line trigger pulses (line trigger active) and encoder pulses
(encoder active) counts depending on the selected mode;
can be used as position information by a sequence of
documents. Can be reset by software using
TAG_CLEAR_ENCODER (947 H).
Px 14:
MSByte
Px 15
higher MidByte
Px 16
lower MidByte
Px 17
LSByte
Each with the same value for RGB.
Error register
18
In case of any default, it will be inserted here.
„Real time clock”
Output will be in a 16.8b seconds value. TimeStamp (23:8)
will state the seconds when the power is on or in case of
reset. TimeStamp (7:0) will issue the decimal places in a
multiple of 4 milliseconds. (0…249)
Sample:
Time stamp
19 – 20 – 21
TimeStamp = 0x123456
 0x1234
=
4660
= 1h, 17min, 40 seconds
seconds
since
start
 0x56 = 86 *4= 344 ms.
Px 19
MSByte
Px 20
MidByte
Px 21
LSByte
Each with the same value for RGB.
It is used for marking the info block with red pixels.
Markers
0 – 5 – 10 – 22
Red
xFF
Blue
x00
Green
x00
Chromasens allPIXA pro - CD40127 Version 1.0
223
9.10.7.2 Each line information
Overview at the info block „Each line info block“:
7
8
10
11
12
13
14
15
Channel
Green Rear (23:16)
Red Front (23:16)
Green Rear (15:8)
Blue Rear (15:8)
Red Rear (15:8)
Blue Front (15:8)
Green Front (15:8)
Red Front (15:8)
Green Rear (7:0)
Blue Rear (7:0)
Red Rear (7:0)
Blue Front (7:0)
Red Front (7:0)
x00
Reserved
MaxVal. Rear (7:0)
MaxVal. Front (7:0)
Time stamp (7:0)
Next line pos.
Frac,(7:0)
Encoder clock (7:0)
Line time (7:0)
x00
Line count (7:0)
x00
Pixel
17
x00
Reserved
MaxVal. Rear (7:0)
MaxVal. Front (15:8)
Time stamp (15:8)
Next line pos. (7:0)
Encoder clock (15:8)
Line time (15:8)
Line count (15:8)
x00
Information
16
xFF
Reserved
MaxVal. Rear (7:0)
xFF
Green x00
Blue
9
GreyValSum or ContrastValue
MaxVal. Front (23:16)
Time stamp (15:8)
Speed2High
Line time (19:16)
xFF
Error register
Red
6
Info block
Encoder clock (23:16)
Value
5
Blue Rear (23:16)
4
Red Rear (23:16)
3
Blue Front (23:16)
2
Green Front (23:16)
1
Green Front (7:0)
0
Next line pos. (15:8)
Pixel
Description
Error register
1
R
Line Count
1
G/B
16 bit line count since image start
Speed to high
2
R (7)
The highest bit will have the value of “Speed2High” (the line
time will decrease the set integration time). Now, the camera
is in free running line mode.
In case of any default, it will be inserted here.
20 bit value of the actual line time for the CCD in pixel
clocks. The line time, measured in µs, will be LineTime/85.
Line time
2
R/G/B
Red
MSByte (3:0), Bits (6:4) are zero
Green
MidByte
Blue
LSByte
24 bit counter starts at power on with 0 and will be
overflowed at 2^24
Encoder clock
3
R/G/B
Line trigger pulses (line trigger active) and encoder pulses
(encoder active) will be counted depending on the selected
mode and can be used as position information by a
sequence of documents. It can be reset by software using
TAG_CLEAR_ENCODER (947 H).
Red
MSByte
Green
MidByte
Blue
LSByte
Chromasens allPIXA pro - CD40127 Version 1.0
224
Information
Next line trigger
position
Time stamp
Pixel
Channel
4
R/G/B
5
R/G/B
Description
Information of the next line trigger position in encoder pulses (only at
encoder mode). The calculated position will be shown in a 16.8b
value. If encoder averaging is used, the value is divided by the
average size.
Red
MSByte integer part
Green
LSByte integer part
Blue
decimal place
„Real time clock”
Output will be in a 16.8b seconds value. TimeStamp (23:8) will state
the seconds when the power is on or in case of reset. TimeStamp
(7:0) will issue the decimal places in a multiple of 4 milliseconds.
(0…249)
Sample:
TimeStamp = 0x123456
 0x1234
=
4660
= 1 h, 17 min, 40 seconds
seconds
since
start
 0x56 = 86 *4= 344ms.
Max video value
Grey value sum
6/7
10 15
R/G/B
R/G/B
Red
MSByte
Green
MidByte
Blue
LSByte
Maximum (raw-) video value for each color of the last whole line.
Pixel 6
FrontTap
Pixel 7
Reartap
Grey value sum of front and rear tap raw video inside the set line
length of the last line as a value for the image brightness.
Pixel 10
Red front
Pixel 11
Green front
Pixel 12
Blue front
Pixel 13
Red front
Pixel 14
Green front
Pixel 15
Blue front
For each pixel this order will be shown:
Red
MSByte
Blue
MidByte
Green
LSByte
It can be shown optionally with Contrast value sum.
Contrast value
sum
10 15
R/G/B
Contrast sums of front and rear tap raw video inside the set line
length of the last line. It is a value of the image’s sharpness.
Note: e.g. with 2048 pixels there are only 2047 difference values.
For ordering please refer to the “Contrast value sum” as follows:
It can be shown optionally with Grey value sum.
Markers
0,9,16
R/G/B
It is used for marking the info blocks with red pixels.
Red
xFF
Blue
x00
Green
x00
Chromasens allPIXA pro - CD40127 Version 1.0
225
9.10.7.3 Last line information
Overview of LastLine IMGChk Sum:
Pixel line
…
1
.. W/2-2
Vid ..
Vid
LastLine R Vid ..
Vid
LastLine G Vid ..
Vid
LastLine B Vid ..
Vid
W2-1
W/2
ChkSumRed
Front(15:8)
ChkSumRed
Front(7:0)
W/2+1
ChkSumRed
Rear(7:0)
W/2+2
ChkSumRed
Rear(15:8)
ChkSumGreen ChkSumGreen ChkSumGreen ChkSumGreen
Front(15:8)
Front(7:0)
Rear(7:0)
Rear(15:8)
ChkSumBlue
Front(15:8)
ChkSumBlue
Front(7:0)
ChkSumBlue
Rear(7:0)
ChkSumBlue
Rear(15:8)
W/2+3 ..
W
Vid
..
Vid
Vid
..
Vid
Vid
..
Vid
Vid
..
Vid
LastLine IMGChk Sum is in the last line and in the last 2 pixels of each tap.
The number of pixels of the camera n is 4096 when using a 4K-PIXA.
CHK sum overwrites the LastLine test ramp on the last 2 pixels of the tap and it consists of the last 16
bits of the sum of pixels (8 MSBits), from Pixel 0:0 until H:W/2-2 (with W pixel per tap and H-lines
within the image). This means that the CHK sum is naturally not included in the sum.
Note: with 10 bit per pixel the CHK Sum is not applicable!
Position in the image:
Front-Tap
Rear-Tap
MSB LSB LSB MSB
F
F
R
R
Chromasens allPIXA pro - CD40127 Version 1.0
226
9.11 LED flash control
For a detailed description of the functionality please also see chapter 8.7
9.11.1 Led flash control
Name
Name
Led flash control
Function
If enabled the functionality of LED flash control is active
Channels
All
Unit
Bool
Dependency
None
Notes
Please refer to chapter 8.7 “Multi-channel flash control” for more details
Camera:
Value:
Function:
Lower limit
All
0
Off
Upper limit
All
1
On
9.11.2 LED number line pattern
Parameter sets the number of pattern to be used in the LED flash control sequence. The
sequence starts with pattern 1.
Name
Name
LED number line pattern
Function
sets the number of pattern
Channels
All
Unit
Integer
Dependency
Only used if LED flash control is enabled
Notes
If LED number of Line pattern is set to 0, LED flash control is disabled
internally
Please refer to chapter 8.7 “Multi-channel flash control” for more details
Camera
Value
Lower limit
All
0
Upper limit
All
5
Chromasens allPIXA pro - CD40127 Version 1.0
227
9.11.3 LED flash sequence time
Name
Name
Led flash sequence time
Function
Gives the time for the sequence of all valid pattern in micro seconds.
Unit
Float
Step:
0.001
Linear
Dependency
If encoder / line trigger mode is active LED flash sequence time is ignored
If all 4 pattern are used the maximum sequence time is 4 * 2,3 ms = 9,2ms
The sum of all valid patterns may not exceed sequence time.
Notes
If camera is triggered by external input (LineTrigger or Encoder) the
frequency of the trigger signal may not be faster than the sum all active
patterns.
Please refer to chapter 8.7 “Multi-channel flash control” for more details
Camera
Value
Lower limit
All
0
Upper limit
All
9.200.000
9.11.4 LED line pattern
Name
Name
Led line pattern
Function
Led line pattern sets the active time for 1 of 4 available pattern and of 1 of 4
available output channels in micro seconds
Unit
Float
Step:
0.001
Linear
Dependency
If all line pattern for an output channel are set to 0 than the output channel is
disabled
Notes
Please refer to chapter 8.7 “Multi-channel flash control” for more details
Camera
Value
Lower limit
All
0
Upper limit
All
2.300.000
Chromasens allPIXA pro - CD40127 Version 1.0
228
9.12 Special functions
9.12.1 Test pattern
In order to be able to check the system setup, it is helpful to generate exactly defined test
images inside the camera.
This explicitly helps to check:
1. Frame grabber connection
2. Frame grabber setting
3. Transmission quality over the Camera Link cable
Name
Name
Test pattern
Function
Enables different test images in the camera.
Channels
All
Unit
Integer
Dependency
None
Notes
The data is generated directly after the analog image processing. It will pass
all the digital image processing steps
Camera
Value
Lower limit
All
0
Upper limit
All
5
The following different test images are available:
Image
Name
Test pattern 1:
Grey ramp in CCD-Direction
Chromasens allPIXA pro - CD40127 Version 1.0
229
Image
Name
Test pattern 2:
Grey ramp in Transport-Direction
Scan direction:
forward
backward
Test pattern 3:
Green ramp with parameter “Test pattern level”
Test pattern 4:
Sequence of 4 toggling images; 3 test patterns
with parameter “Test pattern level” and one live
image
Test pattern 5:
Grey value with parameter “Test pattern level”
Chromasens allPIXA pro - CD40127 Version 1.0
230
9.12.2 Test pattern level
Name
Name
Test pattern level
Function
Sets the video level for some test images
Channels
All
Unit
Integer
Linear
Dependency
Only with test image 3 to 5
Notes
Refers to 10 bit image data
Camera
Value
Lower limit
All
0
Upper limit
All
1023
9.13 Tracing
Function for debugging the system.
For more information please ask the Chromasens support.
E-Mail: [email protected]
9.14 Register edit
By the user all registers can be written directly on the camera.
There are 2 different possibilities to directly manipulate the register:
 Permanent:
Values entered by the user will be stored in the setting and are available after restarting the
camera or after reloading a setting.
You will find this function in the CST at “Camera settings – Special functions – Register edit”.
There are 4 places for saving register edits directly to a setting.
 Non permanent:
Changes will be transferred to the camera, but they are not stored permanently. After
restarting the camera or reloading a setting the changes will be lost. You will find this
function in the CST at “Menu -Advanced – Register edit”.
It is possible to damage the function of the camera itself by using this function.
This function is only available in the “Guru” user level of CST.
Please refer to chapter 6.16 Setting the user level in CST
Chromasens allPIXA pro - CD40127 Version 1.0
231
9.15 Camera information
9.15.1 Camera serial number
Note
All allPIXA pro cameras dispose of an individual serial number.
For any support, please provide the serial number of the camera.
Name
Name
Camera serial number
Function
Returns the serial number of the camera
Channels
All
Unit
Integer
Dependency
None
Read only
Notes
Camera
Value
Lower limit
All
0
Upper limit
All
65535
9.15.2 Setting description
Name
Name
Setting description
Function
The user is able to write a small description for each setting of the camera.
Channels
All
Unit
String up to 40 characters
Dependency
None
Notes
Please keep in mind, that a carriage return will be counted as 2 characters!
This may result in descriptions that might seem to be cut by the camera.
Camera
Value
All
Chromasens allPIXA pro - CD40127 Version 1.0
232
9.16 Line trigger and encoder setup (line synchronization)
NOTE I
Due to internal timing limitations there is a small delay in the start of the integration
time after the line trigger and this delay might jitter. Therefore, a pulsed illumination
which is synchronous to the trigger signal might cause problems in image quality.
NOTE II
In case the camera is used in the “Triggered Frame Scan” with active LineTrigger or
encoder, the linesync (Encoder or LineTrigger) will have to fit some pulses before
light barrier input.
For detailed encoder setup see also chapter 8.6
9.16.1 Enable encoder
Name
Name
Enable encoder
Function
Enables the line trigger or encoder mode in the camera and the main
selection between internal and external line trigger.
Channels
All
Unit
Bool
Dependency
None
Notes
For the use of this mode the external ports have to be connected with the
internal function by using the IO-Configurator of CST.
Camera
Value
Function
Lower limit
All
0
Off / Internal
Upper limit
All
1
On / external
9.16.2 Synchronization mode
Name
Name
Synchronization mode
Function
Select the mode “Line trigger” or “Encoder mode”.
Channels
All
Unit
Integer
Dependency
Only active with active “Enable Encoder”
Notes
For the use of this mode the external ports have to be connected with the
internal function by using the IO-Configurator of CST.
Camera:
Value:
Function:
All
0
(Disabled/Off)
All
1
Encoder mode
All
5
Line trigger
Chromasens allPIXA pro - CD40127 Version 1.0
233
The following 2 modes are available:

Line trigger:
With the line trigger the camera will send one line per pulse.
Line trigger
Int. time

Int. time
Int. time
Encoder mode:
The camera measures the distance of the signals and will send lines with the
requested resolution. An internal line trigger will be generated. The user has to set the
desired transport and encoder resolution in the CST.
e.g. 2,25 encoder pulses
per line trigger
Encoder
Line trigger
Int. time
Int. time
Int. time
For detailed encoder setup see also chapter 8.6
NOTE
Minimum pulse duration is 45ns. Shorter pulses will be ignored
Minimum speed with encoder mode is:
V,min = mm/Encoder pulse
0,59s
Example for the required minimum speed with encoder mode:
Encoder has 12,5 pulses per mm
1 Encoder pulse is 1/12,5mm = 0,08mm
 V, min = 0,08mm/0,59s = 0,135mm/s
Chromasens allPIXA pro - CD40127 Version 1.0
234
9.16.3 Encoder channels
Name
Name
Encoder channels
Function
Sets the mode according to the edges of the encoder will be taken for speed
measurement.
Channels
All
Unit
Integer
Dependency
Only active with selected “Encoder mode” at the “Synchronization mode”
Notes
For the use of this mode the external ports have to be connected with the
internal function by using the IO-Configurator of CST.
Camera
Lower limit
Upper limit
Value
Function
All
0
One Channel full step
All
1
One Channel encoder
All
2
2 Channel encoder
The following 3 modes are selectable:
0. One Channel full step (1 edge per step):
Phase A
Phase B
1. One Channel encoder (2 edges per step):
Phase A
Phase B
2. Two Channel encoder (4 edges per step):
Phase A
Phase B
NOTE
Best results will be reached with encoder mode 0 and without encoder averaging.
This mode will avoid errors due to tolerances in the duty factor of the pulses.
Chromasens allPIXA pro - CD40127 Version 1.0
235
9.16.4 Average size for the encoder
Name
Name
Average size
Function
Sets the number of increments taken for distance measurement to average
the speed measurement
Channels
All
Unit
Integer
None; 2x; 4x; 8x; 16x
Dependency
Only active with selected “Encoder mode” at “Synchronization mode”
Notes
Best results will be reached with encoder mode 0 and without encoder
averaging. This mode will avoid errors due to tolerances in the duty factor of
the pulses.
Camera
Lower limit
All
Upper limit
All
Value
Function
0
None
1
2x
2
4x
3
8x
4
16x
9.16.5 Encoder resolution
Name
Name
Encoder resolution
Function
Sets the distance of which the transport might be moved by one increment of
the encoder.
Channels
Unit
Step:
Float
0.001
µm per increment
Dependency
Notes
Only active with selected “Encoder mode” at “Synchronization mode”
Refers to a full increment of the encoder.
Camera
Value CST
Lower limit
All
0 µm
Upper limit
All
100,000 µm
NOTE
The value “Encoder pulses per line” is calculated internally by the camera and may
not exceed 255. Recommended values are between 0.5 and 255. Kindly note that
values less than 0.5 will cause a decrease in transport resolution accuracy. For detail
calculation see chapter 9.16.6
Chromasens allPIXA pro - CD40127 Version 1.0
236
9.16.6 Vertical image resolution
Name
Name
Vertical image resolution
Function
Define the desired transport (vertical) resolution for the encoder mode.
Channels
All
Unit
Float
Step:
0.01
DPI (dots per inch)
Dependency
Only active with selected “Encoder mode” at “Synchronization mode”
Notes
This parameter is needed for the calculation of internal parameters for the
encoder mode.
Camera
Lower limit
All
Default
All
NOTE
Value CST
0
4,000
(*0,01dpi)
The value “Encoder pulses per line” is calculated internally by the camera and may
not exceed 255. Recommended values are between 0.5 and 255. Kindly note that
values less than 0.5 will cause a decrease in transport resolution accuracy.
This value will be calculated with the following formula by the given values in the CST:
𝐸𝑑𝑔𝑒𝑠
𝑚𝑚
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝐶ℎ𝑎𝑛𝑛𝑒𝑙 (
) ∗ 25,4 (
) ∗ 1000
𝑆𝑡𝑒𝑝
𝑖𝑛𝑐ℎ
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝑃𝑢𝑙𝑠𝑒𝑠𝑃𝑒𝑟𝐿𝑖𝑛𝑒 =
µ𝑚
𝐷𝑜𝑡𝑠
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛 (
) ∗ 𝑉𝑒𝑟𝑡𝑖𝑐𝑎𝑙𝐼𝑚𝑎𝑔𝑒𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛(
)
𝑆𝑡𝑒𝑝
𝑖𝑛𝑐ℎ
Afterwards the CST will show the result.
By using dots per inch (dpi) for this calculation, you have to use the following formula:
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝑃𝑢𝑙𝑠𝑒𝑠𝑃𝑒𝑟𝐿𝑖𝑛𝑒 = 𝐹𝑢𝑙𝑙𝐼𝑛𝑐𝑟𝑒𝑚𝑒𝑛𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛(𝑑𝑝𝑖) ∗
𝐸𝑑𝑔𝑒𝑠/𝑠𝑡𝑒𝑝
𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑢𝑙𝑢𝑡𝑖𝑜𝑛(𝑑𝑝𝑖)
The value for encoder pulses per line can also be calculated with the following formula:
𝜇𝑚
𝐸𝑑𝑔𝑒𝑠/𝑠𝑡𝑒𝑝
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝑃𝑢𝑙𝑠𝑒𝑠𝑃𝑒𝑟𝐿𝑖𝑛𝑒 = 𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛 (
)∗
𝑝𝑖𝑥𝑒𝑙 𝐹𝑢𝑙𝑙𝐼𝑛𝑐𝑟𝑒𝑚𝑒𝑛𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛( 𝜇𝑚 )
𝑖𝑛𝑐𝑟
NOTE
“Vertical image resolution” and “Integration time” have to be suitable to the speed of
the transport. The time for one line (Speed divided by resolution) should be longer
than the shortest possible integration time. In case of higher speed, the camera will
switch to free running line mode.
Chromasens allPIXA pro - CD40127 Version 1.0
237
9.16.7 Line trigger / encoder reduction
Name
Name
Line trigger reduction
Function
Internal pre-counter for the line trigger or encoder signal, will output an
internal line trigger after the set value of signals from external line trigger
source.
Channels
All
Unit
integer
Dependency
Only active with “Enable encoder”
Notes
Camera
Value
Lower limit
All
1
Upper limit
All
256
By using line trigger reduction, the vertical image resolution is reduced by factor:
𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛, 𝑟𝑒𝑑𝑢𝑐𝑒𝑑[𝑑𝑝𝑖] =
𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛[𝑑𝑝𝑖]
Line trigger reduction factor
𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛, 𝑟𝑒𝑑𝑢𝑐𝑒𝑑[µ𝑚] = Line trigger reduction factor ∗ 𝑇𝑟𝑎𝑛𝑠𝑝𝑜𝑟𝑡𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛[µ𝑚]
Chromasens allPIXA pro - CD40127 Version 1.0
238
9.17 Default parameters
The camera will be delivered with the following default parameters.
Chapter
Name
2048
4096
7300
9.1.1
Integration time
16,5 µs
24,3 µs
43,13 µs
9.1.2
Use line period
Off
Off
Off
9.1.3
Line period time
100 µs
100 µs
100 µs
9.2.1
Target white reference values
800
800
800
9.2.2
Analog coarse gain
-3 dB
- 3 dB
- 3dB
9.2.3
Current camera gain values
*)
*)
*)
9.2.5
Enable continuous white control
Off
Off
Off
9.2.6
Position and mode for white reference mark
Automatic
Automatic
Automatic
Use sync mode
Off
Off
Off
9.2.7
White control mode
Stop gain control
Off
Off
Off
On
On
On
0.001
0.001
0.001
*)
*)
*)
9.2.8
Set active channels for white control
9.2.9
Gain control stop factor
9.2.10
Start gain values
9.2.11
Update start gain values
Off
Off
Off
9.3.3
First relative pixel of white reference
900
1800
3400
9.3.6
Number of pixels for white reference
100
100
100
9.3.9
Number of reference samples (Average)
None
None
None
9.3.7
First image line for the white reference
200
200
200
9.3.8
Number of image lines for the white reference
100
100
100
9.3.10
Show white reference border
Off
Off
Off
9.4.1
Shading correction (flat field correction)
Off
Off
Off
9.4.2
Black level correction (offset correction)
On
On
On
9.4.3
White reference data set
1
1
1
9.4.4
Black reference data set
1
1
1
9.5.1
Use brightness and contrast
Off
Off
9.5.2
Brightness
0
0
0
9.5.3
Contrast
0.9
0.9
0.9
9.5.4
Gamma correction
0
0
0
9.6.1
RGB line distance
4
4
4
9.6.2
Scan direction
forward
forward
forward
9.7.1
Number of scan lines per image (frame mode)
2000
2000
9.7.2
First valid scan line
20
10
500
9.7.3
Scan line length
2048
4096
7296
9.9.5
Pixel shift for correction
0
0
0
9.9.6
Keystone correction width
1
1
1
Chromasens allPIXA pro - CD40127 Version 1.0
Off
2500
239
Chapter
Name
2048
4096
7300
9.8.1
Triggered frame scan
Free running
Free running
Free running
9.8.2
Scan lines after stop
50
50
50
9.8.3
Stop after maximum number of lines
Off
Off
Off
9.8.4
Maximum number of scan lines
5000
5000
5000
9.8.5
Number of suppressed lines
0
0
0
9.8.6
Input debouncing speed
LB0:slow
LB0:slow
LB2:fast
9.8.7
Scan pattern
-
-
LB2: fast
9.8.8
Master-slave
Off
Off
Off
9.9.1
Mirror image horizontally
Off
Off
Off
9.9.2
Color conversion matrix
Off
Off
Off
9.9.3
Select active CCM
1
1
1
9.9.4
Use keystone correction
Off
Off
Off
9.10.1
Swap red and blue color channel
Off
Off
Off
9.10.2
Video output mode
3x8 Bit
3x8 Bit
3x8 Bit
9.10.3
Color weights
0.3 / 0.59 /
0.11
0.3 / 0.59 /
0.11
0.3 / 0.59 /
0.11
9.10.4
Camera Link connection speed
Standard
Standard
High speed
9.10.5
Camera Link interface type
Medium
Medium
Medium 1X2
9.10.7
Insert mode
Off
Off
Off
9.12.1
Test pattern
Off
Off
Off
9.12.2
Test pattern level
0
0
1023
9.13
Tracing
None
None
None
9.14
Register edit
None
None
None
9.15.1
Camera serial number
*)
*)
*)
9.15.2
Setting description
9.16.1
Enable encoder
Off
Off
Off
9.16.2
Synchronization mode
Line trigger
Line trigger
Encoder
9.16.3
Encoder channels
1 channel
full step
1 channel
full step
1 channel full
step
9.16.4
Average size for the encoder
Off
Off
Off
9.16.5
Encoder resolution
70 µm
70 µm
70 µm
9.16.6
Vertical image resolution
300 dpi
300 dpi
300 dpi
9.16.7
Line trigger / encoder reduction
1
1
1
*)
Settings differ from camera to camera. Serial numbers are individual for each camera. Some settings will
result from the camera final test.
Chromasens allPIXA pro - CD40127 Version 1.0
240
9.18 User levels of parameters
The visibility (and as a result the accessibility) of parameters is defined by the chosen “User level” in
the CST-application.
The following table shows the user level for single parameters:
Please refer to the CST-description in this manual (6.16), how to set the “User level”.
Chapter
Name
Normal
User
Expert
Guru
9.1.1
Integration time
X
X
X
9.1.2
Use line period
X
X
X
9.1.3
Line period time
X
X
X
9.2.1
Target white reference values
X
X
X
9.2.2
Analog coarse gain
X
X
X
9.2.3
Current camera gain values
X
X
X
9.2.5
Enable continuous white control
X
X
X
9.2.6
Position and mode for white reference
mark
9.2.7
White control
mode
X
Use sync mode
X
X
X
Stop gain control
X
X
X
9.2.9
Gain control stop factor
X
X
X
9.2.10
Start gain values
X
X
X
9.2.11
Update start gain values
X
X
X
9.3.3
First relative pixel of white reference
X
X
X
9.3.6
Number of pixels for white reference
X
X
X
9.3.9
Number of reference samples (Average)
X
X
X
9.3.7
First image line for the white reference
X
X
X
9.3.8
Number of image lines for the white
reference
X
X
X
9.3.10
Show white reference border
X
X
X
9.4.1
Shading correction (flat field correction)
X
X
X
9.4.2
Black level correction (offset correction)
X
X
X
9.4.3
White reference data set
X
X
X
9.4.4
Black reference data set
X
X
X
9.5.1
Use brightness and contrast
X
X
X
9.5.2
Brightness
X
X
X
9.5.3
Contrast
X
X
X
9.5.4
Gamma correction
X
X
X
9.6.1
RGB line distance
X
X
X
9.6.2
Scan direction
X
X
X
Chromasens allPIXA pro - CD40127 Version 1.0
241
Chapter
Name
Normal
User
Expert
Guru
9.7.1
Number of scan lines per image
X
X
X
9.7.2
First valid scan line
X
X
X
9.7.3
Scan line length
9.8.1
Triggered frame scan
X
X
X
9.8.2
Scan lines after stop
X
X
X
9.8.3
Stop after maximum number of lines
X
X
X
9.8.4
Maximum number of scan lines
X
X
X
9.8.5
Number of suppressed lines
X
X
X
9.8.6
Input debouncing speed
X
X
X
9.8.7
Scan pattern
X
X
X
9.8.8
Master-slave
9.9.1
Mirror image horizontally
X
X
X
9.9.2
Color conversion matrix
X
X
X
9.9.3
Select active CCM
X
X
X
9.9.4
Use keystone correction
X
X
X
9.9.5
Pixel shift for correction
X
X
X
9.9.6
Keystone correction width
9.10.1
Swap red and blue color channel
X
X
X
9.10.2
Video output mode
X
X
X
9.10.3
Color weights
X
X
X
9.10.4
Camera Link connection speed
X
X
X
9.10.5
Camera Link interface type
X
X
X
9.10.7
Insert mode
X
X
X
9.12.1
Test pattern
X
X
X
9.12.2
Test pattern level
X
X
X
9.13
Tracing
X
9.14
Register edit
X
9.15.1
Camera serial number
X
X
X
9.15.2
Setting description
X
X
X
9.16.1
Enable encoder
X
X
X
9.16.2
Synchronization mode
X
X
X
9.16.3
Encoder channels
X
X
X
9.16.4
Average size for the encoder
X
X
X
9.16.5
Encoder resolution
X
X
X
9.16.6
Vertical image resolution
X
X
X
9.16.7
Line trigger / encoder reduction
X
X
X
Chromasens allPIXA pro - CD40127 Version 1.0
X
X
X
242
10 Troubleshooting and Support
The troubleshooting information in this chapter will help you to identify common problems and
will let you know how to solve them.
If you are not able to solve the problem with the information in this troubleshooting chapter you
may decide to contact Chromasens technical support for further help. Before you contact
Chromasens technical support please take a look to the support form (see chapter 0) and
prepare the answers or fill out the form completely. With this information you can make sure that
you have most of the information available which is required for the technical support team to
help you best with your problem.
10.1 Returning material (obtain an RMA number)
Before returning material to Chromasens you must request a RMA number (Return Material
Authorization). This RMA number has to be stated in all of your delivery documents when
material is returned to Chromasens. Returned material without RMA number might not be
processed in time and we will also reserve the right to reject material without an RMA number.
To obtain an RMA number please contact Chromasens support first.
Chromasens GmbH
Max-Stromeyer-Straße 116
D-78467 Konstanz
Germany
Phone:
Fax:
+49 (0) 7531 - 876-0
+49 (0) 7531 - 876-303
E-Mail: [email protected]
Internet: www.chromasens.de
For return of material please use original packaging material to avoid any damages to the
cameras.
Chromasens allPIXA pro - CD40127 Version 1.0
243
10.2 Camera status identification by the camera status LED
The camera status LED indicates the actual status of the camera itself. After boot up is finished
the camera performs continuously self-checks. If an error is detected the camera will indicate
this by changing the LEDs color.
LED color
Description
off
No power is present at the camera or the input voltage is out of
the limits. (see also chapter 2.3 for power rating and chapter
5.1.1 for the pin layout)
Green
Camera has power and is ok (FVAL inactive)
Red
The camera is in error condition. You may check the detailed
camera status using the CST
Blue
Camera is ok and output image data (FVAL active)
LED alternates
green/blue
The camera is ok and output frequently image data based on a
trigger signal
Sequence of long
green, short
orange, green
This is the normal power up sequence. After this sequence the
camera will continue operation according the definitions which
have been made in setting 1.
Chromasens allPIXA pro - CD40127 Version 1.0
244
10.3 Camera overheating protection
For safety reason the camera is equipped with an internal three step overheating protection.
Step 1: high temperature warning:
If the camera internal temperature increases above the defined limit the camera will
indicate this warning status by:
- Status LED of the camera turns red
- The camera will return error state 0x3d or 0x3e
Please let the camera cool down and check environment. Improve cooling condition of the
camera if necessary.
Step 2: warning level 2:
If the temperature is still increasing the camera will automatically turn into safety mode to
protect the camera electronic from overheating.
This camera state is indicated by:
- Status LED of the camera turns red
- The camera will return error state 0x40
- The camera will output the following image:
Step 3: final safety shutdown:
If the temperature is still increasing above the critical internal temperature the camera hardware
will be shut down to protect and prevent damage to the camera. In this condition the camera
will:
- Not send images any more
- Status LED of the camera turns red
- The camera will return error state 0x40
How to get the camera back from step 2 and 3 to normal operation:
- Please let cool down the camera
- Check the environment and improve cooling condition to the camera if necessary
- Restart the camera (power off/on)
Chromasens allPIXA pro - CD40127 Version 1.0
245
10.4 Before contacting Chromasens technical support
If you have a problem with the camera and decide to contact Chromasens technical support
then it is very important that you collect all relevant system information before.
This might guarantee a quick and efficient problem solving process together with Chromasens
technical support stuff.
To collect the most important information of your issue you may use the following list as a
guideline. You can also download the list from our website at
http://www.chromasens.de/de/support
Please fill out this list and provide the information including the requested files before you
contact Chromasens technical support.
Contact Data
Company name
Name
E-Mail
Phone
Street
City
Zip code
State/Country
Contact person CS
Date
Technical Information
System Information
allPIXA
Camera type
allPIXA pro
 2k
 4k
 7.3k
Camera serial number
CST version used
Operating system
Framegrabber
Camera Link
type
Type + Manufacturer
cable length +
m
Problem Description
Description of the problem:
(as detailed as possible)
When did the problem occur:
 after start
 during operation
 at a specific action, please describe:
How often did problem occurs
 once
 always
 regularly
 rarely
please describe:
Chromasens allPIXA pro - CD40127 Version 1.0
246
Did the application ever run ok
 yes
 no
If known please describe the
reason for the problem or any
abnormal behaviors
Image and Parameter Files
Camera parameter settings

(It is very important to provide a copy of the exact camera settings when the problem occurred)
Live images

(Live or test images showing the problem. Please save images in BMP format)
Computer System Information

(Press the
-button in the CST-toolbar and copy the output into a file or the support mail)
Chromasens allPIXA pro - CD40127 Version 1.0
247
11 Appendix
11.1 EC conformity declaration
Chromasens allPIXA pro - CD40127 Version 1.0
248
11.2 Camera system design / lens selections
11.2.1 Calculating the object-to-image distance
You will need the following parameters for calculating the optical setup:

Image size (Sensor size of camera (which is in use))

Object size/width

Focal length (from data sheet of the lens)

Principal main plain distance (from data sheet of the lens)
First, calculate the magnification:
𝑚=
𝐼𝑚𝑎𝑔𝑒𝑆𝑖𝑧𝑒/𝑚𝑚
𝑂𝑏𝑗𝑒𝑐𝑡𝑆𝑖𝑧𝑒/𝑚𝑚
After getting the result for the magnification, calculate the object-to-image distance by
following:
Calculate the image distance:
𝐼𝑚𝑎𝑔𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐹𝑜𝑐𝑎𝑙𝐿𝑒𝑛𝑔ℎ𝑡 ∗ (𝑚 + 1)
Calculate the object distance:
𝑂𝑏𝑗𝑒𝑐𝑡𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐹𝑜𝑐𝑎𝑙𝐿𝑒𝑛𝑔ℎ𝑡 ∗ (
𝑚+1
)
𝑚
Calculate the object-to-image distance with note of the main plain distance:
𝑂𝑏𝑗𝑒𝑐𝑡𝐼𝑚𝑎𝑔𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐼𝑚𝑎𝑔𝑒𝑆𝑖𝑧𝑒 + 𝑂𝑏𝑗𝑒𝑐𝑡𝑆𝑖𝑧𝑒 + 𝑀𝑎𝑖𝑛 𝑝𝑙𝑎𝑖𝑛 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒

f = focal length

y = object size

y’ = image size
You can see a calculation example on the next page.
Chromasens allPIXA pro - CD40127 Version 1.0
249
Example:
Camera:
Object width/size:
Lens:
allPIXA pro camera 7300
𝑚=
73 mm (10um/pixel * 7300 pixels)
450 mm
90.1 mm real focal length
-2.5 mm principal main plain distance
𝐼𝑚𝑎𝑔𝑒𝑆𝑖𝑧𝑒
= 0.162
𝑂𝑏𝑗𝑒𝑐𝑡𝑆𝑖𝑧𝑒
𝐼𝑚𝑎𝑔𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐹𝑜𝑐𝑎𝑙𝐿𝑒𝑛𝑔ℎ𝑡 ∗ (𝑚 + 1) = 104.72 𝑚𝑚
𝑚+1
) = 645,51 𝑚𝑚
𝑚
𝑂𝑏𝑗𝑒𝑐𝑡𝐼𝑚𝑎𝑔𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐼𝑚𝑎𝑔𝑒𝑆𝑖𝑧𝑒 + 𝑂𝑏𝑗𝑒𝑐𝑡𝑆𝑖𝑧𝑒 + 𝑀𝑎𝑖𝑛 𝑝𝑙𝑎𝑖𝑛 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 747.73
𝑂𝑏𝑗𝑒𝑐𝑡𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐹𝑜𝑐𝑎𝑙𝐿𝑒𝑛𝑔ℎ𝑡 ∗ (
(w/o glass plates in the optical path)
11.2.2 Calculating the distance rings (tubes) for the allPIXA pro camera
Some applications require distance rings (tubes) for mounting the lens in the right position on the
allPIXA pro camera. This chapter shows an example how to calculate the length of the distance ring.
In order to calculate the needed distance rings, the user has to get some information about the optical
setup:
Optical parameter:
 Real focal length (from data sheet)
 Image distance (calculated)
Parameters of the lens:
 Back flange length at infinite distance (from data sheet)
Parameters of additional focusing unit:
 Minimum offset distance of the unit from flange of the lens
 Maximum offset distance
Figure 38
A calculation example is shown on the next page.
Chromasens allPIXA pro - CD40127 Version 1.0
250
Example:
Camera:
Lens:
Focusing unit:
Object width/size:
1.
allPIXA camera 7300
Linos Apo Rodagon 90 mm
90.1 mm real focal length
93.5 mm flange length@infinite
Modular Fokus
Minimum offset
20 mm
Maxium offset
45 mm
450 mm
Calculating image distance:
a.
Calculating the magnification:
𝑚=
b.
𝐼𝑚𝑎𝑔𝑒𝑆𝑖𝑧𝑒/𝑚𝑚
𝑂𝑏𝑗𝑒𝑐𝑡𝑆𝑖𝑧𝑒/𝑚𝑚
Calculating the image distance:
𝐼𝑚𝑎𝑔𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 = 𝐹𝑜𝑐𝑎𝑙𝐿𝑒𝑛𝑔ℎ𝑡 ∗ (𝑚 + 1)
Result will be:
104,72 mm
2.
Calculating the difference between image distance@infinite and flange length@infinite:
Image distance@infinite converged to focal length: 90.1 mm
Difference:
93.5 mm -90.1 mm = 3.4 mm
3.
Calculating flange distance at working point:
Flange distance@working point:
104.72 mm + 3.4 mm =108.12 mm
4.
Calculating the sum of the distances:
Real flange distance:
+
Back focus of the allPIXA camera: Minimum offset focusing unit:
Sum:
=
108.12
17.526 mm (C-Mount)
20.0 mm
70.954 mm
Therefore, we use a distance ring of 60.0 mm. This will cover flange distances from
97.526 mm up to 122.56 mm.
Chromasens allPIXA pro - CD40127 Version 1.0
251
11.2.3 Calculating the integration time
The relationship between the line frequency and the integration time is as follows:
𝐼𝑛𝑡𝑒𝑔𝑟𝑎𝑡𝑖𝑜𝑛𝑇𝑖𝑚𝑒/𝑠𝑒𝑐. =
1
𝐿𝑖𝑛𝑒𝐹𝑟𝑒𝑢𝑞𝑢𝑒𝑛𝑐𝑦/𝐻𝑧
For the calculation of the integration time the following parameters are necessary:
o Maximum or nominal speed of the transport
(mm/s)
o Desired transport resolution
(mm/pixel or dpi)
Calculate the integration time with the formula as follows:
𝒎𝒎
𝑻𝒓𝒂𝒏𝒔𝒑𝒐𝒓𝒕𝑹𝒆𝒔𝒐𝒍𝒖𝒕𝒊𝒐𝒏 (
)
𝒑𝒊𝒙𝒆𝒍
𝑰𝒏𝒕𝒆𝒈𝒓𝒂𝒕𝒊𝒐𝒏𝑻𝒊𝒎𝒆 =
𝒎𝒎
𝑵𝒐𝒎𝒊𝒏𝒂𝒍𝑺𝒑𝒆𝒆𝒅 ( 𝒔 )
Note: If the transport resolution is stated in dpi and the speed in metric values, the values will
have to be converted (1 inch= 25,4 mm).
Chromasens allPIXA pro - CD40127 Version 1.0
252
11.3 Camera Link interface
11.3.1 Camera Link Base 1T24 1X1
One zone in X with 1 tap in RGB
The grabber writes the 3 Camera Link ports PortA to PortC direct and linear to the PC memory:
CLClk-Cycle
Byte
1
1
2
2
3
4
5
3
6
7
8
4
5
... W
6
... 3W
9 10 11 12 13 14 15 16
17
18
CL-Ports
PA PB PC PA PB PC PA PB PC PA PB PC PA PB PC PA
PB
PC … PC
Line 1
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6
Px6
... PxW
Line 2
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6
Px6
... PxW
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6
Px6
... PxW
…
Line H
11.3.2 Camera Link-Medium 2Tx24b (2XE)
This is the natural readout direction of the CCD.
The sensor is read out in 2 sections (in front tap and rear tap). The front part is output via
Camera Link connector 1 (CL-Con 1), and the rear part is output via Camera Link connector 2
(CL-Con 2).
Figure 39: Image information output on the Camera Link
Chromasens allPIXA pro - CD40127 Version 1.0
253
Regarding to Camera Link draft description for sensors the read out system is called “2XE”.
Figure 40 2XE readout selection
NOTE
Kindly note that some frame grabbers use this term and others use terms for
“read in”, therefore, the direction might be inversed.
Two zones in X with end extraction in RGB
The grabber writes the 6 Camera Link ports PortA to PortF to the PC memory:
CLClkCycle
1
2
3
...
W/2
10
11
12 13 14 15 16
17
18 ...
3W
CL-Ports
PA PB PC PD PE PF PA PB PC PD
PE
PF PA PB PC PD
PE
PF …
PF
Line 1
Px1 Px1 Px1 PxW PxW PxW Px2 Px2 Px2 PxW- Pxw- Pxw- Px3 Px3 Px3 Pxw- Pxw- Pxw- ... PxW/2+1
1
1
1
2
2
2
Line 2
Px1 Px1 Px1 PxW PxW PxW Px2 Px2 Px2 PxW- Pxw- Pxw- Px3 Px3 Px3 Pxw- Pxw- Pxw- ... PxW/2+1
1
1
1
2
2
2
Byte
1
2
3
4
5
6
7
8
9
…
Line H
Px1 Px1 Px1 PxW PxW PxW Px2 Px2 Px2 PxW- Pxw- Pxw- Px3 Px3 Px3 Pxw- Pxw- Pxw- ... PxW/2+1
1
1
1
2
2
2
Chromasens allPIXA pro - CD40127 Version 1.0
254
11.3.3 Camera Link Medium 2Tx24b (RGB) 1X2
Figure 41
One zone in X with two taps in RGB
The grabber writes the 6 Camera Link ports PortA to PortF direct and linear to the PC memory:
CLClk-Cycle
Byte
1
1
2
3
2
4
5
6
7
8
3
... W/2
9 10 11 12 13 14 15 16 17 18 ... 3W
CL-Ports
PA PB PC PD PE PF PA PB PC PD PE PF PA PB PC PD PE PF … PF
Line 1
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6 Px6 ... PxW
Line 2
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6 Px6 ... PxW
…
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6 Px6 ... PxW
Line H
11.3.4 Camera Link-Full64 8Tx8b (1X8 raw, RGB with 8 color planes per camera link clock)
Camera Link Full64_8Tapsx8bits 1X8 in RGB: (RGB Pixel with 24 Bit in Area and line scan mode)
One zone in X with 8 taps
If the camera output is 8Bits per color, the RGB subpixel is stored into 1 Byte of PC memory.
The grabber writes the 8 Camera Link ports PortA to PortH direct and linear to the PC memory:
CLClkCycle
Byte
1
1
2
3
4
2
5
6
7
8
9 10 11 12 13 14 15 16 17
3
... 3W/8
18 ... 24 ... 3W
PB
PH … PH
Line 1
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6 Px6
Px8 ... PxW
Line 2
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6 Px6
Px8 ... PxW
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 Px5 Px5 Px6 Px6 Px6
Px8 ... PxW
CL-Ports PA PB PC PD PE PF PG PH PA PB PC PD PE PF PG PH PA
…
Line H


Each line width at the camera ("W") must be a multiple of 8 (depends on Frame Grabber)
every camera link clock transmits 2 2/3 pixel.
Chromasens allPIXA pro - CD40127 Version 1.0
255
11.3.5 CL-Full64_8Tx8b 1X8 Raw (only allPIXA pro-Mono):
One zone in X with 8 taps
Camera Link Full64_8Tapsx8bits 1X8: (Mono pixel with 8 Bit in Area and line scan mode)
The grabber writes the 8 Camera Link ports PortA to PortH direct and linear to the PC memory:
CLClkCycle
1
Byte
1
2
3
4
2
5
6
7
8
9
10
11
12
W/8
3
13 14 15
18 ... 24 ... W
16 17
CL-Ports
PA PB PC PD PE PF PG PH PA PB PC PD PE PF PG PH PA PB
PH … PH
Line 1
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Px24 ... PxW
Line 2
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Px24 ... PxW
…
...
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Line H


--Px24 ... PxW
Each line width at the camera ("W") must be a multiple of 8 (depends on Frame Grabber)
every camera link clock transmits 8 pixel.
11.3.6 Camera Link Full80 8Tx10b (1X8 raw, RGB with 8 color planes per camera link clock
Camera Link Full80_8Tapsx10bits 1X8 in RGB: (RGB Pixel with 30 Bit in Area and line scan mode)
One zone in X with 8 taps
If the camera output is 10Bits per color, the RGB subpixel is stored into 2 Byte of PC memory.
-> RGB48 at the PC
 Same as above but with 8 Taps and 10 Bits per tap
 Each line at the camera must be a multiple of 8,
 Every camera link clock transmits 2 2/3 pixel.
There are several options within the camera (e.g. change Red-Blue) for optimizing the video interface.
11.3.7 Camera Link-Full80 10Tx8b (1X10 raw, RGB with 10 color planes per camera link clock
Camera Link Full80_10Tapsx8bits 1X10 in RGB: (RGB Pixel with 24 Bit in Area and line scan mode)
One zone in X with 10 taps
The grabber writes the 10 Camera Link ports PortA to PortJ direct and linear to the PC memory:
CLClkCycle
Byte
1
1
2
3
4
5
2
6
7
8
3
9 10 11 12 13 ... 19 20
... 3W/10
21
22 ... 30 ...
3W
CLPorts
PA PB PC PD PE PF PG PH PI PJ PA PB
PI PJ PA
PB ... PJ …
PJ
Line 1
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 ... Px7 Px7 Px7
Px8 ... Px10 ...
PxW
Line 2
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5
Px7 Px7 Px7
Px8 ... Px10 ...
PxW
Px1 Px1 Px1 Px2 Px2 Px2 Px3 Px3 Px3 Px4 Px4 Px4 Px5 ... Px7 Px7 Px7
Px8 ... Px10 ...
PxW
…
Line H


Each line width at the camera ("W") must be a multiple of 10 (depends on Frame Grabber)
every camera link clock transmits 3 1/3 pixel.
Chromasens allPIXA pro - CD40127 Version 1.0
256
11.3.8 Camera Link-Base 2Tx8b, 2Tx10b, 2Tx12b (2XE)
Only for color camera with mono output
Two zones in X with end extraction
The grabber writes the 3 Camera Link ports PortA to PortC direct and linear to the PC memory:
CLClk-Cycle
Byte
1
2
1 2 3
4
3
5
6
7
4
8
9
5
6
...
10 11 12 13 14 15 16 17 18 ...
W/2
W
CL-Ports
PA PB PC PA PB PC PA PB PC PA PB PC PA PB PC PA PB PC … PA PB PC
Line 1
Px1 + PxW Px2 + PxW-1 Px3 + PxW-2 Px4 + PxW-3 Px5 + PxW-4 Px6 + PxW-5 ... Pw/2+PxW/2+1
Line 2
Px1 + PxW Px2 + PxW-1 Px3 + PxW-2 Px4 + PxW-3 Px5 + PxW-4 Px6 + PxW-5 ... Pw/2+PxW/2+1
…
Px1 + PxW Px2 + PxW-1 Px3 + PxW-2 Px4 + PxW-3 Px5 + PxW-4 Px6 + PxW-5 ... Pw/2+PxW/2+1
Line H
For the position of the video bits see "Camera Link Port assignment"
11.3.9 Camera Link-Medium 4Tx8b (1X4) Mono
Only for mono camera
One zone in X with 4 taps
CLClkCycle
1
Byte
1
2
2
3
4
5
6
3
7
8
9
10
11
4
12
13
14
3
15
16
17
... W/4
18 ... 24 ... W
CL-Ports
PA PB PC PD PA PB PC PD PA PB PC PD PA PB PC PD PA PB
PD … PD
Line 1
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Px24 ... PxW
Line 2
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Px24 ... PxW
…
...
Line H
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18


- - Px24 ... PxW
Each line width at the camera ("W") must be a multiple of 4 (depends on Frame Grabber)
every camera link clock transmits 4 pixel.
Chromasens allPIXA pro - CD40127 Version 1.0
257
11.3.10 Camera Link-Full64 8Tx8b (1X8) Mono
Only for mono camera
One zone in X with 8 taps
CLClkCycle
1
Byte
1
2
3
4
2
5
6
7
8
9
10
11
12
13
3
14
15
16
17
... W/8
18 ... 24 ... W
CL-Ports
PA PB PC PD PE PF PG PH PA PB PC PD PE PF PG PH PA PB
PH … PH
Line 1
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Px24 ... PxW
Line 2
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18
Px24 ... PxW
…
...
Line H
Px1 Px2 Px3 Px4 Px5 Px6 Px7 Px8 Px9 Px10 Px11 Px12 Px13 Px14 Px15 Px16 Px17 Px18


- - Px24 ... PxW
Each line width at the camera ("W") must be a multiple of 8 (depends on Frame Grabber)
every camera link clock transmits 8 pixel.
Chromasens allPIXA pro - CD40127 Version 1.0
258
11.3.11 Camera Link Port assignment
11.3.11.1 Base configuration
In the color mode the Camera Link will use 1X format (One zone in X with 1 tap)
with 3x8bit per pixel transmitted on Camera Link connector 1.
If set to grey 2 Pixels with 8/10/12bit are also transmitted on the first Camera Link connector.
According to the Camera Link specification the data will be transmitted like displayed in the
following table
Connector 1
Conn1
Output format “Color” Output format “Mono” Output format “Mono” Output format “Mono” Input Name Trans/Rec Number
24Bit RGB
8Bit*2
10Bit*2
12Bit*2
PxCLK
PxCLK
PxCLK
PxCLK
Strobe
TxClk/RxClkt
LVAL
LVAL
LVAL
LVAL
LVAL
TX24/RX24
FVAL
FVAL
FVAL
FVAL
FVAL
TX25/RX25
Pen
Pen
Pen
Pen
DVAL
TX26/RX26
Spare
Spare
Spare
Spare
Spare
TX23/RX23
Red Px #1 Bit 0
Px #1 Bit 0
Px #1 Bit 0
Px #1 Bit 0
Port A0
TX0/RX0
Red Px #1 Bit 1
Px #1 Bit 1
Px #1 Bit 1
Px #1 Bit 1
Port A1
TX1/RX1
Red Px #1 Bit 2
Px #1 Bit 2
Px #1 Bit 2
Px #1 Bit 2
Port A2
TX2/RX2
Red Px #1 Bit 3
Px #1 Bit 3
Px #1 Bit 3
Px #1 Bit 3
Port A3
TX3/RX3
Red Px #1 Bit 4
Px #1 Bit 4
Px #1 Bit 4
Px #1 Bit 4
Port A4
TX4/RX4
Red Px #1 Bit 5
Px #1 Bit 5
Px #1 Bit 5
Px #1 Bit 5
Port A5
TX6/RX6
Red Px #1 Bit 6
Px #1 Bit 6
Px #1 Bit 6
Px #1 Bit 6
Port A6
TX27/RX27
Red Px #1 Bit 7
Px #1 Bit 7
Px #1 Bit 7
Px #1 Bit 7
Port A7
TX5/RX5
Green Px #1 Bit 0
Px #2 Bit 0
Px #1 Bit 8
Px #1 Bit 8
Port B0
TX7/RX7
Green Px #1 Bit 1
Px #2 Bit 1
Px #1 Bit 8
Px #1 Bit 9
Port B1
TX8/RX8
Green Px #1 Bit 2
Px #2 Bit 2
---
Px #1 Bit 10
Port B2
TX9/RX9
Green Px #1 Bit 3
Px #2 Bit 3
---
Px #1 Bit 11
Port B3
TX12/RX12
Green Px #1 Bit 4
Px #2 Bit 4
Px #2 Bit 8
Px #2 Bit 8
Port B4
TX13/RX13
Green Px #1 Bit 5
Px #2 Bit 5
Px #2 Bit 9
Px #2 Bit 9
Port B5
TX14/RX14
Green Px #1 Bit 6
Px #2 Bit 6
---
Px #2 Bit 10
Port B6
TX10/RX10
Green Px #1 Bit 7
Px #2 Bit 7
---
Px #2 Bit 11
Port B7
TX11/RX11
Blue Px #1 Bit 0
---
Px #2 Bit 0
Px #2 Bit 0
Port C0
TX15/RX15
Blue Px #1 Bit 1
---
Px #2 Bit 1
Px #2 Bit 1
Port C1
TX18/RX18
Blue Px #1 Bit 2
---
Px #2 Bit 2
Px #2 Bit 2
Port C2
TX19/RX19
Blue Px #1 Bit 3
---
Px #2 Bit 3
Px #2 Bit 3
Port C3
TX20/RX20
Blue Px #1 Bit 4
---
Px #2 Bit 4
Px #2 Bit 4
Port C4
TX21/RX21
Blue Px #1 Bit 5
---
Px #2 Bit 5
Px #2 Bit 5
Port C5
TX22/RX22
Blue Px #1 Bit 6
---
Px #2 Bit 6
Px #2 Bit 6
Port C6
TX16/RX16
Blue Px #1 Bit 7
---
Px #2 Bit 7
Px #2 Bit 7
Port C7
TX17/RX17
Figure 42: Transmission of data according Camera Link specification Camera Link Base
Chromasens allPIXA pro - CD40127 Version 1.0
259
11.3.11.2 Medium configuration
In the color mode the Camera Link Medium will use 1X2 (One zone in X with 2 taps) or 2XE
(Two zones in X with end extraction) format with 3x8bit per pixel transmitted on both Camera
Link connectors.
Note:
If set to grey 2 Pixels with 8/10/12bit are transmitted only on the first Camera Link connector.
(Camera Link Base)
According to the Camera Link specification the data will be transmitted like displayed in the
following table
Connector 1
Connector2
Conn1/Conn2
Output format “Color” Input Name Output format “Color” Input Name Trans/Rec Number
24Bit RGB
PxCLK
24Bit RGB
Strobe
PxCLK
Strobe
TxClk/RxClkt
LVAL
LVAL
LVAL
LVAL
TX24/RX24
FVAL
FVAL
FVAL
FVAL
TX25/RX25
Pen
DVAL
Pen
DVAL
TX26/RX26
Spare
Spare
Spare
Spare
TX23/RX23
Red Px #1 Bit 0
Port A0
Red Px #2 Bit 0
Port D0
TX0/RX0
Red Px #1 Bit 1
Port A1
Red Px #2 Bit 1
Port D1
TX1/RX1
Red Px #1 Bit 2
Port A2
Red Px #2 Bit 2
Port D2
TX2/RX2
Red Px #1 Bit 3
Port A3
Red Px #2 Bit 3
Port D3
TX3/RX3
Red Px #1 Bit 4
Port A4
Red Px #2 Bit 4
Port D4
TX4/RX4
Red Px #1 Bit 5
Port A5
Red Px #2 Bit 5
Port D5
TX6/RX6
Red Px #1 Bit 6
Port A6
Red Px #2 Bit 6
Port D6
TX27/RX27
Red Px #1 Bit 7
Port A7
Red Px #2 Bit 7
Port D7
TX5/RX5
Green Px #1 Bit 0
Port B0
Green Px #2 Bit 0
Port E0
TX7/RX7
Green Px #1 Bit 1
Port B1
Green Px #2 Bit 1
Port E1
TX8/RX8
Green Px #1 Bit 2
Port B2
Green Px #2 Bit 2
Port E2
TX9/RX9
Green Px #1 Bit 3
Port B3
Green Px #2 Bit 3
Port E3
TX12/RX12
Green Px #1 Bit 4
Port B4
Green Px #2 Bit 4
Port E4
TX13/RX13
Green Px #1 Bit 5
Port B5
Green Px #2 Bit 5
Port E5
TX14/RX14
Green Px #1 Bit 6
Port B6
Green Px #2 Bit 6
Port E6
TX10/RX10
Green Px #1 Bit 7
Port B7
Green Px #2 Bit 7
Port E7
TX11/RX11
Blue Px #1 Bit 0
Port C0
Blue Px #2 Bit 0
Port F0
TX15/RX15
Blue Px #1 Bit 1
Port C1
Blue Px #2 Bit 1
Port F1
TX18/RX18
Blue Px #1 Bit 2
Port C2
Blue Px #2 Bit 2
Port F2
TX19/RX19
Blue Px #1 Bit 3
Port C3
Blue Px #2 Bit 3
Port F3
TX20/RX20
Blue Px #1 Bit 4
Port C4
Blue Px #2 Bit 4
Port F4
TX21/RX21
Blue Px #1 Bit 5
Port C5
Blue Px #2 Bit 5
Port F5
TX22/RX22
Blue Px #1 Bit 6
Port C6
Blue Px #2 Bit 6
Port F6
TX16/RX16
Blue Px #1 Bit 7
Port C7
Blue Px #2 Bit 7
Port F7
TX17/RX17
Figure 43: Transmission of data according Camera Link specification Camera Link
Medium
Chromasens allPIXA pro - CD40127 Version 1.0
260
11.3.11.3 Full64 configuration 8Tx8b 1X8 Raw
In the Full64-color mode the Camera Link will use 1X8 (One zone in X with 8 taps) raw format
with 3x8bit per pixel transmitted on both Camera Link connectors.
According to the Camera Link specification the data will be transmitted like displayed in the
following table
“Classic view ”
"Transceiver View"
Pin Name
Pin Name
Chip X
Chip Y
Chip Z Trans/Rec Number
Chip X
Chip Y
Chip Z Trans/Rec Number
Strobe
Strobe
Strobe
TxClkIn/RxClkOut
Strobe
Strobe
Strobe
LVAL
LVAL
LVAL
TX24/RX24
Port A0 Port D0 Port G0
TX0/RX0
FVAL
FVAL
FVAL
TX25/RX25
Port A1 Port D1 Port G1
TX1/RX1
DVAL
DVAL
DVAL
TX26/RX26
Port A2 Port D2 Port G2
TX2/RX2
Spare
Spare
Spare
TX23/RX23
Port A3 Port D3 Port G3
TX3/RX3
Port A0 Port D0 Port G0
TX0/RX0
Port A4 Port D4 Port G4
TX4/RX4
Port A1 Port D1 Port G1
TX1/RX1
Port A7 Port D7 Port G7
TX5/RX5
Port A2 Port D2 Port G2
TX2/RX2
Port A5 Port D5 Port G5
TX6/RX6
Port A3 Port D3 Port G3
TX3/RX3
Port B0 Port E0 Port H0
TX7/RX7
Port A4 Port D4 Port G4
TX4/RX4
Port B1 Port E1 Port H1
TX8/RX8
Port A5 Port D5 Port G5
TX6/RX6
Port B2 Port E2 Port H2
TX9/RX9
Port A6 Port D6 Port G6
TX27/RX27
Port B6 Port E6 Port H6
TX10/RX10
Port A7 Port D7 Port G7
TX5/RX5
Port B7 Port E7 Port H7
TX11/RX11
Port B0 Port E0 Port H0
TX7/RX7
Port B3 Port E3 Port H3
TX12/RX12
Port B1 Port E1 Port H1
TX8/RX8
Port B4 Port E4 Port H4
TX13/RX13
Port B2 Port E2 Port H2
TX9/RX9
Port B5 Port E5 Port H5
TX14/RX14
Port B3 Port E3 Port H3
TX12/RX12
Port C0 Port F0
---
TX15/RX15
Port B4 Port E4 Port H4
TX13/RX13
Port C6 Port F6
---
TX16/RX16
Port B5 Port E5 Port H5
TX14/RX14
Port C7 Port F7
---
TX17/RX17
Port B6 Port E6 Port H6
TX10/RX10
Port C1 Port F1
---
TX18/RX18
Port B7 Port E7 Port H7
TX11/RX11
Port C2 Port F2
---
TX19/RX19
Port C0 Port F0
---
TX15/RX15
Port C3 Port F3
---
TX20/RX20
Port C1 Port F1
---
TX18/RX18
Port C4 Port F4
---
TX21/RX21
Port C2 Port F2
---
TX19/RX19
Port C5 Port F5
---
TX22/RX22
Port C3 Port F3
---
TX20/RX20
Spare
Spare
Spare
TX23/RX23
Port C4 Port F4
---
TX21/RX21
LVAL
LVAL
LVAL
TX24/RX24
Port C5 Port F5
---
TX22/RX22
FVAL
FVAL
FVAL
TX25/RX25
Port C6 Port F6
---
TX16/RX16
DVAL
DVAL
DVAL
TX26/RX26
Port C7 Port F7
---
TX17/RX17
Port A6 Port D6 Port G6
TxClkIn/RxClkOut
TX27/RX27
Figure 44: Transmission of data according Camera Link specification Camera Link
Full64 configuration 8Tx8b
Chromasens allPIXA pro - CD40127 Version 1.0
261
11.3.11.4 Full80 8Tap 8Tx10b 1X8 Raw configuration
In the Full80 8Tap/10Bit -color mode the Camera Link will use 1X8 (One zone in X with 8 taps) raw
format with 3x8bit per pixel transmitted on both Camera Link connectors.
According to the Camera Link specification 2.0 the data will be transmitted like displayed in the
following table
Chip X
Chip Y
Chip Z
Chip X
Port
Signal
Port
Port
Signal
Port
Trans/Rec Number
Strobe
Strobe
Strobe
Strobe
Strobe
Strobe
TxClkIn/RxClkOut
Port A0 D0 Bit 2 Port D0 D3 Bit 2 Port G0 D6 Bit 2
TX0/RX0
Port A1 D0 Bit 3 Port D1 D3 Bit 3 Port G1 D6 Bit 3
TX1/RX1
Port A2 D0 Bit 4 Port D2 D3 Bit 4 Port G2 D6 Bit 4
TX2/RX2
Port A3 D0 Bit 5 Port D3 D3 Bit 5 Port G3 D6 Bit 5
TX3/RX3
Port A4 D0 Bit 6 Port D4 D3 Bit 6 Port G4 D6 Bit 6
TX4/RX4
Port A5 D0 Bit 7 Port D5 D3 Bit 7 Port G5 D6 Bit 7
TX6/RX6
Port A6 D0 Bit 8 Port D6 D3 Bit 8 Port G6 D6 Bit 8
TX27/RX27
Port A7 D0 Bit 9 Port D7 D3 Bit 9 Port G7 D6 Bit 9
TX5/RX5
Port B0 D1 Bit 2 Port E0 D4 Bit 2 Port H0 D7 Bit 2
TX7/RX7
Port B1 D1 Bit 3 Port E1 D4 Bit 3 Port H1 D7 Bit 3
TX8/RX8
Port B2 D1 Bit 4 Port E2 D4 Bit 4 Port H2 D7 Bit 4
TX9/RX9
Port B3 D1 Bit 5 Port E3 D4 Bit 5 Port H3 D7 Bit 5
TX12/RX12
Port B4 D1 Bit 6 Port E4 D4 Bit 6 Port H4 D7 Bit 6
TX13/RX13
Port B5 D1 Bit 7 Port E5 D4 Bit 7 Port H5 D7 Bit 7
TX14/RX14
Port B6 D1 Bit 8 Port E6 D4 Bit 8 Port H6 D7 Bit 8
TX10/RX10
Port B7 D1 Bit 9 Port E7 D4 Bit 9 Port H7 D7 Bit 9
TX11/RX11
Port C0 D2 Bit 2 Port F0 D5 Bit 2 Port I5 D2 Bit 1
TX15/RX15
Port C1 D2 Bit 3 Port F1 D5 Bit 3 Port I6 D3 Bit 0
TX18/RX18
Port C2 D2 Bit 4 Port F2 D5 Bit 4 Port I7 D3 Bit 1
TX19/RX19
Port C3 D2 Bit 5 Port F3 D5 Bit 5 Port J0 D4 Bit 0
TX20/RX20
Port C4 D2 Bit 6 Port F4 D5 Bit 6 Port J1 D4 Bit 1
TX21/RX21
Port C5 D2 Bit 7 Port F5 D5 Bit 7 Port J2 D5 Bit 0
TX22/RX22
Port C6 D2 Bit 8 Port F6 D5 Bit 8 Port J3 D5 Bit 1
TX16/RX16
Port C7 D2 Bit 9 Port F7 D5 Bit 9 Port J4 D6 Bit 0
TX17/RX17
LVAL
LVAL
LVAL
LVAL
LVAL
LVAL
TX24/RX24
FVAL
FVAL
Port I2 D1 Bit 0 Port J5 D6 Bit 1
TX25/RX25
Port I0 D0 Bit 0 Port I3 D1 Bit 1 Port J6 D7 Bit 0
TX26/RX26
Port I1 D0 Bit 1 Port I4 D2 Bit 0 Port J7 D7 Bit 1
TX23/RX23
Figure 45: Transmission of data according Camera Link specification Camera Link
Full80 configuration 8Tx10b
Note
Camera Link Full80 has no DVAL
Chromasens allPIXA pro - CD40127 Version 1.0
262
11.3.11.5 Full80 10Tx8b 1X8 Raw configuration
In the Full80 10Tap/8Bit -color mode the Camera Link will use 1X10 (One zone in X with 10 taps) raw
format with 3x8bit per pixel transmitted on both Camera Link connectors.
According to the Camera Link specification 2.0 the data will be transmitted like displayed in the
following table
Chip X
Chip Y
Chip Z
Port
Signal
Port
Signal
Port
Strobe
PxClk
Strobe
PxClk
Strobe
Pin Name
Signal Trans/Rec Number
PxClk
TxClkIn/RxClkOut
Port A0 D0 Bit 0 Port D2 D3 Bit 2 Port G5 D6 Bit 5
TX0/RX0
Port A1 D0 Bit 1 Port D3 D3 Bit 3 Port G6 D6 Bit 6
TX1/RX1
Port A2 D0 Bit 2 Port D4 D3 Bit 4 Port G7 D6 Bit 7
TX2/RX2
Port A3 D0 Bit 3 Port D5 D3 Bit 5 Port H0 D7 Bit 0
TX3/RX3
Port A4 D0 Bit 4 Port D6 D3 Bit 6 Port H1 D7 Bit 1
TX4/RX4
Port A5 D0 Bit 5 Port D7 D3 Bit 7 Port H2 D7 Bit 2
TX5/RX5
Port A6 D0 Bit 6 Port E0 D4 Bit 0 Port H3 D7 Bit 3
TX6/RX6
Port A7 D0 Bit 7 Port E1 D4 Bit 1 Port H4 D7 Bit 4
TX7/RX7
Port B0 D1 Bit 0 Port E2 D4 Bit 2 Port H5 D7 Bit 5
TX8/RX8
Port B1 D1 Bit 1 Port E3 D4 Bit 3 Port H6 D7 Bit 6
TX9/RX9
Port B2 D1 Bit 2 Port E4 D4 Bit 4 Port H7 D7 Bit 7
TX10/RX10
Port B3 D1 Bit 3 Port E5 D4 Bit 5 Port I0 D8 Bit 0
TX11/RX11
Port B4 D1 Bit 4 Port E6 D4 Bit 6 Port I1 D8 Bit 1
TX12/RX12
Port B5 D1 Bit 5 Port E7 D4 Bit 7 Port I2 D8 Bit 2
TX13/RX13
Port B6 D1 Bit 6 Port F0 D5 Bit 0 Port I3 D8 Bit 3
TX14/RX14
Port B7 D1 Bit 7 Port F1 D5 Bit 1 Port I4 D8 Bit 4
TX15/RX15
Port C0 D2 Bit 0 Port F2 D5 Bit 2 Port I5 D8 Bit 5
TX16/RX16
Port C1 D2 Bit 1 Port F3 D5 Bit 3 Port I6 D8 Bit 6
TX17/RX17
Port C2 D2 Bit 2 Port F4 D5 Bit 4 Port I7 D8 Bit 7
TX18/RX18
Port C3 D2 Bit 3 Port F5 D5 Bit 5 Port J0 D9 Bit 0
TX19/RX19
Port C4 D2 Bit 4 Port F6 D5 Bit 6 Port J1 D9 Bit 1
TX20/RX20
Port C5 D2 Bit 5 Port F7 D5 Bit 7 Port J2 D9 Bit 2
TX21/RX21
Port C6 D2 Bit 6 Port G0 D6 Bit 0 Port J3 D9 Bit 3
TX22/RX22
Port C7 D2 Bit 7 Port G1 D6 Bit 1 Port J4 D9 Bit 4
TX23/RX23
LVAL
LVAL
Port G2 D6 Bit 2 Port J5 D9 Bit 5
TX24/RX24
FVAL
FVAL
Port G3 D6 Bit 3 Port J6 D9 Bit 6
TX25/RX25
Port D0 D3 Bit 0 Port G4 D6 Bit 4 Port J7 D9 Bit 7
TX26/RX26
Port D1 D3 Bit 1
TX27/RX27
LVAL
LVAL
LVAL
LVAL
Figure 46: Transmission of data according Camera Link specification Camera Link Full80 configuration
10Tx8b
Note
Camera Link Full80 has no DVAL
Chromasens allPIXA pro - CD40127 Version 1.0
263
Max-Stromeyer-Straße 116
Phone: +49 7531 876-0
www.chromasens.de
78467 Konstanz
Fax:
[email protected]
+49 7531 876-303
Germany
Chromasens allPIXA pro - CD40127 Version 1.0
CD40127 Version 1.0- allPIXA_pro_Manual_V_1_0.docx - July 2015 Copyright by Chromasens GmbH
Chromasens GmbH
264