Allied Vision Technologies | MF-145B2 | Instruction manual | Allied Vision Technologies MF-145B2 Instruction manual

Allied Vision Technologies MF-145B2 Instruction manual
Marlin
Technical Manual
For CCD models with serial numbers: xx/yy-6zzzzzzz
and all CMOS models
V2.7.0
09 April 2015
Allied Vision Technologies GmbH
Taschenweg 2a
D-07646 Stadtroda / Germany
Legal notice
For customers in the U.S.A.
This equipment has been tested and found to comply with the limits for a Class B 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 residential 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. However there is no guarantee that interferences will not occur in a particular installation.
If the equipment does cause harmful interference to radio or television reception, the user is
encouraged to try to correct the interference by one or more of the following measures:
•
•
•
•
Reorient or relocate the receiving antenna.
Increase the distance between the equipment and the receiver.
Use a different line outlet for the receiver.
Consult a radio or TV technician for help.
You are cautioned that any changes or modifications not expressly approved in this manual could
void your authority to operate this equipment. The shielded interface cable recommended in this
manual must be used with this equipment in order to comply with the limits for a computing device
pursuant to Subpart B of Part 15 of FCC Rules.
For customers in Canada
This apparatus complies with the Class B limits for radio noise emissions set out in the Radio Interference Regulations.
Pour utilisateurs au Canada
Cet appareil est conforme aux normes classe B pour bruits radioélectriques, spécifiées dans le
Règlement sur le brouillage radioélectrique.
Life support applications
These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Allied Vision
Technologies customers using or selling these products for use in such applications do so at their
own risk and agree to fully indemnify Allied for any damages resulting from such improper use or
sale.
Trademarks
Unless stated otherwise, all trademarks appearing in this document of Allied Vision Technologies
are brands protected by law.
Warranty
The information provided by Allied Vision Technologies is supplied without any guarantees or warranty whatsoever, be it specific or implicit. Also excluded are all implicit warranties concerning the
negotiability, the suitability for specific applications or the non-breaking of laws and patents.
Even if we assume that the information supplied to us is accurate, errors and inaccuracy may still
occur.
Copyright
All texts, pictures and graphics are protected by copyright and other laws protecting intellectual
property. It is not permitted to copy or modify them for trade use or transfer, nor may they be used
on web sites.
Allied Vision Technologies GmbH 03/2015
All rights reserved.
Managing Director: Mr. Frank Grube
Tax ID: DE 184383113
Headquarters:
Taschenweg 2A
D-07646 Stadtroda, Germany
Tel.: +49 (0)36428 6770
Fax: +49 (0)36428 677-28
e-mail: info@alliedvision.com
Marlin Technical Manual V2.7.0
2
Contents
Contacting Allied Vision ...................................................................................8
Introduction .............................................................................................................9
Document history ........................................................................................................... 9
Manual overview........................................................................................................... 15
Conventions used in this manual...................................................................................... 16
Styles .................................................................................................................... 16
Symbols ................................................................................................................. 17
More information.......................................................................................................... 17
Before operation .......................................................................................................... 18
Marlin cameras.................................................................................................... 20
Conformity ............................................................................................................. 21
CE ......................................................................................................................... 21
FCC – Class B Device .................................................................................................. 21
Specifications ...................................................................................................... 22
Marlin F-033B/C ...........................................................................................................
Marlin F-046B/C ...........................................................................................................
Marlin F-080B/C (-30 fps*).............................................................................................
Marlin F-145B2/C2........................................................................................................
Marlin F-146B/C ...........................................................................................................
Marlin F-201B/C ...........................................................................................................
Marlin F-131B (b/w also: NIR).........................................................................................
Spectral sensitivity .......................................................................................................
23
24
25
26
27
28
29
30
Camera dimensions .......................................................................................... 37
Marlin standard housing ................................................................................................
Tripod adapter .............................................................................................................
Marlin W90 ..................................................................................................................
Marlin W90 S90 ............................................................................................................
Marlin W270 ................................................................................................................
Marlin W270 S90...........................................................................................................
37
38
39
40
41
42
Filter and lenses ................................................................................................. 43
Camera lenses ......................................................................................................... 43
Camera interfaces ............................................................................................. 45
IEEE 1394a port pin assignment.......................................................................................
Camera I/O connector pin assignment...............................................................................
Status LEDs .................................................................................................................
Status LED green ......................................................................................................
45
46
47
47
Marlin Technical Manual V.2.7.0
3
Status LED yellow .....................................................................................................
Control and video data signals ........................................................................................
Inputs....................................................................................................................
Triggers .............................................................................................................
Input/output pin control ...........................................................................................
IO_INP_CTRL 1-2 .................................................................................................
Trigger delay.......................................................................................................
Outputs ..................................................................................................................
IO_OUTP_CTRL 1-2 ...............................................................................................
Output modes......................................................................................................
Pixel data....................................................................................................................
47
49
49
49
50
50
51
53
54
55
57
Description of the data path ....................................................................... 60
Block diagrams of the cameras ........................................................................................
Black and white cameras............................................................................................
Color cameras..........................................................................................................
IBIS5A multiple slope (High Dynamic Range mode) .............................................................
Marlin F-131 with three knee-points ........................................................................
White balance ..............................................................................................................
One-push white balance ............................................................................................
Auto white balance (AWB)..........................................................................................
Auto shutter ................................................................................................................
Auto gain ....................................................................................................................
Manual gain ................................................................................................................
Brightness (black level or offset) .....................................................................................
Look-up table (LUT) and gamma function ..........................................................................
Loading an LUT into the camera ..................................................................................
Shading correction .......................................................................................................
How to store shading image .......................................................................................
Automatic generation of correction data .......................................................................
Requirements......................................................................................................
Algorithm...........................................................................................................
Loading a shading image out of the camera ...................................................................
Loading a shading image into the camera......................................................................
DSNU & blemish correction
(Marlin F-131B only) .....................................................................................................
Horizontal mirror function..............................................................................................
Binning (only Marlin CCD b/w models) ..............................................................................
2 x binning .............................................................................................................
Vertical binning .......................................................................................................
Horizontal binning ...................................................................................................
2 x full binning ........................................................................................................
Sub-sampling (Marlin F-131B,
Marlin F-146C and Marlin F-201C) ....................................................................................
What is sub-sampling?...............................................................................................
Which Marlin models have sub-sampling?......................................................................
Description of sub-sampling .......................................................................................
Parameter update timing................................................................................................
60
60
61
62
63
65
67
68
70
73
75
75
77
78
79
79
80
80
80
84
85
86
88
89
89
90
91
92
93
93
93
93
98
Marlin Technical Manual V.2.7.0
4
Sharpness ................................................................................................................... 99
Color interpolation and correction ................................................................................... 99
Color interpolation (BAYER demosaicing)..................................................................... 100
Color correction ...................................................................................................... 101
Why color correction............................................................................................ 101
Color correction in Allied Vision cameras ................................................................. 101
Color correction: formula...................................................................................... 101
GretagMacbeth ColorChecker................................................................................. 101
Color conversion (RGB  YUV) ....................................................................................... 102
Hue and saturation ...................................................................................................... 102
Serial interface ........................................................................................................... 103
Video formats, modes and bandwidth ................................................. 108
Marlin F-033B/ Marlin F-033C ........................................................................................ 109
Marlin F-046B/ Marlin F-046C ........................................................................................ 110
Marlin F-080B/ Marlin F-080C (-30 fps) ............................................................................ 111
Marlin F-145B2/ Marlin F-145C2 ..................................................................................... 112
Marlin F-146B / Marlin F-146C........................................................................................ 114
Marlin F-201B / Marlin F-201C........................................................................................ 116
Marlin F-131B (NIR) ..................................................................................................... 118
Area of interest (AOI) ................................................................................................... 120
Autofunction AOI .................................................................................................... 122
Frame rates ................................................................................................................ 123
Frame rates Format_7 .............................................................................................. 127
Marlin F-033: AOI frame rates .................................................................................... 128
Marlin F-046: AOI frame rates .................................................................................... 129
Marlin F-080: AOI frame rates .................................................................................... 130
Marlin F-080-30 fps: AOI frame rates ........................................................................... 132
Marlin F-145: AOI frame rates .................................................................................... 133
Marlin F-146: AOI frame rates .................................................................................... 134
Marlin F-201: AOI frame rates .................................................................................... 135
Marlin F-131: AOI frame rates .................................................................................... 136
Controlling image capture .......................................................................... 137
Trigger modi ............................................................................................................... 137
Bulk trigger (Trigger_Mode_15) ................................................................................. 139
Trigger delay .......................................................................................................... 142
Trigger delay advanced register ............................................................................. 143
Exposure time (shutter) and offset .................................................................................. 144
Exposure time offset ................................................................................................ 145
Minimum exposure time............................................................................................ 145
Example Marlin F-033 .......................................................................................... 145
Extended shutter..................................................................................................... 146
One-shot.................................................................................................................... 147
One-shot command on the bus to start of exposure ........................................................ 147
End of exposure to first packet on the bus .................................................................... 148
Multi-Shot.................................................................................................................. 149
Marlin Technical Manual V.2.7.0
5
ISO_Enable / Free-Run ................................................................................................. 149
Asynchronous broadcast ............................................................................................... 149
Jitter at start of exposure .............................................................................................. 150
Frame memory and deferred image transport..................................................................... 151
Deferred image transport .......................................................................................... 151
HoldImg mode........................................................................................................ 152
FastCapture............................................................................................................ 153
Sequence mode ........................................................................................................... 154
How is sequence mode implemented?.......................................................................... 155
Points to pay attention to when working with a sequence ................................................ 157
Changing the parameters within a sequence ................................................................. 158
Points to pay attention to when changing the parameters ............................................... 158
Secure image signature (SIS) ......................................................................................... 159
SIS: Definition ........................................................................................................ 159
SIS: Scenarios ........................................................................................................ 159
How does bandwidth affect the frame rate? ................................... 160
Example formula for the b/w camera....................................................................... 161
Test images ................................................................................................................ 161
Loading test images................................................................................................. 161
Test images b/w cameras .......................................................................................... 161
Test images for color cameras .................................................................................... 163
YUV422 mode ..................................................................................................... 163
Mono8 (raw data) ............................................................................................... 164
Configuration of the camera ..................................................................... 165
Camera_Status_Register ............................................................................................... 165
Example ................................................................................................................ 166
Sample program...................................................................................................... 167
Configuration ROM....................................................................................................... 168
Implemented registers (IIDC V1.3) .................................................................................. 171
Camera initialize register .......................................................................................... 171
Inquiry register for video format................................................................................. 171
Inquiry register for video mode .................................................................................. 172
Inquiry register for video frame rate and base address .................................................... 173
Inquiry register for basic function............................................................................... 182
Inquiry register for feature presence ........................................................................... 183
Inquiry register for feature elements ........................................................................... 185
Inquiry register for absolute value CSR offset address ..................................................... 188
Status and control register for feature ......................................................................... 189
Feature control error status register............................................................................ 193
Video mode control and status registers for Format_7..................................................... 193
Quadlet offset Format_7 Mode_0 ........................................................................... 193
Quadlet offset Format_7 Mode_1 ........................................................................... 193
Format_7 control and status register (CSR) .............................................................. 193
Advanced features (Allied Vision-specific) ........................................................................ 194
Advanced registers summary ..................................................................................... 194
Version information inquiry....................................................................................... 197
Marlin Technical Manual V.2.7.0
6
Advanced feature inquiry .......................................................................................... 199
Maximum resolution ................................................................................................ 201
Time base .............................................................................................................. 202
Extended shutter..................................................................................................... 203
Test images ............................................................................................................ 203
Sequence control .................................................................................................... 204
Look-up tables (LUT)................................................................................................ 205
Shading correction .................................................................................................. 206
Deferred image transport .......................................................................................... 207
Frame information................................................................................................... 208
High dynamic range mode
(Marlin F-131B only)................................................................................................ 209
DSNU control.......................................................................................................... 210
Input/output pin control .......................................................................................... 211
Delayed Integration Enable (IntEna) ........................................................................... 212
Auto shutter control ................................................................................................ 213
Auto gain control .................................................................................................... 213
Autofunction AOI .................................................................................................... 214
Color correction ...................................................................................................... 215
Trigger delay .......................................................................................................... 215
Mirror image .......................................................................................................... 216
Soft Reset .............................................................................................................. 216
Secure image signature (SIS)..................................................................................... 217
Advanced register: time stamp............................................................................... 217
Advanced register: frame counter........................................................................... 219
Advanced register: trigger counter ......................................................................... 220
Where to find time stamp, frame counter and trigger counter in the image ..................... 221
User profiles........................................................................................................... 221
Error codes ........................................................................................................ 222
Reset of error codes............................................................................................. 223
Stored settings................................................................................................... 224
GPDATA_BUFFER ..................................................................................................... 225
Little endian vs. big endian byte order .................................................................... 225
Firmware update .............................................................................................. 226
Appendix ............................................................................................................... 227
Sensor position accuracy of Marlin cameras....................................................................... 227
Marlin Technical Manual V.2.7.0
7
Contacting Allied Vision
Contacting Allied Vision
Connect with Allied Vision colleagues by function: 
www.alliedvision.com/en/contact
Find an Allied Vision office or distributor:
www.alliedvision.com/en/about-us/where-we-are.html
E-mail:
info@alliedvision.com (for commercial and general inquiries)
support@alliedvision.com (for technical assistance with Allied Vision products)
Telephone:
EMEA: +49 36428-677-0
The Americas: +1 978-225-2030
Asia-Pacific: +65 6634-9027
China: +86 (21) 64861133
Headquarters:
Allied Vision Technologies GmbH
Taschenweg 2a, 07646 Stadtroda, Germany
Tel: +49 (36428) 677-0 Fax +49 (36428) 677-24
President/CEO: Frank Grube | Registration Office: AG Jena HRB 208962
Marlin Technical Manual V.2.7.0
8
Introduction
Introduction
This Marlin Technical Manual describes in depth the technical specifications,
dimensions, all camera features (IIDC standard and Allied Vision smart features)
and their registers, trigger features, all video and color formats, bandwidth and
frame rate calculation.
For information on hardware installation, safety warnings, pin assignments on
I/O connectors and 1394b connectors read the 1394 Installation Manual.
Note
Please read through this manual carefully.

