Flare is a pending trademark of IO Industries Inc.
User's Manual
2Flare CL User's Manual
Notice
The material contained in this manual consists of information that is proprietary to IO
Industries Inc. and may only be used by the purchasers of the product and IO Industries Inc.
authorized distributors or resellers. IO Industries Inc. makes no warranty for the use of its
product and assumes no responsibility for any errors that may appear or for damages
resulting from the use of the information contained in this manual. IO Industries Inc. reserves
the right to make changes to this manual at any time without notice.
Warranty
The Flare CL product family is warranted for one (1) year from the date of purchase unless
otherwise agreed in writing. If the product proves to be defective during this warranty period,
IO Industries Inc. will, at its discretion, either repair or replace the product at no cost. In the
case where a new device is to be provided but the product has been discontinued, a product
with similar or better performance capabilities and features will be provided. This warranty
shall not apply to any damage, defect or failure caused by improper use or inadequate
maintenance of the product.
Certifications
FCC Class A Digital Device or Peripheral – Information to User
NOTE
This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential
area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
WARNING
Changes or modifications not expressly approved by IO Industries Inc. could void the user's
authority to operate the equipment.
CE Compliance
This equipment has been certified to conform to the requirements of Council Directive
89/336/EC for electromagnetic compatibility and to comply with the following European
Standards:
•Immunity: EN55024:1998, A1:2001
•Emissions: EN55022:1998 Class A / CISPR 22:1997
All IO Industries Inc. products bearing the CE mark have been declared to be in conformance
with the applicable EEC Council Directives. Note that the use of interconnect cables that are
not properly grounded and shielded may affect CE compliance.
Established in 1991, IO Industries Inc. designs high performance digital imaging products for
applications in manufacturing, research, vehicle-mounted systems, and video game content
creation. Products include PC-based, standalone and peripheral DVR systems; and high
speed CMOS area scan digital cameras.
The Flare CL series is a family of high-speed CMOS area scan cameras designed for a broad
range of applications. The following Flare CL camera models are covered in this manual:
ModelResolutionColorOutput Format
2M360MCL
2048 x 1088
2M360CCLBayer
4M180MCL
2048 x 2048
4M180CCLBayer
Table 1. Covered Flare CL models
Monochrome
Monochrome
1.1 Camera Highlights
➢ Camera Link Base, Medium, Full and Plus (80-bit) output configurations
➢ Full resolution max. 340 fps (8-bit), 180 fps (10-bit) - 2M360
➢ Full resolution max. 180 fps (8-bit), 150 fps (10-bit) - 4M180
➢ Pipelined global shutter with Correlated Double Sampling (CDS)
➢ High sensitivity with low noise
➢ Multiple High Dynamic Range (HDR) modes
➢ 10-bit ADC resolution (selectable 8/10-bit output)
➢ Programmable and triggered exposure controlled
➢ Multiple windows with up to 8 separate Regions Of Interest (ROI)
➢ Advanced Auto Exposure Control (AEC)
➢ User programmable Lookup Table (LUT)
➢ Image Sub-sampling
➢ Fixed pattern noise and black level correction
➢ Rugged aluminum case
➢ C-mount lens adapter, or optionally use T- or CS-mount
➢ Minimum exposure times of 19 µs
➢ Analog (up to 1.6x) and digital (up to 16x) gains
➢ Low power (~ 3 W @ 12 V), Power Over Camera Link (PoCL)
A typical spectral response of color 2M360 and 4M180 cameras, with D263 cover glass and
color filters is shown below. Use an IR cut filter in the optical path to obtain good color
separation when using light with a NIR component. For most situations a filter which blocks
light above a wavelength of 675 nm produces the best results.
Figure 3. Color spectral response
1.6 Bayer Pattern
The 2M360 and 4M180 are both available in color. The Bayer pattern is shown in Figure 4.
The position of the lens adapter is set using specialized equipment to ensure the proper back
focus of each camera. Three set screws (M2.5 - 1.3mm hex) on the front of the adapter are
used to firmly hold the ring adapter in place. In most cases it is not recommended to change
the position of the adapter ring. In rare cases the back focus can be adjusted to improve
image sharpness when using lower cost zoom lenses or custom optics.
The size of adapter ring is T-mount, with standard threading. It is possible to use a T-mount
extension tube with T-mount lenses; commonly Telephoto Zoom and Telescope lenses.
Between the adapter ring and the sensor there is another section of C-mount threading. With
a spacer this section can be used for a CS-mount lens. This section can also be used to
insert a filter in the optical path of the camera. An IR cut filter can be placed in a color camera
which will work with any lens type, avoiding the cost of having filters for every type of lens
used. Also a UV filter can be used which makes cleaning the camera easier, avoiding all
contact with the sensor glass itself. It is recommended to order the camera with the filter
in place, since the back focus changes with a filter installed, and it will be installed in a
clean environment. Contact IO Industries for filter options.
2.3 Power
Flare CL cameras are powered using a +12 V ± 10% DC power source. The power connector
is shown in Figure 7, and the pinout is shown in Table 4.
The camera can optionally be powered via 'Power Over Camera Link' (PoCL) from a
compliant frame grabber on the CL Base connector only. It is stongly recommended to
remove the power adapter from the camera power connector when using the camera in a
PoCL configuration. Applying power from both sources may damage the camera.
There are two opto-isolated inputs on the power connector (pins 1 and 2). Only ground must
be provided as a reference for the inputs. The voltage range on the inputs is 4.5 to 7.5 V, and
the input delay is approximately 100 ns. The input current range is 6 to 12 mA per input. The
circuit diagram for the opto-isolated inputs is shown in figure 8.
The opto-isolated input circuit uses a high-speed photocoupler from Renesas Technology
Corporation, part # PS9821-2.
There are two opto-isolated outputs on the power connector (pins 10 and 9). Power (4.5 to
15 V) and ground must be provided for these outputs. The maximum output delay is
approximately 1 µs. An external pull-up reisistor is not required, but if one is used it must be
greater than 2 kΩ. The circuit diagram for the opto-isolated outputs is shown in figure 9.
Figure 9. Opto-isolated outputs circuit diagram
The opto-isolated output circuit uses a single channel high speed digital optocoupler per
output (Avago Technologies part # ACPL-M34T).
A tri-color (orange/green/red) LED on the back of the camera is used to indicate operational
status. Table 5 summarizes the operating states indicated by the LED.
LED StateDescription
OrangeCamera is initializing (approximately 5-6 seconds after power is applied)
GreenCamera is operational and functioning correctly
Flashing GreenExecuting long command
Flashing Red Error accessing user set memory
RedFatal error
Table 5. LED status
2.6 Camera Link Connection
The Flare CL camera series uses two standard 26-pin MDR connectors specified in the
Camera Link Specification. The female 26-pin MDR connectors used on the Flare CL
cameras is shown in Figure 10.
Figure 10. Camera Link 26-pin MDR connector
All pinouts and bit assignments are in accordance with the Camera Link specification. The
pin configuration for the base connector is shown in Table 6.
The CL Base connector is on the right hand side when looking at the back of the camera, with
the power connector at the top. The CL Medium/Full connector is on the left. Figure 11 shows
the back view of the camera.
Figure 11. Back view of Flare CL camera
The supported Camera Link output configurations are shown in Table 8.
The camera supports the popular 80-bit extension to the Camera Link Specification. Camera
Link Plus throughout this manual will be referring to the 10x8-bit output configuration of the
camera. In addition to the CL Plus output format, the Flare CL camera also has an 8x10-bit
output configuration to reach higher speeds with a pixel depth of 10-bit. Throughout this
manual the 8x10-bit output mode will be referred to as CL Plus10. See Appendix A, Table
27, for the bit mapping of CL Plus. See Appendix A, Table 28, for the bit mapping of CL
Control of the camera settings is done through the Camera Link serial port. A simple ASCII
protocol is used. Below are some key points about the serial control:
➢ 8-bit, 9600 baud (power-up default), 1 stop bit and no parity
➢ All sent commands end with a carriage return (0Dh), which can also be sent at any
time to reset the uart receiver state machine within the camera and return it to an
idle/ready state.
➢ Commands are 3 ASCII characters followed by the setting or simply a carriage return
when no settings are associated with the command.
➢ A space is sent between the command and the setting.
➢ All settings are in hexadecimal.
➢ All commands letters are in lower case (including settings hex values a-f).
➢ To query a command a carriage return is sent after the last command character.
➢ Successful commands return ACK (06h, generally seen as a dash (-) in terminal
programs), invalid or rejected commands return NAK (15h, generally seen as plus sign
(+) in terminal programs).
➢ A query returns the command, the current value, the minimum and maximum allowable
values within brackets, a carriage return and finally an ACK.
➢ Get camera parameters command (gcp) returns all command settings.
➢ Help command (hlp) returns list of all available commands and brief description.
Table 9 summarizes all available commands. The presence and size of a command's
parameters are shown with the letter 'Y' (see Format column). Each letter 'Y' represents a
hexadecimal digit from 0 to f.
Exposureby auto exposure controlMinimum value equal to min of ex1
command. Maximum value equal to
current amx setting. When amn = amx,
only gain will be used resulting in ±EV
type control if small range of gain used
centered around 1x
AEC Maximum
Exposure
AEC Minimum
Aperture
AEX Maximum
Aperture
AEC Minimum
Gain
AEC Maximum
Gain
AEC Targetaet YYYTarget luma value for auto exposure
AEC Areaaea YArea to use for auto exposure
AEC Speedaes YAdjusts the speed of auto exposure
AEC Enableaex YAuto exposure mode selection0 - off
Lens Apertureape YYSet lens aperture- Parameter range varies from lens to
amx YYYYMaximum value for exposure used
by auto exposure control
aan YYMinimum value for lens aperture
used by auto exposure control
aax YYMaximum value for lens aperture
used by auto exposure control
adn YYYYMinimum value for digital gain used
by auto exposure control
adn YYYYMaximum value for digital gain used
by auto exposure control
control
control
changes
Same range as ex1
Range = (0, aax)
Same range as ape
Range = (0x0001, adx)
Same range as dgn
Range 0x001 to 0x3FF
Luma value is calculated using average
red, green and blue pixels over the
whole image or enabled zones (aea).
Luma is calculated according to
ITU.REC709:
Y = 0.2126R + 0.7152G + 0.0722B
0 - full image
1 - enabled zones
Range 0 (slowest) - 3 (fastest)
Default = 2
1 - auto exposure
2 - auto exposure and digital gain
3 - auto exposure and aperture
4 - auto exposure, aperture and digital
gain
lens
- 0 corresponds to a fully open aperture
Lens Focus
Step
Lens Focus to
Infinity
Lens Focus to
Zero
Lens FocusfsiStep lens focus towards infinity- Steps the lens focus towards infinity
fst YYSet focus step size- Parameter range 04h to C8h
- Effect of step size varies from lens to
lens
fciSet lens focus to infinity- Moves lens focus to infinity position
fczSet lens focus to minimum- Moves the lens focus to its minumum
fszStep lens focus towards minimum- Steps the lens focus towards the
minimum position using the current
focus step size
ready)
1 - Focal length in mm
2 - F-number x 10 (eg. 41 = F4.1)
3 - Near focal distance stop in cm
4 - Far focal distance stop in cm
Focal distance stop of 65535 means
infinity
5 - Auto/Manual focus switch position
(0 - AF, 1 - MF)
Focus commands will not work if switch
is in MF position
lcb YDirectly communicate with lens
adapter
op1 YSelect output signal for Optocoupled
Output #1 (pin 10)
op2 YSelect output signal for Optocoupled
Output #2 (pin 9)
1 - enable bypass
0 - return lens control to camera
- Enabling lens control bypass
connects the serial interface directly to
the lens adapter at 19200 baud
The clf command is used to set the Camera Link output format. The available Camera Link
output formats are shown in Table 10. In all configurations the images are outputted from left
to right starting with the top line (assuming no image flip).
The Flare CL camera supports up to 8 separate non-overlapping windows. Image windowing
can be used to increase the frame rate of the camera and reduce the amount of data received
by the frame grabber or recording system.
The window parameters are stored in internal registers and are only applied to the sensor and
readout path when the set windows command, swd, is sent.
While sending window parameters the current values of the window commands (nwd, hrx,
hs1-hs8, vr1-vr8 and vs1-vs8) will not reflect the changes until the windows have been
successfully set. For example if a gcp command is sent mid way through setting up the
windows, all the old parameters will be returned. In this fashion no invalid parameters will be
saved to user set space if a save command is sent in the middle of the process.
Follow the steps below to change the windowing of the camera:
1. Set the number of windows, nwd command
•Range 1 to 8.
•This command will reset all the internal window registers to zero.
•Always start the process with this command, and use to clear the settings to start
over if needed.
•After setting the number of windows all commands related to those windows must
be set at least once (since internal registers are set to zero). For example if the
number of windows is set to 2 the following commands must be sent at least once:
hrx, hs1, vr1, vs1, hs2, vr2 and vs2.
2. Set the horizontal resolution, hrx command
•The horizontal resolution of all windows is the same.
•The resolution must be a multiple defined by the currently set Camera Link format:
◦ 2x8/10-bit, 4x8/10-bit, 8x8/10-bit - Must be multiple of 8 (max 2048).
◦ 3x8-bit - Must be a multiple of 12 (max 2052, 4 black columns on right side).
◦ 10x8-bit - Must be a multiple of 10 (max 2050, 2 black columns on right side).
•The minimum number of pixels is 2 times the multiple value (16, 24 or 20).
3. Set the horizontal start pixel of the first window, hs1 command
•The number for the pixels are from 1 to the maximum value.
•The start pixel must follow the same rule as the horizontal resolution, then add 1.
•For example valid starting pixels in 10x8-bit Camera Link format are 1, 11, 21,
4. Set the vertical resolution of the first window, vr1 command
•The minimum number of lines for any window is 4.
•For color cameras the number of lines must be a multiple of 4.
•For monochrome cameras the number of lines must be even.
5. Set the start line of the first window, vs1 command
•For color cameras the start line must be odd to preserve the bayer pattern.
6. Repeat steps 3-6 for all active windows
•Start pixel, hs2-hs8 commands.
•Vertical resolution, vr2-vr8 commands.
•Start line, vs2-vs8 commands.
7. Set the windows, swd command
•No parameter, send swd<CR>
•All window settings are checked at this time. If an invalid setting or overlapping
windows are found the set window command will return a <NAK>.
•Once the windows have been set adjustments can be made to any of the window
parameters followed by another set window command. If a set number of windows
command (nwd) is sent all commands for those windows must be sent.
An example of 8 sub-windows (4M180 in 8x8-bit CL format) is shown in Figure 12. The
commands sent to the camera to generate these 8 sub-windows is shown below:
Figure 12. Example of image windowing with 8 sub-windows
Once a set of windows has been established changes can be made to those windows by
sending only the commands related to that window, followed by a set window command. For
example to change the start pixel of window 7 to the first pixel in the previous example only
the commands hs7 001 and swd commands need to be sent. Note that if the number of
windows command (nwd) is sent then all commands related to the windows must be re-sent.
The sub command is used to enable image sub-sampling. Set to 1 to enable sub-sampling.
Every second pixel and every second line are skipped for a monochrome camera when subsampling is enabled. With a Bayer color camera the skipping is performed in pairs to
preserve the Bayer pattern. See Figure 13.
The frame rate increases when image sub-sampling is used and the field of view of the
camera remains the same. The frame rate increase depends on the image horizontal
resolution and the camera link output format. The minimum increase in frame rate is
approximately 2 times, and can be up to almost 4 times. See section 3.6 for more details.
Figure 13. Image sub-sampling example
The number of clock cycles for a given Camera Link format is used in the internal data path of
the camera instead of the raw horizontal resolution value. For the full resolution in 10x8-bit
output format there are 205 clock cycles per active line output (2050 pixels). The camera
divides this value by 2, ignoring the remainder, to calculate the resolution when sub-sampling
is enabled. In the 10x8-bit output format case this results in 102 clock cycles, giving an
overall horizontal resolution of 1020 on the output. The sub-sampled horizontal resolution of
the full image size in 3x8-bit output format is also 1020.
In free-run exposure mode an internal timer is used to control the exposure time of a frame.
The primary exposure time is set in microseconds using the ex1 command. The range of the
allowable exposure time will change when the frame period changes (per command, also in
microseconds). The timing for this mode, with High Dynamic Range exposure modes
disabled, is shown in Figure 14.
Exposure Time, Frame N FOT
Figure 14. Free-run exposure timing
In Figure 14 the example timing is shown with the exposure time less than the readout time.
The fully pipelined architecture of the sensor allows for the next integration period to start
while the previous frame is being read out. There is a Frame Overhead Time (FOT) period
after exposure ends and before the readout of the frame begins. The next exposure cannot
start in the FOT period. The FOT varies with the Camera Link output formats and the image
horizontal resolution, see section 3.6.
Exposure Time, Frame N+1FOTExposure Time, Frame N+2
In edge-triggered programmable exposure mode an internal timer is used to control the
exposure of a frame, however, exposure does not start until the active edge of the input
trigger is seen. The primary exposure time is set using the ex1 command, and the time is set
in microseconds. The frame period command has no effect in this mode. The range of the
exposure time will be set according to the maximum frame period allowed for the current
Camera Link output format set. The timing for this mode, with High Dynamic Range exposure
modes disabled, is shown in Figure 15.
Exposure starts when the active edge of the input trigger is seen. The active edge can be set
to rising or falling (te1 command). There is a Frame Overhead Time (FOT) period after the
exposure ends, same as free-run mode, and then readout of the frame begins.
The minimum pulse width of the input trigger is 200 ns. The delay from the active edge
of the trigger to the start of exposure is approximately 200 ns.
Exposure of the next frame cannot start until the readout of the current frame begins. Also
exposure cannot end during the readout of the previous frame. The camera will not look for a
new trigger pulse until N microseconds have elapsed after readout begins, where N =
Readout Time - Exposure Time, if the exposure time is less than the readout time.
In edge-triggered level-controlled exposure mode the exposure of the frame is controlled by
the active state of the input trigger. The frame period and exposure commands have no effect
in this mode. The High Dynamic Range exposure modes are not available in this mode. The
timing for this mode is shown in Figure 16.
In this mode exposure starts when the input trigger transitions into the active state. Exposure
continues until the trigger transitions into the non-active state. The active state can be set to
low or high (te1 command).
There is a Frame Overhead Time (FOT) period after the sensor is triggered to stop integration
before the readout starts. When the sensor enters this FOT period there is a portion of time
where the photodiodes are still being exposed to light before the charge is transferred to the
storage elements. This Exposure Overhead Time (EOT), shown in Figure 16, is a known
constant value and only depends on the Camera Link output format. For programmable
exposure modes this time is included in the exposure time value. See section 3.6 for more
information.
The minimum pulse width is 1 µs.
Exposure of the next frame cannot start until the readout of the current frame begins. Also
exposure of the next frame cannot end during the readout of the current frame. To ensure
this condition is met the camera does not look for the end of exposure transition until the
readout of the current frame has completed.
In edge-triggered double exposure mode two frames are captured in rapid succession when a
single trigger edge is seen. This type of exposure mode is typically used in Particle Image
Velocimetry (PIV) and Particle Tracking Velocimetry (PTV) applications.
The first frame's exposure starts when the active trigger edge is detected and the exposure
time is set by the ex1 command. The first frame corresponds to the 'short' exposure frame.
After the Frame Overhead Time period of the first frame, exposure of the second frame
automatically starts and the duration is equal to the frame readout time. The second frame
corresponds to the 'long' exposure frame. Starting the second frame exposure automatically
ensures the smallest time between the frame exposures. The timing of this mode is shown in
Figure 17.
Trigger
(rising)
Programmed
Exposure Time,
Frame N
FOT
EOT
Automatic Exposure Time,
Frame N+1
Readout Time, Frame N
FOT
EOT
Programmed
Exposure Time,
Frame N
Readout Time, Frame N+1
FOT
EOT
Inter-frame Time
Figure 17. Edge-triggered double exposure timing
The inter-frame time between exposures is equal to the Frame Overhead Time (FOT) minus
the Exposure Overhead Time (EOT). See table 11 for the minimum inter-frame times for the
2M360 and table 12 for the 4M180. The minimum inter-frame time for the fastest 2M360
configuration is 21 µs. The minimum inter-frame time for the fastest 4M180 configuration is
The frame period in free-run exposure mode is controlled with the per command. The frame
period is specified in microseconds. The minimum frame period of the camera (maximum
frame rate) is determined by the Camera Link output format and the resolution. Assuming
free-run operation and that the exposure time is less than the readout time the frame period is
calculated as follows:
➢ Frame Period = Frame Overhead Time + Readout Time
The Frame Overhead Time (FOT) depends on the Camera Link output format and the
horizontal resolution. Table 11 shows the FOT period for the 2M360 given the configuration of
the camera. Table 12 shows the FOT period for the 4M180.
The Exposure Overhead Time (EOT) which is included in the programmable exposure times,
and which must be considered in the level-controlled exposure (see section 3.5.3), is also
shown in Table 11 and Table 12.
The readout time of a frame is equal to the number of lines in the output image multiplied by
the line time. Line times are also shown in Table 11 and Table 12.
The spd command can be used to reduce the line rate of the Flare cameras in 8x8/10-bit
Camera Link output formats. This may be necessary when using PCIe x4 frame grabbers, or
when using a pair of cameras with a PCIe x8 frame grabber. See section 3.17 for the line
times and sample frame rates with the reduced line rate.
Only firmware versions 7 or higher have 8 horizontal timing zones. Previous firmware versions had
only 2 timing zones: 2052 ≥ HR > 1020 with equivalent timing to 2052 ≥ HR > 1704 region above, and
1020 ≥ HR with equivalent timing to 1020 ≥ HR > 852 region above.
Only firmware versions 7 or higher have 8 horizontal timing zones. Previous firmware versions had only
2 timing zones: 2052 ≥ HR > 1020 with equivalent timing to 2052 ≥ HR > 1704 region above, and 1020 ≥
HR with equivalent timing to 1020 ≥ HR > 852 region above.
➢ Camera Link Plus output format has the fastest 8-bit frame rate.
➢ Camera Link Plus10 has the fastest 10-bit frame rate.
➢ When the horizontal resolution is reduced only CL Base or Medium configurations may
increase in frame rate.
➢ The frame rate will increase for every line skipped in the output image in all
configurations.
➢ When sub-sampling is enabled the frame rate will nearly double because of the vertical
reduction in image size (not exactly double because of the FOT period). Only in CL
Base or Medium will a frame rate increase possibly be observed because of the
horizontal reduction in image size when sub-sampling is enabled.
➢ The FOT value for the 4M180 is larger than the 2M360, however the line times are the
same. Given the same resolution the 4M180 frame period is only slightly larger than
the 2M360 (at most 32 µs difference in frame period).
The camera re-calculates the allowable range for the frame period when the CL output format
or resolution is changed. The camera will also adjust the current frame period to the new
minimum value. The range for the exposure times is also re-calculated, and if any current
setting is outside of the range it will be adjusted to the maximum time.
Frame rate calculation example:
➢ 2M360 in 4x10-bit CL Medium with a single window set to 768 x 512 (no sub-sample)
•Frame Period= FOT + Readout Time
•= 39 µs + 512 (3.23 µs)
•= 1693 µs
•Frame Rate = 1 / Frame Period = 591 Hz
Table 13, Table 14, and Table 15 show some sample frame rates.
In programmable exposure modes (mde = 0 or 1) the minimum exposure time is set to the
Exposure Overhead Time (EOT) plus 1 µs. In level-controlled exposure mode (mde = 2) the
minimum trigger pulse is 1 µs resulting in the same minimum exposure times as the
programmable modes. Table 16 shows the minimum exposure times. Note that the 2M360
does have lower minimum exposure times.
Camera Link Output
Format
Exposure Time
Base
Medium4 x 8/10-bit1529
Full8 x 8-bit
Plus108 x 10-bit
Plus10 x 8-bit1325
Table 16. Minimum exposure times
1
Based on firmware version 7 or higher timing zones.
The hdr command is used to enable a High Dynamic Range (HDR) exposure mode. The
following modes are available:
➢ Interleaved (hdr = 1)
➢ Piecewise (hdr = 2)
Set the hdr command to zero for normal exposure.
3.7.1 Interleaved HDR Exposure Mode
The Interleaved HDR mode is useful when there are both under and over exposed areas
within a frame. The Interleaved HDR mode will increase the dynamic ranges within these
dark and bright spots revealing detail that would not be seen otherwise.
In Interleaved HDR mode the even and odd lines have different exposure times. The odd
lines (1, 3, 5, ..) are exposed for the programmed time set by the ex1 command. The even
lines (2, 4, 6, ...) are exposed for the programmed time set by the ex2 command. For a color
camera the exposure times apply to pairs of lines to preserve the Bayer pattern.
One exposure time should be set high to see the detail in the dark areas of the image. The
second exposure time should be set low to see the detail in the bright areas of the image. An
'image fuse' filter is required on the host side to combine these two 'fields' into dramatic HDR
images.
For the best results the two fields should be separated and individually scaled up to the full
image size. For a color camera the Bayer demosaicing conversion should be done first. Next
the images can be 'fused' together by averaging the pixels from the two frames. Exposure
times can be used for the multiplication factor for each frame for a more accurate image fuse
(instead of 0.5 when simply averaging).
The Flare CL camera can achieve a high optical dynamic range using the piecewise exposure
mode. This HDR mode is useful when there are over exposed areas within a frame. The
piecewise exposure mode will prevent pixels that are being exposed to large amounts of light
from over saturating while not influencing the response of the darker pixels.
Pixels which reach a programmed voltage will be clipped, while dark pixels will be left
untouched. The clipped pixels are held at this voltage for a programmed period of time. The
programmed voltage and exposure time correspond to a 'kneepoint' which creates another
piece, or slope, in the response curve. Up to two kneepoints can be programmed resulting in
3 slopes in the response curve. An example of piecewise exposure with 2 kneepoints and 3
slopes is shown in Figure 18.
Pixel
Reset
Total Exposure
Time
Pixel
Sample
Vhigh
Vkp1
Vkp2
Vlow
Kneepoint 1
Exposure
Kneepoint 2
Exposure
Figure 18. Example pixel response in Piecewise HDR exposure mode
In Figure 18 the green line represents a darker pixel that is not influenced by the kneepoint
settings and will have a normal response. The red line represents a bright pixel which would
be saturated in normal exposure. In piecewise exposure mode the bright pixel reaches the
first kneepoint voltage (Vkp1 in figure) and is held there until the first kneepoint exposure time
starts. The bright pixel continues exposure until it reaches the second kneepoint voltage
(Vkp2 in figure) where it is held again. Finally the pixel continues exposure when the start of
the second kneepoint exposure time is reached.
Table 17 summarizes the commands used in piecewise HDR exposure mode.
The dark level offset can be programmed using the off command. The dark level at the
output of sensor equals (70 + setting - 16383), Valid off setting range is 0 to 16383 (3FFFh).
The offset is a digital value added to the output signal after the analog to digital conversion.
3.8.2 Analog Gain
An analog gain can can be applied using the agn command. Valid range is 0 to 3, and the
corresponding gain values are shown in Table 18. The analog gain is applied by a
Programmable Gain Amplifier (PGA) in every column before the analog to digital conversion.
agn settingGain
0x 1 (0 dB)
1x 1.2 (+1.6 dB)
2x 1.4 (+2.9 dB)
3x 1.6 (+4.1 dB)
Table 18. Analog gain settings
3.8.3 ADC Ramp
The sensors in the Flare CL camera series use column ramp Analog to Digital Converters
(ADC). A ramp generator provides the ramp for the ADC reset and pixel measurements
(Correlated Double Sampling). The adc command can be used to change the slope of this
ramp, producing a 'digital gain'. The adc ramp setting of each camera is calibrated at the
factory to match a desired bit/e value and provide quality, high dynamic range images.
The adc command is savable to the user sets (firmware version 02 or higher). To load the
factory calibrated value send the command adc 00. With the parameter set to 00 the factory
value will be loaded.
Typical gain values for the adc settings are shown in Figure 19. The ADC gain response
depends on the sensor clock frequency. Figure 19 shows four curves one for Camera Link
output format 3x8-bit (clf = 2, 30 MHz), one for output format 10x8-bit (clf = 7, 48 MHz), one
for output formats 8x8/10-bit with spd = 1 (clf = 5 or 6, 36 MHz) and the other formats (40
MHz). Generally, an ADC ramp value of 1.6 provides good digital numbers per electron
covering the 10-bit range.
Figure 19. Typical ADC gain values versus ramp settings
3.8.4 Digital Gain
A digital gain can be applied using the dgn command. A value between 16 and 256 is
programmed using the dgn command. The digital gain applied to the pixels is as follows:
➢ Digital Gain = (dgn setting) / 16
The range of the digital gain is 1x (0 dB) up to 16x (+24 dB). The default setting is 16 giving
unity gain. The digital gain is applied to 10-bit pixels read out from the sensor.
3.9 Image Flipping
The output image from the Flare CL camera can be flipped in the X and/or Y direction using
the flp command. Table 19 shows the image flipping options.
flp settingDescription
0No image flipping
1Image flipped in X direction
2Image flipped in Y direction
3Image flipped in both X and Y directions
Table 19. Image flipping settings
Figure 20 shows an example of image flipping.
NO FLIP
Figure 20. Image flipping example
Image flip in the X direction can be useful in an inspection application where two cameras are
placed on either side of the material flow. One camera can be set to image flip in the X
direction resulting in both cameras seeing the flow of material in the same direction. This may
simplify processing software algorithms and aid in an operators view of the material.
X DIRECTION
Y DIRECTIONX+Y DIRECTION
Image flip in the X and Y direction is useful when the camera has to be installed upside down.
Flare CL color cameras have red and blue multipliers to white balance the output images.
The multipliers are unsigned 2.10 fixed point numbers with a range of 0x001 (0.00097) to
0xFFF (3.99902). The white balance command is wbm <BBB><RRR>.
The white balance of the raw Bayer pixels produces equal results to an algorithm performed
after a Bayer demosaicing algorithm. Taking advantage of the Flare white balance features
lightens the software load of the host computer or frame grabber. Automatic one shot white
balance along with continuous tracking white balance features are available.
3.10.1 Auto White Balance (AWB)
A one shot auto white balance can be performed using the awb command. Only a single
frame is used for the calculation and either the full image (awb 0) or enabled zones (awb 1)
can be selected. See section 3.10 for more information on the image zones.
The multiplier command (wbm) is updated when the command completes. The auto white
balance feature cannot be use when tracking white balance is enable, command will return
NAK.
3.10.2 Tracking White Balance (TWB)
Tracking white balance (TWB) is used to constantly monitor and adjust the camera's white
balance. Set the twb command to 1 (full image) or 2 (active zones) to enable tracking white
balance.
The white balance multipliers (wbm) parameter values are automatically updated every
frame, and can be queried while the feature is running.
The TWB speed command (tws) is used to control the magnitude of the multiplier changes,
reaction time and convergence time. The speed command range is from 0 (slowest) to 3
(fastest). The default speed setting is 2.
The Flare CL cameras have advanced auto exposure and gain control. The AEC block can
be used to automatically adjust the camera's response in dynamic lighting environments by
changing the exposure time and/or digital gain settings based on the calculated average
image luminance compared to a user programmable target. The luminance value is
calculated according the ITU-R BT.709-5 recommendation.
Table 20 shows the commands used to control the AEC block.
CommandDescription
amn YYYYMinimum exposure time. Range = (min ex1, amx).
amx YYYYMaximum exposure time. Range = (amn, max ex1).
aan YYMinimum aperture value. Range = (min ape, aax).
aax YYMinimum gain value. Range = (0, max ape).
adn YYYYMinimum gain value. Range = (min dgn, adx).
adx YYYYMaximum gain value. Range = (0, max dgn).
aet YYYTarget luma value.
Calculated according to:
Y = 0.2126R + 0.7152G + 0.0722B
aea YArea used for calculations.
0 – full image
1 – enabled zones
aes YAlgorithm speed. Adjusts AEC reaction time and settling
times.
Range 0 (slowest) to 3 (fastest).
Default = 2.
aex YEnable/Disable AEC.
0 – disabled
1 – enabled, auto exposure
2 – enable, auto exposure + digital gain
3 – enabled, auto exposure + lens aperture
4 – enabled, auto exposure + lens aperture + digital gain
Table 20: Auto exposure and gain control commands
AEC can be enabled in either free-run or triggered exposure modes, but cannot be use when
a High Dynamic Range exposure mode is enabled. A command sent to enable AEC will
receive a NAK if the hdr command is not zero, and vice-versa.
AEC parameter values can be changed while running, for example the target luma value can
be modified while the algorithm is enabled.
3.12 AWB and AEC Zones
Auto and tracking white balance, and auto exposure control can be set to use the pixel
information in the entire image or only active zones can be used. The windowed image is
divided into 64 zones, 8x8. The size of the zones is automatically adjusted when the image
window size is changed. The horizontal zone width is counted in clock cycles, with 8 pixels
per clock, and if the overall image width is not mod64 the zones will be centered in the
window with an unused portion to the left and right of the zones. Similarly if the image height
is not mod8 the zones will be centered vertically.
To view the position of the zones in the image use the azo command to enable an overlay.
Active zones will be clear, while inactive zones will be a grey shade (alpha blend with pixel
data). Unused image areas will have a dark grey alpha blend. The overlay will only be
shown when tracking white balance or auto exposure is enabled.
The active zones are set using the four commands: az1, az2, az3 and az4. Each command
represents 16 zones, one zone per bit, with az1 starting in the top left corner of the image.
Set a zone's corresponding command bit to '1' to enable the zone, or '0' to ignore the zone.
The Flare CL cameras have a custom Look Up Table (LUT) in the data path. Up to 4 custom
user LUT tables can be stored in non-volatile memory in the camera. Use the lut command
to load one of the four LUTs from memory, parameter value 1 – 4. Send lut 0 to disable the
LUT block.
The Flare cameras store a unique 32 byte name for each LUT. To read a user name send the
rnm command, with parameter between 0x9-0xC. See section 3.16 for more details.
The LUT tables in the camera are 12-bit. For the best image quality the data path with the
Flare CL cameras carries extra decimal bits per pixel after the fixed pattern noise correction
blocks. At the input the LUT block the pixel depth is reduced to fixed point 8.4 and 10.2 bits
for 8-bit and 10-bit ADC modes, respectively. Note only 10x8-bit and 20x8-bit output formats
use 8-bit ADC mode on the sensor, all other modes run the sensor in 10-bit ADC mode. With
current software 10-bit LUT tables are interpolated for 12-bit values to store in the camera.
3.14 Lens Control
The Flare CL cameras include support for an optional lens mount compatible with Canon EF
lenses.
The aperture setting command (ape) controls the iris in the lens to vary the amount of light it
allows into the camera. An aperture value of zero corresponds to a fully open aperture. The
maximum number of aperture steps varies from lens to lens.
Several commands control the focus position of the lens. The fcz and fci commands move
the focus directly to its minimum point and to infinity, respectively. The focus can be stepped
towards the minimum (fsz) and towards infinity (fsi). The focus step size can be set with the
fst command.
Information about the configuration of the lens can be retrieved by using the lns command
with the options show in Table 21.
5Auto/Manual focus switch position (0 - AF, 1 - MF)
Focus commands will not work if switch is in MF
position.
Table 21: Lens status
3.15 Test Pattern
The Flare CL cameras have a test pattern mode to aid in testing connectivity between the
camera and a frame grabber. The options for the pat command are shown in Table 22.
pat settingDescription
0Image from sensor
1Test pattern enabled with moving lines (dynamic)
2Test pattern enabled no moving lines (static)
Table 22. Test pattern Settings
In test pattern mode the camera frame rate is the same as in normal operation. All exposure
modes can be used when the test pattern is enabled. The test pattern image is always a
continuous image with a horizontal resolution set by the hrx command, and a vertical
resolution set by the total of the vr1 to vr8 commands for active windows. The sensor is not
disabled when the test pattern is on. Effects of some commands, such as gain or high
dynamic range modes, may not be visible in the test pattern image, however, when the test
pattern is disabled the images from the sensor will still be affected.
The total number of output clock cycles per line is shown in Table 23. The number of
horizontal blanking clock cycles is equal to the total number of clocks per line minus the
horizontal resolution in output clock cycles (HR / pixels per clock). This timing is only valid for
FPGA firmware versions 7 or higher. For previous versions the horizontal blanking period
was fixed at 2 clock cycles.
The monochrome test pattern is a count up pattern. The counter starts at zero and counts up
to FFh (8-bit output configuration) or 3FFh (10-bit output configuration), and then starts over
at zero again. Pixel values are repeated for the number of pixels outputted given the Camera
Link configuration. For example in a 4x8/10-bit configuration each pixel value will be repeated
4 times, and in an 8x8/10-bit configuration each pixel value will be repeated 8 times.
There is a moving horizontal and vertical line in the image. Every image the horizontal line
moves one line down compared to the previous image. The vertical line moves to the right by
N pixels every image, where N is the number of pixels outputted per clock cycle (all values
are repeated in this manner, see paragraph above). Both lines are always present in the
image. When the previous frame has the horizontal line in the last line of the image, the next
frame will have the horizontal line in the first line. The moving lines help in testing the
robustness of a system to bit errors by creating high frequency change in the pixel values at
the receiver.
A typical monochrome test pattern, with moving lines, is shown in Figure 22.
Figure 22. Monochrome test pattern (with moving lines)
The bayer test pattern for color Flare models is very similar to the monochrome test pattern.
The bayer pattern is a count up pattern (0-FFh in 8-bit mode and 0-3FFh in 10-bit mode), but
the count up values are only assigned to one color plane at a time, while the other colors are
set to zero. The result is color bands with increasing brightness, starting with green, followed
by blue and finally red. The width of the color bands depends on the Camera Link
configuration. The color bands are 256 pixels wide, except in 3x8-bit Camera Link Base
mode where they are 288 pixels wide. Like the monochrome test pattern the count up value
increases by 1 every Camera Link output clock cycle. For example in 3x8-bit mode the count
up value will count from 0 to 255 and then reset to 0 on the 257th clock cycle. In the final
image this reset to zero starts at column 3x256 = 768, appearing as a break in the color bar.
The sensor manufacturer have identified some known artifacts with the CMV2000 and
CMV4000 sensors. The horizontal line and black sun artifacts are discussed in the following
sections, along with the algorithms built into the Flare CL camera series to correct them. For
more information on these artifacts check the sensor manufacturer's website,
www.cmosis.com.
3.16.1 Horizontal Line
The horizontal line artifact may occur when exposure of the next frame starts during the
readout of the current frame. The effect is visible in the line addressed for readout when
exposure of the next frame begins. The effect is a positive or negative offset in the line
addressed for readout.
The horizontal line artifact has been observed in all Camera Output formats, but is most likely
to occur at higher frame rates. If the exposure time is set to the maximum value, for a given
frame period, the line will occur in the third line of the image.
During the readout period of a line there is a 'slot time' where the start of exposure can start
without producing the line effect. When the Horizontal Line Correction algorithm is enabled,
hlc = 1 (default), the start of exposure will be delayed to line up with the slot time. This will
cause up to one line time (see table 11 and table 12) period delay in the start of
exposure. The algorithm also handles the case when multiple exposure signals are used in
the High Dynamic Range exposure modes. To disable the algorithm set the hlc command to
zero.
The slot time can vary slightly when different ADC ramp values are set. Use the hrg
command to move the programmed slot time. The parameter for the hrg command is 4 bits
where the most significant bit is the sign bit (0 - positive, 1 - negative), and the bottom 3 bits is
the adjustment value. For example if the hrg command is set to 2 the programmed slot time
will be delayed by 2 clock cycles. If the hrg command is set to d (in hex), the programmed
slot time will be advanced by 5 clock cycles. The slot time is always measured in the 40 MHz
system clock domain. The analog gain setting also has an effect on the slot time, but this is
handled in the camera firmware automatically.
NOTE that at the fastest Camera Link output formats (8x8/10-bit and 10x8-bit) the
parasitic capacitance is so high in the CMV4000 sensor that there may be no slot time
where the line is invisible. Try the hrg command to see if there is a better slot time when
the line is visible. Another option is to set the exposure to max, given the set frame period,
and remove the first three lines at the frame grabber if the maximum vertical resolution of
2048 is not required for a given application.
3.16.2 Black Sun
The 'Black Sun' effect occurs when a very bright spot is aimed at the sensor, and the center of
the bright spot becomes dark instead of saturated white. This effect is caused by a saturated
reset level from the intense photons, resulting in a pixel value of zero from the Correlated
Double Sampling (CDS) step in the sensor.
This effect can be reduced or eliminated by reducing the light falling on the sensor by closing
the lens iris.
A second option built into the Flare camera firmware is to reduce the time between the pixel
reset and reset sample. Both the CMV2000 and CMV4000 have recommended defaults for
this time resulting in the best CDS result. When the Black Sun correction is turned on, bsc =
1, the time between the pixel reset and reset sample is cut in half. This reduction in time will
eliminate most Black Sun effects. To disable the correction set the bsc command to zero,
default. The noise in the image will increase with the Black Sun correction enabled.
3.17 Bad Pixel Replacement
Each camera is tested for defective pixels. These pixels can be 'dead' pixels (pixel value of
zero when sensor is fully saturated), 'hot' pixels (pixel value of 3FFh when no light is hitting
sensor) and non-uniform pixels which react to light but vary significantly from the average of a
constant greyscale image.
The bad pixel replacement algorithm running in the camera can be enabled or disabled with
the bpx command, 0 - disabled or 1 - enabled. By default the algorithm is enabled. This
command is saved to the user sets.
The algorithm replaces the bad pixels by using an average of neighboring pixels in the
horizontal direction. The list of bad pixels is stored in non-volatile memory in the camera,
which can be read and updated by users. The algorithm can correct up to 255 pixels.
The image sensor has a built in temperature sensor. To read the current temperature send
the tmp command. A sign character is returned (positive value '+' (2Bh) or negative value '-'
(2Dh)) followed by a 2 digit hex value representing degrees in Celsius. An example is shown
below.
Example:
Command:tmp<CR>
Response:+28
<ACK>
In the above example a positive temperature of 40ºC was returned.
The image sensor has an operating range of -30ºC to +70ºC (no condensation). The Flare
CL cameras are built with industrial grade components capable of wide temperature ranges.
The operating range of the camera is -10ºC to 50ºC (relative humidity 20-80%, no
condensation).
3.19 Command Memory
The Flare CL cameras use a non-volatile piece of memory to store up to 8 user command
sets. To save the current camera settings to one of these user sets send the sav command,
with parameter between 1-8. To load from one of the user sets send the lod command, with
parameter between 1-8.
The user sets are programmed prior to shipment. Each Camera Link output format is saved
to one of the user sets. The settings saved are for normal free-run exposure at full resolution.
Table 24 shows the default user set Camera Link output formats.
Table 24. Default user set Camera Link output formats
For convenience, and to easily remember what settings are programmed in a user set, the
Flare CL cameras store a unique 32 byte name for each user set. To read a user name send
the rnm command, with parameter between 1-8. To change a name follow these steps:
➢ Open the name by sending the onm command, with parameter between 1-8.
➢ Send one ASCII character at a time to the open name using the wnm command, max
32 characters.
➢ When the name is complete send the snm command to save the command.
An example of changing user set 6 name to "flare" is shown below:
➢ onm 6
➢ wnm f
➢ wnm l
➢ wnm a
➢ wnm r
➢ wnm e
➢ snm
Also stored in the camera (in FPGA block ram) is a factory set of commands. To load the
factory set of commands send the fac command. For both the 2M360 and 4M180 the factory
set of commands is full resolution, normal free-run exposure in 8x8-bit Camera Link output
format.
To set the power-up profile send the pup command. Valid settings for the pup command are
1-8, which chooses one of the 8 user sets, or f (in hex) which chooses the factory command
set. If the pup command is sent with a setting between 9 and e (in hex), the factory
command set, f (in hex), will be set.
3.20 Camera Reset
Send the rst command to reset the Flare CL camera. When the reset command is received
the camera will reload various settings from memory (serial number, ADC ramp values, etc),
reload the bad pixel table, and then load the power up profile. The baud rate of the serial
interface does not change after the reset is complete.
3.21 Reduced Line Rate
The spd command can be used to reduce the line rate of the camera's output when using CL
Full 8x8-bit or CL Plus10 8x10-bit output formats. The spd command is ignored in all other
CL output formats. Reducing the line rate may be necessary when using older PCIe x4 frame
grabbers.
To reduce the line rate, first set the spd command to 1, followed by the clf command set to
either 5 or 6. The spd command is savable to the user sets.
Table 25 shows the Frame Overhead Time, Exposure Overhead Time, Line and minimum
Inter-Frame time for the 2M360 and 4M180 in Full and Plus10 output formats in reduced line
rate mode.
Table 26 shows some sample frame rates in reduced line rate mode.
Flare CL ModelCamera Link Output
Format
2M360Full/ Plus10 8x8/10-bit43163.5827
4M180Full/Plus108x8/10-bit79313.5848
Table 25. FOT, EOT, Line Times and Inter-Frame time with reduced line rate (spd = 1)
A standalone utility is provided for control of the Flare CL series. The utility, flare_ctrl.exe,
uses a module provided by the frame grabber manufacturer to communicate over the Camera
Link serial port. The frame grabber module is a Dynamic Link Library (*.dll), with naming
convention clserXXX.dll and can be found in the /cameralink/serial or windows/system32
folders on a system running a Windows operating system.
4.1 Installation
Follow these steps to install the Flare CL Camera Control software:
➢ Run flare.exe to start the installation.
➢ Press 'Next' at the 'Welcome to the IO Industries Inc. Flare Camera Setup Wizard'
dialog to continue with the installation.
➢ Choose the destination folder in the 'Choose Install Location' dialog and press 'Next'.
➢ Select components to install on the 'Choose Components' dialog. The 'Flare' check
box should be checked and it is optional to instal a Start Menu shortcut. Press 'Next'
➢ Press 'Finish' on the 'Completing the IO Industries Inc. Flare Camera Setup Wizard'
dialog.
4.2 Connect to Flare
The control utility automatically scans available Camera Link ports within the system looking
for Flare CL cameras. If a single camera is found all parameters are queried from the
camera to populate the utility dialogs. The control utility with the General tab selected is
shown in Figure 24.
The control utility changes the baud rate of the serial communication from the camera's power
up default (9600) to the maximum baud rate supported by both the camera and frame
grabber. The baud rate can be forced to stay at the default 9600 rate by starting the utility
from a Windows command prompt with a '-9600' flag as shown below:
With Free-run programmable exposure mode selected change the frame rate and exposure
time using the controls within the 'Basic Settings' section. Slide the bar to the desired time, or
enter a value and press 'Apply'.
Select the exposure mode of the camera using the 'Mode' drop down list. The dialog will
change depending on the selection. Figure 26 shows the exposure tab when the edge
triggered programmable exposure is used.
When the camera is in Edge-triggered programmable exposure mode the frame rate setting is
disabled, and the 'Trigger 1' settings become visible. Select the input source for the trigger
and the edge.
In Edge-triggered level controlled exposure mode the exposure time setting is also disabled.
Select the input source for the trigger and the state of the trigger for exposure.
In Edge-triggered double exposure set the input source and edge for the trigger. The
exposure time in this mode is for the 'dark' frame.
Select a high dynamic range (HDR) exposure mode using the 'Mode' drop down list in the
'High Dynamic Range' section. The two HDR exposure modes available are Interleaved and
Piecewise. The exposure tab with Interleaved HDR exposure mode is shown in Figure 27.
With Piecewise HDR mode selected a graph showing the exposure hold time versus the level
is shown. Adjust the kneepoints on the graph by clicking and dragging the kneepoints in the
Use the Mode drop down list to select the desired mode. Note that the gain used is digital
gain.
To change the target luma value enter a value into the Target Luma edit box and press Apply,
or use the slider control.
Minimum and maximum exposure times are set to ensure that the exposure time stays within
a desired range. When using a gain mode, the minimum and maximum gain values can also
be set. The digital gain is set in increments of 1/16 giving a range of 1x up to 16x. The
maximum gain can be limited to avoid over-gained, noisy images.
The minimum and maximum aperture settings are used to limit the lens aperture range when
in an aperture mode. The aperture setting mirrors the lens F-number, where smaller numbers
indicate that the aperture is larger, allowing more light into the lens.
The Speed control slider bar can be used to adjust the reaction time and convergence to the
target of the auto exposure algorithm. There are four speeds to choose from ranging from
slow to fast.
The average luma value can be taken over the entire image or in a customized set of zones
within the image. Use the Are drop-down list to select the desired auto exposure area. When
Zones are selected an additional control is added that allows for selection/deselection of
portions of the full image with a click, as shown in Figure 30. A list of commonly used patterns
is also available for quicker configuration.
This tab contains controls for analog and digital gains, ADC ramp slope, image correction
algorithms, digital offset, image sub-sample and image flipping.
The Balance tab, shown in Figure 32, is only valid for color cameras.
Figure 32. Balance tab
Multipliers on the red and blue pixels can be adjusted here to achieve the desired white
balance. One-time auto white balance can be calculated by clicking either of the white blance
buttons at the bottom of the tab.
The camera can also continuously update the multipliers if a tracking white balance mode is
selected from the Tracking drop-down list. The white balance calculations can be performed
using either the entire image, or selected zones (Figure 33).
Figure 33. Balance tab, tracking white balance using selected zones
To add a second window, first set the desired position and size of the first window. Once
there is space below the first window place the cursor inside the window area and draw a
second window. The X, Y and Ht settings for the second window will appear automatically.
Continue this procedure to add up to 8 windows.
4.8 Miscellaneous Tab
The Miscellaneous tab is shown in Figure 35.
Figure 35. Miscellaneous tab
This tab contains the controls to enable or disable the test pattern output from the camera,
and has the selection for the output triggers on the power connector. The INTE1 signal
corresponds to the primary exposure (ex1 command). The INTE2 signal corresponds to the
secondary exposure (ex2 command) used in Interleaved and Piecewise HDR exposure
modes.
This tab also contains controls to export or import the bad pixel map from/to a camera. The
file is created with a .bpm extension and can viewed or edited with a simple text editor. Bad
pixels are listed one per line, with the row number first followed by the column number,
separated by a comma (no spaces). The row numbers are in the range 1-1088 for the 2M360
and 1-2048 for the 4M180. Column numbers are listed from 1-2048. Pixels must be listed in
the same order as the readout, from top to bottom and left to right. A camera with no bad
pixels will create an empty file. Example entries are shown in Figure 36.
148,72
148,2000
1001,6
Figure 36. Example bad pixel map
4.9 Lens Tab
The Lens tab is shown in Figure 37 on page 79. It is used to control an optional Canon EF
lens mount.
The aperture setting controls the iris in the lens to vary the amount of light it allows into the
camera. An aperture value of zero corresponds to a fully open aperture. The maximum
number of aperture steps varies from lens to lens.
The large arrow buttons are used to change the focus position of the lens. From left to right,
the button functions are: move focus to minimum, step focus towards minimum, step focus
towards infinity, move focus to infinity. The step size adjustment controls how far the lens
moves with each press of the step arrows. The effect of the step size can vary from lens to
lens. Focus control is disabled when the lens is in manual focus mode.
Information about the current state of the lens is displayed in the Status area. Any value that
the lens does not report to the camera will be displayed as zero. If an EF lens is not
connected to the camera, the Present box will be empty and all controls on this page will be
grayed-out.
The Direct Lens Control window is used to directly communicate with and control the lens
adapter. When focus leaves this window, the lens is reset and reverts to camera control.
With firmware version 03 (ver command), or higher, it is possible to update the Flare CL
firmware through the Camera Link serial port. Non-volatile flash memory is used to store the
FPGA firmware in the Flare CL cameras. If power to the camera is lost during the update
process, or power is cycled on a camera after an unsuccessful update, the camera will no
longer function and will have to be returned to IO Industries for programming, at the expense
of the customer. This is an advanced operation, and for this reason the firmware update utility
and firmware files are not distributed on the CDs included with a Flare CL camera. Please
contact support at IO Industries if a firmware update is required.
The utility will list all cameras found in a system. It is possible to program multiple cameras at
the same time, however they must be the same type. Select the file to program using the
Browse button. Check the Update? checkbox beside the camera to update. Finally press
Update Firmware. This operation may take several minutes to complete, do not shut down
the application or cycle power on the camera while the operation is in progress. The progress
of the operation is shown on the status line for each camera, see Figure 39.
2.004/19/2011- Updated command list for spd command.
Added section 3.17.
- Updated adc command description.
Changed description of command to 'Ramp'
instead of 'Gain'.
- Updated screen shots of General and Image
tabs of control application.
3.005/06/2011- Added description on firmware update
feature.
4.006/28/2011- Updated digital offset description (reflecting
firmware revision 04).
- New spectral response curves.
5.007/21/2011- Updated minimum exposure times according
to new sensor manufacturer specifications.
Exposure Overhead Time (EOT) changed by
factor (0.43/0.65), reducing the minimum
exposure times, but increasing minimum inter-
frame times. See section 3.6 and section
3.17.
- Updated control utility screen shots. New
features include: manufacturer dll selection,
command line baud rate option and bad pixel
map export/import.
6.010/18/2011- Added more description to color test pattern
section, and added 3x8-bit color test pattern
screen shot.
7.011/18/2011- Updated Tables 11, 12, 14 and 16 to reflect
new FPGA firmware version 7 horizontal
timing zones in 3x8-bit CL Base output format.
See section 3.6.
- Updated description of test pattern blanking
periods. See section 3.10.
- Added spd command to slow down the line
rate for 8x8/10-bit Camera Link output formats.
Line rate was too high for some PCIe x4 frame
grabbers. See section 3.17.
- Made adc command savable to user set
memory, with option to restore factory
calibrated value.
- Changed description of adc command to
ADC Ramp.
Fixed Bug(s):
- Incorrect color test pattern in 3x8-bit CL
output format.
- Incorrect bit assignments for 2x10-bit and
4x10-bit CL output formats when test pattern
enabled (color or mono).
- Bad lines (1-8) at top of image when sub
sample enabled or disabled while camera
outputting frames and with clf set to 0-4.
Problem not seen on power-up.
0305/06/2011
0406/28/2011
New Feature(s):
- Added rmp command
- Support for firmware update through Camera
Link serial port, see section 5.
Modified Feature(s):
- Changed digital offset setting, see section
3.8.1.
0507/21/2011
Modified Feature(s):
- Updated minimum exposure times according
to new sensor manufacturer specifications.
Exposure Overhead Time (EOT) changed by
factor (0.43/0.65), reducing the minimum
exposure times, but increasing minimum inter-
frame times. See section 3.6 and section
3.17.
0610/18/2011
0711/18/2011
0801/07/2014
Fixed Bug(s):
- Factory profile (8x8-bit CL Full) was not
loading calibrated adc values (ramp and gain).
- Vertical moving line in test pattern reset to
first column too early when pixel counter rolled
over (in 2/3/4x8-bit CL modes).
New Feature(s):
- Added support for 8 horizontal timing zones
for 3x8-bit CL Base output format. Increased
frame rate acheived by using all available
factory calibrated sensor clock frequencies in
this format (30, 36, 40 and 48MHz).
- Added more clock cycles to horizontal
blanking period for test pattern output. See
section 3.10.
Fixed Bug(s):
- Test pattern output did not change image
height when sub-sample enabled, causing
frame rate to be cut in half.
New Feature(s):
- Added custom LUT support.
- Added white balance control and auto white
balance (color cameras only).
- Added auto exposure, gain, and aperture
control.
- New 8x8 zone system for controlling auto
white balance and auto exposure.
- Added support for Canon EF mount.
- Added correction for column fixed pattern
noise.
Fixed Bug(s):
- Support new CameraLink standard 8x10
mapping with cls command (0-IOI, 1-CL).