Sepera Camexpert
Sepera Camexpert
Sepera Camexpert
4M100
1.4 Megapixel 100 fps CMOS Area Scan Cameras
1-Apr-09
03-032-20024-01
www.dalsa.com
© 2009 DALSA. All information provided in this manual is believed to be accurate and reliable. No
responsibility is assumed by DALSA for its use. DALSA reserves the right to make changes to this
information without notice. Reproduction of this manual in whole or in part, by any means, is prohibited
without prior permission having been obtained from DALSA.
About DALSA
DALSA is an international high performance semiconductor and electronics company that designs,
develops, manufactures, and markets digital imaging products and solutions, in addition to providing
semiconductor products and services. DALSA’s core competencies are in specialized integrated circuit
and electronics technology, software, and highly engineered semiconductor wafer processing. Products
and services include image sensor components; electronic digital cameras; vision processors; image
processing software; and semiconductor wafer foundry services for use in MEMS, high-voltage
semiconductors, image sensors and mixed-signal CMOS chips. DALSA is listed on the Toronto Stock
Exchange under the symbol “DSA”. The Company has its corporate offices in Waterloo, ON and over
1000 employees worldwide.
For further information not included in this manual, or for information on DALSA’s extensive line of
image sensing products, please call:
03-032-20024-01 DALSA
Contents
Introduction to the Falcon 1.4M100 Camera________________________________________7
1.1 Camera Highlights ............................................................................................................... 7
1.1.1 Features ................................................................................................................. 7
1.1.2 Programmability...................................................................................................... 8
1.1.3 Description.............................................................................................................. 8
1.1.4 Applications ............................................................................................................ 8
1.2 Camera Performance Specifications ................................................................................... 9
1.3 Responsivity and Quantum Efficiency ................................................................................. 11
1.4 Camera Cosmetic Specifications......................................................................................... 12
1.4.1 Sensor Cosmetic Specifications ............................................................................. 12
1.4.2 Cosmetic Specification ........................................................................................... 13
DALSA 03-032-20024-01
4.7 Setting Exposure Mode, Frame Rate and Exposure Time .................................................. 33
4.7.1 Non-Concurrent vs. Concurrent Modes of Operation ............................................. 33
4.7.2 Setting the Exposure Mode and Time .................................................................... 35
4.7.3 Exposure Modes in Detail....................................................................................... 38
4.7.4 Setting the Frame Rate .......................................................................................... 41
4.8 Setting a Vertical Window of Interest................................................................................... 42
4.8.1 Frame Rate vs. Active Lines................................................................................... 42
4.9 Flat Field Correction ............................................................................................................ 44
4.9.1 CamExpert Calibration Wizard ............................................................................... 47
4.9.2 Selecting Factory or User Coefficients ................................................................... 48
4.9.3 Enabling Pixel Coefficients ..................................................................................... 48
4.9.4 Selecting the Calibration Sample Size.................................................................... 49
4.9.5 Performing FPN Calibration.................................................................................... 50
4.9.6 Performing PRNU Calibration................................................................................. 52
4.9.7 Saving, Loading and Resetting Coefficients........................................................... 53
4.10 Gain Adjustments ................................................................................................................ 56
4.10.1 Factory Calibrated Analog Gains.......................................................................... 56
4.10.2 Setting Digital System Gain.................................................................................. 56
4.10.3 Subtracting Background ....................................................................................... 57
4.11 Generating a Test Pattern ................................................................................................... 58
Troubleshooting _____________________________________________________________65
6.1 Common Solutions .............................................................................................................. 65
6.1.1 Connections............................................................................................................ 65
6.2 Troubleshooting Using the Serial Interface.......................................................................... 66
6.2.1 Communications..................................................................................................... 66
6.2.2 Verify Parameters................................................................................................... 66
6.2.3 Verify Factory Calibrated Settings .......................................................................... 66
6.2.4 Verify Timing and Digital Video Path ...................................................................... 66
6.3 Specific Solutions................................................................................................................. 66
6.3.1 No Output or Erratic Behavior ................................................................................ 66
6.3.2 Line Dropout, Bright Lines, or Incorrect Frame rate ............................................... 66
03-032-20024-01 DALSA
Appendix A _________________________________________________________________69
Appendix B _________________________________________________________________73
Appendix C _________________________________________________________________77
EMC Declaration of Conformity ........................................................................................................... 77
Appendix D _________________________________________________________________78
Revision History................................................................................................................................... 78
Index ______________________________________________________________________79
DALSA 03-032-20024-01
03-032-20024-01 DALSA
1.1.2 Programmability
• Simple ASCII protocol controls gain, offset, frame rates, trigger mode, test pattern
output, and camera diagnostics
• Serial interface (ASCII, 9600 baud, adjustable to 19200, 57600, 115200), through
Camera Link
1.1.3 Description
The Falcon 1.4M100 camera provides 1.4 megapixel image capture at high frame rates of
100fps. The global shutter capability of the sensor makes this camera capable of capturing
low smear images at incredibly fast rates. Its small camera body and mini-Camera Link™
cabling allows the camera to fit into space-constrained applications. With its enhanced
data drive capability, mini-Camera Link cables up to 10m in length can be used.
Programmable features and diagnostics are accessible through the mini-Camera Link
SDR26 connector.
1.1.4 Applications
The Falcon 1.4M100 camera is ideal for applications requiring high speed, superior image
quality, and high responsivity, in space constrained areas. These features make the Falcon
1.4M100 applicable to:
• PCB-AOI inspection
• Semiconductor wafer inspection
• Electronics inspection
• Flat panel display inspection
• Industrial metrology
• Traffic management
• General machine vision
03-032-20024-01 DALSA
Units Notes
Camera Size mm 44 x 44 x 44
Mass g 105g
Connectors
power connector 6 pin male Hirose
data connector SDR26 female – mini
Camera Link
DALSA 03-032-20024-01
Notes:
• Measured at the front plate.
• Based on output at 1023DN
• Output over 10-90%
• Optical distance.
• Flat-field correction applied with 9000 ms exposure at 50 fps in sem 2
• At 80% of camera saturation, 1x digital gain
03-032-20024-01 DALSA
14.0
12.0
Responsivity (DN/(nJ/cm²)
10.0
8.0
6.0
4.0
2.0
0.0
400 500 600 700 800 900 1000
Wavelength (nm)
The quantum efficiency graph describes the fraction of photons at each wavelength that
contribute charge to the pixel.
70.0%
60.0%
Quantum Efficiency (QE)
50.0%
40.0%
30.0%
20.0%
10.0%
0.0%
400 500 600 700 800 900 1000
Wavelength (nm)
DALSA 03-032-20024-01
• Pixel whose signal, in dark, deviates by more than 400DN (10-bits) from its
neighboring pixels.
• Pixel whose signal, at nominal light (illumination at 50% of the linear range), deviates
by more than ±30% from its neighboring pixels.
Cluster defect
Spot defect
Column defect
Row defect
• A horizontal grouping of more than 3 pixel defects between at least 2 good pixels on
both sides, where single good pixels between 2 defective pixels are considered as
defective.
Test conditions
• Digital gain – 1X.
03-032-20024-01 DALSA
Note: While the number of clusters is not limited by a maximum number, the total
number of defective pixels cannot exceed 100. Therefore, you could have 20 clusters of 5
pixels in size (20 x 5 = 100), but you could not have 21 clusters of 5 in size (21 x 5 = 105).
• A group of pixels exceeding the maximum % deviation below the mean and the
cluster size specifications. Images are taken at nominal light (illumination at 50% of
the linear range).
Test conditions
• Digital gain – 1X.
Note: All of the above sensor and camera cosmetic specifications are with flat-field
correction turned off (epc 0 0). There are no post flat-field (epc 1 1) camera cosmetic
specifications.
DALSA 03-032-20024-01
03-032-20024-01 DALSA
2
Camera Hardware Interface
2.1 Installation Overview
When setting up your camera, you should take these steps:
5. Inspect all cables and connectors prior to installation. Do not use damaged cables or
connectors or camera may be damaged.
8. Check the diagnostic LED. If camera is operating correctly, the LED will flash for 10
seconds and then turn solid green. See the section 2.2.1 LED Status Indicator on page
17 for a description of LED states.
You must also set up the other components of your system, including light sources,
camera mounts, computers, optics, encoders, and so on.
Note: when unscrewing the mini-Camera Link cable from the Falcon camera, ensure the
connector mounting screws do not become attached to the cable thumbscrews; in this
case, simply screw the connector mounting screw back into the camera connector
mounting.
DALSA 03-032-20024-01
The maximum allowable Camera Link cable length depends on the quality of the cable
used and the Camera Link strobe frequency. Cable quality degrades over time as the
cable is flexed. As the Camera Link strobe frequency is increased, the maximum
allowable cable length will decrease.
DALSA does not guarantee good imaging performance with low quality cables of any
length. In general, DALSA recommends the use of high quality cables in lengths less than
10 meters.
• A diagnostic LED for monitoring the camera. See the section 2.2.1 LED Status
Indicator on page 17 for details.
• One high-density 26-pin SDR26 connector for Camera Link control signals, data
signals, and serial communications. Refer to section 2.2.2 Camera Link Data
Connector on page 17 for details.
• One 6-pin Hirose connector for power. Refer to section 2.2.5 Power Connector on
page 20 for details.
Hirose
Diagnostic
Power Input
LED
+12V
Mini-Camera Link
SDR26
Connector
Input/Output Connectors
WARNING: Ensure that all the correct voltages at full load are present at the camera end
of the power (irrespective of cable length) according to the pinout defined in section 2.2.5
Power Connector on page 20. A common system problem is that the voltage drop across
the power cable is large enough that the voltage at the camera does not meet the power
input voltage specifications.
03-032-20024-01 DALSA
When more than one condition is active, the LED indicates the condition with the highest
priority. Error and warning states are accompanied by corresponding messages further
describing the current camera status.
Color of Status LED Meaning
Off Hardware malfunction or no power
Flashing Red (1 Hz) Fatal error. Non-recoverable error (such as overheating).
Flashing Red (4 Hz) Loading backup firmware
Solid Red Warning. Loss of functionality. Operating condition out of
specified range.
Flashing Blue (1 Hz) Ready to download/Downloading files. Used for
firmware update, LUT and FFC coefficients download.
Flashing Blue (4 Hz) Writing to flash memory, do not power off. Used during
firmware update and write user settings.
Flashing Green (1 Hz) Camera initialization or executing a long command. LED
shall flash green at least once each time a serial command
is received.
Solid Green Camera is operational and functioning correctly. Typically
outputting images in free-running mode (internal sync,
mode 2).
26 14
The Camera Link interface is implemented as a Base Configuration in the Falcon cameras.
You select the camera configuration with the clm command described in section 4.7
Setting Exposure Mode, Frame Rate and Exposure Time on page 33.
The following tables provide this camera’s principal Camera Link information. See
Appendix A for the complete DALSA Camera Link configuration table, and refer to the
DALSA Web site, www.dalsa.com, for the official Camera Link documents.
DALSA 03-032-20024-01
03-032-20024-01 DALSA
EXSYNC
The EXSYNC signal tells the camera when to integrate and readout the image. It can be
either an internally generated signal by the camera, or it can be supplied externally via
the serial interface. Depending upon the mode of operation the high time of the EXSYNC
signal can represent the integration period.
Section 4.7 Setting Exposure Mode, Frame Rate and Exposure Time on page 33 details
how to set frame times, exposure times, and camera modes.
• For a Camera Link reference and timing definitions refer to Appendix A on page 69.
DALSA 03-032-20024-01
The camera requires a single voltage input (12 to 15V). Ensure you measure a minimum
of 12V at the camera power connector and not at the power supply. The voltage drop
across power cables can be large enough to supply too low of a voltage to the camera for
it to operate properly.
! WARNING: When setting up the camera’s power supplies follow these guidelines:
• Protect the camera with a fast-blow fuse between power supply and camera.
• Power surge limit at 500 mA.
• 12 V power supply. Nominal 0 to 3A load resulting in ~20 A/s current ramp rate
• Power supply current limit needs to be set at >2 A.
• Do not use the shield on a multi-conductor cable for ground.
• Keep leads as short as possible to reduce voltage drop. Long power supply leads may
falsely indicate that the power supply is within the recommended voltage range even
when the camera at the connector is actually being supplied with much less voltage.
• Use high-quality linear supplies to minimize noise.
• Use an isolated type power supply to prevent LVDS common mode range violation.
Note: Performance specifications are not guaranteed if your power supply does not meet
these requirements.
! WARNING: It is extremely important that you apply the appropriate voltages to your
camera. Incorrect voltages will damage the camera. Protect the camera with a fast-
blow fuse between power supply and camera.
Visit the www.dalsa.com Web site for a list of companies that make power supplies that
meet the camera’s requirements. The companies listed should not be considered the only
choices.
03-032-20024-01 DALSA
3
Sapera CamExpert Guide
3.1 Using CamExpert with Falcon Cameras
CamExpert is the camera interfacing tool supported by the Sapera library. When used
with a Falcon camera, CamExpert allows a user to test all Falcon operating modes.
Additionally CamExpert saves the Falcon user settings configuration to the camera or
saves multiple configurations as individual camera parameter files on the host system
(*.ccf).
For context sensitive help, click on the button then click on a camera configuration
parameter. A short description of the configuration parameter will be shown in a popup.
Click on the button to open the help file for more descriptive information on
CamExpert.
The central section of CamExpert provides access to the Falcon parameters. Five tabs
group Falcon parameters depending on their type as described in the summary below.
Each Falcon configuration parameter is described in detail following the summary.
Camera Information Displays Falcon firmware details such as camera model, version, and serial number.
Users can set the User ID and set the power‐up configuration mode.
Camera Control Displays both static and variable sensor parameters that are Falcon model specific.
Variable parameters control Falcon exposure, gain and exposure controls. The internal
test image is selected here.
External Trigger Provides controls for trigger source and detection configuration.
Image Buffer and ROI Provides controls for buffer pixel depth, image size and cropping.
DALSA 03-032-20024-01
The CamExpert application uses 5 windows to simplify choosing and configuring camera
files or acquisition parameters for the installed device.
• Device pane: View and select from any installed Sapera acquisition device. After a
device is selected, CamExpert only presents acquisition parameters applicable to that
device.
• Camera Information Parameters pane: Allows viewing or changing all acquisition
parameters supported by the acquisition device. CamExpert displays parameters only
if those parameters are supported by the installed device. This avoids confusion by
eliminating parameter choices when they do not apply to the hardware in use.
• Display pane: Provides a live or single frame acquisition display. Frame buffer
parameters are shown in an information bar above the image window.
• Control Buttons: The Display pane includes CamExpert control buttons. These are:
Acquisition control button:
Click once to start live grab, click again to stop.
Single frame grab:
Click to acquire one frame from device.
Software trigger button:
With the I/O control parameters set to Trigger Enabled /
Software Trigger type, click to send a single software trigger
command.
CamExpert display controls:
(these do not modify the frame buffer data)
Stretch image to fit, set image display to original size, or zoom
03-032-20024-01 DALSA
the image to any size and ratio.
Histogram / Profile tool:
Select to view a histogram or line/column profile during live
acquisition.
• Camera pane: Allows selecting any camera file that is included with the Sapera
installation. Only camera files supported by the selected acquisition device are
displayed. When there is more than one acquisition server, such as monochrome and
RGB, selecting an inappropriate camera file will produce a message prompting you to
select the correct acquisition server.
• Output Messages: Displays messages from CamExpert or the device driver.
• Camera Serial Link Command: Displays commands sent from CamExpert to the
Falcon camera. You can also manually enter serial commands at the command prompt
in this pane.
• Video Status bar: Located on the lower right of the CamExpert window, color coded
camera signal status information is displayed. It is green for valid signals detected,
and red for missing or incorrect signals. Video status items may differ with different
devices.
Most of these panes can be hidden via the menu bar view command. Typically after
selecting an acquisition device and loading a camera file, the Device and Camera
windows can be closed.
Note: The Falcon on-board LUT can only be configured using the camera serial
commands, and not CamExpert; CamExpert configures frame grabber LUTs only (Falcon
cameras do not have on-camera LUTs).
To open this dialog, use the Pre-Processing > Lookup Table > Setting menu command.
Note that you must first enable the Lookup Table, otherwise the Setting command will be
grayed-out.
To select the type of LUT to use, click the LUT Mode Value field; a drop-down list box
displays the available modes. The Lookup Table dialog displays a graph of the input and
output values for the selected LUT. A Sapera application can program the Falcon LUT for
any required LUT operation.
DALSA 03-032-20024-01
CamExpert available LUT examples are briefly described below. The LUT function
graphic simplifies understanding the operation especially when user settings modify the
LUT function.
• Normal (default): modifies all LUT entries using a linear mapping such that a gray
level input is equal to the output
• Arithmetic operation: modifies all LUT entries using an arithmetic operation
• Binary pattern: modifies some LUT entries based on a binary pattern
• Boolean operation: modifies all LUT entries using a Boolean operation
• Gamma correction: modifies all LUT entries using Gamma correction function
• Linear invert: modifies all LUT entries using a linear mapping with a negative slope
• Position shift: modifies LUT entries with a zero position offset
• Bit shift: modifies LUT entries with a binary bit shift
• Slope within range: modifies part of a LUT with a linear mapping
• Single Threshold: modifies all LUT entries using a threshold operation
• Double Threshold: modifies all LUT entries using a dual level threshold operation
03-032-20024-01 DALSA
4
Software Interface: How to
Control the Camera
In addition to using CamExpert, all camera features can be controlled through the serial
interface, which is part of the Camera Link interface standard. The camera can also be
used without the serial interface after it has been set up correctly. Functions available
include:
• Controlling basic camera functions such as gain and sync signal source
• Data readout control
• Generating a test pattern for debugging
• The serial interface uses a simple ASCII-based protocol and the camera does not
require any custom software.
Command Format
When entering commands, remember that:
DALSA 03-032-20024-01
• i = integer value
f = real number
m = member of a set. Value must be entered exactly as displayed on help screen.
s = string
t = tap id
x = pixel column number
y = pixel row number
Serial Command
Purpose: Sets the speed in bps of the serial communication port.
Syntax: sbr m
Syntax Elements: m
Baud rate. Available baud rates are: 9600 (default), 19200,
57600, and 115200.
Notes: • The rc (reset camera) command will not reset the camera to
the power-on baud rate and will reboot using the last used
baud rate.
Example: sbr 57600
CamExpert Parameter
The baud rate is available as a read-only parameter on the Camera Information tab.
The help screen lists all commands available. Parameter ranges displayed are the ranges
available under the current operating conditions. Note, that certain parameter settings
can limit the available range of other parameters.
03-032-20024-01 DALSA
DALSA 03-032-20024-01
CamExpert Parameters
The camera model, serial number, and firmware version are available as read-only
parameters on the Camera Information tab.
03-032-20024-01 DALSA
4.4.1 FA-20-01M1H
• Flat field coefficients enabled (Factory FFC coefficients calibrated in exposure
mode 2, 10 bit, 50 fps)
• Exposure mode 2
• 100 fps
rus
Factory User
Setting Setting
rfs
Current
Session
wus
Note: This command does not restore flat field coefficients. Refer to lpc command.
DALSA 03-032-20024-01
• To save all current user settings to non-volatile memory, use the command wus. The
camera will automatically restore the saved user settings when powered up.
• To restore the last saved user settings, use the command rus.
Note: On power-up the camera will restore the FFC coefficients from the set indicated by
the coefficient set number (csn); either 0 (factory calibrated set) or 1 (user calibrated set).
CamExpert Parameters
The factory and user settings can be loaded or saved using the Power-Up Configuration
dialog, available through the Power-Up Configuration parameter on the Camera
Information tab. Set 0 contains the factory settings and Set 1 contains the user settings.
03-032-20024-01 DALSA
DALSA 03-032-20024-01
Serial Command
Purpose Sets the camera’s Camera Link configuration, number of Camera
Link taps and data bit depth.
Syntax: clm m
Syntax Elements: m
Output mode to use:
2: Base configuration, 2 taps, 8 bit output
3: Base configuration, 2 taps, 10 bit output
Notes: • To retrieve the current Camera Link mode, use the
command gcp
• For details on line times and frame readout times when
using a window of interest, refer to following table.
Example: clm 3
CamExpert Parameters
The factory and user settings can be loaded or saved using the Power-Up Configuration
dialog, available through the Power-Up Configuration parameter on the Camera
Information tab. Set 0 contains the factory settings and Set 1 contains the user settings.
03-032-20024-01 DALSA
CamExpert Parameter
The camera pixel rate is available through the Output Throughput (MHz) parameter on
the Camera Control tab.
DALSA 03-032-20024-01
every pixel from the camera. For a 100 fps camera, such as the Falcon 1.4M100, the
readout period is around 10.0ms.
Thus, a global shutter CMOS device, as found in the 1.4M100, is capable of running at
100fps even with exposure times up to 10ms. Beyond 10ms, the exposure time dominates
and the frame rate drops. With rolling shutter CMOS devices only non-concurrent modes
are possible and the integration time immediately impacts the frame rate, thus
comparable 1.4 megapixel cameras with a 10ms exposure time would only run at 50fps
with a rolling shutter device.
Concurrent mode is when the camera is integrating the current frame (Frame 1) and at
the same time is reading out the prior frame (Frame 0). By performing integration and
readout in parallel the Falcon 1.4M100 camera is capable of reaching 100fps even with
exposure times up to 10ms. A timing diagram helps to explain this mode of operation.
In concurrent mode, a low-to-high transition in the EXSYNC signal starts the integration
time, and a high-to-low transition in the EXSYNC signal starts the readout of image data.
As your frame period approaches the readout period, by reducing the Waiting time, the
Falcon 1.4M100 camera approaches its maximum frame rate of 100fps.
03-032-20024-01 DALSA
To set the exposure time, the camera must be operating in exposure mode 2, 6 or 10. If
you enter an exposure time outside of a valid range, the input will be clipped to the min
or max.
If you enter an exposure time which overlaps with the frame readout, the exposure time
will automatically adjust to integral units of exposure time increments. The camera sends
a warning when this occurs.
2. Next, depending on the specified exposure mode, set the frame rate and set the
exposure time.
DALSA 03-032-20024-01
Notes: • Refer to section 4.7.2 Setting the Exposure Mode and Time on
35 for a quick list of available modes or to the following
sections for a more detailed explanation.
• To obtain the current value of the exposure mode, use the
command gcp.
Related Commands: ssf, set
Example: sem 4
Refer to section 4.6.1 How to Configure Camera Output on page 31 for more information
on the clm and sot (sets pixel rate) commands.
03-032-20024-01 DALSA
CamExpert Parameters
The exposure mode can be specified using the Exposure Control dialog, available through
the Exposure Control parameter on the Camera Control tab.
DALSA 03-032-20024-01
Note: The camera will not set frame periods shorter than the readout period.
If a frame rate is set (using the ssf command) to a time shorter than the readout period,
the camera will automatically adjust the frame period to be at least as long as the readout
time.
03-032-20024-01 DALSA
Note that the exposure and readout time can overlap. However, the camera will ignore
the falling edge of EXSYNC if the camera is still reading out the prior frame, and extend
the exposure time to the end of the readout.
This mode supports both concurrent and non-concurrent operation. If the exposure time
is greater than the readout time, it will accept a trigger 1μs after the previous exposure is
finished.
If the exposure time is less than the readout time, then the minimum delay between
consecutive exposure times is 150μs. Note that the exposure and readout time can
overlap. However, if the camera is still reading out the prior frame, and a trigger is
asserted, it will extend the exposure time to the end of the readout.
Note, the exposure and readout time cannot overlap. In addition, the camera will ignore
the falling edge of EXSYNC if the prior frame’s integration or readout is not complete.
DALSA 03-032-20024-01
03-032-20024-01 DALSA
Refer to section 4.6.2 Setting the Camera’s Pixel Rate on page 33 for more information on
how to set the camera’s pixel rate
Allowable range is dependent on the current Camera Link mode and window size. Refer
to section 4.6.1 How to Configure Camera Output on page 31 for more information on
Camera Link modes and section 4.8 Setting a Vertical Window of Interest on page 42 for
more information on setting a window size.
Serial Command
Purpose: Sets the camera’s frame rate in Hz.
Syntax: ssf f
Syntax Elements: f
Set the frame rate in Hz in a range from 0.1-101.9 (full
frame, 80 MHz pixel rate) or 0.1-51.1 (full frame, 40 MHz
pixel rate). Range increases when using a window of interest.
Related Commands: sem, set
CamExpert Parameter
The frame rate can be specified using the Frame Rate (Hz) parameter available through
the Camera Control tab.
DALSA 03-032-20024-01
3500
3030.3
3000
2500
2083.3
2000
Frame Rate
1500
1282
1000
719.4
500 383.1
The equation used to determine the frame rate from active rows is:
Serial Command
To set a window of interest:
• Set the window coordinates, using the window start end command:
wse 0 1 x y x y.
03-032-20024-01 DALSA
The maximum frame rate increases as you decrease the sequence size.
Purpose: Sets a window of interest.
Syntax: wse q i x1 y1 x2 y2
Syntax Elements: q Window sequence id to use. In this camera, the
sequence id is always 0.
i Window to set. You can only set one window, so this is
always 1.
x1 Window horizontal start corner pixel number, in a
range from 0 – 1399 and must belong to the following
set: 1, 5, 9 , ... 1399.
y1 Window vertical start corner pixel number, in a range
from 0-1023.
x2 Window horizontal end corner pixel number, in a range
from 15-1399 must belong to the following set: 1 5, 1 9 ,
... 1399.. The minimum window width is 16 pixels.
y2 Window vertical end pixel number in range from 1-
1023.
Example: wse 0 1 1 13 1399 1023
CamExpert Parameter
The serial (ASCII) commands let you set the x and y coordinates of the top left and lower
right corners of the window. Through CamExpert, the window is defined by its size and
of offset of the top left corner of the window. The sensor window size and offset can be
specified using the Sensor Width, Sensor Height, Sensor Left Offset, and Sensor Top
Offset parameters available through the Camera Control tab.
After adjusting the window size, you can change the frame rate for improved
performance. In general, the smaller the window size, the higher the possible frame rate.
The frame rate can be specified using the Frame Rate (Hz) parameter available through
the Camera Control tab.
DALSA 03-032-20024-01
The camera is shipped with pre-set factory correction coefficients in both the factory and
user sets, such that in most applications there is no need to perform flat field correction.
Note that factory calibration is performed with an exposure time of 9ms. However, if you
are using a different exposure time and your application is sensitive to small pixel
variations, it is recommended that you perform flat field correction at your typical
exposure time.
V output =[(V input - FPN( pixel ) - digital offset) * PRNU(pixel) – Background Subtract] x System Gain
where V output = digital output pixel value
The algorithm is performed in two steps. The fixed offset (FPN) is determined first by
performing a calculation without any light. This calibration determines exactly how much
offset to subtract per pixel in order to obtain flat output when the sensor is not exposed.
The white light (PRNU) calibration is performed next to determine the multiplication
factors required to bring each pixel to the required value (target) for flat, white output.
Video output is set slightly above the brightest pixel (depending on offset subtracted).
It is important to do the FPN correction first. Results of the FPN correction are used in the
PRNU procedure. We recommend that you repeat the correction when a temperature
change greater than 10°C occurs or if you change the frame rate or integration time.
Note: If your
illumination or PRNU correction requires a clean, white reference. The quality of this reference is
white reference important for proper calibration. White paper is often not sufficient because the grain in
does not extend the white paper will distort the correction. White plastic or white ceramic will lead to
the full field of view better balancing.
of the camera, the
camera will send a
warning.
03-032-20024-01 DALSA
1. 60 Hz ambient light flicker is sufficiently low not to affect camera performance and
calibration results.
2. The brightest pixel should be slightly below the target output. If the target is too
close, then some pixels may not be able to reach their full swing (1023 DN dynamic
range) due to the correction applied by the camera.
3. When 6.25% of pixels from a single row within the region of interest are clipped, flat
field correction results may be inaccurate.
4. Correction results are valid only for the current analog offset values.
2. Settings such as frame rate, exposure time, and so forth, are set as close as possible to
actual operating conditions. Set the digital gain to 1 x gain (ssg 0 1024) and
background subtract to 0 (ssb 0 0) as these are the defaults during FFC calibration. In
addition, ensure that you are in non-concurrent operation. In non-concurrent mode,
readout and integration do not overlap, thus eliminating some residual artifacts
associated with concurrent operation.
3. Place the camera in the dark and send the ccf command. This performs the FPN
correction and automatically saves the FPN coefficients to non-volatile memory.
4. Set epc 1 0, which enables the FPN correction and verify the signal output is close to
0 DN. Leave epc 1 0 for the next step since the cpa target assumes there is no FPN.
5. Illuminate the sensor, such that with epc 1 0, it reaches 50%-70% saturation.
6. Send cpa 2 T where T is typically 1.3 x the average output level. This is important
since if the target it too low (< 1.1 x ), then some pixels may not be able to reach full
swing (1023 DN) due to corrections applied by the camera.
7. If satisfied by the results write the FPN coefficients and PRNU coefficients to memory
(wfc and wpc).
How can one match gain and offset values on multiple cameras?
One way is of course to use flat field correction. All cameras would be set up under
the same conditions including lighting and then calibrated with ccf and cpa. This can
be time-consuming and complicated (especially the white target). Another way is to
use analog offset and system gain (digital gain):
1. Starting from factory settings (sao 0 0, ssg 0 1024, epc 1 1), take note what the
highest dark offset is among the set of cameras. If the highest dark offset is higher
than about 16 DN (10 bit) you might want to consider recalibrating the FPN
correction (ccf). Large differences in dark offset between the factory and user are
typically caused by differences in temperature from factory to user. Large dark
offsets will result in PRNU-correction-induced FPN and should therefore be avoided.
2. Increase the offset (camera in dark) on all cameras (sao command) until they are the
dame and reach at least 4 DN (10 bit).
DALSA 03-032-20024-01
3. Illuminate to about 80% saturation (820 DN, 10 bit) and note the highest signal level
among the set of cameras.
4. Increase the digital gain (ssg) on the cameras until they all reach the same output
level of the camera with the highest output found in step 3.
5. Place camera in the dark and repeat steps 2 to 4 until both dark offset and 80%
saturation signal levels are equal on all cameras.
6. If satisfied by the results write the FPN coefficients and PRNU coefficients to memory
(wfc and wpc).
03-032-20024-01 DALSA
Note: The CamExpert Pre-Processing menu includes commands to perform flat field
correction on the hardware (frame grabber) or software (host PC), however, to use the
camera’s flat field correction capability, use the Calibration Wizard or the camera serial
commands.
To launch the Calibration Wizard, click on the Flat Field Correction parameter
“Setting…” field, available on the Camera Control tab.
DALSA 03-032-20024-01
Syntax Elements: i
Coefficient set to use.
0 = Factory calibrated set of FPN and PRNU coefficients. These
coefficients cannot be erased or modified.
1 = User calibrated set of FPN and PRNU coefficients. These
coefficients can be deleted or modified.
Notes: The camera ships with the factory calibrated FPN and PRNU
coefficients saved to both set 0 and set 1. When you first boot up
the camera, the camera operates using set 1 (csn 1) enabled.
To retrieve the current coefficient set number, use get csn.
Example: csn 0
Syntax Elements: i
FPN coefficients.
0 = FPN coefficients disabled
1 = FPN coefficients enabled
i
PRNU coefficients.
0 = PRNU coefficients disabled
1 = PRNU coefficients enabled
Notes: The coefficient set that you are enabling or disabling is
determined by the csn value. Refer to the previous section for
an explanation of the csn command.
Example: epc 1 1
03-032-20024-01 DALSA
CamExpert Parameter
The pixel coefficients are enabled using the Frame Rate (Hz) parameter available through
the Camera Control tab. This parameter enables both FPN and PRNU coefficients.
DALSA 03-032-20024-01
Notes: Before performing this command, stop all light from entering
the camera. (Tip: cover lens with a lens cap.)
The goal is to subtract all non-uniformities and offsets to obtain
a 0 DN output in dark. Analog offset should be set to 0 since it
gets subtracted out during FPN calibration.
Set the digital gain to 1 x gain (ssg 0 4096) since during
calibration it is forced to 1 x gain.
Perform FPN correction before PRNU correction.
The ccf command is not available when the camera is using the
factory calibrated coefficients (csn 0). You must select the user
coefficient set (csn 1) before you can perform FPN calibration.
An error message is returned if you attempt to perform FPN
calibration when using csn 0.
If you are operating the camera in test pattern mode (svm 1-8),
you must turn off exposure correction (eec 0) prior to running
the ccf command.
The LED flashes green while coefficients are computed. After
completion, the LED should return to solid green, unless an
error occurred during calibration.
Example: ccf
03-032-20024-01 DALSA
Notes: The sfc command is not available when the camera is using
the factory calibrated coefficients (csn 0). You must select the
user coefficient set (csn 1) before you can perform FPN
calibration. An error message is returned if you attempt to
perform FPN calibration when using csn 0.
Example: sfc 10 50
DALSA 03-032-20024-01
Peak target value in a range from 256 to 1013 DN. The target
value must be greater than the current peak output value.
Notes: PRNU correction can only be performed in exposure mode sem
2, sem 9 or sem 10.
Calibrate FPN before calibrating PRNU. If you are not
performing FPN calibration then issue the rpc (reset pixel
coefficients) command and set the sdo (set digital offset) value
so that the output is near zero under dark.
The cpa command is not available when the camera is using the
factory calibrated coefficients (csn 0). You must select the user
coefficient set (csn 1) before you can perform PRNU
calibration. An error message is returned if you attempt to
perform PRNU calibration when using csn 0.
03-032-20024-01 DALSA
DALSA 03-032-20024-01
CamExpert Parameters
The user flat field coefficient settings can be loaded or saved using the Power-Up
Configuration dialog, available through the Power-Up Configuration parameter on the
Camera Information tab.
03-032-20024-01 DALSA
Set 0 contains the factory settings and Set 1 contains the user settings. Enable the Flatfield
FPN and PRNU coefficients checkbox to load or save the user flat field coefficients.
DALSA 03-032-20024-01
Gain setting. The gain ranges are 1024 to 8191. The digital
video values are multiplied by this value where:
i
Digital Gain =
1024
For example, to set a digital gain of 2.0, i equals 2048.
Notes: • Entering a large value gain will cause the camera to digitally
saturate the output image
03-032-20024-01 DALSA
CamExpert Parameters
The digital system gain is set using the System Gain parameter, available on the Camera
Control tab.
ssg value = max output value
max output value ‐ ssb value
Related Commands: ssg
Example ssb 0 25
DALSA 03-032-20024-01
CamExpert Parameters
The background subtraction is set using the Subtract Background (DIN) parameter,
available on the Camera Control tab.
Serial Command
Purpose: Generates a test pattern to aid in system debugging. The test
patterns are useful for verifying proper timing and connections
between the camera and the frame grabber. The following table
shows each available test pattern.
Syntax: svm i
Syntax Elements: i
0 Video.
03-032-20024-01 DALSA
Vertical
Ramp
(svm 5)
Diagonal
Ramp
(svm 5)
DALSA 03-032-20024-01
CamExpert Parameter
CamExpert is used to easily enable and select the Falcon test patterns. As shown in the
following figure, select the Camera Control tab, then select one of the available patterns
from the Test Image Selector drop menu. Select live grab to see the pattern output.
03-032-20024-01 DALSA
5
Optical and Mechanical
Considerations
5.1 Mechanical Interface
DALSA 03-032-20024-01
44 mm
44 mm
Back Panel
M4 x 0.7 x 5.0
[8X]
Bottom View
For optimal camera performance, the camera can be cooled by applying forced air flow or
by attaching the camera to a material that can conduct heat away from the camera.
03-032-20024-01 DALSA
It is often more important to consider exposure than illumination. The total amount of
energy (which is related to the total number of photons reaching the sensor). For example,
5μJ/cm2 can be achieved by exposing 5mW/cm2 for 1ms just the same as exposing an
intensity of 5W/cm2 for 1μs.
• LED light sources are relatively inexpensive, provide a uniform field, and longer life
span compared to other light sources. Compared to Halogen light sources, LED’s
provide more blue and less red photons.
• Halogen light sources generally provide very little blue relative to IR.
• Fiber-optic light distribution systems generally transmit very little blue relative to IR.
• Some light sources age; over their life span they produce less light. This aging may
not be uniform—a light source may produce progressively less light in some areas of
the spectrum but not others.
5.3.3 Filters
Digital cameras are extremely responsive to infrared (IR) wavelengths of light. To prevent
infrared from distorting the images you scan, use a “hot mirror” or IR cutoff filter that
transmits visible wavelengths but does not transmit wavelengths over 750nm. Examples
are the Schneider Optics™ B+W 489, which includes a mounting ring, the CORION™ LS-
750, which does not include a mounting ring, and the CORION™ HR-750 series hot
mirror. Any good manufactured IR filter can be used.
The focal point is the point at which the image of an infinitely distant object is brought to
focus. The effective focal length (f′) is the distance from the second principal point to the
DALSA 03-032-20024-01
second focal point. The back focal length (BFL) is the distance from the image side of the
lens surface to the second focal point. The object distance (OD) is the distance from the first
principal point to the object.
f′
m=
OD
These equations can be combined to give their most useful form:
03-032-20024-01 DALSA
1. Try the general and specific solutions listed in sections 6.1, 6.2, and 6.3.
2. If these solutions do not resolve your problem, see section 6.4 on getting product
support.
Note: Avoid hot plugging long power cables into the camera.
After executing this command send the gcp command to verify the factory settings.
03-032-20024-01 DALSA
3. Blow off dust using a filtered blow bottle or dry, filtered compressed air.
4. Fold a piece of optical lens cleaning tissue (approx. 3" x 5") to make a square pad that
is approximately one finger-width
5. Moisten the pad on one edge with 2-3 drops of clean solvent—either alcohol or
acetone. Do not saturate the entire pad with solvent.
6. Wipe across the length of the window in one direction with the moistened end first,
followed by the rest of the pad. The dry part of the pad should follow the moistened
end. The goal is to prevent solvent from evaporating from the window surface, as
this will end up leaving residue and streaking behind.
7. Repeat steps 2-6 using a clean tissue until the entire window has been cleaned.
8. Blow off any adhering fibers or particles using dry, filtered compressed air.
DALSA 03-032-20024-01
Note: You may also want to photocopy this page to fax to DALSA.
Customer name
Organization name
In addition to your local DALSA representative, you may need to call DALSA Technical
Sales Support:
North America Europe Asia
Voice: 519-886-6000 +49-8142-46770 519-886-6000
03-032-20024-01 DALSA
Appendix A
Camera Link™ Reference,
Timing, and Configuration Table
Camera Link is a communication interface for vision applications. It provides a
connectivity standard between cameras and frame grabbers. A standard cable connection
will reduce manufacturers’ support time and greatly reduce the level of complexity and
time needed for customers to successfully integrate high speed cameras with frame
grabbers. This is particularly relevant as signal and data transmissions increase both in
complexity and throughput. A standard cable/connector assembly will also enable
customers to take advantage of volume pricing, thus reducing costs.
The camera link standard is intended to be extremely flexible in order to meet the needs
of different camera and frame grabber manufacturers.
The DALSA Camera Link Implementation Road Map (available in the Knowledge Center
at www.dalsa.com) details how DALSA standardizes its use of the Camera Link interface.
Video Data
The Channel Link technology is integral to the transmission of video data. Image data
and image enable signals are transmitted on the Channel Link bus. Four enable signals
are defined as:
DALSA 03-032-20024-01
All four enable signals must be provided by the camera on each Channel Link chip. All
unused data bits must be tied to a known value by the camera. For more information on
image data bit allocations, refer to the official Camera Link specification on the
www.dalsa.com Web site.
All four enable signals must be provided by the camera on each Channel Link chip. All
unused data bits must be tied to a known value by the camera. For more information on
image data bit allocations, refer to the official Camera Link specification on the
www.dalsa.com Web site.
DALSA Camera Control Configuration
Falcon Stop Action Camera Link
Cameras Name
EXSYNC CC1
Reserved for future use CC2
Reserved for future use CC3
Reserved for future use CC4
Communication
Two LVDS pairs have been allocated for asynchronous serial communication to and from
the camera and frame grabber. Cameras and frame grabbers should support at least 9600
baud. These signals are
The serial interface will have the following characteristics: one start bit, one stop bit, no
parity, and no handshaking. It is recommended that frame grabber manufacturers supply
both a user interface and a software application programming interface (API) for using
the asynchronous serial communication port. The user interface will consist of a terminal
program with minimal capabilities of sending and receiving a character string and
sending a file of bytes. The software API will provide functions to enumerate boards and
send or receive a character string. See Appendix B in the Official Camera Link
specification on the www.dalsa.com Web site.
03-032-20024-01 DALSA
tFRAME PERIOD
twSYNC twSYNC_INT
EXSYNC
tLF
tFL tLINE tLVAL_LOW
LINE VALID 1 N
DATA
thPR
twPR_LOW tPR_INT
PIXEL RESET
DVAL
DALSA 03-032-20024-01
03-032-20024-01 DALSA
Appendix B
DALSA 03-032-20024-01
03-032-20024-01 DALSA
set LUT slc i i Specifies the LUT input pixel value and
coefficient output value. All other pixel values are
then calculated linearly.
i :Input pixel value. Possible values are 0-
1023.
i : Output pixel value. Possible values are 0-
1023.
set LUT enable sle i Enables or disables the camera LUT.
0: LUT disabled
1: LUT enabled
set mirroring smm i Enables or disables mirroring mode:
mode" 0: disabled
1: enabled
set output sot m Sets the output throughput. Possible values
throughput are 80 or 160 MHz.
DALSA 03-032-20024-01
03-032-20024-01 DALSA
Appendix C
EMC Declaration of Conformity
DALSA 03-032-20024-01
Appendix D
Revision History
Revision Change Description
Number
00 Preliminary release
01 First release edition
03-032-20024-01 DALSA
Index
A D
antiblooming, 10 dark patches, 67
data bus, 19
B data rate, 9
DC offset, 10
base configuration, 17 digital
baud rate, 26 gain, 56
bright lines, 66 DVAL, 70
dynamic range, 9
C
E
calibration
overview, 44 EIA-644 Reference, 69
steps, 44 electrical specifications, 9
Calibration Wizard, 47 EMC Declaration of
camera Conformity, 77
output configuration, 31
camera control signals, 19
camera getsettings
F
retrieving, 28 fiber-optic light sources, 63
camera information, 28 filters, 63
camera interfacing tool, 21 flat field correction, 44
Camera Link FPN, 44
configuration, 17, 32, 33 FPN calibration, 50
configurations, 17, 18, 31 FVAL, 69
connector, 17, 18
inputs, 19
mode, 32 G
outputs, 19 gain
camera settings digital, 56
current, 29 Get Command Parameter, 28
factory, 29
restoring, 29
saving, 29 H
user, 29 halogen light sources, 63
clock signals, 19 help, 26
coefficients, 48 hot mirror, 63
command
format, 25
list, 73 I
parameters, 25
illumination, 63
connector, 16
incorrect line rate, 66
Camera Link, 17
input/output, 16
power, 20
inputs (user bus), 19
connectors
installation, 15
Camera Link, 18
interface
control configuration, 70
electrical, 9
control signals, 70
mechanical, 9, 12, 13, 62
DALSA 03-032-20024-01
L R
LED, 17 random noise, 9
lens readout
modeling, 63 configuring, 31
mounts, 62 resolution, 9
light sources, 63 responsivity, 9
line dropout, 66
line rate, 9
LUT examples, 24 S
LVAL, 69 sensor
LVDS, 69 specifications, 9
pairs, 70 serial communication
reference, 69
M serial interface, 25
defaults, 25
magnification, 64 settings
mechanical factory, 29
interface, 62 specifications
specifications, 9, 12, 13 electrical, 9
mechanical, 9, 12, 13
N operating, 9
optical, 9
noisy output, 67 sensor, 9
O T
online help, 26 Technical Sales Support, 68
operating test pattern, 58
modes, 33 test pattern generator, 58
ranges, 9 timing
optical interface, 63 programmed, 73
optical specifications, 9 standard, 71
troubleshooting, 65
line rates, 66
P serial interface, 66
pixel rate, 32
power V
connector, 20
guidelines, 20 video data, 69
power supply, 20
PRNU, 44
03-032-20024-01 DALSA