We assume that you have read already the 1394 Installation
Manual (see: http://www.alliedvision.com/en/support/technical-documentation) and that you have installed the hardware and software on your PC or laptop (FireWire card, cables).
Document history
Version
Date
Remarks
V0.9
18.12.2003
First issue
V0.91
09.01.2004
Typos corrected, minor changes, spectral sensitivity of IR cut filter added
V1.0
20.01.2004
Wording checked, Marlin W90/270 added
V1.1
07.09.2004
Marlin F-131C added, added features to make manual compliant
with firmware 2.05, wording checked, impulse diagrams corrected
V1.2
08.10.2004
Manual compliant to firmware 2.06
V1.3
23.02.2005
For MarlinS with serial numbers xx/yy-6zzzzzzz
V1.31
12.04.2005
Color: firmware 20050321, CMOS included
V1.4
24.08.2005
Added Marlin F-146, all: class B compliant
V2.0.0
10.03.2006
Added Marlin F-201, manual compliant to firmware 3.03, added
features secure image signature (SIS) and user profiles, minor
corrections
V2.1.0
10.04.2006
Time stamp changed
to be continued on next page
Table 1: Document history
Marlin Technical Manual V.2.7.0
9
Introduction
Version
Date
Remarks
continued from previous page
V2.2.0
26.02.2007
Minor corrections
New formula for Marlin F-131 (Formula 11: Frame rate calculation Marlin F-131 as function of AOI height and width on page
136)
Marlin F-145C2: corrected resolutions, new color formats in Format_7 Mode_0 and Format_7 Mode_2 (Table 42: Video fixed formats Marlin F-145B2 / F-145C2 on page 112)
Improved Chapter Secure image signature (SIS)
Added exposure time formula for Trigger_Mode_1 Chapter Exposure time (shutter) and offset
Firmware update note corrected (Chapter Firmware update )
Added Mono16 modi (Chapter Video formats, modes and bandwidth )
V2.3.0
29.02.2008
Minor corrections
Sensor tilting changed to sensor rotating in Chapter Camera
dimensions
Added detailed description of BRIGHTNESS (800h) in Table 93:
Feature control register on page 189
Added detailed description of WHITE-BALANCE (80Ch) in Table
93: Feature control register on page 189 et seq.
Added new Format7_Mode4 for Marlin F-131C in Table 48: Video
fixed formats Marlin F-131B (NIR) on page 118 et seq.
New sensor IBIS5B (Figure 14: Spectral sensitivity of Marlin F131B (with IBIS5B as standard) / Marlin F-131B NIR (with
IBIS5B NIR as standard) without cut filter and optics on page 41,
Figure 14: Spectral sensitivity of Marlin F-131B (with IBIS5B as
standard) / Marlin F-131B NIR (with IBIS5B NIR as standard)
without cut filter and optics on page 41)
Corrected data path bandwidth (CCD: 12 bit, ADC: 10 bit) in Figure 30: Block diagram b/w camera on page 60.
Added Format_0 Mode_5 (640x480, Mono8) with 60 fps for Marlin F-046B and Marlin F-046C in Table 38: Video formats Marlin F046B / F-046C on page 110
to be continued on next page
Table 1: Document history
Marlin Technical Manual V.2.7.0
10
Introduction
Version
Date
Remarks
continued from previous page
V2.4.0
15.08.2008
Added Format_7 Mode_3 (full binning) in Table 8: Specification
Marlin F-201B/C on page 28
Corrected frame rate for Format_7 Mode_3 (full binning) in Table
46: Video fixed formats Marlin F-201B / F-201C on page 116
Restructuring of Marlin Technical Manual:
•
•
•
•
•
•
Added Contacting Allied Vision on page 8
Added Chapter Manual overview
Restructured Chapter Marlin types and highlights to Chapter
Marlin cameras .
– Infos from Marlin camera types table moved to Chapter
Specifications
– Safety instructions moved to Hardware Installation Guide,
Chapter Safety instructions and Allied Vision camera
cleaning instructions
– Environmental conditions moved to Marlin Instruction
Leaflet
– Infos on CS-/C-Mounting moved to Hardware Installation Guide, Chapter Changing filters safety instructions
– Infos on System components and Environmental conditions moved to Marlin Instruction Leaflet
Infos on IR cut filter and Lenses moved to Chapter Filter and
lenses
Moved binning explanation from Chapter Specifications to
Chapter Video formats, modes and bandwidth
Binning / sub-sampling modes and color modes are only
listed in Chapter Video formats, modes and bandwidth
to be continued on next page
Table 1: Document history
Marlin Technical Manual V.2.7.0
11
Introduction
Version
Date
Remarks
continued from previous page
V2.4.0
15.08.2008
[continued]
[continued]
•
•
•
•
•
•
•
•
•
Moved detailed description of the camera interfaces (FireWire, I/O connector), ordering numbers and operating
instructions to the Hardware Installation Guide.
Revised Chapter Description of the data path
Revised Chapter Controlling image capture ; added Table 62:
Trigger modi on page 137
Revised Chapter Video formats, modes and bandwidth
Revised Chapter How does bandwidth affect the frame rate?
Revised Chapter Configuration of the camera
Revised Chapter Firmware update
Added Chapter Sensor position accuracy of Allied Vision
cameras on page 238
Revised Chapter Index on page 239
Changed provisions directive to 2004/108/EG in Chapter Conformity
New measurement of minimum exposure time and therefore also
new offset values:
– Table 68: Camera-specific exposure time offset on page
145
– Table 69: Camera-specific minimum exposure time on
page 145
– Chapter Example Marlin F-033
– Figure 74: Data flow and timing after end of exposure on
page 148
– Chapter Specifications
Added cross-reference from upload LUT to GPDATA_BUFFER in
Chapter Loading an LUT into the camera .
Added cross-reference from upload/download shading image to
GPDATA_BUFFER in:
– Chapter Loading a shading image out of the camera
– Chapter Loading a shading image into the camera
Corrected: b/w and color Marlin cameras have IR cut filter (except
Marlin F-131BNIR: ASG) in Chapter Specifications
to be continued on next page
Table 1: Document history
Marlin Technical Manual V.2.7.0
12
Introduction
Version
Date
Remarks
continued from previous page
V2.4.0
15.08.2008
[continued]
[continued]
Added detailed level values of I/Os in Chapter Camera I/O connector pin assignment .
Added little endian vs. big endian byte order in Chapter
GPDATA_BUFFER
Added RoHS in Chapter Conformity
Listed shutter speed with offset in Chapter Specifications
New measurement of IntEna signals, therefore new offsets in
Chapter Exposure time (shutter) and offset and in Figure 74:
Data flow and timing after end of exposure on page 148.
New photo of LED position in Figure 22: Position of Status LEDs
on page 47
V2.5.0
23.02.2010
Revised advanced register 0xF1000290 (DSNU_CONTROL) in
Table 111: Advanced register: DSNU on page 210
All advanced registers in 8-digit format beginning with 0xF1... in
Chapter Advanced features (Allied Vision-specific)
Firing a new trigger while IntEna is still active can result in missing image (not image corruption): see Caution on page 56.
Revised chapter Chapter White balance
Calculated effective chip size for all sensors (with resolution of
Format_7 Mode_0) in Chapter Specifications
Corrected drawing in Figure 83: Delayed integration timing on
page 212
Revised chapter Marlin F-131B (b/w also: NIR) on page 29 (NIR
only with b/w camera)
Added Marlin F-146C Format_0 Mode_5 Mono8 in Table 44: Video
fixed formats Marlin F-146B / F-146C on page 114.
Revised Chapter Conformity .
Corrected: Marlin F-131B/C and Marlin F-131B NIR: power only
via 1394 cable (not via 12-pin HIROSE): Table 9: Specification
Marlin F-131B (b/w also: NIR) on page 29
Corrected: Misc. Features to Mirror image in bit [15] on page
200
to be continued on next page
Table 1: Document history
Marlin Technical Manual V.2.7.0
13
Introduction
Version
Date
Remarks
continued from previous page
V2.5.0
23.02.2010
[continued]
[continued]
[continued]
Discontinuation of Marlin F-131C:
•
•
•
•
•
•
•
•
Chapter Marlin F-131B (b/w also: NIR)
Note on page 87
Chapter Sub-sampling (Marlin F-131B, Marlin F-146C and
Marlin F-201C)
Chapter Marlin F-131B (NIR)
Table 96: Advanced registers summary on page 194
Table 98: Camera type ID list on page 197
Table 99: Advanced register: Advanced feature inquiry on
page 200
Chapter High dynamic range mode (Marlin F-131B only)
New storage temperature:
•
70 °C, see Chapter Specifications on page 70
New links to Allied Vision website
•
Chapter Contacting Allied Vision on page 8 and many others
New measured sensitivity curves:
•
V2.6.0
09.08.2010
Chapter Spectral sensitivity
Some smaller corrections:
•
•
Corrected availability of some video fixed formats, see Table
40: Video fixed formats Marlin F-080B / F-080C (-30 fps) on
page 111
Corrected trigger diagram (starting of Busy signal), see
Figure 25: Output Impulse Diagram on page 56
File format:
•
Converted FrameMaker files from FM7 to FM9
New layout for AOI Diagrams:
•
All AOI diagrams have now the same new layout, see Chapter Marlin F-080-30 fps: AOI frame rates and the following
chapters
to be continued on next page
Table 1: Document history
Marlin Technical Manual V.2.7.0
14
Introduction
Version
Date
Remarks
continued from previous page
V2.7.0
09.03.2015
Updated data:
•
•
•
•
•
•
Corrected hyperlinks to targets on the Allied Vision website
Added information that all color modes in Chapter Specifications on page 22 comply with the IIDC specifications
Corrected information in Chapter Sensor position accuracy
of Marlin cameras on page 227
Adapted addresses in Chapter Contacting Allied Vision on
page 8
Corrected information for binning in Chapter Definition on
page 89
Partly update of sensor curves in Chapter Spectral sensitivity on page 30.
Layout changes due to a changed Corporate identity:
•
•
Replaced the previous Allied Vision logo by the current one
Reworded all appropriate contents from AVT and Allied
Vision Technologies to Allied Vision
Table 1: Document history
Manual overview
This manual overview describes each chapter of this manual shortly.
• Chapter Contacting Allied Vision lists Allied Vision contact data for both:
– technical information / ordering
– commercial information
• Chapter Introduction (this chapter) gives you the document history, a
manual overview and conventions used in this manual (styles and symbols). Furthermore you learn how to get more information on how to
install hardware (1394 Installation Manual), available Allied Vision
software (incl. documentation) and where to get it.
• Chapter Marlin cameras gives you a short introduction to the Stingray
cameras with their FireWire technology. Links are provided to data sheets
and brochures on the Allied Vision website.
• Chapter Conformity gives you information about conformity of Allied
Vision cameras.
• Chapter Filter and lenses describes the IR cut filter and suitable camera
lenses.
• Chapter Specifications lists camera details and spectral sensitivity diagrams for each camera type.
Marlin Technical Manual V.2.7.0
15
Introduction
•
•
•
•
•
•
•
•
•
•
Chapter Camera dimensions provides CAD drawings of standard housing
(copper and GOF) models, tripod adapter, available angled head models,
cross sections of CS-Mount and C-Mount.
Chapter Camera interfaces describes in detail the inputs/outputs of the
cameras (incl. Trigger features). For a general description of the interfaces
(FireWire and I/O connector) see 1394 Installation Manual.
Chapter Description of the data path describes in detail IIDC conform as
well as Allied Vision-specific camera features.
Chapter Controlling image capture describes trigger modi, exposure time,
one-shot/multi-shot/ISO_Enable features. Additionally special Allied
Vision features are described: sequence mode and secure image signature
(SIS).
Chapter Video formats, modes and bandwidth lists all available fixed and
Format_7 modes (incl. color modes, frame rates, binning/sub-sampling,
AOI=area of interest).
Chapter How does bandwidth affect the frame rate? gives some considerations on bandwidth details.
Chapter Configuration of the camera lists standard and advanced register
descriptions of all camera features.
Chapter How does bandwidth affect the frame rate? explains where to get
information on firmware updates and explains the extended version number scheme of FPGA/μC.
Chapter Appendix lists the sensor position accuracy of Allied Vision cameras.
Chapter Index gives you quick access to all relevant data in this manual.
Conventions used in this manual
To give this manual an easily understood layout and to emphasize important
information, the following typographical styles and symbols are used:
Styles
Style
Function
Example
Bold
Programs, inputs or highlighting bold
important things
Courier
Code listings etc.
Input
Upper case
Register
REGISTER
Italics
Modes, fields
Mode
Parentheses and/or blue
Links
(Link)
Table 2: Styles
Marlin Technical Manual V.2.7.0
16
Introduction
Symbols
Note
This symbol highlights important information.

Caution

www

This symbol highlights important instructions. You have to follow these instructions to avoid malfunctions.
This symbol highlights URLs for further information. The URL
itself is shown in blue Color.
Example:
http://www.alliedvision.com
More information
For more information on hardware and software read the following:
• 1394 Installation Manual describes the hardware installation procedures
for all 1394 Allied Vision cameras (Dolphin, Oscar, Marlin, Guppy, Pike,
Stingray). Additionally you get safety instructions and information about
camera interfaces (IEEE1394a/b copper and GOF, I/O connectors, input
and output).
www
You find the 1394 Installation Manual here:

http://www.alliedvision.com/en/support/technical-documentation
www
All software packages (including documentation and release
notes) provided by Allied Vision can be downloaded at:

http://www.alliedvision.com/en/support/software-downloads
Marlin Technical Manual V.2.7.0
17
Introduction
Before operation
We place the highest demands for quality on our cameras.
Target group This Technical Manual is the guide to detailed technical information of the camera and is written for experts.
Getting started For a quick guide how to get started read 1394 Installation Manual first.
Note

Caution

Note

Note

Please read through this manual carefully before operating
the camera.
For information on Allied Vision accessories and software
read 1394 Installation Manual.
Before operating any Allied Vision camera read safety instructions and ESD warnings in 1394 Installation Manual.
To demonstrate the properties of the camera, all examples in
this manual are based on the FirePackage OHCI API software
and the SmartView application.
The camera also works with all IIDC (formerly DCAM) compatible IEEE 1394 programs and image processing libraries.
All naming in this document relates to FirePackage, not to
GenICam.
Marlin Technical Manual V.2.7.0
18
Introduction
www
For downloads see:

Software (Vimba and all other software): 
http://www.alliedvision.com/en/support/software-downloads
Firmware: http://www.alliedvision.com/en/support/firmware
Technical documentation (overview page):
http://www.alliedvision.com/en/support/technical-documentation
Technical papers (appnotes, white papers) and knowledge
base:
http://www.alliedvision.com/en/support/technical-papersknowledge-base
Marlin Technical Manual V.2.7.0
19
Marlin cameras
Marlin cameras
Marlin
With Marlin cameras, entry into the world of digital image processing is simpler
and more cost-effective than ever before.
Entry-level model
With the Marlin, Allied Vision presents a whole series of attractive digital camera
entry-level models of the FireWire™ type.
Image applications Allied Vision can provide users with a range of products that meet almost all the
requirements of a very wide range of image applications.
FireWire The industry standard IEEE 1394 (FireWire or i.Link) facilitates the simplest computer compatibility and bidirectional data transfer using the plug-and-play process. Further development of the IEEE 1394 standard has already made 800
Mbit/second possible – and the FireWire roadmap is already envisaging 1600
Mbit/second, with 3.2 Gbit/second as the next step. Investment in this standard
is therefore secure for the future; each further development takes into account
compatibility with the preceding standard, and vice versa, meaning that IEEE
1394b is backward-compatible with IEEE 1394a. Your applications will grow as
technical progress advances.
High quality images Operating in 8-bit and 10-bit mode (CCD b/w only), the cameras ensure very high
quality images under almost all circumstances. The Marlin is equipped with an
asynchronous trigger shutter as well as true partial scan, and integrates numerous useful and intelligent smart features for image processing.
Note

www

All naming in this document relates to FirePackage, not to
GenICam.
For further information on the highlights of Marlin types, the
Marlin family and the whole range of Allied Vision FireWire
cameras read the data sheets and brochures on our website:
http://www.alliedvision.com/en/support/technical-documentation/marlin-documentation
Marlin Technical Manual V.2.7.0
20
Conformity
Conformity
Allied Vision Technologies declares under its sole responsibility that all standard cameras of the Marlin family to which this declaration relates are in conformity with the following standard(s) or other normative document(s):
• CE, following the provisions of 2004/108/EG directive
• FCC Part 15 Class B
RoHS (2011/65/EU)
• CE
• WEEE
CE
We declare, under our sole responsibility, that the previously described Marlin
cameras conform to the directives of the CE.
FCC – Class B Device
Note: This equipment has been tested and found to comply with the limits for a
Class B digital device, pursuant to part 15 of the FCC Rules. These limits are
designed to provide reasonable protection against harmful interference in a residential environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions,
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. You
are cautioned that any changes or modifications not expressly approved in this
manual could void your authority to operate this equipment.
Marlin Technical Manual V.2.7.0
21
Specifications
Specifications
Note

For information on bit/pixel and byte/pixel for each color
mode see Table 77: ByteDepth on page 160.
Maximum protrusion means the distance from lens flange to
the glass filter in the camera.
Marlin Technical Manual V.2.7.0
22
Specifications
Marlin F-033B/C
Feature
Specification
Image device
Type 1/2 (diag. 8 mm) progressive scan SONY CCD ICX-414AL/AQ with HAD microlens
Effective chip size
6.5 mm x 4.9 mm
Cell size
9.9 μm x 9.9 μm
Picture size (max.)
656 x 494 pixels (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm
ADC
12 bit
Color modes
Only color: Raw8, RGB8, YUV422, YUV411
Frame rates
3.75 fps; 7.5 fps; 15 fps; 30 fps; 60 fps
Up to 73.06 fps in Format_7
Gain control
Manual: 0-24 dB (0.035 dB/step); auto gain (select. AOI)
Shutter speed
32 μs …67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 17 frames
Look-up tables
One, user-programmable (10 bit  8 bit); default gamma (0.5)
Smart functions
Real-time shading correction, image sequencing, image mirror (L-R  R-L), binning, serial port (IIDC V1.31), secure image signature (SIS), user profiles
Two configurable inputs, two configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394a IIDC V1.3
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Typical  3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); incl. connectors, without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+ 5 °C ... + 45 °C
Storage temperature
-10 °C ... + 70 °C
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w and color: IR cut filter
Optional accessories
b/w and color: IR pass filter, protection glass
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 3: Specification Marlin F-033B/C
Marlin Technical Manual V.2.7.0
23
Specifications
Marlin F-046B/C
Feature
Specification
Image device
Type 1/2 (diag. 8 mm) progressive scan SONY CCD ICX-415AL/AQ with HAD microlens
Effective chip size
6.5 mm x 4.8 mm
Cell size
8.3 μm x 8.3 μm
Picture size (max.)
780 x 582 (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm
ADC
12 bit
Color modes
Only color: Raw8, RGB8, YUV422, YUV411
Frame rates
3.75 fps; 7.5 fps; 15 fps; 30 fps; up to 52.81 fps in Format_7
Gain control
Manual: 0-24 dB (0.035 dB/step); auto gain (select. AOI)
Shutter speed
32 μs …67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 13 frames
Number of look-up
tables
One, user-programmable (10 bit  8 bit); gamma (0.5)
Smart functions
Real-time shading correction image sequencing, image mirror (L-R  R-L), binning, secure image signature (SIS), user profiles
Two configurable inputs, two configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394 IIDC V1.3
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Less than 3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+5 ... +45 °Celsius
Storage temperature
-10 ... +70 °Celsius
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w and color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter; color: protection glass
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 4: Specification Marlin F-046B/C
Marlin Technical Manual V.2.7.0
24
Specifications
Marlin F-080B/C (-30 fps*)
* Variant: F-080-30 fps only: This variant offers higher speed at a slight expense in image quality.
Feature
Specification
Image device
Type 1/3 (diag. 6 mm) progressive scan SONY CCD ICX-204AL/AK with HAD microlens
Effective chip size
4.8 mm x 3.6 mm
Cell size
4.65 μm x 4.65 μm
Picture size (max.)
1032 x 778 (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm, CS-Mount on demand
ADC
12 bit
Color modes
Only color: Raw8, RGB8, YUV422, YUV411
Frame rates
3.75 fps; 7.5 fps; 15 fps; 30 fps*; up to 20.08 (30.13*) fps in Format_7
Gain control
Manual: 0-24 dB (0.035 dB/step); auto gain (select. AOI)
Shutter speed
50 (37*) μs … 67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 7 frames
Number of look-up
tables
One, user-programmable (10 bit  8 bit); gamma (0.5)
Smart functions
Real-time shading correction image sequencing, image mirror (L-R  R-L), binning, secure image signature (SIS), user profiles
Two configurable inputs, two configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394 IIDC V1.3
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Less than 3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+5 ... +45 °Celsius
Storage temperature
-10 ... +70 °Celsius
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w and color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter; color: protection glass
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 5: Specification Marlin F-080B/C
Marlin Technical Manual V.2.7.0
25
Specifications
Marlin F-145B2/C2
Feature
Specification
Image device
Type 1/2 (diag. 8 mm) progressive scan SONY CCD ICX-205AL/AK with HAD microlens
Effective chip size
6.5 mm x 4.8 mm
Cell size
4.65 μm x 4.65 μm
Picture size (max.)
1392 x 1040 pixels (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm
ADC
12 bit
Color modes
Only color: Raw8, RGB8, YUV422, YUV411
Frame rates
3.75 fps; 7.5 fps
Up to 10 fps in Format_7
Gain control
Manual: 0-24 dB (0.035 dB/step); auto gain (select. AOI)
Shutter speed
38 μs … 67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 3 frames
Number of look-up
tables
One, user-programmable (10 bit  8 bit); gamma (0.5)
Smart functions
Real-time shading correction image sequencing, image mirror (L-R  R-L), binning, serial port (IIDC V1.31), secure image signature (SIS), user profiles
Two configurable inputs, two configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394 IIDC V1.3
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Less than 3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+5 ... +45 °Celsius
Storage temperature
-10 ... +70 °Celsius
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w and color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter; color: protection glass
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 6: Specification Marlin F-145B2/C2
Marlin Technical Manual V.2.7.0
26
Specifications
Marlin F-146B/C
Feature
Specification
Image device
Type 1/2 (diag. 8 mm) progressive scan SONY CCD ICX-267AL/AK with HAD microlens
Effective chip size
6.5 mm x 4.8 mm
Cell size
4.65 μm x 4.65 μm
Picture size (max.)
1392 x 1040 pixels (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm
ADC
12 bit
Color modes
Only color: Raw8, RGB8, YUV422, YUV411
Frame rates
3.75 fps, 7.5 fps, 15 fps
Up to 17.4 fps in Format_7
Gain control
Manual: 0-24 dB (0.035 dB/step); auto gain (select. AOI)
Shutter speed
46 μs … 67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 3 frames
Number of look-up
tables
One, user-programmable (10 bit  8 bit); gamma (0.5)
Smart functions
Real-time shading correction image sequencing, image mirror (L-R  R-L), binning, secure image signature (SIS), user profiles
Two configurable inputs, two configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394 IIDC V1.3
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Less than 3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+5 ... +45 °Celsius
Storage temperature
-10 ... +70 °Celsius
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w and color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter; color: protection glass
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 7: Specification Marlin F-146B/C
Marlin Technical Manual V.2.7.0
27
Specifications
Marlin F-201B/C
Feature
Specification
Image device
Type 1/1.8 (diag. 9 mm) progressive scan SONY CCD ICX274AL/AQ w/ HAD microlens
Effective chip size
7.2 mm x 5.4 mm
Cell size
4.40 μm x 4.40 μm
Picture size (max.)
1628 x 1236 (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm
ADC
12 bit
Color modes
Only color: Raw8, RGB8, YUV422, YUV411
Frame rates
3.75 fps; 7.5 fps
Up to 12.5 fps in Format_7 Mode_0
Gain control
Manual: 0-24 dB (0.035 dB/step); auto gain (select. AOI)
Shutter speed
59 μs … 67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 2 frames
Number of look-up
tables
One, user-programmable (10 bit  8 bit); gamma (0.5)
Smart functions
Real-time shading correction, image sequencing, image mirror (L-R  R-L), binning, serial port (IIDC V1.31), secure image signature (SIS), user profiles
Two configurable inputs, two configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394 IIDC V1.3
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Less than 3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+5 ... +45 °Celsius
Storage temperature
-10 ... +70 °Celsius
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w and color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter; color: protection glass
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 8: Specification Marlin F-201B/C
Marlin Technical Manual V.2.7.0
28
Specifications
Marlin F-131B (b/w also: NIR)
Feature
Specification
Image device
Type 2/3 (diag. 11 mm) global shutter FillFactory CMOS sensor 
b/w: IBIS5B/IBIS5B NIR
Effective chip size
8.6 mm x 6.9 mm
Cell size
6.7 μm x 6.7 μm
Picture size (max.)
1280 x 1024 pixels (Format_7 Mode_0)
Lens mount
C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 8.2 mm
ADC
10 bit
Color modes
---
Frame rates
3.75 fps; 7.5 fps; 15 fps; Format_7: up to 25 fps
Gain control
Manual: 0- 16 dB (13 x 1.25 dB)
Shutter speed
10 μs … 67,108,864 μs (~67s); auto shutter (select. AOI)
External trigger shutter Trigger_Mode_0, Trigger_Mode_1, advanced feature: Trigger_Mode_15 (bulk);
image transfer by command; trigger delay
Internal FIFO memory
Up to 4 frames
Number of look-up
tables
One, user-programmable (10 bit  8 bit); separate gamma (0.5) LUT
Smart functions
Dark signal non uniformity (DSNU) correction, blemish correction, real-time shading correction; high dynamic range (HDR) mode, image mirror (L-R  R-L), subsampling
Two inputs and outputs, each configurable; RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s
Digital interface
IEEE 1394 IIDC V1.3
Power requirements
DC 8 V - 36 V only via IEEE 1394 cable (not via 12-pin HIROSE)
Power consumption
Less than 3 watt (@ 12 V DC)
Dimensions
72 mm x 44 mm x 29 mm (L x W x H); without tripod and lens
Mass
<120 g (without lens)
Operating temperature
+5 ... +45 °Celsius
Storage temperature
-10 ... +70 °Celsius
Regulations
CE, FCC Class B, RoHS (2011/65/EU)
Standard accessories
b/w: IR cut filter; Marlin F-131BNIR only: ASG (protection glass)
Optional accessories
b/w: IR cut filter, IR pass filter
On request
Host adapter card, angled head, locking IEEE 1394 cable
Software packages
http://www.alliedvision.com/en/support/software-downloads (free of charge)
Table 9: Specification Marlin F-131B (b/w also: NIR)
Marlin Technical Manual V.2.7.0
29
Specifications
Spectral sensitivity
Note

All measurements were done without protection glass /
without filter.
The uncertainty in measurement of the QE values is 10%.
This is mainly due to:
•
•
Manufacturing tolerance of the sensor
Uncertainties in the measuring apparatus itself
Marlin Technical Manual V.2.7.0
30
Specifications
40%
35%
Quantum Efficiency
30%
25%
20%
15%
10%
5%
0%
400
500
600
700
Wavelength [nm]
800
900
1000
Figure 1: Spectral sensitivity of Marlin F-033B without cut filter and optics
Red
Green
500
550
Wavelength [nm]
Blue
35%
30%
Quantum Efficiency
25%
20%
15%
10%
5%
0%
400
450
600
650
700
Figure 2: Spectral sensitivity of Marlin F-033C without cut filter and optics
Marlin Technical Manual V.2.7.0
31
Specifications
45%
40%
Quantum Efficiency
35%
30%
25%
20%
15%
10%
5%
0%
400
500
600
700
Wavelength [nm]
800
900
1000
Figure 3: Spectral sensitivity of Marlin F-046B without cut filter and optics
Red
Green
500
550
Wavelength [nm]
Blue
35%
30%
Quantum Efficiency
25%
20%
15%
10%
5%
0%
400
450
600
650
700
Figure 4: Spectral sensitivity of Marlin F-046C without cut filter and optics
Marlin Technical Manual V.2.7.0
32
Specifications
45%
40%
Quantum Efficiency
35%
30%
25%
20%
15%
10%
5%
0%
400
500
600
700
Wavelength [nm]
800
900
1000
Figure 5: Spectral sensitivity of Marlin F-080B without cut filter and optics
Red
Green
500
550
Wavelength [nm]
Blue
35%
30%
Quantum Efficiency
25%
20%
15%
10%
5%
0%
400
450
600
650
700
Figure 6: Spectral sensitivity of Marlin F-080C without cut filter and optics
Marlin Technical Manual V.2.7.0
33
Specifications
40%
35%
Quantum Efficiency
30%
25%
20%
15%
10%
5%
0%
400
500
600
700
Wavelength [nm]
800
900
1000
Figure 7: Spectral sensitivity of Marlin F-145B2 without cut filter and optics
Red
Green
500
550
Wavelength [nm]
Blue
40%
35%
Quantum Efficiency
30%
25%
20%
15%
10%
5%
0%
400
450
600
650
700
Figure 8: Spectral sensitivity of Marlin F-145C2 without cut filter and optics
Marlin Technical Manual V.2.7.0
34
Specifications
50%
45%
Quantum Efficiency
40%
35%
30%
25%
20%
15%
10%
5%
0%
400
500
600
700
Wavelength [nm]
800
900
1000
Figure 9: Spectral sensitivity of Marlin F-146B without cut filter and optics
Red
Green
Blue
35%
Quantum Efficiency
30%
25%
20%
15%
10%
5%
0%
400
450
500
550
Wavelength [nm]
600
650
700
Figure 10: Spectral sensitivity of Marlin F-146C without cut filter and optics
Marlin Technical Manual V.2.7.0
35
Specifications
50%
45%
Quantum Efficiency
40%
35%
30%
25%
20%
15%
10%
5%
0%
400
500
600
700
Wavelength [nm]
800
900
1000
Figure 11: Spectral sensitivity of Marlin F-201B without cut filter and optics
Red
Green
500
550
Wavelength [nm]
Blue
40%
35%
Quantum Efficiency
30%
25%
20%
15%
10%
5%
0%
400
450
600
650
700
Figure 12: Spectral sensitivity of Marlin F-201C without cut filter and optics
Marlin Technical Manual V.2.7.0
36
Camera dimensions
Camera dimensions
Note
For information on sensor position accuracy:

(sensor shift x/y, optical back focal length z and sensor rotation ) see Chapter Sensor position accuracy of Marlin cameras
on page 227.
Marlin standard housing

Body size: 72 mm x 44 mm x 29 mm (L x W x H)
Mass: 120 g (without lens)
Figure 13: Camera dimensions
Marlin Technical Manual V.2.7.0
37
Camera dimensions
Tripod adapter
Figure 14: Tripod dimensions
Marlin Technical Manual V.2.7.0
38
Camera dimensions
Marlin W90
This version has the sensor tilted by 90 degrees clockwise, so that it views
upwards.

Figure 15: Marlin W90
Marlin Technical Manual V.2.7.0
39
Camera dimensions
Marlin W90 S90
This version has the sensor tilted by 90 degrees clockwise, so that it views
upwards and additionally rotated by 90 degrees clockwise.

Figure 16: Marlin W90 S90
Marlin Technical Manual V.2.7.0
40
Camera dimensions
Marlin W270
This version has the sensor tilted by 270 degrees clockwise, so that it views
downwards.

Consult your dealer, if you have inquiries for this version.
Figure 17: Marlin W270
Marlin Technical Manual V.2.7.0
41
Camera dimensions
Marlin W270 S90
This version has the sensor tilted by 270 degrees clockwise, so that it views
downwards.
Additionally the sensor is tilted by 90 degrees clockwise.

Figure 18: Marlin W270 S90
Marlin Technical Manual V.2.7.0
42
Filter and lenses
Filter and lenses
The following illustration shows the spectral transmission of the IR cut filter:
Figure 19: Spectral transmission of Jenofilt 217
Camera lenses
Allied Vision offers different lenses from a variety of manufacturers. The following table lists selected image formats depending on camera type, distance and
the focal length of the lens.
Focal length
Marlin F-033/046/145/146
Distance = 0.5 m
Distance = 1 m
4.8 mm
0.5 m x 0.67 m
1.0 m x 1.33 m
8 mm
0.3 m x 0.4 m
0.6 m x 0.8 m
12 mm
0.195 m x 0.26 m
0.39 m x 0.58 m
16 mm
0.145 m x 0.19 m
0.29 m x 0.38 m
25 mm
9.1 cm x 12.1 cm
18.2 cm x 24.2 cm
35 mm
6.4 cm x 8.51 cm
12.8 cm x 17.02 cm
50 mm
4.4 cm x 5.85 cm
8.8 cm x 11.7 cm
Table 10: Focal length vs. field of view (Marlin F-033/046/145/146)
Marlin Technical Manual V.2.7.0
43
Filter and lenses
Focal length Marlin F-080
Distance = 0.5 m
Distance = 1 m
4.8 mm
0.375 m x 0.5 m
0.75 m x 1 m
8 mm
0.22 m x 0.29 m
0.44 m x 0.58 m
12 mm
0.145 m x 0.19 m
0.29 m x 0.38 m
16 mm
11 cm x 14.7 cm
22 cm x 29.4 cm
25 mm
6.9 cm x 9.2 cm
13.8c m x 18.4 cm
35 mm
4.8 cm x 6.4 cm
9.6 cm x 12.8 cm
50 mm
3.3 cm x 4.4 cm
6.6 cm x 8.8 cm
Table 11: Focal length vs. field of view (Marlin F-080)
Focal length Marlin F-131
Distance = 0.5 m
Distance = 1 m
4.8 mm
0.7 m x 0.93 m
1.4 m x 1.86 m
8 mm
0.4 m x 0.53 m
0.8 m x 1.06 m
12 mm
0.27 m x 0.36 m
0.54 m x 0.72 m
16 mm
0.2 m x 0.27 m
0.4 m x 0.54 m
25 mm
12.5 cm x 16.63 cm
25 cm x 33.25 cm
35 mm
8.8 cm x 11.7 cm
17.6 cm x 23.4 cm
50 mm
6 cm x 7.98 cm
12 cm x 15.96 cm
Table 12: Focal length vs. field of view (Marlin F-131)
Focal length Marlin F-201
Distance = 0.5 m
Distance = 1 m
4.8 mm
0.55 m x 0.74 m
1.1 m x 1.48 m
8 mm
0.33 m x 0.44 m
0.67 m x 0.89 m
12 mm
0.22 m x 0.29 m
0.43 m x 0.64 m
16 mm
0.161 m x 0.21 m
0.32 m x 0.42 m
25 mm
10.1 cm x 13.2 cm
20.2 cm x 26.9 cm
35 mm
7.1 cm x 9.4 cm
14.2 cm x 18.9 cm
50 mm
4.9 cm x 6.5 cm
9.8 cm x 13 cm
Table 13: Focal length vs. field of view (Marlin F-201)
Marlin Technical Manual V.2.7.0
44
Camera interfaces
Camera interfaces
This chapter gives you detailed information on status LEDs, inputs and outputs,
trigger features and transmission of data packets.
Note
For a detailed description of the camera interfaces (FireWire,
I/O connector), ordering numbers and operating instructions see the 1394 Installation Manual.

Read all Notes and Cautions in the 1394 Installation Manual,
before using any interfaces.
IEEE 1394a port pin assignment
The IEEE 1394a connector is designed for industrial use and has the following
pin assignment as per specification:
Pin
Signal
1
Cable power
2
Cable GND
3
TPB-
4
TPB+
5
TPA-
6
TPA+
Figure 20: IEEE 1394a connector
Note

www

Cables with latching connectors on one or both sides can be
used and are available with various lengths of 4.5 m or up to
17.5 m.
For more information on cables and on ordering cables
online (by clicking the article and sending an inquiry) go to:
http://www.alliedvision.com/en/contact
Marlin Technical Manual V.2.7.0
45
Camera interfaces
Camera I/O connector pin assignment
Pin Signal
Direction Level
Description
1
External GND
GND for RS232 and ext. External ground for RS232
power
and external power
2
External Power
(CCD models only)
+8 ... +36 V DC
Power supply
3
4
9
1
2
10
3
11
4
8
12
5
7
Camera In 1
In
Uin(high) = 2 V...UinVCC Camera Input 1
Uin(low) = 0 V...0.8 V (GPIn1)
default: Trigger
6
Camera Out 1
Out
Open collector
Camera Output 1
(GPOut1)
default: IntEna
7
Camera In GND
In
Common GND for
inputs
Camera Common Input
Ground
(In GND)
8
RxD RS232
In
RS232
Terminal Receive Data
9
TxD RS232
Out
RS232
Terminal Transmit Data
10 Camera Out Power In
Common VCC for
outputs
max. 36 V DC
Camera Output Power
for digital outputs
(OutVCC)
11 Camera In 2
In
Uin(high) = 2 V...UinVCC Camera Input 2
Uin(low) = 0 V...0.8 V (GPIn2)
default: -
12 Camera Out 2
Out
Open collector
5
6
Camera Output 2
(GPOut2)
default: -
Figure 21: Camera I/O connector pin assignment
Note
GP = General Purpose

For a detailed description of the I/O connector and its operating instructions see the 1394 Installation Manual, Chapter
Marlin input description.
Read all Notes and Cautions in the 1394 Installation Manual,
before using the I/O connector.
Marlin Technical Manual V.2.7.0
46
Camera interfaces
Status LEDs
Status LEDs
green yellow
Figure 22: Position of Status LEDs
Status LED green
The green LED (power) indicates that the camera is being supplied with sufficient voltage and is ready for operation.
State
Description
Power/S2
LED off - power off
LED on - power on
Table 14: LED indication: green
Status LED yellow
The following states are displayed via the yellow LED:
State
Description
Com/S1
Asynchronous and isochronous data transmission
active (indicated asynchronously to transmission
over the 1394 bus)
Table 15: LED indication: yellow
Marlin Technical Manual V.2.7.0
47
Camera interfaces
Blink codes are used to signal warnings or error states:
Warning
1 blink
Class S1
Error code S2
DCAM
2 blinks
MISC
3 blinks
FPGA Boot error
FPGA
4 blinks
Stack
5 blinks
1-5 blinks
Stack setup
1 blink
Stack start
2 blinks
No FLASH object
1 blink
No DCAM object
1 blink
Register mapping
2 blinks
VMode_ERROR_STATUS
1 blink
FORMAT_7_ERROR_1
2 blinks
FORMAT_7_ERROR_2
3 blinks
Table 16: Error Codes
The longer OFF-time of 3.5 sec. signals the beginning of a new class period. The
error codes follow after a shorter OFF-time of 1.5 sec.
Example 3.5 sec.  one blink  1.5 sec.  2 blinks
indicates a warning: Format_7_Error_1
Marlin Technical Manual V.2.7.0
48
Camera interfaces
Control and video data signals
The inputs and outputs of the camera can be configured by software. The different modes are described below.
Inputs
Note

For a general description of the inputs and warnings see the
1394 Installation Manual, Chapter Marlin input description.
The optical coupler inverts all input signals. Polarity is controlled via the IO_INP_CTRL1..2 register.
Polarity
selectable
via software
Input signal
OptoCoupler
TriggerAND
Input
Input state
Input 2, if set to trigger
Figure 23: Input block diagram
Triggers
All inputs configured as triggers are linked by AND. If two inputs are being used
as triggers, a high signal at the output of the block must be present on all inputs
in order to generate a trigger signal. The polarity for each signal can be set separately via the inverting inputs. The camera must be set to external triggering
to trigger image capture by the trigger signal.
Furthermore polarity of external triggering can be selected according to IIDC
V1.3x register 0xF0F00830.
Marlin Technical Manual V.2.7.0
49
Camera interfaces
Input/output pin control
All input and output signals running over the camera I/O connector are controlled by an advanced feature register.
Register
Name
Field
Bit
Description
0xF1000300
IO_INP_CTRL1
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..6]
Polarity
[7]
0: low active
1: high active
---
[8..10]
Reserved
InputMode
[11..15] Mode
see Table 18: Input routing on
page 50
0xF1000304
IO_INP_CTRL2
---
[16..30] Reserved
PinState
[31]
RD: Current state of pin
Same as IO_INP_CTRL1
Table 17: Advanced register: Input control
IO_INP_CTRL 1-2
The Polarity flag determines whether the input is low active (0) or high active
(1). The input mode can be seen in the following table. The PinState flag is used
to query the current status of the input.

•
For inputs the PinState bit refers to the inverted output
side of the optical coupler. This signals that an open
input sets the PinState bit to 1.
ID
Mode
0x00
Off
0x01
Reserved
0x02
Trigger input
0x03
Reserved
0x06..0x0F
Reserved
0x10..0x1F
Reserved
Default
Input 1
Table 18: Input routing
Marlin Technical Manual V.2.7.0
50
Camera interfaces
Trigger delay
Since firmware version 2.03, the cameras feature various ways to delay image
capture based on external trigger.
With IIDC V1.31 there is a standard CSR at Register F0F00534/834h to control a
delay up to FFFh x timebase value. The following table explains the inquiry register and the meaning of the various bits.
Register
Name
Field
Bit
Description
0xF0F00534
TRIGGER_DELAY_INQUIRY Presence_Inq
[0]
Indicates presence of this
feature (read only)
Abs_Control_Inq
[1]
Capability of control with
absolute value
-
[2]
Reserved
One_Push_Inq
[3]
One-push auto mode (controlled automatically by the
camera once)
Readout_Inq
[4]
Capability of reading out the
value of this feature
ON_OFF
[5]
Capability of switching this
feature ON and OFF
Auto_Inq
[6]
Auto Mode (controlled automatically by the camera)
Manual_Inq
[7]
Manual mode (controlled by
user)
Min_Value
[8..19]
Minimum value for this feature
Max_Value
[20..31] Maximum value for this feature
Table 19: Trigger delay inquiry register
Marlin Technical Manual V.2.7.0
51
Camera interfaces
Register
Name
Field
Bit
Description
0xF0F00834
TRIGGER_DELAY
Presence_Inq
[0]
Presence of this feature:
0: N/A
1:Available
Abs_Control
[1]
Absolute value control
O: Control with value in the
value field
1: Control with value in the
absolute value CSR. If this
bit=1 the value in the value
field has to be ignored.
---
[2..5]
Reserved
ON_OFF
[6]
Write ON or OFF this feature
ON=1 Read: Status of the
feature
OFF=0
---
[7..19]
Reserved
Value
[20..31]
Value
Table 20: Trigger Delay CSR
The cameras also have an advanced register which allows even more precise
image capture delay after receiving a hardware trigger.
Trigger delay advanced register
Register
Name
Field
Bit
Description
0xF1000400
TRIGGER_DELAY
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Trigger delay on/off
---
[7..10]
Reserved
DelayTime
[11..31]
Delay time in μs
Table 21: Trigger delay advanced CSR
The advanced register allows the start of the integration to be delayed by max.
221 μs, which is max. 2.1 s after a trigger edge was detected.
Note
•

•
Switching trigger delay to ON also switches external Trigger_Mode_0 to ON.
This feature works with external Trigger_Mode_0 only.
Marlin Technical Manual V.2.7.0
52
Camera interfaces
Outputs
T
Note
For a general description of the outputs and warnings see the
1394 Installation Manual, Chapter Marlin output description.

Output features are configured by software. Any signal can be placed on any output.
The main features of output signals are described below:
Signal
Description
IntEna (Integration Enable) signal
This signal displays the time in which exposure was
made. By using a register this output can be
delayed by up to 1.05 seconds. This signal can be
used to fire a strobe flash.
Fval (Frame valid) signal
This feature signals readout from the sensor. This
signal Fval follows IntEna.
Busy signal
This signal appears when:
•
•
•
the exposure is being made or
the sensor is being read out or
data transmission is active.
The camera is busy.
Table 22: Output signals
Output
mode
selectable
via software
Polarity
selectable
via software
Operation state
read
IntEna
FVal
Opto-
Busy
Operation state
read
Output signal
Coupler
Figure 24: Output block diagram
Marlin Technical Manual V.2.7.0
53
Camera interfaces
IO_OUTP_CTRL 1-2
The outputs (Output mode, Polarity) are controlled via two advanced feature
registers (see Table 23: Advanced register: Output control on page 54).
The Polarity field determines whether the output is inverted or not. The output
mode can be viewed in the table below. The current status of the output can be
queried and set via the PinState.
From firmware 2.03 onwards it is possible to read back the status of an output
pin regardless of the output mode. This allows for example the host computer to
determine if the camera is busy by simply polling the BUSY output.
Note
Outputs in Direct Mode:

For correct functionality the Polarity should always be set
to 0 (SmartView: Trig/IO tab, Invert=No).
Register
Name
Field
Bit
Description
0xF1000320
IO_OUTP_CTRL1
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..6]
Reserved
Polarity
[7]
0: Signal not inverted
1: Signal inverted
---
[8..10]
Reserved
Output mode
[11..15] Mode
see Table 24: Output routing
on page 55
---
[16..30] Reserved
PinState
[31]
RD: Current state of pin
WR: New state of pin
0xF1000324
IO_OUTP_CTRL2
Same as IO_OUTP_CTRL1
Table 23: Advanced register: Output control
Marlin Technical Manual V.2.7.0
54
Camera interfaces
Output modes
ID
Mode
Default
0x00
Off
0x01
Output state follows PinState bit Using this mode, the Polarity bit
has to be set to 0 (not inverted).
This is necessary for an error free
display of the output status.
0x02
Integration enable
0x03
Reserved
0x04
Reserved
0x05
Reserved
0x06
FrameValid
0x07
Busy
0x08
Follow corresponding input
(Inp1  Out1, Inp2  Out2, …)
0x09..0x0F
Reserved
0x10..0x1F
Reserved
Output 1
Output 2
Table 24: Output routing
The Polarity setting refers to the input side of the optical coupler output, PinState 0 switches off the output transistor and produces a low level over the resistor connected from the output to ground.
The following diagram illustrates the dependencies of the various output signals.
Marlin Technical Manual V.2.7.0
55
Camera interfaces
External Trigger Input, falling edge
Trigger_Mode_0
Delay set by register Trigger_Delay
+ offset
Integration_Enable (IntEna)
Delay set by register
IntEna_Delay
IntEna delayed
Frame_Valid (Fval)
Busy
Figure 25: Output Impulse Diagram
Note
The signals can be inverted.

Caution

Firing a new trigger while IntEna is still active can result in
missing image.
Marlin Technical Manual V.2.7.0
56
Camera interfaces
Note
•

•
Note that trigger delay in fact delays the image capture
whereas the IntEna_Delay only delays the leading edge
of the IntEna output signal but does not delay the image
capture.
As mentioned before, it is possible to set the outputs by
software. Doing so, the achievable maximum frequency is
strongly dependent on individual software capabilities.
As a rule of thumb, the camera itself will limit the toggle
frequency to not more than 700 Hz.
Pixel data
Pixel data are transmitted as isochronous data packets in accordance with the
1394 interface described in IIDC V1.3. The first packet of a frame is identified by
the 1 in the sync bit (sy) of the packet header.
sync bit
0-7
8-15
data_length
16-23
tg
channel
24-31
tCode
sy
header_CRC
Video data payload
data_CRC
Figure 26: Isochronous data block packet format: Source: IIDC V1.3
Marlin Technical Manual V.2.7.0
57
Camera interfaces
Field
Description
data_length
Number of bytes in the data field
tg
Tag field
shall be set to zero
channel
Isochronous channel number, as programmed in the iso_channel field
of the cam_sta_ctrl register
tCode
Transaction code
shall be set to the isochronous data block packet tCode
sy
Synchronization value (sync bit)
This is one single bit. It indicates the start of a new frame.
It shall be set to 0001h on the first isochronous data block of a frame,
and shall be set to zero on all other isochronous blocks
Video data payload
Shall contain the digital video information
Table 25: Description of data block packet format
•
•
•
The video data for each pixel are output in either 8-bit or 10-bit format.
Each pixel has a range of 256 or 1024 shades of gray.
The digital value 0 is black and 255 or 1023 is white. In 16-bit mode the
data output is MSB aligned.
The following table provides a description of the video data format for the different modes. (Source: IIDC V1.3 specification)
Figure 27: YUV422 and YUV411 format: Source: IIDC V1.3
Marlin Technical Manual V.2.7.0
58
Camera interfaces
Figure 28: Y8 and Y16 format: Source: IIDC V1.3
Figure 29: Data structure: Source: IIDC V1.3
Marlin Technical Manual V.2.7.0
59
Description of the data path
Description of the data path
Block diagrams of the cameras
The following diagrams illustrate the data flow and the bit resolution of image
data after being read from the CCD or CMOS sensor chip in the camera. The individual blocks are described in more detail in the following paragraphs. For sensor data see Chapter Specifications on page 22.
Black and white cameras
CMOS: Integrated in sensor (ADC: 10 bit)
CCD: Analog Front End (AFE)
Gain
Sensor
Analog
Offset
CCD:
12 bit
Analog
LUT
10 bit
Horizontal
Mirror
10 bit
10 bit (LUT off)
8 bit (LUT on)
Test-Pattern
Shading
Correction
Camera Control
Auto-Data
IEEE-1394
Interface
8/16
bit*
FrameMemory
8/10
bit*
Graphics
Overlay
10 bit
Horizontal
Masking &
Binning
HiRose I/O
RS232
1394a
* Is 10/16 bit when Mono16 mode is active.
Figure 30: Block diagram b/w camera
Marlin Technical Manual V.2.7.0
60
Description of the data path
Color cameras
CCD: Integrated in Analog
Front End (AFE)
CMOS: Integrated in the sensor (ADC: 10 bit)
Gain
Sensor
Offset
Analog
Analog
White Balance
A
D
C
CCD:
12 Bit
CCD:
12 Bit
LUT
10 Bit
Horizontal
Mirror
10 Bit
Horizontal
Masking
8 Bit
IEEE-1394
Interface
10 Bit (LUT off)
8 Bit (LUT on)
Test-Pattern
Shading
Correction
Camera Control
Auto-Data
De-Bayering
R1
G1
R2
G2
G3
B1
G4
B2
P
1
P
2
P
3
FrameMemory
8 Bit
8/10
Bit*
Graphics
Overlay
10 Bit
10 Bit
8 Bit
HiRose I/O
RS232
Sharpness
10 Bit
Multiple Color
Operations
(RGB->YUV, Hue,
Saturation)
8 Bit
RAW-Mode
MUX
1394a
Params
Camera Control
Figure 31: Block diagram color camera
Marlin Technical Manual V.2.7.0
61
Description of the data path
IBIS5A multiple slope (High Dynamic Range
mode)
The Marlin F-131 sensor has a high dynamic range of about 60 dB. This can be
extended to almost 100 dB by switching to a special mode.
This mode is called dual (in the case of rolling shutter) or multiple slope mode
(in the case of global shutter).
The following diagram, taken from FillFactory's application notes, explains the
functionality.
Figure 32: Multiple slope (high dynamic range) pixel charge as a function of time
The colored lines represent the analogue signal on the photo diode which
decreases as a result of exposure. The slope is determined by the amount of light
at each pixel (the more light, the steeper the slope). When the pixels reach the
saturation level, the analogue signal will no longer change despite further light
exposure. As shown in the diagram, without any dual or multiple slope pulse,
pixels P3' and P4' reach saturation before the sample moment of the analogue
values.
When dual slope is enabled, a second reset pulse will be given (blue line) at a
certain time before the end of the integration time.
This dual slope reset pulse resets the analogue signal of the pixels below the
dual slope reset level to this level. After the reset, the analogue signal starts to
decrease with the same slope as before (pink P3 and yellow P4 lines).
Marlin Technical Manual V.2.7.0
62
Description of the data path
This introduces a knee-point in the exposure function.
If the dual slope reset pulse is placed at the end of the integration time (90% for
instance), the analogue signal which would have normally reached the saturation level is no longer saturated at read out. This effect increases the optical
dynamic range of the sensor.
It is important to notice that pixel signals above the dual slope reset level will
be left unaffected (green P1 and green P2).
Marlin F-131 with three knee-points
The Marlin F-131 offers up to three knee-points when in global shutter mode.
This functionality is controlled via the following registers.
Register
Name
Field
Bit
Description
0xF1000280
HDR_CONTROL
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Enable/disable HDR mode
---
[7..19]
Reserved
MaxKneePoints
[20..23]
R: Number of knee-points
possible in this mode
---
[24..27]
Reserved
KneePoints
[28..31]
W: Number of active kneepoints
---
[0..15]
Reserved
Kneepoint1
[16..31]
R/W: Time in μs
---
[0..15]
Reserved
Kneepoint2
[16..31]
R/W: Time in μs
---
[0..15]
Reserved
Kneepoint3
[16..31]
R/W: Time in μs
0xF1000284
0xF1000288
0xF100028C
KNEEPOINT_1
KNEEPOINT_2
KNEEPOINT_3
Table 26: High dynamic range configuration register
Note

It is recommended that knee-points be adjusted to 10 %, 5 %
and 2.5 % of the total exposure or shutter time being applied
at the end of the exposure.
Marlin Technical Manual V.2.7.0
63
Description of the data path
Example Adjust image so that the dark areas are well displayed. Calculate the used shutter time. Activate HDR mode.
Assuming shutter time to be 40 ms = 40,000 μs:
• Kneepoint_1 = 10 % * 40,000 μs = 4,000 μs = 0xFA0
• Kneepoint_2 = 5 % * 40,000 μs = 2,000 μs = 0x7D0
• Kneepoint_3 = 2.5 % * 40,000 μs = 1,000 μs = 0x3E8
The following needs to be written:
Name
Address
Write the following
HDR_CONTROL:
(Address: 0xF1000280)
0x02000003
KNEEPOINT_1:
(Address: 0xF1000284)
0x00000FA0
KNEEPOINT_2:
(Address: 0xF1000288)
0x000007D0
KNEEPOINT_3:
(Address: 0xF100028C)
0x000003E8
Table 27: Example: 3 knee-points
For further tuning, readjust KNEEPOINT_X but maintain ratio KNEEPOINT_1 >
KNEEPOINT_2 > KNEEPOINT_3.
The figure below, taken from the sensor's data sheet, illustrates the nonlinear
behavior of the photo response curve in dual slope mode.
Figure 33: IBIS5A nonlinear photo response curve with two slopes
Marlin Technical Manual V.2.7.0
64
Description of the data path
White balance
There are two types of white balance:
• one-push white balance: white balance is done only once
(not continuously)
• auto white balance (AWB): continuously optimizes the color characteristics of the image
Marlin color cameras have both one-push white balance and auto white balance.
White balance is applied so that non-colored image parts are displayed non-colored.
White balance does not use the so called PxGA® (Pixel Gain Amplifier) of the analog front end (AFE) but a digital representation in the FPGA in order to modify
the gain of the two channels with lower output by +9.5 dB (in 106 steps) relative
to the channel with highest output.
The following screenshot is taken from the data sheet of the AFE and illustrates
the details:
Figure 34: Block diagram of AFE (Source: Analog Devices)
Marlin Technical Manual V.2.7.0
65
Description of the data path
The analog color signal, coming in pulse amplitude modulation from the sensor
is in the form of the BAYER™ color pattern sequence. It is initially processed in
the CDS (correlated double sampler) then bypasses the PxGA before further
amplification and digitization.
From the user's point, the white balance settings are made in register 80Ch of
IIDC V1.3. This register is described in more detail below.
Register
Name
Field
Bit
0xF0F0080C
WHITE_BALANCE Presence_Inq [0]
Description
Presence of this feature:
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
O: Control with value in the Value field
1: Control with value in the Absolute value
CSR
If this bit=1, the value in the Value field will
be ignored.
-
[2..4]
Reserved
One_Push
[5]
Write 1: begin to work (self-cleared after
operation)
Read:
1: in operation
0: not in operation
If A_M_Mode = 1, this bit will be ignored.
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
A_M_MODE
[7]
Write: set mode
Read: read current mode
0: MANUAL
1: AUTO
U/B_Value
[8..19]
U/B value
This field is ignored when writing the value
in Auto or OFF mode.
If readout capability is not available, reading this field has no meaning.
V/R_Value
[20..31] V/R value
This field is ignored when writing the value
in Auto or OFF mode.
If readout capability is not available, reading this field has no meaning.
Table 28: White balance register
Marlin Technical Manual V.2.7.0
66
Description of the data path
The values in the U/B_Value field produce changes from green to blue; the V/
R_Value field from green to red as illustrated below.
Figure 35: U/V slider range
One-push white balance
Note
Configuration

To configure this feature in control and status register (CSR):
See Table 28: White balance register on page 66.
The camera automatically generates frames, based on the current settings of all
registers (GAIN, OFFSET, SHUTTER, etc.).
For white balance, in total six frames are processed and a grid of at least
300 samples is equally spread over the work area. This area can be the field of
view or a subset of it. The R-G-B component values of the samples are added and
are used as actual values for for the one-push white balance.
This feature uses the assumption that the R-G-B component sums of the samples
are equal; i.e., it assumes that the average of the sampled grid pixels is to be
monochrome.
Note

The following ancillary conditions should be observed for successful white balance:
•
There are no stringent or special requirements on the
image content, it requires only the presence of monochrome pixels in the image.
If the image capture is active (e.g. IsoEnable set in register 614h), the frames
used by the camera for white balance are also output on the 1394 bus. Any previously active image capture is restarted after the completion of white balance.
Marlin Technical Manual V.2.7.0
67
Description of the data path
The following flow diagram illustrates one-push white balance sequence.
Pause image
capture
Capture image
via One_shot
Repeat steps
six times
Calculate and
set correction
values
Restart image
capture if
necessary
Figure 36: One-push white balance sequence
Finally, the calculated correction values can be read from the WHITE_BALANCE
register 80Ch.
Auto white balance (AWB)
The auto white balance feature continuously optimizes the color characteristics
of the image.
For the white balance algorithm a grid is used of at least 300 samples equally
spread over the area of interest or a fraction of it.
Auto white balance can also be enabled by using an external trigger. However,
if there is a pause of >10 seconds between capturing individual frames this process is aborted.
Note

The following ancillary conditions should be observed for successful white balance:
•
•
There are no stringent or special requirements on the
image content, it requires only the presence of equally
weighted RGB pixels in the image.
Auto white balance can be started both during active
image capture and when the camera is in idle state.
Marlin Technical Manual V.2.7.0
68
Description of the data path
Note
Configuration

To set position and size of the control area (Auto_Function_AOI) in an advanced register: see Table 116: Advanced
register: Autofunction AOI on page 214.
AUTOFNC_AOI affects the auto shutter, auto gain and auto white balance features and is independent of the Format_7 AOI settings. If this feature is switched
off the work area position and size follow the current active image size.
Note

If the adjustment fails and the work area size and/or position
becomes invalid this feature is automatically switched off make sure to read back the ON_OFF flag if this feature doesn't
work as expected.
Within this area, the R-G-B component values of the samples are added and used
as actual values for the feedback.
The following drawing illustrates the AUTOFNC_AOI settings in greater detail.
AOI: X-size
0,0
AF_AREA_POSITION: Left,Top
AOI: Y-size
Sampling grid for Auto-Function
AF_AREA_SIZE: Height: n x 128
AF_AREA_SIZE: Width: n x 128
Figure 37: AUTOFNC_AOI positioning
Marlin Technical Manual V.2.7.0
69
Description of the data path
The algorithm is based on the assumption that the R-G-B component sums of the
samples shall be equal, i.e., it assumes that the mean of the sampled grid pixels
is to be monochrome.
Auto shutter
In combination with auto white balance, all Marlin CCD models and CMOS models
are equipped with auto shutter feature.
When enabled, the auto shutter adjusts the shutter within the default shutter
limits or within those set in advanced register F1000360h in order to reach the
reference brightness set in auto exposure register.
Note

Target grey level parameter in SmartView corresponds to
Auto_exposure register 0xF0F00804 (IIDC).
Increasing the auto exposure value increases the average brightness in the
image and vice versa.
The applied algorithm uses a proportional plus integral controller (PI controller) to achieve minimum delay with zero overshot.
Marlin Technical Manual V.2.7.0
70
Description of the data path
To configure this feature in control and status register (CSR):
Register
Name
Field
Bit
Description
0xF0F0081C
SHUTTER
Presence_Inq
[0]
Presence of this feature:
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
O: Control with value in the Value field
1: Control with value in the Absolute value CSR
If this bit= 1 the value in the Value field will be
ignored.
---
[2..4]
Reserved
One_Push
[5]
Write 1: begin to work (self-cleared after operation)
Read:
1: in operation
0: not in operation
If A_M_Mode = 1, this bit will be ignored.
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
A_M_MODE
[7]
Write: set mode
Read: read current mode
0: MANUAL
1: AUTO
---
[8..19]
Reserved
Value
[20..31]
Read/Write Value
This field is ignored when writing the value in
Auto or OFF mode.
If readout capability is not available, reading
this field has no meaning.
Table 29: CSR: Shutter
Note
Configuration

To configure this feature in an advanced register: See Table
114: Advanced register: Auto shutter control on page 213.
Marlin Technical Manual V.2.7.0
71
Description of the data path
Note
•

•
•
Values can only be changed within the limits of shutter
CSR.
Changes in auto exposure register only have an effect
when auto shutter is enabled.
Auto exposure limits are: 50..205 (SmartViewCtrl1
tab: Target grey level)
When both auto shutter and auto gain are enabled, priority is given to increasing
shutter when brightness decreases. This is done to achieve the best image quality with lowest noise.
For increasing brightness, priority is given to lowering gain first for the same
purpose.
Marlin Technical Manual V.2.7.0
72
Description of the data path
Auto gain
In combination with auto white balance, all Marlin CCD models are equipped
with auto gain feature.
When enabled auto gain adjusts the gain within the default gain limits (see Table
32: Manual gain range of the various Marlin types on page 75) or within the limits set in advanced register F1000370h in order to reach the brightness set in
auto exposure register as reference.
Increasing the auto exposure value (aka target grey value) increases the average brightness in the image and vice versa.
The applied algorithm uses a proportional plus integral controller (PI controller) to achieve minimum delay with zero overshot.
The following table shows both the gain and auto exposure CSR.
Register
Name
Field
Bit
Description
0xF0F00820
GAIN
Presence_Inq
[0]
Presence of this feature:
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
O: Control with value in the value field
1: Control with value in the absolute
value CSR
If this bit= 1 the value in the value field
has to be ignored
---
[2..4]
Reserved
One_Push
[5]
Write: Set bit high to start
Read: Status of the feature:
Bit high: WIP
Bit low: Ready
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
A_M_MODE
[7]
Set bit high for Auto feature Read for
Mode; 0= MANUAL; 1= AUTO
---
[8..19]
Reserved
Value
[20..31] Read/Write Value
This field is ignored when writing the
value in Auto or OFF mode.
If readout capability is not available reading this field has no meaning
Table 30: CSR: Gain
Marlin Technical Manual V.2.7.0
73
Description of the data path
Register
Name
Field
Bit
Description
0xF0F00804
AUTO_EXPOSURE Presence_Inq
[0]
Presence of this feature:
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
O: Control with value in the value field
1: Control with value in the absolute
value CSR
If this bit= 1 the value in the value field
has to be ignored
---
[2..4]
Reserved
One_Push
[5]
Write: Set bit high to star
Read: Status of the feature:
Bit high: WIP
Bit low: Ready
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
A_M_MODE
[7]
Write: set mode
Read: read current mode
0: MANUAL
1: AUTO
---
[8..19]
Reserved
Value
[20..31] Read/Write Value
This field is ignored when writing the
value in Auto or OFF mode.
If readout capability is not available reading this field has no meaning
Table 31: CSR: Auto Exposure
Note
Configuration

To configure this feature in an advanced register: See Table
115: Advanced register: Auto gain control on page 213.
Marlin Technical Manual V.2.7.0
74
Description of the data path
Note

•
•
•
•
Values can only be changed within the limits of gain CSR.
Changes in auto exposure register only have an effect
when auto gain is active.
Auto exposure limits are 50..205. (SmartViewCtrl1
tab: Target grey level)
Auto gain is not possible with CMOS models due to coarse
gain settings.
Manual gain
Marlin cameras are equipped with a gain setting, allowing the gain to be manually adjusted on the fly by means of a simple command register write.
The following ranges can be used when manually setting the gain for the analog
video signal:
Type
Range
Range in dB
Marlin CCD cameras
0 ... 680
0 … 24 dB
Marlin CMOS camera
1 … 14
0 … 16 dB
Table 32: Manual gain range of the various Marlin types
The increment length is ~0.0354 dB/step for CCD models and 1.25 dB/step for
CMOS.
Note
•

•
Setting the gain does not change the offset (black value)
for CCD models.
A higher gain also produces greater image noise. This
reduces image quality. For this reason, try first to
increase the brightness, using the aperture of the camera optics and/or longer shutter settings.
Brightness (black level or offset)
It is possible to set the black level in the camera within the following ranges:
CCD models: 0...+16 gray values (@ 8 bit)
Increments are in 1/16 LSB (@ 8 bit)
CMOS model: 0 … +127 (@ 8 bit)
The formula for gain and offset setting is: Y’ = G x Y + Offset
Marlin Technical Manual V.2.7.0
75
Description of the data path
Note
•

•
Setting the gain does not change the offset (black value)
for CCD models.
Setting the gain changes the offset (black value) for
CMOS models. This is due to the lack of black clamping
circuitry in sensor.
The IIDC register brightness at offset 800h is used for this purpose.
The following table shows the BRIGHTNESS register:
Register
Name
Field
Bit
Description
0xF0F00800
BRIGHTNESS
Presence_Inq
[0]
Presence of this feature:
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
O: Control with value in the value field
1: Control with value in the absolute
value CSR
If this bit= 1 the value in the value field
has to be ignored
---
[2..4]
Reserved
One_Push
[5]
Write: Set bit high to start
Read: Status of the feature:
Bit high: WIP
Bit low: Ready
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
A_M_MODE
[7]
Write: set mode
Read: read current mode
0: MANUAL
1: AUTO
---
[8..19]
Reserved
Value
[20..31]
Read/Write Value; this field is ignored
when writing the value in Auto or OFF
mode; if readout capability is not available reading this field has no meaning.
Table 33: CSR: Brightness
Marlin Technical Manual V.2.7.0
76
Description of the data path
Look-up table (LUT) and gamma function
The Marlin camera provides one user-defined look-up table (LUT). The use of this
LUT allows any function (in the form Output = F(Input)) to be stored in the camera's RAM and to apply it on the individual pixels of an image at run-time.
The address lines of the RAM are connected to the incoming digital data, these
in turn point to the values of functions which are calculated offline, e.g. with a
spreadsheet program.
This function needs to be loaded into the camera's RAM before use.
One example of using a LUT is the gamma LUT:
Output = (Input)0.45
This is used with all Marlin CCD models.
It is known as compensation for the nonlinear brightness response of many displays e.g. CRT monitors. The look-up table converts the most significant 10 bits
from the digitizer to 8 bits. The gamma function is controlled by the register
F0F00818h by toggling bit 6.
Figure 38: Gamma LUT
Marlin Technical Manual V.2.7.0
77
Description of the data path
Note
•

•
•
•
•
The input value is the most significant 10-bit value from
the digitizer. The gamma LUT of the CCD models outputs
the most significant 8 bit as shown above.
As gamma correction for the CCD models is also implemented via the look-up table, it is not possible to use a
different LUT when gamma correction is enabled.
With all CCD models, the user LUT will be overwritten
when Gamma is enabled and vice versa.
CMOS models have the gamma function built in the sensor, so that it won’t be overwritten.
LUT content is by default volatile, use user set functionality to store the LUT permanently in the camera.
Loading an LUT into the camera
Loading the LUT is carried out through the data exchange buffer called
GPDATA_BUFFER. As this buffer can hold a maximum of 2 kB, and a complete LUT
at 1024 x 8 bit is 1 kB, programming can take place in a one block write step. The
flow diagram below shows the sequence required to load data into the camera.
Query Limits from
Register:
LUT_INFO and
GPDATA_INFO
Set EnableMemWR
to true (1)
Set AddrOffset to 0
Write LUT data in
GPDATA_BUFFER
Set EnableMemWR
to false (0)
Figure 39: Loading an LUT
Note
Configuration

•
•
To configure this feature in an advanced register: See
Table 106: Advanced register: LUT on page 205.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 225.
Marlin Technical Manual V.2.7.0
78
Description of the data path
Shading correction
Shading correction is used to compensate for non-homogeneities caused by
lighting or optical characteristics within specified ranges.
To correct a frame, a multiplier from 1...2 is calculated for each pixel in
1/256 steps: this allows for shading to be compensated by up to 50 %.
Besides generating shading data off-line and downloading it to the camera, the
camera allows correction data to be generated automatically in the camera
itself.
Note

•
•
Shading correction does not support the mirror function.
If you use shading correction, don’t change the mirror
function.
How to store shading image
After generating the shading image in the camera, it can be uploaded to the host
computer for nonvolatile storage purposes.
The following pictures describe the process of automatic generation of correction data. The line profiles were created using MVTEC's ActivVision Tools.
Figure 40: Shading correction: Source image with non-uniform illumination
•
•
On the left you see the source image with non-uniform illumination.
The graph on the right clearly shows the brightness level falling off to the
right.
By defocusing the lens, high-frequency image data are removed from the source
image, therefore its not included in the shading image.
Marlin Technical Manual V.2.7.0
79
Description of the data path
Automatic generation of correction data
Requirements
Shading correction compensates for non-homogeneities by giving all pixels the
same gray value as the brightest pixel. This means that only the background
must be visible and the brightest pixel has a gray value of less than 255 when
automatic generation of shading data is started.
It may be necessary to use a neutral white reference, e.g. a piece of paper,
instead of the real image.
Algorithm
After the start of automatic generation, the camera pulls in the number of
frames set in the GRAB_COUNT register. Recommended values are 4, 8 or 16. An
arithmetic mean value is calculated from them (to reduce noise).
After this, a search is made for the brightest pixel in the mean value frame. A factor is then calculated for each pixel to be multiplied by, giving it the gray value
of the brightest pixel.
All of these multipliers are saved in a shading reference image. The time
required for this process depends on the number of frames to be calculated.
Correction alone can compensate for shading by up to 50 % and relies on 10 bit
pixel data to avoid the generation of missing codes.
How to proceed:
Set GrabCount to # of
desired frames
Set BuildImage Flag to true
Poll SHGD_Control
Register until Busy and
BuildImage Flag are
resetted
Figure 41: Automatic generation of a shading image
Marlin Technical Manual V.2.7.0
80
Description of the data path
Note
Configuration

To configure this feature in an advanced register: See Table
107: Advanced register: Shading on page 207.
Note

•
•
The maximum value of GRAB_COUNT depends on the type
of camera and the number of frame buffers that exist.
GRAB_COUNT is also automatically corrected to the
power of two.
The SHDG_CTRL register should not be queried at very
short intervals. This is because each query delays the
generation of the shading image. An optimal interval
time is 500 ms.
The following pictures illustrate the sequence of commands for generating the
shading image.
The correction sequence controlled via Directcontrol uses the average of 16
frames (10H) to calculate the correction frame.
The top picture shows the input image (with lens out of focus). The bottom picture shows the shading corrected output image (unfocused lens).
Marlin Technical Manual V.2.7.0
81
Description of the data path
Figure 42: Generation of shading image
Marlin Technical Manual V.2.7.0
82
Description of the data path
Note

•
•
•
•
•
The calculation of shading data is always carried out at
the current resolution setting. If the AOI is later larger
than the window in which correction data was calculated,
none of the pixels lying outside are corrected.
For Format_7 mode, it is advisable to generate the shading image in the largest displayable frame format. This
ensures that any smaller AOIs are completely covered by
the shading correction.
The automatic generation of shading data can also be
enabled when image capture is already running. The camera then pauses the running image capture for the time
needed for generation and resumes after generation is
completed.
CCD models only: Shading correction can be combined
with the Image mirror, binning and gamma functionality.
Changing binning modes involve the generation of new
shading reference images due to a change in the image
size.
CMOS models only: Using shading correction in combination with the gamma feature on the CMOS models may
lead to improper results.
After the lens has been focused again the image below will be seen, but now with
a considerably more uniform gradient. This is also made apparent in the graph
on the right.
Figure 43: Example of shaded image
Marlin Technical Manual V.2.7.0
83
Description of the data path
Loading a shading image out of the camera
GPDATA_BUFFER is used to load a shading image out of the camera. Because the
size of a shading image is larger than GPDATA_BUFFER, input must be handled
in several steps: It is recommended that block reads are used to read a block of
n bytes with one command out of the GPDATA_BUFFER. With firmware 3.03 it is
possible to read quadlets directly out of the buffer, but this takes much more
time.
Query Limits from
Register:
SHDG_INFO and
GPDATA_INFO
Set EnableMemRD
to true (1)
Set AddrOffset to 0
Read n databytes
of
GPDATA_BUFFER
Repeat Steps until
all data is read
Increase
AddrOffset by n
bytes
Check
EnableMemRD for
no change
Set EnableMemRD
to false (0)
Figure 44: Uploading shading image to host
Note
Configuration

•
•
To configure this feature in an advanced register: See
Table 107: Advanced register: Shading on page 207.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 225.
Marlin Technical Manual V.2.7.0
84
Description of the data path
Loading a shading image into the camera
GPDATA_BUFFER is used to load a shading image into the camera. Because the
size of a shading image is larger than GPDATA_BUFFER, input must be handled
in several steps: It is recommended that block writes are used to write a block of
n bytes with one command into the GPDATA_BUFFER. With firmware 3.03 it is
possible to write quadlets directly into the buffer, but this takes much more
time.
Query Limits from
Register:
SHDG_INFO and
GPDATA_INFO
Set EnableMemWR
to true (1)
Set AddrOffset to 0
Write n databytes
in
GPDATA_BUFFER
Repeat Steps until
all data is written
Increase
AddrOffset by n
bytes
Check
EnableMemWR for
no change
Set EnableMemWR
to false (0)
Figure 45: Loading the shading reference image
Note
Configuration

•
•
To configure this feature in an advanced register: See
Table 107: Advanced register: Shading on page 207.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 225.
Marlin Technical Manual V.2.7.0
85
Description of the data path
DSNU & blemish correction
(Marlin F-131B only)
In order to further reduce the dark signal non uniformity (DSNU) of the CMOS
sensor to levels similar to CCD sensors, the Marlin F-131B is equipped with a special DSNU reduction function, extending the shading correction.
The DSNU function applies an additive correction to every pixel in order to equalize the dark level of the pixels. This function also enables correction of single
and double blemished pixels by replacing them with their neighborhood pixels.
DSNU and blemish pixel correction are generated simultaneously but can be
switched on/off separately.
The following screenshots demonstrate how it works:
On the left picture (without correction) it can be seen that over the complete
field of view there is a certain spread of the histogram, indicating non uniform
dark pixels and blemished pixel(s) with brightness around 192(). With pure
DSNU correction the spread is considerably smaller.
Figure 46: Effect of DSNU correction
The table below shows the advanced register map, required to control this functionality.
Note
Configuration

To configure this feature in an advanced register:
•
•
See Table 111: Advanced register: DSNU on page 210.
Table 112: Advanced register: Blemish on page 211
Having generated the correction data it is possible to separately control the
blemish pixel correction with the help of the following register:
The effect of the additional blemish correction can be demonstrated with the
next screenshot. Not only is the spread now smaller, there are also no pixels
above a considerably lower grey level ( at. app. 96 in this case).
Marlin Technical Manual V.2.7.0
86
Description of the data path
Figure 47: Histogram with blemish correction
Note

•
•
•
•
For maximum efficiency, perform a new DSNU correction
every time the shutter, gain or offset settings are
changed. Generate the image by closing the lens to eliminate image information.
The FPN correction in former releases of the Marlin F-131
worked different and is replaced by the DSNU correction.
The use of DSNU correction should be accompanied with
shading correction for both low level as well as high level
corrected pixels.
DSNU and blemish correction are volatile.
Marlin Technical Manual V.2.7.0
87
Description of the data path
Horizontal mirror function
All Marlin cameras are equipped with an electronic mirror function, which mirrors pixels from the left side of the image to the right side and vice versa. The
mirror is centered to the actual FOV center and can be combined with all image
manipulation functions, like binning, shading and DSNU.
This function is especially useful when the camera is looking at objects with the
help of a mirror or in certain microscopy applications.
Note
Configuration

To configure this feature in an advanced register: See Table
120: Advanced register: Mirror on page 216.
Note
The use of the mirror function with color cameras and image
output in RAW format has implications on the BAYER-ordering
of the colors.

Mirror OFF: R-G-G-B (all Marlin color cameras)
Mirror ON: G-R-B-G (all Marlin color cameras)
Figure 48: Mirror and Bayer order
Note
During switchover one image may be temporarily corrupted.

Marlin Technical Manual V.2.7.0
88
Description of the data path
Binning (only Marlin CCD b/w models)
2 x binning
Definition
Binning is the process of combining neighboring pixels while being read out
from the CCD chip.
Note
Only Marlin CCD equipped b/w cameras have this feature.

Binning is used primarily for 3 reasons:
• A reduction in the number of pixels; thus, the amount of data while retaining the original image area angle
• An increase in the frame rate (vertical binning only)
• A brighter image, resulting in an improvement in the signal-to-noise ratio
of the image (depending on the acquisition conditions)
Signal to noise ratio (SNR) and signal to noise separation specify the quality
of a signal with regard to its reproduction of intensities. The value signifies how
high the ratio of noise is in regard to the maximum wanted signal intensity
expected.
The higher this value, the better the signal quality. The unit of measurement
used is generally known as the decibel (dB), a logarithmic power level. 6 dB is
the signal level at approximately a factor of 2.
However, the advantages of increasing signal quality are accompanied by a
reduction in resolution.
Only Format_7
Binning is possible only in video Format_7. The type of binning used depends on
the video mode.
Note

Types
Changing binning modes involve the generation of new shading reference images due to a change in the image size.
In general, we distinguish between the following types of binning
(H=horizontal, V=vertical):
• 2 x H-binning
• 2 x V-binning
and the full binning modes:
• 2 x full binning (a combination of 2 x H-binning and 2 x V-binning)
Marlin Technical Manual V.2.7.0
89
Description of the data path
Vertical binning
Vertical binning increases the light sensitivity of the camera by a factor of two
by adding together the values of two adjoining vertical pixels output as a single
pixel. At the same time this normally improves signal to noise separation by
about 2 dB.
Format_7 Mode_2 By default use Format_7 Mode_2 for 2 x vertical binning.
This reduces vertical resolution, depending on the model.
2 x vertical binning
Figure 49: 2 x vertical binning
Note

Note

Note

Vertical resolution is reduced, but signal-to noise ratio (SNR)
is increased by about 3 dB (2 x binning).
If vertical binning is activated the image may appear to be
over-exposed and may require correction.
The image appears vertically compressed in this mode and no
longer exhibits a true aspect ratio.
Marlin Technical Manual V.2.7.0
90
Description of the data path
Horizontal binning
Definition
In horizontal binning adjacent horizontal pixels in a line are combined in pairs.
2 x horizontal binning: 2 pixel signals from 2 horizontal neighboring pixels are
combined.
Light sensitivity
This means that in horizontal binning the light sensitivity of the camera is also
increased by a factor of two (6 dB). Signal to noise separation improves by
approx. 3 dB. Horizontal resolution is lowered, depending on the model.
Horizontal resolution Horizontal resolution is lowered, depending on the model.
Format_7 Mode_1 By default and without further remapping use Format_7 Mode_1 for
2 x horizontal binning.
2 x horizontal binning
Figure 50: 2 x horizontal binning
Note

The image appears horizontally compressed in this mode and
does no longer show true aspect ratio.
If horizontal binning is activated the image may appear to be
over-exposed and must eventually be corrected.
Marlin Technical Manual V.2.7.0
91
Description of the data path
2 x full binning
If horizontal and vertical binning are combined, every 4 pixels are consolidated
into a single pixel. At first two horizontal pixels are put together and then combined vertically.
Light sensitivity
Resolution
This increases light sensitivity by a total of a factor of 4 and at the same time signal to noise separation is improved by about 6 dB. Resolution is reduced,
depending on the model.
Resolution is reduced, depending on the model.
Format_7 Mode_3 By default use Format_7 Mode_3 for 2 x full binning.
2 x full binning
Figure 51: 2 x full binning
Marlin Technical Manual V.2.7.0
92
Description of the data path
Sub-sampling (Marlin F-131B,
Marlin F-146C and Marlin F-201C)
What is sub-sampling?
Definition
Sub-sampling is the process of skipping neighboring pixels (with the same
color) while being read out from the CMOS or CCD chip.
Which Marlin models have sub-sampling?
•
•
All CMOS equipped Marlin models, both color and b/w have this feature
(FW > 2.03).
The CCD models Marlin F-146C and Marlin F-201C are also equipped with
this mode, acting as a preview mode. Because it is realized digitally there
is no further speed increase.
Description of sub-sampling
Sub-sampling is used primarily for the following reasons:
• A reduction in the number of pixels and thus the amount of data while
retaining the original image area angle and image brightness
• CMOS: an increase in the frame rate.
Similar to binning mode the cameras support horizontal, vertical and h+v subsampling mode.
Have a look at the following table to check availability of the different sub-sampling modes (h=horizontal, v=vertical).
Camera model
Sub-sampling h
Sub-sampling v
Subsampling h+v
MF-131B
Format_7 Mode_1
Format_7 Mode_2
Format_7 Mode_3
MF-146C
not available
not available
Format_7 Mode_2
MF-201C
not available
not available
Format_7 Mode_2
Table 34: Sub-sampling modes MF-131B, MF-146C and MF-201C
Format_7 Mode_1 Only Marlin F-131B: By default use Format_7 Mode_1 for
• b/w cameras: 1 out of 2 horizontal sub-sampling
• color cameras: 2 out of 4 horizontal sub-sampling
The different sub-sampling patterns are shown below.
Marlin Technical Manual V.2.7.0
93
Description of the data path
1 out of 2
Figure 52: Horizontal sub-sampling 1 out of 2 (b/w)
2 out of 4
Figure 53: Horizontal sub-sampling 2 out of 4 (color)
Note

The image appears horizontally compressed in this mode and
no longer exhibits a true aspect ratio.
Marlin Technical Manual V.2.7.0
94
Description of the data path
Format_7 Mode_2 Only MF-131B: By default use Format_7 Mode_2 for
• b/w cameras: 1 out of 2 vertical sub-sampling
• color cameras: 2 out of 4 vertical sub-sampling
1 out of 2
Figure 54: Vertical sub-sampling (b/w)
Marlin Technical Manual V.2.7.0
95
Description of the data path
2 out of 4
Figure 55: Vertical sub-sampling (color)
Note

The image appears vertically compressed in this mode and does
no longer show true aspect ratio.
Format_7 Mode_3 By default use Format_7 Mode_3 for
• only Marlin F-131B:
• only Marlin F-146C/201C):
1 out of 2 H+V sub-sampling
2 out of 4 H+V sub-sampling
1 out of 2 H+V sub-sampling (only Marlin F-131B)
Figure 56: 1 out of 2 H+V sub-sampling (b/w)
Marlin Technical Manual V.2.7.0
96
Description of the data path
2 out of 4 H+V sub-sampling (only Marlin F-146C/201C)
Figure 57: 2 out of 4 H+V sub-sampling (color)
Note

Changing sub-sampling modes involve the generation of new
shading reference images due to a change in the image size.
Marlin Technical Manual V.2.7.0
97
Description of the data path
Parameter update timing
Marlin cameras show the following timing behavior:
• Frame rate or transfer rate is always constant (precondition:
shutter  transfer time)
• The delay from shutter update until the change takes place: up to 3 frames.
Figure 58: Marlin update timing on page 98 demonstrates this behavior. It
shows that the camera receives a shutter update command while the sensor is currently integrating (Sync is low) with shutter setting 400. The camera continues to integrate and this image is output with the next FVal. The
shutter change command becomes effective with the next falling edge of
sync and finally the image taken with shutter 200 is output with a considerable delay.
• Parameters that are sent to the camera faster than the max. frame rate per
second are stored in a FIFO and are activated in consecutive images.
Shutter Update Command
Current Charge Time
400
200
integrates image
with
shutter 200
continues integrating
Sync
with shutter eg 400
outputs image
with shutter 400
FVal
outputs image
with shutter 200
Figure 58: Marlin update timing
Principally a Marlin camera is not able to recognize how many parameter the
user will change. Due to the fact that communication between host and camera
is asynchronous, it may happen that one part of parameter changes is done in
image n+1 and the other part is done in image n+2.
Marlin Technical Manual V.2.7.0
98
Description of the data path
Sharpness
All Marlin color models are equipped with a two-step sharpness control, applying a discreet horizontal high pass in the green channel as shown in the next
three line profiles.
Figure 59: Sharpness: left: 0, middle: 1, right: 2
Note
Configuration

To configure this feature in feature control register: See Table
93: Feature control register on page 189.
Color interpolation and correction
The color sensors capture the color information via so called primary color (R-GB) filters placed over the individual pixels in a BAYER mosaic layout. An effective Bayer  RGB color interpolation already takes place in all Marlin color version cameras. Before converting to the YUV format, color correction is done after
BAYER demosaicing.
Color processing can be bypassed by using the so called RAW image transfer.
RAW mode is primarily used to
• save bandwidths on the IEEE 1394 bus
• achieve higher frame rates
• use different BAYER demosaicing algorithms on the PC
RAW-mode is accessible via Color_Mode Mono8, RAW8 and via Format_7
Mode_1.
Marlin Technical Manual V.2.7.0
99
Description of the data path
Note

If the PC does not perform BAYER to RGB post-processing the
b/w image will be superimposed with a checkerboard pattern.
Color interpolation (BAYER demosaicing)
In color interpolation a red, green or blue value is determined for each pixel.
Only two lines are needed for this interpolation:
Figure 60: Bayer demosaicing (interpolation)
P1 red = R1
P2 red = R2
G1 + G3
P1 green = -----------------2
P1 blue = B1
Note

G1 + G4
P2 green = -----------------2
P2 blue = B1
P3 red = R2
G2 + G4
P3 green = -----------------2
P3 blue = B2
On the color camera, a wrongly colored border of one or two
pixel wide forms on the left and right image borders. This is
also a consequence of BAYER demosaicing as the image width
displayed on the color camera is not scaled down.
Marlin Technical Manual V.2.7.0
100
Description of the data path
Color correction
Why color correction
The spectral response of a CCD is different of those of an output device or the
human eye. This is the reason for the fact that perfect color reproduction is not
possible. In each Marlin camera there is a factory setting for the color correction
coefficients, see Chapter GretagMacbeth ColorChecker on page 101.
Color correction is needed to eliminate the overlap in the color channels. This
overlap is caused by the fact that:
• Blue light:
is seen by the red and green pixels on the CCD
• Red light:
is seen by the blue and green pixels on the CCD
• Green light: is seen by the red and blue pixels on the CCD
The color correction matrix subtracts out this overlap.
Color correction in Allied Vision cameras
In Allied Vision cameras the color correction is realized as an additional step in
the process from the sensor data to color output.
Color correction is used to harmonize colors for the human eye. With Marlin
(color) cameras you can use it or switch it off.
Color correction: formula
Color correction is performed on all Marlin color models before YUV conversion
and mapped via a matrix as follows.
red* = Crr  red + Cgr  green + Cbr  blue
green* = Crg  red + Cgg  green + Cbg  blue
blue* = Crb  red + Cgb  green + Cbb  blue
Formula 1: Color correction
GretagMacbeth ColorChecker
Sensor specific coefficients Cxy are scientifically generated to ensure that GretagMacbeth™ ColorChecker® colors are displayed with highest color fidelity and
color balance.
Note

Color correction is deactivated in Mono8 mode (RAW image
transport).
Color correction can also be switched off in YUV mode with the help of the following register:
Marlin Technical Manual V.2.7.0
101
Description of the data path
Note
Configuration

To configure this feature in an advanced register: See Table
118: Advanced register: Color correction on page 215.
Color-correction coefficients cannot be changed.
Color conversion (RGB  YUV)
The conversion from RGB to YUV is made using the following formulae:
Y =
0.3  R + 0.59  G + 0.11  B
U = – 0.169  R – 0.33  G + 0.498  B + 128
V = 0.498  R – 0.420  G – 0.082  B + 128
Formula 2: RGB to YUV conversion
Note
•

•
As mentioned above: Color processing can be bypassed
by using the so called RAW image transfer.
RGB  YUV conversion can be bypassed by using RGB8
format and mode. This is advantageous for edge color
definition but needs more bandwidth (300% instead of
200% relative to b/w or RAW consumption) for the transmission, so that the maximal frame frequency will drop.
Hue and saturation
Marlin CCD color models are equipped with hue and saturation registers.
The hue register at offset 810h allows to change the color of objects without
changing the white balance by +/- 40 steps (+/- 10°) from the nominal perception. Use this setting to manipulate the color appearance after having done the
white balance.
The saturation register at offset 814h allows to change the intensity of the colors by +/-100%.
This means a setting of zero changes the image to black and white and a setting
of 511 doubles the color intensity compared to the nominal one at 256.
Marlin Technical Manual V.2.7.0
102
Description of the data path
Note
Configuration

To configure this feature in feature control register: See Table
93: Feature control register on page 189.
Serial interface
With FW > 2.03, all Marlin cameras are equipped with the SIO (serial input/output) feature as described in IIDC V1.31. This means that the Marlin’s serial interface which is used for firmware upgrades can further be used as a general RS232
interface.
Data written to a specific address in the IEEE 1394 address range will be sent
through the serial interface. Incoming data of the serial interface is put in a camera buffer and can be polled via simple read commands from this buffer. Controlling registers enable the settings of baud rates and the check of buffer sizes
and serial interface errors.
Note

•
•
Hardware handshaking is not supported.
Typical PC hardware does not usually support 230400 bps
or more.
Base address for the function is: F0F02100h.
Marlin Technical Manual V.2.7.0
103
Description of the data path
To configure this feature in access control register (CSR):
Offset
Name
Field
Bit
Description
000h
SERIAL_MODE_REG
Baud_Rate
[0..7]
Baud rate setting
WR: Set baud rate
RD: Read baud rate
0: 300 bps
1: 600 bps
2: 1200 bps 
3: 2400 bps 
4: 4800 bps 
5: 9600 bps 
6: 19200 bps
7: 38400 bps
8: 57600 bps
9: 115200 bps
10: 230400 bps
Other values reserved
Char_Length
[8..15]
Character length setting
WR: Set data length (7 or 8 bit)
RD: Get data length
7: 7 bit
8: 8 bit
Other values reserved
Parity
[16..17] Parity setting
WR: Set parity
RD: Get parity setting
0: None
1: Odd
2: Even
Stop_Bit
[18..19] Stop bits
WR: Set stop bit
RD: Get stop bit setting
0: 1
1: 1.5
2: 2
---
[20..23] Reserved
Buffer_Size_Inq [24..31] Buffer Size (RD only)
This field indicates the maximum size of
receive/transmit data buffer
If this value=1, Buffer_Status_Control
and SIO_Data_Register Char 1-3 should
be ignored.
Table 35: Serial input/output control and status register (SIO CSR)
Marlin Technical Manual V.2.7.0
104
Description of the data path
Offset
Name
0004h
Field
Bit
Description
SERIAL_CONTROL_REG RE
[0]
Receive enable
RD: Current status
WR:
0: Disable
1: Enable
TE
[1]
Transmit enable
RD: Current status
WR:
0: disable
1: Enable
---
[2..7]
Reserved
TDRD
[8]
Transmit data buffer ready
Read only
0: not ready
1: ready
---
[9]
Reserved
RDRD
[10]
Receive data buffer ready
Read only
0: not ready
1: ready
---
[11]
Reserved
ORER
[12]
Receive data buffer overrun error
Read: current status
WR:
0: no error (to clear status)
1: Ignored
FER
[13]
Receive data framing error
Read: current status
WR:
0: no error (to clear status)
1: Ignored
PER
[14]
Receive data parity error
Read: current status
WR:
0: no error (to clear status)
1: Ignored
---
[15..31] Reserved
SERIAL_STATUS_REG
Table 35: Serial input/output control and status register (SIO CSR)
Marlin Technical Manual V.2.7.0
105
Description of the data path
Offset
Name
Field
Bit
Description
008h
RECEIVE_BUFFER_
STATUS_CONTRL
RBUF_ST
[0..7]
SIO receive buffer status
RD: Number of bytes pending in receive
buffer
WR: Ignored
RBUF_CNT
[8..15]
SIO receive buffer control
WR: Number of bytes to be read from the
receive FIFO
RD: Number of bytes left for readout from
the receive FIFO
---
[16..31] Reserved
TBUF_ST
[0..7]
SIO output buffer status
RD: Space left in TX buffer
WR: Ignored
TBUF_CNT
[8..15]
SIO output buffer control
RD: Number of bytes written to transmit
FIFO
WR: Number of bytes to transmit
---
[16..31] Reserved
---
Reserved
00Ch
TRANSMIT_BUFFER_
STATUS_CONTRL
010h
..
0FFh
100h
SIO_DATA_REGISTER
CHAR_0
[0..7]
Character_0
RD: Read character from receive buffer
WR: Write character to transmit buffer
SIO_DATA_REGISTER
CHAR_1
[8..15]
Character_1
RD: Read character from receive buffer+1
WR: Write character to transmit buffer+1
SIO_DATA_REGISTER
CHAR_2
[16..23] Character_2
RD: Read character from receive buffer+2
WR: Write character to transmit buffer+2
SIO_DATA_REGISTER
CHAR_3
[24..31] Character_3
RD: Read character from receive buffer+3
WR: Write character to transmit buffer+3
Table 35: Serial input/output control and status register (SIO CSR)
To read data:
1.
Query RDRD flag (buffer ready?) and write the number of bytes the host
wants to read to RBUF_CNT.
2.
Read the number of bytes pending in the receive buffer RBUF_ST (more
data in the buffer than the host wanted to read?) and the number of bytes
left for reading from the receive FIFO in RBUF_CNT (host wanted to read
more data than were in the buffer?).
Marlin Technical Manual V.2.7.0
106
Description of the data path
3.
Read received characters from SIO_DATA_REGISTER, beginning at char 0.
4.
To input more characters, repeat from step 1.
To write data:
1.
Query TDRD flag (buffer ready?) and write the number of bytes to send
(copied from SIO register to transmit FIFO) to TBUF_CNT.
2.
Read the available data space left in TBUF_ST (if the buffer can hold more
bytes than are to be transmitted) and number of bytes written to transmit
buffer in TBUF_CNT (if more data is to be transmitted than fits in the buffer).
3.
Write character to SIO_DATA_REGISTER, beginning at char 0.
4.
To output more characters, repeat from step 1.
Note
•

•
Contact your local dealer if you require further information or additional test programs or software.
Allied Vision recommends the use of Hyperterminal™ or
other communication programs to test the functionality
of this feature. Alternatively use SmartView to try out
this feature.
Marlin Technical Manual V.2.7.0
107
Video formats, modes and bandwidth
Video formats, modes and bandwidth
The different Marlin models support different video formats, modes and frame
rates.
These formats and modes are standardized in the IIDC (formerly DCAM) specification.
Resolutions smaller than the generic sensor resolution are generated from the
center of the sensor and without binning.
Note
•

•
The maximum frame rates can only be achieved with
shutter settings lower than 1/framerate. This means that
with default shutter time of 40 ms, a camera will not
achieve frame rates higher than 25 frames/s. In order to
achieve higher frame rates, please reduce the shutter
time proportionally.
The following tables assume that bus speed is
400 Mbit/s. With lower bus speeds (e.g. 200 or 100
Mbit/s) not all frame rates may be achieved.
Note
H-binning means horizontal binning.

V-binning means vertical binning.
Full binning (H+V) means horizontal + vertical binning
Binning increases signal-to-noise ratio (SNR), but decreases
resolution.
Marlin Technical Manual V.2.7.0
108
Video formats, modes and bandwidth
Marlin F-033B/ Marlin F-033C
Format Mode Resolution
0
Color mode
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
YUV411
3
640 x 480
4
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
x
x
x
x
x
YUV422
x
x
x
x
640 x 480
RGB8
x
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
x x*
1.875
fps
Table 36: Video fixed formats Marlin F-033B / F-033C
*: Color camera outputs RAW image, which needs to be converted outside of camera.
Format Mode Resolution
Color mode
Maximal S400 frame rates for Format_7 modes
656 x 494
Mono8
Mono16
73.06 fps
50.16 fps
656 x 492
YUV411
YUV422
RGB8
Mono8 (RAW8)
66.95 fps
50.47 fps
33.68 fps
73.73 fps
328 x 494
Mono8
Mono16
73.06 fps
73.06 fps
H-binning
H-binning
656 x 494
Mono8 (RAW8)
73.06 fps
Raw Bayer pattern
2
656 x 246
Mono8
Mono16
128.00 fps V-binning
100.63 fps V-binning
3
328 x 246
Mono8
128.00 fps H+V binning
0
7
1
Table 37: Video Format_7 default modes Marlin F-033B / F-033C
Marlin Technical Manual V.2.7.0
109
Video formats, modes and bandwidth
Marlin F-046B/ Marlin F-046C
Format Mode Resolution
0
Color mode
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
0
160 x 120
YUV444
1
320 x 240
YUV422
x
x
x
x
2
640 x 480
YUV411
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
x x*
1.875
fps
x
Table 38: Video formats Marlin F-046B / F-046C
*: Color camera outputs RAW image, which needs to be converted outside of camera.
Format Mode Resolution
Color mode
Maximal S400 frame rates for Format_7 modes
780 x 582
Mono8
Mono16
52.81 fps
35.96 fps
780 x 580
YUV411
YUV422
RGB8
Mono8 (RAW8)
48.05 fps
36.12 fps
24.06 fps
52.81 fps
388 x 582
Mono8
Mono16
52.81 fps H-binning
52.81 fps H-binning
780 x 582
Mono8 (RAW8)
52.81 fps Raw Bayer pattern
2
780 x 290
Mono8
Mono16
92.49 fps V-binning
71.75 fps V-binning
3
388 x 290
Mono8
Mono16
92.49 fps H+V binning
92.49 fps H+V binning
0
7
1
Table 39: Video Format_7 default modes Marlin F-046B / F-046C
Marlin Technical Manual V.2.7.0
110
Video formats, modes and bandwidth
Marlin F-080B/ Marlin F-080C (-30 fps)
Format Mode Resolution
0
1
Color mode
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
0
160 x 120
YUV444
1
320 x 240
YUV422
x
x
x
x
2
640 x 480
YUV411
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
4
640 x 480
RGB8
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
0
800 x 600
YUV422
x
x
x
1
800 x 600
RGB8
x
x
2
800 x 600
Mono8
x x*
x x*
3
1024 x 768
YUV422
x*
x*
x*
4
1024 x 768
RGB8
x*
x*
5
1024 x 768
Mono8
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
7
1024 x 768
Mono16
x
x
1.875
fps
x
Table 40: Video fixed formats Marlin F-080B / F-080C (-30 fps)
*: Color camera outputs RAW image, which needs to be converted outside of camera.
Format Mode Resolution
Color mode
Maximal S400 frame rates for Format_7 modes
Mono8
Mono16
YUV411
YUV422
RGB8
Mono8 (RAW8)
20.08 fps
20.08 fps
20.08 fps
20.13 fps
13.57 fps
20.08 fps
516 x 778
Mono8
Mono16
20.03 fps (30.13 fps**)
20.08 fps (30.13 fps**)
H-binning
H-binning
1032 x 778
Mono8 (RAW8)
20.13 fps (30.13 fps**)
Raw Bayer pattern
2
1032 x 388
Mono8
Mono16
35.48 fps (53.16 fps**)
35.48 fps (40.17 fps**)
V-binning
V-binning
3
516 x 388
Mono8
Mono16
35.48 fps (53.16 fps**)
35.48 fps (53.16 fps**)
H+V binning
H+V binning
0
1032 x 778
1032 x 776
7
1
(30.13 fps**)
(20.33 fps**)
(27.16 fps**)
(20.38 fps**)
(13.57 fps**)
(30.13 fps**)
Table 41: Video Format_7 default modes Marlin F-080B / F-080C (-30 fps)
30 fps column applying to this variant only. ** applying to 30 fps variant only
Marlin Technical Manual V.2.7.0
111
Video formats, modes and bandwidth
Marlin F-145B2/ Marlin F-145C2
Format Mode Resolution
0
1
2
Color mode
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
1.875
fps
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
YUV411
x
x
x
3
640 x 480
YUV422
x
x
x
4
640 x 480
RGB8
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
0
800 x 600
YUV422
x
x
x
1
800 x 600
RGB8
x
x
2
800 x 600
Mono8
x x*
x x*
3
1024 x 768
YUV422
x
x
4
1024 x 768
RGB8
x
x
5
1024 x 768
Mono8
x x*
x x*
6
800 x 600
Mono16
7
1024 x 768
Mono16
x
x
0
1280 x 960
YUV422
x
x
x
1
1280 x 960
RGB8
x
x
x
2
1280 x 960
Mono8
x x*
x x*
x x*
3
1600 x 1200 YUV422
4
1600 x 1200 RGB8
5
1600 x 1200 Mono8
6
1280 x 960
x
x
x
7
1600 x 1200 Mono16
x
x
Mono16
Table 42: Video fixed formats Marlin F-145B2 / F-145C2
*: Color camera outputs RAW image, which needs to be converted outside of camera.
Marlin Technical Manual V.2.7.0
112
Video formats, modes and bandwidth
Format Mode Resolution
0
1
7
2
3
Color mode
Maximal S400 frame rates for Format_7 modes
1392 x 1040 Mono8
Mono16
10 fps
10 fps
1392 x 1038 YUV411
YUV422
RGB8
RAW8
10 fps
10 fps
7.5 fps
10 fps
696 x 1040
10 fps
10 fps
H-binning
H-binning
1392 x 1040 Mono8 (RAW)
10 fps
Raw Bayer pattern
1392 x 520
Mono8
Mono16
17 fps
17 fps
V-binning
V-binning
696 x 518
YUV411
YUV422
RGB8
RAW8
10 fps
10 fps
10 fps
10 fps
H+V sub-sampling
H+V sub-sampling
H+V sub-sampling
H+V sub-sampling
696 x 520
Mono8
17 fps
H+V binning
Mono8
Mono16
Table 43: Video Format_7 default modes Marlin F-145B / F-145C
Owing to color interpolation, the maximum height is 1036 pixels in YUV modes
and the first and last pixel columns contain no image information.
Marlin Technical Manual V.2.7.0
113
Video formats, modes and bandwidth
Marlin F-146B / Marlin F-146C
Format Mode Resolution
0
1
2
Color mode
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
1.875
fps
0
160 x 120
YUV444
1
320 x 240
YUV422
x
x
x
x
2
640 x 480
YUV411
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
0
800 x 600
YUV422
x
x
x
1
800 x 600
RGB8
x
x
2
800 x 600
Mono8
x x*
x x*
3
1024 x 768
YUV422
x
x
x
4
1024 x 768
RGB8
x
x
5
1024 x 768
Mono8
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
7
1024 x 768
Mono16
x
x
x
0
1280 x 960
YUV422
x
x
x
1
1280 x 960
RGB8
x
x
x
2
1280 x 960
Mono8
x x*
x x*
x x*
3
1600 x 1200 YUV422
4
1600 x 1200 RGB8
5
1600 x 1200 Mono8
6
1280 x 960
x
x
x
7
1600 x 1200 Mono16
x x*
Mono16
Table 44: Video fixed formats Marlin F-146B / F-146C
*: Color camera outputs RAW image, which needs to be converted outside of camera.
Marlin Technical Manual V.2.7.0
114
Video formats, modes and bandwidth
Format Mode Resolution
0
1
7
2
3
Color mode
Maximal S400 frame rates for Format_7 modes
1392 x 1040 Mono8
Mono16
17.43 fps
11.32 fps
1392 x 1038 YUV411
YUV422
RGB8
RAW8
15.1 fps
11.3 fps
7.55 fps
17.47 fps
696 x 1040
17.43 fps H-binning
17.43 fps H-binning
Mono8
Mono16
1392 x 1040 Mono8 (RAW)
17.43 fps
1392 x 520
Mono16
22.6 fps
V-binning
696 x 518
YUV411
YUV422
RGB8
RAW8
17.51 fps
17.47 fps
17.51 fps
17.47 fps
H+V sub-sampling
H+V sub-sampling
H+V sub-sampling
H+V sub-sampling
696 x 520
Mono8
Mono16
28.57 fps H+V binning
28.57 fps H+V binning
Table 45: Video Format_7 default modes Marlin F-146B / F-146C
Owing to color interpolation, the maximum height is 1038 pixels in YUV modes
and the first and last one or two pixel columns contain incorrect color information.
In Format_7 maximum frame rates are given. Precise lowering is possible with
lower packet size setting.
Marlin Technical Manual V.2.7.0
115
Video formats, modes and bandwidth
Marlin F-201B / Marlin F-201C
Format Mode Resolution
0
1
2
Color mode
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
3
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
x
1.875
fps
x
x
x
YUV411
x
x
x
640 x 480
YUV422
x
x
x
4
640 x 480
RGB8
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
0
800 x 600
YUV422
x
x
x
1
800 x 600
RGB8
x
x
2
800 x 600
Mono8
x x*
x x*
3
1024 x 768
YUV422
x
x
x
4
1024 x 768
RGB8
x
x
5
1024 x 768
Mono8
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
7
1024 x 768
Mono16
x
x
0
1280 x 960
YUV422
x
x
x
1
1280 x 960
RGB8
x
x
x
2
1280 x 960
Mono8
x x*
x x*
x x*
3
1600 x 1200 YUV422
x x*
x x*
x x*
4
1600 x 1200 RGB8
5
1600 x 1200 Mono8
x x*
x x*
x x*
6
1280 x 960
x
x
7
1600 x 1200 Mono16
x x*
Mono16
Table 46: Video fixed formats Marlin F-201B / F-201C
*: Color camera outputs RAW image, which needs to be converted outside of camera.
Marlin Technical Manual V.2.7.0
116
Video formats, modes and bandwidth
Format Mode Resolution
0
1
7
2
3
Color mode
Maximal S400 frame rates for Format_7 modes
1628 x 1236 Mono8
Mono16
12.48 fps
8.14 fps
1628 x 1234 YUV411
YUV422
RGB8
RAW8
10.87 fps
8.15 fps
5.43 fps
12.52 fps
812 x 1236
12.48 fps H-binning
12.48 fps H-binning
Mono8
Mono16
1628 x 1236 Mono8 (RAW)
12.48 fps
1628 x 618
Mono8
Mono16
22.35 fps V-binning
16.26 fps V-binning
812 x 616
YUV411
YUV422
RGB8
RAW8
12.54 fps
12.54 fps
12.54 fps
12.54 fps
812 x 618
Mono8
Mono16
12.47 fps H+V binning
12.47 fps H+V binning
H+V sub-sampling
H+V sub-sampling
H+V sub-sampling
H+V sub-sampling
Table 47: Video Format_7 default modes Marlin F-201B / F-201C
Marlin Technical Manual V.2.7.0
117
Video formats, modes and bandwidth
Marlin F-131B (NIR)
Format Mode Resolution
0
1
2
Color mode
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
YUV411
3
640 x 480
YUV422
4
640 x 480
RGB
5
640 x 480
Mono8
6
640 x 480
Mono16
0
800 x 600
YUV422
1
800 x 600
RGB
2
800 x 600
Mono8
3
1024 x 768
YUV422
4
1024 x 768
RGB
5
1024 x 768
Mono8
6
800 x 600
Mono16
7
1024 x 768
Mono16
0
1280 x 960
YUV422
1
1280 x 960
RGB
2
1280 x 960
Mono8
3
1600 x 1200 YUV422
4
1600 x 1200 RGB
5
1600 x 1200 Mono8
6
1280 x 960
7
1600 x 1200 Mono16
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
x**
x
x
x
x***
x
x
x
x
x
x
x
x
x
1.875
fps
x
Mono16
Table 48: Video fixed formats Marlin F-131B (NIR)
Marlin Technical Manual V.2.7.0
118
Video formats, modes and bandwidth
Format Mode Resolution
7
Color mode
Maximal S400 frame rates for Format_7 modes
0
1280 x 1024 Mono8
25 fps*
1
640 x 1024
Mono8
48 fps* H-sub-sampling
2
1280 x 512
Mono8
50 fps* V-sub-sampling
3
640 x 512
Mono8
94 fps* H+V sub-sampling
Table 49: Video Format_7 default modes Marlin F-131B (NIR)
*: With minimum shutter; increasing shutter will decrease max. frame frequency proportionally due to
global shutter principle.
**: With shutter 23 ms only
***: With shutter 18ms only.
Note

Generally full resolution mono frame rates are achievable only
with shutter settings which fulfil the equation:
Shutter 1/fps- 40ms
Marlin Technical Manual V.2.7.0
119
Video formats, modes and bandwidth
Area of interest (AOI)
The camera’s image sensor has a defined resolution. This indicates the maximum
number of lines and pixels per line that the recorded image may have.
However, often only a certain section of the entire image is of interest. The
amount of data to be transferred can be decreased by limiting the image to a section when reading it out from the camera. At a lower vertical resolution the sensor can be read out faster and thus the frame rate is increased.
Note
The setting of AOIs is supported only in video Format_7.

While the size of the image read out for most other video formats and modes is
fixed by the IIDC specification, thereby determining the highest possible frame
rate, in Format_7 mode the user can set the upper left corner and width and
height of the section (area of interest = AOI) he is interested in to determine the
size and thus the highest possible frame rate.
Setting the AOI is done in the IMAGE_POSITION and IMAGE_SIZE registers.
Attention should be paid to the increments entered in the UNIT_SIZE_INQ and
UNIT_POSITION_INQ registers when configuring IMAGE_POSITION and IMAGE_SIZE.
IMAGE_POSITION and IMAGE_SIZE contain in the respective bits values for the
column and line of the upper left corner and values for the width and height.
Note

For more information see Table 95: Format_7 control and status register on page 193.
Marlin Technical Manual V.2.7.0
120
Video formats, modes and bandwidth
Figure 61: Area of Interest (AOI)
Note
•

•
The left position + width and the upper position + height
may not exceed the maximum resolution of the sensor.
The coordinates for width and height must be divisible by
4.
In addition to the area of interest, some other parameters have an effect on the
maximum frame rate:
• The time for reading the image from the sensor and transporting it into the
FRAME_BUFFER
• The time for transferring the image over the FireWire™ bus
• The length of the exposure time.
Marlin Technical Manual V.2.7.0
121
Video formats, modes and bandwidth
Autofunction AOI
Use this feature to select the image area (work area) on which the following autofunctions work:
• Auto shutter
• Auto gain
• Auto white balance
In the following screenshot you can see an example of the autofunction AOI:
Work area
Figure 62: Example of autofunction AOI (Show work area is on)
Note
Autofunction AOI is independent from Format_7 AOI settings.

If you switch off autofunction AOI, work area position and work
area size follow the current active image size.
To switch off autofunctions, carry out following actions in the
order shown:
1. Uncheck Show AOI check box (SmartView Ctrl2 tab).
2. Uncheck Enable check box (SmartView Ctrl2 tab).
Switch off Auto modi (e.g. Shutter and/or Gain) (SmartView
Ctrl2 tab).
As a reference it uses a grid of at least 300 sample points equally spread over the
AOI.
Marlin Technical Manual V.2.7.0
122
Video formats, modes and bandwidth
Note

To configure this feature in an advanced register see Table 116:
Advanced register: Autofunction AOI on page 214.
Frame rates
An IEEE 1394 camera requires bandwidth to transport images.
The IEEE 1394a bus has very large bandwidth of at least 32 Mbyte/s for transferring (isochronously) image data. Per cycle up to 4096 bytes (or around 1000
quadlets = 4 bytes @ 400 Mbit/s) can thus be transmitted.
Note
All bandwidth data is calculated with:

1 MByte = 1024 kByte
Depending on the video format settings and the configured frame rate, the camera requires a certain percentage of maximum available bandwidth. Clearly the
bigger the image and the higher the frame rate, there is more data to be transmitted.
The following tables indicate the volume of data in various formats and modes to
be sent within one cycle (125 μs) at 400 Mbit/s of bandwidth.
The tables are divided into three formats:
Format
Resolution
Max. video format
Format_0
up to VGA
640 x 480
Format_1
up to XGA
1024 x 768
Format_2
up to UXGA
1600 x 1200
Table 50: Overview fixed formats
They enable you to calculate the required bandwidth and to ascertain the number of cameras that can be operated independently on a bus and in which mode.
Marlin Technical Manual V.2.7.0
123
Video formats, modes and bandwidth
Format
Mode
Resolution
60
fps
0
160 x 120 YUV444
24 bit/pixel
1
320 x 240 YUV422
16 bit/pixel
2
640 x 480 YUV411
12 bit/pixel
3
640 x 480 YUV422
16 bit/pixel
0
4
640 x 480 RGB
24 bit/pixel
5
640 x 480 (Mono8)
8 bit/pixel
6
4H
2560p
640q
640 x 480 Y (Mono16)
16 bit/pixel
7
30
fps
15
fps
7.5
fps
3.75
fps
1/2H
80p
60q
1/4H
40p
30q
1/8H
20p
15q
1H
320p
160q
1/2H
160p
80q
1/4H
80p
40q
1/8H
40p
20q
2H
1280p
480q
1H
640p
240q
1/2H
320p
120q
1/4H
160p
60q
2H
1280p
640q
1H
640p
320q
1/2H
320p
160q
1/4H
160p
80q
2H
1280p
960q
1H
640p
480q
1/2H
320p
240q
1/4H
160p
120q
2H
1280p
320q
1H
640p
160q
1/2H
320p
80q
1/4H
160
p40q
2H
1280p
640q
1H
640p
320q
1/2H
320p
160q
1/4H
160p
80q
640 x 480 Y (Mono16)
Reserved
Table 51: Format_0
As an example, VGA Mono8 @ 60 fps requires four lines (640 x 4 = 2560 pixels/
byte) to transmit every 125 μs: this is a consequence of the sensor's line time of
about 30 μs, so that no data needs to be stored temporarily. It takes 120 cycles
(120 x 125 μs = 15 ms) to transmit one frame, which arrives every 16.6 ms from
the camera. Again no data need to be stored temporarily.
Thus around 64 % of the available bandwidth is used.
Marlin Technical Manual V.2.7.0
124
Video formats, modes and bandwidth
Format
Mode
Resolution
0
800 x 600 YUV422
60
fps
16 bit/pixel
1
30
fps
15
fps
7.5
fps
3.75 fps 1.875
fps
5/2H
2000p
1000q
5/4H
1000p
500q
5/8H
500p
250q
6/16H
250p
125q
5/4H
1000p
750q
5/8H
500p
375q
5/4H
1000p
250q
5/8H
500p
125q
3/2H
1536p
768q
3/4H
768p
384q
3/8H
384p
192q
3/16H
192p
96q
3/4H
768p
576q
3/8H
384p
288q
3/16H
192p
144q
3/16H
192p
48q
800 x 600 RGB
24 bit/pixel
2
800 x 600 Y (Mono8)
5H
4000p
1000q
8 bit/pixel
3
5/2H
2000p
500q
1024 x 768 YUV422
16 bit/pixel
1
4
1024 x 768 RGB
24 bit/pixel
5
1024 x 768 Y (Mono8)
8 bit/pixel
6
800 x 600 (Mono16)
16 bit/pixel
7
3H
3072p
768q
3/2H
1536p
384q
3/4H
768p
192q
3/8H
384p
96q
5/2H
2000p
1000q
5/4H
1000p
500q
5/8H
500p
250q
5/16H
250p
125q
3/2H
1536p
768q
3/4H
768p
384q
3/8H
384p
192q
1024 x 768 Y (Mono16)
16 bit/pixel
3/16H
192p
96q
Table 52: Format_1
Marlin Technical Manual V.2.7.0
125
Video formats, modes and bandwidth
Format
Mode
Resolution
60 fps 30 fps 15 fps 7.5 fps 3.75
fps
0
1280 x 960 YUV422
1H
1280p
640q
16 bit/pixel
1
1280 x 960 RGB
24 bit/pixel
2
1280 x 960 Y (Mono8)
2H
2560p
640q
8 bit/pixel
3
1600 x 1200 YUV422
16 bit/pixel
2
4
1/2H
640p
320q
1/4H
320p
160q
1H
1280p
960q
1/2H
640p
480q
1/4H
320p
240q
1H
1280p
320q
1/2H
640p
160q
1/4H
320p
80q
5/4H
2000p
1000q
5/8H
1000p
500q
5/16H
500p
250q
5/8H
1000p
750q
5/16
500p
375q
5/4H
2000p
500q
5/8H
1000p
250q
5/16H
500p
125q
1H
1280p
640q
1/2H
640p
320q
1/4H
320p
160q
5/4H
2000p
1000q
5/8H
1000p
500q
5/16H
500p
250q
1600 x 1200 RGB
24 bit/pixel
5
1600 x 1200 Y (Mono8)
5/2H
4000p
1000q
8 bit/pixel
6
1280 x 960 Y (Mono16)
16 bit/pixel
7
1600 x 1200 Y (Mono16)
16 bit/pixel
1.875
fps
Table 53: Format_2
As already mentioned, the recommended limit for transferring isochronous
image data is 1000q (quadlets) per cycle or 4096 bytes (with 400 Mbit/s of bandwidth).
The third table shows that a MF-145B2 @ 7.5 fps has to send 1280 pixels or 1 line
of video per cycle. The camera thus uses 32 % of available bandwidth. This allows
up to three cameras with these settings to be operated independently on the
same bus.
Note

•
•
If the cameras are operated with an external trigger the
maximum trigger frequency may not exceed the highest
continuous frame rate, so preventing frames from being
dropped or corrupted.
IEEE 1394 adapter cards with PCILynx™ chipsets have a
limit of 4000 bytes per cycle.
Marlin Technical Manual V.2.7.0
126
Video formats, modes and bandwidth
The frame rates in video modes 0 to 2 are specified and set fixed by IIDC V1.3.
Frame rates Format_7
In video Format_7 frame rates are no longer fixed but can be varied dynamically
by the parameters described below.
Note

•
•
Different values apply for the different sensors.
Frame rates may be further limited by longer shutter
times and/or bandwidth limitation from the IEEE 1394
bus.
The following formula is used to calculate for the CCD models the highest frame
rate in Format_7:
1
framerate In = framerate CCD = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
Formula 3: Frame rate calculation
It assumes that the maximum frame rate is the inverse of the sum of all events in
a CCD, which take time such as:
Note

•
•
•
•
The time to transfer the storage to the vertical shift register (Charge transfer time)
The time to shift out the dummy lines
The time to dump the lines outside the AOI
The time to shift out the lines of the AOI. (Scanning time)
Details are described in the next chapters:
• Max. frame rate of CCD (theoretical formula)
• Diagram of frame rates as function of AOI by constant width
• Table with max. frame rates as function of AOI by constant width
Note
Different parameters apply for different models.

Marlin Technical Manual V.2.7.0
127
Video formats, modes and bandwidth
Marlin F-033: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = --------------------------------------------------------------------------------------------------------------------------------------------------------------30s + 68.5μs +  494 – AO_HEIGHT   3.45μs + AOI_HEIGHT  27.1μs
Formula 4: Frame rate calculation Marlin F-033 as function of AOI height
Frame rate = f(AOI height)
Marlin F-033
500
450
400
Frame rate / fps
350
300
250
200
150
100
50
0
0
50
100
150
200
250
300
350
400
450
500
550
AOI height / pixel
Figure 63: Frame rates Marlin F-033 as function of AOI height
AOI height / pixel
Frame rate / fps
Tframe / ms
494
74.15
13.49
480
76.02
13.15
400
88.79
11.26
320
106.71
9.37
240
133.71
7.48
120
215.48
4.64
20
439.41
2.28
Table 54: Frame rates Marlin F-033 as function of AOI height
Marlin Technical Manual V.2.7.0
128
Video formats, modes and bandwidth
Marlin F-046: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = --------------------------------------------------------------------------------------------------------------------------------------------------------31μs + 88μs +  582 – AOI_HEIGHT   4.15μs + AOI_HEIGHT  32.2μs
Formula 5: Frame rate calculation Marlin F-046 as function of AOI height
Frame rate = f(AOI height)
MARLIN F-046
350
300
Frame rate / fps
250
200
150
100
50
0
0
50
100
150
200
250
300
350
400
450
500
550
600
650
AOI height / pixel
Figure 64: Frame rates Marlin F-046 as function of AOI height
AOI height / pixel
Frame rate / fps
Tframe / ms
582
53.02
18.86
480
62.51
16.00
400
72.70
13.75
320
86.88
11.51
300
91.33
10.95
240
107.92
9.27
120
169.48
5.90
20
323.07
3.10
Table 55: Frame rates Marlin F-046 as function of AOI height
Marlin Technical Manual V.2.7.0
129
Video formats, modes and bandwidth
Marlin F-080: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------71.93μs + 129.48μs +  779 – AOI_HEIGHT   8.24μs + AOI_HEIGHT  63.48μs
Formula 6: Frame rate calculation Marlin F-080 as function of AOI height
Frame rate = f(AOI height)
MARLIN F-080
120
100
Frame rate / fps
80
60
40
20
0
0
50
100
150
200
250
300
350
400
450
500
550
600
650
700
750
800
850
AOI height / pixel
Figure 65: Frame rates Marlin F-080 as function of AOI height
AOI height
Frame rate / fps
Tframe / ms
778
20.16
49.60
770
20.34
49.16
768
20.39
49.04
760
20.57
48.60
500
29.21
34.24
490
29.68
33.69
480
30.18
33.14
470
30.69
32.58
460
31.22
32.03
450
31.77
31.48
Table 56: Frame rates Marlin F-080 as function of AOI height
Marlin Technical Manual V.2.7.0
130
Video formats, modes and bandwidth
AOI height
Frame rate / fps
Tframe / ms
240
50.31
19.88
120
75.48
13.25
110
78.76
12.70
100
82.34
12.14
90
86.27
11.59
80
90.58
11.04
70
95.35
10.49
60
100.66
9.93
Table 56: Frame rates Marlin F-080 as function of AOI height
Marlin Technical Manual V.2.7.0
131
Video formats, modes and bandwidth
Marlin F-080-30 fps: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = ----------------------------------------------------------------------------------------------------------------------------------------------------------------------47.96μs + 86.32μs +  779 – AOI_HEIGHT   5.5μs + AOI_HEIGHT  42.32μs
Formula 7: Frame rate calculation Marlin F-080-30 fps as function of AOI height
Frame rate = f(AOI height)
Marlin F-080-30fps
200
180
160
Frame rate / fps
140
120
100
80
60
40
20
0
0
50
100
150
200
250
300
350
400
450
500
550
600
650
700
750
800
850
AOI height / pixel
Figure 66: Frame rates of Marlin F-080-30 fps as function of AOI height
AOI height
Frame rate / fps
Tframe / ms
778
30.24
33.06
768
30.58
32.70
600
37.72
26.51
480
45.26
22.09
240
75.44
13.26
120
113.16
8.84
60
150.88
6.63
30
181.05
5.52
Table 57: Frame rates of Marlin F-080-30 fps as function of AOI height
Marlin Technical Manual V.2.7.0
132
Video formats, modes and bandwidth
Marlin F-145: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = ----------------------------------------------------------------------------------------------------------------------------------------------------------------105μs + 288μs +  1040 – AOI_HEIGHT   19.6μs + AOI_HEIGHT  92.3μs
Formula 8: Frame rate calculation Marlin F-145 as function of AOI height
Frame rate = f(AOI height)
Marlin F-145
45
40
35
Frame rate / fps
30
25
20
15
10
5
0
0
100
200
300
400
500
600
700
800
900
1000
1100
AOI height / pixel
Figure 67: Frame rates Marlin F-145 as function of AOI height
AOI height
Frame rate / fps
Tframe / ms
1040
10.38
96.39
960
11.04
90.57
600
15.53
64.40
480
17.96
55.67
240
26.16
38.23
120
33.90
29.50
60
39.78
25.14
Table 58: Frame rates Marlin F-145 as function of AOI height
Marlin Technical Manual V.2.7.0
133
Video formats, modes and bandwidth
Marlin F-146: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = --------------------------------------------------------------------------------------------------------------------------------------------------254μs +  1040 – AOI_HEIGHT   11.80μs + AOI_HEIGHT  54.78μs
Formula 9: Frame rate calculation Marlin F-146 as function of AOI height
Frame rate = f(AOI height)
Marlin F-146
45
40
35
Frame rate / fps
30
25
20
15
10
5
0
0
100
200
300
400
500
600
700
800
900
1000
1100
AOI height / pixel
Figure 68: Frame rates Marlin F-146 as function of AOI height
AOI height
Frame rate / fps
Tframe / ms
1040
17.47
57.23
1024
17.69
56.54
960
18.59
53.79
768
21.96
45.53
600
26.10
38.31
480
30.16
33.16
240
43.78
22.84
120
56.55
17.68
60
66.20
15.10
Table 59: Frame rates Marlin F-146 as function of AOI height
Marlin Technical Manual V.2.7.0
134
Video formats, modes and bandwidth
Marlin F-201: AOI frame rates
1
frame rate = ----------------------------------------------------------------------------------------T Ch arg eTrans + T Dummy + T Dump + T Scan
1
frame rate = ---------------------------------------------------------------------------------------------------------------------------------------------217s +  1236 – AOI_HEIGHT   7.4s + AOI_HEIGHT  64.5s
Formula 10: Frame rate calculation Marlin F-201 as function of AOI height
Frame rate = f(AOI height)
Marlin F-201
80
75
70
65
60
Frame rate / fps
55
50
45
40
35
30
25
20
15
10
5
0
0
100
200
300
400
500
600
700
800
900
1000
1100
1200
1300
AOI height / pixel
Figure 69: Frame rates Marlin F-201 as function of AOI height
AOI height
1236
1200
1100
1040
1024
960
768
600
480
240
120
60
Frame rate / fps
12.51
12.84
13.86
14.55
14.74
15.58
18.79
22.92
27.20
43.35
61.67
78.19
Tframe / ms
79.94
77.89
72.17
68.75
67.83
64.18
53.22
43.62
36.77
23.07
16.22
12.79
Table 60: Frame rates Marlin F-201 as function of AOI height
Marlin Technical Manual V.2.7.0
135
Video formats, modes and bandwidth
Marlin F-131: AOI frame rates
This model uses a CMOS sensor with global shutter. As mentioned earlier for the
non pipelined global shutter, the integration time must be added to the readout
time to define the maximum frame rate. The next table gives an example: (it
assumes full horizontal width and an integration time of 1 ms).
Read note in Chapter Video formats, modes and bandwidth on page 108.
Limiting the field of view in both vertical as well as horizontal direction gives a
proportional increase in speed. This is in contrary to CCD sensors where the horizontal image limit does not increase the frame rate.
AOI height / pixel
Frame rate / fps
1.024
24.42
960
26.01
600
40.97
480
50.69
240
96.46
120
175.84
60
298.78
Format_7, global shutter
1 ms integration time
Table 61: Frame rates Marlin F-131 as function of AOI height (full horizontal width)
In order to calculate the maximum achievable frame rate (with certain exposure
time) the following equation can be used:
1
frame rate = --------------------------------------------------------------------------------------------------------------------------  200μs + Height   Width  25ns  + 4μs  + ExpTime 
Formula 11: Frame rate calculation Marlin F-131 as function of AOI height and width
Marlin Technical Manual V.2.7.0
136
Controlling image capture
Controlling image capture
Shutter modes The cameras support the SHUTTER_MODES specified in IIDC V1.3. For all models
this shutter is a global shutter; meaning that all pixels are exposed to the light
at the same moment and for the same time span.
Continuous mode In continuous modes the shutter is opened shortly before the vertical reset happens, thus acting in a frame-synchronous way.
External trigger
Combined with an external trigger, it becomes asynchronous in the sense that it
occurs whenever the external trigger occurs. Individual images are recorded
when an external trigger impulse is present. This ensures that even fast moving
objects can be grabbed with no image lag and with minimal image blur.
Camera I/O The external trigger is fed as a TTL signal through Pin 4 of the camera I/O connector.
CMOS sensors For CMOS sensors, a global shutter is not common. Normally a rolling curtain
shutter is used to shorten the exposure or integration time. The curtain's width
defines the integration time and the curtain sweeps with the frame readout time
over the image. Although this is appropriate for still images, image distortion
will be created with moving objects, because the upper image part is scanned
earlier than the lower image part. For this reason the Marlin F-131 features a non
pipelined global shutter only. A side effect of this type of global shutter is that
the integration or shutter time is added to the readout time, thus affecting the
frame rates to be achieved.
Trigger modi
Marlin cameras support IIDC conforming Trigger_Mode_0 and Trigger_Mode_1
and special Trigger_Mode_15 (bulk trigger).
Trigger Mode
also known as
Description
Trigger_Mode_0
Edge mode
Sets the shutter time according to the value set in
the shutter (or extended shutter) register
Trigger_Mode_1
Level mode
Sets the shutter time according to the active low
time of the pulse applied (or active high time in the
case of an inverting input)
Trigger_Mode_15
Programmable mode
Is a bulk trigger, combining one external trigger
event with continuous or one-shot or multi-shot
internal trigger
Table 62: Trigger modi
Marlin Technical Manual V.2.7.0
137
Controlling image capture
External Trigger input, as applied at input pin, trigger falling edge
External Trigger input, after inverting opto coupler
Shutter register value
External Trigger input, as applied at input pin
External Trigger input,
after inv. Opto.
Integration Time
Figure 70: Trigger_mode_0 and 1
Marlin Technical Manual V.2.7.0
138
Controlling image capture
Bulk trigger (Trigger_Mode_15)
Trigger_Mode_15 is a bulk trigger, combining one external trigger event with
continuous or one-shot or multi-shot internal trigger.
It is an extension to the IIDC trigger modes. One external trigger event can be
used to trigger a multitude of internal image intakes.
This is especially useful for:
• Grabbing exactly one image based on the first external trigger.
• Filling the camera's internal image buffer with one external trigger without overriding images.
• Grabbing an unlimited amount of images after one external trigger (surveillance)
The next image details this mode.
External Trigger input, after inverting optocoupler
N x image; N: continuous, one_shot, multi_shot
Figure 71: Trigger_Mode_15
Marlin Technical Manual V.2.7.0
139
Controlling image capture
The functionality is controlled via bit [6] and bitgroup [12-15] of the IIDC register:
Register
Name
Field
Bit
Description
[0]
Presence of this feature:
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
O: Control with value in the Value field
1: Control with value in the Absolute value
CSR
If this bit = 1 the value in the Value field has
to be ignored.
---
[2..5]
Reserved
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
If this bit = 0, other fields will be read only.
Trigger_Polarity
[7]
Select trigger polarity
(Except for software trigger)
0xF0F00830 TRIGGER_MODE Presence_Inq
If Polarity_Inq is 1:
Write to change polarity of the trigger input.
Read to get polarity of the trigger input.
If Polarity_Inq is 0:
Read only.
0: Low active input
1: High active input
Trigger_Source [8..10]
Select trigger source
Set trigger source ID from trigger source
ID_Inq.
Trigger_Value
[11]
Trigger input raw signal value
read only
0: Low
1: High
Trigger_Mode
[12..15] Trigger_Mode
(Trigger_Mode_0..15)
---
[16..19] Reserved
Parameter
[20..31] Parameter for trigger function, if required
(optional)
Table 63: Trigger_Mode_15 (Bulk trigger)
Marlin Technical Manual V.2.7.0
140
Controlling image capture
The screenshots below illustrate the use of Trigger_Mode_15 on a register level:
• Line #1switches continuous mode off, leaving viewer in listen mode.
• Line #2 prepares 830h register for external trigger and Mode_15.
Left = continuous
Middle = one-shot
Right = multi-shot
Line #3 switches camera back to
continuous mode. Only one
image is grabbed precisely with
the first external trigger.
Line #3 toggles one-shot bit [0]
of the one-shot register 61C so
that only one image is grabbed,
based on the first external trigger.
Line #3 toggles multi-shot bit [1]
of the one-shot register 61C so
that Ah images are grabbed,
starting with the first external
trigger.
To repeat rewrite line three.
To repeat rewrite line three.
To repeat rewrite line three.
Table 64: Description: using Trigger_Mode_15: continuous, one-shot, multi-shot
Figure 72: Using Trigger_Mode_15: Continuous, one-shot, multi-shot
Note
Shutter for the images is controlled by shutter register.

Marlin Technical Manual V.2.7.0
141
Controlling image capture
Trigger delay
As already mentioned earlier, since firmware version 2.03, Marlin cameras feature various ways to delay image capture based on external trigger.
With IIDC V1.31 there is a standard CSR at Register F0F00534/834h to control a
delay up to FFFh x timebase value.
The following table explains the inquiry register and the meaning of the various
bits.
Register
Name
Field
0xF0F00534 TRIGGER_DLY_INQUIRY Presence_Inq
Bit
Description
[0]
Indicates presence of this feature
(read only)
Abs_Control_Inq [1]
Capability of control with absolute
value
---
[2]
Reserved
One_Push_Inq
[3]
One Push auto mode (controlled
automatically by the camera once)
ReadOut_Inq
[4]
Capability of reading out the value
of this feature
ON_OFF
[5]
Capability of switching this feature
ON and OFF
Auto_Inq
[6]
Auto Mode (controlled automatically by the camera)
Manual_Inq
[7]
Manual Mode (controlled by user)
Min_Value
[8..19]
Minimum value for this feature
Max_Value
[20..31] Maximum value for this feature
Table 65: Trigger_Delay_Inquiry register
Marlin Technical Manual V.2.7.0
142
Controlling image capture
Name
0xF0F00834
Field
Bit
Description
[0]
Presence of this feature:
0:N/A
1:Available
Abs_Control
[1]
Absolute value control
O: Control with value in the Value field
1: Control with value in the Absolute
value CSR
If this bit = 1, the value in the Value field
has to be ignored
---
[2..5]
Reserved
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF
1: ON
If this bit = 0, other fields will be read
only.
---
[7..19]
Reserved
Value
[20..31] Value
TRIGGER_DELAY Presence_Inq
If you write the value in OFF mode, this
field will be ignored.
If ReadOut capability is not available,
then the read value will have no meaning.
Table 66: CSR: trigger delay
Trigger delay advanced register
In addition, the cameras have an advanced register which allows to even more
precisely delay the image capture after receiving a hardware trigger.
Register
Name
Field
Bit
Description
0xF1000400
TRIGGER_DELAY Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Trigger delay on/off
---
[7..10]
Reserved
DelayTime
[11..31]
Delay time in μs
Table 67: Advanced CSR: trigger delay
The advanced register allows to delay the start of the integration by max. 221 μs,
which is max. 2.1 s after a trigger edge was detected.
Marlin Technical Manual V.2.7.0
143
Controlling image capture
Note
•

•
Switching trigger delay to ON also switches external Trigger_Mode_0 to ON.
This feature works with external Trigger_Mode_0 only.
Exposure time (shutter) and offset
•
The exposure (shutter) time for continuous mode and Trigger_Mode_0 is
based on the following formula:
Shutter register value x timebase + offset
•
The exposure (shutter) time for Trigger_Mode_1 is based on the following
formula:
Length of active pulse + offset
Note
•

•
Trigger_Mode_1: Do not make the pulse shorter than 20
μs, because this will not shorten the exposure time any
further.
Trigger_Mode_1: If you start exposure while the sensor is
being read out, there will be an additional jitter for the
exposure time (the jitter values are the same as in Table
73: Jitter at exposure start (no binning, no sub-sampling) on page 151).
The register value is the value set in the corresponding IIDC register (SHUTTER
[81Ch]). This number is in the range between 1 and 4095.
The shutter register value is multiplied by the time base register value (see Table
102: Timebase ID on page 202). The default value here is set to 20 μs.
A camera-specific offset is also added to this value. It is different for the camera
models:
Marlin Technical Manual V.2.7.0
144
Controlling image capture
Exposure time offset
Camera model
Exposure time offset
Marlin F-033
12 μs
Marlin F-046
12 μs
Marlin F-080
30 μs
Marlin F-080-30fps
17 μs
Marlin F-145
26 μs
Marlin F-146
26 μs
Marlin F-201
39 μs
Marlin F-131
 1 μs
Table 68: Camera-specific exposure time offset
Minimum exposure time
Camera model
Minimum exposure time
Effective min. exp. time
= Min. exp. time + offset
Marlin F-033
20 μs
20 μs + 12 μs = 32 μs
Marlin F-046
20 μs
20 μs + 12 μs = 32 μs
Marlin F-080
20 μs
20 μs + 30 μs = 50 μs
Marlin F-080-30fps
20 μs
20 μs + 17 μs = 37 μs
Marlin F-145
12 μs
12 μs + 26 μs = 38 μs
Marlin F-146
20 μs
20 μs + 26 μs = 46 μs
Marlin F-201
20 μs
20 μs + 39 μs = 59 μs
Marlin F-131
10 μs
10 μs + 0 μs = 10 μs
Table 69: Camera-specific minimum exposure time
Example Marlin F-033
Camera
Register value
Timebase
Marlin F-033
100
20 μs
Table 70: Register value and Timebase for Marlin F-033
register value x time base + offset = exposure time
100 x 20 μs + 12 μs = 2012 μs exposure time
Marlin Technical Manual V.2.7.0
145
Controlling image capture
The minimum adjustable exposure time set by register is 20 μs.  The real minimum exposure time of a Marlin F-033 is then:
20 μs + 12 μs = 32 μs
Extended shutter
The exposure time for long-term integration of up to 67 seconds can be extended
via the advanced register: EXTENDED_SHUTTER
Register
Name
Field
Bit
Description
0xF100020C
EXTD_SHUTTER
Presence_Inq
[0]
Indicates presence of this feature (read
only)
---
[1.. 5]
Reserved
ExpTime
[6..31]
Exposure time in μs
Table 71: Advanced register: extended shutter
The longest exposure time, 3FFFFFFh, corresponds to 67.11 sec.
The lowest possible value of ExpTime is camera-specific (see Table 69: Cameraspecific minimum exposure time on page 145).
Note
•

•
•
•
Exposure times entered via the 81Ch register are mirrored
in the extended register, but not vice versa.
Longer integration times not only increase sensitivity,
but may also increase some unwanted effects such as
noise and pixel-to-pixel non-uniformity. Depending on
the application, these effects may limit the longest
usable integration time.
Changes in this register have immediate effect, even
when the camera is transmitting.
Extended shutter becomes inactive after writing to a format/mode/frame rate register.
Marlin Technical Manual V.2.7.0
146
Controlling image capture
One-shot
Marlin cameras can record an image by setting the one-shot bit in the 61Ch register. This bit is automatically cleared after the image is captured. If the camera
is placed in Iso_Enable mode (see Chapter ISO_Enable / Free-Run on page 149),
this flag is ignored.
If one-shot mode is combined with the external trigger, the one-shot command
is used to arm it. The following screenshot shows the sequence of commands
needed to put the camera into this mode. It enables the camera to grab exactly
one image with an external trigger edge.
If there is no trigger impulse after the camera has been armed, one-shot can be
cancelled by clearing the bit.
Figure 73: One_shot control
One-shot command on the bus to start of
exposure
The following sections describe the time response of the camera using a single
frame (one-shot) command. As set out in the IIDC specification, this is a software command that causes the camera to record and transmit a single frame.
The following values apply only when the camera is idle and ready for use. Full
resolution must also be set.
Feature
Value
One-shot  Microcontroller-Sync
250 μs (processing time in the
microcontroller)
μC-Sync/ExSync  Integration-Start 8 μs
Table 72: Values for one-shot
Marlin Technical Manual V.2.7.0
147
Controlling image capture
Microcontroller-Sync is an internal signal. It is generated by the microcontroller
to initiate a trigger. This can either be a direct trigger or a release for ExSync if
the camera is externally triggered.
End of exposure to first packet on the bus
After the exposure, the CCD or CMOS sensor is read out; some data is written into
the FRAME_BUFFER before being transmitted to the bus.
The time from the end of exposure to the start of transport on the bus is:
500 μs ± 62.5 μs
This time 'jitters with the cycle time of the bus (125 μs).
C-> ExSync
Exposure
Integration-Start
Timebase Reg.
X
Shutter-Reg.
Offset
Processing Delay
First Packet on Bus
< 250µs
<= 8µs
Timebase x Shutter + Offset = Exposure Time
OneShot Command
Marlin F-033:
12 µs
Marlin F-046
12µs
Marlin F-080:
30 µs
Marlin F-080-30fps: 17 µs
Marlin F-145:
26µs
Marlin F-146:
26 µs
Marlin F-201:
39 µs
Marlin F-131:
< 1 µs
<= 500µs
+/-62.5 µs
Figure 74: Data flow and timing after end of exposure
Marlin Technical Manual V.2.7.0
148
Controlling image capture
Multi-Shot
Setting multi-shot and entering a quantity of images in Count_Number in the
61Ch register enables the camera to record a specified number of images.
The number is indicated in bits 16 to 31. If the camera is put into Iso_Enable
mode (see Chapter ISO_Enable / Free-Run on page 149), this flag is ignored and
deleted automatically once all the images have been recorded.
If multi-shot mode is activated and the images have not yet all been captured,
it can be cancelled by resetting the flag. The same result can be achieved by setting the number of images to 0.
Multi-shot can also be combined with the external trigger in order to grab a certain number of images based on an external trigger. This is especially helpful in
combination with the so called Deferred_Mode to limit the number of grabbed
images to the FIFO size.
ISO_Enable / Free-Run
Setting the MSB (bit 0) in the 614h register (ISO_ENA) puts the camera into
ISO_Enable mode or Continuous_Shot (free-run). The camera captures an
infinite series of images. This operation can be quit by deleting the 0 bit.
Asynchronous broadcast
The camera accepts asynchronous broadcasts. This involves asynchronous write
requests that use node number 63 as the target node with no acknowledge.
This makes it possible for all cameras on a bus to be triggered by software simultaneously - e.g. by broadcasting a one-shot. All cameras receive the one_shot
command in the same IEEE 1394 bus cycle. This creates uncertainty for all cameras in the range of 125 μs.
Inter-camera latency is described in Chapter Jitter at start of exposure on page
150.
Marlin Technical Manual V.2.7.0
149
Controlling image capture
The following screenshot shows an example of broadcast commands sent with
the Firedemo example of FirePackage (version 1V51 or newer):
Figure 75: Broadcast one-shot
•
•
Line 1 shows the broadcast command, which stops all cameras connected
to the same IEEE 1394 bus. It is generated by holding the Shift key down
while clicking on Write.
Line 2 generates a broadcast one-shot in the same way, which forces all
connected cameras to simultaneously grab one image.
Jitter at start of exposure
The following chapter discusses the latency time which exists for all CCD models
when either a hardware or software trigger is generated, until the actual image
exposure starts.
Owing to the well-known fact that an Interline Transfer CCD sensor has both a
light sensitive area and a separate storage area, it is common to interleave
image exposure of a new frame and output that of the previous one. It makes
continuous image flow possible, even with an external trigger.
CMOS This is different to the way the CMOS sensor of the Marlin F-131 works: the
image sensitive area is also the storage area, which means that it cannot be used
for the integration of the new frame until it has been read out.
Continuous image flow is thus only possible with the so-called rolling shutter.
Asynchronous image acquisition only makes sense with the global shutter; leading to a non-interleaving exposure - readout - exposure sequence. For every
exposure cycle the sensor is completely reset so that the camera needs to be
idle.
CCD For the CCDs the uncertainty time delay before the start of exposure depends on
the state of the sensor. A distinction is made as follows:
Marlin Technical Manual V.2.7.0
150
Controlling image capture
FVal is active  the sensor is reading out, the camera is busy
In this case the camera must not change horizontal timing so that the trigger
event is synchronized with the current horizontal clock. This introduces a max.
uncertainty which is equivalent to the line time. The line time depends on the
sensor used and therefore can vary from model to model.
FVal is inactive  the sensor is ready, the camera is idle
In this case the camera can resynchronize the horizontal clock to the new trigger
event, leaving only a very short uncertainty time of the master clock period.
Model
Camera idle
Camera busy
Marlin F-033
33.33 ns
27.03 μs
Marlin F-046
33.33 ns
32.17 μs
Marlin F-080
50 ns
63.50 μs
Marlin F-131
25 ns
Not applicable
Marlin F-145
50 ns
92.25 μs
Marlin F-146
30 ns
54.78 μs
Marlin F-201
30 ns
64.5 μs
Table 73: Jitter at exposure start (no binning, no sub-sampling)
Note
•

•
Jitter at the beginning of an exposure has no effect on
the length of exposure, i.e. it is always constant.
By default, the Marlin F-131, the CMOS sensor uses
global shutter, so it cannot be re-triggered until the previous image has been read out.
Frame memory and deferred image transport
An image is normally captured and transported in consecutive steps. The image
is taken, read out from the sensor, digitized and sent over the 1394 bus.
Deferred image transport
As all Marlin cameras are equipped with built in image memory, this order of
events can be paused or delayed by using the deferred image transport feature.
Marlin cameras are equipped with 8 MB of RAM. The table below shows how many
frames can be stored by each model. The memory operates according to the FIFO
(first in, first out) principle. This makes addressing for individual images unnecessary.
Marlin Technical Manual V.2.7.0
151
Controlling image capture
Model
Memory Size
Marlin F-033
17 frames
Marlin F-046
13 frames
Marlin F-080
7 frames
Marlin F-131
4 frames
Marlin F-145
3 frames
Marlin F-146
3 frames
Marlin F-201
2 frames
Table 74: FIFO memory size
Deferred image transport is especially useful for multi-camera applications:
Assuming several cameras acquire images concurrently. These are stored in the
built-in image memory of every camera. Until this memory is full, the limiting
factor of available bus bandwidth, DMA- or ISO-channel is overcome.
Note
Configuration

To configure this feature in an advanced register: See Table
108: Advanced register: Deferred image transport on page
208.
HoldImg mode
By setting the HoldImg flag, transport of the image over the 1394 bus is stopped
completely. All captured images are stored in the internal ImageFiFo. The camera reports the maximum possible number of images in the FiFoSize variable.
Note
•

•
•
•
•
•
Pay attention to the maximum number of images that can
be stored in FIFO. If you capture more images than the
number in FIFOSize, the oldest images are overwritten.
The extra SendImage flag is set to true to import the
images from the camera. The camera sends the number of
images that are entered in the NumOfImages parameter.
If NumOfImages is 0 all images stored in FIFO are sent.
If NumOfImages is not 0, the corresponding number of
images is sent.
If the HoldImg field is set to false, all images in
ImageFIFO are deleted. No images are sent.
The last image in the FIFO will be corrupted, when simultaneously used as input buffer while being read out. Read
out one image less than max. buffer size in this case.
Marlin Technical Manual V.2.7.0
152
Controlling image capture
The following screenshot displays the sequence of commands needed to work
with deferred mode.
.................................Stop continuous mode of camera
.................................Check pres. of deferred mode and FIFO size (Dh= 13 fr.)
.................................Switch deferred mode on
.................................Do first One_shot
.................................Do second One_shot
.................................Check that two images are in FIFO
.................................Read out the first image of FIFO
.................................Check how many images are left in FIFO
.................................Read out the second image of FIFO
....................................Check how many images are left in FIFO
Figure 76: Example: Controlling deferred mode
FastCapture
Note
This mode can be activated only in Format_7.

By setting FastCapture to false, the maximum frame rate both for image acquisition and read out is associated with the packet size set in the
BYTE_PER_PACKET register. The lower this value is, the lower the attainable
frame rate is.
By setting FastCapture to true, all images are recorded at the highest possible
frame rate, i.e. the setting above does not affect the frame rate for the image
intake but only the read out. This mode is ideal for applications where a burst of
images need to be recorded at the highest sensor speed but the output can be at
a lower frame frequency to save bandwidth.
Marlin Technical Manual V.2.7.0
153
Controlling image capture
Sequence mode
Generally all Marlin cameras enable certain image settings to be modified on the
fly, e.g. gain and shutter can be changed by the host computer by writing into
the gain and shutter register even while the camera is running. An uncertainty
of one or two images remains because normally the host does not know (especially with external trigger) when the next image will arrive.
Sequence mode is a different concept where the camera holds a set of different
image parameters for a sequence of images. The parameter set is stored volatile
in the camera for each image to be recorded. This sequence of parameter sets is
simply called a sequence. The advantage is that the camera can easily synchronize this parameter set with the images so that no uncertainty can occur. All CCD
model Marlin cameras support 32 different sequence parameters.
Examples
For a sequence of images, each image can be recorded with a different shutter or
gain to obtain different brightness effects.
The image area (AOI) of a sequence of images can automatically be modified,
thus creating a panning or sequential split screen effect.
The following registers can be modified to affect the individual steps of the
sequence.
Mode
this registers can be modified...
All modes
Cur_V_Mode, Cur_V_Format, ISO_Channel, ISO_Speed, Brightness,
White_Balance (color cameras only), Shutter, Gain, look-up table, TestImage
Fixed modes only
Cur_V_Frm_Rate
Format_7 only
Image_Position, Image_Size, Color_Coding_ID, Byte_Per_Packet
Table 75: Registers to be modified within a sequence
Note

Caution

Sequence mode requires not only FW 3.03 but also special care
if changing image size, Color_Coding_ID and frame rate
related parameters. This is because these changes not only
affect settings in the camera but also require corresponding
settings in the receiving software in the PC.
Incorrect handling may lead to image corruption or loss of
subsequent images.
Please ask for detailed support if you want to use this feature.
Marlin Technical Manual V.2.7.0
154
Controlling image capture
How is sequence mode implemented?
There is a FIFO (first in first out) memory for each of the IIDC v. 1.3 registers
listed above. The depth of each FIFO is fixed to 32(dez) complete sets. Functionality is controlled by the following advanced registers.
Register
Name
Field
Bit
Description
0xF1000220
SEQUENCE_CTRL
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..4]
Reserved
AutoRewind
[5]
ON_OFF
[6]
Enable/disable this feature
---
[7..15]
Reserved
MaxLength
[16..23] Max possible length of a sequence
(read only)
SeqLength
[24..31] Length of the sequence (32 dez for
all CCD models)
0xF1000224
SEQUENCE_PARAM ---
[0..4]
Reserved
ApplyParameters
[5]
Apply settings to selected image of
sequence; auto-reset
IncImageNo
[6]
Increment ImageNo after
ApplyParameters has finished
---
[7..23]
Reserved
ImageNo
[24..31] Number of image within a sequence
Table 76: Advanced register: Sequence mode
Marlin Technical Manual V.2.7.0
155
Controlling image capture
The following flow diagram shows how to set up a sequence:
Set
SEQUENCE_CTRL
ON_OFF flag to
true (1)
Set SeqLength to
desired length
(<=MaxLength)
Set ImageNo = 0 in
SEQUENCE_PARAM
Assign image
parameters in the
corresp. registers
ApplyParameters
= 1 (AutoReset)
Repeat steps until
sequence is
complete
Set flag
IncImageNo = 1
Start sequence in
MultiShot or
ISOEnable mode
Figure 77: Sequence mode flow diagram
During sequencing, the camera obtains the required parameters, image by
image, from the corresponding FIFOs (e.g. information for exposure time).
Marlin Technical Manual V.2.7.0
156
Controlling image capture
Points to pay attention to when working with a
sequence
Note
•

•
•
•
•
•
If more images are recorded than defined in SeqLength,
the settings for the last image remain in effect.
If sequence mode is cancelled, the camera can use the
FIFO for other tasks. For this reason, a sequence must be
loaded back into the camera after sequence mode has
been cancelled.
To repeat the sequence, stop the camera and send the
multi-shot or IsoEnable command again. Each of these
two commands resets the sequence.
Using single-shot mode in combination with a sequence
does not make sense, because single-shot mode restarts
the sequence every time.
The sequence may not be active when setting the AutoRewind flag. For this reason it is important to set the flag
before the multi-shot or IsoEnable commands.
If the sequence is used with the deferred transport feature, the number of images entered in Seq_Length may
not be exceeded.
The following screenshot shows an example of a sequence for eight different
image settings. It uses the Firetool program as graphical representation. Please
note the changes in the shutter time; that creates descending image brightness,
and the change in the image position; which creates a panning effect.
Figure 78: Example of sequence mode settings with Firetool
Marlin Technical Manual V.2.7.0
157
Controlling image capture
Changing the parameters within a sequence
To change the parameter set for one image, it is not necessary to modify the settings for the entire sequence. The image can simply be selected via the ImageNo
field and it is then possible to change the corresponding IIDC V1.3 registers.
Points to pay attention to when changing the
parameters
Note
•

•
•
•
Caution
•

•
If the ApplyParameters flag is used when setting the
parameters, all not-configured values are set to default
values. As changing a sequence normally affects only the
value of a specific register, and all other registers should
not be changed, the ApplyParameters flag may not be
used here.
The values stored for individual images can no longer be
read.
If the camera is switched into sequence mode, the
changes to the IIDC V1.3 registers for the image specified
in ImageNo take immediate effect.
Sequence mode requires firmware 3.03 and special care if
changing image size and frame rate related parameters.
This is because these changes not only affect settings in
the camera but also require corresponding settings in the
receiving software in the PC (e.g. FirePackage).
Incorrect handling may lead to image corruption or loss
of subsequent images.
Please ask for detailed support if you want to use this
feature.
Marlin Technical Manual V.2.7.0
158
Controlling image capture
Secure image signature (SIS)
SIS: Definition
Secure image signature (SIS) is the synonym for data, which is inserted into an
image to improve or check image integrity.
With the new firmware V3.03, all CCD Marlin models can insert
• Time stamp (1394 bus cycle time at the beginning of integration)
• Trigger counter (external trigger seen only)
• Frame counter (frames read out of the sensor)
into a selectable line position within the image. Furthermore the trigger counter
and the frame counter are available as advanced registers to be read out directly.
SIS: Scenarios
The following scenarios benefit from this feature:
• Assuming camera runs in continuous mode, the check of monotonically
changing bus cycle time is a simple test that no image was skipped or lost
in the camera or subsequently in the image processing chain.
• In (synchronized) multi-camera applications, the time stamp can be used
to identify those images, shot at the same moment in time.
• The cross-check of the frame counter of the camera against the frame
counter of the host system also identifies any skipped or lost images
during transmission.
• The cross-check of the trigger counter against the frame counter in the
camera can identify a trigger overrun in the camera.
Note

•
FirePackage offers additional and independent checks to
be performed for the purpose of image integrity. Details
can be found in the respective documentation.
The handling of the SIS feature is fully described in the Chapter Secure image
signature (SIS) on page 217.
Marlin Technical Manual V.2.7.0
159
How does bandwidth affect the frame rate?
How does bandwidth affect the frame
rate?
In some modes the IEEE 1394a bus limits the attainable frame rate. According to
the 1394a specification on isochronous transfer, the largest data payload size of
4096 bytes per 125 μs cycle is possible with bandwidth of 400 Mbit/s. In addition, because of a limitation in an IEEE 1394 module (GP2Lynx), only a maximum
number of 4095 packets per frame are allowed.
The following formula establishes the relationship between the required
Byte_Per_Packet size and certain variables for the image. It is valid only for Format_7.
BYTE_PER_PACKET = frame rate  AOIWidth  AOIHeight  ByteDepth  125μs
Formula 12: Byte_per_Packet calculation (only Format_7)
If the value for BYTE_PER_PACKET is greater than 4096 (the maximum data payload), the sought-after frame rate cannot be attained. The attainable frame rate
can be calculated using this formula:
(Provision: BYTE_PER_PACKET is divisible by 4):
BYTE_PER_PACKET
framerate  -----------------------------------------------------------------------------------------------------------AOI_WIDTH  AOI_HEIGHT  ByteDepth  125μs
Formula 13: Maximum frame rate calculation
ByteDepth based on the following values:
Mode
bits/pixel
byte per pixel
Mono8
8
1
Mono16
16
2
YUV422
16
2
YUV411
12
1.5
Table 77: ByteDepth
Marlin Technical Manual V.2.7.0
160
How does bandwidth affect the frame rate?
Example formula for the b/w camera
Mono16, 1392 x 1040, 15 fps desired
BYTE_PER_PACKET = 15  1392  1040  2  125μs = 5428  4096
4096
 frame rate reachable  --------------------------------------------------------- = 11.32
1392  1040  2  125μs
Formula 14: Example max. frame rate calculation
Test images
Loading test images
FirePackage
Fire4Linux
1. Start SmartView.
1. Start cc1394 viewer.
2. Click the Edit settings button.
2. In Adjustments menu click on
Picture Control.
3. Click Adv1 tab.
3. Click Main tab.
4. In combo box Test images choose 4. Activate Test image check box on.
Image 1 or another test image.
5. In combo box Test images choose
Image 1 or another test image.
Table 78: Loading test images in different viewers
Test images b/w cameras
Marlin b/w cameras have two test images that look the same. Both images show
a gray bar running diagonally (mirrored at the middle axis).
• Image 1 is static.
• Image 2 moves upwards by 1 pixel/frame.
Marlin Technical Manual V.2.7.0
161
How does bandwidth affect the frame rate?
Figure 79: Gray bar test image
Marlin Technical Manual V.2.7.0
162
How does bandwidth affect the frame rate?
Gray value =  x + y MOD256
 8-bit mode 
Formula 15: Calculating the gray value
Test images for color cameras
The color cameras have the following test images:
YUV422 mode
Figure 80: Color test image
Marlin Technical Manual V.2.7.0
163
How does bandwidth affect the frame rate?
Mono8 (raw data)
Figure 81: Bayer-coded test image
The color camera outputs Bayer-coded raw data in Mono8 instead of (as
described in IIDC V1.3) a real Y signal.
Note

The first pixel of the image is always the red pixel from the sensor. (Mirror must be switched off.)
Marlin Technical Manual V.2.7.0
164
Configuration of the camera
Configuration of the camera
All camera settings are made by writing specific values into the corresponding
registers.
This applies to:
• values for general operating states such as video formats and modes,
exposure times, etc.
• extended features of the camera that are turned on and off and controlled
via corresponding registers (so-called advanced registers).
Camera_Status_Register
The interoperability of cameras from different manufacturers is ensured by IIDC,
formerly DCAM (Digital Camera Specification), published by the IEEE 1394 Trade
Association.
IIDC is primarily concerned with setting memory addresses (e.g. CSR: Camera_Status_Register) and their meaning.
In principle all addresses in IEEE 1394 networks are 64 bits long.
The first 10 bits describe the Bus_Id, the next 6 bits the Node_Id.
Of the subsequent 48 bits, the first 16 are is always FFFFh, leaving the description for the Camera_Status_Register in the last 32 bits.
If a CSR F0F00600h is mentioned below this means in full:
Bus_Id, Node_Id, FFFF F0F00600h
Writing and reading to and from the register can be done with programs such as
FireView or by other programs developed using an API library (e.g.
FirePackage).
Marlin Technical Manual V.2.7.0
165
Configuration of the camera
Every register is 32 bit (big endian) and implemented as follows (MSB = Most
Significant Bit; LSB = Least Significant Bit):
Far left
Bit
Bit
Bit
0
1
2
...
MSB
Bit
Bit
30
31
LSB
Table 79: 32-bit register
Example
This requires, for example, that to enable ISO_Enabled mode (see Chapter
ISO_Enable / Free-Run on page 149), (bit 0 in register 614h), the value
80000000 h must be written in the corresponding register.
Marlin Technical Manual V.2.7.0
166
Configuration of the camera
Figure 82: Configuration of the camera
Sample program
The following sample code in C shows how the register is set for frame rate, video
mode/format and trigger mode using the FireCtrl DLL from the FirePackage
API. Also shown is how the camera is switched into ISO_Enabled mode:
…
WriteQuad(m_cmdRegBase
WriteQuad(m_cmdRegBase
WriteQuad(m_cmdRegBase
WriteQuad(m_cmdRegBase
Sleep(100);
WriteQuad(m_cmdRegBase
…
+
+
+
+
CCR_FRAME-RATE, Frame-Rate << 29);
CCR_VMODE, mode << 29);
CCR_VFORMAT, format << 29);
CCR_TRGMODE, extTrigger ? 0x82000000 : 0);
+ CCR_ISOENABLE, 0x80000000);
Marlin Technical Manual V.2.7.0
167
Configuration of the camera
Configuration ROM
The information in the Configuration ROM is needed to identify the node, its
capabilities and which drivers are required.
The base address for the configuration ROM for all registers is FFFF F0000000h.
Note
If you want to use the DirectControl program to read or write
to a register, enter the following value in the Address field:

F0F00000h + Offset
The ConfigRom is divided into
• Bus info block: providing critical information about the bus-related capabilities
• Root directory: specifying the rest of the content and organization, such
as:
– Node unique ID leaf
– Unit directory and
– Unit dependant info
The base address of the camera control register is calculated as follows based on
the camera-specific base address:
Offset 0-7
Bus info block
Root directory
8-15
16-23 24-31
400h
04
24
45
EE
404h
31
33
39
34
…. ASCII for 1394
408h
20
00
A0
00
…. Bus capabilities
40Ch
00
0A
47
01
…. Node_Vendor_Id, Chip_id_hi
410h
00
00
414h
00
04
B7
85
418h
03
00
0A
47
41Ch
0C
00
83
C0
420h
8D
00
00
02
424h
D1
00
00
04
Serial number …. Chip_id_lo
According to IEEE1212, the root directory
may have another length. The keys (e.g.
8D) point to the offset factors rather than
the offset (e.g.420h) itself.
Table 80: Configuration ROM
The entry with key 8D in the root directory (420h in this case) provides the offset
for the Node unique ID leaf.
To compute the effective start address of the node unique ID leaf:
Marlin Technical Manual V.2.7.0
168
Configuration of the camera
To compute the effective start address of the node unique ID leaf
currAddr
= node unique ID leaf address
destAddr
= address of directory entry
addrOffset
= value of directory entry
destAddr
= currAddr + (4 x addrOffset)
= 420h + (4 x 000002h)
= 428h
Table 81: Computing effective start address
420h + 000002 x 4 = 428h
Offset
Node unique ID leaf
0-7
8-15
16-23
24-31
428h
00
02
CA
71
....CRC
42Ch
00
0A
47
01
….Node_Vendor_Id,Chip_id_hi
430h
00
00
Serial number
Table 82: Config ROM
The entry with key D1 in the root directory (424h in this case) provides the offset
for the unit directory as follows:
424h + 000004 x 4 = 434h
Offset
Unit directory
0-7
8-15
16-23
24-31
434h
00
03
93
7D
438h
12
00
A0
2D
43Ch
13
00
01
02
440h
D4
00
00
01
Table 83: Config ROM
The entry with key D4 in the unit directory (440h in this case) provides the offset
for unit dependent info:
440h + 000001 * 4 = 444h
Marlin Technical Manual V.2.7.0
169
Configuration of the camera
Unit dependent info
Offset
0-7
8-15
16-23
24-31
444h
00
03
7F
89
448h
40
3C
00
00
44Ch
81
00
00
02
450h
82
00
00
06
Table 84: Config ROM
And finally, the entry with key 40 (448h in this case) provides the offset for the
camera control register:
FFFF F0000000h + 3C0000h x 4 = FFFF F0F00000h
The base address of the camera control register is thus:
FFFF F0F00000h
The offset entered in the table always refers to the base address of F0F00000h.
Note

If you want to use the DirectControl program to read or write
to a register, enter the following value in the Address field:
F0F00000h + Offset
Marlin Technical Manual V.2.7.0
170
Configuration of the camera
Implemented registers (IIDC V1.3)
The following tables show how standard registers from IIDC V1.3 are implemented in the camera:
• Base address is F0F00000h
• Differences and explanations can be found in the Description column.
Camera initialize register
Offset
Name
Description
000h
INITIALIZE
Assert MSB = 1 for Init.
Table 85: Camera initialize register
Inquiry register for video format
Offset
Name
Field
Bit
Description
100h
V_FORMAT_INQ
Format_0
[0]
Up to VGA (non compressed)
Format_1
[1]
SVGA to XGA
Format_2
[2]
SXGA to UXGA
Format_3
[3..5]
Reserved
Format_6
[6]
Still Image Format
Format_7
[7]
Partial Image Format
---
[8..31]
Reserved
Table 86: Format inquiry register
Marlin Technical Manual V.2.7.0
171
Configuration of the camera
Inquiry register for video mode
Offset
Name
Field
Bit
Description
180h
V_MODE_INQ
Mode_0
[0]
160 x 120 YUV444
(Format_0)
Mode _1
[1]
320 x 240 YUV422
Mode _2
[2]
640 x 480 YUV411
Mode _3
[3]
640 x 480 YUV422
Mode _4
[4]
640 x 480 RGB
Mode _5
[5]
640 x 480 Mono8
Mode _6
[6]
640 x 480 Mono16
Mode _X
[7]
Reserved
---
[8..31]
Reserved (zero)
V_MODE_INQ
Mode_0
[0]
800 x 600 YUV422
(Format_1)
Mode _1
[1]
800 x 600 RGB
Mode _2
[2]
800 x 600 Mono8
Mode _3
[3]
1024 x 768 YUV422
Mode _4
[4]
1024 x 768 RGB
Mode _5
[5]
1024 x 768 Mono8
Mode _6
[6]
800 x 600 Mono16
Mode _7
[7]
1024 x 768 Mono16
---
[8..31]
Reserved (zero)
V_MODE_INQ
Mode_0
[0]
1280 x 960 YUV422
(Format_2)
Mode _1
[1]
1280 x 960 RGB
Mode _2
[2]
1280 x 960 Mono8
Mode _3
[3]
1600 x 1200 YUV422
Mode _4
[4]
1600 x 1200 RGB
Mode _5
[5]
1600 x 1200 Mono8
Mode _6
[6]
1280 x 960 Mono16
Mode _7
[7]
1600 x 1200 Mono16
---
[8..31]
Reserved (zero)
184h
188h
18Ch
…
Reserved for other V_MODE_INQ_x for Format_x.
Always 0
197h
198h
V_MODE_INQ_6 (Format_6)
Always 0
Table 87: Video mode inquiry register
Marlin Technical Manual V.2.7.0
172
Configuration of the camera
Offset
Name
Field
Bit
Description
19Ch
V_MODE_INQ
Mode_0
[0]
Format_7 Mode_0
(Format_7)
Mode _1
[1]
Format_7 Mode_1
Mode _2
[2]
Format_7 Mode_2
Mode _3
[3]
Format_7 Mode_3
Mode _4
[4]
Format_7 Mode_4
Mode _5
[5]
Format_7 Mode_5
Mode _6
[6]
Format_7 Mode_6
Mode _7
[7]
Format_7 Mode_7
---
[8..31]
Reserved (zero)
Table 87: Video mode inquiry register
Inquiry register for video frame rate and base
address
Offset
Name
Field
Bit
Description
200h
V_RATE_INQ
FrameRate_0
[0]
Reserved
(Format_0, Mode_0)
FrameRate _1
[1]
Reserved
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_0, Mode_1)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
204h
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
173
Configuration of the camera
Offset
Name
Field
Bit
Description
208h
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_0, Mode_2)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_0, Mode_3)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_0, Mode_4)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
20Ch
210h
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
174
Configuration of the camera
Offset
Name
Field
Bit
Description
214h
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_0, Mode_5)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
(Format_0,
Mode_6)
[0]
1.875 fps
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
218h
V_RATE_INQ
FrameRate_0
21Ch
…
Reserved V_RATE_INQ_0_x (for other Mode_x of Format_0) Always 0
21Fh
220h
V_RATE_INQ
FrameRate_0
[0]
Reserved
(Format_1, Mode_0)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
175
Configuration of the camera
Offset
Name
Field
Bit
Description
224h
V_RATE_INQ
FrameRate_0
[0]
Reserved
(Format_1, Mode_1)
FrameRate _1
[1]
Reserved
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
Reserved
(Format_1, Mode_2)
FrameRate _1
[1]
Reserved
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
228h
22Ch
V_RATE_INQ (Format_1, FrameRate_0
Mode_3)
FrameRate _1
[0]
1.875 fps
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
176
Configuration of the camera
Offset
Name
Field
Bit
Description
230h
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_1, Mode_4)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_1, Mode_5)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_1, Mode_6)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
240 fps (IIDC V1.31)
---
[8..31]
Reserved (zero)
234h
238h
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
177
Configuration of the camera
Offset
Name
Field
Bit
Description
23Ch
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_1, Mode_7)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_0)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_1)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
240h
244h
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
178
Configuration of the camera
Offset
Name
Field
Bit
Description
248h
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_2)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
120 fps (IIDC V1.31)
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_3)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_4)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
Reserved
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
24Ch
250h
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
179
Configuration of the camera
Offset
Name
Field
Bit
Description
254h
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_5)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_6)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved (zero)
V_RATE_INQ
FrameRate_0
[0]
1.875 fps
(Format_2, Mode_7)
FrameRate _1
[1]
3.75 fps
FrameRate _2
[2]
7.5 fps
FrameRate _3
[3]
15 fps
FrameRate _4
[4]
30 fps
FrameRate _5
[5]
60 fps
FrameRate _6
[6]
Reserved
FrameRate _7
[7]
Reserved
---
[8..31]
Reserved
258h
25Ch
260h
…
Reserved V_RATE_INQ_y_x (for other Format_y, Mode_x)
2BFh
2C0h
V_REV_INQ_6_0 (Format_6, Mode0)
Always 0
2C4h
..
Reserved V_REV_INQ_6_x (for other Mode_x of Format_6) Always 0
2DFh
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
180
Configuration of the camera
Offset
2E0h
2E4h
2E8h
2ECh
2F0h
2F4h
2F8h
2FCh
Name
Field
V-CSR_INQ_7_0
V-CSR_INQ_7_1
V-CSR_INQ_7_2
V-CSR_INQ_7_3
V-CSR_INQ_7_4
V-CSR_INQ_7_5
V-CSR_INQ_7_6
V-CSR_INQ_7_7
Bit
Description
[0..31]
CSR_quadlet offset for Format_7
Mode_0
[0..31]
CSR_quadlet offset for Format_7
Mode_1
[0..31]
CSR_quadlet offset for Format_7
Mode_2
[0..31]
CSR_quadlet offset for Format_7
Mode_3
[0..31]
CSR_quadlet offset for Format_7
Mode_4
[0..31]
CSR_quadlet offset for Format_7
Mode_5
[0..31]
CSR_quadlet offset for Format_7
Mode_6
[0..31]
CSR_quadlet offset for Format_7
Mode_7
Table 88: Frame rate inquiry register
Marlin Technical Manual V.2.7.0
181
Configuration of the camera
Inquiry register for basic function
Offset
Name
Field
Bit
Description
400h
BASIC_FUNC_INQ Advanced_Feature_Inq
[0]
Inquiry for advanced features (Vendor unique Features)
[1]
Inquiry for existence of
Vmode_Error_Status register
Vmode_Error_Status_Inq
Feature_Control_Error_Status_Inq [2]
Inquiry for existence of Feature_Control_Error_Status
Opt_Func_CSR_Inq
[3]
Inquiry for Opt_Func_CSR
---
[4..7]
Reserved
1394b_mode_Capability
[8]
Inquiry for 1394b_mode_Capability
---
[9..15]
Reserved
Cam_Power_Cntl
[16]
Camera process power ON/
OFF capability
---
[17..18] Reserved
One_Shot_Inq
[19]
One-shot transmission
capability
Multi_Shot_Inq
[20]
Multi-shot transmission
capability
---
[21..27] Reserved
Memory_Channel
[28..31] Maximum memory channel
number (N) If 0000, no user
memory available
Table 89: Basic function inquiry register
Marlin Technical Manual V.2.7.0
182
Configuration of the camera
Inquiry register for feature presence
Offset
Name
Field
Bit
Description
404h
FEATURE_HI_INQ
Brightness
[0]
Brightness control
Auto_Exposure
[1]
Auto_Exposure control
Sharpness
[2]
Sharpness control
White_Balance
[3]
White balance control
Hue
[4]
Hue control
Saturation
[5]
Saturation control
Gamma
[6]
Gamma control
Shutter
[7]
Shutter control
Gain
[8]
Gain control
Iris
[9]
Iris control
Focus
[10]
Focus control
Temperature
[11]
Temperature control
Trigger
[12]
Trigger control
Trigger_Delay
[13]
Trigger delay control
White_Shading
[14]
White shading control
Frame_Rate
[15]
Frame rate control
---
[16..31]
Reserved
Zoom
[0]
Zoom control
Pan
[1]
Pan control
Tilt
[2]
Tilt control
Optical_Filter
[3]
Optical filter control
---
[4..15]
Reserved
Capture_Size
[16]
Capture_Size for Format_6
Capture_Quality
[17]
Capture_Quality for Format_6
---
[16..31]
Reserved
---
[0]
Reserved
PIO
[1]
Parallel Input/Output control
SIO
[2]
Serial Input/Output control
Strobe_out
[4..31]
Strobe signal output
408h
40Ch
FEATURE_LO_INQ
OPT_FUNCTION_INQ
Table 90: Feature presence inquiry register
Marlin Technical Manual V.2.7.0
183
Configuration of the camera
Offset
Name
Field
Bit
Description
410h
..
Reserved
Address error on access
47Fh
480h
Advanced_Feature_Inq Advanced_Feature_Quadlet_Offset [0..31]
Quadlet offset of the
advanced feature CSR's from
the base address of initial register space (Vendor unique)
This register is the offset for
the Access_Control_Register
and thus the base address for
Advanced Features.
Access_Control_Register does
not prevent access to
advanced features. In some
programs it should still always
be activated first. Advanced
Feature Set Unique Value is
7ACh and CompanyID is A47h.
484h
PIO_Control_CSR_Inq
PIO_Control_Quadlet_Offset
[0..31]
Quadlet offset of the PIO_Control CSR's from the base
address of initial register
space (Vendor unique)
488h
SIO_Control_CSR_Inq
SIO_Control_Quadlet_Offset
[0..31]
Quadlet offset of the SIO_Control CSR's from the base
address of initial register
space (Vendor unique)
48Ch
Strobe_Output_CSR_Inq Strobe_Output_Quadlet_Offset [0..31]
Quadlet offset of the
Strobe_Output signal CSR's
from the base address of initial register space (Vendor
unique)
Table 90: Feature presence inquiry register
Marlin Technical Manual V.2.7.0
184
Configuration of the camera
Inquiry register for feature elements
Register
Name
0xF0F00500 BRIGHTNESS_INQUIRY
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
Abs_Control_Inq
[1]
Capability of control with
absolute value
---
[2]
Reserved
One_Push_Inq
[3]
One Push auto mode (controlled automatically by the
camera once)
Readout_Inq
[4]
Capability of reading out the
value of this feature
ON_OFF
[5]
Capability of switching this
feature ON and OFF
Auto_Inq
[6]
Auto Mode (controlled automatically by the camera)
Manual_Inq
[7]
Manual Mode (controlled by
user)
Min_Value
[8..19]
Min. value for this feature
Max_Value
[20..31]
Max. value for this feature
504h
AUTO_EXPOSURE_INQ
Same definition as Brightness_inq.
508h
SHARPNESS_INQ
Same definition as Brightness_inq.
50Ch
WHITE_BAL_INQ
Same definition as Brightness_inq.
510h
HUE_INQ
Same definition as Brightness_inq.
514h
SATURATION_INQ
Same definition as Brightness_inq.
518h
GAMMA_INQ
Same definition as Brightness_inq.
51Ch
SHUTTER_INQ
Same definition as Brightness_inq.
520h
GAIN_INQ
Same definition as Brightness_inq.
524h
IRIS_INQ
always 0
528h
FOCUS_INQ
always 0
52Ch
TEMPERATURE_INQ
Same definition as Brightness_inq.
Table 91: Feature elements inquiry register
Marlin Technical Manual V.2.7.0
185
Configuration of the camera
Register
Name
Field
Bit
Description
530h
TRIGGER_INQ
Presence_Inq
[0]
Indicates presence of this
feature (read only)
Abs_Control_Inq
[1]
Capability of control with
absolute value
-
[2..3
Reserved
Readout_Inq
[4]
Capability of reading out the
value of this feature
ON_OFF
[5]
Capability of switching this
feature ON and OFF
Polarity_Inq
[6]
Capability of changing the
polarity of the rigger input
---
[7..15]
Reserved
534h
538 .. 57Ch
Trigger_Mode0_Inq [16]
Presence of Trigger_Mode 0
Trigger_Mode1_Inq [17]
Presence of Trigger_Mode 1
Trigger_Mode2_Inq [18]
Presence of Trigger_Mode 2
Trigger_Mode3_Inq [19]
Presence of Trigger_Mode 3
---
[20..31
Reserved
[0]
Indicates presence of this
feature (read only)
Abs_Control_Inq
[1]
Capability of control with
absolute value
---
[2]
Reserved
One_Push_Inq
[3]
One Push auto mode controlled automatically by the
camera once)
Readout_Inq
[4]
Capability of reading out the
value of this feature
ON_OFF
[5]
Capability of switching this
feature ON and OFF
Auto_Inq
[6]
Auto Mode (controlled automatically by the camera)
Manual_Inq
[7]
Manual Mode (controlled by
user)
Min_Value
[8..19]
Minimum value for this feature
Max_Value
[20..31]
Maximum value for this feature
TRIGGER_DELAY_INQUIRY Presence_Inq
Reserved for other FEATURE_HI_INQ
Table 91: Feature elements inquiry register
Marlin Technical Manual V.2.7.0
186
Configuration of the camera
Register
Name
Field
Bit
Description
580h
ZOOM_INQ
Always 0
584h
PAN_INQ
Always 0
588h
TILT_INQ
Always 0
58Ch
OPTICAL_FILTER_INQ
Always 0
Reserved for other FEATURE_LO_INQ
Always 0
5C0h
CAPTURE_SIZE_INQ
Always 0
5C4h
CAPTURE_QUALITY_INQ
Always 0
Reserved for other FEATURE_LO_INQ
Always 0
590
..
5BCh
5C8h
..
5FCh
600h
CUR-V-Frm_RATE/Revision Bits [0..2] for the frame rate
604h
CUR-V-MODE
Bits [0..2] for the current video mode
608h
CUR-V-FORMAT
Bits [0..2] for the current video format
60Ch
ISO-Channel
Bits [0..3] for channel, [6..7] for ISO-speed
610h
Camera_Power
614h
ISO_EN/Continuous_Shot
618h
Memory_Save
61Ch
One_Shot, Multi_Shot,
Count Number
Always 0
Bit 0: 1 for continuous shot; 0 for stop
Always 0
See Chapter One-shot on page 147
See Chapter Multi-Shot on page 149
620h
Mem_Save_Ch
Always 0
624
Cur_Mem_Ch
Always 0
628h
Vmode_Error_Status
Error in combination of Format/Mode/ISO Speed:
Bit(0): No error; Bit(0)=1: error
Table 91: Feature elements inquiry register
Marlin Technical Manual V.2.7.0
187
Configuration of the camera
Inquiry register for absolute value CSR offset
address
Offset
Name
Notes
700h
ABS_CSR_HI_INQ_0
Always 0
704h
ABS_CSR_HI_INQ_1
Always 0
708h
ABS_CSR_HI_INQ_2
Always 0
70Ch
ABS_CSR_HI_INQ_3
Always 0
710h
ABS_CSR_HI_INQ_4
Always 0
714h
ABS_CSR_HI_INQ_5
Always 0
718h
ABS_CSR_HI_INQ_6
Always 0
71Ch
ABS_CSR_HI_INQ_7
Always 0
720h
ABS_CSR_HI_INQ_8
Always 0
724h
ABS_CSR_HI_INQ_9
Always 0
728h
ABS_CSR_HI_INQ_10
Always 0
72Ch
ABS_CSR_HI_INQ_11
Always 0
730h
ABS_CSR_HI_INQ_12
Always 0
Reserved
Always 0
734
..
77Fh
780h
ABS_CSR_LO_INQ_0
Always 0
784h
ABS_CSR_LO_INQ_1
Always 0
788h
ABS_CSR_LO_INQ_2
Always 0
78Ch
ABS_CSR_LO_INQ_3
Always 0
790h
..
Reserved
Always 0
7C0h
ABS_CSR_LO_INQ_16
Always 0
7C4h
ABS_CSR_LO_INQ_17
Always 0
Reserved
Always 0
7BFh
7C8h
..
7FFh
Table 92: Absolute value inquiry register
Marlin Technical Manual V.2.7.0
188
Configuration of the camera
Status and control register for feature
The OnePush feature, WHITE_BALANCE, is currently implemented. If this flag is
set, the feature becomes immediately active, even if no images are being input
(see Chapter One-push white balance on page 67).
Offset
Name
Field
Bit
Description
800h
BRIGHTNESS
Presence_Inq
[0]
Presence of this feature
0: N/A
1: Available
Abs_Control
[1]
Absolute value control
0: Control with value in the Value field
1: Control with value in the Absolute
value CSR
If this bit = 1, value in the Value field
is ignored.
---
[2-4]
Reserved
One_Push
[5]
Write 1: begin to work (Self cleared
after operation)
Read: Value=1 in operation
Value=0 not in operation
If A_M_Mode =1, this bit is ignored.
ON_OFF
[6]
Write: ON or OFF this feature
Read: read a status
0: OFF, 1: ON
If this bit =0, other fields will be read
only.
A_M_Mode
[7]
Write: set the mode
Read: read a current mode
0: Manual
1: Auto
---
[8-19]
Reserved
Value
[20-31] Value.
Write the value in Auto mode, this
field is ignored.
If ReadOut capability is not available,
read value has no meaning.
Table 93: Feature control register
Marlin Technical Manual V.2.7.0
189
Configuration of the camera
Offset
Name
804h
AUTO-EXPOSURE
Field
Bit
Description
See above
Note: Target grey level parameter in
SmartView corresponds to Auto_exposure register 0xF0F00804 (IIDC).
808h
SHARPNESS
See above
Table 93: Feature control register
Marlin Technical Manual V.2.7.0
190
Configuration of the camera
Offset
Name
Field
Bit
Description
80Ch
WHITE-BALANCE
Presence_Inq
[0]
Presence of this feature
0: N/A
1: Available
Always 0 for Mono
Abs_Control
[1]
Absolute value control
0: Control with value in the Value field
1: Control with value in the Absolute
value CSR
If this bit = 1, value in the Value field
is ignored.
One_Push
[2-4]
Reserved
[5]
Write '1': begin to work (Self cleared
after operation)
Read: Value='1' in operation
Value='0' not in operation
If A_M_Mode =1, this bit is ignored.
ON_OFF
[6]
Write: ON or OFF this feature,
Read: read a status
0: OFF
1: ON
If this bit =0, other fields will be read
only.
A_M_Mode
[7]
Write: set the mode
Read: read a current mode
0: Manual
1: Auto
U_Value /
B_Value
[8-19]
U Value / B_Value
Write the value in AUTO mode, this
field is ignored.
If ReadOut capability is not available,
read value has no meaning.
V_Value /
R_Value
[20-31] V value / R value
Write the value in AUTO mode, this
field is ignored.
If ReadOut capability is not available,
read value has no meaning.
Table 93: Feature control register
Marlin Technical Manual V.2.7.0
191
Configuration of the camera
Offset
Name
810h
HUE
Field
Bit
Description
See above
Always 0 for Mono
814h
SATURATION
See above
Always 0 for Mono
818h
GAMMA
See above
81Ch
SHUTTER
see Advanced Feature Timebase
820h
GAIN
See above
824h
IRIS
Always 0
828h
FOCUS
Always 0
82Ch
TEMPERATURE
Always 0
830h
TRIGGER-MODE
Can be effected via Advanced Feature
IO_INP_CTRLx.
834h
Reserved for other
FEATURE_HI
Always 0
880h
Zoom
Always 0
884h
PAN
Always 0
888h
TILT
Always 0
88Ch
OPTICAL_FILTER
Always 0
Reserved for other
FEATURE_LO
Always 0
8C0h
CAPTURE-SIZE
Always 0
8C4h
CAPTURE-QUALITY
Always 0
8C8h ..
8FCh
Reserved for other
FEATURE_LO
Always 0
..
87C
890
..
8BCh
Table 93: Feature control register
Marlin Technical Manual V.2.7.0
192
Configuration of the camera
Feature control error status register
Offset
Name
Notes
640h
Feature_Control_Error_Status_HI
always 0
644h
Feature_Control_Error_Status_LO
always 0
Table 94: Feature control error register
Video mode control and status registers for
Format_7
Quadlet offset Format_7 Mode_0
The quadlet offset to the base address for Format_7 Mode_0, which can be read
out at F0F002E0h (according to Table 88: Frame rate inquiry register on page
173) gives 003C2000h.
4 x 3C2000h = F08000h so that the base address for the latter (Table 95: Format_7 control and status register on page 193) equals to
F0000000h + F08000h = F0F08000h.
Quadlet offset Format_7 Mode_1
The quadlet offset to the base address for Format_7 Mode_1, which can be read
out at F0F002E4h (according to Table 88: Frame rate inquiry register on page
173) gives 003C2400h.
4 x 003C2400h = F09000h so that the base address for the latter (Table 95: Format_7 control and status register on page 193) equals to
F0000000h + F09000h = F0F09000h.
Format_7 control and status register (CSR)
Offset
Name
Notes
000h
MAX_IMAGE_SIZE_INQ
According to IIDC V1.3
004h
UNIT_SIZE_INQ
According to IIDC V1.3
008h
IMAGE_POSITION
According to IIDC V1.3
00Ch
IMAGE_SIZE
According to IIDC V1.3
010h
COLOR_CODING_ID
See note
014h
COLOR_CODING_INQ
According to IIDC V1.3
034h
PIXEL_NUMER_INQ
According to IIDC V1.3
038h
TOTAL_BYTES_HI_INQ
According to IIDC V1.3
03Ch
TOTAL_BYTES_LO_INQ
According to IIDC V1.3
Table 95: Format_7 control and status register
Marlin Technical Manual V.2.7.0
193
Configuration of the camera
Offset
Name
Notes
040h
PACKET_PARA_INQ
See note
044h
BYTE_PER_PACKET
According to IIDC V1.3
Table 95: Format_7 control and status register
Note
•

•
•
•
•
For all modes in Format_7, ErrorFlag_1 and ErrorFlag_2
are refreshed on each access to the Format_7 register.
Contrary to IIDC V1.3, registers relevant to Format_7 are
refreshed on each access. The Setting_1 bit is automatically cleared after each access.
When ErrorFlag_1 or ErrorFlag_2 are set and Format_7 is
configured, no image capture is started.
Contrary to IIDC v.1.3, COLOR_CODING_ID is set to a
default value after an INITIALIZE or reset.
Contrary to IIDC V1.3, the UnitBytePerPacket field is
already filled in with a fixed value in the PACKET_PARA_INQ register.
Advanced features (Allied Vision-specific)
The camera has a variety of extended features going beyond the possibilities
described in IIDC V1.3. The following chapter summarizes all available advanced
features in ascending register order.
Note

This chapter is a reference guide for advanced registers and
does not explain the advanced features itself. For detailed
description of the theoretical background see
•
•
Chapter Description of the data path on page 60
Links given in the table below
Advanced registers summary
The following table gives an overview of all available advanced registers:
Register
Register name
Description
0xF1000010
VERSION_INFO
Table 97: Advanced register: Version information
on page 197
0xF1000040
ADV_INQ_1
0xF1000044
ADV_INQ_2
See Table 99: Advanced register: Advanced feature
inquiry on page 200
Table 96: Advanced registers summary
Marlin Technical Manual V.2.7.0
194
Configuration of the camera
Register
Register name
Description
0xF1000200
MAX_RESOLUTION
See Table 100: Advanced register: Maximum resolution inquiry on page 201
0xF1000208
TIMEBASE
See Table 101: Advanced register: Time base on
page 202
0xF100020C
EXTD_SHUTTER
See Table 103: Advanced register: Extended shutter
on page 203
0xF1000210
TEST_IMAGE
See Table 104: Advanced register: Test image on
page 204
0xF1000220
SEQUENCE_CTRL
except Marlin F-131B
0xF1000224
SEQUENCE_PARAM
See Table 76: Advanced register: Sequence mode on
page 155
0xF1000240
LUT_CTRL
See Table 106: Advanced register: LUT on page 205
0xF1000244
LUT_MEM_CTRL
0xF1000248
LUT_INFO
0xF1000250
SHDG_CTRL
0xF1000254
SHDG_MEM_CTRL
0xF1000258
SHDG_INFO
0xF1000260
DEFERRED_TRANS
See Table 108: Advanced register: Deferred image
transport on page 208
0xF1000270
FRAMEINFO
See Table 109: Frame information register on page
208
0xF1000274
FRAMECOUNTER
See FRMCNT_STAMP
0xF1000280
HDR_CONTROL
Marlin F-131B only
0xF1000284
KNEEPOINT_1
0xF1000288
KNEEPOINT_2
See Table 110: High dynamic range configuration
register on page 209
0xF100028C
KNEEPOINT_3
0xF1000290
DSNU_CONTROL
See Table 107: Advanced register: Shading on page
207
Marlin F-131B only; Firmware 2.02
See Table 111: Advanced register: DSNU on page
210
0xF1000294
BLEMISH_CONTROL
Marlin F-131B only; Firmware 2.02
See Table 112: Advanced register: Blemish on page
211
0xF1000300
IO_INP_CTRL1
0xF1000304
IO_INP_CTRL2
See Table 17: Advanced register: Input control on
page 50
0xF1000308
IO_INP_CTRL3
Dolphin series only
Table 96: Advanced registers summary
Marlin Technical Manual V.2.7.0
195
Configuration of the camera
Register
Register name
Description
0xF1000320
IO_OUTP_CTRL1
0xF1000324
IO_OUTP_CTRL2
See Table 23: Advanced register: Output control on
page 54
0xF1000328
IO_OUTP_CTRL3
Dolphin series only
0xF1000340
IO_INTENA_DELAY
See Table 113: Advanced register: Delayed Integration Enable (IntEna) on page 212
0xF1000360
AUTOSHUTTER_CTRL
Marlin/Oscar series only
0xF1000364
AUTOSHUTTER_LO
0xF1000368
AUTOSHUTTER_HI
See Table 114: Advanced register: Auto shutter control on page 213
0xF1000370
AUTOGAIN_CTRL
Marlin/Oscar series only
See Table 115: Advanced register: Auto gain control
on page 213
0xF1000390
AUTOFNC_AOI
Marlin/Oscar series only
See Table 116: Advanced register: Autofunction AOI
on page 214
0xF10003A0
COLOR_CORR
Marlin/Oscar CCD type color cameras only
See Table 118: Advanced register: Color correction
on page 215
0xF1000400
TRIGGER_DELAY
See Table 119: Advanced register: Trigger Delay on
page 215
0xF1000410
MIRROR_IMAGE
Marlin/Oscar series only
See Table 120: Advanced register: Mirror on page
216
0xF1000510
SOFT_RESET
See Table 121: Advanced register: Soft reset on
page 216
0xF1000550
USER_PROFILE
See Table 127: Advanced register: User profiles on
page 221
0xF1000600
TIMESTAMP
aka secure image signature (SIS)
See Table 122: Advanced register: Time stamp on
page 217
0xF1000610
FRMCNT_STAMP
See Table 125: Advanced register: Frame counter on
page 219
0xF1000620
TRGCNT_STAMP
See Table 126: Advanced register: Trigger counter
on page 220
0xF1000FFC
GPDATA_INFO
0xF1001000
GPDATA_BUFFER
See Table 130: Advanced register: GPData buffer on
page 225
Table 96: Advanced registers summary
Marlin Technical Manual V.2.7.0
196
Configuration of the camera
Note

Advanced features should always be activated before accessing
them.
Note
•

•
Currently all registers can be written without being activated. This makes it easier to operate the camera using
Directcontrol.
Allied Vision reserves the right to require activation in
future versions of the software.
Version information inquiry
The presence of each of the following features can be queried by the 0 bit of the
corresponding register.
Register
Name
Field
Bit
Description
F1000010
VERSION_INFO1
μC type ID
[0..15]
Reserved
μC version
[16..31]
Bcd-coded vers.#
[0..31]
Reserved
Camera type ID
[0..15]
See Table 98: Camera type ID
list on page 197
FPGA version
[16..31]
Bcd-coded vers.#
[0..31]
Reserved
F1000014
F1000018
VERSION_INFO3
F100001C
Table 97: Advanced register: Version information
This register holds information about the node_hw_version, the node_sw_version and the node_spec_ID (camera type). μC version and FPGA version are bcdcoded, which means that e.g. firmware version 0.85 is read as 0x0085.
The FPGA type ID (= camera type ID) identifies the camera type with the help of
the following list:
ID
Camera type
1
F145b
2
F145c
3
F201b
4
F201c
5
F145b-1
Table 98: Camera type ID list
Marlin Technical Manual V.2.7.0
197
Configuration of the camera
ID
Camera type
6
F145c-1
7
F201b-1
8
F201c-1
9
MF033B
10
MF033C
11
MF046B
12
MF046C
13
MF080B
14
MF080C
15
MF145B2
16
MF145C2
17
MF131B
18
---
19
MF145B2-15fps
20
MF145C2-15fps
21
M2F033B
22
M2F033C
23
M2F046B
24
M2F046C
25
M2F080B
26
M2F080C
27
M2F145B2
28
M2F145C2
31
M2F145B2-15fps
32
M2F145C2-15fps
38
OF320C
40
OF510C
42
OF810C
43
M2F080B-30fps
44
M2F080C-30fps
45
M2F145B2-ASM
46
MM2F145C2-ASM
Table 98: Camera type ID list
Marlin Technical Manual V.2.7.0
198
Configuration of the camera
ID
Camera type
47
M2F201B
48
M2F201C
49
M2F146B
50
M2F146C
Table 98: Camera type ID list
Note

•
Marlins with serial numbers beginning with 6xx identify
itself as M2F…
Advanced feature inquiry
This register indicates with a named bit if a feature is present or not. If a feature
is marked as not present the associated register space might not be available
and read/write errors may occur.
Note

Ignore unnamed bits in the following table: these bits might be
set or not.
Marlin Technical Manual V.2.7.0
199
Configuration of the camera
Register
Name
Field
Bit
0xF1000040
ADV_INQ_1
MaxResolution
[0]
TimeBase
[1]
ExtdShutter
[2]
TestImage
[3]
FrameInfo
[4]
Sequences
[5]
VersionInfo
[6]
---
[7]
Look-up tables
[8]
Shading
[9]
DeferredTrans
[10]
HDR mode
[11]
Marlin F-131B only
DSNU
[12]
Marlin F-131B only
Blemish correction [13]
Marlin F-131B only
TriggerDelay
[14]
Misc. features
[15]
Soft Reset
[16]
High SNR
[17]
Color correction
[18]
User profiles
[19]
---
[20..21]
TimeStamp
[22]
FrmCntStamp
[23]
TrgCntStamp
[24]
---
[25..30]
GP_Buffer
[31]
Description
Reserved
Oscar only
Reserved
Reserved
Table 99: Advanced register: Advanced feature inquiry
Marlin Technical Manual V.2.7.0
200
Configuration of the camera
Register
Name
Field
Bit
Description
0xF1000044
ADV_INQ_2
Input_1
[0]
Input_2
[1]
---
[2]
Reserved
---
[3..7]
Reserved
Output_1
[8]
Output_2
[9]
---
[10]
Reserved
---
[11..15]
Reserved
IntEnaDelay
[16]
---
[17]
Reserved
---
[18..31]
Reserved
0xF1000048
ADV_INQ_3
---
[0..31]
Reserved
0xF100004C
ADV_INQ_4
---
[0..31]
Reserved
Table 99: Advanced register: Advanced feature inquiry
Maximum resolution
This register indicates the highest resolution for the sensor and is read-only.
This register normally outputs the MAX_IMAGE_SIZE_INQ Format_7 Mode_0
value.
Note

This register normally outputs the MAX_IMAGE_SIZE_INQ Format_7 Mode_0 value.
This is the value given in the specifications tables under
Picture size (max.) in Chapter Specifications on page 22.
Register
Name
Field
Bit
Description
0xF1000200
MAX_RESOLUTION
MaxHeight
[0..15]
Sensor height
(read only)
MaxWidth
[16..31] Sensor width
(read only)
Table 100: Advanced register: Maximum resolution inquiry
Marlin Technical Manual V.2.7.0
201
Configuration of the camera
Time base
Corresponding to IIDC, exposure time is set via a 12-bit value in the corresponding register (SHUTTER_INQ [51Ch] and SHUTTER [81Ch]).
This means that a value in the range of 1 to 4095 can be entered.
Marlin cameras use a time-base which is multiplied by the shutter register value.
This multiplier is configured as the time base via the TIMEBASE register.
Register
Name
Field
Bit
Description
0xF1000208
TIMEBASE
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..27]
Reserved
Timebase_ID
[28..31] See Table 102: Timebase ID on
page 202
Table 101: Advanced register: Time base
The time base IDs 0-9 are in bits 28 to 31. See Table 102: Timebase ID on page
202. Refer to the following table for code.
Default time-base is 20 μs: This means that the integration time can be changed
in 20 μs increments with the shutter control.
Note

Time base can only be changed when the camera is in idle state
and becomes active only after setting the shutter value.
The ExpOffset field specifies the camera specific exposure time offset in microseconds (μs). This time (which should be equivalent to Table 68: Camera-specific
exposure time offset on page 145) has to be added to the exposure time (set by
any shutter register) to compute the real exposure time.
The ExpOffset field might be zero for some cameras: this has to be assumed as
an unknown exposure time offset (according to former software versions).
ID
Timebase [μs]
0
1
1
2
2
5
3
10
4
20
5
50
Default value
Table 102: Timebase ID
Marlin Technical Manual V.2.7.0
202
Configuration of the camera
ID
Timebase [μs]
6
100
7
200
8
500
9
1000
Table 102: Timebase ID
Note

The ABSOLUTE VALUE CSR register, introduced in IIDC V1.3, is
not implemented.
Extended shutter
The exposure time for long-term integration of up to 67 sec. can be entered with
μs-precision via the EXTENDED_SHUTTER register.
Register
Name
Field
Bit
Description
0xF100020C
EXTD_SHUTTER
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1.. 5]
Reserved
ExpTime
[6..31]
Exposure time in μs
Table 103: Advanced register: Extended shutter
The longest exposure time, 3FFFFFFh, corresponds to 67.11 sec.
Note
•

•
•
•
Exposure times entered via the 81Ch register are mirrored
in the extended register, but not vice versa.
Changes in this register have immediate effect, even
when camera is transmitting.
Extended shutter becomes inactive after writing to a format/mode/framerate register.
Extended shutter setting will thus be overwritten by the
normal timebase/shutter setting after Stop/Start of FireView or FireDemo.
Test images
Bits 8-14 indicate which test images are saved. Setting bits 28-31 activates or
deactivates existing test images.
• auto gain
Marlin Technical Manual V.2.7.0
203
Configuration of the camera
•
•
auto shutter
auto white balance
Register
Name
Field
Bit
Description
0xF1000210
TEST_IMAGE
Presence_Inq
[0]
Indicates presence of this feature (read
only)
---
[1..7]
Reserved
Image_Inq_1
[8]
Presence of test image 1
0: N/A
1: Available
Image_Inq_2
[9]
Presence of test image 2
0: N/A
1: Available
Image_Inq_3
[10]
Presence of test image 3
0: N/A
1: Available
Image_Inq_4
[11]
Presence of test image 4
0: N/A
1: Available
Image_Inq_5
[12]
Presence of test image 5
0: N/A
1: Available
Image_Inq_6
[13]
Presence of test image 6
0: N/A
1: Available
Image_Inq_7
[14]
Presence of test image 7
0: N/A
1: Available
---
[15..27] Reserved
TestImage_ID
[28..31] 0: No test image active
1: Image 1 active
2: Image 2 active
…
Table 104: Advanced register: Test image
Sequence control
It is possible to make certain settings for a sequence of images beforehand by
using this register.
Marlin Technical Manual V.2.7.0
204
Configuration of the camera
Register
Name
Field
Bit
Description
0xF1000220
SEQUENCE_CTRL
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..4]
Reserved
AutoRewind
[5]
ON_OFF
[6]
Enable/Disable this feature
---
[7..15]
Reserved
MaxLength
[16..23] Maximum possible length of a
sequence (read only)
SeqLength
[24..31] Length of the sequence
0xF1000224
SEQUENCE_PARAM ---
[0..4]
Reserved
ApplyParameters
[5]
Apply settings to selected
image of sequence; auto-reset
IncImageNo
[6]
Increment ImageNo after
ApplyParameters has finished
---
[7..23]
Reserved
ImageNo
[24..31] Number of image within a
sequence
Table 105: Sequence control register
Look-up tables (LUT)
Load the look-up tables to be used into the camera and choose the look-up table
number via the LutNo field. Now you can activate the chosen LUT via the LUT_CTRL register.
The LUT_INFO register indicates how many LUTs the camera can store and shows
the maximum size of the individual LUTs.
The possible values for LutNo are 0..n-1, whereas n can be determined by reading the field NumOfLuts of the LUT_INFO register.
Register
Name
Field
Bit
Description
0xF1000240
LUT_CTRL
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Enable/Disable this feature
---
[7..25]
Reserved
LutNo
[26..31] Use look-up table with LutNo
number
Table 106: Advanced register: LUT
Marlin Technical Manual V.2.7.0
205
Configuration of the camera
Register
Name
Field
Bit
Description
0xF1000244
LUT_MEM_CTRL
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..4]
Reserved
EnableMemWR
[5]
Enable write access
---
[6..7]
Reserved
AccessLutNo
[8..15]
AddrOffset
[16..31] byte
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..7]
Reserved
NumOfLuts
[8..15]
Maximum number of look-up
tables
MaxLutSize
[16..31] Maximum look-up table size
(bytes)
0xF1000248
LUT_INFO
Table 106: Advanced register: LUT
Shading correction
Owing to technical circumstances, the interaction of recorded objects with one
another, optical effects and lighting non-homogeneities may occur in the
images.
Because these effects are normally not desired, they should be eliminated as far
as possible in subsequent image editing. The camera has automatic shading correction to do this.
Provided that a shading image is present in the camera, the on/off bit can be
used to enable shading correction.
The on/off and ShowImage bits must be set for saved shading images to be displayed.
Note

Always make sure that the shading image is saved at the highest resolution of the camera. If a lower resolution is chosen and
ShowImage is set to true, the image will not be displayed correctly.
Marlin Technical Manual V.2.7.0
206
Configuration of the camera
Register
Name
Field
Bit
Description
0xF1000250
SHDG_CTRL
Presence_Inq
[0]
Indicates presence of this feature (read only)
BuildError
[1]
Could not built shading image
---
[2..3]
Reserved
ShowImage
[4]
Show shading data as image
BuildImage
[5]
Build a new shading image
ON_OFF
[6]
Shading on/off
Busy
[7]
Build in progress
---
[8..23]
Reserved
GrabCount
[24..31] Number of images
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..4]
Reserved
EnableMemWR
[5]
Enable write access
EnableMemRD
[6]
Enable read access
---
[7]
Reserved
AddrOffset
[8..31]
In bytes
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..7]
Reserved
MaxImageSize
[8..31]
Maximum shading image size
(in bytes)
0xF1000254
0xF1000258
SHDG_MEM_CTRL
SHDG_INFO
Table 107: Advanced register: Shading
Deferred image transport
Using the register, the sequence of recording and the transfer of the images can
be paused. Setting HoldImg prevents transfer of the image. The images are
stored in ImageFIFO.
The images indicated by NumOfImages are sent by setting the SendImage bit.
When FastCapture is set (in Format_7 only), images are recorded at the highest
possible frame rate.
Marlin Technical Manual V.2.7.0
207
Configuration of the camera
Register
Name
Field
Bit
Description
0xF1000260
DEFERRED_TRANS
Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..4]
Reserved
SendImage
[5]
Send NumOfImages now (auto
reset)
HoldImg
[6]
Enable/Disable deferred
transport mode
FastCapture
[7]
Enable/disable fast capture
mode
---
[8..15]
Reserved
FiFoSize
[16..23] Size of FIFO in number of
images (read only)
NumOfImages
[24..31] Write: Number of images to
send
Read: Number of images in
buffer
Table 108: Advanced register: Deferred image transport
Frame information
This register can be used to double-check the number of images received by the
host computer against the number of images which were transmitted by the camera. The camera increments this counter with every FrameValid signal. This is a
mirror of the frame counter information found at 0xF1000610.
Register
Name
Field
Bit
Description
0xF1000270
FRAMEINFO
Presence_Inq
[0]
Indicates presence of this feature (read only)
ResetFrameCnt
[1]
Reset frame counter
---
[2..31]
Reserved
FrameCounter
[0..31]
Number of captured frames
since last reset
0xF1000274
FRAMECOUNTER
Table 109: Frame information register
The FrameCounter is incremented when an image is read out of the sensor.
The FrameCounter does not indicate whether an image was sent over the IEEE
1394 bus or not.
Marlin Technical Manual V.2.7.0
208
Configuration of the camera
High dynamic range mode
(Marlin F-131B only)
The CMOS sensor of the Marlin F-131 offers a special mode by which various nonlinearity points, the so-called knee points, can be freely adjusted. This enables
the high dynamic range of the sensor to be compressed into 8 bit, preserving
interesting details of the image. This mode is also known as multiple slope (dual
slope).
Register
Name
Field
Bit
Description
0xF1000280
HDR_CONTROL
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Enable/disable HDR mode
---
[7..19]
Reserved
MaxKneePoints
[20…23] Number of knee-points possible in this mode
---
[24..27]
Reserved
KneePoints
[28..31]
Number of active knee-points
---
[0..15]
Reserved
Kneepoint1
[16..31]
Time in μs
---
[0..15]
Reserved
Kneepoint2
[16..31]
Time in μs
---
[0..15]
Reserved
Kneepoint3
[16..31]
Time in μs
0xF1000284
0xF1000288
0xF100028C
KNEEPOINT_1
KNEEPOINT_2
KNEEPOINT_3
Table 110: High dynamic range configuration register
Marlin Technical Manual V.2.7.0
209
Configuration of the camera
DSNU control
The table below shows the advanced register map, required to control this functionality.
Register
Name
Field
Bit
Description
0xF1000290
DSNU_CONTROL
Presence_Inq
[0]
Indicates presence of this feature (read only)
ComputeError
[1]
ON: Error on computing DSNU
correction, e.g. sequence
mode active (read only)
OFF: No Error
---
[2..3]
Reserved
ShowImage
[4]
Show correction data as image
ComputeData
[5]
Compute new DSNU correction
data
ON_OFF
[6]
DSNU correction On/Off
ON: High
OFF: Low
Default: OFF
Busy
[7]
Computation in progress
SaveData
[8]
Save DSNU correction data to
flash
LoadData
[9]
Load DSNU correction data
from flash
ZeroData
[10]
Zero DSNU correction data
---
[11..23] Reserved
GrabCount
[24..31] Number of images
Table 111: Advanced register: DSNU
Marlin Technical Manual V.2.7.0
210
Configuration of the camera
Having generated the correction data it is possible to separately control the
blemish pixel correction with the help of the following register:
Register
Name
0xF1000294
Field
Bit
Description
BLEMISH_CONTROL Presence_Inq
[0]
Indicates presence of this feature (read only)
ComputeError
[1]
see DSNU_CONTROL
---
[2..3]
ShowImage
[4]
see DSNU_CONTROL
ComputeData
[5]
see DSNU_CONTROL
ON_OFF
[6]
blemish correction On/Off
ON: High
Default: OFF
Busy
[7]
see DSNU_CONTROL
SaveData
[8]
Save blemish correction data
to flash
LoadData
[9]
Load blemish correction data
from flash
ZeroData
[10]
see DSNU_CONTROL
---
[11..23] Reserved
GrabCount
[24..31] see DSNU_CONTROL
Table 112: Advanced register: Blemish
Input/output pin control
Note

•
•
•
•
See Chapter Input/output pin control on page 50
See Chapter IO_INP_CTRL 1-2 on page 50
See Chapter IO_OUTP_CTRL 1-2 on page 54
See Chapter Output modes on page 55
Marlin Technical Manual V.2.7.0
211
Configuration of the camera
Delayed Integration Enable (IntEna)
A delay time between initiating exposure on the sensor and the activation edge
of the IntEna signal can be set using this register. The on/off flag activates/
deactivates integration delay. The time can be set in μs in DelayTime.
Note
•
•

Please note that only one edge is delayed.
If IntEna_Out is used to control an exposure, it is possible to have a variation in brightness or to precisely time a
flash.
Integration time
Integration time
IntEna_real
IntEna_out
Delay
time
Delay
time
Figure 83: Delayed integration timing
Register
Name
0xF1000340 IO_INTENA_DELAY
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Enable/Disable integration
enable delay
---
[7..11]
Reserved
DELAY_TIME
[12..31]
Delay time in μs
Table 113: Advanced register: Delayed Integration Enable (IntEna)
Marlin Technical Manual V.2.7.0
212
Configuration of the camera
Auto shutter control
The table below illustrates the advanced register for auto shutter control. The
purpose of this register is to limit the range within which auto shutter operates.
Register
Name
Field
Bit
Description
0xF1000360
AUTOSHUTTER_CTRL Presence_Inq
[0]
Indicates presence of this feature (read only)
---
[1..31]
Reserved
0xF1000364
AUTOSHUTTER_LO
Min Value
[0..31]
Minimum value
0xF1000368
AUTOSHUTTER_HI
Max Value
[0..31]
Maximum value
Table 114: Advanced register: Auto shutter control
Auto gain control
The table below illustrates the advanced register for auto gain control.
Register
Name
0xF1000370 AUTOGAIN_CTRL
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..3]
Reserved
Max Value
[4..15]
Maximum auto gain value
---
[16..19]
Reserved
Min value
[20..31]
Minimum auto gain value
Table 115: Advanced register: Auto gain control
MinValue and MaxValue limits the range the auto gain feature is allowed to use
for the regulation process. Both values are initialized with the minimum and
maximum value defined in the standard GAIN_INQ register.
Changing the auto gain range might not affect the regulation, if the regulation
is in a stable condition and no other condition affecting the image brightness is
changed.
If both auto gain and auto shutter are enabled and if the gain is at its lower
boundary and shutter regulation is in progress, decreasing the lower auto gain
boundary has no effect on auto gain/shutter regulation as long as auto shutter
regulation is active.
Both values can only be changed within the range defined by the standard
GAIN_INQ register.
Marlin Technical Manual V.2.7.0
213
Configuration of the camera
Autofunction AOI
AUTOFNC_AOI affects the auto shutter, auto gain and auto white balance features and is independent of the Format7 AOI settings. If this feature is switched
off the work area position and size follow the current active image size.
As a reference it uses a grid of at least 300 samples equally spread over the area
of interest or a fraction of it. The position and size of the control area (Auto_Function_AOI) can be set via the following advanced registers.
Register
Name
0xF1000390 AUTOFNC_AOI
0xF1000394 AF_AREA_POSITION
0xF1000398 AF_AREA_SIZE
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..3]
Reserved
ShowWorkArea
[4]
Show work area
---
[5]
Reserved
ON_OFF
[6]
Enable/Disable AOI
---
[7..31]
Reserved
Left
[0..15]
Work area position (left coordinate)
Top
[16..31]
Work area position (top coordinate)
Width
[0..15]
Width of work area size
Height
[16..31]
Height of work area size
Table 116: Advanced register: Autofunction AOI
The possible increment of the work area position and size is 128 pixel. The camera automatically adjusts your settings to allowed values.
The possible increment of this work-area position and size is 128 pixels. The
camera automatically adjusts the settings to allowed values (see below for valid
values):
Region
Valid Values
Left, Top
0, 128, 256, 384, 512, 768, 1024…
Width, Height
128, 256, 384, 512, 768, 1024…
Table 117: Legal values for AF_AREA_SIZE
Due to the fact that the active image size might not be dividable by 128 without
a remainder, the auto function AOI work-area size might be greater.
This allows for the positioning of the work-area to be at the bottom of the active
image.
Marlin Technical Manual V.2.7.0
214
Configuration of the camera
E.g. if the active image size is 640 x 480 pixel the camera accepts a maximum of
640 x 512 pixel as the auto function AOI work area (if the control area position
is 0:0).
Another case is for outdoor applications: the sky will be excluded from the generation of the reference levels.
Color correction
Register
Name
0xF10003A0 COLOR_CORR
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Color correction on/off
default: on
Write: 02000000h to switch
color correction OFF
Write: 00000000h to switch
color correction ON
---
[7..31]
Reserved
Table 118: Advanced register: Color correction
For an explanation of the color correction matrix and for further information
read Chapter Color interpolation and correction on page 99.
Trigger delay
Register
Name
0xF1000400 TRIGGER_DELAY
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Trigger delay on/off
---
[7..10]
Reserved
DelayTime
[11..31]
Delay time in μs
Table 119: Advanced register: Trigger Delay
The advanced register allows start of the integration to be delayed via
DelayTime by max. 221 μs, which is max. 2.1 s after a trigger edge was detected.
Marlin Technical Manual V.2.7.0
215
Configuration of the camera
Note
Trigger delay works with external trigger modes only.

Mirror image
The table below illustrates the advanced register for Mirror image.
Register
Name
0xF1000410 MIRROR_IMAGE
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Mirror image on/off
1: on
0: off
Default: off
---
[7..31]
Reserved
Table 120: Advanced register: Mirror
Soft Reset
Register
Name
0xF1000510 SOFT_RESET
Field
Bit
Description
Presence Inquiry
[0]
Read only
---
[1..5]
Reserved
Reset
[6]
Initiate reset
---
[7..19]
Reserved
Delay
[20..31]
Delay reset in 10 ms steps
Table 121: Advanced register: Soft reset
The SOFT_RESET feature is similar to the INITIALIZE register, with the following
differences:
• 1 or more bus resets will occur
• the FPGA will be rebooted
The reset can be delayed by setting the Delay to a value unequal to 0 - the delay
is defined in 10 ms steps.
Marlin Technical Manual V.2.7.0
216
Configuration of the camera
Note

When SOFT_RESET has been defined, the camera will respond
to further read or write requests but will not process them.
Secure image signature (SIS)
Definition
Secure image signature (SIS) is the synonym for data, which is inserted into an
image to improve or check image integrity.
With the new firmware V3.03, all CCD Marlin models can insert
• Time stamp (1394 bus cycle time at the beginning of integration)
• Frame counter (frames read out of the sensor)
• Trigger counter (external trigger seen only)
into a selectable line position within the image. Time stamp, frame counter and
trigger counter are available as advanced registers to be read out directly.
Advanced register: time stamp
The time stamp feature is controlled by the following advanced feature register:
Register
Name
0xF1000600 TIMESTAMP
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
SIS (time stamp) on/off
---
[7]
Reserved
Format_0_Inq
[8]
Presence of Format_0
0: n/a
1: available
---
[9]
Reserved
---
[10]
Reserved
---
[11]
Reserved
---
[12]
Reserved
---
[13..15]
Write as 0.
Reserved
LinePos
[16..31]
Line position of SIS
(time stamp)
Table 122: Advanced register: Time stamp
Marlin Technical Manual V.2.7.0
217
Configuration of the camera
Enabling this feature, time stamp data will be inserted into any captured image.
The size of the time stamp depends on the selected time stamp format.
The LinePos field indicates at which line the stamp will be inserted.
Enter a
• positive value from 0..HeightOfImage to specify a position relative to the
top of the image. LinePos=0 specifies the very first image line.
• negative value from -1..-HeightOfImage to specify a position relative to
the bottom of the image. LinePos=-1 specifies the very last image line.
Note
SIS outside the visible image area:

For certain Format_7 modes the image frame transported may
contain padding (filling) data at the end of the transported
frame. Setting LinePos=HeightOfImage places the stamp in
this padding data area, outside the visible area (invisible SIS).
If the transported image frame does not contain any padding
data the camera will not relocate the SIS to the visible area
automatically (no SIS).
Take in mind that the accuracy of the time stamp might be
affected by asynchronous traffic – mainly if image settings are
changed.
Note
The IEEE 1394 cycle counter will be inserted into the very first
4 bytes/pixels of a line.

Cycle offset
Cycles
Seconds
Cycle offset 12 bit
Cycle count 13 bit
Second count 7 bit
0 .. 3071 cycle offsets (40.69 ns) 0 .. 7999 cycles
0 .. 127 seconds
24.576 MHz cycle timer counter
1 Hz cycle timer counter
8000 Hz cycle timer counter
Table 123: 32-bit cycle timer layout
Marlin Technical Manual V.2.7.0
218
Configuration of the camera
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
Cycle offset 12 bit
Bit
16
17
18
19
20
21
22
23
13
14
15
Cycle count ...
24
25
26
... Cycle count 13 bit
27
28
29
30
31
Second count 7 bit
Table 124: Cycle timer layout
Advanced register: frame counter
The frame counter feature is controlled by the following advanced feature register:
Register
Name
0xF1000610 FRMCNT_STAMP
0xF1000614 FRMCNT
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
Reset
[1]
Reset frame counter
---
[2..5]
Reserved
ON_OFF
[6]
SIS (time stamp) on/off
---
[7]
Reserved
---
[8..15]
Reserved
LinePos
[16..31]
Line position of SIS (time
stamp)
[0..31]
Frame counter
Table 125: Advanced register: Frame counter
Having this feature enabled, the current frame counter value (images read out
of the sensor, equivalent to # FrameValid) will be inserted as a 32-bit integer
value into any captured image.
Setting the Reset flag to 1 resets the frame counter to 0 — the Reset flag is selfcleared.
The ON_OFF and LinePos fields are simply mirrors of the time stamp feature. Settings of these fields are applied to all image stamp features.
Note

The 4 bytes of the frame counter value will be inserted as the
5th to 8th byte of a line.
Additionally there is a register for direct read out of the frame counter value.
Marlin Technical Manual V.2.7.0
219
Configuration of the camera
Advanced register: trigger counter
The trigger counter feature is controlled by the following advanced feature register:
Register
Name
0xF1000620 TRGCNT_STAMP
0xF1000624 TRGCNT
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
Reset
[1]
Reset trigger counter
---
[2..5]
Reserved
ON_OFF
[6]
SIS (time stamp) on/off
---
[7]
Reserved
---
[8..15]
Reserved
LinePos
[16..31]
Line position of SIS
(time stamp)
[0..31]
Trigger counter
Table 126: Advanced register: Trigger counter
Having this feature enabled, the current trigger counter value (external trigger
seen by hardware) will be inserted as a 32-bit integer value into any captured
image.
Setting the Reset flag to 1 resets the trigger counter to 0 – the Reset flag is selfcleared.
The ON_OFF and LinePos fields are simply mirrors of the time stamp feature. Settings of these fields are applied to all image stamp features.
Note

The 4 bytes of the trigger counter value will be inserted as the
9th to 12th byte of a line.
Additionally there is a register for direct read out of the trigger counter value.
Marlin Technical Manual V.2.7.0
220
Configuration of the camera
Where to find time stamp, frame counter and trigger counter
in the image
Time stamp
1
2
3
4






Trigger counter
5
6
7
8
9
10 11 12 .. .. .
Output line
of image
.



Frame counter
Bytes
Figure 84: SIS in the image
User profiles
Definition
Within the IIDC specification user profiles are called memory channels. Often
they are called user sets. In fact these are different expressions for the following: storing camera settings into a non-volatile memory inside the camera.
With firmware 3.03 (Marlin CCD) and firmware 3.45 (Marlin CMOS) cameras, can
store up to three user profiles (plus the factory default) nonvolatile in the camera.
User profiles can be programmed with the following advanced feature register:
Register
Name
0xF1000550 USER_PROFILE
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..7]
Reserved
SaveProfile
[8]
Save settings to profile
RestoreProfile
[9]
Load settings from profile
SetDefaultID
[10]
Set profile ID as default
---
[11..19]
Reserved
ErrorCode
[20..23]
Error code
See Table 128: User profile:
Error codes on page 222.
---
[24..27]
Reserved
ProfileID
[28..31]
ProfileID (memory channel)
Table 127: Advanced register: User profiles
Marlin Technical Manual V.2.7.0
221
Configuration of the camera
In general this advanced register is a wrapper around the standard memory
channel registers with some extensions. In order to query the number of available user profiles please check the Memory_Channel field of the BASIC_FUNC_INQ register at offset 0x400 (see IIDC V1.3x for details).
The ProfileID is equivalent to the memory channel number and specifies the
profile number to store settings to or to restore settings from. In any case profile
#0 is the hard-coded factory profile and cannot be overwritten.
After an initialization command, startup or reset of the camera, the ProfileID
also indicates which profile was loaded on startup, reset or initialization.
Note
•

•
The default profile is the profile that is loaded on powerup or an INITIALIZE command.
A save or load operation delays the response of the camera until the operation is completed. At a time only one
operation can be performed.
Store To store the current camera settings into a profile:
1.
Write the desired ProfileID with the SaveProfile flag set.
2.
Read back the register and check the ErrorCode field.
Restore To restore the settings from a previous stored profile:
Set default
Factory default
1.
Write the desired ProfileID with the RestoreProfile flag set.
2.
Read back the register and check the ErrorCode field.
To set the default profile to be loaded on startup, reset or initialization
1.
Write the desired ProfileID with the SetDefaultID flag set.
2.
Read back the register and check the ErrorCode field.
To go back to the factory default profile:
1.
Select ProfileID=0 and toggle the SetDefaultID flag set.
2.
Read back the register and check the ErrorCode field.
Error codes
ErrorCode #
Description
0x00
No error
0x01
Profile data corrupted
0x02
Camera not idle during restore operation
0x03
Feature not available (feature not present)
0x04
Profile doesn’t exist
0x05
ProfileID out of range
0x06
Restoring the default profile failed
Table 128: User profile: Error codes
Marlin Technical Manual V.2.7.0
222
Configuration of the camera
ErrorCode #
Description
0x07
Loading LUT data failed
0x08
Storing LUT data failed
Table 128: User profile: Error codes
Reset of error codes
The ErrorCode field is set to zero on the next write access.
You may also reset the ErrorCode
• by writing 00000000h to the USER_PROFILE register.
Note
•

•
•
•
•
A profile save operation automatically disables capturing
of images.
A profile save or restore operation is an uninterruptable
(atomic) operation – the write response (of the asynchronous write cycle) will be sent after completion of the
operation.
Restoring a profile will not overwrite other settings than
listed above.
If a restore operation fails or the specified profile does
not exist, all registers will be overwritten with the hardcoded factory defaults (profile #0).
Data written to this register is not reflected in the standard memory channel registers.
Marlin Technical Manual V.2.7.0
223
Configuration of the camera
Stored settings
The following table shows the settings stored inside a profile:
Standard registers
Standard registers
(Format_7)
Advanced registers
Cur_V_Frm_Rate
Cur_V_Mode
Cur_V_Format
ISO_Channel
ISO_Speed
BRIGHTNESS
AUTO_EXPOSURE (Target grey level)
SHARPNESS
WHITE_BALANCE (+ auto on/off)
HUE (+ hue on)
SATURATION (+ saturation on)
GAMMA (+ gamma on)
SHUTTER (+ auto on/off)
GAIN
TRIGGER_MODE
TRIGGER_DELAY
ABS_GAIN
ABS_TRIGGER_DELAY
IMAGE_POSITION (AOI)
IMAGE_SIZE (AOI)
COLOR_CODING_ID
BYTES_PER_PACKET
TIMEBASE
EXTD_SHUTTER
IO_INP_CTRL
IO_OUTP_CTRL
IO_INTENA_DELAY
AUTOSHUTTER_CTRL
AUTOSHUTTER_LO
AUTOSHUTTER_HI
AUTOGAIN_CTRL
AUTOFNC_AOI (+ on/off)
COLOR_CORR (on/off)
TRIGGER_DELAY
MIRROR_IMAGE
HIGH_SNR
TIMESTAMP
LUT_CTRL (LutNo; ON_OFF is not saved)
LUT_DATA
Table 129: User profile: stored settings
The user can specify which user profile will be loaded upon startup of the camera.
This frees the user software from having to restore camera settings, that differ
from default, after every startup. This can be especially helpful if third party software is used which may not give easy access to certain advanced features or may
not provide efficient commands for quick writing of data blocks into the camera.
Marlin Technical Manual V.2.7.0
224
Configuration of the camera
GPDATA_BUFFER
GPDATA_BUFFER is a register that regulates the exchange of data between camera and host for programming the LUT and the upload/download of the shading
image.
GPDATA_INFO Buffer size query
GPDATA_BUFFER indicates the actual storage range
Register
Name
0xF1000FFC GPDATA_INFO
Field
Bit
Description
---
[0..15]
Reserved
BufferSize
[16..31]
Size of GPDATA_BUFFER
(byte)
0xF1001000
…
GPDATA_BUFFER
0xF10017FC
Table 130: Advanced register: GPData buffer
Note

•
•
Read the BufferSize before using.
GPDATA_BUFFER can be used by only one function at a
time.
Little endian vs. big endian byte order
• Read/WriteBlock accesses to GPDATA_BUFFER are recommended, to read or
write more than 4 byte data. This increases the transfer speed compared to
accessing every single quadlet.
• The big endian byte order of the 1394 bus is unlike the little endian byte
order of common operating systems (Intel PC). Each quadlet of the local
buffer, containing the LUT data or shading image for instance, has to be
swapped bytewise from little endian byte order to big endian byte order
before writing on the bus.
Bit depth
little endian  big endian
8 bit
L0 L1 L2 L3
16 bit
L0 H0 L1 H1  H1 L1 H0 L0
Description
 L3 L2 L1 L0
L: low byte
H: high byte
Table 131: Swapped first quadlet at address offset 0
Marlin Technical Manual V.2.7.0
225
Firmware update
Firmware update
Firmware updates can be carried out without opening the camera.
You need:
• Programming cable E 1000666
• Software AVTCamProg
• PC or laptop with serial interface (RS 232)
• Documentation for firmware update
Note

Caution

Note
Please make sure that the new Marlin firmware matches with
the serial numbering. This means Marlins with serial numbers
xx/yy-6zzzzzzz need different firmware than Marlins with
other serial numbers.
Any mixture may result in a nonfunctional or even damaged
camera.
Please contact your local dealer for further information.

Marlin Technical Manual V.2.7.0
226
Appendix
Appendix
Sensor position accuracy of Marlin cameras
camera body
pixel area
pixel area
y
camera body
D
sensor case
sensor case
x
Figure 85: Sensor position accuracy
Criteria
Subject
Method of Positioning
Reference Points
Accuracy
Properties
Optical alignment of the photo sensitive sensor area into
the camera front module (lens mount front flange)
Sensor
Center of the pixel area (photo sensitive cells)
Camera
Center of the lens mount
x/y
+/- 0.1 mm (sensor shift)
z
+0/-50 μm (optical back focal length)
α
+/-0.5° (center rotation as the deviation from the parallel
to the camera bottom)
Table 132: Criteria of Allied Vision sensor position accuracy
Note

x/y tolerances between C-Mount hole and pixel area may be
higher.
Marlin Technical Manual V.2.7.0
227
Index
Numbers
0xF0F00830 (bulk trigger).........................140
0xF1000208 (time base) ...........................202
0xF100020C (extended shutter) .................203
0xF1000210 (test images).........................204
0xF1000220 (sequence control) .................205
0xF1000220 (sequence mode) ...................155
0xF1000240 (LUT) ...................................205
0xF1000250 (shading) .............................207
0xF1000260 (deferred image transport).......208
0xF1000270 (frame information)................208
0xF1000280 (HDR) ..................................209
0xF1000290 (DSNU).................................210
0xF1000294 (blemish) .............................211
0xF1000340 (Delayed IntEna) ....................212
0xF1000360 (auto shutter control) .............213
0xF1000370 (auto gain control) .................213
0xF1000390 (autofunction AOI) .................214
0xF10003A0 (color correction)...................215
0xF1000400 (trigger delay) .......................215
0xF1000410 (mirror image) .......................216
0xF1000510 (soft reset)............................216
0xF1000550 (user profiles/memory channels/
user sets)...............................................221
0xF1000600 (time stamp) .........................217
0xF1000610 (frame counter) .....................219
0xF1000620 (trigger counter) ....................220
0xF1000FFC (GPData buffer) ......................225
1 out of 2 H+V sub-sampling (b/w)
drawing ............................................ 96
2 out of 4 H+V sub-sampling (color)
drawing ............................................ 97
2 x full binning
drawing ............................................ 92
2 x horizontal binning
drawing ............................................ 91
2 x vertical binning
drawing ............................................ 90
32-bit cycle timer layout ...........................218
A
Abs_Control (Field)................66, 71, 73, 74, 76
Abs_Control_Inq (Field) ............................ 51
Access_Control_Register...........................184
accuracy
sensor position..................................227
ActivVision Tools ...................................... 79
AddrOffset ...................................... 206, 207
Advanced feature inquiry ..........................199
Advanced feature inquiry (advanced register)200
Advanced features ...................................194
activate ...........................................197
base address .....................................184
inquiry.............................................182
advanced register
Advanced feature inquiry.....................200
Auto gain control...............................213
Auto shutter control ...........................213
Autofunction AOI ...............................214
Blemish ...........................................211
Color correction.................................215
Deferred image transport.....................208
Delayed Integration Enable (IntEna)......212
DSNU...............................................210
Extended shutter ...............................203
extended shutter ...............................146
Frame counter ...................................219
GPData buffer....................................225
LUT .................................................205
Max. resolution .................................201
Mirror ..............................................216
Mirror image .....................................216
Sequence mode .................................155
Shading ...........................................207
Soft reset .........................................216
Test images.......................................204
Time base .........................................202
Time stamp .......................................217
Trigger counter..................................220
Trigger delay.....................................215
User profiles .....................................221
Version information............................197
AF_AREA_POSITION .................................214
AF_AREA_SIZE ........................................214
legal values ......................................214
Algorithm
correction data................................... 80
amplification ........................................... 66
analog color signal ................................... 66
Analog Devices ........................................ 65
AOI..................................................83, 120
correction data................................... 83
Area of Interest (AOI)...............................214
area of interest (AOI) ..........................83, 122
Asynchronous broadcast ...........................149
auto exposure
Marlin Technical Manual V.2.7.0
228
Index
limits................................................ 72
target grey level ............................ 72, 75
Auto Exposure (CSR register) ...................... 74
auto gain ........................................... 72, 73
Auto gain control (advanced register)..........213
auto shutter .................................. 69, 70, 72
auto shutter control
advanced register ..............................213
Auto shutter control (advanced register)......213
auto white balance
external trigger .................................. 68
auto white balance (AWB) .......................... 68
AUTOFNC_AOI ....................................69, 214
AUTOFNC_AOI positioning .......................... 69
Autofunction AOI (advanced register)..........214
AUTOGAIN_CTRL ......................................213
automatic generation
correction data................................... 80
AUTOSHUTTER_CTRL .................................213
AUTOSHUTTER_HI ....................................213
AUTOSHUTTER_LO....................................213
AUTO_EXPOSURE ...................................... 74
Auto_Inq ................................................ 51
AVTCamProg ...........................................226
AWB....................................................... 68
A_M_MODE (Field) .................66, 71, 73, 74, 76
B
bandwidth..............................................108
affect frame rate ................................160
available ..........................................124
deferred image transport.....................152
FastCapture ......................................153
frame rates .......................................123
RGB8 format .....................................102
save in RAW-mode............................... 99
BAYER demosaicing..................................100
BAYER mosaic .......................................... 99
Bayer to RGB
color interpretation............................. 99
Binning .................................................. 89
binning
full................................................... 92
horizontal ......................................... 91
vertical ............................................. 90
black level .............................................. 75
black value......................................... 75, 76
blemish correction
Histogram ......................................... 87
Blemish (advanced register) ......................211
blink codes.............................................. 48
block diagram
AFE .................................................. 65
color camera ...................................... 61
block diagrams
cameras ............................................ 60
BRIGHTNESS ......................................76, 189
Brightness
inquiry register..................................183
register............................................154
brightness
auto shutter....................................... 70
average............................................. 73
decrease ........................................... 72
descending.......................................157
effects .............................................154
IIDC register ...................................... 76
increase ....................................... 72, 75
level................................................. 79
LUT .................................................. 77
nonlinear .......................................... 77
reference ..................................... 70, 73
setting.............................................. 75
sub-sampling ..................................... 93
variation ..........................................212
Brightness Control...................................183
Brightness (CSR register) ........................... 76
BRIGHTNESS_INQUIRY ..............................185
Brightness_inq. ......................................185
buffer
LUT .................................................. 78
bulk trigger ..................................... 137, 139
Busy signal ............................................. 53
Bus_Id ..................................................165
C
Cable GND ............................................... 45
camera dimensions ................................... 37
camera interfaces ..................................... 45
Camera lenses.......................................... 43
cameras
block diagram .................................... 60
Marlin............................................... 20
Camera_Status_Register ...........................165
CDS........................................................ 66
CE ......................................................... 21
Marlin Technical Manual V.2.7.0
229
Index
channel .................................................. 58
color camera
block diagram .................................... 61
Color correction .......................... 99, 101, 215
color correction (advanced register)............215
Color Correction (Field) ............................200
Color correction (Field).............................200
color information ..................................... 99
Color interpolation ..................................100
Com (LED state) ....................................... 47
common GND
inputs............................................... 46
common vcc
outputs ............................................. 46
conformity .............................................. 21
consequence
BAYER demosaicing ............................100
controlling
image capture ...................................137
correction data
algorithm .......................................... 80
AOI .................................................. 83
automatic generation .......................... 80
generated.......................................... 86
requirements ..................................... 80
shading............................................. 79
correlated double sampler.......................... 66
CSR.......................................................165
CSR register
Auto Exposure .................................... 74
Brightness......................................... 76
cycle counter ..........................................218
Cycle timer layout ....................................219
D
dark signal non uniformity (DSNU)............... 86
data block packet format
description ........................................ 58
data exchange buffer
LUT .................................................. 78
data packets ............................................ 57
data path ................................................ 60
data payload size.....................................160
data_length ............................................ 58
DCAM ........................................ 18, 108, 165
deferred image transport ............ 151, 152, 207
Deferred image transport (advanced register) ....
208
deferred transport ...................................157
Delayed Integration Enable (IntEna) (advanced
register) ................................................212
Digital Camera Specification ......................165
digital video information ........................... 58
digitization ............................................. 66
digitizer ................................................. 78
document history ....................................... 9
DSNU ..................................................... 86
correction ......................................... 87
horizontal mirror function .................... 88
DSNU correction
Effect ............................................... 86
DSNU reduction function............................ 86
DSNU (advanced register) .........................210
dual slope mode....................................... 62
E
E 1000666..............................................226
edge mode (Trigger_Mode_0) ....................137
Effect
DSNU correction ................................. 86
effective min. exp. time ............................145
End of exposure ......................................148
error code
user profiles .....................................222
error codes
LED .................................................. 48
error states ............................................. 48
ExpOffset ...............................................202
exposure function..................................... 63
Exposure time
(Field) .............................................146
exposure time.........................................144
81 Ch register....................................146
example...........................................145
extended shutter ...............................203
FIFO ................................................156
formula............................................144
longest ............................................146
long-term integration.........................146
minimum..........................................146
ExpTime (Field) .......................................146
EXTD_SHUTTER........................................203
extended shutter.....................................146
advanced register ..............................146
FireDemo..........................................203
FireView ...........................................203
Marlin Technical Manual V.2.7.0
230
Index
inactive..................................... 146, 203
register............................................203
trigger mode .....................................137
Extended shutter (advanced register) ..........203
EXTENDED_SHUTTER.................................146
External GND ........................................... 46
external trigger........................................ 49
F
FastCapture
bandwidth ........................................153
deferred image transport.....................207
false................................................153
only Format_7 ...................................153
FastCapture (Field) ..................................208
FCC Class B .............................................. 21
FillFactory............................................... 29
FireDemo
Extended shutter ...............................203
FirePackage
additional checks image integrity..........159
OHCI API software ............................... 18
Firetool program .....................................157
FireView
Extended shutter ...............................203
firmware update ......................................226
focal length............................................. 43
MF-033/046/145/146.......................... 43
MF-080 ............................................. 44
MF-131 ............................................. 44
MF-201 ............................................. 44
FORMAT_7_ERROR_1 ................................. 48
FORMAT_7_ERROR_2 ................................. 48
FOV........................................................ 88
FPGA ...................................................... 65
FPGA Boot error........................................ 48
Frame counter.........................................217
frame counter .................................. 159, 219
Frame counter (advanced register)..............219
frame rates
bandwidth ........................................123
bus speed .........................................108
Format_7 .........................................127
Marlin models ...................................108
maximum .........................................108
MF-033 ............................................128
MF-046 ............................................129
MF-080 ............................................130
MF-131 ............................................136
MF-145 ............................................133
MF-146 ............................................134
MF-201 ............................................135
tables ..............................................123
video mode 0 ....................................127
video mode 2 ....................................127
Frame valid ............................................. 53
FrameCounter .........................................208
Free-Run................................................149
Full binning............................................. 92
Fval ....................................................... 53
Fval signal .............................................. 53
G
Gain....................................................... 73
Pixel Gain Amplifier ............................. 65
gain
auto ................................................. 73
auto exposure CSR............................... 73
AUTOFNC_AOI..................................... 69
DSNU................................................ 87
formula............................................. 75
manual ............................................. 75
manual gain range .............................. 75
ranges .............................................. 75
white balance..................................... 65
gain CSR ................................................. 75
GAIN (Name) ........................................... 73
GAIN (register) ........................................ 67
gamma function ....................................... 77
CCD models........................................ 83
CMOS models ..................................... 78
Gamma LUT ............................................. 77
gamma LUT ............................................. 77
global shutter....................................62, 137
GND for RS232 ......................................... 46
GPData buffer (advanced register) ..............225
GPDATA_BUFFER .............................78, 84, 85
GRAB_COUNT ...................................... 80, 81
H
hardware trigger ................................52, 143
HDR mode............................................... 64
HDR_CONTROL .................................... 63, 64
High dynamic range
configuration register.......................... 63
Marlin Technical Manual V.2.7.0
231
Index
High Dynamic Range mode ......................... 62
Histogram
blemish correction .............................. 87
HoldImg
field ................................................152
flag .................................................152
mode...............................................152
set ..................................................207
HoldImg (Field) ......................................208
Horizontal binning ................................... 91
horizontal mirror function.......................... 88
horizontal sub-sampling (b/w)
drawing ............................................ 94
horizontal sub-sampling (color)
drawing ............................................ 94
hue
offset ..............................................102
I
IBIS5A ................................................... 62
nonlinear photo response..................... 64
IBIS5B ................................................... 29
IBIS5B NIR .............................................. 29
ICX-204AK............................................... 25
ICX-204AL............................................... 25
ICX-205AK............................................... 26
ICX-205AL............................................... 26
ICX-267AK............................................... 27
ICX-267AL.......................................... 27, 28
ICX-267AQ .............................................. 28
ICX-414AL............................................... 23
ICX-414AQ .............................................. 23
ICX-415AL............................................... 24
ICX-415AQ .............................................. 24
IEEE 1394 ............................................... 18
IEEE 1394 connector ................................. 45
IEEE 1394 port
pin assignment................................... 45
IEEE 1394 Trade Association ......................165
IIDC .......................................... 18, 108, 165
data structure .................................... 59
isochronous data block packet format ..... 57
pixel data .......................................... 57
trigger delay ...................................... 51
video data format................................ 58
Y16 .................................................. 59
Y8 .................................................... 59
YUV411 ............................................. 58
YUV422 ............................................. 58
IIDC V1.3 ...............................................137
image capture
controlling .......................................137
IMAGE_POSITION.....................................120
IMAGE_SIZE ...........................................120
input
block diagram .................................... 49
configuration register.......................... 50
polarity setting .................................. 55
signals.............................................. 49
Trigger (Mode) ................................... 50
input mode ............................................. 50
input pin control ...................................... 50
InputMode (Field) .................................... 50
inputs
common GND ..................................... 46
general ............................................. 49
ID .................................................... 50
in detail ............................................ 49
inverting ........................................... 49
triggers............................................. 49
input/output pin control...........................211
Inquiry register
basic function ...................................182
Integration Enable Signal .......................... 53
IntEna............................................... 46, 56
IntEna signal .....................................53, 212
IntEna_Delay........................................... 57
internal trigger ................................ 137, 139
interpolation
BAYER demosaicing ............................100
Bayer demosaicing .............................100
Bayer to RGB ...................................... 99
color .............................99, 100, 113, 115
correction ......................................... 99
IO_INP_CTRL1.......................................... 50
IO_INP_CTRL2.......................................... 50
IO_OUTP_CTRL1 ....................................... 54
IO_OUTP_CTRL2 ....................................... 54
isochronous blocks ................................... 58
isochronous channel number ...................... 58
Isochronous data block packet format .......... 57
isochronous data packets ........................... 57
IsoEnable ..............................................157
white balance..................................... 67
ISO_Enable ............................................149
ISO_Enable mode ....................................149
Iso_Enable mode
Marlin Technical Manual V.2.7.0
232
Index
Multi-shot ........................................149
One-shot ..........................................147
J
jitter .............................................. 148, 150
at exposure start................................151
K
knee-point .............................................. 63
Kneepoint1 ............................................. 63
Kneepoint2 ............................................. 63
Kneepoint3 ............................................. 63
KneePoints (Field) .................................... 63
KNEEPOINT_1........................................... 63
KNEEPOINT_2........................................... 63
KNEEPOINT_3........................................... 63
L
latching connectors .................................. 45
LED
Com ................................................. 47
error codes ........................................ 48
indication.......................................... 47
power (green) .................................... 47
status ............................................... 47
yellow............................................... 47
Legal notice .............................................. 2
legal values
AF_AREA_SIZE...................................214
level mode (Trigger_Mode_1) ....................137
look-up table
user-defined ...................................... 77
look-up table (LUT).............................77, 205
LUT .......................................................205
data exchange buffer ........................... 78
example ............................................ 77
Gamma ............................................. 77
general ............................................. 77
loading into camera............................. 78
volatile ............................................. 78
LUT (advanced register) ............................205
LutNo....................................................205
LutNo (Field) ..........................................205
LUT_CTRL ...............................................205
LUT_INFO...............................................206
LUT_MEM_CTRL .......................................206
M
Manual_Inq............................................. 51
Marlin cameras ........................................ 20
Marlin F-033B
specification ...................................... 23
Marlin F-046B
specification ...................................... 24
Marlin F-080B
specification ...................................... 25
Marlin F-131B/NIR
specification ...................................... 29
Marlin F-145B2
specification ...................................... 26
Marlin F-146B
specification ...................................... 27
Marlin F-201B
specification ...................................... 28
Marlin W270 ............................................ 41
Marlin W270 S90 ...................................... 42
Marlin W90.............................................. 39
Marlin W90 S90 ........................................ 40
maximum resolution ................................201
MaxKneePoints (Field)............................... 63
MaxResolution (Field) ..............................200
MaxResolution (Register)..........................201
MaxValue ...............................................213
MAX_RESOLUTION....................................201
Max_Value .............................................. 51
Max. resolution (advanced register) ............201
memory channels ....................................221
MinValue ...............................................213
Min_Value............................................... 51
Min. exp. time + offset..............................145
mirror function
horizontal ......................................... 88
Mirror image (advanced register)................216
Mirror (advanced register).........................216
MSB aligned ............................................ 58
multiple slope ......................................... 62
multiple slope mode ................................. 62
Multi-Shot .............................................149
multi-shot ...................................... 149, 157
external trigger .................................149
MVTEC .................................................... 79
N
No DCAM object........................................ 48
Marlin Technical Manual V.2.7.0
233
Index
No FLASH object ....................................... 48
Node_Id ................................................165
nonlinear photo response .......................... 64
non-uniform illumination........................... 79
NumOfLuts .............................................205
general ............................................. 49
registers ........................................... 54
set by software ................................... 57
OutVCC ................................................... 46
P
O
OFFSET
automatic white balance ...................... 67
offset ....................................................144
800h ................................................ 76
CCD .................................................. 76
CMOS ................................................ 76
configuration ROM .............................168
factors .............................................168
formula............................................. 75
hue .................................................102
initialize register ...............................171
inquiry register video format ................171
inquiry register video mode..................172
saturation ........................................102
setting brightness ............................... 75
setting gain ....................................... 75
OHCI API
FirePackage ....................................... 18
one-push white balance ........................ 67, 68
one-shot................................................147
Trigger_Mode_15........................ 137, 139
using Trigger_Mode_15.......................141
values..............................................147
one-shot bit ...........................................147
one-shot mode........................................147
One_Push (Field)...................66, 71, 73, 74, 76
One_Push_Inq ......................................... 51
ON_OFF .................................................. 51
ON_OFF (Field)......................................... 66
optical coupler......................................... 49
opto coupler............................................ 49
output
block diagram .................................... 53
signals.............................................. 53
Output configuration register...................... 54
output mode............................................ 54
ID .................................................... 55
Output mode (Field).................................. 54
output pin control .................................... 55
outputs .................................................. 53
common vcc ....................................... 46
partial scan ............................................. 20
photo response
nonlinear .......................................... 64
PI controller ............................................ 73
pin control .............................................211
PinState flag ........................................... 54
PinState (Field)........................................ 50
plus integral controller.............................. 73
Polarity (Field)......................................... 50
power
GND ................................................. 46
IEEE-1394 pin assignment .................... 45
LED .................................................. 47
Presence_Inq .......................................... 50
Presence_Inq (Field)............................ 51, 66
programmable mode (Trigger_Mode_15) .....137
programming cable
E 1000666 ........................................226
PxGA ...................................................... 66
PxGA® .................................................... 65
R
Readout_Inq ........................................... 51
register .................................................. 66
Brightness........................................154
Register mapping ..................................... 48
Requirements
correction data................................... 80
RGB to YUV
formula............................................102
RGB8 format ...........................................102
RoHS (2011/65/EU).................................. 21
rolling shutter ........................................150
dual slope ......................................... 62
RS232 .................................................... 46
serial interface ..................................226
RxD_RS232 ............................................. 46
S
saturation
offset ..............................................102
Marlin Technical Manual V.2.7.0
234
Index
scan....................................................... 20
secure image signature (SIS)
advanced registers .............................217
definition .........................................159
scenarios..........................................159
sensor
positioning ........................................ 37
Sensor position accuracy...........................227
sequence
BAYER color pattern............................. 66
commands for generating shading image . 81
correction ......................................... 81
deferred mode...................................153
global shutter ...................................150
loading a LUT ..................................... 78
modified registers ..............................154
of images .........................................154
one-push white balance ....................... 68
OneShot...........................................147
sequence control.....................................204
correction data................................... 81
register............................................205
sequence mode .......................................154
cancel..............................................157
changes to registers ...........................158
example of settings ............................157
flow diagram .....................................156
frame rate ........................................154
image size ........................................154
implemented.....................................155
Sequence mode (advanced register) ............155
Seq_Length............................................157
serial interface
RS 232 .............................................226
shaded image .......................................... 83
shading
correction data................................... 79
shading correction.........................79, 86, 206
shading image ......................................... 79
automatic generation .......................... 80
delay ................................................ 81
Format_7 .......................................... 83
generate ........................................... 81
generation ........................................ 82
load into camera................................. 85
load out of camera .............................. 84
shading images .......................................206
shading reference image ............................ 80
Shading (advanced register)......................207
SHDG_CTRL .......................................81, 207
SHDG_INFO ............................................207
SHDG_MEM_CTRL ....................................207
ShowWorkArea (Field) ..............................214
SHUTTER ................................................. 71
Shutter CSR ............................................. 71
shutter time
formula............................................144
SHUTTER_MODES .....................................137
Signal to noise ratio (SNR) ......................... 89
signal to noise separation .......................... 89
signal-to noise ratio (SNR)
vertical binning .................................. 90
single-shot mode ....................................157
SIS
advanced registers .............................217
definition .........................................159
scenarios..........................................159
SmartView............................................... 18
SNR ....................................................... 89
Soft reset (advanced register) ....................216
specification
Marlin F-033B .................................... 23
Marlin F-046B .................................... 24
Marlin F-080B .................................... 25
Marlin F-131B/NIR .............................. 29
Marlin F-145B2................................... 26
Marlin F-146B .................................... 27
Marlin F-201B .................................... 28
specifications .......................................... 22
spectral transmission
IR cut filter ........................................ 43
Jenofilt 217 ....................................... 43
Stack setup ............................................. 48
Stack start .............................................. 48
standard housing ..................................... 37
status LED............................................... 47
stored settings
user profile.......................................224
strobe flash ............................................. 53
styles ..................................................... 16
sub-sampling .......................................... 93
brightness ......................................... 93
definition .......................................... 93
sy (sync bit) ....................................... 57, 58
symbols............................................. 16, 17
sync bit (sy) ....................................... 57, 58
synchronization value (sync bit).................. 58
system components .................................. 43
Marlin Technical Manual V.2.7.0
235
Index
T
tag field.................................................. 58
target grey level
corresponds to Auto_exposure .............190
Target grey level (auto exposure)............ 72, 75
Target grey level (SmartView)
corresponds to auto exposure................ 70
tCode ..................................................... 58
test image..............................................161
Bayer-coded .....................................164
b/w cameras .....................................161
color ...............................................163
color cameras....................................163
configuration register .........................204
gray bar ...........................................162
save ................................................203
Test images (advanced register) .................204
TEST_IMAGE ...........................................204
tg .......................................................... 58
Time base (advanced register)....................202
time base (Register).................................202
time response .........................................147
Time stamp.............................................217
time stamp .............................................159
Time stamp (advanced register)..................217
TIMEBASE........................................ 195, 202
timebase
exposure time ...................................144
MF-033 ............................................145
setting.............................................203
trigger delay ................................51, 142
TimeBase (Field) .....................................200
TPA-....................................................... 45
TPA+ ...................................................... 45
TPB-....................................................... 45
TPB+ ...................................................... 45
transaction code (tCode)............................ 58
trigger
bulk ......................................... 137, 139
control image capture.........................137
delay ........................................... 51, 57
edge................................................. 52
external ...........................................137
hardware.....................................52, 143
impulse............................................147
IntEna .............................................. 56
internal .................................... 137, 139
latency time......................................150
microcontroller .................................148
one-shot ..........................................147
sequence mode .................................154
signal ............................................... 49
software...........................................149
synchronize ......................................151
Trigger counter .......................................217
trigger counter ................................ 159, 220
Trigger counter (advanced register) ............220
trigger delay...........................................142
advanced CSR...............................52, 143
advanced register .........................52, 143
off ................................................... 52
on.................................................... 52
Trigger Delay CSR ...............................52, 143
Trigger delay (advanced register) ...............215
trigger function ......................................140
Trigger modi...........................................137
trigger overrun .......................................159
trigger shutter
asynchronous..................................... 20
triggers .................................................. 49
input ................................................ 49
TRIGGER_DELAY .................................52, 143
TRIGGER_DELAY_INQUIRY ....................51, 142
Trigger_Delay_Inquiry register..............51, 142
TRIGGER_MODE .......................................140
Trigger_Mode .........................................140
Trigger_Mode_0.................................52, 137
Trigger_Mode_0 (edge mode) ....................137
Trigger_Mode_1......................................137
Trigger_Mode_1 (level mode) ....................137
Trigger_Mode_15 ............................. 137, 139
Trigger_Mode_15 (programmable mode) .....137
Trigger_Polarity ......................................140
Trigger_Source .......................................140
Trigger_Value .........................................140
Tripod adapter ......................................... 38
Tripod dimensions .................................... 38
true partial scan....................................... 20
U
UNIT_POSITION_INQ ................................120
UNIT_SIZE_INQ .......................................120
user profile
stored settings ..................................224
user profiles ...........................................221
error code ........................................222
Marlin Technical Manual V.2.7.0
236
Index
User profiles (advanced register) ................221
user sets ................................................221
U/B_Value (Field)..................................... 66
U/V slider range ....................................... 67
V
valid values
AF_AREA_SIZE...................................214
Vendor unique Features ............................182
Version information (advanced register) ......197
Vertical binning ....................................... 90
vertical binning
SNR .................................................. 90
vertical sub-sampling (b/w)
drawing ............................................ 95
vertical sub-sampling (color)
drawing ............................................ 96
video data format
IIDC 1.3 ............................................ 58
Video data payload ................................... 58
video format
available bandwidth ...........................123
frame rate ........................................123
MF-080 ............................................111
video formats .........................................108
MF-033 ............................................109
MF-046 ............................................110
MF-131 ............................................118
MF-145 ............................................112
MF-146 ............................................114
MF-201 ............................................116
video Format_7
AOI .................................................120
video information ..................................... 58
video mode
CUR-V-MODE .....................................187
Format_7 .........................................193
inquiry register..................................172
sample C code ...................................167
video mode 0 ..........................................127
video mode 2 ..........................................127
VMode_ERROR_STATUS .............................. 48
V/R_Value (Field) ..................................... 66
auto gain feature ................................ 73
auto shutter....................................... 70
AUTOFNC_AOI..................................... 69
conditions .................................... 67, 68
FPGA ................................................ 65
general ............................................. 65
Hue register......................................102
one-push ..................................... 67, 68
register............................................. 66
register 80Ch ..................................... 66
six frames.......................................... 67
WHITE_BALANCE ................................. 66, 68
W
white balance .......................................... 66
auto ................................................. 68
Marlin Technical Manual V.2.7.0
237
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising